Please in order to save solutions and appear on the leaderboards.

Look and Say

Details

The Look and Say sequence starts with 1 and is continued by looking at each of the runs of the same number in the previous element and combining the length with the original number. For example the next element after 111221 would be 312211 (three ones, two twos and one one).

Print the first 20 elements of the Look and Say sequence.

0 bytes, 0 chars
Restore solution
All
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
ctrl + enter or

Delete Solution

Are you sure you want to delete your solution(s) for Look and Say?

If you have seperate bytes and chars solutions then both will be deleted.

This is irreversible, please backup any code you care about.

Type I understand and press confirm to continue.