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.

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

This page as a plain text file.
%I A331482 #34 Jul 27 2024 22:06:40
%S A331482 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,
%T A331482 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,
%U A331482 22,5,20,4,22,22,26,26,1,14,26,5,20,4,22,22,26,26,1,14,26
%N A331482 Position of the first letter of n (in Dutch) in the alphabet.
%H A331482 Wikibooks, <a href="https://nl.wikibooks.org/wiki/Rekenen/Natuurlijke_getallen">Rekenen/Natuurlijke getallen</a>
%e A331482 'Een' (Dutch for 'one') begins with 'E', the fifth letter of the alphabet, hence a(1)=5.
%t A331482 a[n_] := LetterNumber @ Characters[IntegerName[n, {"Dutch","Ordinal"}]][[1]]; Array[a, 100, 0] (* _Amiram Eldar_, Jan 18 2020 *)
%o A331482 (Python)
%o A331482 from num2words import num2words
%o A331482 import unidecode
%o A331482 def A331482(n):
%o A331482     return ord(unidecode.unidecode(num2words(n, lang='nl')).lower()[0]) - 96 # _Chai Wah Wu_, Feb 27 2020
%Y A331482 Cf. A005606 (English), A161377 (Spanish), A277685 (Portuguese).
%Y A331482 Cf. other Dutch sequences: A090589, A247802.
%K A331482 nonn,word
%O A331482 0,1
%A A331482 _J. Marcel Feenstra_, Jan 18 2020