This little puzzle appeared in Puzzle A Day.
What is the only number that, when written in typed letters as all capitals, is made up of exactly the same number of straight-line segments as the value of the number itself? For example, FIVE uses 10 straight lines, so it cannot be the answer. (Ignore any hyphens in the spelled-out number.)
I asked Gemini to create a table for the number of straight line segments in each letter of the English alphabet and then solve the puzzle.
Based on a standard analysis of the straight line segments in the uppercase English alphabet (using a typical sans-serif block font), here is the breakdown.
Table of Straight Line Segments per Letter
| Letter | Segments | Shape Breakdown |
| A | 3 | Two diagonal, one horizontal |
| B | 1 | One vertical (curves do not count) |
| C | 0 | All curved |
| D | 1 | One vertical |
| E | 4 | One vertical, three horizontal |
| F | 3 | One vertical, two horizontal |
| G | 1 | One short horizontal shelf |
| H | 3 | Two vertical, one horizontal |
| I | 1 | One vertical |
| J | 0 | Typically a hook (though some fonts use 1 vertical) |
| K | 3 | One vertical, two diagonal |
| L | 2 | One vertical, one horizontal |
| M | 4 | Two vertical, two diagonal |
| N | 3 | Two vertical, one diagonal |
| O | 0 | All curved |
| P | 1 | One vertical |
| Q | 1 | One short diagonal tail |
| R | 2 | One vertical, one diagonal leg |
| S | 0 | All curved |
| T | 2 | One vertical, one horizontal |
| U | 0 | Typically a curve (block versions may have 2 vertical) |
| V | 2 | Two diagonal |
| W | 4 | Four diagonal |
| X | 2 | Two diagonal |
| Y | 3 | Two diagonal, one vertical (or three meeting at center) |
| Z | 3 | Two horizontal, one diagonal |
![]() |
Nano Bananas attempt to encapsulate the information |
The Numbers That Match
Using the values from the table above, we can deduce which integers (when written as English words) have a value equal to their total number of straight line segments.
There are exactly two integers that satisfy this condition:
1. SIXTEEN
S (0) + I (1) + X (2) + T (2) + E (4) + E (4) + N (3)
Calculation: $0 + 1 + 2 + 2 + 4 + 4 + 3 = \mathbf{16}$
Result: The word "SIXTEEN" is made of 16 straight lines, which equals its value.
2. TWENTY NINE
TWENTY: T (2) + W (4) + E (4) + N (3) + T (2) + Y (3) = 18
NINE: N (3) + I (1) + N (3) + E (4) = 11
Calculation: $18 + 11 = \mathbf{29}$
Result: The words "TWENTY NINE" are made of 29 straight lines, which equals its value.
