login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134916 Numbers n such that both 3^n+2 and 2^n+3 are primes. 4

%I #8 Sep 02 2022 17:37:45

%S 1,2,3,4,15

%N Numbers n such that both 3^n+2 and 2^n+3 are primes.

%C Intersection of A057732 and A051783. a(6)>1000.

%C Since this is the intersection of A057732 and A051783, a(6)>95504. - _Dmitry Kamenetsky_, Jul 29 2008

%t Select[Range[20],AllTrue[{3^#+2,2^#+3},PrimeQ]&] (* _Harvey P. Dale_, Sep 02 2022 *)

%o (PARI) for(n=0,1000,if(isprime(2^n+3)&&isprime(3^n+2),print(n)))

%Y Cf. A051783, A057732.

%K more,nonn

%O 1,2

%A _Zak Seidov_, Jan 29 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)