OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A107289(n)^2. - Andrew Howroyd, Dec 05 2024
MATHEMATICA
Select[Range[1000]^2, PrimeQ[Total[IntegerDigits[#]]]&]
PROG
(PARI) { for (m=1, 200, if (isprime(sumdigits(m^2)), print1(m^2, ", "))) } \\ Harry J. Smith, Oct 18 2009
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Nov 22 2001
STATUS
approved