A305100 Least nonnegative integer which requires n letters to spell in Turkish excluding spaces and hyphens.
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
Examples
a(2) = 3: "üç", a(3) = 1: "bir", a(5) = 0: "sıfır"
Links
- Sezai Ata, MATLAB program, 2018.
- Wikibooks, Turkish numbers
- Index entries for sequences related to number of letters in n
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
Comments