Solving a Single Congruence Equation
|
01-16-2014, 03:14 AM
Post: #1
|
|||
|
|||
Solving a Single Congruence Equation
The program solves for x in the equation:
A * x = B mod N Examples: 4 * x = 6 mod 7 A = 4, B = 6, N = 7 Solution: 5 5 * x = 3 mod 17 A = 5, B = 3, N = 17 Solution: 4 11 * x = 3 mod 16 A = 11, B = 3, N = 16 Solution: 9 HP Prime Program: CONG Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)