Find all positive integers n such that (n-1)! modulo n = n-1.
More importantly, prove your answer.
This was something I noticed back in grade school while bored and playing around with a calculator, and only recently found out is an actual theorem that doesn't seem to be used for anything. But the proof is neat.
Question
plasmid
Find all positive integers n such that (n-1)! modulo n = n-1.
More importantly, prove your answer.
This was something I noticed back in grade school while bored and playing around with a calculator, and only recently found out is an actual theorem that doesn't seem to be used for anything. But the proof is neat.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.