O'Halloran numbers: Difference between revisions
Content added Content deleted
(→{{header|ALGOL 68}}: As noted by Phix, once a, b, c has been tried, there is no need to check a, c, b etc.) |
(→{{header|ALGOL 68}}: Notes) |
||
Line 29: | Line 29: | ||
=={{header|ALGOL 68}}== |
=={{header|ALGOL 68}}== |
||
As |
As in the Phix and other samples, we only need to consider one arrangement of each l, b and h values. |
||
<syntaxhighlight lang="algol68"> |
<syntaxhighlight lang="algol68"> |
||
BEGIN # find O'Halloran numbers - numbers that cannot be the surface area of # |
BEGIN # find O'Halloran numbers - numbers that cannot be the surface area of # |