Smallest numbers: Difference between revisions
m
→{{header|ALGOL 68}}: typo
m (→{{header|Phix}}: added a couple more tags) |
m (→{{header|ALGOL 68}}: typo) |
||
Line 7:
=={{header|ALGOL 68}}==
{{works with|ALGOL 68G|Any - tested with release 2.8.3.win32}}
Uses ALGOL 68G's
<lang algol68>BEGIN # find the smallest k such that the decimal representation of k^k contains n for 0 <= n <= 50 #
# start with powers up to 20^20, if this proves insufficient, the kk array will be extended #
|