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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125962 Numbers whose base-9 representation is 555555555......5. 0
0, 5, 50, 455, 4100, 36905, 332150, 2989355, 26904200, 242137805, 2179240250, 19613162255, 176518460300, 1588666142705, 14297995284350, 128681957559155, 1158137618032400, 10423238562291605, 93809147060624450, 844282323545620055, 7598540911910580500 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

FORMULA

a(n) = (9^n - 1)*5/8.

a(n) = 9*a(n-1) + 5 with n > 0, a(0)=0. - Vincenzo Librandi, Sep 30 2010

From Chai Wah Wu, Mar 12 2018: (Start)

a(n) = 10*a(n-1) - 9*a(n-2) for n > 1.

G.f.: 5*x/((1 - x)*(1 - 9*x)). (End)

MATHEMATICA

FromDigits[#, 9]&/@ Table[PadRight[{5}, n, 5], {n, 0, 20}]  (* Harvey P. Dale, Jan 27 2011 *)

PROG

(PARI) a(n) = (9^n-1)*5/8; \\ Altug Alkan, Mar 12 2018

CROSSREFS

Sequence in context: A133646 A043032 A247771 * A266028 A228751 A299868

Adjacent sequences:  A125959 A125960 A125961 * A125963 A125964 A125965

KEYWORD

nonn,easy

AUTHOR

Zerinvary Lajos, Feb 03 2007

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 July 17 08:42 EDT 2019. Contains 325098 sequences. (Running on oeis4.)