OFFSET
1,1
LINKS
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved