OFFSET
1,4
COMMENTS
Suggested by a formula in Petersson.
REFERENCES
H. Petersson, Modulfunktionen und Quadratische Formen, Springer-Verlag, 1982; p. 98.
MATHEMATICA
Table[Sum[JacobiSymbol[2n, k] k^2, {k, 1, n - 1}], {n, 50}] (* Alonso del Arte, Oct 24 2014 *)
PROG
(PARI) a(n)=sum(k=1, n-1, kronecker(2*n, k)*k^2); \\ Joerg Arndt, Oct 25 2014
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Aug 27 2004
STATUS
approved