# arithmetic: Natural number arithmetic

This package implements a library of natural number arithmetic functions, including Montgomery multiplication, the Miller-Rabin primality test, Lucas sequences, the Williams p+1 factorization method, continued fraction representations of natural number square roots, the Jacobi symbol, the Tonelli-Shanks algorithm for finding square roots modulo a prime, and the Chakravala method for solving the Pell equation.

Versions [faq] | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 |
---|---|

Dependencies | base (>=4.0 && <5.0), containers (>=0.4.2.1 && <1.0), opentheory (>=1.0 && <2.0), opentheory-bits (>=1.0 && <2.0), opentheory-divides (>=1.0 && <2.0), opentheory-primitive (>=1.8 && <2.0), QuickCheck (>=2.4.0.1 && <3.0), random (>=1.0.1.1 && <2.0) [details] |

License | MIT |

Author | Joe Leslie-Hurd <joe@gilith.com> |

Maintainer | Joe Leslie-Hurd <joe@gilith.com> |

Category | Number Theory |

Uploaded | by JoeHurd at Wed Oct 2 20:08:10 UTC 2019 |

Distributions | NixOS:1.5 |

Executables | arithmetic |

Downloads | 1953 total (160 in the last 30 days) |

Rating | (no votes yet) [estimated by Bayesian average] |

Your Rating | |

Status | Docs available [build log] Last success reported on 2019-10-02 [all 1 reports] |

## Downloads

- arithmetic-1.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)