Look-and-say sequence

Look-and-say sequence
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 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:

1, 11, 21, 1211, 111221, 312211, 13112221, 1113213211, ... (sequence A005150 in 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:

  • 1 is read off as "one 1" or 11.
  • 11 is read off as "two 1s" or 21.
  • 21 is read off as "one 2, then one 1" or 1211.
  • 1211 is read off as "one 1, then one 2, then two 1s" or 111221.
  • 111221 is read off as "three 1s, then two 2s, then one 1" or 312211.

The idea is similar to that of run-length encoding.

If we start with any digit d from 0 to 9, d will remain indefinitely as the last digit of the sequence. For d different from 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 OEIS).[1]

Contents

Basic properties

  • 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, …[2].
  • 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.[2]
  • Conway's cosmological theorem: Every sequence eventually splits 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 natural chemical elements. There are also two "transuranic" elements for each digit other than 1,2, and 3.[2][3]
Roots of the Conway polynomial plotted in the complex plane.
  • The terms eventually grow in length by about 30% per generation. If \scriptstyle L_n denotes the number of digits of the \scriptstyle n-th member of the sequence, then the limit
\lim_{n \to \infty}\frac{L_{n+1}}{L_{n}} = \lambda
where \scriptstyle \lambda = 1.303577269\ldots is an algebraic number of degree 71[2] known as Conway's constant. This fact was proven by Conway. This also holds for variants of the sequence starting with any integer other than 22.

Conway's constant is the unique positive real root of the following polynomial:

\begin{align}
 x^{71}   &&- x^{69}   &&- 2x^{68}  &&- x^{67}   &&+ 2x^{66}  &&+ 2x^{65}  &&+ x^{64}   &&- x^{63}   &&- x^{62}  - \\
 x^{61}   &&- x^{60}   &&- x^{59}   &&+ 2x^{58}  &&+ 5x^{57}  &&+ 3x^{56}  &&- 2x^{55}  &&- 10x^{54} &&- 3x^{53} - \\
 2x^{52}  &&+ 6x^{51}  &&+ 6x^{50}  &&+ x^{49}   &&+ 9x^{48}  &&- 3x^{47}  &&- 7x^{46}  &&- 8x^{45}  &&- 8x^{44} + \\
 10x^{43} &&+ 6x^{42}  &&+ 8x^{41}  &&- 5x^{40}  &&- 12x^{39} &&+ 7x^{38}  &&- 7x^{37}  &&+ 7x^{36}  &&+ x^{35}  - \\
 3x^{34}  &&+ 10x^{33} &&+ x^{32}   &&- 6x^{31}  &&- 2x^{30}  &&- 10x^{29} &&- 3x^{28}  &&+ 2x^{27}  &&+ 9x^{26} - \\
 3x^{25}  &&+ 14x^{24} &&- 8x^{23}  &&- 7x^{21}  &&+ 9x^{20}  &&+ 3x^{19}  &&- 4x^{18}  &&- 10x^{17} &&- 7x^{16} + \\
 12x^{15} &&+ 7x^{14}  &&+ 2x^{13}  &&- 12x^{12} &&- 4x^{11}  &&- 2x^{10}  &&+ 5x^9     &&+ x^7      &&- 7x^6    + \\
 7x^5     &&- 4x^4     &&+ 12x^3    &&- 6x^2     &&+ 3x       &&- 6
\end{align}

Origin

It was introduced and analyzed by John Conway in his paper "The Weird and Wonderful Chemistry of Audioactive Decay" published in Eureka 46, 5–18 in 1986.

Popularization

It is also popularly known as the Morris Number Sequence, after cryptographer Robert Morris, and the puzzle is sometimes referred to as the Cuckoo's Egg from a description of Morris in Clifford Stoll's book The Cuckoo's Egg.[4][5]

Computer program

The following Python code generates a look-and-say sequence using lazy evaluation:

def look_and_say(member):
    while True:
        yield member
        breakpoints = [0]+[i for i in range(1,len(member)) if member[i-1] != member[i]]+[len(member)]
        groups = [member[breakpoints[i-1]:breakpoints[i]] for i in range(1,len(breakpoints))]
        member = ''.join(str(len(group)) + group[0] for group in groups)
 
# Print the 10-element sequence beginning with "1"
sequence = look_and_say("1")
for i in range(10):
    print sequence.next()

Pea pattern

This is described as being the series which counts the number of occurrences of a digit and appears for the first few steps to have similarities with the Look-andSay(1) series. Pea(1) proceeds 1, 11, 21, 1112 (reading as 1 occurence of 1 and 1 of 2), 3112, 211213, but after 15 steps Pea(1) loops at 21322314. This looping characteristic also occurs with Pea(2) and Pea(0) at 1021223314.

References

  1. ^ Conway Sequence, MathWorld, accessed on line February 4, 2011.
  2. ^ a b c d Martin, Oscar (2006). "Look-and-Say Biochemistry: Exponential RNA and Multistranded DNA". American mathematical monthly (Mathematical association of America) 113 (4): pp. 289–307. ISSN 0002-9890. http://www.uam.es/personal_pdi/ciencias/omartin/Biochem.PDF. Retrieved January 6, 2010. 
  3. ^ 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.
  4. ^ Robert Morris Sequence
  5. ^ FAQ about Morris Number Sequence

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Look and Say — Suite de Conway La suite de Conway est une suite inventée en 1987 par le mathématicien John Horton Conway, initialement sous le nom de « suite audioactive »[1]. Elle est également connue sous le nom anglais de Look and Say… …   Wikipédia en Français

  • Look and say — Suite de Conway La suite de Conway est une suite inventée en 1987 par le mathématicien John Horton Conway, initialement sous le nom de « suite audioactive »[1]. Elle est également connue sous le nom anglais de Look and Say… …   Wikipédia en Français

  • Sequence — For other uses, see Sequence (disambiguation). In mathematics, a sequence is an ordered list of objects (or events). Like a set, it contains members (also called elements or terms), and the number of terms (possibly infinite) is called the length …   Wikipedia

  • Conway sequence — The Conway sequence is a sequence of numbers that originates using the Look and say sequence generator. The Conway sequence starts with 3 , described as one three , and written as 13 . This number can in turn be described as one one, one three ,… …   Wikipedia

  • Say Somethin' — Pour les articles homonymes, voir Say Something. Say Somethin Single par Mariah Carey et Snoop Dogg extrait de l’album The Emancipation of Mimi …   Wikipédia en Français

  • Luke Snyder and Noah Mayer — Luke and Noah (Van Hansis and Jake Silbermann) Luke Snyder and Noah Mayer are fictional characters and a supercouple from the American CBS daytime drama As the World Turns.[1] Luke wa …   Wikipedia

  • PROPHETS AND PROPHECY — This article is arranged according to the following outline: in the bible classifications nature of prophecy origin and function dreams divination pre classical prophets terminology group prophecy ecstasy group life of prophets role in society… …   Encyclopedia of Judaism

  • Names and titles of Jesus in the New Testament — Cartel at the Church of the Gesù, Rome with the Latin inscription from Philippians 2:10: at the name of Jesus every knee should bow . Two names and a variety of titles are used to refer to Jesus in the New Testa …   Wikipedia

  • Wile E. Coyote and Road Runner — Wile E. Coyote Wile E. Coyote First appearance Fast and Furry ous (September 17, 1949) Last appearance …   Wikipedia

  • List of My Wife and Kids episodes — The following is a page of episodes for the television sitcom, My Wife and Kids. The series aired on ABC from March 28, 2001 to May 17, 2005 with a total of 122 episodes produced spanning 5 seasons. Contents 1 Series overview 2 Season 1: 2001 3… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”