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!)
A302342 Cumulative sums of the bits in the binary representation of Pi. 1
1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18, 18, 19, 20, 20, 21, 21, 21, 21, 22, 23, 23, 23, 23, 23, 24, 24, 24, 24, 25, 26, 26, 27, 27, 27, 28, 29, 29, 29, 29 (list; graph; refs; listen; history; text; internal format)
OFFSET
-1,2
COMMENTS
The leading binary bits of Pi are 11.0010010000111111011010101000100010000101101000110000100011010011000...
LINKS
FORMULA
a(n) = sum of the bits with value 2^(-n) or larger.
a(n) = (A166006(n+2) + n + 2)/2. - Pontus von Brömssen, Nov 26 2020
CROSSREFS
Partial sums of A004601.
A256108 is the sequence of -1 followed by those values of n for which a(n) is strictly greater than a(n-1).
Cf. A166006.
Sequence in context: A172471 A046155 A026819 * A137214 A284726 A319951
KEYWORD
nonn
AUTHOR
Lee A. Newberg, Apr 05 2018
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 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)