OFFSET
1
LINKS
FORMULA
MATHEMATICA
a[n_] := If[MemberQ[{{4}, {1, 2}, {2, 1}}, FactorInteger[n][[;; , 2]]], 1, 0]; Array[a, 100] (* Amiram Eldar, May 13 2022 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2022
STATUS
approved