MathDB
2017 Discrete #8

Source:

October 12, 2022
2017Discrete Math Test

Problem Statement

Let S={1,2,3,4,5,6}S=\{1,2,3,4,5,6\}. Compute the number of functions f:S→Sf:S\rightarrow S such that f(f(f(s)))=2f(f(f(s)))=2 if ss is odd and f(f(f(s)))=1f(f(f(s)))=1 if ss is even.