I was reading about primality test and at the wikipedia page it said that we just have to test the divisors of $n$ from $2$ to $\sqrt n$, but look at this number:
$$7551935939 = 35099 \cdot 215161$$
Since $\sqrt {7551935939} \approx 86901,875$ so basically I would only have to check the divisors from $2$ to $90000$, but one of the divisors ($215161$) is greater than $90000$.
Also, do you guys have some ideas to improme my primality test?
Once you find the smaller divisor, you automatically find the larger divisor too.