Primality proof for n = 28181:
Take b = 2.
b^(n-1) mod n = 1.
1409 is prime. b^((n-1)/1409)-1 mod n = 5878, which is a unit, inverse 16200.
(1409) divides n-1.
(1409)^2 > n.
n is prime by Pocklington's theorem.