Problem 689: (2020 AIME I, 12)
Let $n$ be the least positive integer for which $149^n-2^n$ is divisible by $3^3\cdot5^5\cdot7^7.$ Find the number of positive integer divisors of $n.$
- $149-2=147=3\cdot7^2$. By lifting the exponent, $v_3(149^n-2^n)=1+v_3(n)$ and $v_7(149^n-2^n)=2+v_7(n)$, so $v_3(n)\ge2$ and $v_7(n)\ge5$.
- Mod $5$, $149\cdot2^{-1}\equiv2$ has order $4$, so $4\mid n$. Then $v_5(149^n-2^n)=v_5(149^4-2^4)+v_5\!\bigl(\frac n4\bigr)$, and $149^4-16=147\cdot151\cdot22205$ with $v_5=1$. So $v_5(n)\ge4$.
- The least $n=2^2\cdot3^2\cdot5^4\cdot7^5$ has $3\cdot3\cdot5\cdot6=270$ divisors. The answer is $\boxed{270}$.
Let $n$ be the least positive integer for which $151^n-4^n$ is divisible by $3^4\cdot5^4\cdot7^5.$ Find the number of positive integer divisors of $n.$