|
|
A061804
|
|
a(n) = 2*n*(2*n^2 + 1).
|
|
5
|
|
|
0, 6, 36, 114, 264, 510, 876, 1386, 2064, 2934, 4020, 5346, 6936, 8814, 11004, 13530, 16416, 19686, 23364, 27474, 32040, 37086, 42636, 48714, 55344, 62550, 70356, 78786, 87864, 97614, 108060, 119226, 131136, 143814, 157284, 171570, 186696, 202686, 219564
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Sum of n-th row of triangle of even numbers: (2, 4), (6, 8, 10, 12), (14, 16, 18, 20, 22, 24), (26, 28, 30, 32, 34, 36, 38, 40), ..., where n-th row contains 2n terms.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(3) = 114 = 14 + 16 + 18 + 20 + 22 + 24.
|
|
MAPLE
|
|
|
MATHEMATICA
|
LinearRecurrence[{4, -6, 4, -1}, {0, 6, 36, 114}, 40] (* Harvey P. Dale, Feb 04 2023 *)
|
|
PROG
|
(PARI) { for (n=0, 1000, write("b061804.txt", n, " ", 2*n*(2*n^2 + 1)) ) } \\ Harry J. Smith, Jul 28 2009
(Python)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org) and Alford Arnold, May 29 2001
|
|
STATUS
|
approved
|
|
|
|