

A098741


a(n) = (p^2*(p+1)*(p+2))/6 where p is nth prime.


0



8, 30, 175, 588, 3146, 5915, 16473, 25270, 52900, 130355, 169136, 338143, 505981, 610170, 865928, 1390455, 2123410, 2422371, 3510398, 4415916, 4929325, 6740280, 8197910, 10812165, 15214353, 17861951, 19308380, 22462938, 24177835, 27900265
(list;
graph;
refs;
listen;
history;
text;
internal format)



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): KeeWai Lau, Journal of Recreational Mathematics, vol. 31, pp. 7980 (20022003)


LINKS

Table of n, a(n) for n=1..30.


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

Sequence in context: A229374 A215471 A221145 * A027146 A302409 A226968
Adjacent sequences: A098738 A098739 A098740 * A098742 A098743 A098744


KEYWORD

nonn


AUTHOR

Parthasarathy Nambi, Sep 30 2004


EXTENSIONS

More terms from Sam Alexander, Jan 06 2005


STATUS

approved



