Problems

Age
Difficulty
Found: 354

Which of the following numbers are divisible by \(11\) and which are not? \[121,\, 143,\, 286, 235, \, 473,\, 798, \, 693,\, 576, \,748\] Can you write down and prove a divisibility rule which helps to determine if a three digit number is divisible by \(11\)?

You meet an alien, who you learn is thinking of a positive integer \(n\). They ask the following three questions.

“Am I the kind who could ask whether \(n\) is divisible by no primes other than \(2\) or \(3\)?"

“Am I the kind who could ask whether the sum of the divisors of \(n\) (including \(1\) and \(n\) themselves) is at least twice \(n\)?"

“Is \(n\) divisible by 3?"

Is this alien a Crick or a Goop?

There is a very, very fast way of computing the greatest common divisor of two positive integers. It was in fact known even to the Greeks two thousand years ago. This procedure is called the Euclidean algorithm, named after Euclid, a famous ancient Greek mathematician.

The algorithm works as follows. Take two positive integers \(a,b\). Let’s say \(a\geq b\).

  1. Calculate the remainder of \(a\) when divided by \(b\). Call it \(r_1\).

  2. Calculate the remainder of \(b\) when divided by \(r_1\). Call it \(r_2\).

  3. Calculate the remainder of \(r_1\) when divided by \(r_2\). Call it \(r_3\).

  4. Continue to divide the remainder from two steps prior by the remainder from the last step, until...

  5. The remainder \(r_n\) is divisible by \(r_{n+1}\). The Euclidean algorithm stops now and \(r_{n+1}\) is \(\gcd(a,b)\).

Show that there is indeed some natural number \(n\) such that \(r_n\) is divisible by \(r_{n+1}\), so that the Euclidean algorithm must stop eventually. Furthermore, show that \(r_{n+1}\) is actually \(\gcd(a,b)\) (otherwise it is all in vain!).

Suppose that \(p\) is a prime number. How many numbers are there less than \(p^2\) that are relatively prime to \(p^2\)?