OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (24,-192,512).
FORMULA
G.f.: 16*x/(1-8*x)^3. - Vincenzo Librandi, Feb 28 2013
a(n) = 24*a(n-1) - 192*a(n-2) + 512*a(n-3). - Vincenzo Librandi, Feb 28 2013
a(n) = 16*A081138(n+1). - Bruno Berselli, Feb 28 2013
E.g.f.: 16*x*(1 + 4*x)*exp(8*x). - G. C. Greubel, May 11 2019
From Amiram Eldar, Jul 20 2020: (Start)
Sum_{n>=1} 1/a(n) = 1 - 7*log(8/7).
Sum_{n>=1} (-1)^(n+1)/a(n) = 9*log(9/8) - 1. (End)
MATHEMATICA
Table[(n^2 + n) 8^n, {n, 0, 30}] (* Harvey P. Dale, Mar 09 2011 *)
CoefficientList[Series[16 x/(1 - 8 x)^3, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 28 2013 *)
PROG
(Magma) [(n^2+n)*8^n: n in [0..30]]; // Vincenzo Librandi, Feb 28 2013
(PARI) a(n)=(n^2+n)*8^n \\ Charles R Greathouse IV, Feb 28 2013
(Sage) [8^n*n*(n+1) for n in (0..30)] # G. C. Greubel, May 11 2019
(GAP) List([0..30], n-> 8^n*n*(n+1)) # G. C. Greubel, May 11 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Apr 08 2007
STATUS
approved