9514 1404 393
Answer:
- (5 +4 +3)×2 -1 = 23
- 5 +(4×3×2) -1 = 28
- 5×(4 +3 +2 -1) = 40
Explanation:
The above expressions give the values you requested. I was able to form all integers 1-40 except 39.
_____
Additional comment
I used a computer program to evaluate different sequences of operations. Attached is one result for each integer 1-40 except 39. The notation here is postfix, but is not difficult to translate to infix with parentheses. Starting with the left-most operation (op), the pattern (a, b, op) → (a op b) is used. For example, the listing for 38 is 543+*21++, so this becomes 5*(4+3)+(2+1) = 38.