cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A008777 #17 Jul 08 2025 01:21:06
%S A008777 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 A008777 Number of dots and dashes used when representing n-th letter in Morse code.
%C A008777 Number of digits of A059852 written in base 3.
%F A008777 a(n) = floor(log_3(A059852(n))) + 1. - _M. F. Hasler_, Jun 22 2020
%o A008777 (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 A008777 Cf. A059852 (Morse code for letters A-Z, read in base 3).
%K A008777 nonn,fini,word,full
%O A008777 1,1
%A A008777 _N. J. A. Sloane_