Square Pyramidal Calculation

Non-Negative Number (n) =
 
 
 
Square Pyramidal Number (Pn) =