The arithmoi package

[Tags: library, mit]

A library of basic functionality needed for number-theoretic calculations. The aim of this library is to provide efficient implementations of the functions. Primes and related things (totients, factorisation), powers (integer roots and tests, modular exponentiation), integer logarithms. Note: Requires GHC >= 6.12 with the integer-gmp package for efficiency. Portability is on the to-do list (with low priority, however).


Dependenciesarray (>=0.3 && <0.5), base (==4.*), containers (>=0.3 && <0.5), ghc-prim, integer-gmp, mtl (==2.0.*), random (==1.0.*)
Copyright(c) 2011 Daniel Fischer
AuthorDaniel Fischer
MaintainerDaniel Fischer <>
CategoryMath, Algorithms, Number Theory
Home page
Bug tracker
Source repositoryhead: hg clone
UploadedSun May 6 11:54:44 UTC 2012 by DanielFischer
DistributionsLTSHaskell:, NixOS:, Stackage:
Downloads9061 total (470 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees