Binary iterations, Fibonacci numbers and permutation of natural numbers
Few votes (4) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Let \(\operatorname{wt}(n)\) be A000120, i.e. the number of \(1\)'s in binary expansion of \(n\) (or the binary weight of \(n\)).
Also let's consider$$\ell(n)=\left\lfloor\log_{2} n\right\rfloor$$and$$T(n,k)=\left\lfloor\frac{n}{2^k}\right\rfloor\operatorname{mod}2.$$Here \(T(n,k)\) is the \((k+1)\)-th bit from the right side in binary expansion of \(n\).
Now let's start with \(T(n,\ell(n)-\operatorname{wt}(n)+m+1)\) where \(m=0\) and apply \(m:=m+1\) until \(T(n,\ell(n)-\operatorname{wt}(n)+m+1)=1\).
Let \(a(n)\) be the number of iterations needed to reach \(1\) in operation above.
Let \(b(n)=a(2n+1)\): the sequence begins with$$1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 2, 2, 3, 2$$
Let \(c(n)=\operatorname{wt}(n)-b(n)\): the sequence begins with$$0, 0, 1, 0, 0, 1, 2, 0, 0, 0, 2, 1, 1, 2, 3, 0, 0, 0, 0, 0$$
Let \(d(n)\) be the sequence of numbers \(k\) such that \(c(k)>0\) and \(c(k-1)=c(k+1)=0\): the …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.