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.

Showing 1-2 of 2 results.

A059852 Consider the English alphabet in Morse code (the International Morse radio telegraph code). Map a 'dit' to the digit one and a 'dah' to the digit 2, then express that ternary number in decimal.

Original entry on oeis.org

5, 67, 70, 22, 1, 43, 25, 40, 4, 53, 23, 49, 8, 7, 26, 52, 77, 16, 13, 2, 14, 41, 17, 68, 71, 76
Offset: 1

Views

Author

Robert G. Wilson v, Feb 27 2001

Keywords

Comments

Written in base 3, the terms read (12, 2111, 2121, 211, 1, 1121, 221, 1111, 11, 1222, 212, 1211, 22, 21, 222, 1221, 2212, 121, 111, 2, 112, 1112, 122, 2112, 2122, 2211). This contains all words over {1,2} with 1 to 4 letters except for 1122, 1212, 2221 and 2222, which correspond to the codes for Ü, Ä, Ö and CH. - M. F. Hasler, Jun 22 2020

Examples

			The sixth letter, F, is ".._." in Morse. This becomes 1121 in ternary and 43 in decimal, so a(6) = 43.
		

References

  • "Learning the Radiotelegraph Code," Seventh Edition, published by American Radio Relay League, West Hartford 7, Connecticut, 1955.
  • "Morse Code Course," Jeppesen and Company, Denver, Colorado, 1962.
  • "International Morse Code," prepared by Lt. Commander F.R.L. Tuthill, USNR and Lt. (J.G.) E.L. Battey, USNR, published by Insuline Corporation of America, Long Island City, NY.

Crossrefs

Cf. A060110, the same for numbers, and A060109, written in base 3.
Cf. A008777 (number of base 3 digits = dots and dashes in the n-th letter), A281015, A281017, A281018.
Cf. A105386, A105387 (ambiguous variants using digits 0 and 1).

Programs

  • PARI
    A059852=digits(3008707498660932665486381130661318784490079420090,81) \\ or vecextract(apply(A032924,[1..28]), i) with i=numtoperm(26, 58849338891424664724588744) or i=vecsort(Vec("ETIANMSURWDKGOHVFuLaPJBXCYZQ"),,1)[1..26]. - M. F. Hasler, Jun 22 2020

Extensions

Edited, links and crossrefs added by M. F. Hasler, Jun 22 2020

A105387 Morse code alphabet where "-" = 0 and "." = 1, binary converted to decimal.

Original entry on oeis.org

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
Offset: 1

Views

Author

Bryan Jacobs (bryanjj(AT)gmail.com), Apr 02 2005

Keywords

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

Examples

			a(3) = 'C' = "-.-." -> 0101 (binary) = 5.
		

Crossrefs

Cf. A105386, A059852 (Morse alphabet), A000120 (binary weight), A008777 (number of dots and dashes in Morse code for n-th letter).

Programs

Extensions

Name and crossrefs edited by M. F. Hasler, Jun 23 2020
Showing 1-2 of 2 results.