Math NT

Theorem

Let and be coprime numbers.

This is a generalization of Fermet’s Little Theorem, as is a prime number in Fermet’s Little Theorem.

Proof

Let:

Where is the th number relatively prime to .

Since and are coprime to , is coprime to . Since each is unique, is unique, which makes set the same as set .

Since all terms are coprime to :