login
A059916
Nonnegative integers that when written out in full in English have no repeated letter.
5
0, 1, 2, 4, 5, 6, 8, 10, 40, 46, 60, 61, 64, 80, 84, 5000
OFFSET
1,3
COMMENTS
If negative numbers are allowed then there are two more terms, namely -40 and -2. - Paul Duckett, Jun 05 2022
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 70.
PROG
(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
CROSSREFS
Sequence in context: A216163 A371182 A093080 * A099747 A249053 A082851
KEYWORD
fini,full,nonn,word
AUTHOR
Rodolfo Kurchan, Mar 11 2001
EXTENSIONS
More terms from George Russell (ger(AT)tzi.de), Nov 10 2004
Edited by N. J. A. Sloane, May 29 2006
STATUS
approved