login
Number of dots and dashes used when representing n-th letter in Morse code.
6

%I #15 Aug 03 2024 17:53:35

%S 2,4,4,3,1,4,3,4,2,4,3,4,2,2,3,4,4,3,3,1,3,4,3,4,4,4

%N Number of dots and dashes used when representing n-th letter in Morse code.

%C Number of digits of A059852 written in base 3.

%F a(n) = floor(log_3(A059852(n))) + 1. - _M. F. Hasler_, Jun 22 2020

%o (PARI) apply( {A008777(n)=logint(A059852[n],3)+1}, [1..26]) \\ assuming that A059852 is a vector rather than a function. - _M. F. Hasler_, Jun 22 2020

%Y Cf. A059852 (Morse code for letters A-Z, read in base 3).

%K nonn,fini,word,full

%O 1,1

%A _N. J. A. Sloane_.