Skip to content

A290168

OEIS Lean4

If n is even then a(n) = n^2*(n+2)/8, otherwise a(n) = (n-1)*n*(n+1)/8.

offset: 0
codomain: ℕ