Skip to main content

Discrete Mathematics · Induction, recursion, and invariants

[Honors] Using inclusion-exclusion, find the number of permutations π of {1,2,…,9} such…

Problem

[Honors] Using inclusion-exclusion, find the number of permutations \(\pi\) of \(\{1,2,\ldots,9\}\) such that no even integer appears in its natural position: that is, \(\pi(2)\ne 2\), \(\pi(4)\ne 4\), \(\pi(6)\ne 6\), and \(\pi(8)\ne 8\). (Odd integers are unrestricted.)

Hint

Only four positions are restricted; this is inclusion-exclusion on those four “forbidden fixed points,” not a full derangement of nine items.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Discrete Mathematics sample problem: Try the free sample problem.

More Discrete Mathematics practice problems

Back to Discrete Mathematics

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.