How many functions one-to-one $\phi$ from $\{1,2,3,4,5,\}$ to $\{1,2,3,4,5\}$ such that $\phi(i)\neq i$ for $i=1,2,3,4,5$
my attempt:
the number of one-to-one functions $\phi$ from $\{1,2,3,4,5,\}$ to $\{1,2,3,4,5\}$ is 5!=120
and given condition is $\phi(i)\neq i$ for $i=1,2,3,4,5$ so these are 5
so number of one-to-one functions are $\phi$ from $\{1,2,3,4,5,\}$ to $\{1,2,3,4,5\}$ such that $\phi(i)\neq i$ for $i=1,2,3,4,5$
=120-5=55 is i am right