login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A353666
a(n) = gcd(n, A351546(n)).
4
1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 4, 1, 2, 3, 1, 1, 1, 1, 2, 1, 2, 1, 4, 1, 2, 1, 28, 1, 2, 1, 1, 3, 2, 1, 1, 1, 2, 1, 10, 1, 2, 1, 4, 3, 2, 1, 4, 1, 1, 3, 2, 1, 2, 1, 8, 1, 2, 1, 4, 1, 2, 1, 1, 1, 2, 1, 2, 3, 2, 1, 1, 1, 2, 1, 4, 1, 2, 1, 2, 1, 2, 1, 28, 1, 2, 3, 4, 1, 2, 7, 4, 1, 2, 5, 4, 1, 1, 3, 1, 1, 2, 1, 2, 3
OFFSET
1,6
FORMULA
a(n) = gcd(n, A351546(n)).
a(n) = n / A353667(n) = A351546(n) / A353668(n).
PROG
(PARI)
A003961(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
A351546(n) = { my(f=factor(sigma(n)), u=A003961(n)); prod(k=1, #f~, f[k, 1]^((0!=(u%f[k, 1]))*f[k, 2])); };
A353666(n) = gcd(n, A351546(n));
CROSSREFS
Differs from A353688 for the first time at n = 28, 30, 40, 60, 66, 84, 90, 102, 120, ...
Sequence in context: A104306 A074389 A353688 * A051119 A159269 A186728
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 04 2022
STATUS
approved