Primality proof for n = 2520431:
Take b = 2.
b^(n-1) mod n = 1.
2083 is prime. b^((n-1)/2083)-1 mod n = 403849, which is a unit, inverse 1407694.
(2083) divides n-1.
(2083)^2 > n.
n is prime by Pocklington's theorem.