editing
approved
editing
approved
a(n)={C[(n-2)^2,n] mod 2}, with n>=1. - Paolo P. Lava, Jan 22 2009
approved
editing
proposed
approved
editing
proposed
a(n)={C[(n-2)^2,n] mod 2}, with n>=1 [From _. - _Paolo P. Lava_, Jan 22 2009]
Multiplicative with a(2^2) = 1, a(2^e) = 0 for e<>2, a(p^e) = 0 for odd prime p. - Andrew Howroyd, Aug 05 2018
(PARI) a(n)={n==1 || n==4} \\ Andrew Howroyd, Aug 05 2018
nonn,mult
approved
editing
editing
approved
PadRight[{1, 0, 0, 1}, 120, 0] (* Harvey P. Dale, Aug 06 2012 *)
approved
editing
a(n)={C[(n-2)^2,n] mod 2}, with n>=1 [From _Paolo P. Lava (paoloplava(AT)gmail.com), _, Jan 22 2009]
_Mats Granvik (mats.granvik(AT)abo.fi), _, Jan 06 2009
a(n)={C[(n-2)^2,n] mod 2}, with n>=1 [From Paolo P. Lava (pplpaoloplava(AT)splgmail.atcom), Jan 22 2009]