OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
This sequence consists of the nonsquarefree terms of A122144.
EXAMPLE
99 = 3^2 * 11^1. 99 is therefore not squarefree, because it is divisible by 3^2. Also, the largest prime power dividing 99 is 11^1. This is a prime, so 99 is included in the sequence.
MAPLE
filter:= proc(n) local F, t, k;
F:= ifactors(n)[2];
if max(seq(t[2], t=F)) = 1 then return false fi;
k:= max[index]([seq(t[1]^t[2], t=F)]);
F[k, 2]=1
end proc:
select(filter, [$2..1000]); # Robert Israel, Jan 31 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 13 2008
EXTENSIONS
Extended by Ray Chandler, Jul 01 2009
STATUS
approved