OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(n) = Product_{d|n} A080304(d). - Antti Karttunen, Aug 06 2018
EXAMPLE
For n = 30 = 2*3*5, all its divisors [1, 2, 3, 5, 6, 10, 15, 30] are squarefree, but only 1, 6, 10 and 15 have an even number of prime factors, thus a(30) = 1*6*10*15 = 900. - Antti Karttunen, Aug 06 2018
PROG
(PARI) A166142(n) = { my(m=1); fordiv(n, d, m *= if(moebius(d) > 0, d, 1)); (m); }; \\ Antti Karttunen, Aug 06 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Mats Granvik, Oct 08 2009
EXTENSIONS
Alternative definition added to the name by Antti Karttunen, Aug 06 2018
STATUS
approved