login
A155988
a(n) = (2*n + 1)*9^n.
10
1, 27, 405, 5103, 59049, 649539, 6908733, 71744535, 731794257, 7360989291, 73222472421, 721764371007, 7060738412025, 68630377364883, 663426981193869, 6382625094934119, 61149666232110753, 583701359488329915, 5553501505988967477, 52683216989246691471, 498464283821334080841
OFFSET
0,2
FORMULA
G.f.: (1 + 9*x)/(1 - 9*x)^2.
a(n) = 18*a(n-1) - 81*a(n-2) for n>=2.
Sum_{n>=0} 1/a(n) = (3/2)*log(2).
a(n) = A005408(n) * A001019(n).
a(n) = (2*n - 1)*3^(2*n-1)/3 = A060851(n)/3.
Sum_{n>=0} (-1)^n/a(n) = 3*arctan(1/3). - Amiram Eldar, Feb 26 2022
E.g.f.: exp(9*x)*(1 + 18*x). - Stefano Spezia, May 07 2023
PROG
(PARI) a(n)=(2*n+1)*9^n;
(Magma) [(2*n+1)*9^n: n in [0..20]]; // Vincenzo Librandi, Jun 08 2011
(Maxima) makelist((2*n+1)*9^n, n, 0, 20); /* Martin Ettl, Nov 11 2012 */
CROSSREFS
Cf. A058962 for the similar (2n+1)4^n.
Sequence in context: A296853 A036222 A022655 * A096950 A307911 A125484
KEYWORD
nonn,easy
AUTHOR
Jaume Oliver Lafont, Feb 01 2009
STATUS
approved