Table[floor((3n^2+3n+(-1)^n n + 4)/8),{n,0,16}]