Primality proof for n = 18169:
Take b = 2.
b^(n-1) mod n = 1.
757 is prime. b^((n-1)/757)-1 mod n = 7228, which is a unit, inverse 9268.
(757) divides n-1.
(757)^2 > n.
n is prime by Pocklington's theorem.