login
A098996
p(p+1)(2p+1) where p is prime.
1
30, 84, 330, 840, 3036, 4914, 10710, 14820, 25944, 51330, 62496, 105450, 142926, 164604, 214320, 306234, 421260, 465186, 615060, 731016, 794094, 1004880, 1164324, 1433790, 1853670, 2091306, 2217384, 2484540, 2625810, 2924214
OFFSET
1,1
LINKS
EXAMPLE
If p=7, 7*(7+1)*(2*7+1) = 840.
MATHEMATICA
#(#+1)(2#+1)&/@Prime[Range[30]] (* Harvey P. Dale, Jun 23 2020 *)
PROG
(Magma) [(p*(p+1)*(2*p+1)): p in PrimesUpTo(200)]; // Vincenzo Librandi, Feb 04 2011
CROSSREFS
Cf. A034953.
Sequence in context: A241025 A326309 A326838 * A130862 A070756 A058903
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Nov 05 2004
EXTENSIONS
More terms from Klaus Brockhaus, Nov 09 2004
STATUS
approved