Better HN
topnewbestaskshowjobs
Log inSign up

IHateScrabble

2 karma · joined Aug 19, 2020 (6y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

In the section on Fermat's little theorem there is a small mistake in the first statement of the theorem. You've written: "If p is prime and a is any integer not divisible by p, then the number a^(p-1) is divisible by p" this should read "a^(p-1) - 1 is divisible by p". The second statement of the theorem in terms of modular arithmetic is correct though.