Problem

NT-B2-M04-P020 Wilson as a Criterion

#20 Grade 8 Grade 9 Grade 10 ★★★★★ Level 5 of 5

Prove that if \(n>1\) and \((n-1)!\equiv-1\pmod n\), then \(n\) is prime.