所有的整数都可以表示成下列的三种形式之一:3k,3k+1,3k-1.其中k是任意整数.
1、当n=3k时,sin(nπ/3)=sin(kπ)=0.
2、当n=3k+1时,
若k为偶数,sin(nπ/3)=sin(kπ+π/3)=sin(π/3)=√3/2,
若k为奇数,sin(nπ/3)=sin(kπ+π/3)=-sin(π/3)=-√3/2.
3、当n=3k-1时,
若k为偶数,sin(nπ/3)=sin(kπ-π/3)=-sin(π/3)=-√3/2,
若k为奇数,sin(nπ/3)=sin(kπ-π/3)=sin(π/3)=√3/2.
∴A={0,-√3/2,√3/2}
∴B可以是{0}、{-√3/2}、{√3/2}、{0,-√3/2}、{0,√3/2}、{-√3/2,√3/2}、Φ.
即B的个数是7个.