STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
(PARI) a(n) = 2 - issquare(n); \\ Amiram Eldar, Apr 17 2024
approved
editing
editing
approved
proposed
approved
editing
proposed
Array[2 - Boole[IntegerQ@ Sqrt@ #] &, 105, 0] (* Michael De Vlieger, Nov 03 2017 *)
proposed
editing