Maths Olympiad Prep

Library / /425 of 520

Number theory Difficulty 6.8 National olympiad Prove it

16. a) Show that if pp and qq are distinct odd primes, then pqp q is a pseudoprime to the base 2 if and only if ordq2(p1)\operatorname{ord}_{q} 2 \mid(p-1) and ordp2(q1)\operatorname{ord}_{p} 2 \mid(q-1).
b) Use part (a) to decide which of the following integers are pseudoprimes to the base 2: 1367,1973,2389,299713 \cdot 67,19 \cdot 73,23 \cdot 89,29 \cdot 97.

Solution

16. b) 23.89

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.