Two-digit optimum numbers solutions

All discussion relevant to Countdown that is not too spoilerific. New members: come here first to introduce yourself. We don't bite, or at least rarely.
Post Reply
Gevin Chapwell
Post-apocalypse
Posts: 14711
Joined: Mon Jan 21, 2008 10:37 pm

Two-digit optimum numbers solutions

Post by Gevin Chapwell »

This might even have already come up but I was thinking about this randomly yesterday - about whether there might be a numbers selection where the closest you can get to the target is under 100, but still within 10 so still a scorer.

I think this might be one: 101 - 1, 1, 2, 2, 3, 4

You can do (1+2)*(1+2)*3*4=108 which I think is as high as you can get. But (1+1)*2*2*3*4=96 or (1+2)*2*(1+3)*4=96 which is closer and I think the best you can get.

Is this right? Any other examples?
JackHurst
Series 63 Champion
Posts: 2134
Joined: Tue Jan 20, 2009 8:40 pm

Re: Two-digit optimum numbers solutions

Post by JackHurst »

108 is the largest you can get form those numbers yes. There is an algorithm you can use to get the highest number from any lot of number given numbers. (If you only use +-*/)

1)Put and 1's and 2's in the selection to a side.
2)Multiply the rest of the numbers all together.
3a)If you have more 2's than 1's, add each 1 to a 2 until you have ran out of ones. You will then be left with a selection of 2's and 3's which you multiply all together, and then multiply the number you got in step 2) by.
3b)If you have the same amount of 1's and 2's, pair them all up to make 3's, and multiply all these together, then multiply by the number you got in step 2)
3c)If you have more 1's than 2's, pair all the 2's with a 1 to make some 3's. Bunch the left over 1's into threes until you have 0, 2 or 4 1's left.
3ci)If you have 0 1's left after bunching them up into 3's, take all the 3's you made, and multiply them all together with the number you got in step 2)
3cii)If you have 2 1's left over, add them to make a two, and multiply with all the 3's you made in step 3c), them multiply by the number you made in step 2)
3ciii)If you have 4 1's left, add them all up, and multiply this four and all the other numbers you made in 3c) and 2) together.


Example
1, 2, 4, 5, 5, 1, 2, 3

5*5*3*4=300
2+1=3
2+1=3
300*3*3=2700
Post Reply