a grocer stacks oranges in a four-sided pyramid that is 7 layers high. How many oranges are in the pile?

The explicit formula for a pyramidal sequence is P(n)=n(n+1)(2n+1)/6