OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[300], CompositeQ[#]&&PrimeQ[Total[IntegerDigits[#]]]&] (* Harvey P. Dale, Feb 19 2018 *)
PROG
(Python)
from sympy import isprime
def ok(n): return isprime(sum(map(int, str(n)))) and not isprime(n)
print([k for k in range(237) if ok(k)]) # Michael S. Branicky, Dec 14 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Sep 03 2008
EXTENSIONS
More terms from N. J. A. Sloane, Sep 03 2008
STATUS
approved