OFFSET
1,2
COMMENTS
Surprisingly, first 12 terms are also in A074170.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Accumulate[Table[If[SquareFreeQ[n], n, -n], {n, 70}]] (* Harvey P. Dale, Mar 18 2015 *)
PROG
(PARI) a(n) = sum(k = 1, n, if (issquarefree(k), k, -k)); \\ Michel Marcus, Oct 02 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 19 2002
STATUS
approved