smallest integer not obtainable from {2,3,4,5,6,7,8} (Mathematica)
I'm trying to solve the following problem using Mathematica: What is the smallest positive integer not obtainable from the set {2,3,4,5,6,7,8} via arithmetic operations {+,-,*,/} , exponentiation, and parentheses. Each number in the set must be used exactly once. Unary operations are NOT allowed (1 cannot be converted to -1 with without using a 0, for example). For example, the number 1073741824000000000000000 is obtainable via (((3+2)*(5+4))/6)^(8+7) . I am a beginner with Mathematica. I have written code that I believe solves the problems for the set {2,3,4,5,6,7} (I obtained 2249 as my