OFFSET
0,2
COMMENTS
Number of ascending runs in {1,...,n}^6.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7, -21, 35, -35, 21, -7, 1).
FORMULA
G.f.: -(x^5+137*x^4+957*x^3+1157*x^2+262*x+6)*x/(x-1)^7.
MAPLE
a:= n-> n^5*(7*n+5)/2:
seq(a(n), n=0..40);
MATHEMATICA
Table[n^5(7*n+5)/2, {n, 0, 30}] (* or *) LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 6, 304, 3159, 16896, 62500, 182736}, 30] (* Harvey P. Dale, Apr 07 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Sep 15 2013
STATUS
approved