x_A(n)=\left\{\begin{array}{ll}1,&n\in A,\\ 0,&n\not\in A.\end{array}\right.