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.

A305100 Least nonnegative integer which requires n letters to spell in Turkish excluding spaces and hyphens.

Original entry on oeis.org

3, 1, 4, 0, 14, 18, 21, 24, 28, 68, 124, 128, 168, 224, 228, 268, 468, 868, 1268, 1468, 1868, 2268, 2468, 2868, 4868, 8868, 14868, 18868, 21868, 24868, 28868, 68868, 124868, 128868, 168868, 224868, 228868, 268868, 468868, 868868, 1068868, 1124868, 1128868, 1168868
Offset: 2

Views

Author

Sezai Ata, May 25 2018

Keywords

Examples

			a(2) = 3: "üç", a(3) = 1: "bir", a(5) = 0: "sıfır"
		

Crossrefs

Turkish version of A134629.
Cf. A057435.

Programs

  • Python
    from num2words import num2words
    from itertools import count, islice
    def f(n): return sum(1 for c in num2words(n, lang='tr') if c.isalpha())
    def agen(): # generator of terms
        n, adict = 2, dict()
        for k in count(0):
            v = f(k)
            if v not in adict:
                adict[v] = k
                while n in adict:
                    yield adict[n]
                    n += 1
    print(list(islice(agen(), 44))) # Michael S. Branicky, Sep 01 2025

Extensions

a(16)-a(41) from Daniel Suteu, May 26 2018
a(42)-a(45) from Michael S. Branicky, Sep 01 2025