A182101 Random walk determined by the binary digits of the Dottie number, A003957.
0, 1, 0, 1, 2, 3, 4, 3, 4, 3, 2, 3, 4, 3, 4, 3, 2, 3, 2, 3, 2, 3, 4, 5, 4, 5, 6, 7, 6, 7, 8, 7, 6, 5, 4, 3, 4, 5, 6, 7, 6, 5, 6, 7, 8, 7, 6, 5, 6, 5, 6, 7, 6, 7, 8, 7, 8, 9, 10, 9, 8, 9, 8, 9, 8, 9, 10, 9, 10, 9, 10
Offset: 0
Examples
a(5)=3, and the sixth bit of the Dottie number is 1, so a(6)=4. On the other hand, the seventh bit of the Dottie number is 0, so a(7)=3.
Links
- G. C. Greubel, Table of n, a(n) for n = 0..5000
Programs
-
Mathematica
Accumulate[RealDigits[FindRoot[Cos[x] == x, {x, 0}, WorkingPrecision -> 1000][[1, -1]], 2][[1]] 2 - 1]
Comments