Primality proof for n = 54897371:
Take b = 2.
b^(n-1) mod n = 1.
499067 is prime. b^((n-1)/499067)-1 mod n = 10220583, which is a unit, inverse 8727416.
(499067) divides n-1.
(499067)^2 > n.
n is prime by Pocklington's theorem.