OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..490
FORMULA
a(n) = Sum_{j=0..n} binomial(n^2 - (n-1)*(j-1), j).
a(n) = Sum_{j=0..n} binomial(n + (n-1)*(j+1), n*(j+1) - 1) with a(0) = 1.
MATHEMATICA
Table[Sum[Binomial[n^2 -(n-1)*(j-1), j], {j, 0, n}], {n, 0, 30}] (* G. C. Greubel, Mar 09 2021 *)
PROG
(Sage) [sum(binomial(n^2 -(n-1)*(j-1), j) for j in (0..n)) for n in (0..30)] # G. C. Greubel, Mar 09 2021
(Magma) [1] cat [(&+[Binomial(n+(n-1)*(j+1), n*(j+1)-1): j in [0..n]]): n in [1..30]]; // G. C. Greubel, Mar 09 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 08 2004
STATUS
approved