login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..19.

Index entries for linear recurrences with constant coefficients, signature (18,-80).

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

Cf. A016185, A016186, A139746.

Sequence in context: A193127 A092852 A139738 * A025608 A230132 A141132

Adjacent sequences:  A248340 A248341 A248342 * A248344 A248345 A248346

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Oct 05 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 21 16:04 EDT 2019. Contains 328301 sequences. (Running on oeis4.)