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
A.120
B.504
C.840
D.140