(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

Nov 3, 2022, 9:08 PM
4 1 7

comments (single view)

incredible ๐Ÿ‘๐Ÿ‘๐Ÿ‘

with the edit, its now even more incredible

engineer gaming

but seriously like, how are you so incredibly smart, thatโ€™s like youโ€™re writing a computer script but instead with pure math

itโ€™s just part of willansโ€™ formula, i just found it interesting

never heard of it (Iโ€™m in alg 2 rn, what course are you taking?)

Ayo I'm in the same one

View all comments