This site is supported by donations to The OEIS Foundation.

 Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A004558 Expansion of sqrt(5) in base 5. 1
 2, 1, 0, 4, 2, 2, 3, 2, 4, 0, 1, 1, 3, 2, 4, 1, 0, 4, 0, 0, 1, 3, 4, 4, 1, 2, 3, 3, 0, 4, 1, 3, 0, 4, 2, 4, 2, 2, 2, 1, 2, 1, 3, 2, 1, 1, 3, 0, 1, 3, 1, 0, 3, 2, 1, 0, 0, 1, 0, 2, 2, 1, 4, 2, 3, 4, 4, 4, 3, 4, 3, 4, 2, 4, 2, 3, 4, 4, 1, 4, 4, 4, 2, 1, 1, 3, 0, 3, 2, 1, 4, 0, 1, 3, 0, 3, 2, 2, 1 (list; constant; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..2000 Jason Kimberley, Index of expansions of sqrt(d) in base b FORMULA a(n) = -5*floor(5^(-(3/2) + n)) + floor(5^(-(1/2) + n)) for n > 0. - Mariusz Iwaniuk, Apr 26 2017 MATHEMATICA RealDigits[Sqrt[5], 5, 100][[1]] (* Vincenzo Librandi, Apr 29 2017 *) PROG (MAGMA) Prune(Reverse(IntegerToSequence(Isqrt(5*5^200), 5))); // Vincenzo Librandi, Apr 29 2017 CROSSREFS Cf. A002163. Sequence in context: A276689 A091453 A062173 * A129699 A002349 A096794 Adjacent sequences:  A004555 A004556 A004557 * A004559 A004560 A004561 KEYWORD nonn,base,cons AUTHOR EXTENSIONS Updated by Alois P. Heinz at the suggestion of Kevin Ryde, Feb 19 2012 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.