📜 ⬆️ ⬇️

Task 1999

I read the article Useful tickets and remembered the distant 1999, when I found a rather entertaining puzzle somewhere in a magazine. Immediately make a reservation that the condition is similar to the above article, but there are nuances. Its meaning in the following:

Using the digits of the number 1999, you need to make as many consecutive numbers as possible. In this case, you can:


Here is the seed for the first 7 numbers:
  1. = 19-9-9
  2. = 1 9 +9: 9
  3. = 1 * 9: 9 * sqrt (9)
  4. = 1 + 9-9 + sqrt (9)
  5. = 1 + 9: 9 + sqrt (9)
  6. = 1 9 * 9-sqrt (9)
  7. = 19-9-sqrt (9)
  8. = ...

Then, who wants to strain the brain, can try to reach hundreds. :)
')
UPD: One of the comments suggested using factorial, I remember such a thing, so I add to the condition:

Since there was a small debate about the use of the "-" sign in front of the unit, and in the condition of a restriction on this was not, it is allowed to use a minus.

At the moment, the number 68 remains vacant.

Source: https://habr.com/ru/post/42889/


All Articles