The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A125833 Numbers whose base-5 representation is 333333.......3. 5
 0, 3, 18, 93, 468, 2343, 11718, 58593, 292968, 1464843, 7324218, 36621093, 183105468, 915527343, 4577636718, 22888183593, 114440917968, 572204589843, 2861022949218, 14305114746093, 71525573730468, 357627868652343 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS G. C. Greubel, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (6,-5). FORMULA a(n) = 3*(5^n - 1)/4. a(n) = 5*a(n-1) + 3 for n > 0, a(0)=0. - Vincenzo Librandi, Sep 30 2010 From G. C. Greubel, Aug 03 2019: (Start) a(n) = 3*A003463(n). G.f.: 3*x/((1-x)*(1-5*x)). E.g.f.: 3*(exp(5*x) - exp(x))/4. (End) EXAMPLE Base 5.................decimal 0.........................0 3.........................3 33.......................18 333......................93 3333....................468 33333..................2343 333333................11718 3333333...............58593 33333333.............292968, etc. MAPLE seq(3*(5^n-1)/4, n=0..30); MATHEMATICA Table[FromDigits[PadRight[{}, n, 3], 5], {n, 0, 30}] (* or *) LinearRecurrence[ {6, -5}, {0, 3}, 30] (* Harvey P. Dale, Sep 23 2016 *) 3*(5^Range[0, 30] -1)/4 (* G. C. Greubel, Aug 03 2019 *) PROG (PARI) vector(30, n, n--; 3*(5^n -1)/4) \\ G. C. Greubel, Aug 03 2019 (Magma) [3*(5^n -1)/4: n in [0..30]]; // G. C. Greubel, Aug 03 2019 (Sage) [3*(5^n -1)/4 for n in (0..30)] # G. C. Greubel, Aug 03 2019 (GAP) List([0..30], n-> 3*(5^n -1)/4); G. C. Greubel, Aug 03 2019 CROSSREFS Cf. A003463. Sequence in context: A064671 A363647 A058409 * A129547 A081151 A132848 Adjacent sequences: A125830 A125831 A125832 * A125834 A125835 A125836 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 15 19:43 EDT 2024. Contains 373410 sequences. (Running on oeis4.)