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

Copyright(c) 2015 by Dr. Lars Brünjes
LicenseMIT
MaintainerDr. Lars Brünjes <lbrunjes@gmx.de>
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.