Integer roots: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|Raku}}: simplifying tail condition)
Tag: Made through Tor
Line 1,010: Line 1,010:
10**($n.chars div $p),
10**($n.chars div $p),
{ ( $d * $^x + $n div ($x ** $d) ) div $p } ...
{ ( $d * $^x + $n div ($x ** $d) ) div $p } ...
{ $_**$p $n < ($_+1)**$p }
* == *
).tail
).tail
}
}