login
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