login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A055971
Numbers k such that k | (sigma(k) - d(k) - phi(k)) and k is not a prime or twice a prime.
1
1, 198, 294, 20280, 195320, 1782240, 3038720, 12190720
OFFSET
1,2
COMMENTS
a(9) > 10^10, if it exist. - Amiram Eldar, Apr 29 2024
MATHEMATICA
Do[ If[ And[ !PrimeQ[ n ], !PrimeQ[ n/2 ] ], If[ Mod[ DivisorSigma[ 1, n ]-DivisorSigma[ 0, n ]- EulerPhi[ n ], n ]==0, Print[ n ] ] ], {n, 1, 10^8} ]
PROG
(PARI) is1(k) = {my(f = factor(k)); !((sigma(f) - numdiv(f) - eulerphi(f)) % k); }
is(k) = !isprime(k) && !(!(k%2) && isprime(k/2)) && is1(k); \\ Amiram Eldar, Apr 29 2024
CROSSREFS
Cf. A000005 (d(n)), A000010 (phi), A000203 (sigma).
Sequence in context: A248534 A334403 A238230 * A075293 A083264 A202526
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Jul 19 2000
STATUS
approved