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!)
A277685 Position of first letter of n (in Portuguese) in alphabet. 2
26, 21, 4, 20, 17, 3, 19, 19, 15, 14, 4, 15, 4, 20, 17, 17, 4, 4, 4, 4, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 19, 19, 19, 19, 19, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Fourteen has two spellings in Portuguese: "quatorze" and "catorze". I chose the first one because it's the most used.
LINKS
João M. de Medeiros, Table of n, a(n) for n = 0..999
EXAMPLE
"Um" -- Portuguese for one -- begins with U, which is the 21st letter in the alphabet, so a(1)=21.
PROG
(Python)
from num2words import num2words
import unidecode
def A277685(n): # output differs from sequence at n=14 due to multiple spellings.
return ord(unidecode.unidecode(num2words(n, lang='pt')).lower()[0]) - 96 # Chai Wah Wu, Feb 27 2020
CROSSREFS
Sequence in context: A040652 A154295 A331498 * A072360 A205322 A291470
KEYWORD
word,nonn
AUTHOR
STATUS
approved

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 April 25 08:20 EDT 2024. Contains 371964 sequences. (Running on oeis4.)