Jump to content

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

From UBC Wiki

The answer is true.

Recall that 7 passes Miller's test if

7d1mod25

or the following holds for some r

72rd1mod25

where 251=24=2sd=233 and 0r31.

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

So we check manually:

7349717≢1mod257213493(1)31mod25

Thus, 7 passes Miller's test. (Note that 25 is not prime but still 7 passes Miller's test).