login
A022500
Describe the previous term! (method B - initial term is 4).
10
4, 41, 4111, 4113, 411231, 4112213111, 411222113113, 41122312311231, 4112223111213112213111, 41122331132111311222113113, 411222321231211331122312311231
OFFSET
1,1
COMMENTS
Method B = 'digit'-indication followed by 'frequency'.
LINKS
EXAMPLE
E.g. the term after 4113 is obtained by saying "4 once, 1 twice, 3 once", which gives 411231.
MATHEMATICA
a[1] = 4;
a[n_] := a[n] = {#[[1]], Length[#]}& /@ Split[a[n-1] // IntegerDigits] // Flatten // FromDigits;
Array[a, 11] (* Jean-François Alcover, Jul 13 2016 *)
CROSSREFS
KEYWORD
nonn,base,easy,nice
STATUS
approved