Without loss
of generality take the edges of the octahedron as 2 units.
Consider the square-based pyramid forming half the octahedron with
the 'special' vertex, let's call this
, as the vertex of this
pyramid. Then the plane of symmetry cutting through
and the
two coloured faces, cuts the pyramid in an isosceles triangle with
sides
and 2.
Now imagine the 'ring' of octahedra glued together! The plane
of symmetry for the ring contains the plane of symmetry of the
pyramid just described.
The angle at
in this plane of symmetry (to 3 decimal places) is
So there is 'room' for
octahedra in the ring.
Clearly this means the fifth octahedron can be fitted in but no more
so the answer is 5.