OFFSET
1,1
COMMENTS
A175123(n)*2 = a(n+1) - a(n).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
spn[n_]:=Module[{k=NextPrime[n]}, While[!CompositeQ[(k-n)/2], k= NextPrime[ k]]; k]; NestList[spn, 3, 60] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 30 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Feb 15 2010
EXTENSIONS
Extended by Ray Chandler, Mar 06 2010
STATUS
approved