Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #17 Feb 17 2024 10:30:18
%S 0,10,1011,1031,102113,10311213,10411223,1031221314,1041222314,
%T 1031321324,1031223314,1031223314,1031223314,1031223314,1031223314,
%U 1031223314,1031223314,1031223314,1031223314,1031223314,1031223314
%N Summarize the previous term!.
%e a(0) is given as 0;
%e a(1) is one zero -> 10;
%e a(2) is one zero and one one -> 1011;
%e a(3) is one zero and three ones -> 1031;
%e a(7) and onward is 1031223314.
%t NestList[ FromDigits@ Flatten@ Map[IntegerDigits@ Reverse@# &, Sort@ Tally@ Flatten@ IntegerDigits@#] &, 0, 20] (* _Robert G. Wilson v_, Nov 28 2019, adapted from code by _Michael De Vlieger_ in A177359 *)
%Y Cf. A005151.
%K nonn,base,easy
%O 0,2
%A _N. J. A. Sloane_