OFFSET
1,1
COMMENTS
Numbers of the form p*m^r where p prime, m > 0 and r > 1.
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
EXAMPLE
MAPLE
filter:= proc(n) local E, ne, i, j;
if isprime(n) then return true fi;
E:= map(t->t[2], ifactors(n)[2]);
ne:= nops(E);
for j from 1 to ne do
if igcd(seq(`if`(i=j, E[i]-1, E[i]), i=1..ne)) > 1 then return true fi;
od;
false
end proc:
filter(1):= false:
select(filter, [$1..1000]); # Robert Israel, Aug 11 2014
PROG
(PARI) ispp(n) = (n==1) || ispower(n);
isok(n) = {my(f = factor(n)); for (i=1, #f~, p = f[i, 1]; if (ispp(n/p), return(1)); ); return (0); } \\ Michel Marcus, Aug 08 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 17 2014
STATUS
approved