A134916 Numbers n such that both 3^n+2 and 2^n+3 are primes.
1, 2, 3, 4, 15
Offset: 1
Programs
-
Mathematica
Select[Range[20],AllTrue[{3^#+2,2^#+3},PrimeQ]&] (* Harvey P. Dale, Sep 02 2022 *)
-
PARI
for(n=0,1000,if(isprime(2^n+3)&&isprime(3^n+2),print(n)))
Comments