Jump to content

Unprimeable numbers: Difference between revisions

→‎{{header|ALGOL 68}}: Corrected comment
(→‎{{header|ALGOL 68}}: Tweaks and corrected headings)
(→‎{{header|ALGOL 68}}: Corrected comment)
Line 149:
ELIF last digit = 2 OR last digit = 5
THEN
# the final digit is even2 or 5, changing the other digits can't make a prime #
# unless there is only one other digit which we change to 0 #
INT v := leading digits;
3,038

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.