login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A002282 a(n) = 8*(10^n - 1)/9. 40

%I #53 Feb 08 2024 07:10:38

%S 0,8,88,888,8888,88888,888888,8888888,88888888,888888888,8888888888,

%T 88888888888,888888888888,8888888888888,88888888888888,

%U 888888888888888,8888888888888888,88888888888888888,888888888888888888,8888888888888888888

%N a(n) = 8*(10^n - 1)/9.

%C If the initial term is omitted, might be called eightful (or hateful) numbers!

%H Harry J. Smith, <a href="/A002282/b002282.txt">Table of n, a(n) for n = 0..200</a>

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (11,-10).

%F From _Jaume Oliver Lafont_, Feb 03 2009: (Start)

%F a(n) = 11a(n-1) - 10a(n-2), with a(0)=0, a(1)=8.

%F G.f.: 8x/((1-x)(1-10x)). (End)

%F a(n) = A178635(n) / A002283(n). - _Reinhard Zumkeller_, May 31 2010

%F a(n) = a(n-1) + 8*10^(n-1), with a(0)=0. - _Vincenzo Librandi_, Jul 22 2010

%F a(n) = 8*A002275(n) = A002283(n) - A002275(n). - _Carauleanu Marc_, Sep 03 2016

%F From _Ilya Gutkovskiy_, Sep 03 2016: (Start)

%F E.g.f.: 8*(exp(9*x) - 1)*exp(x)/9.

%F a(n) = floor(8*10^n/9). (End)

%e Curious multiplications:

%e 9*9 + 7 = 88;

%e 98*9 + 6 = 888;

%e 987*9 + 5 = 8888;

%e 9876*9 + 4 = 88888;

%e 98765*9 + 3 = 888888;

%e 987654*9 + 2 = 8888888;

%e 9876543*9 + 1 = 88888888;

%e 98765432*9 + 0 = 888888888;

%e 987654321*9 - 1 = 8888888888;

%e 9876543210*9 - 2 = 88888888888. - _Philippe Deléham_, Mar 09 2014

%p A002282:=n->8*(10^n - 1)/9; seq(A002282(n), n=0..20); # _Wesley Ivan Hurt_, Mar 10 2014

%t LinearRecurrence[{11,-10}, {0,8}, 20] (* _Harvey P. Dale_, May 30 2013 *)

%o (PARI) { a=-4/5; for (n = 0, 200, a+=8*10^(n - 1); write("b002282.txt", n, " ", a); ) } \\ _Harry J. Smith_, Jun 27 2009

%o (Python) def a(n): return int(8*(10**n - 1)/9) # _Martin Gergov_, Oct 19 2022

%Y Cf. A051003, A059482.

%Y Cf. A002275, A002276, A002277, A002278, A002279, A002280, A002281, A059988, A075412.

%K easy,nonn

%O 0,2

%A _N. J. A. Sloane_

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:03 EDT 2024. Contains 371967 sequences. (Running on oeis4.)