OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
a(p) = 1 for p = odd primes (A065091).
EXAMPLE
a(6) = gcd(tau(1), pod(1)) * gcd(tau(2), pod(2)) * gcd(tau(3), pod(3)) * gcd(tau(6), pod(6)) = gcd(1, 1) * gcd(2, 2) * gcd(2, 3) * gcd(4, 36) = 1 * 2 * 1 * 4 = 8.
MATHEMATICA
a[n_] := Product[GCD[DivisorSigma[0, d], d^(DivisorSigma[0, d]/2)], {d, Divisors[n]}]; Array[a, 100] (* Amiram Eldar, May 09 2020 *)
PROG
(Magma) [&*[GCD(#Divisors(d), &*Divisors(d)): d in Divisors(n)]: n in [1..100]]
(PARI)
pod(n) = vecprod(divisors(n));
a(n) = my(d=divisors(n)); prod(k=1, #d, gcd(numdiv(d[k]), pod(d[k]))); \\ Michel Marcus, May 09-11 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 09 2020
STATUS
approved