OFFSET
1,1
LINKS
Michael G. Kaarhus, Table of n, a(n) for n = 1..770
EXAMPLE
192 is in this sequence, because 192 is an average of a twin prime pair, and so is 192192.
PROG
(Maxima) q:0$ for n:1 thru 800 step 0 do (q:q+6, if(primep(q-1) and primep(q+1)) then (b:concat(q, q), c:eval_string(b), if(primep(c-1) and primep(c+1)) then (if c>341550071728321 then (print("# ", c, " not determ."), n:5000), print(n, ", ", q), n:n+1 ) ) )$
(PARI) cat(n)=eval(concat(Str(n), n))
istwin(n)=n%6==5&&isprime(n)&&isprime(n+2)
v=List(); p=2; forprime(q=3, 1e10, if(q-p==2 && istwin(cat(p+1)-1), listput(v, p+1); if(#v==10^4, return)); p=q) \\ Charles R Greathouse IV, Jan 03 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Michael G. Kaarhus, Jan 03 2014
STATUS
approved