A2B
A2B3
A2B5
AB2
Number of atoms in the corners(A)=8×1/8=1
Number of atoms at face centers(B)=6×1/2=3
If one atom of B is missing from one of the face centers, then the number of B atoms becomes 3-1=2
Therefore, the formula of the compound is A2B