What is the next number in the sequence

  • 1
  • 11
  • 21
  • 1211
  • 111221
  • ?


The answer is 312211.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Steve Rioux
Jun 29, 2018

This is the Look-and-say sequence. 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, one 2, then two 1s" or 111221. 111221 is read off as "three 1s, two 2s, then one 1" or 312211. The look-and-say sequence was introduced and analyzed by John Conway .

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

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...