OFFSET
0,4
FORMULA
For n > 0, a(n) = Sum_{k=1..n} K(k,3)*floor(n/k) where K(x,y) is the Kronecker symbol. - Benoit Cloitre, Oct 31 2009
PROG
(PARI) a(n)=if(n<1, 0, sum(k=1, n, kronecker(k, 3)*floor(n/k))) \\ Benoit Cloitre, Oct 31 2009
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved