login
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