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

A323409
Greatest common divisor of Product (p_i^e_i)-1 and n, when n = Product (p_i^e_i); a(n) = gcd(n, A047994(n)).
6
1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 6, 1, 2, 1, 1, 1, 2, 1, 4, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 12, 1, 2, 3, 4, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 1, 4, 1, 2, 5, 14, 3, 2, 1, 12, 1, 2, 3, 1, 1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 3, 2, 1, 6, 1, 20, 1, 2, 1, 12, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 4, 1, 2, 1, 4, 3
OFFSET
1,6
COMMENTS
Records 1, 2, 6, 12, 14, 20, 24, 84, 120, 168, 240, 468, 720, 1008, 1240, 1488, 1632, 7440, 9360, 14880, 32640, ... occur at n = 1, 6, 12, 36, 56, 80, 144, 168, 240, 504, 720, 1404, 3600, 4032, 4960, 8928, 13056, 14880, 28080, 44640, 65280, ...
FORMULA
a(n) = gcd(n, A047994(n)), where A047994 is unitary phi.
PROG
(PARI)
A047994(n) = { my(f=factor(n)~); prod(i=1, #f, f[1, i]^f[2, i]-1); };
A323409(n) = gcd(n, A047994(n));
CROSSREFS
Cf. also A009195, A323166, A323406.
Sequence in context: A351943 A114717 A318670 * A080388 A330742 A104308
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 15 2019
STATUS
approved