Jump to content

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

From UBC Wiki

Recall that 2 passes Miller's test if

2d1mod209

or for some value r

22rd1mod209

where 2091=208=2sd and 0rs1. If 2 fails the test, then 209 is not prime. For us, we see that 208=23(26)=2413 and so d is 13 and r is 4. We compute manually.

2132825(256)(32)(47)(32)150441≢±1mod209

and for the powers of 2,

221341216819≢±1mod209

24139281≢±1mod209

2813812(2411)24412441+149164+136+45+182≢±1mod209

21613822(81+1)2812+162+182+162+136≢±1mod209

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