Even, Odd and Total Number of Digits

Start with a number and count the number E of even and the number O of odd digits. Write them down next to each other following by their sum E + O. Treat the result as a new number and continue the process. In this example, iterations converge very rapidly. Moreover, in just a few steps they reach the number 123 which has exactly 3 digits of which 1 is even and two are odd. Therefore, applying the computations to 123 produces the number 123 itself, such that further iterations become really mindless. Of course we can always start with another number.

(In the applet below, most of the numbers are clickable so that you can change their values. The starting number may be looked at as a string of individual digits or as a long number depending on whether the Autonomous digits button is checked or unchecked.)


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet
What if applet does not run?

Why is it always 123?

|Contact| |Front page| |Contents| |Store| |Algebra|

Copyright © 1996-2015 Alexander Bogomolny

 49551873

Google
Web CTK