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

A103911
Numbers n such that 2*P(n)+1, 2*P(n+1)+1, 2*P(n+2)+3, 2*P(n+3)+3 are also consecutive primes with P(i)=i-th prime.
2
34771, 219423, 507698, 776248, 920369, 1655143, 1820948, 1847083, 1883839, 2179339, 2747429, 2979743, 3075306, 3516977, 3579987, 3905386, 3991750, 4167882, 5183712
OFFSET
1,1
MATHEMATICA
cpQ[n_]:=Module[{a=2Prime[n]+1, b=2Prime[n+1]+1, c=2Prime[n+2]+3, d= 2Prime[ n+3]+3}, PrimeQ[ a]&&NextPrime[a]==b&&NextPrime[b]==c&&NextPrime[c]==d]; Select[Range[5200000], cpQ] (* Harvey P. Dale, Mar 08 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Feb 21 2005
EXTENSIONS
Corrected by Harvey P. Dale, Mar 08 2014
STATUS
approved