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 A162016 #18 Feb 01 2022 09:19:43 %S A162016 1,4,5,6,9,10,40,50,60,90,100,400,500,600,900,910,1000,1009,1018,1027, %T A162016 1145,1158,1178,1198,1245,1345,1363,1427,1509,1609,1672,1736,1809, %U A162016 1810,1814,1836,2177,2710,2712,3610,3612,4000,4125,4510,4514,5000,5134,5144,5410 %N A162016 Numbers k such that the sum of the decimal digits of k is a substring of k and of k^3. %H A162016 Michael S. Branicky, <a href="/A162016/b162016.txt">Table of n, a(n) for n = 1..10000</a> %e A162016 1158 is a term because its digital sum is 1+1+5+8 = 15 and "15" is a substring of 1158 and of 1158^3 = 1552836312. %o A162016 (Python) %o A162016 def sd(n): return sum(map(int, str(n))) %o A162016 def ok(n): s = str(sd(n)); return s in str(n) and s in str(n**3) %o A162016 print([k for k in range(1, 5411) if ok(k)]) # _Michael S. Branicky_, Jan 31 2022 %Y A162016 Cf. A052018, A162017. %K A162016 nonn,base %O A162016 1,2 %A A162016 _Claudio Meller_, Jun 24 2009 %E A162016 a(47) and beyond from _Michael S. Branicky_, Jan 31 2022