Pairing with a difference of 1 or 11

Let S={1,2,3,…,22}S = \{1, 2, 3, \dots, 22\}. In how many ways can SS be partitioned into 1111 pairs such that the two elements of every pair differ by exactly 11 or exactly 1111?

Show hints (2)+
  1. Count perfect matchings of the graph on 11–2222 with edges for differences 11 and 1111.
  2. Recurse: the smallest unmatched vertex pairs with +1+1 or +11+11; sum the branches to get 145145.

Answer

Reveal answer →

145

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Systematic & Data-Driven Trading

Related questions