|
|
|
|
0, 2, 36, 488, 5904, 67232, 737856, 7902848, 83222784, 865782272, 8926258176, 91410065408, 931280523264, 9450244186112, 95601953488896, 964815627911168, 9718525023289344, 97748200186314752, 981985601490518016, 9855884811924144128
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 2*x/((1-8*x)*(1-10*x)).
a(n) = 18*a(n-1) - 80*a(n-2).
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|