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-2012 Alexander Bogomolny

 40619617

A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help
Games & Puzzles
What Is What
Arithmetic
Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Old and nice bookstore
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Sites for parents

Education & Parenting

Search:
Keywords:

Google
Web CTK
Supported by
3wVentures