3. Let the set
$$
A=\left\{y \left\lvert\, y=\sin \frac{k \pi}{4}(k=0, \pm 1, \pm 2, \cdots)\right.\right\} \text {. }
$$

Then the number of proper subsets of set $A$ is $\qquad$ (2009, Tongji University Independent Admission Examination)
Hint: Calculate $A=\left\{0, \pm 1, \pm \frac{\sqrt{2}}{2}\right\}$. The number of its proper subsets is $2^{5}-1=31$.