Number theoryDifficulty 6.3National olympiadProve it
16. a) Show that the probability that n is a strong pseudoprime for a base b randomly chosen with 1⩽b⩽n−1 is near (n−1)/4 only when n has a prime factorization of the form n=p1p2 where p1=1+2q1 and p2=1+4q2 with q1 and q2 prime or n=p1p2p3 where p1=1+2q1, p2=1+2q2,p3=1+2q3 with q1,q2,q3 distinct odd primes. b) Find the probability that n=49939.99877 is a strong pseudoprime to the base b randomly chosen with 1⩽b⩽n−1.
Solution
16. b) (49938.99876)/(4⋅49939⋅99877)=.24999249…
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.