OFFSET
1,1
COMMENTS
a(n) = the product of the radicals of all prime powers whose totient equals n. The terms are successive quotients of the terms of A392539. - Hal M. Switkay, Jan 25 2026
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
Manjul Bhargava, The factorial function and generalizations, Amer. Math. Monthly, 107 (Nov. 2000), 783-799, (page 793).
Angelo B. Mingarelli, Abstract factorials, Notes on Number Theory and Discrete Mathematics, Vol. 19, 2013, No. 4, 43-76, (page 54).
FORMULA
a(n) = 1 for n > 1 and odd.
a(n) > 1 is the product of at most two primes.
EXAMPLE
a(100) = 505 = 5 * 101 because 100 = (5^2 * (5 - 1)) = 100^0 * (101 - 1).
PROG
(SageMath)
Max = 100 # Adjust for a larger range.
def a(n):
f = 1
for m in range(Max):
for p in prime_range(2, Max):
if p^m*(p-1) == n: f *= p
return f
print([a(n) for n in range(1, 80)])
(PARI) a(n) = {my(f=factor(n), r=1); if(isprime(n+1), r=n+1); for(i=1, #f~, my([p, e]=f[i, ]); if(n/p^e==p-1, r*=p)); r} \\ Andrew Howroyd, Jan 25 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Apr 05 2025
STATUS
approved
