OFFSET
1,1
LINKS
Vincenzo Librandi and Hiroaki Yamanouchi, Table of n, a(n) for n = 1..61 (terms a(1)-a(44) from Vincenzo Librandi)
FORMULA
EXAMPLE
29 is in the sequence because 29^2 = 841 and 8+4+1 = 13.
1789 is in the sequence because 1789^2 = 3200521 and 3+2+0+0+5+2+1 = 13.
MATHEMATICA
Select[Prime[Range[80000]], Total[IntegerDigits[#^2]]==13&] (* Harvey P. Dale, Apr 08 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(5*10^7) | &+Intseq(p^2) eq 13]; // Vincenzo Librandi, Sep 26 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Sep 21 2009
EXTENSIONS
More terms from R. J. Mathar, Sep 29 2009
a(37)-a(40) from Hiroaki Yamanouchi, Sep 23 2014
STATUS
approved