Primality proof for n = 187816627:
Take b = 2.
b^(n-1) mod n = 1.
10434257 is prime. b^((n-1)/10434257)-1 mod n = 262143, which is a unit, inverse 34884028.
(10434257) divides n-1.
(10434257)^2 > n.
n is prime by Pocklington's theorem.