OFFSET
2,1
LINKS
R. H. Hardin, Table of n, a(n) for n=2..100
Index entries for linear recurrences with constant coefficients, signature (16,-64).
FORMULA
a(n) = (copies*n)*(copies+1)^(n-2).
From G. C. Greubel, Jun 01 2018: (Start)
a(n) = 7*n*8^(n-2).
a(n) = 16*a(n-1) - 64*a(n-2).
G.f.: x^2*(14-56*x)/(1-16*x+64*x^2).
E.g.f.: 7*x*exp(8*x)/8. (End)
From Amiram Eldar, May 16 2022: (Start)
Sum_{n>=2} 1/a(n) = (64/7)*log(8/7) - 8/7.
Sum_{n>=2} (-1)^n/a(n) = 8/7 - (64/7)*log(9/8). (End)
MATHEMATICA
LinearRecurrence[{16, -64}, {14, 168}, 30] (* or *) Table[7*n*8^(n-2), {n, 2, 30}] (* G. C. Greubel, Jun 01 2018 *)
PROG
(PARI) for(n=2, 30, print1(7*n*8^(n-2), ", ")) \\ G. C. Greubel, Jun 01 2018
(Magma) I:=[14, 168]; [n le 2 select I[n] else 16*Self(n-1) - 64*Self(n-2): n in [1..30]]; // G. C. Greubel, Jun 01 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Apr 20 2009
STATUS
approved