pell-0.1.1.0: Package to solve the Generalized Pell Equation.

Copyright(c) 2016 by Dr. Lars Brünjes
LicenseMIT
MaintainerDr. Lars Brünjes <brunjlar@gmail.com>
StabilityProvisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Math.NumberTheory.Moduli.SquareRoots

Description

This module provides a function to find all square roots of a number modulo another number.

Synopsis

Documentation

sqrts :: Integer -> Integer -> [Integer] Source #

sqrts a m finds all square roots of a modulo m, where a is an arbitrary integer and m is a positive integer.