返回题库

AIME 2021 I · 第 14 题

AIME 2021 I — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For any positive integer a,σ(a)a, \sigma(a) denotes the sum of the positive integer divisors of aa. Let nn be the least positive integer such that σ(an)1\sigma(a^n)-1 is divisible by 20212021 for all positive integers aa. Find the sum of the prime factors in the prime factorization of nn.

解析

Solution 1

We first claim that nn must be divisible by 4242. Since σ(an)1\sigma(a^n)-1 is divisible by 20212021 for all positive integers aa, we can first consider the special case where aa is prime and a0,1(mod43)a \neq 0,1 \pmod{43}. By Dirichlet's Theorem (Refer to the Remark section.), such aa always exists.

Then σ(an)1=i=1nai=a(an1a1)\sigma(a^n)-1 = \sum_{i=1}^n a^i = a\left(\frac{a^n - 1}{a-1}\right). In order for this expression to be divisible by 2021=43472021=43\cdot 47, a necessary condition is an10(mod43)a^n - 1 \equiv 0 \pmod{43}. By Fermat's Little Theorem, a421(mod43)a^{42} \equiv 1 \pmod{43}. Moreover, if aa is a primitive root modulo 4343, then ord43(a)=42\text{ord}_{43}(a) = 42, so nn must be divisible by 4242.

By similar reasoning, nn must be divisible by 4646, by considering a≢0,1(mod47)a \not\equiv 0,1 \pmod{47}.

We next claim that nn must be divisible by 4343. By Dirichlet, let aa be a prime that is congruent to 1(mod43)1 \pmod{43}. Then σ(an)n+1(mod43)\sigma(a^n) \equiv n+1 \pmod{43}, so since σ(an)1\sigma(a^n)-1 is divisible by 4343, nn is a multiple of 4343.

Alternatively, since (a(an1n)a1)\left(\frac{a(a^n - 1^n)}{a-1}\right) must be divisible by 43,43, by LTE, we have v43(a)+v43(a1)+v43(n)v43(a1)1,v_{43}(a)+v_{43}{(a-1)}+v_{43}{(n)}-v_{43}{(a-1)} \geq 1, which simplifies to v43(n)1,v_{43}(n) \geq 1, which implies the desired result.

Similarly, nn is a multiple of 4747.

Lastly, we claim that if n=lcm(42,46,43,47)n = \text{lcm}(42, 46, 43, 47), then σ(an)1\sigma(a^n) - 1 is divisible by 20212021 for all positive integers aa. The claim is trivially true for a=1a=1 so suppose a>1a>1. Let a=p1e1pkeka = p_1^{e_1}\ldots p_k^{e_k} be the prime factorization of aa. Since σ(n)\sigma(n) is multiplicative, we have

σ(an)1=i=1kσ(piein)1.\sigma(a^n) - 1 = \prod_{i=1}^k \sigma(p_i^{e_in}) - 1. We can show that σ(piein)1(mod2021)\sigma(p_i^{e_in}) \equiv 1 \pmod{2021} for all primes pip_i and integers ei1e_i \ge 1, so

σ(piein)=1+(pi+pi2++pin)+(pin+1++pi2n)++(pin(ei1)+1++piein),\sigma(p_i^{e_in}) = 1 + (p_i + p_i^2 + \ldots + p_i^n) + (p_i^{n+1} + \ldots + p_i^{2n}) + \ldots + (p_i^{n(e_i-1)+1} + \ldots + p_i^{e_in}), where each expression in parentheses contains nn terms. It is easy to verify that if pi=43p_i = 43 or pi=47p_i = 47 then σ(piein)1(mod2021)\sigma(p_i^{e_in}) \equiv 1 \pmod{2021} for this choice of nn, so suppose pi≢0(mod43)p_i \not\equiv 0 \pmod{43} and pi≢0(mod47)p_i \not\equiv 0 \pmod{47}. Each expression in parentheses equals pin1pi1\frac{p_i^n - 1}{p_i - 1} multiplied by some power of pip_i. If pi≢1(mod43)p_i \not\equiv 1 \pmod{43}, then FLT implies pin10(mod43)p_i^n - 1 \equiv 0 \pmod{43}, and if pi1(mod43)p_i \equiv 1 \pmod{43}, then pi+pi2++pin1+1++10(mod43)p_i + p_i^2 + \ldots + p_i^n \equiv 1 + 1 + \ldots + 1 \equiv 0 \pmod{43} (since nn is also a multiple of 4343, by definition). Similarly, we can show σ(piein)1(mod47)\sigma(p_i^{e_in}) \equiv 1 \pmod{47}, and a simple CRT argument shows σ(piein)1(mod2021)\sigma(p_i^{e_in}) \equiv 1 \pmod{2021}. Then σ(an)1k1(mod2021)\sigma(a^n) \equiv 1^k \equiv 1 \pmod{2021}.

Then the prime factors of nn are 2,3,7,23,43,2,3,7,23,43, and 47,47, and the answer is 2+3+7+23+43+47=1252+3+7+23+43+47 = \boxed{125}.

~scrabbler94, Revised by wzs26843545602

Solution 2 (Along the Lines of Solution 1)

nn only needs to satisfy σ(an)1(mod43)\sigma(a^n)\equiv 1 \pmod{43} and σ(an)1(mod47)\sigma(a^n)\equiv 1 \pmod{47} for all aa. Let's work on the first requirement (mod 43) first. All nn works for a=1a=1. If a>1a>1, let aa's prime factorization be a=p1e1p2e2pkeka=p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k}. The following three statements are the same:

  1. For all aa, we have σ(an)=i=1k(1+pi++pinei)1(mod43)\sigma(a^n)=\prod_{i=1}^k(1+p_i+\cdots+p_i^{ne_i})\equiv1\pmod{43}.

  2. For all e>0e>0 and prime pp, we have 1+p++pne1(mod43)1+p+\cdots+p^{ne}\equiv1\pmod{43}.

  3. For all prime pp, we have p+p2++pn0(mod43)p+p^2+\cdots+p^n \equiv 0 \pmod{43}.

We can show this by casework on pp:

  1. For p0(mod43)p\equiv0\pmod{43}, no matter what nn is, it is true that

p+p2++pn0(mod43).p+p^2+\cdots+p^n \equiv 0 \pmod{43}. 3. For all p1(mod43)p\equiv1\pmod{43}, it is true that

p+p2++pnn0(mod43).p+p^2+\cdots+p^n \equiv n \equiv 0 \pmod{43}. One can either use brute force or Dirichlet's Theorem to show such pp exists. Therefore, 43n43|n.

  1. For all p≢0,1(mod43)p\not\equiv0,1\pmod{43}, it is true that

p+p2++pn0(mod43)pn10(mod43).p+p^2+\cdots+p^n \equiv 0 \pmod{43} \Leftrightarrow p^n-1\equiv0\pmod{43}. According to Fermat's Little Theorem, 42n42|n is sufficient. To show it's necessary, we just need to show 4343 has a prime primitive root. This can be done either by brute force or as follows. 4343 is prime and it must have a primitive root t1t\neq 1 that's coprime to 4343. All numbers of the form 43k+t43k+t are also primitive roots of 4343. According to Dirichlet's Theorem there must be infinitely many primes among them.

Similar arguments for modulo 4747 lead to 46n46|n and 47n47|n. Therefore, we get n=lcm[42,43,46,47]n=\operatorname{lcm}[42,43,46,47]. Following the last paragraph of Solution 1 gives the answer 125\boxed{125}.

~Mryang6859 (Solution)

~MRENTHUSIASM (Reformatting)

Solution 3 (Casework)

We perform casework on a:a:

  1. a=1.a=1.

    For all positive integers n,n, we have σ(an)1=0.\sigma\left(a^n\right)-1=0.

  2. aa is a prime number.

    For all prime numbers p,p, note that

σ(pn)1=(i=0npi)1=i=1npi=pn+1pp1=p(pn1)p1\sigma\left(p^n\right)-1=\left(\sum_{i=0}^{n}p^i\right)-1=\sum_{i=1}^{n}p^i=\frac{p^{n+1}-p}{p-1}=\frac{p\left(p^n-1\right)}{p-1} by geometric series.

Recall that 2021=4347.2021=43\cdot47. Applying the Chinese Remainder Theorem, we get the following system of congruences: 

p(pn1)p10(mod43),(1)p(pn1)p10(mod47).(2)\begin{aligned} \frac{p\left(p^n-1\right)}{p-1}&\equiv0\pmod{43}, &(1)\\ \frac{p\left(p^n-1\right)}{p-1}&\equiv0\pmod{47}. &(2) \end{aligned} We perform casework on (1):(1):

1.  p1≢0(mod43).p-1\not\equiv0\pmod{43}.
    
    We need p(pn1)0(mod43).p\left(p^n-1\right)\equiv0\pmod{43}.
    
    If p=43,p=43, then this congruence is true for all positive integers n.n.
    
    If p43,p\neq43, then this congruence becomes pn10(mod43).p^n-1\equiv0\pmod{43}. By Fermat's Little Theorem, we obtain n0(mod42).n\equiv0\pmod{42}.
    
2.  p10(mod43).p-1\equiv0\pmod{43}.
    
    We need pn1p^n-1 to contain more factors of 4343 than p1p-1 does. More generally, for all positive integers k,k, if p10 (mod 43k),p-1\equiv0 \ \left(\operatorname{mod} \ 43^k\right), then pn10 (mod 43k+1).p^n-1\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right).
    
    Let p=43km+1p=43^km+1 for some positive integer mm such that m≢0(mod43).m\not\equiv0\pmod{43}. We substitute this into pn10 (mod 43k+1)p^n-1\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right) and apply the Binomial Theorem: 

(43km+1)n10 (mod 43k+1)[(n0)(43km)0+(n1)(43km)1+(n2)(43km)2++(nn)(43km)n0 (mod 43k+1)]10 (mod 43k+1)[1+43kmn]10 (mod 43k+1)43kmn0 (mod 43k+1),\begin{aligned} \left(43^km+1\right)^n-1&\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right) \\ \Biggl[\binom{n}{0}\left(43^km\right)^0+\binom{n}{1}\left(43^km\right)^1+\phantom{ }\underbrace{\binom{n}{2}\left(43^km\right)^2+\cdots+\binom{n}{n}\left(43^km\right)^n}_{0 \ \left(\operatorname{mod} \ 43^{k+1}\right)}\phantom{ }\Biggr]-1 &\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right) \\ \left[1+43^kmn\right]-1&\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right) \\ 43^kmn&\equiv0 \ \left(\operatorname{mod} \ 43^{k+1}\right), \end{aligned} from which n0(mod43).n\equiv0\pmod{43}.

For (1),(1), we find that n0(mod42)n\equiv0\pmod{42} and n0(mod43).n\equiv0\pmod{43}.

For (2),(2), we find that n0(mod46)n\equiv0\pmod{46} and n0(mod47)n\equiv0\pmod{47} by a similar argument.

Together, we conclude that n=lcm(42,43,46,47)n=\operatorname{lcm}(42,43,46,47) is the least such positive integer nn for this case.
  1. aa is a composite number.

    Let a=i=1upieia=\prod_{i=1}^{u}p_i^{e_i} be the prime factorization of a.a. Note that σ(a)\sigma(a) is a multiplicative function:

σ(a)=σ(i=1upiei)=i=1uσ(piei)=i=1u(j=0eipij),\sigma(a)=\sigma\left(\prod_{i=1}^{u}p_i^{e_i}\right)=\prod_{i=1}^{u}\sigma\left(p_i^{e_i}\right)=\prod_{i=1}^{u}\left(\sum_{j=0}^{e_i}p_i^j\right), as this product of geometric series spans all positive divisors of a.a.

At n=lcm(42,43,46,47),n=\operatorname{lcm}(42,43,46,47), it follows that 

σ(an)1=(i=1uσ(piein))1(i=1u1)1(mod2021)0(mod2021).\begin{aligned} \sigma\left(a^n\right)-1&=\left(\prod_{i=1}^{u}\sigma\left(p_i^{e_in}\right)\right)-1 \\ &\equiv\left(\prod_{i=1}^{u}1\right)-1 &&\pmod{2021} \\ &\equiv0 &&\pmod{2021}. \end{aligned} Finally, the least such positive integer nn for all cases is

n=lcm(42,43,46,47)=lcm(237,43,223,47)=237234347,\begin{aligned} n&=\operatorname{lcm}(42,43,46,47) \\ &=\operatorname{lcm}(2\cdot3\cdot7,43,2\cdot23,47) \\ &=2\cdot3\cdot7\cdot23\cdot43\cdot47, \end{aligned} so the sum of its prime factors is 2+3+7+23+43+47=125.2+3+7+23+43+47=\boxed{125}.

~MRENTHUSIASM (inspired by Math Jams's 2021 AIME I Discussion)

Solution 4 (Cheap)

Since the problem works for all positive integers aa, let's plug in a=2a=2 and see what we get. Since σ(2n)=2n+11,\sigma({2^n}) = 2^{n+1}-1, we have 2n+12(mod2021).2^{n+1} \equiv 2 \pmod{2021}. Simplifying using CRT and Fermat's Little Theorem, we get that n0(mod42)n \equiv 0 \pmod{42} and n0(mod46).n \equiv 0 \pmod{46}. Then, we can look at aa being a 1(mod43)1\pmod{43} prime and a 1(mod47)1\pmod{47} prime, just like in Solution 1, to find that 4343 and 4747 also divide nn. There don't seem to be any other odd "numbers" to check, so we can hopefully assume that the answer is the sum of the prime factors of lcm(42, 43, 46, 47).\text{lcm(42, 43, 46, 47)}. From here, follow solution 1 to get the final answer 125\boxed{125}.

~PureSwag

Solution 5 (Similar to Solution 4 and USEMO 2019 Problem 4)

Warning: This solution doesn't explain why 4347n43*47\mid n.

It says the problem implies that it works for all positive integers aa, we basically know that If p1(modq)p \equiv 1 \pmod q, then from "USEMO 2019 Problem 4", if pn+pn1++11(modq)p^n + p^{n-1} + \cdots + 1 \equiv 1 \pmod{q}, then

pen+11p1=pen+pen1++11(modq).\frac{p^{en+1}-1}{p-1} = p^{en} + p^{en-1} + \cdots + 1 \equiv 1 \pmod{q}. From here we can just let σ(2n)\sigma(2^n) or be a power of 22 which we can do

σ(2n)=1+2+22+23+24++2n=2n+11,\sigma(2^n)=1+2+2^2+2^3+2^4+\cdots+2^n=2^{n+1}-1, which is a geometric series. We can plug in a=2a=2 like in Solution 4 and use CRT. We have the prime factorization 2021=43472021 = 43 \cdot 47. We use CRT to find that

2n1(mod43),2n1(mod47).\begin{aligned} 2^n &\equiv 1 \pmod{43}, \\ 2^n &\equiv 1 \pmod{47}. \end{aligned} We see that this is just FLT which is ap11(modp)a^{p-1} \equiv 1 \pmod p we see that all multiples of 4242 will work for first and 4646 for the second. We can figure out that it is just lcm(431,471)4347\text{lcm}(43-1,47-1)\cdot43\cdot47 which when we add up we get that it's just the sum of the prime factors of lcm(42,43,46,47)\text{lcm}(42,43,46,47) which you can just look at Solution 1 to find out the sum of the prime factors and get the answer 125\boxed{125}.

Solution 6 (Easier than most solutions)

The sum of the factors of a number with prime factorization n=p1a1p2a2pkakn = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k} is given by:

σ(n)=i=1k(j=0aipij)=i=1kpiai+11pi1\sigma(n) = \prod_{i=1}^k \left( \sum_{j=0}^{a_i} p_i^j \right) = \prod_{i=1}^k \frac{p_i^{a_i+1} - 1}{p_i - 1} , or in more simplicity, The sum of the factors of a number with prime factorization (a1e1a2e2akek)(a_1^{e_1} a_2^{e_2} \cdots a_k^{e_k}) is given by:

σ(n)=(1+a1+a12++a1e1)(1+a2+a22++a2e2)(1+ak+ak2++akek)\sigma(n) = (1 + a_1 + a_1^2 + \cdots + a_1^{e_1}) (1 + a_2 + a_2^2 + \cdots + a_2^{e_2}) \cdots (1 + a_k + a_k^2 + \cdots + a_k^{e_k}) Then, notice that if aa is prime then σ(an)10(mod2021)\sigma(a^n) - 1 \equiv 0 \pmod{2021}, then (i=0nai)10(mod2021)(\sum_{i=0}^{n} a^i) - 1 \equiv 0 \pmod{2021}, or i=1nai0(mod2021)\sum_{i=1}^{n} a^i \equiv 0 \pmod{2021}, which is to say a(an1a1)0(mod2021)a\left(\frac{a^n - 1}{a - 1}\right) \equiv 0 \pmod{2021}, and is thus equivalent to 0(mod43) and 0(mod47)0 \pmod{43}~\text{and}~ 0 \pmod{47}.

If a0(mod43)a \equiv 0 \pmod{43} then note that an1a11(mod43)\frac{a^n - 1}{a - 1} \equiv 1 \pmod{43}, in which ana(mod43)^n \equiv a \pmod{43} and thus an11(mod43)a^{n-1} \equiv 1 \pmod{43}. Then, because 43 is prime, we have that nn must be a multiple of 42. In addition, nn must be a multiple of 46 through the same logic.

Then, think about when aa is composite. Then, it may be written as (i=1n)kp1ip2i...pki(\sum_{i=1}^{n})^k p^{i}_1 \cdot p^{i}_2 \cdot ... \cdot p^{i}_k (note that (i=1n)k(\sum_{i=1}^{n})^k implies kk nested sums) where each pkp_k is a prime. This, when subtracted by 1, must be equivalent to 0(mod2021)0 \pmod{2021} and thus each individual sum is the sum of a geometric series with every value being equivalent to some 0(mod2021)0 \pmod{2021}.

Now, if we take the expanded form we essentially find

σ(n)=(1+a1+a12++a1e1)(1+a2+a22++a2e2)(1+ak+ak2++akek)10(mod2021)\sigma(n) = (1 + a_1 + a_1^2 + \cdots + a_1^{e_1}) (1 + a_2 + a_2^2 + \cdots + a_2^{e_2}) \cdots (1 + a_k + a_k^2 + \cdots + a_k^{e_k}) - 1 \equiv 0 \pmod {2021} or

σ(n)=(1+a1+a12++a1e1)(1+a2+a22++a2e2)(1+ak+ak2++akek)1(mod2021)\sigma(n) = (1 + a_1 + a_1^2 + \cdots + a_1^{e_1}) (1 + a_2 + a_2^2 + \cdots + a_2^{e_2}) \cdots (1 + a_k + a_k^2 + \cdots + a_k^{e_k}) \equiv 1 \pmod {2021} Which then implies at least one of these sums is equivalent to 1(mod43)1\pmod{43} or/and 1(mod47)1 \pmod{47}. Then, WLOG, say that sum is 1+a1+a12++a1e11 + a_1 + a_1^2 + \cdots + a_1^{e_1} for mod43\mod 43.

Then, a1e1+11a11\frac{a_1^{e_1+1}-1}{a_1 - 1}, in which a1e11(mod43)a_1^{e_1} \equiv 1 \pmod{43}. The only way this is possible is if e1=42e_1 = 42. This then implies the primilaritveness of e1e_1, as thus σ(an)n+1(mod43)\sigma(a^n) \equiv n+1 \pmod{43}. Then, nn is divisible by 43, and the same logic applies for 47.

Another way to approach that is to realize that once e1=42e_1 = 42, the factor of nn must be divisible by 43 through the sum of factors formula.

The smallest nn is then the lcm(42,43,46,47)lcm(42,43,46,47), and continue as in solution 1.

~Pinotation

Remark (Dirichlet's Theorem)

All solutions require Dirichlet's Theorem, which states that for any coprime positive integers kk and rr, there are infinitely many primes pp congruent to r(modk)r\pmod{k}.

Video Solution

https://youtu.be/q0zUFAyGN4s ~MathProblemSolvingSkills.com