OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
David H. Bailey, A Compendium of BBP-Type Formulas for Mathematical Constants, 2017, page 14.
Xavier Gourdon and Pascal Sebah, Collection of formulas for log 2.
Index entries for linear recurrences with constant coefficients, signature (18,-81).
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) = (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
KEYWORD
nonn,easy
AUTHOR
Jaume Oliver Lafont, Feb 01 2009
STATUS
approved