MathDB
Number of mappings

Source:

August 29, 2010
floor functioncombinatorics unsolvedcombinatorics

Problem Statement

Let SS be a kk-element set.
(a) Find the number of mappings f:S→Sf : S \to S such that \text{(i) } f(x) \neq x \text{ for } x \in S,   \text{(ii) } f(f(x)) = x \text{ for }x \in S.
(b) The same with the condition (i)\text{(i)} left out.