OFFSET
1,1
REFERENCES
Related to "A pyramid of rectangles", Carmelo DiStefano, Journal of Recreational Mathematics, vol. 30, p. 69
Solution to a problem posted by Carmelo DiStefano (see above): Kee-Wai Lau, Journal of Recreational Mathematics, vol. 31, pp. 79-80 (2002-2003)
EXAMPLE
(2^2 * (2+1) * (2+2))/6 = 8
(3^2 * (3+1) * (3+2))/6 = 30
MATHEMATICA
Table[(p^2 (p+1)(p+2))/6, {p, Prime[Range[40]]}] (* Harvey P. Dale, Nov 11 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Sep 30 2004
EXTENSIONS
More terms from Sam Alexander, Jan 06 2005
STATUS
approved