OFFSET
1,30
LINKS
EXAMPLE
For n = 40 = 2^3 * 5^1, sigma(2^3) = 15 and sigma(5) = 6, so we have one such prime power pair that the gcd of their sum of divisors is larger than one (in this case gcd(15,6) = 3), thus a(40) = 1.
For n = 120 = 2^3 * 3^1 * 5^1, possible pairs are [sigma(8), sigma(3)], [sigma(8), sigma(5)] and [sigma(3), sigma(5)], with gcd(15,4) = 1, gcd(15,6) = 3 and gcd(4,6) = 2, thus there are two pairs that are not coprime, and a(120) = 2.
PROG
(PARI) A336562(n) = if(1==n, 0, my(f=factor(n), s=0); for(i=1, #f~, for(j=1+i, #f~, if(1!=gcd(sigma(f[i, 1]^f[i, 2]), sigma(f[j, 1]^f[j, 2])), s++))); (s));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 27 2020
STATUS
approved