OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
2 is an element since 2 is a prime factor of 2; 12 is an element since 1 + 2 = 3 and 3 is a prime factor of 12.
MATHEMATICA
sdpfQ[n_]:=MemberQ[Transpose[FactorInteger[n]][[1]], Total[ IntegerDigits[ n]]]; Select[Range[2, 1100], sdpfQ] (* Harvey P. Dale, Sep 24 2012 *)
PROG
(PARI) ok(k)={my(s=sumdigits(k)); k % s==0 && isprime(s)} \\ Andrew Howroyd, Jun 28 2018
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Lisa O Coulter (lisa_coulter(AT)my-deja.com), Jul 14 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org) and Dean Hickerson, Jul 16 2001
STATUS
approved