OFFSET
1,4
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
For n = 16, set of such divisors is {4, 8, 16}; a(16) = 4*8*16 = 512.
MATHEMATICA
Table[Times@@Select[Divisors[n], !SquareFreeQ[#]&], {n, 60}] (* Harvey P. Dale, Nov 04 2020 *)
a[n_] := n^(DivisorSigma[0, n]/2) / (Times @@ FactorInteger[n][[;; , 1]])^(2^(PrimeNu[n]-1)); Array[a, 100] (* Amiram Eldar, Jul 06 2022 *)
PROG
(Haskell)
a178649 n = div (a007955 n) (a078599 n)
-- Reinhard Zumkeller, Feb 06 2012
(PARI) a(n) = my(p=1); fordiv(n, d, if (!issquarefree(d), p*=d)); p; \\ Michel Marcus, Jul 06 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Dec 25 2010
STATUS
approved