pkmnq — 11/3/2022, 11:00:04 PM

Wilson’s theorem

↩ repost
lily — 11/3/2022, 9:08:27 PM

(n - 1)! + 1 is divisible by n if n is prime or 1

EDIT: therefore floor ( cos pi ((n-1)!+1)/n )² is a boolean prime detector :3

♥ 4 ↩ 1 💬 7 comments
♥ 2 ↩ 0 💬 0 comments

comments

no comments