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.
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!)
A155482 Signed-digit binary expansion of Pi/4 1

%I #2 Mar 30 2012 17:23:26

%S 1,0,-1,0,1,-1,0,1,-1,0,0,0,1,0,0,0,0,0,-1,1,0,-1,1,-1,1,-1,1,-1,0,0,

%T 1,-1,0,0,1,-1,0,0,0,1,-1,1,0,-1,1,-1,0,0,1,0,-1,0,0,0,1,-1,0,0,1,0,

%U -1,1,-1,0,1,0,-1,0,0,1,-1,0,1,0,-1,0,0,1,0,-1,0,1,0,-1,0,0,1,-1,1,-1,0,0,1

%N Signed-digit binary expansion of Pi/4

%o (PARI) r=Pi/4; for(k=0,99,if(abs(r)<1/2,d=0,d=sign(r));r=2*(r-d);print1(d,", "))

%Y Cf. A004601, A155996.

%K base,sign

%O 0,1

%A _Jaume Oliver Lafont_, Jan 23 2009

%E Corrected and cross-reference added by _Jaume Oliver Lafont_, Feb 05 2009

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 June 3 23:31 EDT 2024. Contains 373088 sequences. (Running on oeis4.)