Formula of the compound based on occupancy of lattice voids
Since B forms an HCP lattice, it's z=6 (z is the number of atoms power unit cell of the lattice) then the ratio comes out to be 8:6 that gives us A4B3.