login
A171813
Trajectory of 1 under repeated applications of the map i -> A171798(i).
8
1, 101, 734, 1037, 1174, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165, 1165
OFFSET
1,2
COMMENTS
Start with n, repeatedly apply the map i -> A171798(i). Then every n converges to one of 1019, 1147, 1165 or 14311. Proof: this is true by direct calculation for n=1..2^14. For larger n, A171798(n) < n.
MATHEMATICA
ans[n_]:=Module[{idn2=IntegerDigits[n, 2]}, FromDigits[{Length[ idn2], Count[ idn2, 0], Count[ idn2, 1]}]]; NestList[ans, 1, 40] (* Harvey P. Dale, Mar 30 2016 *)
CROSSREFS
Cf. A171798.
Sequence in context: A153806 A227521 A364147 * A089291 A167842 A244369
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Oct 15 2010, Oct 16 2010
STATUS
approved