ixid:
http://rosettacode.org/wiki/Prime_decomposition#DThis will potentially return a 1 in the list of primes which is a bug as 1 isn't prime.
From Python code, hopefully more correct and much faster: http://codepad.org/N4A7kxE1 Bye, bearophile
ixid:
http://rosettacode.org/wiki/Prime_decomposition#DThis will potentially return a 1 in the list of primes which is a bug as 1 isn't prime.
From Python code, hopefully more correct and much faster: http://codepad.org/N4A7kxE1 Bye, bearophile