OFFSET
1,4
COMMENTS
a(1) = 1 and a(24) = 24. For each pair of primes p,q such that p < q < p^2, if n = p^3*q, then a(n) = n. There are others as well; e.g., a(40) = 40. - Don Reble, Aug 02 2002
Row products of the table in A161906. - Reinhard Zumkeller, Mar 08 2013
It appears that the fixed points belong to 3 categories: p^6 (A030516), p^3*q, or p*q*r. - Michel Marcus, May 16 2014
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
a(20) = 8. The divisors of 20 are 1,2,4,5,10 and 20. a(20) = 1*2*4 = 8.
MATHEMATICA
a[n_] := Times @@ Select[Divisors[n], #^2 <= n &]; Array[a, 100] (* Amiram Eldar, Jul 31 2022 *)
PROG
(Haskell)
a072499 = product . a161906_row -- Reinhard Zumkeller, Mar 08 2013
(PARI) a(n) = my(d = divisors(n)); prod(i=1, #d, if (d[i]^2 <= n, d[i], 1)); \\ Michel Marcus, May 16 2014
(Python)
from math import prod
from itertools import takewhile
from sympy import divisors
def A072499(n): return prod(takewhile(lambda x:x**2<=n, divisors(n))) # Chai Wah Wu, Dec 19 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 20 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 02 2003
STATUS
approved