OFFSET
1,2
COMMENTS
a(n) = pod(n) for numbers n: 1, 6, 30, 66, 84, 102, 120, 210, 270, 318, 330, 420, 462, 510, 546, 570, 642, ...
FORMULA
a(p) = p^2 + p for p = primes (A000040).
EXAMPLE
a(6) = lcm(tau(6), sigma(6), pod(6)) = lcm(4, 12, 36) = 36.
MATHEMATICA
a[n_] := LCM @@ {(d = DivisorSigma[0, n]), DivisorSigma[1, n], n^(d/2)}; Array[a, 50] (* Amiram Eldar, Aug 01 2020 *)
PROG
(Magma) [LCM([#Divisors(n), &+Divisors(n), &*Divisors(n)]): n in [1..100]];
(PARI) a(n) = my(d=divisors(n)); lcm([#d, vecsum(d), vecprod(d)]); \\ Michel Marcus, Aug 12 2020
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jaroslav Krizek, Aug 01 2020
STATUS
approved