The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A331482 Position of the first letter of n (in Dutch) in the alphabet. 0

%I #31 Jul 19 2020 11:53:41

%S 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 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 22,5,20,4,22,22,26,26,1,14,26,5,20,4,22,22,26,26,1,14,26

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

%H Wikibooks, <a href="https://nl.wikibooks.org/wiki/Rekenen/Natuurlijke_getallen">Rekenen/Natuurlijke getallen</a>

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

%t a[n_] := LetterNumber @ Characters[IntegerName[n, {"Dutch","Ordinal"}]][[1]]; Array[a, 100, 0] (* _Amiram Eldar_, Jan 18 2020 *)

%o (Python)

%o from num2words import num2words

%o import unidecode

%o def A311482(n):

%o return ord(unidecode.unidecode(num2words(n, lang='nl')).lower()[0]) - 96 # _Chai Wah Wu_, Feb 27 2020

%Y Cf. A005606 (English), A161377 (Spanish), A277685 (Portuguese).

%Y Cf. other Dutch sequences: A090589, A247802.

%K nonn,word

%O 0,1

%A _J. Marcel Feenstra_, Jan 18 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 13:23 EDT 2024. Contains 372540 sequences. (Running on oeis4.)