OFFSET
1,1
LINKS
Chris Caldwell, The First 1,000 Primes
EXAMPLE
The digit sum of the prime 421 is 7, which is a single-digit prime.
MATHEMATICA
okQ[n_]:=Module[{ans=Plus@@IntegerDigits[n]}, ans<10&&PrimeQ[ans]]; Select[Prime[Range[1000]], okQ] (* Harvey P. Dale, May 27 2009 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Parthasarathy Nambi, Mar 14 2009
EXTENSIONS
More terms from Harvey P. Dale, May 27 2009
STATUS
approved