April 13, 1998 A c k a n o m i c C y c l o p e d i a o f K n o w l e d g e Volume 1, issue 3 This issue follows up a topic from the first issue of ACK and which was discussed on Ackanomic IRC recently. I was trying to prove that 2^p != 1 mod 5^n for integers n and p, with 00 to complete my proof of one of the problems in Douglas Zare's math contest. [The number 4*5^(n-1) here is the totient number of 5^n: the number of integers from 0 to 5^n which are relatively prime to 5^n -- in this case, simply all the ones not divisible by 5.] (If this doesn't look like one of the problems on the test to you, don't worry, it's an intermediate step I believed true without proof, which I had used to prove one of the problems, and which I was now trying to prove.) I had hoped there was some general method that would apply, but looking at 5^2 = 1 mod 2^3 while totient(2^3)=4 discouraged me, and set me to trying to prove it by induction. [What are the requirements on a, b, and n for a^p != 1 mod b^n for 0