A324121 a(n) = gcd(n*d(n), sigma(n)), where d(n) = number of divisors of n (A000005) and sigma(n) = sum of divisors of n (A000203).
1, 1, 2, 1, 2, 12, 2, 1, 1, 2, 2, 4, 2, 8, 12, 1, 2, 3, 2, 6, 4, 4, 2, 12, 1, 2, 4, 56, 2, 24, 2, 3, 12, 2, 4, 1, 2, 4, 4, 10, 2, 48, 2, 12, 6, 8, 2, 4, 3, 3, 12, 2, 2, 24, 4, 8, 4, 2, 2, 24, 2, 8, 2, 1, 4, 48, 2, 6, 12, 16, 2, 3, 2, 2, 2, 4, 4, 24, 2, 2, 1, 2, 2, 112, 4, 4, 12, 4, 2, 18, 28, 24, 4, 8, 20, 36, 2, 3, 6, 1, 2, 24, 2, 2, 24
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10080
- Antti Karttunen, Data supplement: n, a(n) computed for n = 1..117800
Crossrefs
Programs
-
Mathematica
Table[GCD[n DivisorSigma[0,n],DivisorSigma[1,n]],{n,120}] (* Harvey P. Dale, Feb 17 2023 *)
-
PARI
A324121(n) = gcd(sigma(n),n*numdiv(n));
Comments