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 A165504 #12 Sep 08 2022 08:45:47 %S A165504 887,1697,1723,1867,1913,2083,2137,2417,2543,2633,2687,2767,2803,2957, %T A165504 3083,3109,3137,3433,3793,3847,3947,4073,4217,4423,4567,4657,4783, %U A165504 4793,4937,5099,5233,5279,5333,5387,5431,5647,5683,5827,6043,6053,6133,6143 %N A165504 Primes p with a digits sum of p^2 equal to 43. %H A165504 Vincenzo Librandi, <a href="/A165504/b165504.txt">Table of n, a(n) for n = 1..1000</a> %F A165504 {A000040(i) : A123157(i) = 43} [_R. J. Mathar_, Sep 29 2009] %e A165504 887 is in the sequence because 887^2=786769 and 7+8+6+7+6+9=43. %e A165504 1723 is in the sequence because 1723^2=2968729 and 2+9+6+8+7+2+9=43. %t A165504 Select[Prime[Range[300]], Total[IntegerDigits[#^2]] == 43&] (* _Vincenzo Librandi_, Sep 12 2013 *) %o A165504 (Magma) [p: p in PrimesUpTo(6150) | &+Intseq(p^2) eq 43]; // _Vincenzo Librandi_, Sep 12 2013 %Y A165504 Cf. primes p where the digital sum of p^2 is equal to: A226803 (7), A165492 (13), A165493 (19), A165502 (31), A165503 (37), this sequence (43). %K A165504 nonn,base %O A165504 1,1 %A A165504 _Vincenzo Librandi_, Sep 21 2009 %E A165504 More terms from _R. J. Mathar_, Sep 29 2009