Skip to main content

All Questions

Filter by
Sorted by
Tagged with
25 votes
3 answers
3k views

Composite pairs of the form n!-1 and n!+1

It's well known that the numbers of the form $n!\pm1$ are not always prime. Indeed, Wilson's Theorem guarantees that $(p-2)!-1$ and $(p-1)!+1$ are composite for every prime number $p > 5$. Is ...
François G. Dorais's user avatar