login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062396
a(n) = 9^n + 1.
46
2, 10, 82, 730, 6562, 59050, 531442, 4782970, 43046722, 387420490, 3486784402, 31381059610, 282429536482, 2541865828330, 22876792454962, 205891132094650, 1853020188851842, 16677181699666570, 150094635296999122
OFFSET
0,1
FORMULA
a(n) = 9*a(n-1) - 8 = A001019(n) + 1 = 10*a(n-1) - 9*a(n-2).
From Mohammad K. Azarian, Jan 02 2009: (Start)
G.f.: 1/(1-x) + 1/(1-9*x).
E.g.f.: e^x + e^(9*x). (End)
MATHEMATICA
Table[9^n + 1, {n, 0, 20}]
LinearRecurrence[{10, -9}, {2, 10}, 20] (* Harvey P. Dale, May 30 2013 *)
PROG
(Magma) [9^n + 1: n in [0..35]]; // Vincenzo Librandi, Apr 30 2011
(PARI) a(n)=9^n+1 \\ Charles R Greathouse IV, Sep 24 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Henry Bottomley, Jun 22 2001
STATUS
approved