📜 ⬆️ ⬇️

Task

Puzzled by a simple task, puzzle over the whole room.

The essence of the task: to find the number, which, if you take the last digit and move to the beginning will be two times less than the resulting number. That is, abcde * 2 = bcdea. Digit capacity is not limited.

Can anyone know how to solve without resorting to brute force?

')

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


All Articles