View Single Post
Old 2016-10-19, 11:21   #1
tanaydin
 
Oct 2016

108 Posts
Default python code to calculate modular residue

Hello,

I made a small python code to calculate residue based on example at http://www.mersenne.org/various/math.php

When you run it, enter 23 as power, 47 as the divider and it will output 1 as residue.
Attached Files
File Type: txt mersenne.txt (477 Bytes, 137 views)
tanaydin is offline   Reply With Quote