Pairing with a difference of 1 or 11
Let . In how many ways can be partitioned into pairs such that the two elements of every pair differ by exactly or exactly ?
Show hints (2)+
- Count perfect matchings of the graph on – with edges for differences and .
- Recurse: the smallest unmatched vertex pairs with or ; sum the branches to get .
Answer
Reveal answer →Final answer
145
Create a free account to see the full worked solution and track your progress.
Interview format: Market Maker, Systematic & Data-Driven Trading