How Do You Make 100 out of 123456789?

Got questions about How Do You Make 100 out of 123456789? Read the latest insights for easy understanding.

Our numbers 1 through 9 are. That’s almost half of 100 so we can multiply that by 2 and get 90 and now we can add back in another 1 and 9 to give the extra 10 needed to reach 100. So if we go back over what we have so far. Well, the way I did this is I first looked at how much adding the numbers 1 through nine would be.

How to make the answer 100 with numbers 1 to 9?

With numbers 1 to 9, we have to make the answer 100. How? You have numbers 1,2,3,4,5,6,7,8,9. You cannot change their sequence. You can only use + or -. You can also join two or three digits but only in order. eg: 12, 23, 34, 45, 56, 67, 78, 89 etc. You cannot use a number twice. Solve it. Who are the experts?

How to generate list of numbers from 1 to 100?

If you want your integers to be bound between two integers (i.e. start with something other than 1), you can use something like this: with bnd as (select 4 lo, 9 hi from dual) select (select lo from bnd) – 1 + level r from dual connect by level <= (select hi-lo from bnd);

How to select numbers from 1 to 100 in Oracle?

Using Oracle’s sub query factory clause: “WITH”, you can select numbers from 1 to 100: Peter’s answer is my favourite, too. If you are looking for more details there is a quite good overview, IMO, here. Especially interesting is to read the benchmarks.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest