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!)
A004556 Expansion of sqrt(5) in base 3. 2

%I #12 Sep 08 2022 08:44:33

%S 2,0,2,0,1,0,1,0,0,2,1,1,2,0,1,2,1,1,0,0,2,1,1,2,0,0,2,1,1,0,0,2,1,1,

%T 1,0,0,2,1,2,1,2,0,1,0,1,2,1,2,2,2,0,2,2,0,0,2,1,0,2,2,0,0,1,0,1,1,2,

%U 0,0,1,1,2,0,0,1,0,1,1,2,0,0,0,2,2,1,1,2,1,0,1,1,1,1,2,2,1,2,1

%N Expansion of sqrt(5) in base 3.

%H G. C. Greubel, <a href="/A004556/b004556.txt">Table of n, a(n) for n = 1..10000</a>

%H Jason Kimberley, <a href="/wiki/User:Jason_Kimberley/sqrt_base">Index of expansions of sqrt(d) in base b</a>

%t RealDigits[Sqrt[5], 3, 100][[1]] (* _G. C. Greubel_, Mar 31 2018 *)

%o (Magma) d:= 5; m:=3; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // _G. C. Greubel_, Mar 31 2018

%K nonn,base,cons

%O 1,1

%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 March 29 02:16 EDT 2024. Contains 371264 sequences. (Running on oeis4.)