login
A354681
Integers whose names in French contain no letter more than once.
1
-4, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 19, 20, 22, 60, 100, 106, 110
OFFSET
1,1
EXAMPLE
-4 is named as "moins quatre" (all letters different).
13 is not in the data as "treize" repeats "e".
PROG
(Python)
from num2words import num2words as n2w
def letters(n):
return "".join(c for c in n2w(n, lang='fr') if c.isalpha())
def ok(n):
w = letters(n)
return len(w) == len(set(w))
print([k for k in range(-99, 1000) if ok(k)]) # Michael S. Branicky, Jun 08 2022
CROSSREFS
Cf. A059916 (English), A117383 (Spanish).
Sequence in context: A093486 A259618 A377036 * A115143 A093556 A021242
KEYWORD
easy,fini,full,sign,word,less
AUTHOR
Paul Duckett, Jun 02 2022
STATUS
approved