Does anyone know how to go about writting a program to compute the following sequence...
23
1213
211213
312213
212223
312213
212223......
it counts up how many of each number are in the previous line, it shouldnt be to difficult, if the first digit equals 1 count one, if second equals 1 count two 1s...until all the 1s are counted then does 2s....
I would really appreciate a point in the right direction!
thanks very much!
23
1213
211213
312213
212223
312213
212223......
it counts up how many of each number are in the previous line, it shouldnt be to difficult, if the first digit equals 1 count one, if second equals 1 count two 1s...until all the 1s are counted then does 2s....
I would really appreciate a point in the right direction!
thanks very much!
Comment