Primality proof for n = 34110701:
Take b = 3.
b^(n-1) mod n = 1.
1381 is prime.
b^((n-1)/1381)-1 mod n = 4118970, which is a unit, inverse 22022713.
19 is prime.
b^((n-1)/19)-1 mod n = 31770329, which is a unit, inverse 18865889.
(19 * 1381) divides n-1.
(19 * 1381)^2 > n.
n is prime by Pocklington's theorem.