Talk:Prime decomposition: Difference between revisions

→‎NZMATH: format
m (→‎NZMATH: new section)
(→‎NZMATH: format)
Line 56:
print(prime.properDivisors(64)) # returns [2, 4, 8, 16, 32]
</lang>
 
: You'd need to convert their format for the task, though: 64 needs to return <code>[2, 2, 2, 2, 2, 2]</code>.
: I did the same thing in [[Prime decomposition#PARI/GP|my PARI/GP solution]].
: [[User:CRGreathouse|CRGreathouse]] 19:57, 14 June 2011 (UTC)