Olympiad Maths Prep

Library / /8 of 16

Number theory Difficulty 5.8 AIME, harder Prove it Romania

Let MM be the set of the natural numbers kk for which it exists nNn \in \mathbb{N} such that the remainder of 3n3^n when divided by nn is kk. Show that MM is infinite.

Solution

Let jj be a fixed positive integer and p>2p > 2 a prime so that 2jp>32j2^j p > 3^{2^j}. Then 32j(32j(p1)1)0(mod2jp)3^{2^j}(3^{2^j(p-1)} - 1) \equiv 0 \pmod{2^j p}, because 2φ(2jp)=2j(p1)2\varphi(2^j p) = 2^j(p-1). Hence 32jp32j(mod2jp)3^{2^j p} \equiv 3^{2^j} \pmod{2^j p}, so, for n=2jpn = 2^j p, one has rn=32jr_n = 3^{2^j}. It follows that 32jM3^{2^j} \in M, for all jNj \in \mathbb{N}^*, so MM is an infinite set.

Alternative Solution:
Choosing n=23jn = 2 \cdot 3^j, the remainder rnr_n of 3n3^n when divided by nn verifies rn0r_n \neq 0, rn0(mod3j)r_n \equiv 0 \pmod{3^j}, so rn3jr_n \ge 3^j (in fact rn=3jr_n = 3^j). Therefore, MM contains arbitrarily large numbers, so it is infinite.

Looking for a route rather than an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.