This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A022482 #11 Feb 16 2025 08:32:34 %S A022482 2,12,1211,211211,21122112,1221222112,122132112211,2122211213112211, %T A022482 21222113111221321112,123112131122311321321112, %U A022482 123112131112132113222113111221131211 %N A022482 Describe previous term from the right (method A - initial term is 2). %C A022482 Method A = 'frequency' followed by 'digit'-indication. %H A022482 Reinhard Zumkeller, <a href="/A022482/b022482.txt">Table of n, a(n) for n = 1..22</a> %H A022482 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/LookandSaySequence.html">Look and Say Sequence</a> %H A022482 Wikipedia, <a href="http://en.wikipedia.org/wiki/Look-and-say_sequence">Look-and-say sequence</a> %F A022482 a(n+1) = A045918(A004086(a(n))). - _Reinhard Zumkeller_, Mar 02 2014 %e A022482 E.g. the term after 1211 is obtained by saying "two 1's, one 2, one 1", which gives 211211. %t A022482 A022482[1]:=2;A022482[n_]:=A022482[n]=FromDigits[Flatten[{Length[#],First[#]}&/@Split[Reverse[IntegerDigits[A022482[n-1]]]]]];Map[A022482,Range[15]] (* _Peter J. C. Moses_, Apr 22 2013 *) %o A022482 (Haskell) %o A022482 a022482 n = a022482_list !! (n-1) %o A022482 a022482_list = iterate (a045918 . a004086) 2 %o A022482 -- _Reinhard Zumkeller_, Mar 02 2014 %Y A022482 Cf. A022506, A006711, A022507-A022513. %K A022482 nonn,base,easy,nice %O A022482 1,1 %A A022482 _Clark Kimberling_