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

Line 1,535:
 
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>
# Input: an integral decimal number
2,442

edits