login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A319988
a(n) = 1 if n is divisible by the square of its largest prime factor, 0 otherwise.
11
0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
a(n) = 1 iff A071178(n) > 1.
a(n) = 1 if n > 1 and A006530(n)^2 divides n, otherwise 0.
a(n) = 1 iff n > 1 and A241917(n) = 0.
For n > 1, a(n) = A000035(A336124(n)) = A122111(n) mod 2. - Antti Karttunen, Jul 18 2020
MATHEMATICA
Join[{0}, Table[If[Divisible[n, FactorInteger[n][[-1, 1]]^2], 1, 0], {n, 2, 130}]] (* Harvey P. Dale, Sep 19 2022 *)
PROG
(PARI) A319988(n) = ((n>1)&&(factor(n)[omega(n), 2]>1));
CROSSREFS
Characteristic function of A070003.
Sequence in context: A268340 A355453 A336356 * A023969 A060039 A319710
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 04 2018
STATUS
approved