OFFSET
0,2
COMMENTS
Number of ascending runs in {1,...,n}^4.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
G.f.: -(x^3+23*x^2+32*x+4)*x/(x-1)^5.
MAPLE
a:= n-> n^3*(5*n+3)/2:
seq(a(n), n=0..40);
MATHEMATICA
Table[n^3(5n+3)/2, {n, 0, 40}] (* or *) LinearRecurrence[{5, -10, 10, -5, 1}, {0, 4, 52, 243, 736}, 40] (* Harvey P. Dale, Apr 29 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Sep 15 2013
STATUS
approved