A tower is built from exactly 2019 equal rods.

Starting with 3 rods as a triangular base, more rods are added to form a regular octahedron with this base as one of its faces.

The top face is then the base of the next octahedron.

The diagram shows the construction of the first three octahedra.

How many octahedra are in the tower when it is finished?