Maths Olympiad Prep

Library / /164 of 520

Number theory Difficulty 6.1 National olympiad Find the answer

23. (ROM 5) IMO3{ }^{\mathrm{IMO} 3} Find all positive integers nn having the property that 2n+1n2\frac{2^{n}+1}{n^{2}} is an integer.

A number or a short expression. Spacing and $ signs are ignored.

Solution

23. Let us assume n>1 n > 1 . Obviously n n is odd. Let p3 p \geq 3 be the smallest prime divisor of n n . In this case (p1,n)=1(p-1, n)=1. Since 2n+122n1 2^n + 1 \mid 2^{2n} - 1 , we have that p22n1 p \mid 2^{2n} - 1 . Thus it follows from Fermat's little theorem and elementary number theory that p(22n1,2p11)=2(2n,p1)1 p \mid (2^{2n} - 1, 2^{p-1} - 1) = 2^{(2n, p-1)} - 1 . Since (2n,p1)2(2n, p-1) \leq 2, it follows that p3 p \mid 3 and hence p=3 p = 3 . Let us assume now that n n is of the form n=3kd n = 3^k d , where 2,3d 2, 3 \nmid d . We first prove that k=1 k = 1 . Lemma. If 2m1 2^m - 1 is divisible by 3r 3^r , then m m is divisible by 3r1 3^{r-1} . Proof. This is the lemma from (SL97-14) with p=3,a=22,k=m p = 3, a = 2^2, k = m , α=1\alpha = 1, and β=r\beta = r. Since 32k 3^{2k} divides n222n1 n^2 \mid 2^{2n} - 1 , we can apply the lemma to m=2n m = 2n and r=2k r = 2k to conclude that 32k1n=3kd 3^{2k-1} \mid n = 3^k d . Hence k=1 k = 1 . Finally, let us assume d>1 d > 1 and let q q be the smallest prime factor of d d . Obviously q q is odd, q5 q \geq 5 , and (n,q1){1,3}(n, q-1) \in \{1, 3\}. We then have q22n1 q \mid 2^{2n} - 1 and q2q11 q \mid 2^{q-1} - 1 . Consequently, q2(2n,q1)1=22(n,q1)1 q \mid 2^{(2n, q-1)} - 1 = 2^{2(n, q-1)} - 1 , which divides 261=63=327 2^6 - 1 = 63 = 3^2 \cdot 7 , so we must have q=7 q = 7 . However, in that case we obtain 7n2n+1 7 \mid n \mid 2^n + 1 , which is a contradiction, since powers of two can only be congruent to 1, 2, and 4 modulo 7. It thus follows that d=1 d = 1 and n=3 n = 3 . Hence n>1n=3 n > 1 \Rightarrow n = 3 . It is easily verified that n=1 n = 1 and n=3 n = 3 are indeed solutions. Hence these are the only solutions.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.