Skip to content

A135276

OEIS Lean4

a(0)=0, a(1)=1; for n>1, a(n) = a(n-1) + n^0 if n odd, a(n) = a(n-1) + n^1 if n is even.

offset: 0
codomain: ℕ