Primality proof for n = 1811:
Take b = 2.
b^(n-1) mod n = 1.
181 is prime. b^((n-1)/181)-1 mod n = 1023, which is a unit, inverse 1680.
(181) divides n-1.
(181)^2 > n.
n is prime by Pocklington's theorem.