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!)
A105386 Morse code alphabet where "." = 0 and "-" = 1, binary converted to decimal. 3
1, 8, 10, 4, 0, 2, 6, 0, 0, 7, 5, 4, 3, 2, 7, 6, 13, 2, 0, 1, 1, 1, 3, 9, 11, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Hamming weight A000120(a(n)) gives number of dashes in the Morse code of the n-th letter. A008777 allows us to know how many leading zeros a term should have. A059852 is a better (unambiguous) variant. - M. F. Hasler, Jun 23 2020
LINKS
Omniglot, Morse Code
EXAMPLE
a(3) = 'C' = "-.-." -> 1010 (binary) = 10.
PROG
(PARI) A105386=[fromdigits([d-1|d<-digits(t, 3)], 2)|t<-A059852] \\ M. F. Hasler, Jun 23 2020
CROSSREFS
Cf. A105387, A059852 (Morse alphabet), A000120 (binary weight), A008777 (number of dots and dashes in Morse code for n-th letter).
Sequence in context: A229196 A227571 A112590 * A124685 A105021 A343212
KEYWORD
full,nonn,fini
AUTHOR
Bryan Jacobs (bryanjj(AT)gmail.com), Apr 02 2005
EXTENSIONS
Name and crossrefs edited by M. F. Hasler, Jun 23 2020
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 May 11 12:18 EDT 2024. Contains 372409 sequences. (Running on oeis4.)