From charlesreid1

Revision as of 02:57, 5 July 2017 by Admin (talk | contribs) (Created page with "Problem 17 deals with the number of letters it takes to spell out a number. First, let it be said that this is a problem that shows how tremendously awful language rules can...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem 17 deals with the number of letters it takes to spell out a number.

First, let it be said that this is a problem that shows how tremendously awful language rules can be, when contrasted with the happy certainty of mathematics.

This basically requires about 20 special cases, and from there things are relatively smooth. This program only goes up to 1,000, but it would be entirely plausible to extend this program to go even further.