OFFSET
1,1
COMMENTS
There are 266 such primes < 10^6, the largest being 994871 -> 9^2+4^2+7^2 = 9^2+8^2+1^2 = 146.
EXAMPLE
1487 is in the sequence because 1^2+8^2 = 4^2+7^4 = 65.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Nov 01 2002
STATUS
approved