
Here are some practice problems in number theory. They are, very roughly,
in increasing order of difficulty.
1. (a) Show that n7−nis divisible by 42 for every positive integer n.
(b) Show that every prime not equal to 2 or 5 divides infinitely many of
the numbers 1, 11, 111, 1111, etc.
2. Show that if p > 3 is a prime, then p2≡1 (mod 24).
3. How many zeros are at the end of 1000!?
4. If pand p2+ 2 are primes, show that p3+ 2 is prime.
5. Show that gcd(2a−1,2b−1) = 2gcd(a,b)−1 for positive integers a,b.
6. Suppose that a,b,care distinct integers and that p(x) is a polynomial
with integer coefficients. Show that it is not possible to have p(a) = b,
p(b) = c,p(c) = a.
7. A triangular number is a positive integer of the form n(n+ 1)/2. Show
that mis a sum of two triangular numbers iff 4m+ 1 is a sum of two
squares. (A-1, Putnam 1975)
8. For positive integers n define d(n) = n−m2, where mis the greatest
integer with m2≤n. Given a positive integer b0, define a sequence bi
by taking bk+1 =bk+d(bk). For what b0do we have biconstant for
sufficiently large i? (B-1, Putnam 1991)
9. d,eand feach have nine digits when written in base 10. Each of the nine
numbers formed from dby replacing one of its digits by the corresponding
digit of eis divisible by 7. Similarly, each of the nine numbers formed from
eby replacing one of its digits by the corresponding digit of fis divisible
by 7. Show that each of the nine differences between corresponding digits
of dand fis divisible by 7. (A-3, Putnam 1993)
10. Define the sequence of decimal integers anas follows: a1= 0; a2= 1; an+2
is obtained by writing the digits of an+1 immediately followed by those of
an. When is ana multiple of 11? (A-4, Putnam 1998)
11. Suppose n > 1 is an integer. Show that n4+ 4nis not prime.
12. (a) Let αand βbe irrational numbers such that 1/α + 1/β = 1. Then
the sequences f(n) = bαncand g(n) = bβnc,n= 1, 2, 3, . . . are
disjoint and their union is the set of positive integers. (A classic due
to Beatty; variations of this appear again and again.)
(b) Show the following converse: if α,βare positive reals such that the
sequences f(n) = bαncand g(n) = bβnc,n= 1, 2, 3, . . . are disjoint
and their union is the set of positive integers, then α,βare irrational
and 1/α + 1/β = 1.
1