Tuesday, 27 August 2013

Create numbers with their factorization

Create numbers with their factorization

I would like to define a function factors(a,b) that returns all the
numbers between a and b along with their prime factorizations. I can just
factorize each number using an external module but that is very slow she
you do millions on them.
The numbers a and b will typically have 10 to 15 digits.

No comments:

Post a Comment