Let n be the least positive integer for which 149n−2n is divisible by 33⋅55⋅77. Find the number of positive integer divisors of n.
解析
Solution 1.1
As usual, denote vp(n) the highest power of prime p that divides n. Lifting the Exponent shows that
3=v3(149n−2n)=v3(n)+v3(147)=v3(n)+1
so thus, 32 divides n. It also shows that
7=v7(149n−2n)=v7(n)+v7(147)=v7(n)+2
so thus, 75 divides n.
Now, setting n=4c (necessitated by 149n≡2n(mod5) in order to set up LTE), we see
v5(1494c−24c)=v5(1494c−16c)
and since 1494≡1(mod25) and 161≡16(mod25) then v5(1494c−24c)=v5(1494−16)+v5(c)=1+v5(c) meaning that we have that by LTE, 54∣c and 4⋅54 divides n.
Since 32, 75 and 4⋅54 all divide n, the smallest value of n working is their LCM, also 32⋅75⋅4⋅54=22⋅32⋅54⋅75. Thus the number of divisors is (2+1)(2+1)(4+1)(5+1)=270.
~kevinmathz
clarified by another user
notation note from another user
Note
We were able to use LTE with 3 and 7 but not 5 because in order to use LTE, we need p∣x−y.
Obviously, 149n≡2n(mod3) implies 149n−2n≡0(mod3), so LTE works here.
Furthermore, 149n≡2n(mod7) implies 149n−2n≡0(mod7), so LTE works here.
However, when we get to the case of 5, we see that 149n≡2n(mod5) doesn't always hold; specifically, this is only valid when n is a multiple of 4, which is why we let n=4c in the solution.
mathboy282
Solution 1.2 (LTE + Binomial)
Follow solution 1 to get that 32⋅75 is a divisor of n. We now take care of the 55 part. Rewrite 149n−2n as (150−1)n−2n and assume n is even. Since this expression is divisible by 55, we expand and get
(0n)(1n)−(1n)(1n−11501)+(2n)(1n−21502)⋅⋅⋅+(nn)(150n)−2n≡0(mod55).
Everything except the first three terms and the 2n term is divisible by 55, so we can rewrite this as
1−150n+2n(n−1)1502−2n≡0(mod55),
And the following must be true:
1−150n+2n(n−1)1502−2n≡0(mod52).
Since 150n+2n(n−1)1502 divides 52, we can now see that
1−2n≡0(mod52).
Solving for n, n≡0(mod22⋅5). We also know this is true:
1−150n+2n(n−1)1502−2n≡0(mod53).
We know n is divisible by 5, so 150n+2n(n−1)1502 divides 53. And now,
1−2n≡0(mod53)
gives
n≡0(mod22⋅52).
This process can be repeated until we obtain n≡0(mod22⋅54). The desired solution is then simply lcm(32⋅75,22⋅54) which yields an answer of (2+1)(5+1)(2+1)(4+1)=270.
~Marchk26
Solution 2 (Simpler, just basic mods and Fermat's theorem)
Note that for all n, 149n−2n is divisible by 149−2=147 by difference of nth powers. That is 3⋅72, so now we can clearly see that the smallest n to make the expression divisible by 33 is just 32. Similarly, we can reason that the smallest n to make the expression divisible by 77 is just 75.
Finally, for 55, take (mod5) and (mod25) of each quantity (They happen to both be −1 and 2 respectively, so you only need to compute once). One knows from Fermat's theorem that the maximum possible minimum n for divisibility by 5 is 4, and other values are factors of 4. Testing all of them(just 1,2,4 using mods-not too bad), 4 is indeed the smallest value to make the expression divisible by 5, and this clearly is NOT divisible by 25. Therefore, the smallest n to make this expression divisible by 55 is 22⋅54.
Calculating the LCM of all these, one gets 22⋅32⋅54⋅75. Using the factor counting formula, the answer is 3⋅3⋅5⋅6 = 270.
~Solution by thanosaops
~formatted by MY-2 and pandyhu2001
Solution 3 (Using Totient Theorem for upper bound)
For the 55 case, we can see that the problem implies 149n≡2n(mod55).
The modular inverse of 2(mod3125) is the least positive integer x such that 2x≡1(mod3125).
x=23125+1=1563⟹(149⋅1563)n≡1(mod55).
Now we can use Euler's Totient Theorem to get an upper bound for n, which states that if gcd(a,b)=1, then aϕ(b)≡1(modb).ϕ(55)=3125⋅(1−51)=2500, so (149⋅1563)2500≡(1137)2500≡1(mod55).
For the number to end with 1,n also needs to be a multiple of 4. So it's a factor of 2500 that's also divisible by 4. We bash out the factors of 625. Through repeated squaring we see none of the factors work, so 2500 must be the minimum. Therefore, n must be a multiple of 2500.
Next, we consider modulo 27:
149n−2n≡14n−2n(mod27)≡0(mod27).14n≡2n(mod27)7n≡1(mod27)
Apply Euler's Totient Theorem again to get 718≡1(mod27).
Bashing the factors of 18, we find 18 is the smallest value that works, so n needs to be a multiple of 18.
For the 77 case we can set up another congruence:
149n−2n≡0(mod77)⟹(2+7⋅21)n−2n≡0(mod77)
To continue evaluating we use the Binomial Theorem:
k=0∑n(kn)2n−k(7⋅21)k−2n≡0(mod77)2n+(1n)2n−1(7⋅21)+(2n)2n−2(7⋅21)2+…−2n≡0(mod77)(1n)⋅2n−1⋅147+(2n)2n−2⋅1472+(3n)2n−3⋅1473+(4n)2n−4⋅1474⋯≡0(mod77).
Since 147=3⋅72, the first term is a multiple of 72, the second is a multiple of 74, and the third is a multiple of 76. Everything after is a multiple of 77.
So n must be a multiple of 75 at the minimum for these three terms to also be multiples of 77.
Putting everything together we find the smallest value of n to be n=22⋅32⋅54⋅75, so the answer is (2+1)(2+1)(4+1)(5+1)=270.
~grogg007
Solution 4 (Elementary and Thorough)
As usual, denote vp(n) the highest power of prime p that divides n. For divisibility by 33, notice that v3(1493−23)=2 as 1493−23=(147)(1492+2⋅149+22), and upon checking mods, 1492+2⋅149+22 is divisible by 3 but not 9. In addition, 1499−29 is divisible by 33 because 1499−29=(1493−23)(1496+1493⋅23+26), and the rightmost factor equates to 1+1+1(mod3)≡0(mod3). In fact, n=9=32 is the least possible choice to ensure divisibility by 33 because if n=a⋅3b, with 3∤a and b<2, we write
149a⋅3b−2a⋅3b=(1493b−23b)(1493b(a−1)+1493b(a−2)⋅23b+⋯23b(a−1)).
Then, the rightmost factor is equivalent to ±a(mod3)≡0(mod3), and v3(1493b−23b)=b+1<3.
For divisibility by 77, we'll induct, claiming that v7(1497k−27k)=k+2 for whole numbers k. The base case is clear. Then,
v7(1497k+1−27k+1)=v7(1497k−27k)+v7(1496⋅7k+27k⋅1495⋅7k+⋯+25⋅7k⋅1497k+26⋅7k).
By the induction hypothesis, v7(1497k−27k)=k+2. Then, notice that
S(k)=1496⋅7k+27k⋅1495⋅7k+⋯+25⋅7k⋅1497k+26⋅7k≡7⋅26⋅7k(mod7)≡7⋅26⋅7k(mod49).
This tells us that S(k) is divisible by 7, but not 49 so that v7(S(k))=1, completing our induction. We can verify that 75 is the least choice of n to ensure divisibility by 77 by arguing similarly to the 33 case.
Finally, for 55, we take the powers of 149 and 2 in mod 5 and mod 25. Writing out these mods, we have that 149n≡2n(mod5) if and only if 4∣n, in which 149n≡2n≡1(mod5). So here we claim that v5(1494⋅5k−24⋅5k)=k+1 and perform yet another induction. The base case is true: 5∣1494−24, but 1494−24≡1−16(mod25). Now then, assuming the induction statement to hold for some k,
v5(1494⋅5k+1−24⋅5k+1)=(k+1)+v5(1494⋅4⋅5k+24⋅5k⋅1493⋅4⋅5k+⋯+23⋅4⋅5k⋅1494⋅5k+24⋅4⋅5k).
Note that S′(k)=1494⋅4⋅5k+24⋅5k⋅1493⋅4⋅5k+⋯+23⋅4⋅5k⋅1494⋅5k+24⋅4⋅5k equates to S′′(k)=1+24⋅5k+⋯+216⋅5k in both mod 5 and mod 25. We notice that S′′(k)≡0(mod5). Writing out the powers of 2 mod 25, we have S′′(0)≡5(mod25). Also 2n≡1(mod25) when n is a multiple of 20. Hence for k>0, S′′(k)≡5mod25. Thus, v5(S′(k))=1, completing our induction. Applying the same argument from the previous two cases, 4⋅54 is the least choice to ensure divisibility by 55.
Our answer is the number of divisors of lcm(32,75,22⋅54)=22⋅32⋅54⋅75. It is (2+1)(2+1)(4+1)(5+1)=270.
~hnkevin42
Solution 5 (Official MAA)
Analyze each prime power separately. Start with the case of 33. By the Binomial Theorem,
149n−2n=(147+2)n−2n=(1n)⋅147⋅2n−1+(2n)⋅1472⋅2n−2+(3n)⋅1473⋅2n−3+⋯.
Because 147 is divisible by 3, all terms after the first two are divisible by 33, and the exponent of 3 in the first term is less than that in the second term. Hence it is necessary and sufficient that 33∣147n, that is, 32∣n. For the 77 case, consider the same expansion as in the previous case. Because 147 is divisible by 49=72, all terms after the first three are divisible by 77, and the exponent of 7 in the first term is less than that in the second and third term. Hence it is necessary and sufficient that 77∣147n, that is, 75∣n. For the 55 case, working modulo 5 gives 149n−2n≡4n−2n=2n(2n−1)(mod5), so it must be that 4∣n. Let n=4m, and let c=1494−24=(1492−22)(1492+22)=147⋅151⋅22205. Note that 5c is an integer not divisible by 5. Expand by the Binomial Theorem again to get
(1494)m−(24)m=(c+16)m−(16)m=(1m)⋅c⋅16m−1+(2m)⋅c2⋅16m−2+(3m)⋅c3⋅16m−3+(4m)⋅c4⋅16m−4+⋯.
All terms after the first four are divisible by 55, and the exponent of 5 in the first term is less than that in the second, third, or fourth term. Hence it is necessary and sufficient that 55∣cm. Thus 54∣m, and it follows that 4⋅54∣n. Therefore the least n is 32⋅(22⋅54)⋅75. The requested number of divisors is (1+2)(1+2)(1+4)(1+5)=270.
The results of the above cases can be generalized using the following lemma.
Lifting the Exponent Lemma: Let p be an odd prime, and let a and b be integers relatively prime to p such that p∣(a−b). Let n be a positive integer. Then the number of factors of p that divide an−bn is equal to the number of factors of p that divide a−b plus the number of factors of p that divide n.
Video Solution
https://www.youtube.com/watch?v=O0BprEOVkjo ~ Math Gold Medalist