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 A051371 #14 Mar 20 2025 04:18:25 %S A051371 197,225,243,270,288,315,342,369,387,423,459,477,504,522,549,558,576, %T A051371 603,630,657,684,720,738,765,792,819,846,873,900,909,936,972,1008, %U A051371 1026,1053,1080,1098,1116,1143,1170,1197,1224,1260,1287,1323,1350,1368,1395 %N A051371 a(n+1) = a(n) + sum of digits of a(n)^2, with a(1) = 197. %H A051371 Paolo Xausa, <a href="/A051371/b051371.txt">Table of n, a(n) for n = 1..10000</a> %t A051371 NestList[# + DigitSum[#^2] &, 197, 100] (* _Paolo Xausa_, Mar 20 2025 *) %Y A051371 Cf. A033298. %K A051371 nonn,base,easy,less %O A051371 1,1 %A A051371 Miklos SZABO (mike(AT)ludens.elte.hu)