arithmoi

Efficient basic number-theoretic functions.

https://github.com/cartazio/arithmoi

Version on this page:0.5.0.0
LTS Haskell 19.7:0.12.0.1
Stackage Nightly 2022-05-19:0.12.0.1
Latest on Hackage:0.12.0.1

See all snapshots arithmoi appears in

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).