Find a positive integer (base 10) which has the following four properties:

* Each of the 10 digits (0 to 9) appears exactly once in the number.

* For each pair of digits whose sum is 9, the number of other digits positioned strictly between the pair is equal to the smaller digit of the pair.

* The sum of each pair of digits positioned at the same distance from opposite ends of the number is a prime number.

* The difference between any 2 adjacent digits is greater than 1.

The solution is unique. Find the Number.

For Solution SCROLL DOWN...

Solution:

The number is 5831746290