OFFSET
1,2
MATHEMATICA
Select[Range[500], !PrimeQ[#]&&PrimeQ[#+Total[IntegerDigits[#]^2]]&] (* Harvey P. Dale, Mar 15 2015 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jun 15 2004
STATUS
approved