Strayer Elementary Number Theory 3. 2. 11.

Frankly I can't see why it's necessary that (i,m)=1; I don't think it is, and I think the author forgot to remove it from the problem statement (seeing as how this problem was 'borrowed' from a proof of a theorem in this section). If it is necessary and I'm missing something, feel free to comment.




Comments