Skip to content

A022856

OEIS Lean4

a(n) = n-2 + Sum_{i = 1..n-2} (a(i+1) mod a(i)) for n >= 3 with a(1) = a(2) = 1.

offset: 1
codomain: ℕ