0
1,11,21,1211,111221,=---------?
coding
5 Answers
+ 3
1 is one 1 (11)
11 is two 1s (21)
21 is one 2 and one 1 (1211)
1211 is one 1, one 2 and two 1s (111221)
You get each number by reading the previous number as a sequence of digits and saying how often each digit appears. Does that make sense? đ
+ 4
312211
https://code.sololearn.com/cKKTm1DH7rrc/?ref=app
If this doesn't answer your question, let me know
+ 2
I think it was this:
first you start with a 1
in the next line you write how many of what there are:
1. 1
2. 11
3. 21
4. 1211
2. there is one one.
3. there are two ones
4. there is one two and one one
+ 1
#Anna #thanks for your explaining
0
can u explain it