229692domain: NAppears in sequencesNumber of permutations satisfying -k<=p(i)-i<=r and p(i)-i not in I, i=1..n, with k=3, r=3, I={0,2}.at n=18A079993a(n) = n^5 - n^4 + n^3 - n^2 + n.at n=12A191012