%I #14 Jan 07 2022 19:32:10
%S 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
%N Morse code alphabet where "-" = 0 and "." = 1, binary converted to decimal.
%C 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
%H Omniglot, <a href="http://www.omniglot.com/writing/morsecode.htm">Morse Code</a>
%e a(3) = 'C' = "-.-." -> 0101 (binary) = 5.
%o (PARI) A105387=[fromdigits([2-d|d<-digits(t,3)],2)|t<-A059852] \\ _M. F. Hasler_, Jun 23 2020
%Y Cf. A105386, A059852 (Morse alphabet), A000120 (binary weight), A008777 (number of dots and dashes in Morse code for n-th letter).
%K full,nonn,fini
%O 1,1
%A Bryan Jacobs (bryanjj(AT)gmail.com), Apr 02 2005
%E Name and crossrefs edited by _M. F. Hasler_, Jun 23 2020