VOOZH
about
URL: https://oeis.org/A105387
⇱ A105387 - OEIS
login
A105387
Morse code alphabet where "-" = 0 and "." = 1, binary converted to decimal.
3
2, 7, 5, 3, 1, 13, 1, 15, 3, 8, 2, 11, 0, 1, 0, 9, 2, 5, 7, 0, 6, 14, 4, 6, 4, 3
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
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
Table of n, a(n) for n=1..26.
Omniglot,
Morse Code
EXAMPLE
a(3) = 'C' = "-.-." -> 0101 (binary) = 5.
PROG
(PARI)
A105387
=[fromdigits([2-d|d<-digits(t, 3)], 2)|t<-
A059852
] \\
M. F. Hasler
, Jun 23 2020
CROSSREFS
Cf.
A105386
,
A059852
(Morse alphabet),
A000120
(binary weight),
A008777
(number of dots and dashes in Morse code for n-th letter).
Sequence in context:
A372773
A296564
A266262
*
A011232
A272699
A138344
Adjacent sequences:
A105384
A105385
A105386
*
A105388
A105389
A105390
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