Let [n] = {0,...,n-1}; a(n) is number of functions f:[n] -> [n] for which there exists an injection g:[n] -> [n+1] such that for j with 0 <= j < n, either g(j) = f(j) or g(j) = f(j)+1.

A028498

Let [n] = {0,...,n-1}; a(n) is number of functions f:[n] -> [n] for which there exists an injection g:[n] -> [n+1] such that for j with 0 <= j < n, either g(j) = f(j) or g(j) = f(j)+1.

Terms

    a(0) =1a(1) =4a(2) =24a(3) =186a(4) =1770a(5) =19980a(6) =260820a(7) =3863160a(8) =63980280a(9) =1171195200a(10) =23476068000a(11) =511296786000

External references