Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: aruanan
Well, I went through all 390625 possible combinations of operators or their absence between the nine digits. Three came up with the right result (and two more had the "right" result, but only because the program I used rounded down fractional results) , but only one had three operators.

Highlight the following line to see the result.

1234-5-6+789=2012
The order of operations never came up because there is no multiplication.

End of answer.

14 posted on 01/29/2012 8:37:53 AM PST by KarlInOhio (Herman Cain: possibly the escapee most dangerous to the Democrats since Frederick Douglass.)
[ Post Reply | Private Reply | To 11 | View Replies ]


To: KarlInOhio
But 12 + 34 x 56 + 78 + 9 = 2003 requires that the multiplication be done before the addition operations. So which is it, left to right or multiplication first?

I was responding to the above that showed operators.
16 posted on 01/29/2012 2:46:36 PM PST by aruanan
[ Post Reply | Private Reply | To 14 | View Replies ]

To: KarlInOhio

Nicely done.


17 posted on 01/30/2012 11:38:39 AM PST by EasySt (2012... Sometimes you have to flush twice.)
[ Post Reply | Private Reply | To 14 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson