OFFSET
0,2
LINKS
Nathan M Epstein, Python program
MATHEMATICA
a[n_]:=Sum[Mod[Binomial[n, k], n+1], {k, 0, n}]; Array[a, 100, 0] (* Stefano Spezia, Jan 09 2019 *)
PROG
(PARI) a(n) = sum(k=0, n, binomial(n, k) % (n+1)); \\ Michel Marcus, Jan 09 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Nathan M Epstein, Jan 09 2019
STATUS
approved