The formula for the volume of a pyramidal square frustum was introduced by the ancient Egyptian mathematics in what is called the Moscow Mathematical Papyrus, written in the 13th dynasty (c. 1850 BC):