OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Distinct Prime Factors
EXAMPLE
9900 is a term because 9900 = 2^2 * 3^2 * 5^2 * 11 = prime(1)^2 * prime(2)^2 * prime(3)^2 * prime(5) = 1*prime(1) * 2*prime(2) * 3*prime(3) * 5*prime(5).
MATHEMATICA
a[n_] := Times @@ (PrimePi[#[[1]]] #[[1]] & /@ FactorInteger[n]); a[1] = 1; Select[Range[200000], a[#] == # &]
PROG
(PARI) isok(n) = {my(f=factor(n)); prod(k=1, #f~, primepi(f[k, 1])*f[k, 1]) == n; } \\ Michel Marcus, May 08 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 07 2018
STATUS
approved