OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{k=1..n} (binomial(n+2,3) mod binomial(k+1,2)).
EXAMPLE
MAPLE
f:= proc(n) local t, j;
t:= binomial(n+2, 3);
add(t mod binomial(j+1, 2), j=2..n)
end proc:
map(f, [$1..100]);
PROG
(PARI) a(n) = sum(k=1, n, binomial(n+2, 3) % binomial(k+1, 2)); \\ Michel Marcus, May 19 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, May 19 2021
STATUS
approved