Add very simple p+1 factoring, is_prime does fewer extra M-R tests
Use a little p+1 and pbrent