OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (18,-81).
FORMULA
a(n) = n*9^n.
From R. J. Mathar, Mar 26 2009: (Start)
a(n) = 18*a(n-1) - 81*a(n-2) = A038299(n,1).
G.f.: 9*x/(1-9*x)^2. (End)
a(n) = A001019(n)*n. - Omar E. Pol, Mar 26 2009
From Amiram Eldar, Jul 20 2020: (Start)
Sum_{n>=1} 1/a(n) = log(9/8).
Sum_{n>=1} (-1)^(n+1)/a(n) = log(10/9). (End)
E.g.f.: 9*x*exp(9*x). - Elmo R. Oliveira, Sep 09 2024
MATHEMATICA
Table[n 9^n, {n, 0, 20}] (* Vincenzo Librandi, Feb 25 2014 *)
PROG
(PARI) a(n) = n*9^n; \\ Joerg Arndt, Feb 23 2014
(Magma) [n*9^n: n in [0..20]]; // Vincenzo Librandi, Feb 25 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Mar 25 2009
STATUS
approved