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”).

A373246
Greatest common divisor of n and its prime shadow: a(n) = gcd(n, A181819(n)).
5
1, 2, 1, 1, 1, 2, 1, 1, 3, 2, 1, 6, 1, 2, 1, 1, 1, 6, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 9, 1, 2, 1, 10, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 12, 1, 2, 1, 2, 1, 6, 1, 2, 1, 2, 1, 2, 1, 2, 3, 1, 1, 2, 1, 2, 1
OFFSET
1,2
LINKS
FORMULA
a(n) = gcd(A181819(n), A373247(n)).
a(n) = A181819(n) / A373249(n).
PROG
(PARI)
A181819(n) = factorback(apply(e->prime(e), (factor(n)[, 2])));
A373246(n) = gcd(n, A181819(n));
CROSSREFS
Cf. A325755 [numbers k for which a(k) = A181819(k)], A353566 (their characteristic function).
Sequence in context: A118107 A236548 A249949 * A155798 A055652 A290084
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 29 2024
STATUS
approved