Distance from the origin using the binary expansion of Pi to walk the number line: Start at the origin; subtract one for each '0' digit, and add one for each '1' digit.
A166006
Distance from the origin using the binary expansion of Pi to walk the number line: Start at the origin; subtract one for each '0' digit, and add one for each '1' digit.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =0a(4) =1a(5) =0a(6) =-1a(7) =0a(8) =-1a(9) =-2a(10) =-3a(11) =-4a(12) =-3a(13) =-2a(14) =-1a(15) =0a(16) =1a(17) =2a(18) =1a(19) =2a(20) =3a(21) =2a(22) =3a(23) =2a(24) =3a(25) =2a(26) =3a(27) =2a(28) =1a(29) =0
External references
- oeis: A166006