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.

Showing 1-3 of 3 results.

A007485 Number of letters in n (in Dutch) counting 'ij' as one letter.

Original entry on oeis.org

3, 4, 4, 4, 3, 3, 5, 4, 5, 4, 3, 6, 7, 8, 7, 7, 9, 8, 9, 7, 12, 13, 13, 13, 12, 12, 14, 13, 14, 6, 11, 12, 12, 12, 11, 11, 13, 12, 13, 7, 12, 13, 13, 13, 12, 12, 14, 13, 14, 6, 11, 12, 12, 12, 11, 11, 13, 12, 13, 6, 11, 12, 12, 12, 11, 11, 13, 12, 13, 8, 13
Offset: 1

Views

Author

Keywords

Comments

The 'ij' in 'vijf' has been counted as one letter here. Counting it as one or two letters are both common in Dutch. - André Engels, Dec 07 2003

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A090589 gives the sequence when 'ij' is counted as two letters.

A331482 Position of the first letter of n (in Dutch) in the alphabet.

Original entry on oeis.org

14, 5, 20, 4, 22, 22, 26, 26, 1, 14, 20, 5, 20, 4, 22, 22, 26, 26, 1, 14, 20, 5, 20, 4, 22, 22, 26, 26, 1, 14, 4, 5, 20, 4, 22, 22, 26, 26, 1, 14, 22, 5, 20, 4, 22, 22, 26, 26, 1, 14, 22, 5, 20, 4, 22, 22, 26, 26, 1, 14, 26, 5, 20, 4, 22, 22, 26, 26, 1, 14, 26
Offset: 0

Views

Author

J. Marcel Feenstra, Jan 18 2020

Keywords

Examples

			'Een' (Dutch for 'one') begins with 'E', the fifth letter of the alphabet, hence a(1)=5.
		

Crossrefs

Cf. A005606 (English), A161377 (Spanish), A277685 (Portuguese).
Cf. other Dutch sequences: A090589, A247802.

Programs

  • Mathematica
    a[n_] := LetterNumber @ Characters[IntegerName[n, {"Dutch","Ordinal"}]][[1]]; Array[a, 100, 0] (* Amiram Eldar, Jan 18 2020 *)
  • Python
    from num2words import num2words
    import unidecode
    def A331482(n):
        return ord(unidecode.unidecode(num2words(n, lang='nl')).lower()[0]) - 96 # Chai Wah Wu, Feb 27 2020

A164838 Number of letters in n-th prime (in Dutch).

Original entry on oeis.org

4, 4, 4, 5, 3, 7, 9, 9, 13, 14, 11, 13, 12, 13, 14, 13, 14, 11, 13, 13, 14, 15, 13, 14, 15, 10, 11, 12, 12, 14, 21, 18, 20, 20, 21, 19, 21, 19, 20, 21, 22, 19, 20, 21, 22, 22, 14, 24, 25, 25, 23, 24, 23, 23, 23, 24, 24, 26, 23, 26, 23
Offset: 1

Views

Author

Ivan Panchenko, Aug 28 2009

Keywords

Comments

The 'ij' in 'vijf' (five) has been counted as two letters here, as in A090589.

Examples

			a(1) = 4 because the first prime is 2, and it has in the Dutch language (twee) 4 letters.
		

Crossrefs

Cf. A090589.

Formula

a(n) = A090589(prime(n)). - Michel Marcus, Sep 05 2013

Extensions

a(21)-a(25) from Charles R Greathouse IV, Aug 26 2017
a(26)-a(60) from J.W.L. (Jan) Eerland, Jun 27 2023
Showing 1-3 of 3 results.