OFFSET
1,1
COMMENTS
Terms are 3*5*17*23, 3*5*23*29, 3*5*17*59, 3*5*17*113, ...
Terms are not prime powers as cototient(p^k) = p^(k-1) which divides phi(n!). - Chai Wah Wu, Aug 30 2017
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..45
EXAMPLE
5865 is a term because 5865 - phi(5865) = 3049 and phi(5865!) is not divisible by 3049.
45645 is a term because 45645 - phi(45645) = 22861 and phi(45645!) is not divisible by 22861.
PROG
(PARI) valp(n, p)=my(s); while(n\=p, s+=n); s
is(n)=my(m=n-eulerphi(n), t, u); forprime(p=2, n, t=valp(n, p)-1; if(t && (u=valuation(m, p)), m/=p^min(t, u); if(m==1, return(0))); t=gcd(m, p-1); if(t>1, m/=t; if(m==1, return(0)))); m>1 \\ Charles R Greathouse IV, Aug 27 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 27 2017
EXTENSIONS
a(8)-a(22) from Charles R Greathouse IV, Aug 27 2017
a(23)-a(29) from Chai Wah Wu, Aug 29 2017
a(30)-a(33) from Chai Wah Wu, Aug 30 2017
STATUS
approved