Primality by Wilson's theorem: Difference between revisions
→{{header|Plain English}}: simplify
(Add Plain English) |
(→{{header|Plain English}}: simplify) |
||
Line 601:
To decide if a number is prime (via Wilson's theorem):
If the number is less than 1, say no.
If the factorial is evenly divisible by the number, say yes.
Say no.</lang>
|