OFFSET
1,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = Sum_{k=1,..,n} ( Sum_{i=1,..,k-1} mod(binomial(n, k + 1), binomial(n, k)) ). - G. C. Greubel, Dec 12 2016
MATHEMATICA
T[n_, k_] := Mod[Binomial[n, k + 1], Binomial[n, k]]; Join[{0}, Table[Sum[T[n, k], {k, 1, n - 1}], {n, 1, 20}]] (* G. C. Greubel, Dec 12 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Mats Granvik, Jul 23 2009
EXTENSIONS
Corrected a(20). Mats Granvik, Jul 24 2009
Terms a(21) onward added by G. C. Greubel, Dec 12 2016
STATUS
approved