OFFSET
1,6
FORMULA
EXAMPLE
The divisors of 16 are {1,2,4,8,16} and the product of the divisors d of n such that sqrt(16) = 4 < d < 16 is 8, so a(16) = 8.
The divisors of 30 are {1,2,3,5,6,10,15,30} and the product of the divisors d of n such that sqrt(30) < d < 30 is 6*10*15 = 900, so a(30) = 900.
MATHEMATICA
a[n_] := Product[If[n < d^2 < n^2, d, 1], {d, Divisors[n]}]; Array[a, 100] (* Amiram Eldar, Jun 08 2023 *)
PROG
(PARI) a(n) = vecprod(select(x->((sqrt(n)<x) && (x<n)), divisors(n))); \\ Michel Marcus, Jun 08 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Jun 07 2023
STATUS
approved