A364863 Number of iterations of x -> x + min { k in A036301 | k > x } until an element of A036301 is reached, or -1 if this never happens, starting with n.
0, 21
Offset: 0
Examples
a(0) = 0 because n = 0 is an element of A036301 and therefore no iteration is required to reach such an element. The smallest nonzero element of A036301 is 112. Therefore, all smaller positive numbers 0 < n < 112 go to n + 112 under the first iteration of f: x -> x + min { k in A036301 | k > x }. Under iterations of f, 1 -> 113 -> 234 -> 548 -> 1109 -> 2229 -> 4460 -> 8931 -> 17865 -> 35872 -> 71875 -> 143891 -> 287898 -> 575804 -> 1151810 -> 2303826 -> 4607657 -> 9215347 -> 18430735 -> 36861480 -> 73723189 -> 147446477 which is the first element of A036301 to be reached, after a(1) = 21 iterations.
Links
- Eric Angelini, Balanced/Unbalanced numbers (and iterations), personal blog "Cinquante signes" on blogspot,com, June 23, 2023
- Eric Angelini, Balanced/Unbalanced numbers (and iterations), personal blog "Cinquante signes" on blogspot,com, June 23, 2023 [Cached copy]
- M. F. Hasler and N. J. A. Sloane, in reply to E. Angelini, Re: Balanced / Unbalanced numbers, Dec. 10, 2018
Comments