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.

A380770 Number of letters in the Slovene name of n (feminine, nominative), excluding spaces.

Original entry on oeis.org

3, 3, 3, 3, 5, 3, 4, 5, 4, 5, 5, 6, 8, 8, 10, 8, 9, 10, 9, 10, 7, 12, 12, 12, 14, 12, 13, 14, 13, 14, 8, 13, 13, 13, 15, 13, 14, 15, 14, 15, 10, 15, 15, 15, 17, 15, 16, 17, 16, 17, 8, 13, 13, 13, 15, 13, 14, 15, 14, 15, 9, 14, 14, 14, 16, 14, 15, 16, 15, 16, 10, 15, 15, 15, 17, 15, 16, 17, 16, 17, 9, 14, 14, 14, 16, 14, 15, 16, 15
Offset: 0

Views

Author

Andrej Jakobcic, Feb 02 2025

Keywords

Comments

Repeatedly applying the map k -> a(k) to any starting value n always leads to 3 = "tri".
There is difference in gender (nominative) for number 1 and number 2.
1 - en (m.), ena (f.), eno (n.)
2 - dva (m.), dve (f.), dve (n.)
and similar 101, 201, etc, ...
All other numbers have the same form for all genders.

Examples

			a(0)=3 [nič], a(1)=3 [ena], a(2)=3 [dve], a(3)=3 [tri], a(4)=5 [štiri]
		

Crossrefs

Cf. A005589.

Programs

  • Python
    from num2words import num2words
    def a(n):
        return len(num2words(n, lang='sl').replace(' ', ''))
    print([a(n) for n in range(1000)])