login
A038866
(n+4)^3 - n^3.
0
124, 208, 316, 448, 604, 784, 988, 1216, 1468, 1744, 2044, 2368, 2716, 3088, 3484, 3904, 4348, 4816, 5308, 5824, 6364, 6928, 7516, 8128, 8764, 9424, 10108, 10816, 11548, 12304, 13084, 13888, 14716, 15568, 16444, 17344, 18268, 19216, 20188
OFFSET
1,1
FORMULA
a(n) = 12*n^2 + 48*n + 64. - Charles R Greathouse IV, Nov 12 2014
MATHEMATICA
Table[64+48 n+12 n^2, {n, 40}] (* or *) #[[5]]-#[[1]]&/@Partition[Range[40]^3, 5, 1] (* or *) LinearRecurrence[{3, -3, 1}, {124, 208, 316}, 40] (* Harvey P. Dale, Mar 01 2024 *)
PROG
(PARI) a(n)=12*n^2 + 48*n + 64 \\ Charles R Greathouse IV, Nov 12 2014
CROSSREFS
Sequence in context: A133606 A372680 A270864 * A043367 A023740 A031476
KEYWORD
nonn,easy
AUTHOR
STATUS
approved