Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
Learning Math Online
Sites for teachers
Sites for parents
Terms of use
Awards
Interactive Activities

CTK Exchange
CTK Wiki Math
CTK Insights - a blog
Math Help

III Millennium Olympiad

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
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Sites for teachers
Sites for parents

Education & Parenting

Manifesto  |  Bookstore  |  Contents  |  Amazon store  |  Term index  |  What changed?  |  Contact  |  Recommend
RSS Feed: Recent changes at CTK

Self-descriptive Strings

This is a slight modification of the Self-documenting sentences applet. This one is described in M. Gardner's latest book. It appears that the two developments have proceeded in parallel. Gardner presents a short version. (See also [Roberts, p. 84]).

N digits in base N are written in a row and indexed by the numbers 0, 1, ..., N-1. The digit #i is interpreted as stating the total number of digits in the row equal to i. The implied assertion may or may not be correct. Find a self-descriptive sequence of digits that assert its own numbers.


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?

According to Gardner, there have been several publications tackling this problem. I'll have to look them up in a library. Meanwhile, I'll state the declared results.

  1. There is only one solution in base 10: 6,210,001,000

  2. In bases 4 through 9 the only answers are 1210, 2020, 21200, 3211000, 42101000, 521001000.

  3. For all bases above 6 there is one solution, of the form R21(0...0)1000, where R is four less than the base, and the number of zeros inside the parentheses is seven less than the base.

References

  1. M. Gardner, The Colossal Book of Short Puzzles and Problems, W. W. Norton & Company, 2006, p. 8
  2. J. Roberts, Lure of the Integers, MAA, 1992

Copyright © 1996-2009 Alexander Bogomolny

34221925Page copy protected against web site content infringement by Copyscape


Search:
Keywords:

Google
Web CTK