We represent the pyramid number P6P<sub>6</sub> = 91 with cubes of unit volume, as shown, and inscribe in building a pyramid (in red). Let V6V<sub>6</sub> the volume of the inscribed pyramid. To obtain P6P<sub>6</sub> you may add to V6V<sub>6</sub> the excess external volume to the red pyramid. Such excess is: 2/3 for each cube placed on the central edge, and 1/2 for the cubes forming the steps of the building (enlarge for a better look of highlighted part). Then, calculating one has: