OFFSET
1,2
LINKS
Enrique Pérez Herrero, Table of n, a(n) for n = 1..5000
EXAMPLE
8 = 2^3 is divisible by just one (distinct) prime, 2 and 1 is a square, so 8 is in the sequence.
MAPLE
readlib(issqr): with(numtheory): select(x->issqr(nops(factorset(x))), [ seq(n, n=1..300) ]);
MATHEMATICA
Select[Range[100], IntegerQ[PrimeNu[#]^(1/2)]&] (* Enrique Pérez Herrero, Jul 07 2012 *)
PROG
(PARI) is(n)=issquare(omega(n)) \\ Charles R Greathouse IV, Mar 19 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved