A059916 Nonnegative integers that when written out in full in English have no repeated letter.
0, 1, 2, 4, 5, 6, 8, 10, 40, 46, 60, 61, 64, 80, 84, 5000
Offset: 1
References
- GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 70.
Links
- Jeff Miller, A Collection of Word Oddities and Trivia
Programs
-
Python
from num2words import num2words as n2w def letters(n): return "".join(c for c in n2w(n).replace(" and", "") if c.isalpha()) def ok(n): w = letters(n) return len(w) == len(set(w)) print([k for k in range(5001) if ok(k)]) # Michael S. Branicky, May 04 2022
Extensions
More terms from George Russell (ger(AT)tzi.de), Nov 10 2004
Edited by N. J. A. Sloane, May 29 2006
Comments