login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A134916
Numbers n such that both 3^n+2 and 2^n+3 are primes.
4
1, 2, 3, 4, 15
OFFSET
1,2
COMMENTS
Intersection of A057732 and A051783. a(6)>1000.
Since this is the intersection of A057732 and A051783, a(6)>95504. - Dmitry Kamenetsky, Jul 29 2008
MATHEMATICA
Select[Range[20], AllTrue[{3^#+2, 2^#+3}, PrimeQ]&] (* Harvey P. Dale, Sep 02 2022 *)
PROG
(PARI) for(n=0, 1000, if(isprime(2^n+3)&&isprime(3^n+2), print(n)))
CROSSREFS
Sequence in context: A140047 A297840 A102483 * A085100 A337117 A204983
KEYWORD
more,nonn
AUTHOR
Zak Seidov, Jan 29 2008
STATUS
approved