login
A083251
Numbers m such that abs(A045763(m) - A073757(m)) = 2, i.e., signed difference of size of related and unrelated sets to n equals either 2 or -2.
4
2, 48, 72, 80, 112, 176, 208, 272, 304, 368, 464, 496, 592, 656, 688, 752, 848, 944, 976, 1072, 1136, 1168, 1264, 1328, 1424, 1552, 1616, 1648, 1712, 1744, 1808, 2032, 2096, 2192, 2224, 2384, 2416, 2512, 2608, 2672, 2768, 2864, 2896
OFFSET
1,1
COMMENTS
In contrast to sister sequences A083250 and A083252, the terms here must be even. Writing m = 2^k * s with k > 0 and odd s, we get a bound s - phi(s) <= 2*tau(s). On the other hands, for a composite odd s, we have s - phi(s) >= s/3, while s/3 <= 2*tau(s) < 4*sqrt(s) implies that s < 144. By direct check, we get that m = 72 (with s=9 and k=3), is the only term with composite s. For noncomposite s, we get a standalone term m = 2, and a series m = 16 * p for any prime p > 2. - Max Alekseyev, Nov 17 2025
LINKS
FORMULA
For n >= 4, a(n) = 16 * prime(n-1), as originally proved by Lawrence Sze. - Ralf Stephan, Nov 16 2004; updated by Max Alekseyev, Nov 17 2025
EXAMPLE
For n=2896: d=10 divisors, r=1440 coprimes, u=1447 unrelated or n - u = r + d - 1 = 1449 related numbers to n; thus abs(1449 - 1447) = 2.
MATHEMATICA
Do[r=EulerPhi[n]; d=DivisorSigma[0, n]; u=n-r-d+1; df=2*u-n; If[Equal[Abs[df], 2], Print[n(*, {d, r, u}*)]], {n, 1, 3000}]
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, May 07 2003
STATUS
approved