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”).

Primes of the form 3p - q - 3, where p and q are consecutive primes.
4

%I #7 May 13 2013 01:54:08

%S 5,7,17,19,29,31,37,53,67,79,97,113,127,137,151,157,167,197,199,211,

%T 269,293,337,349,353,379,383,389,439,449,457,547,557,569,607,617,619,

%U 653,661,691,751,757,787,829,857,877,887,907,919,947

%N Primes of the form 3p - q - 3, where p and q are consecutive primes.

%H Charles R Greathouse IV, <a href="/A099382/b099382.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) v=List(); p=2; forprime(q=3,1e6, if(isprime(t=3*p-q-3), listput(v,t)); p=q); v=vecsort(Vec(v),,8)

%Y Cf. A099389.

%K nonn,easy

%O 1,1

%A _Giovanni Teofilatto_, Nov 17 2004

%E Edited and extended by _Klaus Brockhaus_, Nov 19 2004

%E Terms corrected by _Charles R Greathouse IV_, Feb 15 2011