Skip to content

A079962

OEIS Lean4

Number of permutations satisfying -k <= p(i) - i <= r and p(i) - i not in I, i=1..n, with k=1, r=5, I={1,3}.

offset: 0
codomain: ℕ