OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
EXAMPLE
a(5) = 13 = 5-7+11-13+17
MATHEMATICA
Accumulate[Join[{0}, If[Mod[#, 6]==1, -#, #]&/@Prime[Range[3, 60]]]] (* Harvey P. Dale, Jul 23 2012 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Armand Turpel armandt(AT)unforgettable.com
STATUS
approved