1965 AHSME Problems/Problem 33
Solution
We can use Legendre's to find the number of s in base
So
.
Likewise, we are looking for the number of
s and
s that divide
, so we use Legendre's again.
Thus,
and
So
, and
~JustinLee2017