A273128 Continued logarithm expansion of Pi.
1, 0, 0, 1, 0, 0, 3, 0, 3, 0, 2, 0, 0, 2, 5, 0, 1, 2, 0, 1, 2, 4, 3, 0, 0, 1, 2, 0, 0, 1, 7, 3, 2, 3, 0, 1, 0, 0, 0, 0, 3, 2, 3, 1, 3, 2, 0, 0, 0, 0, 2, 2, 0, 0, 0, 1, 0, 1, 2, 1, 0, 3, 4, 0, 0, 0, 3, 0, 0, 0, 1, 1, 1, 2, 2, 0, 3, 0, 0, 1, 0, 2, 1, 3, 0, 0, 2, 0
Offset: 1
Keywords
Links
- Jinyuan Wang, Table of n, a(n) for n = 1..10000
- Jon Borwein, Neil Calkin, Scott Lindstrom, and Andrew Mattingly, Continued logarithms and associated continued fractions, preprint, 2016.
Programs
-
PARI
default(realprecision, 10^5); p=Pi; lista(nn) = {my(c); for(n=1, nn, print1(c=logint(p\1, 2), ", "); p=1/(p/2^c-1)); } \\ Jinyuan Wang, Feb 27 2020