OFFSET
1,9
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..11550
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
PROG
(PARI)
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
(Python)
from math import gcd
from sympy import nextprime, divisor_sigma
def A355815(n):
m, p, c = 1, 2, n
while c:
c, a = divmod(c, p)
m *= p**a
p = nextprime(p)
return gcd(m, n//gcd(n, divisor_sigma(n)-1)) # Chai Wah Wu, Jul 18 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 18 2022
STATUS
approved