OFFSET
1,1
COMMENTS
Conjecture: the sequence is infinite.
Remarks: the primes p appears in increasing order but with repetition, all the primes are not present in p,q.
LINKS
Pierre CAMI, Table of n, a(n) for n = 1..10000
EXAMPLE
5-3=2 a(1)=5
7-3=4 a(2)=7
11-5=6 a(3)=11
13-5=8 a(4)=13
17-7=10 a(5)=17
MATHEMATICA
a[1]=5; a[n_]:=a[n]=(For[k=a[n-1]+2, !(k>2n&&PrimeQ[k]&&PrimeQ[k-2n]), k++]; k)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Nov 26 2013
STATUS
approved