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

A248343
10^n - 8^n.
0
0, 2, 36, 488, 5904, 67232, 737856, 7902848, 83222784, 865782272, 8926258176, 91410065408, 931280523264, 9450244186112, 95601953488896, 964815627911168, 9718525023289344, 97748200186314752, 981985601490518016, 9855884811924144128
OFFSET
0,2
FORMULA
G.f.: 2*x/((1-8*x)*(1-10*x)).
a(n) = 18*a(n-1) - 80*a(n-2).
a(n) = 2^n*(5^n-4^n) = A000079(n) * A005060(n) = A011557(n) - A001018(n).
a(n+1) = 2*A016186(n).
MATHEMATICA
Table[10^n - 8^n, {n, 0, 25}] (* or *) CoefficientList[Series[2 x/((1 - 8 x) (1 - 10 x)), {x, 0, 30}], x]
LinearRecurrence[{18, -80}, {0, 2}, 30] (* Harvey P. Dale, May 21 2018 *)
PROG
(Magma) [10^n-8^n: n in [0..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 05 2014
STATUS
approved