An integer factorization function somewhere in the Haskell library?

I find a library with an implementation of an integer factorization function. Preferably, some quick implementation in some popular library, so as not to reinvent the wheel.

Is there anything?

+5
source share
2 answers

A quick google search reveals the arithmoi package of Daniel Fischer.

+12
source

See primeFactorsin of primes . It is fast enough, for example, instantly 104729 * 104723.

+2
source

All Articles