Find the sum of the greatest and the least six digit numbers formed by the digits 2, 0, 4, 7, 6, 5 using each digit only once.

Let’s use the digits in this way:


To minimize the number, the smaller digits will be used in left side;


And, to maximize the number, larger digits are used in left side. [As the left side digits contributes more towards the value of the number: Any number, say, ”anan - 1an - 2….a1a0 can be expanded as :


= an × 10n + an - 1 × 10n - 1 + an - 2 × 10n - 2 + an - 3 × 10n - 3 + … + a1 × 101 + a0]


The greatest = 765420;


and the smallest = 204567


[Note, 0 can not be used in starting the number, so second smallest digit, available, 2 is used as starting digit].


Their sum


= 969, 987



168