Maths Olympiad Prep

Library / Philippine Mathematical Olympiad /54 of 114

Philippine Mathematical Olympiad

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+1≡2(mod4)3^{k} + 1 \equiv 2 \pmod{4} and so 2∣∣3k+12 \mid\mid 3^{k} + 1, i.e., 4∤3k+14 \nmid 3^{k} + 1.

On the other hand, if kk is odd, note that 3k+1≡4(mod8)3^{k} + 1 \equiv 4 \pmod{8} so 4∣∣3k+14 \mid\mid 3^{k} + 1, i.e., 4∣3k+14 \mid 3^{k} + 1 but 8∤3k+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 1≤k≤20201 \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,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.