Maths Olympiad Prep

Library / /309 of 520

Number theory Difficulty 7.0 National olympiad, round 2 Prove it

S={1,4,8,9,16,...}S= \{1,4,8,9,16,...\} is the set of perfect integer power. ( S={nkn,kZ,k2}S=\{ n^k| n, k \in Z, k \ge 2 \}. )We arrange the elements in SS into an increasing sequence {ai}\{a_i\} . Show that there are infinite many nn, such that 9999an+1an9999|a_{n+1}-a_n

Solution

1. Identify the sequence and the condition:
The set S={nkn,kZ,k2} S = \{ n^k \mid n, k \in \mathbb{Z}, k \ge 2 \} consists of all perfect integer powers. We arrange these elements in increasing order to form the sequence {ai}\{a_i\}. We need to show that there are infinitely many nn such that 9999an+1an9999 \mid a_{n+1} - a_n.

2. Consider the case of consecutive squares:
Let's consider the elements an=k2a_n = k^2 and an+1=(k+1)2a_{n+1} = (k+1)^2. The difference between these consecutive squares is:
an+1an=(k+1)2k2=k2+2k+1k2=2k+1 a_{n+1} - a_n = (k+1)^2 - k^2 = k^2 + 2k + 1 - k^2 = 2k + 1
We need 99992k+19999 \mid 2k + 1. This implies:
2k+10(mod9999)    2k1(mod9999)    k4999(mod9999) 2k + 1 \equiv 0 \pmod{9999} \implies 2k \equiv -1 \pmod{9999} \implies k \equiv 4999 \pmod{9999}

3. **Count the number of such kk:**
The number of elements in SS that are at most nn is O(n)O(\sqrt{n}) because the largest square less than or equal to nn is (n)2(\lfloor \sqrt{n} \rfloor)^2.

4. **Count the number of kk satisfying k4999(mod9999)k \equiv 4999 \pmod{9999}:**
The number of kk such that k2nk^2 \leq n and k4999(mod9999)k \equiv 4999 \pmod{9999} is approximately:
O(n9999)=O(n) O\left(\frac{\sqrt{n}}{9999}\right) = O(\sqrt{n})

5. Consider non-square elements:
The number of non-square elements in SS that are at most nn is O(n3)O(\sqrt[3]{n}) because the largest cube less than or equal to nn is (n3)3(\lfloor \sqrt[3]{n} \rfloor)^3.

6. Combine the counts:
The number of elements in SS which are squares k2nk^2 \leq n such that k4999(mod9999)k \equiv 4999 \pmod{9999}, and whose subsequent element is also a square, is:
O(nn3)=O(n) O(\sqrt{n} - \sqrt[3]{n}) = O(\sqrt{n})
since there can be at most O(n3)O(\sqrt[3]{n}) elements n\leq n which aren't squares.

7. Conclusion:
Since O(n)O(\sqrt{n}) functions grow arbitrarily large as nn \to \infty, there are infinitely many nn such that 9999an+1an9999 \mid a_{n+1} - a_n.

\blacksquare

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.