Science:Math Exam Resources/Courses/MATH312/December 2009/Question 02 (a)/Solution 1

From UBC Wiki

Recall that 2 passes Miller's test if

or for some value r

where and . If 2 fails the test, then 209 is not prime. For us, we see that and so d is 13 and r is 4. We compute manually.

and for the powers of 2,

and so the number 209 is not prime and 2 fails Miller's test. Thus 209 is composite. In fact .