Am I completely misunderstanding the problem, or is the math in the example solution wrong?
Bursting 1 first gives you 3×1×5=15 coins. <-- OK...
Bursting 3 first gives you 1×3×1=1 coins. (using left virtual balloon) <-- Should be 3?
A possibility would be bursting 1, then 5, then 3, which gives you a total of 3×1×5+3×5×1+1×3×1=33 coins. <-- Should be 3x1x5+1x5x1+1x3x1=24?