[SciPy-user] prime factorization...
Wed Jun 17 12:45:37 CDT 2009
Joe Harrington a écrit :
> fred <email@example.com>:
>> Is there any function in scipy that gives the prime factorization?
>> ie 50 -> [5, 5, 2]?
> There may be a solution in sympy:
(I have installed sympy and don't plan to install sage only to compute
prime factorization, David; thanks anyway).
> There is also a linux 'factor' program that does numbers up to around 1.8e19:
Arg, I forgot this one!
Thanks a lot!
More information about the SciPy-user