OFFSET
1,2
LINKS
Stefano Spezia, Table of n, a(n) for n = 1..10000
FORMULA
a(n+1) = 2*prime(n) - a(n). - Sam Handler (sam_5_5_5_0(AT)yahoo.com), Nov 13 2004
MATHEMATICA
a[1]=1; a[n_]:=2Prime[n-1]-a[n-1]; Array[a, 58] (* Stefano Spezia, May 06 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 31 2003
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Nov 13 2004
Terms a(37) and beyond corrected by Stefano Spezia, May 06 2023
STATUS
approved