Primality proof for n = 215531:
Take b = 2.
b^(n-1) mod n = 1.
3079 is prime. b^((n-1)/3079)-1 mod n = 82144, which is a unit, inverse 55827.
(3079) divides n-1.
(3079)^2 > n.
n is prime by Pocklington's theorem.