Numbers which are the cube roots of the product of their proper divisors: Difference between revisions
Numbers which are the cube roots of the product of their proper divisors (view source)
Revision as of 15:24, 1 October 2022
, 1 year ago→{{header|Phix}}: looks a bit too much like "8.25%" for my tastes
m (→{{header|Phix}}: ugh, fast/safe comment backwards, added precision error comment.) |
m (→{{header|Phix}}: looks a bit too much like "8.25%" for my tastes) |
||
Line 158:
<span style="color: #008080;">end</span> <span style="color: #008080;">while</span>
<!--</syntaxhighlight>-->
By default factors() does not include 1 and n, or I could use length(factors(n,1))=8
exceeds precision limits on 32-bit for n=180, and on 64bit for n=240, though since you'll get exactly the same precision error on the n*n*n it kinda "worked by chance".
{{out}}
|