Primality proof for n = 26399:
Take b = 2.
b^(n-1) mod n = 1.
197 is prime. b^((n-1)/197)-1 mod n = 6307, which is a unit, inverse 13842.
(197) divides n-1.
(197)^2 > n.
n is prime by Pocklington's theorem.