(38G) Square Root Modulo a Prime
|
03-21-2015, 06:00 AM
(This post was last modified: 06-18-2023 03:52 AM by Gerald H.)
Post: #1
|
|||
|
|||
(38G) Square Root Modulo a Prime
For input
{ n , p } n an integer, n < p, p prime the programme finds the integer square root of n modulo p or returns zero if there is no square root. eg For input { 7777777 , 98765432167 } the programme finds 57111472476. The answer is returned in Ans & stored in Q. The programme KRON can be found here http://www.hpmuseum.org/forum/thread-3438.html & the other sub-programmes here http://www.hpmuseum.org/forum/thread-3380.html Code: Ans►L1: |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)