I have a code in Pari gp that searches for pairs of (a(x),b(x))
for which a given value of x
makes them prime. How can I return the total number of i that makes both a(x)
and b(x)
both prime
a(x) =x power 8 + 1
b(x) = x power 10 + 1
for (i=2,5,if(isprime(a(x)==1,if(isprime(b(x)==1,print([i,ax,bx]))