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”).

A083227
a(n) = (9*10^n + (-10)^n)/10.
2
1, 8, 100, 800, 10000, 80000, 1000000, 8000000, 100000000, 800000000, 10000000000, 80000000000, 1000000000000, 8000000000000, 100000000000000, 800000000000000, 10000000000000000, 80000000000000000
OFFSET
0,2
FORMULA
a(n) = (9*10^n + (-10)^n)/10.
G.f.: (1+8*x)/((1+10*x)*(1-10*x)).
E.g.f.: (9*exp(10*x) + exp(-10*x))/10.
MATHEMATICA
LinearRecurrence[{0, 100}, {1, 8}, 20] (* Harvey P. Dale, Jun 02 2019 *)
PROG
(Magma) [(9*10^n+(-10)^n)/10: n in [0..25]]; // Vincenzo Librandi, Jun 29 2011
(PARI) a(n)= (9*10^n+(-10)^n)/10 \\ Charles R Greathouse IV, Jun 29 2011
CROSSREFS
Cf. A083226.
Sequence in context: A316870 A181034 A324067 * A261742 A222486 A229282
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 23 2003
STATUS
approved