login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A065408
Squares whose digits sum to a prime.
3
16, 25, 49, 256, 289, 625, 676, 784, 841, 1024, 1156, 1369, 1444, 1600, 1936, 2209, 2401, 2500, 2704, 2809, 3136, 3721, 3844, 4096, 4225, 4900, 5329, 6241, 6724, 6889, 7921, 8281, 9604, 11236, 11449, 11881, 13225, 13456, 13924, 14161, 15625, 16129
OFFSET
1,1
LINKS
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