login
A380439
a(n) = 1 if A003557(n)^2 > n, otherwise 0, where A003557(n) is n divided by its squarefree kernel.
1
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1
OFFSET
1
FORMULA
a(n) = [A003557(n)^2 > n], where [ ] is the Iverson bracket.
MAPLE
f:= proc(n)
if n > convert(numtheory:-factorset(n), `*`)^2 then 1 else 0 fi
end proc:
map(f, [$1..200]); # Robert Israel, Jan 27 2025
PROG
(PARI)
A003557(n) = (n/factorback(factor(n)[, 1]));
A380439(n) = ((A003557(n)^2) > n);
CROSSREFS
Characteristic function of A059172.
Cf. A003557.
Sequence in context: A382424 A187946 A330549 * A342019 A323510 A044938
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 27 2025
STATUS
approved