Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let $N$ be the product of all divisors of $2013^{2013}$. What are the last 2 numbers of $N$ in its decimal notation?

I don't know where to start in this exercise, would like to get a hint or two :) Thanks in advance!

share|cite|improve this question
up vote 5 down vote accepted

First note that the product of all divisors of an integer $n$ is $\sqrt{n^{\tau(n)}}$, where $\tau(n)$ denotes the number of divisors of $n$. Since $2013=3\cdot11\cdot61$, we see that


Moreover, as $\textbf{Ivan Loh}$ pointed out, Euler's totient theorem tells us that $a^{\varphi(100)}=a^{40}\equiv_{100}1$ for $\gcd(a,100)=1$. It follows that


share|cite|improve this answer
why did you divide 8169178744 by 2 and how can I tell the mod100 number without calculating the previous one? – darenn May 9 '13 at 17:50
Because $\sqrt{n^{2m}}=n^m$. I will elaborate on the calculations shortly. – Librecoin May 9 '13 at 17:52
You can show the product of all divisors formula by pairing a divisor $d$ with $\frac n d$ - that picks up each divisor once unless $n$ is a square, and it is easy to adjust for this case. So each pair of complementary divisors contributes $n$ to the product, with an adjustment if necessary for the square root. – Mark Bennet May 9 '13 at 18:09
Great thanks for your help! Just wondering if there's a way to do this without a calculator (you had to find those divisors somehow :) ) – darenn May 9 '13 at 18:15
You can avoid calculations as follows: We have $\tau(2013^{2013})=2014^3$. Also by Euler's totient theorem (since $\phi(100)=40$), $a^{40} \equiv 1 \pmod{100}$ for $\gcd(a, 100)=1$. Since $2013(1007)(2014)^2 \equiv 13(7)(14)^2 \equiv 91(196) \equiv 11(-4) \equiv -4 \pmod{40}$, so $$N=\sqrt{(2013^{2013})^{\tau(2013^{2013})}}=2013^{2013(1007)(2014)^2} \equiv 13^{-4} \equiv 61^{-1} \equiv 41 \pmod{100}$$ For the last step, you could do $61^{-1} \equiv (1-60)^{-1}((1+60)(1-60))^{-1} \equiv 41 \pmod{100}$. – Ivan Loh May 10 '13 at 1:56

Hint: The product of all divisors of N is a multiple of N.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.