A numeronym is a word where numbers are used to form an abbreviation.

One specific way to do this is by replacing the letters between the first and the last letter with a number representing the number of letters omitted, such as in the numeronym i18n for internationalization. These word shortenings are called alphanumeric acronyms, alphanumeric abbreviations or numerical contractions.

i18n

In general, each number in the numeronym represents the number of letters omitted at that position. As such, se7en is a numeronym for semicitizen and R2D2 is a numeronym for random.

Assignment

Example

>>> numeronym('internationalization')
'i18n'
>>> numeronym('TAKEDOWN')
'T6N'
>>> numeronym('Random')
'R4m'
>>> numeronym('DNA')
'DNA'

>>> template('i18n')
'i..................n'
>>> template('TAK3N')
'TAK...N'
>>> template('R2D2')
'R..D..'
>>> template('se7en')
'se.......en'

>>> isnumeronym('i18n', 'internationalization')
True
>>> isnumeronym('TAK3N', 'TAKEDOWN')
False
>>> isnumeronym('R2D2', 'Random')
True
>>> isnumeronym('se7en', 'semicitizen')
True

Epilogue

According to Tex Texin, the first alphanumeric acronym was S12n — the electronic mail account name given to Digital Equipment Corporation (DEC) employee Jan Scherphuizen by a system administrator because his surname was too long to be an account name. By 1985, colleagues who found Jan's name unpronounceable often referred to him verbally as S12n (ess-twelve-en). The use of such numeronyms became part of DEC corporate culture.

obfuscation

Epilogue

When asked if he had a favorite math or logical puzzle, professor Donald Knuth — creator of the typesetting system $$\TeX$$ for text and mathematical formulas — walked over to a white board, picked up a marker, and wrote the following:

Knuth puzzle

"What's next?" he asked.

Epilogue

Hawking