Jump to content

Idoneal numbers: Difference between revisions

→‎{{header|ALGOL 68}}: Slight simplification
(→‎{{header|ALGOL 68}}: Slight simplification)
Line 104:
DO
FOR c FROM b + 1 TO n
WHILE INT bcsum = bab *+ ( c, ac* =( b + a *) c);
INT sum = ab + bc + ac;
sum <= n
AND count < max count
AND ( idoneal := sum /= n )
DO SKIP OD
3,048

edits

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