Interactive
Pyramid Code Explorer
Adjust the level count and compare the shell rule against the solid rule. The shell rule reaches 365 at exactly fourteen levels.
- Shell count S(L)
- 365
- Solid count P(L)
- 1015
- Shell: S(L) = 1 + Σ(4k − 4)
- Solid: P(L) = L(L+1)(2L+1)/6