OFFSET
1,1
COMMENTS
Noteworthy members of this sequence are: 854, 38525 and 166286 because they have 7, 11 and 15 divisors with a prime digital sum.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2)=21 because its divisors are [1, 3, 7, 21] all (except 1) of which have prime digital sums.
MATHEMATICA
digQ[n_] := PrimeQ @ Total @ IntegerDigits[n]; aQ[n_] := CompositeQ[n] && AllTrue[Rest @ Divisors[n], digQ]; Select[Range[1000], aQ] (* Amiram Eldar, Nov 13 2019 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, May 24 2004
STATUS
approved