OFFSET
1,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n for squarefree numbers (A005117).
EXAMPLE
The divisors of 12 that are divisible by both 2 and 3 are 6 and 12. So a(12) = 6 * 12 = 72.
MATHEMATICA
Table[Sqrt[(n*Product[If[PrimeQ[d], d, 1], {d, Divisors[n]}])^Product[ FactorInteger[n][[k, 2]], {k, 1, Length[FactorInteger[n]]}]], {n, 1, 100}] (* Vaclav Kotesovec, Jun 15 2019 *)
PROG
(Magma) [1] cat [&*[d: d in Divisors(n) | d gt 1 and #[c: c in Divisors(d) | IsPrime(c)] eq #[d: d in Divisors(n) | IsPrime(d)]]: n in [2..100]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 22 2019
STATUS
approved