Codes with equal half-sums
A six-digit code uses digits – (leading zeros allowed, so there are codes). Call it balanced if . How many balanced codes are there?
Show hints (3)+
- Complement the last three digits ().
- Now count six digits with a single fixed sum.
- Stars and bars with inclusion-exclusion for digits above 9.
Answer
Reveal answer →Final answer
55252
Create a free account to see the full worked solution and track your progress.
Interview format: Numerical Reasoning Tests, Prop Trading