OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n^2*(n-1)*(n-2)*(n+2)*(n+1)*(3*n^2+1)/10080. - corrected by Eric Rowland, Aug 15 2017
G.f: x^3*(1+x)*(1+4*x+x^2)/(1-x)^9.
EXAMPLE
For n=3 the only positive integer solution to x+y+z=3 is (1,1,1) so a(3) = 1.
For n=4 the solutions are (1,1,2),(1,2,1),(2,1,1) so a(4) = 2^3 + 2^2 + 2 = 14.
MAPLE
A241205:= n -> n^2*(n-1)*(n-2)*(n+2)*(n+1)*(3*n^2+1)/10080; # Robert Israel, Apr 17 2014
MATHEMATICA
Rest[CoefficientList[Series[x^3 (1 + x) (1 + 4 x + x^2)/(1 - x)^9, {x, 0, 35}], x]] (* Vincenzo Librandi, Jul 01 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Robert Israel, Apr 17 2014
STATUS
approved