A number is composed of 10 digits containing all digits from 0 to 9 once in a certain order. This number has the following property:
If you split this number to 4 parts in the following way:
Part 1: is the number which contains the first 4 digits.
Part 2: is the number which contains the following 3 digits.
Part 3: is the number which contains the following 2 digits.
Part 4: is the number which contains the last digit.
If you add the numbers in Part 1, Part 2 and Part 3 you get 2019.
Hint:
If the number is: abcdefghij
Part 1 is: abcd
Part 2 is: efg
Part 3 is: hi
Part 4 is: j
Now we have: abcd + efg + hi = 2019
Find the lowest number with this property.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
20 lines of brute force code solves it in under a second