So, N is actually the number of spheres present in a crystal lattice. An isolated sphere cannot have any voids, but if we consider a single sphere in a lattice, then it makes two tetrahedral voids (by covering the triangles of the above and below layer). As regards to the single octahedral void, I am a little confused. I know that if three spheres are arranged in such a way that they form a triangular void pointing north, and another three spheres form a void pointing south, then if we put one set of three spheres on top of the other set, such that the individual void of each set is not covered, then we say that the two-triangle void is an octahedral void. Maybe the logic involved is this: suppose the upper layer has only 2 spheres (the lower layer contains its 3 spheres). Now until and unless the third sphere is also there in the first layer, the octahedral void cannot be formed. So each sphere in the lattice helps in completing an octahedral void. Perhaps this is why it is said that a single sphere generates a single octahedral void
plz approve if useful