Use of applied mathematics during hiring process for developers

What qualities does this task helps to demonstrate?

  1. ability to spot a trick question
  2. -
  3. Combinatorics? Mental coin weighting skills? Theoretical solving of creative problems?
  4. logic + how good you are in critic situations (especially if it would be in job interview)
  5. logic
  6. Logic
  7. Deductive reasoning
  8. Algorithmic analysis of a math problem
  9. common sense, logic, reasoning