First perfect square in base n with n unique digits: Difference between revisions
Content added Content deleted
(→{{header|jq}}: jaq) |
|||
Line 1,535: | Line 1,535: | ||
Some useful filters, but nothing fancy here. |
Some useful filters, but nothing fancy here. |
||
With a few minor tweaks, notably replacing `sqrt` with `isqrt` (see e.g. [[Isqrt_(integer_square_root)_of_X#jq]]), |
|||
the following program also works with jaq, the Rust implementation of jq. |
|||
<syntaxhighlight lang=jq> |
<syntaxhighlight lang=jq> |
||
# Input: an integral decimal number |
# Input: an integral decimal number |