First perfect square in base n with n unique digits: Difference between revisions
First perfect square in base n with n unique digits (view source)
Revision as of 01:38, 2 May 2023
, 1 year ago→{{header|jq}}: 15
(→{{header|jq}}: jaq) |
m (→{{header|jq}}: 15) |
||
Line 1,582:
def task:
"Base Root N",
(range(2;
| squaresearch($b)
| "\($b|lpad(3)) \(tobase($b)|lpad(10) ) \( .*. | tobase($b))" );
Line 1,604:
13 3828943 10254773CA86B9
14 3A9DB7C 10269B8C57D3A4
15 1012B857 102597BACE836D4
</pre>
|