[seqfan] Re: Exit

Hans Havermann pxp at rogers.com
Wed Dec 29 18:17:22 CET 2010


Eric Angelini:

> ... and welcome to 0+1*2345*6/7-8+9

:) Disallowing a leading zero on a number, I make this one of 12  
solutions (standard order of operations apply):

0+1-2*3+4*567*8/9
0+1*2345*6/7-8+9
0+1*2/3*45*67-8+9
0+1/2*3*4*5*67-8+9
0-12+345*6-7*8+9
0-1*2-3+4*567*8/9
0*1+2345*6/7-8+9
0*1+2/3*45*67-8+9
0*1-2-3+4*567*8/9
0/1+2345*6/7-8+9
0/1+2/3*45*67-8+9
0/1-2-3+4*567*8/9

... and 22 solutions, if we move the zero to the end:

1+2345*6/7+89*0
1+2345*6/7+8*9*0
1+2345*6/7+8/9*0
1+2345*6/7-89*0
1+2345*6/7-8*9*0
1+2345*6/7-8/9*0
1+2/3*45*67+89*0
1+2/3*45*67+8*9*0
1+2/3*45*67+8/9*0
1+2/3*45*67-89*0
1+2/3*45*67-8*9*0
1+2/3*45*67-8/9*0
1-2*3+4*567*8/9+0
1-2*3+4*567*8/9-0
1*2345*6/7-8+9+0
1*2345*6/7-8+9-0
1*23+45*6*7+8+90
1*2+34*56+7+8+90
1*2/3*45*67-8+9+0
1*2/3*45*67-8+9-0
1/2*3*4*5*67-8+9+0
1/2*3*4*5*67-8+9-0




More information about the SeqFan mailing list