

Similarly, one might guess that the pyramidal numbers are proportional to the triangular numbers and divide a pyramidal number by its corresponding triangular number. One again gets a linear sequence of numbers and the factor can be easily determined.
So it is not always obvious how a particular formula was arrived at. The formulas found in the ancient papyri were probably intended for use by scribes functioning as clerks and probably do not comprise a mathematical treatise. The ultimate source of the procedures may have been lost with the passage of time and what we now have may have been copied and recopied over thousands of years.
The sum of n 1s is n. The sum of 1 through n is n(n+1)/2. So it would seem likely that the sum we are looking for is some cubic expression and by substituting k-1 for k we get the prior sum and the difference.
We can equate the coefficients of k on both sides of the second equals sign to obtain equations for the coefficients.
Note that only unit fractions are needed for the sum. Finally we deduce the formula for the total number of blocks in a pyramid of n rows.
If we assume that the blocks are square in shape with width w and height h the volume of the pyramid is

which shows that one gets a best fit for 11/7 with a scale factor of 40 cubits or 70 feet. This implies that in Khufu's time,
1 royal foot = 299.35 mm
1 royal cubit = 523.86 mm
which is very close to the values for the cubit stick from the 18th Dynasty.
An interesting coincidence is that,
11/7 = 1.5714
π/2 = 1.5708




