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

7d≡1mod25

or the following holds for some r

72rd≡−1mod25

where 25−1=24=2sd=23⋅3 and 0≤r≤3−1.

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:

73≡49⋅7≡−1⋅7≢1mod25721⋅3≡493≡(−1)3≡−1mod25

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