A118537
Number of functions f: {1, 2, …, n} —> {1, 2, …, n} such that f(1) != f(2), f(2) != f(3), …, f(n-1) != f(n), f(n) != f(1).
offset: 2
codomain: ℕ
Declarations
Section titled “Declarations”- A118537computable
Number of functions f: {1, 2, …, n} —> {1, 2, …, n} such that f(1) != f(2), f(2) != f(3), …, f(n-1) != f(n), f(n) != f(1).