All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 5 conditions to get 2 results (Posted on 2010-10-21)
A number N fulfills the following conditions:
1, It consists of nine distinct digits.
2. The inclusive sum of digits between the digits 1 and 2 is 12.
3. The inclusive sum of digits between the digits 2 and 3 is 23.
4. The inclusive sum of digits between the digits 3 and 4 is 34.
5. The inclusive sum of digits between the digits 4 and 5 is 45.

What are the lowest and the highest values of N?

Comments: ( Back to comment list | You must be logged in to post comments.)
 Calling Mathematica... | Comment 1 of 3

I will suggest    4  7  2  9  1  8  3  6  5

Read left to right for the lowest, and right to left for highest.

These meet the five conditions, but probably are not optimal.  I suspect that those who use Mathematica have a built in function for this (minmax) -- it seems to have almost anything else one could think of -- , so will let them show their stuff.  Clearly the 4 and the 5 must be on the extreme ends, since 45 is the sum of all the nine digits. We may exclude zero as one of the nine digits used, since 45 cannot be reached if that is substituted.

Edited on October 21, 2010, 8:21 pm
 Posted by ed bottemiller on 2010-10-21 20:19:47

 Search: Search body:
Forums (0)