Skip to content

A256137

OEIS Lean4

a(2) = 1; a(3) = 4; for n >= 4, a(n) = 2 + Sum_{i=4..n} d(i), where d(i) = i for even i, d(i) = i-3 for odd i.

offset: 2
codomain: ℕ