login
A083252
Numbers n for which abs(A045763(n) - A073757(n)) = 5, i.e., signed difference of size of related and unrelated sets to n equals either 5 or -5.
1
5, 105, 315, 182835, 960075, 7838265
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
KEYWORD
nonn,more
AUTHOR
Labos Elemer, May 07 2003
EXTENSIONS
a(6) from Michel Marcus, Jul 29 2017
STATUS
approved