OFFSET
0,4
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..3000
MATHEMATICA
a[n_] := Sum[(-1)^k * Binomial[n, k^2], {k, 0, n}]; Array[a, 36, 0] (* Amiram Eldar, May 20 2021 *)
PROG
(PARI) {a(n) = sum(k=0, sqrtint(n), (-1)^k*binomial(n, k^2))}
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 24 2019
STATUS
approved