login
A323163
Greatest common divisor of product (1+(p^e)) and product p^(e-1), where p ranges over prime factors of n, with e corresponding exponent; a(n) = gcd(A034448(n), A003557(n)).
4
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 2, 1, 3, 1, 4, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 6, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 4, 1, 3, 1, 2, 1, 1, 1, 4, 1, 1, 3, 10, 1, 1, 1, 2, 1
OFFSET
1,12
LINKS
FORMULA
a(n) = gcd(A003557(n), A034448(n)).
PROG
(PARI)
A003557(n) = { my(f=factor(n)); for(i=1, #f~, f[i, 2] = f[i, 2]-1); factorback(f); };
A034448(n) = { my(f=factorint(n)); prod(k=1, #f~, 1+(f[k, 1]^f[k, 2])); }; \\ After code in A034448
A323163(n) = gcd(A003557(n), A034448(n));
CROSSREFS
Differs from A062760 for the first time at n=36, where a(36) = 2, while A062760(36) = 1.
Sequence in context: A325355 A219093 A062760 * A322318 A014649 A326568
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 09 2019
STATUS
approved