A073054 Number of applications of DENEAT operator x -> A073053(x) needed to transform n to 123.
2, 5, 2, 5, 2, 5, 2, 5, 2, 5, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4
Offset: 0
References
- M. Ecker, Caution: Black Holes at Work, New Scientist (Dec. 1992)
- M. J. Halm, Blackholing, Mpossibilities 69, (1999), p. 2.
Programs
-
Mathematica
f[n_] := Block[{id = IntegerDigits[n]}, FromDigits[ Join[ IntegerDigits[ Length[ Select[id, EvenQ[ # ] &]]], IntegerDigits[ Length[ Select[id, OddQ[ # ] &]]], IntegerDigits[ Length[ id]] ]]]; Table[ Length[ NestWhileList[f, n, UnsameQ, All]] - 2, {n, 0, 104}] (* Robert G. Wilson v, Jun 09 2005 *)
Extensions
Edited and corrected by Jason Earls and Robert G. Wilson v, Jun 03 2005
Offset corrected by N. J. A. Sloane, May 12 2019
Comments