login
A329036
Number of common divisors of n and A122111(n).
3
1, 2, 1, 1, 1, 4, 1, 1, 3, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 6, 2, 2, 1, 2, 1, 2, 1, 3, 1, 8, 1, 1, 2, 2, 1, 2, 1, 2, 2, 3, 1, 4, 1, 3, 2, 2, 1, 2, 1, 2, 2, 3, 1, 1, 1, 8, 2, 2, 1, 4, 1, 2, 1, 1, 1, 4, 1, 3, 2, 4, 1, 2, 1, 2, 6, 3, 1, 4, 1, 3, 1, 2, 1, 12, 1, 2, 2, 4, 1, 4, 1, 3, 2, 2, 1, 2, 1, 1, 1, 1, 1, 4, 1, 4, 4
OFFSET
1,2
FORMULA
a(n) = A000005(A280491(n)) = A000005(gcd(n, A122111(n))).
a(n) = 1+A001222(A329042(n)) = 1+A001222(A329043(n)).
PROG
(PARI)
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A122111(n) = if(1==n, n, prime(bigomega(n))*A122111(A064989(n)));
A280491(n) = gcd(n, A122111(n));
A329036(n) = numdiv(A280491(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 08 2019
STATUS
approved