Talk:Square form factorization: Difference between revisions
lang -> syntaxhighlight
(Effect of using the subscript of the multipliers array instead of the array element) |
(lang -> syntaxhighlight) |
||
Line 179:
To prove things were working as they should, I wrote a little ditty
<
sequence res = {}, r
for n=3 to 100_000 do
Line 197:
prev = p
end for
puts(1,join_by(res,3,10))</
and got this, the only non-prime odd numbers that fail below 1,000,000 are indeed cubes of primes, just as advertised:
<pre>
|