login
A022508
Describe previous term from the right (method A - initial term is 4).
3
4, 14, 1411, 211411, 21142112, 122112142112, 122112141112212211, 2122112231141112212211, 21221122311421132221221112, 12312211321321121421132221221112
OFFSET
0,1
COMMENTS
Method A = 'frequency' followed by 'digit'-indication.
EXAMPLE
The term after 1411 is obtained by saying "two 1's, one 4, one 1", which gives 211411.
MATHEMATICA
A022508[1]:=4; A022508[n_]:=A022508[n]=FromDigits[Flatten[{Length[#], First[#]}&/@Split[Reverse[IntegerDigits[A022508[n-1]]]]]]; Map[A022508, Range[15]] (* Peter J. C. Moses, Apr 22 2013 *)
CROSSREFS
KEYWORD
nonn,base,easy,nice
EXTENSIONS
More terms from Erich Friedman
STATUS
approved