>>11526328Let and be the number of brothers and sisters, respectively, from the imp's perspective. The number of children is .
Now let and be the number of brothers and sisters, respectively, from one of the brothers' perspectives. The number of children is invariant to perspective, so .
The imp claims that and . Thus we have Solving over gives a family of solutions . Only is a valid option in the dialogue box.