Free42: Modulo Powering Programme
|
05-29-2015, 03:48 PM
Post: #1
|
|||
|
|||
Free42: Modulo Powering Programme
Free42 can reliably deal with exact calculations on integer arguments with 11 digits (possibly higher, but I'm not sure).
The programme MOD↑ calculates the Yth power of Z modulo base X. eg For input 7777777 7777777 10^21 the programme returns 951673149961995347697. Remember: modulo powering provides a quick pseudo-prime test, namely if a ^ (b - 1) mod b = 1 it's a fairly safe bet b is prime. Code: 0. { 60-Byte Prgm } |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Free42: Modulo Powering Programme - Gerald H - 05-29-2015 03:48 PM
|
User(s) browsing this thread: 1 Guest(s)