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!)
A098043 Numbers p such that p = (prime(prime(n+1)) - prime(prime(n)))/2 is prime. 0

%I #5 Dec 31 2023 16:27:04

%S 3,3,7,5,13,11,3,11,7,17,19,17,31,7,37,23,61,5,19,47,31,17,29,7,5,19,

%T 41,31,41,11,79,7,7,23,37,31,13,29,47,13,83,29,13,11,59,17,23,17,11,

%U 61,5,23,83,7,7,79,5,5,31,41,61,5,29,19,19,47,67,7,13,31,29,13,137,61,53,43

%N Numbers p such that p = (prime(prime(n+1)) - prime(prime(n)))/2 is prime.

%e prime(prime(3)) - prime(prime(2)) = 6. 6/2 = 3 = first term

%e prime(prime(4)) - prime(prime(3)) = 6. 6/2 = 3 = second term

%o (PARI) g(n,m) = for(x=1,n,y=prime(prime(x+m)) - prime(prime(x)); if(y%2==0&isprime(y/2),print1(y\2",")))

%K easy,nonn

%O 2,1

%A _Cino Hilliard_, Sep 10 2004

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 March 29 04:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)