login
A111748
a(n) = 1 if n-th composite number is squarefree, otherwise a(n) = 0.
0
0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0
OFFSET
1,1
MATHEMATICA
If[SquareFreeQ[#], 1, 0]&/@Select[Range[200], CompositeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 27 2018 *)
CROSSREFS
Sequence in context: A327202 A357448 A083651 * A282244 A286691 A359172
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Nov 19 2005
EXTENSIONS
More terms from Harvey P. Dale, Apr 27 2018
STATUS
approved