Jump to content

Science:Math Exam Resources/Courses/MATH312/December 2012/Question 02 (c)/Hint 1

From UBC Wiki

Recall that 7 passes Miller's test if

7d1mod25

or the following holds for some r

72rd1mod25

where 251=24=2sd for s=3 and d=3, and 0rs1.

If 7 passes the test, then 25 is a probable prime. If it fails the test, then the number is not prime.