A229280 Number of ascending runs in {1,...,6}^n.
0, 6, 57, 468, 3564, 25920, 182736, 1259712, 8538048, 57106944, 377913600, 2479113216, 16144468992, 104485552128, 672625741824, 4310029025280, 27505821597696, 174908814262272, 1108696193630208, 7007637010120704, 44178581150760960, 277868041444786176
Offset: 0
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (12,-36).
Crossrefs
Column k=6 of A229079.
Programs
-
Maple
a:= n-> `if`(n=0, 0, 6^(n-1)*(7*n+5)/2): seq(a(n), n=0..30);
Formula
G.f.: -3*(5*x-2)*x/(6*x-1)^2.
a(n) = 6^(n-1)*(7*n+5)/2 for n>0, a(0) = 0.