第 687 题:(2018 AIME I, 11)
Find the least positive integer $n$ such that when $3^n$ is written in base $143$, its two right-most digits in base $143$ are $01$.
- We need $3^n\equiv1\pmod{143^2}$, i.e.\ mod $121$ and mod $169$.
- $3^5=243=2\cdot121+1$, so the order of $3$ mod $121$ is $5$. Mod $13$ the order is $3$ ($27\equiv1$), and $27\not\equiv1\pmod{169}$, so the order mod $169$ is $3\cdot13=39$.
- $n=\operatorname{lcm}(5,39)=195$. The answer is $\boxed{195}$.
Find the least positive integer $n$ such that when $2^n$ is written in base $63$, its two right-most digits in base $63$ are $01$.