OFFSET
0,3
COMMENTS
Also number of central divisors of n, if n >= 1. - Omar E. Pol, Feb 10 2011.
Length of n-th row in the array of A207375, if n >= 1. - Omar E. Pol, Feb 27 2012
LINKS
FORMULA
MATHEMATICA
Array[2 - Boole[IntegerQ@ Sqrt@ #] &, 105, 0] (* Michael De Vlieger, Nov 03 2017 *)
PROG
(PARI) a(n) = 2 - issquare(n); \\ Amiram Eldar, Apr 17 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Apr 15 2010
STATUS
approved