OFFSET
1,2
FORMULA
a(n+1)-a(n) = A039701(n+4) (first differences).
a(n) = A120326(n+3) - 4. - Jason Yuen, Sep 01 2024
MATHEMATICA
a = Table[Sum[Mod[Prime[i + 3], 3], {i, 1, n}], {n, 1, 200}]
Accumulate[Mod[Prime[Range[4, 80]], 3]] (* Harvey P. Dale, Aug 04 2013 *)
CROSSREFS
KEYWORD
nonn,less,easy
AUTHOR
Roger L. Bagula, Mar 23 2005
STATUS
approved