login
A064747
a(n) = n*9^n + 1.
3
1, 10, 163, 2188, 26245, 295246, 3188647, 33480784, 344373769, 3486784402, 34867844011, 345191655700, 3389154437773, 33044255768278, 320275094369455, 3088366981419736, 29648323021629457, 283512088894331674, 2701703435345984179, 25666182635786849692, 243153309181138576021
OFFSET
0,2
FORMULA
a(n) = 19*a(n-1) - 99*a(n-2) + 81*a(n-3); a(0)=1, a(1)=10, a(2)=163. - Harvey P. Dale, Jan 16 2016
From Elmo R. Oliveira, Sep 09 2024: (Start)
G.f.: -(72*x^2 - 9*x + 1)/((x - 1)*(9*x - 1)^2).
E.g.f.: exp(x)*(9*x*exp(8*x) + 1).
a(n) = A158749(n) + 1. (End)
MATHEMATICA
Table[n*9^n+1, {n, 0, 20}] (* or *) LinearRecurrence[{19, -99, 81}, {1, 10, 163}, 20]
PROG
(Magma) [ n*9^n+1: n in [0..20]]; // Vincenzo Librandi, Sep 16 2011
CROSSREFS
Cf. A158749.
Sequence in context: A374423 A190903 A303486 * A285995 A278096 A272499
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 19 2001
STATUS
approved