I have to make all the numbers from 1-20 using the operators *,/,+,-,^ and the numbers 5,10,15,20.
Specifically, how I make 14 and 16?
Edit: Every number has to be used and only once. Parentheses are allowed. Operators can be used to any amount as required.
It's simply impossible. Proof: brute force
c++ code (Edit: sorry for the bump, but I've improved greatly the code I included to generalize operations [now accounts for exponents], so I can definitively say there is no way to make 14 and 16 based on a brute force search):