The converse to Fermat's little theorem

Let n>1n>1 be a positive integer such that

ana(mod n)a^n\equiv a(\operatorname{mod}\ n)

for every integer aa. The converse to Fermat's little theorem. Then nn must be a prime number. This statement is the converse formulation of Fermat's little theorem; it is solved, having been proved by Alford, Granville, and Pomerance in 1994.

Sources & referencesView supporting material

Primary source

Tigran Hakobyan, “T-Fermat integers”, arXiv:2603.00679 (2026).

Progress summary

Never refreshed

Nothing recorded yet. Refresh searches the literature and the public web for attempts on this problem, and writes the first summary here.

Solutions 0

No solutions have been posted yet.