Maths Olympiad Prep

Library / /13 of 37

Number theory Difficulty 7.7 National olympiad, round 2 Find the answer

Find all positive integers a,n1a,n\ge1 such that for all primes pp dividing an1a^n-1, there exists a positive integer m<nm<n such that pam1p\mid a^m-1.

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

Solution

We are tasked with finding all positive integers a,n1a, n \ge 1 such that for all primes pp dividing an1a^n - 1, there exists a positive integer m<nm < n such that pam1p \mid a^m - 1.

By Zsigmondy's theorem, for any a>1a > 1 and n>1n > 1, there exists a primitive prime divisor of an1a^n - 1 except for the cases (a,n)=(2,6)(a, n) = (2, 6) and (a,n)=(2k1,2)(a, n) = (2^k - 1, 2).

1. **Case (a,n)=(2,6)(a, n) = (2, 6):**
- For a=2a = 2 and n=6n = 6, we have 261=632^6 - 1 = 63.
- The prime divisors of 63 are 3 and 7.
- We need to check if these primes divide 2m12^m - 1 for some m<6m < 6.
- The values of 2m12^m - 1 for m<6m < 6 are: 1,3,7,15,311, 3, 7, 15, 31.
- Both 3 and 7 appear in this list, so this case holds.

2. **Case (a,n)=(2k1,2)(a, n) = (2^k - 1, 2):**
- For a=2k1a = 2^k - 1 and n=2n = 2, we have (2k1)21=(2k1)(2k+1)(2^k - 1)^2 - 1 = (2^k - 1)(2^k + 1).
- Any prime divisor of (2k1)21(2^k - 1)^2 - 1 must divide either 2k12^k - 1 or 2k+12^k + 1.
- The only possible mm is m=1m = 1, which gives us 2k11=2k2=2(2k11)2^k - 1 - 1 = 2^k - 2 = 2(2^{k-1} - 1).
- Thus, all prime divisors of (2k1)21(2^k - 1)^2 - 1 divide 2(2k11)2(2^{k-1} - 1), satisfying the condition.

3. **Case a=1a = 1:**
- For a=1a = 1, 1n1=01^n - 1 = 0 for any nn, which trivially satisfies the condition.

Combining these results, the complete solution set is:
(a,n)=(2,6),(2k1,2),(1,n) for any n1. (a, n) = (2, 6), (2^k - 1, 2), (1, n) \text{ for any } n \ge 1.

The answer is: \boxed{(2, 6), (2^k - 1, 2), (1, n) \text{ for any } n \ge 1}.

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