Return to Video

Can you find the next number in this sequence? - Alex Gendler

  • 0:08 - 0:11
    These are the first five elements
    of a number sequence.
  • 0:11 - 0:13
    Can you figure out what comes next?
  • 0:13 - 0:15
    Pause here if you want
    to figure it out for yourself.
  • 0:15 - 0:16
    Answer in: 3
  • 0:16 - 0:17
    Answer in: 2
  • 0:17 - 0:18
    Answer in: 1
  • 0:18 - 0:19
    There is a pattern here,
  • 0:19 - 0:22
    but it may not be the kind
    of pattern you think it is.
  • 0:22 - 0:26
    Look at the sequence again
    and try reading it aloud.
  • 0:26 - 0:29
    Now, look at the next number
    in the sequence.
  • 0:29 - 0:32
    3, 1, 2, 2, 1, 1.
  • 0:32 - 0:37
    Pause again if you'd like to think
    about it some more.
  • 0:37 - 0:38
    Answer in: 3
  • 0:38 - 0:39
    Answer in: 2
  • 0:39 - 0:40
    Answer in: 1
  • 0:40 - 0:44
    This is what's known as
    a look and say sequence.
  • 0:44 - 0:46
    Unlike many number sequences,
  • 0:46 - 0:49
    this relies not on some mathematical
    property of the numbers themselves,
  • 0:49 - 0:51
    but on their notation.
  • 0:51 - 0:54
    Start with the left-most digit
    of the initial number.
  • 0:54 - 0:59
    Now, read out how many times
    it repeats in succession
  • 0:59 - 1:02
    followed by the name of the digit itself.
  • 1:02 - 1:07
    Then move on to the next distinct digit
    and repeat until you reach the end.
  • 1:07 - 1:10
    So the number 1 is read as "one one"
  • 1:10 - 1:14
    written down the same way
    we write eleven.
  • 1:14 - 1:18
    Of course, as part of this sequence,
    it's not actually the number eleven,
  • 1:18 - 1:19
    but 2 ones,
  • 1:19 - 1:22
    which we then write as 2 1.
  • 1:22 - 1:25
    That number is then read out
    as 1 2 1 1,
  • 1:25 - 1:32
    which written out we'd read as
    one one, one two, two ones, and so on.
  • 1:32 - 1:38
    These kinds of sequences were first
    analyzed by mathematician John Conway,
  • 1:38 - 1:41
    who noted they have
    some interesting properties.
  • 1:41 - 1:46
    For instance, starting with the number 22,
    yields an infinite loop of two twos.
  • 1:46 - 1:48
    But when seeded with any other number,
  • 1:48 - 1:52
    the sequence grows in some
    very specific ways.
  • 1:52 - 1:55
    Notice that although the number
    of digits keeps increasing,
  • 1:55 - 1:59
    the increase doesn't seem
    to be either linear or random.
  • 1:59 - 2:04
    In fact, if you extend the sequence
    infinitely, a pattern emerges.
  • 2:04 - 2:08
    The ratio between the amount of digits
    in two consecutive terms
  • 2:08 - 2:13
    gradually converges to a single number
    known as Conway's Constant.
  • 2:13 - 2:16
    This is equal to a little over 1.3,
  • 2:16 - 2:20
    meaning that the amount of digits
    increases by about 30%
  • 2:20 - 2:23
    with every step in the sequence.
  • 2:23 - 2:26
    What about the numbers themselves?
  • 2:26 - 2:28
    That gets even more interesting.
  • 2:28 - 2:30
    Except for the repeating sequence of 22,
  • 2:30 - 2:36
    every possible sequence eventually breaks
    down into distinct strings of digits.
  • 2:36 - 2:38
    No matter what order these strings
    show up in,
  • 2:38 - 2:44
    each appears unbroken in its entirety
    every time it occurs.
  • 2:44 - 2:47
    Conway identified 92 of these elements,
  • 2:47 - 2:50
    all composed only of digits 1, 2, and 3,
  • 2:50 - 2:52
    as well as two additional elements
  • 2:52 - 2:57
    whose variations
    can end with any digit of 4 or greater.
  • 2:57 - 2:59
    No matter what number the sequence
    is seeded with,
  • 2:59 - 3:03
    eventually, it'll just consist
    of these combinations,
  • 3:03 - 3:09
    with digits 4 or higher only appearing
    at the end of the two extra elements,
  • 3:09 - 3:11
    if at all.
  • 3:11 - 3:13
    Beyond being a neat puzzle,
  • 3:13 - 3:17
    the look and say sequence
    has some practical applications.
  • 3:17 - 3:19
    For example, run-length encoding,
  • 3:19 - 3:23
    a data compression that was once used for
    television signals and digital graphics,
  • 3:23 - 3:26
    is based on a similar concept.
  • 3:26 - 3:29
    The amount of times a data value repeats
    within the code
  • 3:29 - 3:32
    is recorded as a data value itself.
  • 3:32 - 3:36
    Sequences like this are a good example
    of how numbers and other symbols
  • 3:36 - 3:39
    can convey meaning on multiple levels.
Title:
Can you find the next number in this sequence? - Alex Gendler
Description:

View full lesson: http://ed.ted.com/lessons/can-you-find-the-next-number-in-this-sequence-alex-gendler

1, 11, 21, 1211, 111221. These are the first five elements of a number sequence. Can you figure out what comes next? Alex Gendler reveals the answer and explains how beyond just being a neat puzzle, this type of sequence has practical applications as well.

Lesson by Alex Gendler, animation by Artrake Studio.

more » « less
Video Language:
English
Team:
closed TED
Project:
TED-Ed
Duration:
04:01

English subtitles

Revisions Compare revisions