|
|
A014829
|
|
a(1)=1, a(n) = 6*a(n-1) + n.
|
|
6
|
|
|
1, 8, 51, 310, 1865, 11196, 67183, 403106, 2418645, 14511880, 87071291, 522427758, 3134566561, 18807399380, 112844396295, 677066377786, 4062398266733, 24374389600416, 146246337602515, 877478025615110
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Binomial transform of x*(1+x)/(1-5*x), or A003948 with a leading 0. a(n) = Sum_{k=0..n} (n-k)*6^k = Sum_{k=0..n} k*6^(n-k); a(n) = Sum_{k=0..n} binomial(n+2, k+2)*5^k [Offset 0]. - Paul Barry, Jul 30 2004
G.f.: x / ((1 - x)^2*(1 - 6*x)).
a(n) = 8*a(n-1) - 13*a(n-2) + 6*a(n-3) for n>3.
(End)
|
|
MAPLE
|
a:=n->1/5*sum(6^j-1, j=1..n): seq(a(n), n=1..20); # Zerinvary Lajos, Jun 27 2007
|
|
MATHEMATICA
|
nxt[{n_, a_}]:={n+1, 6a+n+1}; NestList[nxt, {1, 1}, 30][[All, 2]] (* Harvey P. Dale, Feb 12 2023 *)
|
|
PROG
|
(PARI) Vec(x / ((1 - x)^2*(1 - 6*x)) + O(x^25)) \\ Colin Barker, Jun 03 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|