Digits with distinct pairwise sums
What is the largest for which there exists an -digit number whose digits are distinct and have all distinct pairwise sums? (For , e.g. works since , , are all different.)
Show hints (2)+
- Two disjoint pairs have equal sums exactly when they have equal differences.
- A difference can appear at most twice (as a chain ), and only once if . Count how many pairs that allows.
Answer
Reveal answer →Final answer
5
Create a free account to see the full worked solution and track your progress.
Interview format: Market Maker, Systematic & Data-Driven Trading