DR.WANG Mathematics中文

2021 AIME I · Question 14

Number theory · sum of factors · multiplicative order · least common multiple · modular arithmetic

Problem outline

Let σ(a)\sigma(a) be the sum of the positive divisors of the positive integer aa. Among all positive integer exponents nn for which 20212021 divides σ(an)−1\sigma(a^n)-1 for every positive integer aa, choose the smallest. Find the sum of the prime factors in the prime factorization of this nn.

Show answer and methods 1 methods

Answer

125

Method 1 Test prime powers modulo each factor of 2021

Factor 2021=43⋅472021=43\cdot47. For either prime modulus qq, we need σ(an)≡1(modq)\sigma(a^n)\equiv1\pmod q. Since σ\sigma is multiplicative on coprime inputs (every divisor factorizes uniquely across them), it suffices to check a=pha=p^h for primes pp. Then σ(phn)=1+p+⋯+phn\sigma(p^{hn})=1+p+\cdots+p^{hn}.

Necessity: choose the prime p=173p=173 for q=43q=43, or p=283p=283 for q=47q=47. In each case p≡1(modq)p\equiv1\pmod q, so taking h=1h=1 gives 1+n≡1(modq)1+n\equiv1\pmod q, hence q∣nq\mid n. Taking p=5p=5, multiplying the geometric sum minus 11 by 5−15-1 gives 5(5n−1)5(5^n-1), so 5n≡1(modq)5^n\equiv1\pmod q.

The order of 55 is q−1q-1 in both cases. By Fermat it divides q−1q-1; to rule out all proper divisors it suffices to test (q−1)/ℓ(q-1)/\ell for each prime ℓ∣q−1\ell\mid q-1. Modulo 4343, powers with exponents 21,14,621,14,6 give residues 42,36,1642,36,16 respectively. Modulo 4747, exponents 23,223,2 give 46,2546,25. None is 11. Thus q−1∣nq-1\mid n.

Conversely take nn divisible by all of 42,43,46,4742,43,46,47. Modulo qq, the sum is 11 if p≡0p\equiv0, and 1+hn≡11+hn\equiv1 if p≡1p\equiv1. Otherwise phn≡1p^{hn}\equiv1 by Fermat, and σ(phn)−1=p(phn−1)/(p−1)≡0\sigma(p^{hn})-1=p(p^{hn}-1)/(p-1)\equiv0 since p−1p-1 is invertible. Hence the least valid nn is lcm⁡(42,43,46,47)=2⋅3⋅7⋅23⋅43⋅47\operatorname{lcm}(42,43,46,47)=2\cdot3\cdot7\cdot23\cdot43\cdot47. The six primes sum to 125125.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)