Date: Dec 5, 2012 12:24 AM
Author: Butch Malahide
Subject: Re: No Putnam spoilers please

On Dec 4, 9:48 pm, William Elliot <ma...@panix.com> wrote:
>
> phi(13) = 12;
> 5^2012 = 5^(12 * 168 + 6) = 5^6 = 25^3 = (-1)^3 = -1 = 12 (mod 13)


Actually, 5^2012 = 1 (mod 13).

5^2 = -1 (mod 13)
5^4 = (-1)^2 = 1 (mod 13)
5^2012 = 5^(4*503) = (5^4)^503 = 1^503 = 1 (mod 13)

Your error was in your first step: 2012 = 12*167 + 8.