Atomic structure of several polytypes. Red circles and blue circles represent cations (e.g. Ga) and anions (e.g. As). The atomic structure of polytypes in Si can be obtained by replacing atoms with Si. Layers were
distinguished by alphabet A, B, and C.