login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A008777
Number of dots and dashes used when representing n-th letter in Morse code.
6
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
OFFSET
1,1
COMMENTS
Number of digits of A059852 written in base 3.
FORMULA
a(n) = floor(log_3(A059852(n))) + 1. - M. F. Hasler, Jun 22 2020
PROG
(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
CROSSREFS
Cf. A059852 (Morse code for letters A-Z, read in base 3).
Sequence in context: A220588 A346262 A185356 * A306691 A354954 A237496
KEYWORD
nonn,fini,word,full
AUTHOR
STATUS
approved