(40G) & gs: Square Root Modulo a Prime
|
09-24-2015, 07:53 PM
(This post was last modified: 06-15-2017 01:53 PM by Gene.)
Post: #1
|
|||
|
|||
(40G) & gs: Square Root Modulo a Prime
Edit: Programme simplified.
For input { n , p } n an integer, n < p, p prime the programme SQRTMODP finds the integer square root of n modulo p or returns zero if there is no square root. This is a stand alone programme. eg For input { 7777777 , 98765432167 } the programme finds 41653959691. The answer is returned in Ans & stored in Q. SQRTMODP Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)