Olympiad Maths Prep

Track / Stage 7 / 25 of 300 #1425 of 2000

Problem 1425

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.0 Prove it

Let gg be an even positive integer and f(n)=gn+1f(n) = g^n + 1 , (nN)(n \in N^* ).
Prove that for every positive integer nn we have:
a) f(n)f(n) divides each of the numbers f(3n),f(5n),f(7n)f(3n), f(5n), f(7n)
b) f(n)f(n) is relative prime to each of the numbers f(2n),f(4n),f(6n),...f(2n), f(4n),f(6n),...

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

### Part (a)
We need to prove that f(n) f(n) divides each of the numbers f(3n),f(5n),f(7n) f(3n), f(5n), f(7n) .

1. Define f(n)=gn+1 f(n) = g^n + 1 , where g g is an even positive integer.
2. Consider f(3n)=g3n+1 f(3n) = g^{3n} + 1 .
3. We need to show that f(n)f(3n) f(n) \mid f(3n) , i.e., gn+1g3n+1 g^n + 1 \mid g^{3n} + 1 .

Using the fact that g g is even, we can use the polynomial identity:
g3n+1=(gn+1)(g2ngn+1) g^{3n} + 1 = (g^n + 1)(g^{2n} - g^n + 1)

4. Since g3n+1=(gn+1)(g2ngn+1) g^{3n} + 1 = (g^n + 1)(g^{2n} - g^n + 1) , it is clear that gn+1 g^n + 1 divides g3n+1 g^{3n} + 1 .

5. Similarly, for f(5n)=g5n+1 f(5n) = g^{5n} + 1 , we use the identity:
g5n+1=(gn+1)(g4ng3n+g2ngn+1) g^{5n} + 1 = (g^n + 1)(g^{4n} - g^{3n} + g^{2n} - g^n + 1)

6. Thus, gn+1 g^n + 1 divides g5n+1 g^{5n} + 1 .

7. For f(7n)=g7n+1 f(7n) = g^{7n} + 1 , we use the identity:
g7n+1=(gn+1)(g6ng5n+g4ng3n+g2ngn+1) g^{7n} + 1 = (g^n + 1)(g^{6n} - g^{5n} + g^{4n} - g^{3n} + g^{2n} - g^n + 1)

8. Therefore, gn+1 g^n + 1 divides g7n+1 g^{7n} + 1 .

Hence, f(n) f(n) divides each of f(3n),f(5n),f(7n) f(3n), f(5n), f(7n) .

### Part (b)
We need to prove that f(n) f(n) is relatively prime to each of the numbers f(2n),f(4n),f(6n), f(2n), f(4n), f(6n), \ldots .

1. Let a=gn a = g^n . Then f(n)=a+1 f(n) = a + 1 and f(2n)=a2+1 f(2n) = a^2 + 1 .

2. We need to show that gcd(a+1,a2k+1)=1 \gcd(a + 1, a^{2k} + 1) = 1 for k1 k \geq 1 .

3. Let d=gcd(a+1,a2k+1) d = \gcd(a + 1, a^{2k} + 1) .

4. Since d(a+1) d \mid (a + 1) , we have a1(modd) a \equiv -1 \pmod{d} .

5. Substituting a1(modd) a \equiv -1 \pmod{d} into a2k+1 a^{2k} + 1 :
(1)2k+11+12(modd) (-1)^{2k} + 1 \equiv 1 + 1 \equiv 2 \pmod{d}

6. Therefore, d2 d \mid 2 . Since g g is even, a=gn a = g^n is also even, and a+1 a + 1 is odd.

7. Hence, d d cannot be 2, so d=1 d = 1 .

Thus, gcd(a+1,a2k+1)=1 \gcd(a + 1, a^{2k} + 1) = 1 , meaning f(n) f(n) is relatively prime to each of f(2n),f(4n),f(6n), f(2n), f(4n), f(6n), \ldots .

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.