Statement

The nn-th square pyramidal number is the sum of the first nn squares: Pyrn=12+22++n2=n(n+1)(2n+1)6\mathrm{Pyr}_n=1^2+2^2+\dots+n^2=\dfrac{n(n+1)(2n+1)}{6}. Compute Pyr6\mathrm{Pyr}_6.