Look-and-say sequence

Last updated
The lines show the growth of the numbers of digits in the look-and-say sequences with starting points 23 (red), 1 (blue), 13 (violet), 312 (green). These lines (when represented in a logarithmic vertical scale) tend to straight lines whose slopes coincide with Conway's constant. Conway's constant.svg
The lines show the growth of the numbers of digits in the look-and-say sequences with starting points 23 (red), 1 (blue), 13 (violet), 312 (green). These lines (when represented in a logarithmic vertical scale) tend to straight lines whose slopes coincide with Conway's constant.

In mathematics, the look-and-say sequence is the sequence of integers beginning as follows:

Contents

1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, 31131211131221, ... (sequence A005150 in the OEIS ).

To generate a member of the sequence from the previous member, read off the digits of the previous member, counting the number of digits in groups of the same digit. For example:

The look-and-say sequence was analyzed by John Conway [1] after he was introduced to it by one of his students at a party. [2] [3]

The idea of the look-and-say sequence is similar to that of run-length encoding.

If started with any digit d from 0 to 9 then d will remain indefinitely as the last digit of the sequence. For any d other than 1, the sequence starts as follows:

d, 1d, 111d, 311d, 13211d, 111312211d, 31131122211d, …

Ilan Vardi has called this sequence, starting with d = 3, the Conway sequence(sequence A006715 in the OEIS ). (for d = 2, see OEIS:  A006751 ) [4]

Basic properties

Roots of the Conway polynomial plotted in the complex plane. Conway's constant is marked with the Greek letter lambda (l). Conway constant.png
Roots of the Conway polynomial plotted in the complex plane. Conway's constant is marked with the Greek letter lambda (λ).

Growth

The sequence grows indefinitely. In fact, any variant defined by starting with a different integer seed number will (eventually) also grow indefinitely, except for the degenerate sequence: 22, 22, 22, 22, ... which remains the same size.(sequence A010861 in the OEIS ) [5]

Digits presence limitation

No digits other than 1, 2, and 3 appear in the sequence, unless the seed number contains such a digit or a run of more than three of the same digit. [5]

Cosmological decay

Conway's cosmological theorem asserts that every sequence eventually splits ("decays") into a sequence of "atomic elements", which are finite subsequences that never again interact with their neighbors. There are 92 elements containing the digits 1, 2, and 3 only, which John Conway named after the 92 naturally-occurring chemical elements up to uranium, calling the sequence audioactive. There are also two "transuranic" elements (Np and Pu) for each digit other than 1, 2, and 3. [5] [6] Below is a table of all such elements:

All "atomic elements" (Where Ek is included within the derivate of Ek+1 except Np and Pu) [1]
Atomic number (n)Element name (Ek)SequenceDecays into [5] Abundance
1H22H91790.383216
2He13112221133211322112211213322112Hf.Pa.H.Ca.Li3237.2968588
3Li312211322212221121123222112He4220.0665982
4Be111312211312113221133211322112211213322112Ge.Ca.Li2263.8860325
5B1321132122211322212221121123222112Be2951.1503716
6C3113112211322112211213322112B3847.0525419
7N111312212221121123222112C5014.9302464
8O132112211213322112N6537.3490750
9F31121123222112O8521.9396539
10Ne111213322112F11109.006696
11Na123222112Ne14481.448773
12Mg3113322112Pm.Na18850.441228
13Al1113222112Mg24573.006696
14Si1322112Al32032.812960
15P311311222112Ho.Si14895.886658
16S1113122112P19417.939250
17Cl132112S25312.784218
18Ar3112Cl32997.170122
19K1112Ar43014.360913
20Ca12K56072.543129
21Sc3113112221133112Ho.Pa.H.Ca.Co9302.0974443
22Ti11131221131112Sc12126.002783
23V13211312Ti15807.181592
24Cr31132V20605.882611
25Mn111311222112Cr.Si26861.360180
26Fe13122112Mn35015.858546
27Co32112Fe45645.877256
28Ni11133112Zn.Co13871.123200
29Cu131112Ni18082.082203
30Zn312Cu23571.391336
31Ga13221133122211332Eu.Ca.Ac.H.Ca.Zn1447.8905642
32Ge31131122211311122113222Ho.Ga1887.4372276
33As11131221131211322113322112Ge.Na27.246216076
34Se13211321222113222112As35.517547944
35Br3113112211322112Se46.299868152
36Kr11131221222112Br60.355455682
37Rb1321122112Kr78.678000089
38Sr3112112Rb102.56285249
39Y1112133Sr.U133.69860315
40Zr12322211331222113112211Y.H.Ca.Tc174.28645997
41Nb1113122113322113111221131221Er.Zr227.19586752
42Mo13211322211312113211Nb296.16736852
43Tc311322113212221Mo386.07704943
44Ru132211331222113112211Eu.Ca.Tc328.99480576
45Rh311311222113111221131221Ho.Ru428.87015041
46Pd111312211312113211Rh559.06537946
47Ag132113212221Pd728.78492056
48Cd3113112211Ag950.02745646
49In11131221Cd1238.4341972
50Sn13211In1614.3946687
51Sb3112221Pm.Sn2104.4881933
52Te1322113312211Eu.Ca.Sb2743.3629718
53I311311222113111221Ho.Te3576.1856107
54Xe11131221131211I4661.8342720
55Cs13211321Xe6077.0611889
56Ba311311Cs7921.9188284
57La11131Ba10326.833312
58Ce1321133112La.H.Ca.Co13461.825166
59Pr31131112Ce17548.529287
60Nd111312Pr22875.863883
61Pm132Nd29820.456167
62Sm311332Pm.Ca.Zn15408.115182
63Eu1113222Sm20085.668709
64Gd13221133112Eu.Ca.Co21662.972821
65Tb3113112221131112Ho.Gd28239.358949
66Dy111312211312Tb36812.186418
67Ho1321132Dy47987.529438
68Er311311222Ho.Pm1098.5955997
69Tm11131221133112Er.Ca.Co1204.9083841
70Yb1321131112Tm1570.6911808
71Lu311312Yb2047.5173200
72Hf11132Lu2669.0970363
73Ta13112221133211322112211213322113Hf.Pa.H.Ca.W242.07736666
74W312211322212221121123222113Ta315.56655252
75Re111312211312113221133211322112211213322113Ge.Ca.W169.28801808
76Os1321132122211322212221121123222113Re220.68001229
77Ir3113112211322112211213322113Os287.67344775
78Pt111312212221121123222113Ir375.00456738
79Au132112211213322113Pt488.84742982
80Hg31121123222113Au637.25039755
81Tl111213322113Hg830.70513293
82Pb123222113Tl1082.8883285
83Bi3113322113Pm.Pb1411.6286100
84Po1113222113Bi1840.1669683
85At1322113Po2398.7998311
86Rn311311222113Ho.At3127.0209328
87Fr1113122113Rn4076.3134078
88Ra132113Fr5313.7894999
89Ac3113Ra6926.9352045
90Th1113Ac7581.9047125
91Pa13Th9883.5986392
92U3Pa102.56285249
Transuranic elements
93Np1311222113321132211221121332211n [note 1] Hf.Pa.H.Ca.Pu0
94Pu31221132221222112112322211n [note 1] Np0

Growth in length

The terms eventually grow in length by about 30% per generation. In particular, if Ln denotes the number of digits of the n-th member of the sequence, then the limit of the ratio exists and is given by

where λ = 1.303577269034... (sequence A014715 in the OEIS ) is an algebraic number of degree 71. [5] This fact was proven by Conway, and the constant λ is known as Conway's constant . The same result also holds for every variant of the sequence starting with any seed other than 22.

Conway's constant as a polynomial root

Conway's constant is the unique positive real root of the following polynomial (sequence A137275 in the OEIS ):

This polynomial was correctly given in Conway's original Eureka article, [1] but in the reprinted version in the book edited by Cover and Gopinath [1] the term was incorrectly printed with a minus sign in front. [7]

Popularization

The look-and-say sequence is also popularly known as the Morris Number Sequence, after cryptographer Robert Morris, and the puzzle "What is the next number in the sequence 1, 11, 21, 1211, 111221?" is sometimes referred to as the Cuckoo's Egg, from a description of Morris in Clifford Stoll's book The Cuckoo's Egg . [8] [9]

Variations

There are many possible variations on the rule used to generate the look-and-say sequence. For example, to form the "pea pattern" one reads the previous term and counts all instances of each digit, listed in order of their first appearance, not just those occurring in a consecutive block. So beginning with the seed 1, the pea pattern proceeds 1, 11 ("one 1"), 21 ("two 1s"), 1211 ("one 2 and one 1"), 3112 ("three 1s and one 2"), 132112 ("one 3, two 1s and one 2"), 311322 ("three 1s, one 3 and two 2s"), etc. This version of the pea pattern eventually forms a cycle with the two "atomic" terms 23322114 and 32232114.

Other versions of the pea pattern are also possible; for example, instead of reading the digits as they first appear, one could read them in ascending order instead. In this case, the term following 21 would be 1112 ("one 1, one 2") and the term following 3112 would be 211213 ("two 1s, one 2 and one 3").

These sequences differ in several notable ways from the look-and-say sequence. Notably, unlike the Conway sequences, a given term of the pea pattern does not uniquely define the preceding term. Moreover, for any seed the pea pattern produces terms of bounded length: This bound will not typically exceed 2 × Radix + 2 digits (22 digits for decimal: radix = 10) and may only exceed 3 × Radix digits (30 digits for decimal radix) in length for long, degenerate, initial seeds (sequence of "100 ones", etc.). For these extreme cases, individual elements of decimal sequences immediately settle into a permutation of the form a0 b1 c2 d3 e4 f5 g6 h7 i8 j9 where here the letters aj are placeholders for digit counts from the preceding sequence element.

Since the sequence is infinite, and the length of each element is bounded, it must eventually repeat, due to the pigeonhole principle. As a consequence, pea pattern sequences are always eventually periodic.

See also

Notes

  1. 1 2 n can be any digit 4 or above.

Related Research Articles

<span class="mw-page-title-main">DVD-RAM</span> Variant of DVD designed with random access in mind

DVD-RAM is a DVD-based disc specification presented in 1996 by the DVD Forum, which specifies rewritable DVD-RAM media and the appropriate DVD writers. DVD-RAM media have been used in computers as well as camcorders and personal video recorders since 1998.

The NTRUEncrypt public key cryptosystem, also known as the NTRU encryption algorithm, is an NTRU lattice-based alternative to RSA and elliptic curve cryptography (ECC) and is based on the shortest vector problem in a lattice.

<span class="mw-page-title-main">Saab 18</span> Swedish bomber and reconnaissance aircraft

The Saab 18 was a twin-engine bomber and reconnaissance aircraft, designed and built by Svenska Aeroplan AB (SAAB) for use by the Swedish Air Force in response to a 1938 design competition. Due to delays, it did not enter service until 1944, but quickly became the standard Swedish bomber aircraft. Serving in the bomber, reconnaissance and ground-attack roles, it also assisted in the development of ejection seats and air-to-surface guided missiles until its replacement by the Saab Lansen in the late 1950s.

<span class="mw-page-title-main">World IBJJF Jiu-Jitsu Championship</span> Brazilian Jiu-Jitsu competitions

The World IBJJF Jiu-Jitsu Championship is a Brazilian jiu-jitsu tournament held annually by the International Brazilian Jiu-Jitsu Federation. It is widely considered the most important and prestigious jiu-jitsu tournament of the year.

Backhouse's constant is a mathematical constant named after Nigel Backhouse. Its value is approximately 1.456 074 948.

<span class="mw-page-title-main">Heaviside cover-up method</span> Method for partial-fraction expansion

The Heaviside cover-up method, named after Oliver Heaviside, is a technique for quickly determining the coefficients when performing the partial-fraction expansion of a rational function in the case of linear factors.

<span class="mw-page-title-main">Elementary cellular automaton</span> Mathematics concept

In mathematics and computability theory, an elementary cellular automaton is a one-dimensional cellular automaton where there are two possible states and the rule to determine the state of a cell in the next generation depends only on the current state of the cell and its two immediate neighbors. There is an elementary cellular automaton which is capable of universal computation, and as such it is one of the simplest possible models of computation.

<span class="mw-page-title-main">Allied Forces Baltic Approaches</span> Military unit

Allied Forces Baltic Approaches (BALTAP) was a Principal Subordinate Command (PSC) of the NATO Military Command Structure, with responsibility for the Baltic Sea area. It was in existence from 1962 to 2002 and consisted of the Danish Armed Forces, units of the West German Bundeswehr and allied wartime reinforcements.

<span class="mw-page-title-main">Meril-Prothom Alo Awards</span> Annual Bangladeshi Awards Ceremony

Meril Prothom Alo Awards or Prothom Alo Awards is an annual Bangladeshi awards ceremony honouring cinematic achievements in Bangladeshi Film Industry. The awards are divided into two components, Viewers' Choice and Critics' Choice. The awards were first presented in 1998 and since then the awards are given every year at the Bangabandhu International Conference Center (BICC).

<span class="mw-page-title-main">3rd Panzer Division (Bundeswehr)</span> Military unit

The 3rd Armoured Division was formed on 2 July 1956 in Hamburg and was one of the first major formations of the new German Army or Bundeswehr after the Second World War. The 3rd Armoured Division was stationed on the North German Plain between the rivers Elbe and Weser. Its last headquarters location was Buxtehude. It was part of the I Corps alongside the 1st Panzer, 7th Panzer, and 11th Panzergrenadier Divisions.

The Northern Army Group (NORTHAG) was a NATO military formation comprising five Army Corps from five NATO member nations. During the Cold War NORTHAG was NATO's forward defence in the Northern half of the Federal Republic of Germany (FRG). The Southern half of the Federal Republic of Germany was to be defended by the four Army Corps of NATO's Central Army Group (CENTAG). During wartime NORTHAG would command four frontline corps and one reserve corps. Air support was provided by Second Allied Tactical Air Force.

The Central Army Group (CENTAG) was a NATO military formation comprising four Army Corps from two NATO member nations comprising troops from Canada, West Germany and the United States. During the Cold War, CENTAG was NATO's forward defence in the southern half of the Federal Republic of Germany (FRG). The northern half of the FRG was defended by the four Army Corps of NATO's Northern Army Group (NORTHAG). During wartime, CENTAG would command four frontline corps. Air support was provided by Fourth Allied Tactical Air Force.

<span class="mw-page-title-main">Fourth Allied Tactical Air Force</span> Former NATO military aviation formation

Fourth Allied Tactical Air Force was a NATO military formation under Allied Air Forces Central Europe tasked with providing air support to NATO's Central Army Group (CENTAG) in the southern portion of West Germany. 4 ATAF commanded all flying units based within its sector and all reinforcements flying into its sector, as well as ground-based radar systems and stations, air defense units and the airfields in its sector.

In mathematics, a polynomial decomposition expresses a polynomial f as the functional composition of polynomials g and h, where g and h have degree greater than 1; it is an algebraic functional decomposition. Algorithms are known for decomposing univariate polynomials in polynomial time.

<span class="mw-page-title-main">Hungarian Canoe Federation</span>

The Hungarian Canoe Federation is the governing body of Canoe in Hungary. It organizes the Hungarian representation at international competitions and the Hungarian National Championships.

The following is a hierarchical outline for the Danish armed forces at the end of the Cold War. It is intended to convey the connections and relationships between units and formations. In wartime all Danish military units would have come under the joint West German/Danish NATO command Allied Forces Baltic Approaches (BALTAP). BALTAP was a principal subordinate command under the Allied Forces Northern Europe Command (AFNORTH). The commander-in-chief of (BALTAP) was always a Danish Lieutenant General or Vice Admiral, who had the designation Commander Allied Forces Baltic Approaches (COMBALTAP). In peacetime BALTAP had only a few communication units allocated and all other units remained under national command of West Germany's Bundeswehr and Denmark's Forsvaret.

This article lists the structure of the Royal Danish Army in 1989 and in May 2020:

In 1989, the United States Navy was on the verge of massive cuts to military spending cuts including ship and aircraft procurement. These forces were expected to fight the Soviet Union, Warsaw Pact and other potential adversaries in case of a war breaking out. At this time, the USS Kitty Hawk (CV-63) of the Pacific Fleet was out of commission for Service Life Extension Program (SLEP) modernization leaving the 3rd Fleet with less carriers.

<i>Potentilla nivea</i> Species of plant in the genus Potentilla

Potentilla nivea, called the snow cinquefoil, snowy cinquefoil, and villous cinquefoil, is a species of flowering plant in the genus Potentilla, native to Subarctic Asia, North America, Greenland, and Europe, and the Subalpine Rockies and Alps. It comes in many ploidy levels; 2x, 3x, 4x, 5x, 6x, 7x, 8x and 10x.

In number theory, the real parts of the roots of unity are related to one-another by means of the minimal polynomial of The roots of the minimal polynomial are twice the real part of the roots of unity, where the real part of a root of unity is just with coprime with

References

  1. 1 2 3 4 Conway, J. H. (January 1986). "The Weird and Wonderful Chemistry of Audioactive Decay" (PDF). Eureka. 46: 5–16. Reprinted as Conway, J. H. (1987). "The Weird and Wonderful Chemistry of Audioactive Decay". In Cover, Thomas M.; Gopinath, B. (eds.). Open Problems in Communication and Computation. Springer-Verlag. pp. 173–188. ISBN   0-387-96621-8.
  2. Roberts, Siobhan (2015). Genius at Play: The Curious Mind of John Horton Conway. Bloomsbury. ISBN   978-1-62040-593-2.
  3. Look-and-Say Numbers (feat John Conway) - Numberphile on YouTube
  4. Conway Sequence, MathWorld, accessed on line February 4, 2011.
  5. 1 2 3 4 5 Martin, Oscar (2006). "Look-and-Say Biochemistry: Exponential RNA and Multistranded DNA" (PDF). American Mathematical Monthly. 113 (4). Mathematical association of America: 289–307. doi:10.2307/27641915. ISSN   0002-9890. JSTOR   27641915. Archived from the original (PDF) on 2006-12-24. Retrieved January 6, 2010.
  6. Ekhad, S. B., Zeilberger, D.: Proof of Conway's lost cosmological theorem, Electronic Research Announcements of the American Mathematical Society, August 21, 1997, Vol. 5, pp. 78–82. Retrieved July 4, 2011.
  7. Vardi, Ilan (1991). Computational Recreations in Mathematica. Addison-Wesley. ISBN   0-201-52989-0.
  8. Robert Morris Sequence
  9. FAQ about Morris Number Sequence