OFFSET
1,1
COMMENTS
First composite number is the 15th term, 95. [Corrected by Jacob Vecht, Jul 28 2020]
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..500
MATHEMATICA
a = 0; s = 0; Do[s = DivisorSigma[1, EulerPhi[n]] - EulerPhi[DivisorSigma[1, n]]; If[s>a, a = s; Print[n]], {n, 1, 10000}]
DeleteDuplicates[Table[{m, DivisorSigma[1, EulerPhi[m]]-EulerPhi[DivisorSigma[1, m]]}, {m, 1600}], GreaterEqual[#1[[2]], #2[[2]]]&][[;; , 1]] (* Harvey P. Dale, Aug 02 2023 *)
PROG
(PARI) { n=r=0; for (m=1, 10^9, x=sigma(eulerphi(m)) - eulerphi(sigma(m)); if (x > r, r=x; write("b065393.txt", n++, " ", m); if (n==500, return)) ) } \\ Harry J. Smith, Oct 18 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 05 2001
STATUS
approved