cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A354681 Integers whose names in French contain no letter more than once.

Original entry on oeis.org

-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

Views

Author

Paul Duckett, Jun 02 2022

Keywords

Examples

			-4 is named as "moins quatre" (all letters different).
13 is not in the data as "treize" repeats "e".
		

Crossrefs

Cf. A059916 (English), A117383 (Spanish).

Programs

  • 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