Maths Olympiad Prep

Library / /60 of 128

Number theory Difficulty 5.3 AIME, harder Prove it Philippines

Problem:

Let P=(31+1)(32+1)(33+1)(32020+1)P = (3^{1} + 1)(3^{2} + 1)(3^{3} + 1) \ldots (3^{2020} + 1). Find the largest value of the integer nn such that 2n2^{n} divides PP.

Solution

Solution:

If kk is even, then note that 3k+12(mod4)3^{k} + 1 \equiv 2 \pmod{4} and so 23k+12 \mid\mid 3^{k} + 1, i.e., 43k+14 \nmid 3^{k} + 1.

On the other hand, if kk is odd, note that 3k+14(mod8)3^{k} + 1 \equiv 4 \pmod{8} so 43k+14 \mid\mid 3^{k} + 1, i.e., 43k+14 \mid 3^{k} + 1 but 83k+18 \nmid 3^{k} + 1.

Thus the greatest value of mm for which 2m2^{m} divides 3k+13^{k} + 1 is 22 if kk is odd, and 11 if kk is even.

Summing up over 1k20201 \leq k \leq 2020 gives us 2+1++2+1=1010(2+1)=30302 + 1 + \cdots + 2 + 1 = 1010(2 + 1) = 3030.

Want a route through all this instead of 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 reproduced verbatim; metadata (topic, difficulty) added by this project.