OFFSET
1,1
COMMENTS
a(7), if it exists, is > 10^9. - Vaclav Kotesovec, Sep 06 2019
EXAMPLE
For n = 960075: d=36 divisors, r=480000 coprimes, u=480040
unrelated; n - u = r + d - 1 = 480035 related numbers to m;
thus abs(480040 - 480035) = 5.
MATHEMATICA
Do[r=EulerPhi[n]; d=DivisorSigma[0, n]; u=n-r-d+1; df=2*u-n; If[Equal[Abs[df], 5], Print[n(*, {d, r, u}*)]], {n, 1, 3000}]
PROG
(PARI) isok(n) = abs(n-2*eulerphi(n)-2*numdiv(n)+2) == 5; \\ Michel Marcus, Jul 29 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, May 07 2003
EXTENSIONS
a(6) from Michel Marcus, Jul 29 2017
STATUS
approved