Primality proof for n = 858467:
Take b = 2.
b^(n-1) mod n = 1.
3607 is prime. b^((n-1)/3607)-1 mod n = 514513, which is a unit, inverse 359309.
(3607) divides n-1.
(3607)^2 > n.
n is prime by Pocklington's theorem.