A185013 Characteristic function of {3}.
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0
Links
Crossrefs
Programs
-
Maple
A185013:=n->1-abs(signum(3-n)); seq(A185013(n), n=0..100); # Wesley Ivan Hurt, Dec 13 2013
-
Mathematica
Table[KroneckerDelta[n, 3], {n, 0, 100}] (* Wesley Ivan Hurt, Dec 13 2013 *)
-
PARI
A185013(n)=n==3 \\ M. F. Hasler, Oct 30 2019
-
Python
def A185013(n): return int(n==3) # Chai Wah Wu, Feb 04 2022
Formula
a(n) = [n = 3], where [ ] is the Iverson bracket. - Wesley Ivan Hurt, Dec 13 2013
Comments