First perfect square in base n with n unique digits: Difference between revisions

m
→‎slightly optimized: updated the output section (has wider indenting)
m (→‎more optimized: elided two statements.)
m (→‎slightly optimized: updated the output section (has wider indenting))
Line 2,984:
{{out|output|text=  when using the default input:}}
<pre>
base 2 root= 10 square= 100
base 3 root= 22 square= 2101
base 4 root= 33 square= 3201
base 5 root= 243 square= 132304
base 6 root= 523 square= 452013
base 7 root= 1431 square= 2450361
base 8 root= 3344 square= 13675420
base 9 root= 11642 square= 136802574
base 10 root= 32043 square= 1026753849
base 11 root= 111453 square= 1240a536789
base 12 root= 3966b9 square= 124a7b538609
base 13 root= 3828943 square= 10254773ca86b9
base 14 root= 3a9db7c square= 10269b8c57d3a4
base 15 root= 1012b857 square= 102597bace836d4
base 16 root= 404a9d9b square= 1025648cfea37bd9
</pre>