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 A196872 #8 Jul 30 2021 15:06:36 %S A196872 1,2,2,6,6,6,6,6,6,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42, %T A196872 42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42, %U A196872 42,42,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806,1806 %N A196872 A007018(n) repeated A007018(n) times. %C A196872 Sequence of integers k_n in which k_n appears k_n times and k_n =1+((k_0)^2+(k_1)^2+...+(k_(n-1))^2). %e A196872 k_0=1,and k_1=1+1=2 ; %e A196872 1,2,2, and k_2=1+(1+2+2)=1+5=6 ; %e A196872 1,2,2,6,6,6,6,6,6, and k_3=1+(1+2+2+6+6+6+6+6+6)=1+41=42 ; %e A196872 1,2,2,6,6,6,6,6,6,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,and k_4=1+(1+2+2+...+42)=1+1805=1806 ; etc. %t A196872 Table[#,#]&/@NestList[#^2+#&,1,4] //Flatten (* _Harvey P. Dale_, Jul 30 2021 *) %Y A196872 A007018 %K A196872 nonn,easy %O A196872 0,2 %A A196872 _Philippe Deléham_, Oct 06 2011