Primality proof for n = 20975237:
Take b = 2.
b^(n-1) mod n = 1.
2477 is prime.
b^((n-1)/2477)-1 mod n = 3635240, which is a unit, inverse 4029905.
73 is prime.
b^((n-1)/73)-1 mod n = 6506576, which is a unit, inverse 1390842.
(73 * 2477) divides n-1.
(73 * 2477)^2 > n.
n is prime by Pocklington's theorem.