OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
Lorenz Halbeisen and Norbert Hungerbuehler, Number theoretic aspects of a combinatorial function, Notes on Number Theory and Discrete Mathematics 5(4) (1999), 138-150. (ps, pdf); see Definition 7 for the shadow transform.
OEIS Wiki, Shadow transform.
N. J. A. Sloane, Transforms.
MAPLE
a:= n-> add(`if`(modp(j*(j+1)*(j+2)/6, n)=0, 1, 0), j=0..n-1):
seq(a(n), n=0..120); # Alois P. Heinz, Sep 16 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 02 2002
STATUS
approved