OFFSET
1,1
FORMULA
There are respectively A137583 = 2, 2, 8, 8, 18, 18, 32, 32 terms from right to left.
MATHEMATICA
Table[Reverse@ Range[2 Ceiling[n/2]^2] + (# + 1) (3 + 2 #^2 + 4 # - 3 (-1)^#)/12 &[n - 1], {n, 8}] // Flatten (* Michael De Vlieger, Jul 20 2016 *)
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Paul Curtz, May 10 2008
STATUS
approved