Sort 28 Discussions, By:
Please Login in order to post a comment
I feel the question should have been more explicit. It should state: (1) for an N-digit pandigital number, it should satisfy the first N-2 constrainsts given; and (2) leading zeroes ARE allowed (as opposed to several other questions on here in which they are not).
The answer or problem description is actually wrong.
Find the sum of all pandigital numbers with this property.
You can look up on Wikipedia that the smallest pandigital number for base 10 is 1023456789 and not (0)123456789.
It would be much clear if it is mentioned in the question that numbers starting with '0' are also considered.
please specify that leading zeroes are allowed...
how are you getting 22212 because i m getting 21768 by adding(1032