OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
a = {30}; Do[ If[ IntegerQ[ n / Apply[ Plus, First[ Transpose[ FactorInteger[n]]]]] && Mod[ n, n - EulerPhi[n]] != 0 && First[ Union[ Mod[n, a]]] != 0, a = Append[a, n]], {n, 1, 10000} ]; a
PROG
(PARI) f(n)=my(f=factor(n)[, 1]); #f[, 1]>1 && n%sum(i=1, #f, f[i])==0
list(lim)=my(v=List(), p=2); forprime(q=p+1, nextprime(lim), for(n=p+1, q-1, if(f(n), for(i=1, #v, if(n%v[i]==0, next(2))); listput(v, n))); p=q); Vec(v) \\ Charles R Greathouse IV, Sep 08 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v and Vladeta Jovovic, Dec 12 2001
STATUS
approved