30
3
The "Look and say" or "Say what you see" sequence is a series of numbers where each describes the last.
1
11 (one one)
21 (two ones)
1211 (one two, one one)
111221 (one one, one two, two ones)
312211 (three ones, two twos, one one)
and on and on... https://oeis.org/A005150
Anyway, this is a regular code golf challenge (least byte count wins) to make a program that takes two arguments, an initial number and the amount of iterations. For example if you plugged in "1" and "2" the result would be "21". If you plugged in "2" and "4" the result would be "132112". Have fun!
2Can we receive/return a list of digits? – LegionMammal978 – 2016-02-02T23:38:30.970
5I'd close the older questions as dupes if necessary; this doesn't have the restrictions. – lirtosiast – 2016-02-02T23:43:34.987
4I don't see this as a duplicate. Both the previous look and say challenges were very restrictive (one with no numbers in the source code, the other with no named variables, named functions or named arguments). Very few languages will allow answers to the previous challenges that are also competitive here. – trichoplax – 2016-02-02T23:56:57.010
3Are we allowed to output as a list of numbers? – lirtosiast – 2016-02-03T00:23:57.293
3Discussion on meta about duplicates without restrictions – trichoplax – 2016-02-03T15:06:43.750
1Are the inputs meant to be strings or ints? – Ogaday – 2016-02-04T10:13:32.120
Three ones, two twos, and two ones??? The last line might be wrong. – iBug – 2017-07-07T04:50:07.570