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

2d≡1mod209

or for some value r

22rd≡−1mod209

where 209−1=208=2sd and 0≤r≤s−1. If 2 fails the test, then 209 is not prime. For us, we see that 208=23(26)=24⋅13 and so d is 13 and r is 4. We compute manually.

213≡28⋅25≡(256)(32)≡(47)(32)≡1504≡41≢±1mod209

and for the powers of 2,

22⋅13≡412≡1681≡9≢±1mod209

24⋅13≡92≡81≢±1mod209

28⋅13≡812≡(2⋅41−1)2≡4⋅412−4⋅41+1≡4⋅9−164+1≡36+45+1≡82≢±1mod209

216⋅13≡822≡(81+1)2≡812+162+1≡82+162+1≡36≢±1mod209

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