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!)
A174832 a(n) is (the number of ones) - (the number of zeros) in the first n bits of the binary expansion of Pi-3. 2
-1, -2, -1, -2, -3, -2, -3, -4, -5, -6, -5, -4, -3, -2, -1, 0, -1, 0, 1, 0, 1, 0, 1, 0, 1, 0, -1, -2, -1, -2, -3, -4, -3, -4, -5, -6, -7, -6, -7, -6, -5, -6, -5, -6, -7, -8, -7, -6, -7, -8, -9, -10, -9, -10, -11, -12, -11, -10, -11, -10, -11, -12, -11, -10, -11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
d=Drop[RealDigits[Pi, 2, 10002][[1]], 2]; s=0; Table[If[d[[i]] == 0, s--, s++]; s, {i, Length[d]}]
CROSSREFS
Cf. A004601, A178980 (where zeros occur in this sequence).
Sequence in context: A171729 A356999 A127255 * A076827 A165477 A318687
KEYWORD
sign,base
AUTHOR
T. D. Noe, Jan 12 2011
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:23 EDT 2024. Contains 371960 sequences. (Running on oeis4.)