Primality by Wilson's theorem: Difference between revisions

m
→‎{{header|Plain English}}: incorporate more of the comment into the program
m (→‎{{header|Plain English}}: incorporate more of the comment into the program)
Line 582:
Wait for the escape key.
Shut down.
 
The maximum representable factorial is a number equal to 12. \32-bit signed
 
To show some primes (via Wilson's theorem):
If a counter is past 12,the exit.maximum \largestrepresentable factorial, respresentable by signed 32-bit integersexit.
If the counter is prime (via Wilson's theorem), write "" then the counter then " " on the console without advancing.
Repeat.
1,827

edits