Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 37, 41, 74, 4 ]
16
[ "37+41=78", "78-74=4", "4*4=16" ]
Current State: 16:[37, 41, 74, 4], Operations: [] Exploring Operation: 37+41=78, Resulting Numbers: [74, 4, 78] Generated Node #2: [74, 4, 78] from Operation: 37+41=78 Current State: 16:[74, 4, 78], Operations: ['37+41=78'] Exploring Operation: 78-74=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 78-74=4 Current State: 16:[4, 4], Operations: ['37+41=78', '78-74=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[37, 41, 74, 4], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [41, 4, 2] Generated Node #0,0: 16:[41, 4, 2] Operation: 74/37=2 Exploring Operation: 74-41=33, Resulting Numbers: [37, 4, 33] Generated Node #0,1: 16:[37, 4, 33] Operation: 74-41=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[41, 4, 2], Operations: ['74/37=2'] Exploring Operation: 41-2=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 16:[4, 39] Operation: 41-2=39 Exploring Operation: 41-4=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 16:[2, 37] Operation: 41-4=37 Moving to Node #0,0,1 Current State: 16:[2, 37], Operations: ['74/37=2', '41-4=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[4, 39], Operations: ['74/37=2', '41-2=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[37, 4, 33], Operations: ['74-41=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 37-33=4 Exploring Operation: 37-4=33, Resulting Numbers: [33, 33] Generated Node #0,1,1: 16:[33, 33] Operation: 37-4=33 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['74-41=33', '37-33=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[37, 41, 74, 4], Operations: [] Exploring Operation: 74-41=33, Resulting Numbers: [37, 4, 33] Generated Node #0,1: 16:[37, 4, 33] Operation: 74-41=33 Moving to Node #0,1 Current State: 16:[37, 4, 33], Operations: ['74-41=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 37-33=4 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['74-41=33', '37-33=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 91, 98, 49, 7 ]
50
[ "98-91=7", "7/7=1", "49+1=50" ]
Current State: 50:[91, 98, 49, 7], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [49, 7, 7] Generated Node #2: [49, 7, 7] from Operation: 98-91=7 Current State: 50:[49, 7, 7], Operations: ['98-91=7'] Exploring Operation: 7/7=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 7/7=1 Current State: 50:[49, 1], Operations: ['98-91=7', '7/7=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[91, 98, 49, 7], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [91, 7, 2] Generated Node #0,0: 50:[91, 7, 2] Operation: 98/49=2 Exploring Operation: 98/7=14, Resulting Numbers: [91, 49, 14] Generated Node #0,1: 50:[91, 49, 14] Operation: 98/7=14 Exploring Operation: 98-49=49, Resulting Numbers: [91, 7, 49] Generated Node #0,2: 50:[91, 7, 49] Operation: 98-49=49 Exploring Operation: 98-91=7, Resulting Numbers: [49, 7, 7] Generated Node #0,3: 50:[49, 7, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[49, 7, 7], Operations: ['98-91=7'] Exploring Operation: 7-7=0, Resulting Numbers: [49, 0] Generated Node #0,3,0: 50:[49, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [49, 1] Generated Node #0,3,1: 50:[49, 1] Operation: 7/7=1 Exploring Operation: 7*7=49, Resulting Numbers: [49, 49] Generated Node #0,3,2: 50:[49, 49] Operation: 7*7=49 Exploring Operation: 49/7=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 50:[7, 7] Operation: 49/7=7 Moving to Node #0,3,1 Current State: 50:[49, 1], Operations: ['98-91=7', '7/7=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[91, 98, 49, 7], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [49, 7, 7] Generated Node #0,3: 50:[49, 7, 7] Operation: 98-91=7 Moving to Node #0,3 Current State: 50:[49, 7, 7], Operations: ['98-91=7'] Exploring Operation: 7/7=1, Resulting Numbers: [49, 1] Generated Node #0,3,1: 50:[49, 1] Operation: 7/7=1 Moving to Node #0,3,1 Current State: 50:[49, 1], Operations: ['98-91=7', '7/7=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 88, 86, 78, 15 ]
95
[ "88-86=2", "78+15=93", "2+93=95" ]
Current State: 95:[88, 86, 78, 15], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [78, 15, 2] Generated Node #2: [78, 15, 2] from Operation: 88-86=2 Current State: 95:[78, 15, 2], Operations: ['88-86=2'] Exploring Operation: 78+15=93, Resulting Numbers: [2, 93] Generated Node #3: [2, 93] from Operation: 78+15=93 Current State: 95:[2, 93], Operations: ['88-86=2', '78+15=93'] Exploring Operation: 2+93=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[88, 86, 78, 15], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [86, 15, 10] Generated Node #0,0: 95:[86, 15, 10] Operation: 88-78=10 Exploring Operation: 86-78=8, Resulting Numbers: [88, 15, 8] Generated Node #0,1: 95:[88, 15, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[88, 15, 8], Operations: ['86-78=8'] Exploring Operation: 15-8=7, Resulting Numbers: [88, 7] Generated Node #0,1,0: 95:[88, 7] Operation: 15-8=7 Exploring Operation: 88+8=96, Resulting Numbers: [15, 96] Generated Node #0,1,1: 95:[15, 96] Operation: 88+8=96 Moving to Node #0,1,1 Current State: 95:[15, 96], Operations: ['86-78=8', '88+8=96'] Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,95 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[88, 7], Operations: ['86-78=8', '15-8=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[88, 86, 78, 15], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [88, 15, 8] Generated Node #0,1: 95:[88, 15, 8] Operation: 86-78=8 Moving to Node #0,1 Current State: 95:[88, 15, 8], Operations: ['86-78=8'] Exploring Operation: 15-8=7, Resulting Numbers: [88, 7] Generated Node #0,1,0: 95:[88, 7] Operation: 15-8=7 Moving to Node #0,1,0 Current State: 95:[88, 7], Operations: ['86-78=8', '15-8=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 10, 6, 4, 55 ]
75
[ "10+6=16", "4+55=59", "16+59=75" ]
Current State: 75:[10, 6, 4, 55], Operations: [] Exploring Operation: 10+6=16, Resulting Numbers: [4, 55, 16] Generated Node #2: [4, 55, 16] from Operation: 10+6=16 Current State: 75:[4, 55, 16], Operations: ['10+6=16'] Exploring Operation: 4+55=59, Resulting Numbers: [16, 59] Generated Node #3: [16, 59] from Operation: 4+55=59 Current State: 75:[16, 59], Operations: ['10+6=16', '4+55=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[10, 6, 4, 55], Operations: [] Exploring Operation: 6+55=61, Resulting Numbers: [10, 4, 61] Generated Node #0,0: 75:[10, 4, 61] Operation: 6+55=61 Exploring Operation: 10+55=65, Resulting Numbers: [6, 4, 65] Generated Node #0,1: 75:[6, 4, 65] Operation: 10+55=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[6, 4, 65], Operations: ['10+55=65'] Exploring Operation: 4+65=69, Resulting Numbers: [6, 69] Generated Node #0,1,0: 75:[6, 69] Operation: 4+65=69 Exploring Operation: 6+65=71, Resulting Numbers: [4, 71] Generated Node #0,1,1: 75:[4, 71] Operation: 6+65=71 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[4, 71], Operations: ['10+55=65', '6+65=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[10, 6, 4, 55], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [6, 4, 65] Generated Node #0,1: 75:[6, 4, 65] Operation: 10+55=65 Moving to Node #0,1 Current State: 75:[6, 4, 65], Operations: ['10+55=65'] Exploring Operation: 6+65=71, Resulting Numbers: [4, 71] Generated Node #0,1,1: 75:[4, 71] Operation: 6+65=71 Moving to Node #0,1,1 Current State: 75:[4, 71], Operations: ['10+55=65', '6+65=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 80, 55, 61, 57 ]
21
[ "80-55=25", "61-57=4", "25-4=21" ]
Current State: 21:[80, 55, 61, 57], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [61, 57, 25] Generated Node #2: [61, 57, 25] from Operation: 80-55=25 Current State: 21:[61, 57, 25], Operations: ['80-55=25'] Exploring Operation: 61-57=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 61-57=4 Current State: 21:[25, 4], Operations: ['80-55=25', '61-57=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[80, 55, 61, 57], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [61, 57, 25] Generated Node #0,0: 21:[61, 57, 25] Operation: 80-55=25 Exploring Operation: 80-61=19, Resulting Numbers: [55, 57, 19] Generated Node #0,1: 21:[55, 57, 19] Operation: 80-61=19 Exploring Operation: 80-57=23, Resulting Numbers: [55, 61, 23] Generated Node #0,2: 21:[55, 61, 23] Operation: 80-57=23 Exploring Operation: 61-55=6, Resulting Numbers: [80, 57, 6] Generated Node #0,3: 21:[80, 57, 6] Operation: 61-55=6 Exploring Operation: 61-57=4, Resulting Numbers: [80, 55, 4] Generated Node #0,4: 21:[80, 55, 4] Operation: 61-57=4 Moving to Node #0,1 Current State: 21:[55, 57, 19], Operations: ['80-61=19'] Exploring Operation: 57/19=3, Resulting Numbers: [55, 3] Generated Node #0,1,0: 21:[55, 3] Operation: 57/19=3 Exploring Operation: 55-19=36, Resulting Numbers: [57, 36] Generated Node #0,1,1: 21:[57, 36] Operation: 55-19=36 Exploring Operation: 55+19=74, Resulting Numbers: [57, 74] Generated Node #0,1,2: 21:[57, 74] Operation: 55+19=74 Exploring Operation: 57-55=2, Resulting Numbers: [19, 2] Generated Node #0,1,3: 21:[19, 2] Operation: 57-55=2 Exploring Operation: 57-19=38, Resulting Numbers: [55, 38] Generated Node #0,1,4: 21:[55, 38] Operation: 57-19=38 Moving to Node #0,2 Current State: 21:[55, 61, 23], Operations: ['80-57=23'] Exploring Operation: 55+23=78, Resulting Numbers: [61, 78] Generated Node #0,2,0: 21:[61, 78] Operation: 55+23=78 Exploring Operation: 55-23=32, Resulting Numbers: [61, 32] Generated Node #0,2,1: 21:[61, 32] Operation: 55-23=32 Exploring Operation: 61-23=38, Resulting Numbers: [55, 38] Generated Node #0,2,2: 21:[55, 38] Operation: 61-23=38 Exploring Operation: 55+61=116, Resulting Numbers: [23, 116] Generated Node #0,2,3: 21:[23, 116] Operation: 55+61=116 Exploring Operation: 61-55=6, Resulting Numbers: [23, 6] Generated Node #0,2,4: 21:[23, 6] Operation: 61-55=6 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 21:[23, 6], Operations: ['80-57=23', '61-55=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[61, 32], Operations: ['80-57=23', '55-23=32'] Exploring Operation: 61*32=1952, Resulting Numbers: [1952] 1952,21 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[55, 38], Operations: ['80-57=23', '61-23=38'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 55*38=2090, Resulting Numbers: [2090] 2090,21 unequal: No Solution Exploring Operation: 55+38=93, Resulting Numbers: [93] 93,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[61, 78], Operations: ['80-57=23', '55+23=78'] Exploring Operation: 61+78=139, Resulting Numbers: [139] 139,21 unequal: No Solution Exploring Operation: 61*78=4758, Resulting Numbers: [4758] 4758,21 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[23, 116], Operations: ['80-57=23', '55+61=116'] Exploring Operation: 23+116=139, Resulting Numbers: [139] 139,21 unequal: No Solution Exploring Operation: 23*116=2668, Resulting Numbers: [2668] 2668,21 unequal: No Solution Exploring Operation: 116-23=93, Resulting Numbers: [93] 93,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 21:[61, 57, 25], Operations: ['80-55=25'] Exploring Operation: 57-25=32, Resulting Numbers: [61, 32] Generated Node #0,0,0: 21:[61, 32] Operation: 57-25=32 Exploring Operation: 61-25=36, Resulting Numbers: [57, 36] Generated Node #0,0,1: 21:[57, 36] Operation: 61-25=36 Exploring Operation: 61-57=4, Resulting Numbers: [25, 4] Generated Node #0,0,2: 21:[25, 4] Operation: 61-57=4 Exploring Operation: 61+25=86, Resulting Numbers: [57, 86] Generated Node #0,0,3: 21:[57, 86] Operation: 61+25=86 Exploring Operation: 61+57=118, Resulting Numbers: [25, 118] Generated Node #0,0,4: 21:[25, 118] Operation: 61+57=118 Moving to Node #0,4 Current State: 21:[80, 55, 4], Operations: ['61-57=4'] Exploring Operation: 80+4=84, Resulting Numbers: [55, 84] Generated Node #0,4,0: 21:[55, 84] Operation: 80+4=84 Exploring Operation: 80-4=76, Resulting Numbers: [55, 76] Generated Node #0,4,1: 21:[55, 76] Operation: 80-4=76 Exploring Operation: 55-4=51, Resulting Numbers: [80, 51] Generated Node #0,4,2: 21:[80, 51] Operation: 55-4=51 Exploring Operation: 80/4=20, Resulting Numbers: [55, 20] Generated Node #0,4,3: 21:[55, 20] Operation: 80/4=20 Exploring Operation: 80-55=25, Resulting Numbers: [4, 25] Generated Node #0,4,4: 21:[4, 25] Operation: 80-55=25 Moving to Node #0,3 Current State: 21:[80, 57, 6], Operations: ['61-55=6'] Exploring Operation: 57+6=63, Resulting Numbers: [80, 63] Generated Node #0,3,0: 21:[80, 63] Operation: 57+6=63 Exploring Operation: 80-6=74, Resulting Numbers: [57, 74] Generated Node #0,3,1: 21:[57, 74] Operation: 80-6=74 Exploring Operation: 80-57=23, Resulting Numbers: [6, 23] Generated Node #0,3,2: 21:[6, 23] Operation: 80-57=23 Exploring Operation: 80+6=86, Resulting Numbers: [57, 86] Generated Node #0,3,3: 21:[57, 86] Operation: 80+6=86 Exploring Operation: 57-6=51, Resulting Numbers: [80, 51] Generated Node #0,3,4: 21:[80, 51] Operation: 57-6=51 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[6, 23], Operations: ['61-55=6', '80-57=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,21 unequal: No Solution Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[57, 74], Operations: ['61-55=6', '80-6=74'] Exploring Operation: 57+74=131, Resulting Numbers: [131] 131,21 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 57*74=4218, Resulting Numbers: [4218] 4218,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 21:[80, 51], Operations: ['61-55=6', '57-6=51'] Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,21 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[80, 63], Operations: ['61-55=6', '57+6=63'] Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,21 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[57, 86], Operations: ['61-55=6', '80+6=86'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 57+86=143, Resulting Numbers: [143] 143,21 unequal: No Solution Exploring Operation: 57*86=4902, Resulting Numbers: [4902] 4902,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 21:[19, 2], Operations: ['80-61=19', '57-55=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[80, 55, 61, 57], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [55, 57, 19] Generated Node #0,1: 21:[55, 57, 19] Operation: 80-61=19 Moving to Node #0,1 Current State: 21:[55, 57, 19], Operations: ['80-61=19'] Exploring Operation: 57-55=2, Resulting Numbers: [19, 2] Generated Node #0,1,3: 21:[19, 2] Operation: 57-55=2 Moving to Node #0,1,3 Current State: 21:[19, 2], Operations: ['80-61=19', '57-55=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 84, 58, 87, 26 ]
96
[ "87-84=3", "58-26=32", "3*32=96" ]
Current State: 96:[84, 58, 87, 26], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [58, 26, 3] Generated Node #2: [58, 26, 3] from Operation: 87-84=3 Current State: 96:[58, 26, 3], Operations: ['87-84=3'] Exploring Operation: 58-26=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 58-26=32 Current State: 96:[3, 32], Operations: ['87-84=3', '58-26=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[84, 58, 87, 26], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [87, 26, 26] Generated Node #0,0: 96:[87, 26, 26] Operation: 84-58=26 Exploring Operation: 87-84=3, Resulting Numbers: [58, 26, 3] Generated Node #0,1: 96:[58, 26, 3] Operation: 87-84=3 Moving to Node #0,1 Current State: 96:[58, 26, 3], Operations: ['87-84=3'] Exploring Operation: 58-3=55, Resulting Numbers: [26, 55] Generated Node #0,1,0: 96:[26, 55] Operation: 58-3=55 Exploring Operation: 58-26=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 96:[3, 32] Operation: 58-26=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[3, 32], Operations: ['87-84=3', '58-26=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[84, 58, 87, 26], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [58, 26, 3] Generated Node #0,1: 96:[58, 26, 3] Operation: 87-84=3 Moving to Node #0,1 Current State: 96:[58, 26, 3], Operations: ['87-84=3'] Exploring Operation: 58-26=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 96:[3, 32] Operation: 58-26=32 Moving to Node #0,1,1 Current State: 96:[3, 32], Operations: ['87-84=3', '58-26=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 13, 93, 84, 95 ]
50
[ "95-84=11", "13*11=143", "143-93=50" ]
Current State: 50:[13, 93, 84, 95], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [13, 93, 11] Generated Node #2: [13, 93, 11] from Operation: 95-84=11 Current State: 50:[13, 93, 11], Operations: ['95-84=11'] Exploring Operation: 13*11=143, Resulting Numbers: [93, 143] Generated Node #3: [93, 143] from Operation: 13*11=143 Current State: 50:[93, 143], Operations: ['95-84=11', '13*11=143'] Exploring Operation: 143-93=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[13, 93, 84, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [13, 84, 2] Generated Node #0,0: 50:[13, 84, 2] Operation: 95-93=2 Exploring Operation: 93-84=9, Resulting Numbers: [13, 95, 9] Generated Node #0,1: 50:[13, 95, 9] Operation: 93-84=9 Exploring Operation: 84-13=71, Resulting Numbers: [93, 95, 71] Generated Node #0,2: 50:[93, 95, 71] Operation: 84-13=71 Exploring Operation: 93-13=80, Resulting Numbers: [84, 95, 80] Generated Node #0,3: 50:[84, 95, 80] Operation: 93-13=80 Exploring Operation: 95-84=11, Resulting Numbers: [13, 93, 11] Generated Node #0,4: 50:[13, 93, 11] Operation: 95-84=11 Moving to Node #0,0 Current State: 50:[13, 84, 2], Operations: ['95-93=2'] Exploring Operation: 84-2=82, Resulting Numbers: [13, 82] Generated Node #0,0,0: 50:[13, 82] Operation: 84-2=82 Exploring Operation: 13*2=26, Resulting Numbers: [84, 26] Generated Node #0,0,1: 50:[84, 26] Operation: 13*2=26 Exploring Operation: 84-13=71, Resulting Numbers: [2, 71] Generated Node #0,0,2: 50:[2, 71] Operation: 84-13=71 Exploring Operation: 13-2=11, Resulting Numbers: [84, 11] Generated Node #0,0,3: 50:[84, 11] Operation: 13-2=11 Exploring Operation: 84/2=42, Resulting Numbers: [13, 42] Generated Node #0,0,4: 50:[13, 42] Operation: 84/2=42 Moving to Node #0,4 Current State: 50:[13, 93, 11], Operations: ['95-84=11'] Exploring Operation: 93-13=80, Resulting Numbers: [11, 80] Generated Node #0,4,0: 50:[11, 80] Operation: 93-13=80 Exploring Operation: 13+93=106, Resulting Numbers: [11, 106] Generated Node #0,4,1: 50:[11, 106] Operation: 13+93=106 Exploring Operation: 13-11=2, Resulting Numbers: [93, 2] Generated Node #0,4,2: 50:[93, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [93, 24] Generated Node #0,4,3: 50:[93, 24] Operation: 13+11=24 Exploring Operation: 93-11=82, Resulting Numbers: [13, 82] Generated Node #0,4,4: 50:[13, 82] Operation: 93-11=82 Moving to Node #0,1 Current State: 50:[13, 95, 9], Operations: ['93-84=9'] Exploring Operation: 95-9=86, Resulting Numbers: [13, 86] Generated Node #0,1,0: 50:[13, 86] Operation: 95-9=86 Exploring Operation: 95-13=82, Resulting Numbers: [9, 82] Generated Node #0,1,1: 50:[9, 82] Operation: 95-13=82 Exploring Operation: 13-9=4, Resulting Numbers: [95, 4] Generated Node #0,1,2: 50:[95, 4] Operation: 13-9=4 Exploring Operation: 13+9=22, Resulting Numbers: [95, 22] Generated Node #0,1,3: 50:[95, 22] Operation: 13+9=22 Exploring Operation: 95+9=104, Resulting Numbers: [13, 104] Generated Node #0,1,4: 50:[13, 104] Operation: 95+9=104 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[9, 82], Operations: ['93-84=9', '95-13=82'] Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,50 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[13, 86], Operations: ['93-84=9', '95-9=86'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 13*86=1118, Resulting Numbers: [1118] 1118,50 unequal: No Solution Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[95, 4], Operations: ['93-84=9', '13-9=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[95, 22], Operations: ['93-84=9', '13+9=22'] Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 50:[13, 104], Operations: ['93-84=9', '95+9=104'] Exploring Operation: 13*104=1352, Resulting Numbers: [1352] 1352,50 unequal: No Solution Exploring Operation: 104-13=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 104/13=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 13+104=117, Resulting Numbers: [117] 117,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[93, 95, 71], Operations: ['84-13=71'] Exploring Operation: 93-71=22, Resulting Numbers: [95, 22] Generated Node #0,2,0: 50:[95, 22] Operation: 93-71=22 Exploring Operation: 95-93=2, Resulting Numbers: [71, 2] Generated Node #0,2,1: 50:[71, 2] Operation: 95-93=2 Exploring Operation: 93+71=164, Resulting Numbers: [95, 164] Generated Node #0,2,2: 50:[95, 164] Operation: 93+71=164 Exploring Operation: 93+95=188, Resulting Numbers: [71, 188] Generated Node #0,2,3: 50:[71, 188] Operation: 93+95=188 Exploring Operation: 95-71=24, Resulting Numbers: [93, 24] Generated Node #0,2,4: 50:[93, 24] Operation: 95-71=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[71, 2], Operations: ['84-13=71', '95-93=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,50 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 50:[93, 24], Operations: ['84-13=71', '95-71=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[95, 22], Operations: ['84-13=71', '93-71=22'] Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,50 unequal: No Solution Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[95, 164], Operations: ['84-13=71', '93+71=164'] Exploring Operation: 95*164=15580, Resulting Numbers: [15580] 15580,50 unequal: No Solution Exploring Operation: 164-95=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 95+164=259, Resulting Numbers: [259] 259,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[71, 188], Operations: ['84-13=71', '93+95=188'] Exploring Operation: 71+188=259, Resulting Numbers: [259] 259,50 unequal: No Solution Exploring Operation: 188-71=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 71*188=13348, Resulting Numbers: [13348] 13348,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[84, 95, 80], Operations: ['93-13=80'] Exploring Operation: 84+95=179, Resulting Numbers: [80, 179] Generated Node #0,3,0: 50:[80, 179] Operation: 84+95=179 Exploring Operation: 95-80=15, Resulting Numbers: [84, 15] Generated Node #0,3,1: 50:[84, 15] Operation: 95-80=15 Exploring Operation: 84-80=4, Resulting Numbers: [95, 4] Generated Node #0,3,2: 50:[95, 4] Operation: 84-80=4 Exploring Operation: 84+80=164, Resulting Numbers: [95, 164] Generated Node #0,3,3: 50:[95, 164] Operation: 84+80=164 Exploring Operation: 95-84=11, Resulting Numbers: [80, 11] Generated Node #0,3,4: 50:[80, 11] Operation: 95-84=11 Moving to Node #0,0,4 Current State: 50:[13, 42], Operations: ['95-93=2', '84/2=42'] Exploring Operation: 13*42=546, Resulting Numbers: [546] 546,50 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[2, 71], Operations: ['95-93=2', '84-13=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,50 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,50 unequal: No Solution Moving to Node #0,4,0 Current State: 50:[11, 80], Operations: ['95-84=11', '93-13=80'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 11*80=880, Resulting Numbers: [880] 880,50 unequal: No Solution Exploring Operation: 11+80=91, Resulting Numbers: [91] 91,50 unequal: No Solution Moving to Node #0,3,4 Current State: 50:[80, 11], Operations: ['93-13=80', '95-84=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,50 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,50 unequal: No Solution Moving to Node #0,4,4 Current State: 50:[13, 82], Operations: ['95-84=11', '93-11=82'] Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,50 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[13, 82], Operations: ['95-93=2', '84-2=82'] Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,50 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[84, 11], Operations: ['95-93=2', '13-2=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,50 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,50 unequal: No Solution Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[84, 26], Operations: ['95-93=2', '13*2=26'] Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,50 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,50 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[84, 15], Operations: ['93-13=80', '95-80=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[93, 2], Operations: ['95-84=11', '13-11=2'] Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,50 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,50 unequal: No Solution Moving to Node #0,4,3 Current State: 50:[93, 24], Operations: ['95-84=11', '13+11=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,50 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[95, 4], Operations: ['93-13=80', '84-80=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[11, 106], Operations: ['95-84=11', '13+93=106'] Exploring Operation: 11*106=1166, Resulting Numbers: [1166] 1166,50 unequal: No Solution Exploring Operation: 11+106=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 106-11=95, Resulting Numbers: [95] 95,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[80, 179], Operations: ['93-13=80', '84+95=179'] Exploring Operation: 80*179=14320, Resulting Numbers: [14320] 14320,50 unequal: No Solution Exploring Operation: 80+179=259, Resulting Numbers: [259] 259,50 unequal: No Solution Exploring Operation: 179-80=99, Resulting Numbers: [99] 99,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[95, 164], Operations: ['93-13=80', '84+80=164'] Exploring Operation: 95*164=15580, Resulting Numbers: [15580] 15580,50 unequal: No Solution Exploring Operation: 95+164=259, Resulting Numbers: [259] 259,50 unequal: No Solution Exploring Operation: 164-95=69, Resulting Numbers: [69] 69,50 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 64, 66, 83, 18 ]
64
[ "83-66=17", "18-17=1", "64*1=64" ]
Current State: 64:[64, 66, 83, 18], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [64, 18, 17] Generated Node #2: [64, 18, 17] from Operation: 83-66=17 Current State: 64:[64, 18, 17], Operations: ['83-66=17'] Exploring Operation: 18-17=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 18-17=1 Current State: 64:[64, 1], Operations: ['83-66=17', '18-17=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[64, 66, 83, 18], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [66, 18, 19] Generated Node #0,0: 64:[66, 18, 19] Operation: 83-64=19 Exploring Operation: 83-66=17, Resulting Numbers: [64, 18, 17] Generated Node #0,1: 64:[64, 18, 17] Operation: 83-66=17 Exploring Operation: 66-64=2, Resulting Numbers: [83, 18, 2] Generated Node #0,2: 64:[83, 18, 2] Operation: 66-64=2 Exploring Operation: 64-18=46, Resulting Numbers: [66, 83, 46] Generated Node #0,3: 64:[66, 83, 46] Operation: 64-18=46 Exploring Operation: 83-18=65, Resulting Numbers: [64, 66, 65] Generated Node #0,4: 64:[64, 66, 65] Operation: 83-18=65 Moving to Node #0,1 Current State: 64:[64, 18, 17], Operations: ['83-66=17'] Exploring Operation: 18+17=35, Resulting Numbers: [64, 35] Generated Node #0,1,0: 64:[64, 35] Operation: 18+17=35 Exploring Operation: 18-17=1, Resulting Numbers: [64, 1] Generated Node #0,1,1: 64:[64, 1] Operation: 18-17=1 Exploring Operation: 64+18=82, Resulting Numbers: [17, 82] Generated Node #0,1,2: 64:[17, 82] Operation: 64+18=82 Exploring Operation: 64-17=47, Resulting Numbers: [18, 47] Generated Node #0,1,3: 64:[18, 47] Operation: 64-17=47 Exploring Operation: 64-18=46, Resulting Numbers: [17, 46] Generated Node #0,1,4: 64:[17, 46] Operation: 64-18=46 Moving to Node #0,4 Current State: 64:[64, 66, 65], Operations: ['83-18=65'] Exploring Operation: 66-64=2, Resulting Numbers: [65, 2] Generated Node #0,4,0: 64:[65, 2] Operation: 66-64=2 Exploring Operation: 64+65=129, Resulting Numbers: [66, 129] Generated Node #0,4,1: 64:[66, 129] Operation: 64+65=129 Exploring Operation: 66-65=1, Resulting Numbers: [64, 1] Generated Node #0,4,2: 64:[64, 1] Operation: 66-65=1 Exploring Operation: 65-64=1, Resulting Numbers: [66, 1] Generated Node #0,4,3: 64:[66, 1] Operation: 65-64=1 Exploring Operation: 64+66=130, Resulting Numbers: [65, 130] Generated Node #0,4,4: 64:[65, 130] Operation: 64+66=130 Moving to Node #0,0 Current State: 64:[66, 18, 19], Operations: ['83-64=19'] Exploring Operation: 66+18=84, Resulting Numbers: [19, 84] Generated Node #0,0,0: 64:[19, 84] Operation: 66+18=84 Exploring Operation: 66-19=47, Resulting Numbers: [18, 47] Generated Node #0,0,1: 64:[18, 47] Operation: 66-19=47 Exploring Operation: 19-18=1, Resulting Numbers: [66, 1] Generated Node #0,0,2: 64:[66, 1] Operation: 19-18=1 Exploring Operation: 66-18=48, Resulting Numbers: [19, 48] Generated Node #0,0,3: 64:[19, 48] Operation: 66-18=48 Exploring Operation: 18+19=37, Resulting Numbers: [66, 37] Generated Node #0,0,4: 64:[66, 37] Operation: 18+19=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[66, 1], Operations: ['83-64=19', '19-18=1'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[66, 37], Operations: ['83-64=19', '18+19=37'] Exploring Operation: 66+37=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 66*37=2442, Resulting Numbers: [2442] 2442,64 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[18, 47], Operations: ['83-64=19', '66-19=47'] Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,64 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[19, 48], Operations: ['83-64=19', '66-18=48'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,64 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[19, 84], Operations: ['83-64=19', '66+18=84'] Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,64 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[83, 18, 2], Operations: ['66-64=2'] Exploring Operation: 83-2=81, Resulting Numbers: [18, 81] Generated Node #0,2,0: 64:[18, 81] Operation: 83-2=81 Exploring Operation: 83+2=85, Resulting Numbers: [18, 85] Generated Node #0,2,1: 64:[18, 85] Operation: 83+2=85 Exploring Operation: 83-18=65, Resulting Numbers: [2, 65] Generated Node #0,2,2: 64:[2, 65] Operation: 83-18=65 Exploring Operation: 18-2=16, Resulting Numbers: [83, 16] Generated Node #0,2,3: 64:[83, 16] Operation: 18-2=16 Exploring Operation: 18/2=9, Resulting Numbers: [83, 9] Generated Node #0,2,4: 64:[83, 9] Operation: 18/2=9 Moving to Node #0,3 Current State: 64:[66, 83, 46], Operations: ['64-18=46'] Exploring Operation: 83-46=37, Resulting Numbers: [66, 37] Generated Node #0,3,0: 64:[66, 37] Operation: 83-46=37 Exploring Operation: 66+46=112, Resulting Numbers: [83, 112] Generated Node #0,3,1: 64:[83, 112] Operation: 66+46=112 Exploring Operation: 83-66=17, Resulting Numbers: [46, 17] Generated Node #0,3,2: 64:[46, 17] Operation: 83-66=17 Exploring Operation: 83+46=129, Resulting Numbers: [66, 129] Generated Node #0,3,3: 64:[66, 129] Operation: 83+46=129 Exploring Operation: 66-46=20, Resulting Numbers: [83, 20] Generated Node #0,3,4: 64:[83, 20] Operation: 66-46=20 Moving to Node #0,1,1 Current State: 64:[64, 1], Operations: ['83-66=17', '18-17=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[64, 66, 83, 18], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [64, 18, 17] Generated Node #0,1: 64:[64, 18, 17] Operation: 83-66=17 Moving to Node #0,1 Current State: 64:[64, 18, 17], Operations: ['83-66=17'] Exploring Operation: 18-17=1, Resulting Numbers: [64, 1] Generated Node #0,1,1: 64:[64, 1] Operation: 18-17=1 Moving to Node #0,1,1 Current State: 64:[64, 1], Operations: ['83-66=17', '18-17=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 8, 41, 88, 24 ]
15
[ "8+41=49", "88-24=64", "64-49=15" ]
Current State: 15:[8, 41, 88, 24], Operations: [] Exploring Operation: 8+41=49, Resulting Numbers: [88, 24, 49] Generated Node #2: [88, 24, 49] from Operation: 8+41=49 Current State: 15:[88, 24, 49], Operations: ['8+41=49'] Exploring Operation: 88-24=64, Resulting Numbers: [49, 64] Generated Node #3: [49, 64] from Operation: 88-24=64 Current State: 15:[49, 64], Operations: ['8+41=49', '88-24=64'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 41, 88, 24], Operations: [] Exploring Operation: 41-24=17, Resulting Numbers: [8, 88, 17] Generated Node #0,0: 15:[8, 88, 17] Operation: 41-24=17 Exploring Operation: 88/8=11, Resulting Numbers: [41, 24, 11] Generated Node #0,1: 15:[41, 24, 11] Operation: 88/8=11 Exploring Operation: 88-41=47, Resulting Numbers: [8, 24, 47] Generated Node #0,2: 15:[8, 24, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[41, 24, 11], Operations: ['88/8=11'] Exploring Operation: 41-24=17, Resulting Numbers: [11, 17] Generated Node #0,1,0: 15:[11, 17] Operation: 41-24=17 Exploring Operation: 41-11=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 15:[24, 30] Operation: 41-11=30 Exploring Operation: 24-11=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 15:[41, 13] Operation: 24-11=13 Moving to Node #0,1,0 Current State: 15:[11, 17], Operations: ['88/8=11', '41-24=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,15 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[24, 30], Operations: ['88/8=11', '41-11=30'] Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,15 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[41, 13], Operations: ['88/8=11', '24-11=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,15 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[8, 24, 47], Operations: ['88-41=47'] Exploring Operation: 47-24=23, Resulting Numbers: [8, 23] Generated Node #0,2,0: 15:[8, 23] Operation: 47-24=23 Exploring Operation: 24-8=16, Resulting Numbers: [47, 16] Generated Node #0,2,1: 15:[47, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [47, 3] Generated Node #0,2,2: 15:[47, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[8, 23], Operations: ['88-41=47', '47-24=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,15 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[8, 41, 88, 24], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [8, 24, 47] Generated Node #0,2: 15:[8, 24, 47] Operation: 88-41=47 Moving to Node #0,2 Current State: 15:[8, 24, 47], Operations: ['88-41=47'] Exploring Operation: 47-24=23, Resulting Numbers: [8, 23] Generated Node #0,2,0: 15:[8, 23] Operation: 47-24=23 Moving to Node #0,2,0 Current State: 15:[8, 23], Operations: ['88-41=47', '47-24=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 7, 55, 14, 45 ]
28
[ "55-14=41", "45-41=4", "7*4=28" ]
Current State: 28:[7, 55, 14, 45], Operations: [] Exploring Operation: 55-14=41, Resulting Numbers: [7, 45, 41] Generated Node #2: [7, 45, 41] from Operation: 55-14=41 Current State: 28:[7, 45, 41], Operations: ['55-14=41'] Exploring Operation: 45-41=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 45-41=4 Current State: 28:[7, 4], Operations: ['55-14=41', '45-41=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 55, 14, 45], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [7, 14, 10] Generated Node #0,0: 28:[7, 14, 10] Operation: 55-45=10 Exploring Operation: 55-14=41, Resulting Numbers: [7, 45, 41] Generated Node #0,1: 28:[7, 45, 41] Operation: 55-14=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[7, 14, 10], Operations: ['55-45=10'] Exploring Operation: 14-10=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 28:[7, 4] Operation: 14-10=4 Exploring Operation: 10-7=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 28:[14, 3] Operation: 10-7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[7, 4], Operations: ['55-45=10', '14-10=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 55, 14, 45], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [7, 14, 10] Generated Node #0,0: 28:[7, 14, 10] Operation: 55-45=10 Moving to Node #0,0 Current State: 28:[7, 14, 10], Operations: ['55-45=10'] Exploring Operation: 14-10=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 28:[7, 4] Operation: 14-10=4 Moving to Node #0,0,0 Current State: 28:[7, 4], Operations: ['55-45=10', '14-10=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 16, 78, 4, 72 ]
86
[ "16*4=64", "78+72=150", "150-64=86" ]
Current State: 86:[16, 78, 4, 72], Operations: [] Exploring Operation: 16*4=64, Resulting Numbers: [78, 72, 64] Generated Node #2: [78, 72, 64] from Operation: 16*4=64 Current State: 86:[78, 72, 64], Operations: ['16*4=64'] Exploring Operation: 78+72=150, Resulting Numbers: [64, 150] Generated Node #3: [64, 150] from Operation: 78+72=150 Current State: 86:[64, 150], Operations: ['16*4=64', '78+72=150'] Exploring Operation: 150-64=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[16, 78, 4, 72], Operations: [] Exploring Operation: 16+72=88, Resulting Numbers: [78, 4, 88] Generated Node #0,0: 86:[78, 4, 88] Operation: 16+72=88 Exploring Operation: 78-72=6, Resulting Numbers: [16, 4, 6] Generated Node #0,1: 86:[16, 4, 6] Operation: 78-72=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[78, 4, 88], Operations: ['16+72=88'] Exploring Operation: 88-78=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 86:[4, 10] Operation: 88-78=10 Exploring Operation: 78+4=82, Resulting Numbers: [88, 82] Generated Node #0,0,1: 86:[88, 82] Operation: 78+4=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[88, 82], Operations: ['16+72=88', '78+4=82'] Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,86 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[4, 10], Operations: ['16+72=88', '88-78=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[16, 4, 6], Operations: ['78-72=6'] Exploring Operation: 16/4=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 86:[6, 4] Operation: 16/4=4 Exploring Operation: 16-6=10, Resulting Numbers: [4, 10] Generated Node #0,1,1: 86:[4, 10] Operation: 16-6=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[6, 4], Operations: ['78-72=6', '16/4=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[4, 10], Operations: ['78-72=6', '16-6=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 32, 16, 56, 80 ]
49
[ "32+80=112", "112/16=7", "56-7=49" ]
Current State: 49:[32, 16, 56, 80], Operations: [] Exploring Operation: 32+80=112, Resulting Numbers: [16, 56, 112] Generated Node #2: [16, 56, 112] from Operation: 32+80=112 Current State: 49:[16, 56, 112], Operations: ['32+80=112'] Exploring Operation: 112/16=7, Resulting Numbers: [56, 7] Generated Node #3: [56, 7] from Operation: 112/16=7 Current State: 49:[56, 7], Operations: ['32+80=112', '112/16=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 16, 56, 80], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [32, 56, 5] Generated Node #0,0: 49:[32, 56, 5] Operation: 80/16=5 Exploring Operation: 80-32=48, Resulting Numbers: [16, 56, 48] Generated Node #0,1: 49:[16, 56, 48] Operation: 80-32=48 Moving to Node #0,1 Current State: 49:[16, 56, 48], Operations: ['80-32=48'] Exploring Operation: 56-16=40, Resulting Numbers: [48, 40] Generated Node #0,1,0: 49:[48, 40] Operation: 56-16=40 Exploring Operation: 56-48=8, Resulting Numbers: [16, 8] Generated Node #0,1,1: 49:[16, 8] Operation: 56-48=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[48, 40], Operations: ['80-32=48', '56-16=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,49 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[16, 8], Operations: ['80-32=48', '56-48=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[32, 56, 5], Operations: ['80/16=5'] Exploring Operation: 56-32=24, Resulting Numbers: [5, 24] Generated Node #0,0,0: 49:[5, 24] Operation: 56-32=24 Exploring Operation: 32+5=37, Resulting Numbers: [56, 37] Generated Node #0,0,1: 49:[56, 37] Operation: 32+5=37 Moving to Node #0,0,0 Current State: 49:[5, 24], Operations: ['80/16=5', '56-32=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[56, 37], Operations: ['80/16=5', '32+5=37'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,49 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 55, 47, 46 ]
77
[ "23+55=78", "47-46=1", "78-1=77" ]
Current State: 77:[23, 55, 47, 46], Operations: [] Exploring Operation: 23+55=78, Resulting Numbers: [47, 46, 78] Generated Node #2: [47, 46, 78] from Operation: 23+55=78 Current State: 77:[47, 46, 78], Operations: ['23+55=78'] Exploring Operation: 47-46=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 47-46=1 Current State: 77:[78, 1], Operations: ['23+55=78', '47-46=1'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[23, 55, 47, 46], Operations: [] Exploring Operation: 47+46=93, Resulting Numbers: [23, 55, 93] Generated Node #0,0: 77:[23, 55, 93] Operation: 47+46=93 Exploring Operation: 55-47=8, Resulting Numbers: [23, 46, 8] Generated Node #0,1: 77:[23, 46, 8] Operation: 55-47=8 Exploring Operation: 55-46=9, Resulting Numbers: [23, 47, 9] Generated Node #0,2: 77:[23, 47, 9] Operation: 55-46=9 Exploring Operation: 47-46=1, Resulting Numbers: [23, 55, 1] Generated Node #0,3: 77:[23, 55, 1] Operation: 47-46=1 Moving to Node #0,3 Current State: 77:[23, 55, 1], Operations: ['47-46=1'] Exploring Operation: 23+55=78, Resulting Numbers: [1, 78] Generated Node #0,3,0: 77:[1, 78] Operation: 23+55=78 Exploring Operation: 23-1=22, Resulting Numbers: [55, 22] Generated Node #0,3,1: 77:[55, 22] Operation: 23-1=22 Exploring Operation: 55+1=56, Resulting Numbers: [23, 56] Generated Node #0,3,2: 77:[23, 56] Operation: 55+1=56 Exploring Operation: 55-23=32, Resulting Numbers: [1, 32] Generated Node #0,3,3: 77:[1, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[1, 78], Operations: ['47-46=1', '23+55=78'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[23, 55, 47, 46], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [23, 55, 1] Generated Node #0,3: 77:[23, 55, 1] Operation: 47-46=1 Moving to Node #0,3 Current State: 77:[23, 55, 1], Operations: ['47-46=1'] Exploring Operation: 23+55=78, Resulting Numbers: [1, 78] Generated Node #0,3,0: 77:[1, 78] Operation: 23+55=78 Moving to Node #0,3,0 Current State: 77:[1, 78], Operations: ['47-46=1', '23+55=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 99, 16, 30, 17 ]
90
[ "99*30=2970", "16+17=33", "2970/33=90" ]
Current State: 90:[99, 16, 30, 17], Operations: [] Exploring Operation: 99*30=2970, Resulting Numbers: [16, 17, 2970] Generated Node #2: [16, 17, 2970] from Operation: 99*30=2970 Current State: 90:[16, 17, 2970], Operations: ['99*30=2970'] Exploring Operation: 16+17=33, Resulting Numbers: [2970, 33] Generated Node #3: [2970, 33] from Operation: 16+17=33 Current State: 90:[2970, 33], Operations: ['99*30=2970', '16+17=33'] Exploring Operation: 2970/33=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[99, 16, 30, 17], Operations: [] Exploring Operation: 99-16=83, Resulting Numbers: [30, 17, 83] Generated Node #0,0: 90:[30, 17, 83] Operation: 99-16=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[30, 17, 83], Operations: ['99-16=83'] Exploring Operation: 30+17=47, Resulting Numbers: [83, 47] Generated Node #0,0,0: 90:[83, 47] Operation: 30+17=47 Moving to Node #0,0,0 Current State: 90:[83, 47], Operations: ['99-16=83', '30+17=47'] Exploring Operation: 83-47=36, Resulting Numbers: [36] 36,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 26, 33, 87 ]
35
[ "33-31=2", "26*2=52", "87-52=35" ]
Current State: 35:[31, 26, 33, 87], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [26, 87, 2] Generated Node #2: [26, 87, 2] from Operation: 33-31=2 Current State: 35:[26, 87, 2], Operations: ['33-31=2'] Exploring Operation: 26*2=52, Resulting Numbers: [87, 52] Generated Node #3: [87, 52] from Operation: 26*2=52 Current State: 35:[87, 52], Operations: ['33-31=2', '26*2=52'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[31, 26, 33, 87], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [26, 33, 56] Generated Node #0,0: 35:[26, 33, 56] Operation: 87-31=56 Moving to Node #0,0 Current State: 35:[26, 33, 56], Operations: ['87-31=56'] Exploring Operation: 56-26=30, Resulting Numbers: [33, 30] Generated Node #0,0,0: 35:[33, 30] Operation: 56-26=30 Moving to Node #0,0,0 Current State: 35:[33, 30], Operations: ['87-31=56', '56-26=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,35 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 72, 4, 34 ]
54
[ "4*4=16", "72-34=38", "16+38=54" ]
Current State: 54:[4, 72, 4, 34], Operations: [] Exploring Operation: 4*4=16, Resulting Numbers: [72, 34, 16] Generated Node #2: [72, 34, 16] from Operation: 4*4=16 Current State: 54:[72, 34, 16], Operations: ['4*4=16'] Exploring Operation: 72-34=38, Resulting Numbers: [16, 38] Generated Node #3: [16, 38] from Operation: 72-34=38 Current State: 54:[16, 38], Operations: ['4*4=16', '72-34=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[4, 72, 4, 34], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [4, 4, 38] Generated Node #0,0: 54:[4, 4, 38] Operation: 72-34=38 Exploring Operation: 72-4=68, Resulting Numbers: [4, 34, 68] Generated Node #0,1: 54:[4, 34, 68] Operation: 72-4=68 Exploring Operation: 34-4=30, Resulting Numbers: [72, 4, 30] Generated Node #0,2: 54:[72, 4, 30] Operation: 34-4=30 Exploring Operation: 72/4=18, Resulting Numbers: [4, 34, 18] Generated Node #0,3: 54:[4, 34, 18] Operation: 72/4=18 Exploring Operation: 72/4=18, Resulting Numbers: [4, 34, 18] Generated Node #0,4: 54:[4, 34, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[4, 34, 18], Operations: ['72/4=18'] Exploring Operation: 4+34=38, Resulting Numbers: [18, 38] Generated Node #0,3,0: 54:[18, 38] Operation: 4+34=38 Exploring Operation: 34-18=16, Resulting Numbers: [4, 16] Generated Node #0,3,1: 54:[4, 16] Operation: 34-18=16 Exploring Operation: 34-4=30, Resulting Numbers: [18, 30] Generated Node #0,3,2: 54:[18, 30] Operation: 34-4=30 Exploring Operation: 4+18=22, Resulting Numbers: [34, 22] Generated Node #0,3,3: 54:[34, 22] Operation: 4+18=22 Exploring Operation: 34+18=52, Resulting Numbers: [4, 52] Generated Node #0,3,4: 54:[4, 52] Operation: 34+18=52 Moving to Node #0,3,1 Current State: 54:[4, 16], Operations: ['72/4=18', '34-18=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[4, 52], Operations: ['72/4=18', '34+18=52'] Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,54 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[18, 30], Operations: ['72/4=18', '34-4=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,54 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[18, 38], Operations: ['72/4=18', '4+34=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[34, 22], Operations: ['72/4=18', '4+18=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,54 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[4, 34, 18], Operations: ['72/4=18'] Exploring Operation: 34+18=52, Resulting Numbers: [4, 52] Generated Node #0,4,0: 54:[4, 52] Operation: 34+18=52 Exploring Operation: 34-18=16, Resulting Numbers: [4, 16] Generated Node #0,4,1: 54:[4, 16] Operation: 34-18=16 Exploring Operation: 34-4=30, Resulting Numbers: [18, 30] Generated Node #0,4,2: 54:[18, 30] Operation: 34-4=30 Exploring Operation: 4+34=38, Resulting Numbers: [18, 38] Generated Node #0,4,3: 54:[18, 38] Operation: 4+34=38 Exploring Operation: 4+18=22, Resulting Numbers: [34, 22] Generated Node #0,4,4: 54:[34, 22] Operation: 4+18=22 Moving to Node #0,4,0 Current State: 54:[4, 52], Operations: ['72/4=18', '34+18=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[18, 30], Operations: ['72/4=18', '34-4=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,54 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[4, 16], Operations: ['72/4=18', '34-18=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[18, 38], Operations: ['72/4=18', '4+34=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[34, 22], Operations: ['72/4=18', '4+18=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,54 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[4, 4, 38], Operations: ['72-34=38'] Exploring Operation: 4/4=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 54:[38, 1] Operation: 4/4=1 Exploring Operation: 38-4=34, Resulting Numbers: [4, 34] Generated Node #0,0,1: 54:[4, 34] Operation: 38-4=34 Exploring Operation: 4*4=16, Resulting Numbers: [38, 16] Generated Node #0,0,2: 54:[38, 16] Operation: 4*4=16 Exploring Operation: 38-4=34, Resulting Numbers: [4, 34] Generated Node #0,0,3: 54:[4, 34] Operation: 38-4=34 Exploring Operation: 4+4=8, Resulting Numbers: [38, 8] Generated Node #0,0,4: 54:[38, 8] Operation: 4+4=8 Moving to Node #0,0,1 Current State: 54:[4, 34], Operations: ['72-34=38', '38-4=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[4, 34], Operations: ['72-34=38', '38-4=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[38, 1], Operations: ['72-34=38', '4/4=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[38, 8], Operations: ['72-34=38', '4+4=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,54 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[38, 16], Operations: ['72-34=38', '4*4=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,54 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[4, 72, 4, 34], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [4, 4, 38] Generated Node #0,0: 54:[4, 4, 38] Operation: 72-34=38 Moving to Node #0,0 Current State: 54:[4, 4, 38], Operations: ['72-34=38'] Exploring Operation: 4*4=16, Resulting Numbers: [38, 16] Generated Node #0,0,2: 54:[38, 16] Operation: 4*4=16 Moving to Node #0,0,2 Current State: 54:[38, 16], Operations: ['72-34=38', '4*4=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.936632
hs_5
mult_heuristic
[ 6, 4, 68, 50 ]
66
[ "68-50=18", "4*18=72", "72-6=66" ]
Current State: 66:[6, 4, 68, 50], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [6, 4, 18] Generated Node #2: [6, 4, 18] from Operation: 68-50=18 Current State: 66:[6, 4, 18], Operations: ['68-50=18'] Exploring Operation: 4*18=72, Resulting Numbers: [6, 72] Generated Node #3: [6, 72] from Operation: 4*18=72 Current State: 66:[6, 72], Operations: ['68-50=18', '4*18=72'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[6, 4, 68, 50], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [4, 68, 44] Generated Node #0,0: 66:[4, 68, 44] Operation: 50-6=44 Exploring Operation: 68-50=18, Resulting Numbers: [6, 4, 18] Generated Node #0,1: 66:[6, 4, 18] Operation: 68-50=18 Exploring Operation: 6+50=56, Resulting Numbers: [4, 68, 56] Generated Node #0,2: 66:[4, 68, 56] Operation: 6+50=56 Moving to Node #0,1 Current State: 66:[6, 4, 18], Operations: ['68-50=18'] Exploring Operation: 18-6=12, Resulting Numbers: [4, 12] Generated Node #0,1,0: 66:[4, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 66:[4, 3] Operation: 18/6=3 Exploring Operation: 4+18=22, Resulting Numbers: [6, 22] Generated Node #0,1,2: 66:[6, 22] Operation: 4+18=22 Moving to Node #0,2 Current State: 66:[4, 68, 56], Operations: ['6+50=56'] Exploring Operation: 68-56=12, Resulting Numbers: [4, 12] Generated Node #0,2,0: 66:[4, 12] Operation: 68-56=12 Exploring Operation: 4+56=60, Resulting Numbers: [68, 60] Generated Node #0,2,1: 66:[68, 60] Operation: 4+56=60 Exploring Operation: 56/4=14, Resulting Numbers: [68, 14] Generated Node #0,2,2: 66:[68, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[4, 12], Operations: ['6+50=56', '68-56=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[68, 14], Operations: ['6+50=56', '56/4=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,66 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[68, 60], Operations: ['6+50=56', '4+56=60'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,66 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 66:[4, 68, 44], Operations: ['50-6=44'] Exploring Operation: 68-44=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 66:[4, 24] Operation: 68-44=24 Exploring Operation: 44-4=40, Resulting Numbers: [68, 40] Generated Node #0,0,1: 66:[68, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [68, 11] Generated Node #0,0,2: 66:[68, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[68, 11], Operations: ['50-6=44', '44/4=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,66 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[4, 24], Operations: ['50-6=44', '68-44=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[68, 40], Operations: ['50-6=44', '44-4=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,66 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 66:[6, 22], Operations: ['68-50=18', '4+18=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[4, 3], Operations: ['68-50=18', '18/6=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[4, 12], Operations: ['68-50=18', '18-6=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 86, 1, 96, 25 ]
15
[ "86*1=86", "96-25=71", "86-71=15" ]
Current State: 15:[86, 1, 96, 25], Operations: [] Exploring Operation: 86*1=86, Resulting Numbers: [96, 25, 86] Generated Node #2: [96, 25, 86] from Operation: 86*1=86 Current State: 15:[96, 25, 86], Operations: ['86*1=86'] Exploring Operation: 96-25=71, Resulting Numbers: [86, 71] Generated Node #3: [86, 71] from Operation: 96-25=71 Current State: 15:[86, 71], Operations: ['86*1=86', '96-25=71'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 1, 96, 25], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [1, 25, 10] Generated Node #0,0: 15:[1, 25, 10] Operation: 96-86=10 Moving to Node #0,0 Current State: 15:[1, 25, 10], Operations: ['96-86=10'] Exploring Operation: 25-10=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 15:[1, 15] Operation: 25-10=15 Moving to Node #0,0,0 Current State: 15:[1, 15], Operations: ['96-86=10', '25-10=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[86, 1, 96, 25], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [1, 25, 10] Generated Node #0,0: 15:[1, 25, 10] Operation: 96-86=10 Moving to Node #0,0 Current State: 15:[1, 25, 10], Operations: ['96-86=10'] Exploring Operation: 25-10=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 15:[1, 15] Operation: 25-10=15 Moving to Node #0,0,0 Current State: 15:[1, 15], Operations: ['96-86=10', '25-10=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 60, 75, 71, 45 ]
30
[ "75-71=4", "60/4=15", "45-15=30" ]
Current State: 30:[60, 75, 71, 45], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [60, 45, 4] Generated Node #2: [60, 45, 4] from Operation: 75-71=4 Current State: 30:[60, 45, 4], Operations: ['75-71=4'] Exploring Operation: 60/4=15, Resulting Numbers: [45, 15] Generated Node #3: [45, 15] from Operation: 60/4=15 Current State: 30:[45, 15], Operations: ['75-71=4', '60/4=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[60, 75, 71, 45], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [60, 45, 4] Generated Node #0,0: 30:[60, 45, 4] Operation: 75-71=4 Exploring Operation: 71-60=11, Resulting Numbers: [75, 45, 11] Generated Node #0,1: 30:[75, 45, 11] Operation: 71-60=11 Exploring Operation: 75-45=30, Resulting Numbers: [60, 71, 30] Generated Node #0,2: 30:[60, 71, 30] Operation: 75-45=30 Exploring Operation: 75-60=15, Resulting Numbers: [71, 45, 15] Generated Node #0,3: 30:[71, 45, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[60, 45, 4], Operations: ['75-71=4'] Exploring Operation: 60-45=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 30:[4, 15] Operation: 60-45=15 Exploring Operation: 45-4=41, Resulting Numbers: [60, 41] Generated Node #0,0,1: 30:[60, 41] Operation: 45-4=41 Exploring Operation: 60/4=15, Resulting Numbers: [45, 15] Generated Node #0,0,2: 30:[45, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [45, 56] Generated Node #0,0,3: 30:[45, 56] Operation: 60-4=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[4, 15], Operations: ['75-71=4', '60-45=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 30:[45, 15], Operations: ['75-71=4', '60/4=15'] Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,30 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[60, 75, 71, 45], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [60, 45, 4] Generated Node #0,0: 30:[60, 45, 4] Operation: 75-71=4 Moving to Node #0,0 Current State: 30:[60, 45, 4], Operations: ['75-71=4'] Exploring Operation: 60/4=15, Resulting Numbers: [45, 15] Generated Node #0,0,2: 30:[45, 15] Operation: 60/4=15 Moving to Node #0,0,2 Current State: 30:[45, 15], Operations: ['75-71=4', '60/4=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 9, 20, 7, 83 ]
86
[ "20+7=27", "27/9=3", "83+3=86" ]
Current State: 86:[9, 20, 7, 83], Operations: [] Exploring Operation: 20+7=27, Resulting Numbers: [9, 83, 27] Generated Node #2: [9, 83, 27] from Operation: 20+7=27 Current State: 86:[9, 83, 27], Operations: ['20+7=27'] Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 27/9=3 Current State: 86:[83, 3], Operations: ['20+7=27', '27/9=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[9, 20, 7, 83], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [7, 83, 11] Generated Node #0,0: 86:[7, 83, 11] Operation: 20-9=11 Exploring Operation: 9+20=29, Resulting Numbers: [7, 83, 29] Generated Node #0,1: 86:[7, 83, 29] Operation: 9+20=29 Exploring Operation: 20-7=13, Resulting Numbers: [9, 83, 13] Generated Node #0,2: 86:[9, 83, 13] Operation: 20-7=13 Exploring Operation: 9-7=2, Resulting Numbers: [20, 83, 2] Generated Node #0,3: 86:[20, 83, 2] Operation: 9-7=2 Exploring Operation: 20+7=27, Resulting Numbers: [9, 83, 27] Generated Node #0,4: 86:[9, 83, 27] Operation: 20+7=27 Moving to Node #0,0 Current State: 86:[7, 83, 11], Operations: ['20-9=11'] Exploring Operation: 7*11=77, Resulting Numbers: [83, 77] Generated Node #0,0,0: 86:[83, 77] Operation: 7*11=77 Exploring Operation: 83-7=76, Resulting Numbers: [11, 76] Generated Node #0,0,1: 86:[11, 76] Operation: 83-7=76 Exploring Operation: 83+11=94, Resulting Numbers: [7, 94] Generated Node #0,0,2: 86:[7, 94] Operation: 83+11=94 Exploring Operation: 11-7=4, Resulting Numbers: [83, 4] Generated Node #0,0,3: 86:[83, 4] Operation: 11-7=4 Exploring Operation: 7+83=90, Resulting Numbers: [11, 90] Generated Node #0,0,4: 86:[11, 90] Operation: 7+83=90 Moving to Node #0,3 Current State: 86:[20, 83, 2], Operations: ['9-7=2'] Exploring Operation: 20-2=18, Resulting Numbers: [83, 18] Generated Node #0,3,0: 86:[83, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [83, 10] Generated Node #0,3,1: 86:[83, 10] Operation: 20/2=10 Exploring Operation: 83+2=85, Resulting Numbers: [20, 85] Generated Node #0,3,2: 86:[20, 85] Operation: 83+2=85 Exploring Operation: 20*2=40, Resulting Numbers: [83, 40] Generated Node #0,3,3: 86:[83, 40] Operation: 20*2=40 Exploring Operation: 20+83=103, Resulting Numbers: [2, 103] Generated Node #0,3,4: 86:[2, 103] Operation: 20+83=103 Moving to Node #0,2 Current State: 86:[9, 83, 13], Operations: ['20-7=13'] Exploring Operation: 13-9=4, Resulting Numbers: [83, 4] Generated Node #0,2,0: 86:[83, 4] Operation: 13-9=4 Exploring Operation: 9+13=22, Resulting Numbers: [83, 22] Generated Node #0,2,1: 86:[83, 22] Operation: 9+13=22 Exploring Operation: 83-9=74, Resulting Numbers: [13, 74] Generated Node #0,2,2: 86:[13, 74] Operation: 83-9=74 Exploring Operation: 83+13=96, Resulting Numbers: [9, 96] Generated Node #0,2,3: 86:[9, 96] Operation: 83+13=96 Exploring Operation: 9+83=92, Resulting Numbers: [13, 92] Generated Node #0,2,4: 86:[13, 92] Operation: 9+83=92 Moving to Node #0,1 Current State: 86:[7, 83, 29], Operations: ['9+20=29'] Exploring Operation: 83-7=76, Resulting Numbers: [29, 76] Generated Node #0,1,0: 86:[29, 76] Operation: 83-7=76 Exploring Operation: 29-7=22, Resulting Numbers: [83, 22] Generated Node #0,1,1: 86:[83, 22] Operation: 29-7=22 Exploring Operation: 7+29=36, Resulting Numbers: [83, 36] Generated Node #0,1,2: 86:[83, 36] Operation: 7+29=36 Exploring Operation: 83-29=54, Resulting Numbers: [7, 54] Generated Node #0,1,3: 86:[7, 54] Operation: 83-29=54 Exploring Operation: 7+83=90, Resulting Numbers: [29, 90] Generated Node #0,1,4: 86:[29, 90] Operation: 7+83=90 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[83, 36], Operations: ['9+20=29', '7+29=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,86 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,86 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[7, 54], Operations: ['9+20=29', '83-29=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,86 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[29, 90], Operations: ['9+20=29', '7+83=90'] Exploring Operation: 29*90=2610, Resulting Numbers: [2610] 2610,86 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 29+90=119, Resulting Numbers: [119] 119,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[83, 22], Operations: ['9+20=29', '29-7=22'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,86 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[29, 76], Operations: ['9+20=29', '83-7=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 86:[9, 83, 27], Operations: ['20+7=27'] Exploring Operation: 83-27=56, Resulting Numbers: [9, 56] Generated Node #0,4,0: 86:[9, 56] Operation: 83-27=56 Exploring Operation: 9+27=36, Resulting Numbers: [83, 36] Generated Node #0,4,1: 86:[83, 36] Operation: 9+27=36 Exploring Operation: 27-9=18, Resulting Numbers: [83, 18] Generated Node #0,4,2: 86:[83, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #0,4,3: 86:[83, 3] Operation: 27/9=3 Exploring Operation: 9+83=92, Resulting Numbers: [27, 92] Generated Node #0,4,4: 86:[27, 92] Operation: 9+83=92 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[83, 3], Operations: ['20+7=27', '27/9=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,86 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[9, 20, 7, 83], Operations: [] Exploring Operation: 20+7=27, Resulting Numbers: [9, 83, 27] Generated Node #0,4: 86:[9, 83, 27] Operation: 20+7=27 Moving to Node #0,4 Current State: 86:[9, 83, 27], Operations: ['20+7=27'] Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #0,4,3: 86:[83, 3] Operation: 27/9=3 Moving to Node #0,4,3 Current State: 86:[83, 3], Operations: ['20+7=27', '27/9=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
mult_heuristic
[ 35, 15, 8, 34 ]
76
[ "35+15=50", "34-8=26", "50+26=76" ]
Current State: 76:[35, 15, 8, 34], Operations: [] Exploring Operation: 35+15=50, Resulting Numbers: [8, 34, 50] Generated Node #2: [8, 34, 50] from Operation: 35+15=50 Current State: 76:[8, 34, 50], Operations: ['35+15=50'] Exploring Operation: 34-8=26, Resulting Numbers: [50, 26] Generated Node #3: [50, 26] from Operation: 34-8=26 Current State: 76:[50, 26], Operations: ['35+15=50', '34-8=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[35, 15, 8, 34], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [35, 8, 19] Generated Node #0,0: 76:[35, 8, 19] Operation: 34-15=19 Moving to Node #0,0 Current State: 76:[35, 8, 19], Operations: ['34-15=19'] Exploring Operation: 35+8=43, Resulting Numbers: [19, 43] Generated Node #0,0,0: 76:[19, 43] Operation: 35+8=43 Moving to Node #0,0,0 Current State: 76:[19, 43], Operations: ['34-15=19', '35+8=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 50, 31, 21 ]
52
[ "31-21=10", "20/10=2", "50+2=52" ]
Current State: 52:[20, 50, 31, 21], Operations: [] Exploring Operation: 31-21=10, Resulting Numbers: [20, 50, 10] Generated Node #2: [20, 50, 10] from Operation: 31-21=10 Current State: 52:[20, 50, 10], Operations: ['31-21=10'] Exploring Operation: 20/10=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 20/10=2 Current State: 52:[50, 2], Operations: ['31-21=10', '20/10=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[20, 50, 31, 21], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [50, 21, 11] Generated Node #0,0: 52:[50, 21, 11] Operation: 31-20=11 Exploring Operation: 20+31=51, Resulting Numbers: [50, 21, 51] Generated Node #0,1: 52:[50, 21, 51] Operation: 20+31=51 Exploring Operation: 31+21=52, Resulting Numbers: [20, 50, 52] Generated Node #0,2: 52:[20, 50, 52] Operation: 31+21=52 Exploring Operation: 21-20=1, Resulting Numbers: [50, 31, 1] Generated Node #0,3: 52:[50, 31, 1] Operation: 21-20=1 Moving to Node #0,1 Current State: 52:[50, 21, 51], Operations: ['20+31=51'] Exploring Operation: 51-21=30, Resulting Numbers: [50, 30] Generated Node #0,1,0: 52:[50, 30] Operation: 51-21=30 Exploring Operation: 51-50=1, Resulting Numbers: [21, 1] Generated Node #0,1,1: 52:[21, 1] Operation: 51-50=1 Exploring Operation: 50-21=29, Resulting Numbers: [51, 29] Generated Node #0,1,2: 52:[51, 29] Operation: 50-21=29 Exploring Operation: 50+21=71, Resulting Numbers: [51, 71] Generated Node #0,1,3: 52:[51, 71] Operation: 50+21=71 Moving to Node #0,3 Current State: 52:[50, 31, 1], Operations: ['21-20=1'] Exploring Operation: 50+1=51, Resulting Numbers: [31, 51] Generated Node #0,3,0: 52:[31, 51] Operation: 50+1=51 Exploring Operation: 31-1=30, Resulting Numbers: [50, 30] Generated Node #0,3,1: 52:[50, 30] Operation: 31-1=30 Exploring Operation: 50*1=50, Resulting Numbers: [31, 50] Generated Node #0,3,2: 52:[31, 50] Operation: 50*1=50 Exploring Operation: 50-31=19, Resulting Numbers: [1, 19] Generated Node #0,3,3: 52:[1, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[31, 51], Operations: ['21-20=1', '50+1=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,52 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[50, 30], Operations: ['21-20=1', '31-1=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,52 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[31, 50], Operations: ['21-20=1', '50*1=50'] Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,52 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,52 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[1, 19], Operations: ['21-20=1', '50-31=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 52:[20, 50, 52], Operations: ['31+21=52'] Exploring Operation: 52-20=32, Resulting Numbers: [50, 32] Generated Node #0,2,0: 52:[50, 32] Operation: 52-20=32 Exploring Operation: 20+50=70, Resulting Numbers: [52, 70] Generated Node #0,2,1: 52:[52, 70] Operation: 20+50=70 Exploring Operation: 50-20=30, Resulting Numbers: [52, 30] Generated Node #0,2,2: 52:[52, 30] Operation: 50-20=30 Exploring Operation: 52-50=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 52:[20, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 52:[50, 21, 11], Operations: ['31-20=11'] Exploring Operation: 21-11=10, Resulting Numbers: [50, 10] Generated Node #0,0,0: 52:[50, 10] Operation: 21-11=10 Exploring Operation: 50+11=61, Resulting Numbers: [21, 61] Generated Node #0,0,1: 52:[21, 61] Operation: 50+11=61 Exploring Operation: 21+11=32, Resulting Numbers: [50, 32] Generated Node #0,0,2: 52:[50, 32] Operation: 21+11=32 Exploring Operation: 50-21=29, Resulting Numbers: [11, 29] Generated Node #0,0,3: 52:[11, 29] Operation: 50-21=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[50, 10], Operations: ['31-20=11', '21-11=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,52 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[11, 29], Operations: ['31-20=11', '50-21=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,52 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[50, 32], Operations: ['31-20=11', '21+11=32'] Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,52 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[21, 61], Operations: ['31-20=11', '50+11=61'] Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,52 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 52:[51, 29], Operations: ['20+31=51', '50-21=29'] Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,52 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[52, 30], Operations: ['31+21=52', '50-20=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,52 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[21, 1], Operations: ['20+31=51', '51-50=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[20, 2], Operations: ['31+21=52', '52-50=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[50, 30], Operations: ['20+31=51', '51-21=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[50, 32], Operations: ['31+21=52', '52-20=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,52 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[52, 70], Operations: ['31+21=52', '20+50=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,52 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[51, 71], Operations: ['20+31=51', '50+21=71'] Exploring Operation: 51*71=3621, Resulting Numbers: [3621] 3621,52 unequal: No Solution Exploring Operation: 51+71=122, Resulting Numbers: [122] 122,52 unequal: No Solution Exploring Operation: 71-51=20, Resulting Numbers: [20] 20,52 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 73, 14, 37, 38 ]
59
[ "73-14=59", "38-37=1", "59*1=59" ]
Current State: 59:[73, 14, 37, 38], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [37, 38, 59] Generated Node #2: [37, 38, 59] from Operation: 73-14=59 Current State: 59:[37, 38, 59], Operations: ['73-14=59'] Exploring Operation: 38-37=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 38-37=1 Current State: 59:[59, 1], Operations: ['73-14=59', '38-37=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[73, 14, 37, 38], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [37, 38, 59] Generated Node #0,0: 59:[37, 38, 59] Operation: 73-14=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[37, 38, 59], Operations: ['73-14=59'] Exploring Operation: 37+38=75, Resulting Numbers: [59, 75] Generated Node #0,0,0: 59:[59, 75] Operation: 37+38=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[59, 75], Operations: ['73-14=59', '37+38=75'] Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 70, 16, 10 ]
40
[ "8*70=560", "560/10=56", "56-16=40" ]
Current State: 40:[8, 70, 16, 10], Operations: [] Exploring Operation: 8*70=560, Resulting Numbers: [16, 10, 560] Generated Node #2: [16, 10, 560] from Operation: 8*70=560 Current State: 40:[16, 10, 560], Operations: ['8*70=560'] Exploring Operation: 560/10=56, Resulting Numbers: [16, 56] Generated Node #3: [16, 56] from Operation: 560/10=56 Current State: 40:[16, 56], Operations: ['8*70=560', '560/10=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 70, 16, 10], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [8, 10, 54] Generated Node #0,0: 40:[8, 10, 54] Operation: 70-16=54 Exploring Operation: 70/10=7, Resulting Numbers: [8, 16, 7] Generated Node #0,1: 40:[8, 16, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [8, 16, 60] Generated Node #0,2: 40:[8, 16, 60] Operation: 70-10=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[8, 16, 7], Operations: ['70/10=7'] Exploring Operation: 16/8=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 40:[7, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [7, 8] Generated Node #0,1,1: 40:[7, 8] Operation: 16-8=8 Exploring Operation: 16-7=9, Resulting Numbers: [8, 9] Generated Node #0,1,2: 40:[8, 9] Operation: 16-7=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[7, 2], Operations: ['70/10=7', '16/8=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[7, 8], Operations: ['70/10=7', '16-8=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[8, 9], Operations: ['70/10=7', '16-7=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[8, 10, 54], Operations: ['70-16=54'] Exploring Operation: 10-8=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 40:[54, 2] Operation: 10-8=2 Exploring Operation: 54-10=44, Resulting Numbers: [8, 44] Generated Node #0,0,1: 40:[8, 44] Operation: 54-10=44 Exploring Operation: 54-8=46, Resulting Numbers: [10, 46] Generated Node #0,0,2: 40:[10, 46] Operation: 54-8=46 Moving to Node #0,0,1 Current State: 40:[8, 44], Operations: ['70-16=54', '54-10=44'] Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,40 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[10, 46], Operations: ['70-16=54', '54-8=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,40 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[54, 2], Operations: ['70-16=54', '10-8=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[8, 16, 60], Operations: ['70-10=60'] Exploring Operation: 16-8=8, Resulting Numbers: [60, 8] Generated Node #0,2,0: 40:[60, 8] Operation: 16-8=8 Exploring Operation: 60-16=44, Resulting Numbers: [8, 44] Generated Node #0,2,1: 40:[8, 44] Operation: 60-16=44 Exploring Operation: 60-8=52, Resulting Numbers: [16, 52] Generated Node #0,2,2: 40:[16, 52] Operation: 60-8=52 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[8, 44], Operations: ['70-10=60', '60-16=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,40 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[16, 52], Operations: ['70-10=60', '60-8=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,40 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[60, 8], Operations: ['70-10=60', '16-8=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,40 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 80, 39, 19, 39 ]
17
[ "80-39=41", "19+39=58", "58-41=17" ]
Current State: 17:[80, 39, 19, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [19, 41] Generated Node #2: [19, 41] from Operation: 80-39=41 Current State: 17:[19, 41], Operations: ['80-39=41'] Exploring Operation: 19+39=58, Resulting Numbers: [41, 58] Generated Node #3: [41, 58] from Operation: 19+39=58 Current State: 17:[41, 58], Operations: ['80-39=41', '19+39=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[80, 39, 19, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [19, 39, 41] Generated Node #0,0: 17:[19, 39, 41] Operation: 80-39=41 Moving to Node #0,0 Current State: 17:[19, 39, 41], Operations: ['80-39=41'] Exploring Operation: 41-39=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 17:[19, 2] Operation: 41-39=2 Moving to Node #0,0,0 Current State: 17:[19, 2], Operations: ['80-39=41', '41-39=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[80, 39, 19, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [19, 39, 41] Generated Node #0,0: 17:[19, 39, 41] Operation: 80-39=41 Moving to Node #0,0 Current State: 17:[19, 39, 41], Operations: ['80-39=41'] Exploring Operation: 41-39=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 17:[19, 2] Operation: 41-39=2 Moving to Node #0,0,0 Current State: 17:[19, 2], Operations: ['80-39=41', '41-39=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 2, 48, 16, 49 ]
83
[ "2+48=50", "49-16=33", "50+33=83" ]
Current State: 83:[2, 48, 16, 49], Operations: [] Exploring Operation: 2+48=50, Resulting Numbers: [16, 49, 50] Generated Node #2: [16, 49, 50] from Operation: 2+48=50 Current State: 83:[16, 49, 50], Operations: ['2+48=50'] Exploring Operation: 49-16=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 49-16=33 Current State: 83:[50, 33], Operations: ['2+48=50', '49-16=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[2, 48, 16, 49], Operations: [] Exploring Operation: 2*48=96, Resulting Numbers: [16, 49, 96] Generated Node #0,0: 83:[16, 49, 96] Operation: 2*48=96 Moving to Node #0,0 Current State: 83:[16, 49, 96], Operations: ['2*48=96'] Exploring Operation: 16+49=65, Resulting Numbers: [96, 65] Generated Node #0,0,0: 83:[96, 65] Operation: 16+49=65 Moving to Node #0,0,0 Current State: 83:[96, 65], Operations: ['2*48=96', '16+49=65'] Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 65, 78, 97 ]
33
[ "79-65=14", "97-78=19", "14+19=33" ]
Current State: 33:[79, 65, 78, 97], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [78, 97, 14] Generated Node #2: [78, 97, 14] from Operation: 79-65=14 Current State: 33:[78, 97, 14], Operations: ['79-65=14'] Exploring Operation: 97-78=19, Resulting Numbers: [14, 19] Generated Node #3: [14, 19] from Operation: 97-78=19 Current State: 33:[14, 19], Operations: ['79-65=14', '97-78=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[79, 65, 78, 97], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [65, 78, 18] Generated Node #0,0: 33:[65, 78, 18] Operation: 97-79=18 Exploring Operation: 79-78=1, Resulting Numbers: [65, 97, 1] Generated Node #0,1: 33:[65, 97, 1] Operation: 79-78=1 Exploring Operation: 79-65=14, Resulting Numbers: [78, 97, 14] Generated Node #0,2: 33:[78, 97, 14] Operation: 79-65=14 Exploring Operation: 97-78=19, Resulting Numbers: [79, 65, 19] Generated Node #0,3: 33:[79, 65, 19] Operation: 97-78=19 Exploring Operation: 97-65=32, Resulting Numbers: [79, 78, 32] Generated Node #0,4: 33:[79, 78, 32] Operation: 97-65=32 Moving to Node #0,0 Current State: 33:[65, 78, 18], Operations: ['97-79=18'] Exploring Operation: 65-18=47, Resulting Numbers: [78, 47] Generated Node #0,0,0: 33:[78, 47] Operation: 65-18=47 Exploring Operation: 78-65=13, Resulting Numbers: [18, 13] Generated Node #0,0,1: 33:[18, 13] Operation: 78-65=13 Exploring Operation: 78+18=96, Resulting Numbers: [65, 96] Generated Node #0,0,2: 33:[65, 96] Operation: 78+18=96 Exploring Operation: 65+18=83, Resulting Numbers: [78, 83] Generated Node #0,0,3: 33:[78, 83] Operation: 65+18=83 Exploring Operation: 78-18=60, Resulting Numbers: [65, 60] Generated Node #0,0,4: 33:[65, 60] Operation: 78-18=60 Moving to Node #0,3 Current State: 33:[79, 65, 19], Operations: ['97-78=19'] Exploring Operation: 65-19=46, Resulting Numbers: [79, 46] Generated Node #0,3,0: 33:[79, 46] Operation: 65-19=46 Exploring Operation: 79+19=98, Resulting Numbers: [65, 98] Generated Node #0,3,1: 33:[65, 98] Operation: 79+19=98 Exploring Operation: 79-65=14, Resulting Numbers: [19, 14] Generated Node #0,3,2: 33:[19, 14] Operation: 79-65=14 Exploring Operation: 79-19=60, Resulting Numbers: [65, 60] Generated Node #0,3,3: 33:[65, 60] Operation: 79-19=60 Exploring Operation: 65+19=84, Resulting Numbers: [79, 84] Generated Node #0,3,4: 33:[79, 84] Operation: 65+19=84 Moving to Node #0,4 Current State: 33:[79, 78, 32], Operations: ['97-65=32'] Exploring Operation: 79-78=1, Resulting Numbers: [32, 1] Generated Node #0,4,0: 33:[32, 1] Operation: 79-78=1 Exploring Operation: 79-32=47, Resulting Numbers: [78, 47] Generated Node #0,4,1: 33:[78, 47] Operation: 79-32=47 Exploring Operation: 78+32=110, Resulting Numbers: [79, 110] Generated Node #0,4,2: 33:[79, 110] Operation: 78+32=110 Exploring Operation: 79+32=111, Resulting Numbers: [78, 111] Generated Node #0,4,3: 33:[78, 111] Operation: 79+32=111 Exploring Operation: 78-32=46, Resulting Numbers: [79, 46] Generated Node #0,4,4: 33:[79, 46] Operation: 78-32=46 Moving to Node #0,1 Current State: 33:[65, 97, 1], Operations: ['79-78=1'] Exploring Operation: 65-1=64, Resulting Numbers: [97, 64] Generated Node #0,1,0: 33:[97, 64] Operation: 65-1=64 Exploring Operation: 65/1=65, Resulting Numbers: [97, 65] Generated Node #0,1,1: 33:[97, 65] Operation: 65/1=65 Exploring Operation: 97-65=32, Resulting Numbers: [1, 32] Generated Node #0,1,2: 33:[1, 32] Operation: 97-65=32 Exploring Operation: 65*1=65, Resulting Numbers: [97, 65] Generated Node #0,1,3: 33:[97, 65] Operation: 65*1=65 Exploring Operation: 97-1=96, Resulting Numbers: [65, 96] Generated Node #0,1,4: 33:[65, 96] Operation: 97-1=96 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[1, 32], Operations: ['79-78=1', '97-65=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[79, 65, 78, 97], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [65, 97, 1] Generated Node #0,1: 33:[65, 97, 1] Operation: 79-78=1 Moving to Node #0,1 Current State: 33:[65, 97, 1], Operations: ['79-78=1'] Exploring Operation: 97-65=32, Resulting Numbers: [1, 32] Generated Node #0,1,2: 33:[1, 32] Operation: 97-65=32 Moving to Node #0,1,2 Current State: 33:[1, 32], Operations: ['79-78=1', '97-65=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
sum_heuristic
[ 72, 48, 66, 17 ]
25
[ "72-48=24", "66-17=49", "49-24=25" ]
Current State: 25:[72, 48, 66, 17], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [66, 17, 24] Generated Node #2: [66, 17, 24] from Operation: 72-48=24 Current State: 25:[66, 17, 24], Operations: ['72-48=24'] Exploring Operation: 66-17=49, Resulting Numbers: [24, 49] Generated Node #3: [24, 49] from Operation: 66-17=49 Current State: 25:[24, 49], Operations: ['72-48=24', '66-17=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[72, 48, 66, 17], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [72, 17, 18] Generated Node #0,0: 25:[72, 17, 18] Operation: 66-48=18 Exploring Operation: 72-48=24, Resulting Numbers: [66, 17, 24] Generated Node #0,1: 25:[66, 17, 24] Operation: 72-48=24 Exploring Operation: 72-66=6, Resulting Numbers: [48, 17, 6] Generated Node #0,2: 25:[48, 17, 6] Operation: 72-66=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[48, 17, 6], Operations: ['72-66=6'] Exploring Operation: 48-6=42, Resulting Numbers: [17, 42] Generated Node #0,2,0: 25:[17, 42] Operation: 48-6=42 Exploring Operation: 48-17=31, Resulting Numbers: [6, 31] Generated Node #0,2,1: 25:[6, 31] Operation: 48-17=31 Exploring Operation: 48/6=8, Resulting Numbers: [17, 8] Generated Node #0,2,2: 25:[17, 8] Operation: 48/6=8 Moving to Node #0,2,1 Current State: 25:[6, 31], Operations: ['72-66=6', '48-17=31'] Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,25 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[72, 48, 66, 17], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [48, 17, 6] Generated Node #0,2: 25:[48, 17, 6] Operation: 72-66=6 Moving to Node #0,2 Current State: 25:[48, 17, 6], Operations: ['72-66=6'] Exploring Operation: 48-17=31, Resulting Numbers: [6, 31] Generated Node #0,2,1: 25:[6, 31] Operation: 48-17=31 Moving to Node #0,2,1 Current State: 25:[6, 31], Operations: ['72-66=6', '48-17=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 27, 28, 34, 4 ]
56
[ "34-27=7", "4*7=28", "28+28=56" ]
Current State: 56:[27, 28, 34, 4], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [28, 4, 7] Generated Node #2: [28, 4, 7] from Operation: 34-27=7 Current State: 56:[28, 4, 7], Operations: ['34-27=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28, 28] Generated Node #3: [28, 28] from Operation: 4*7=28 Current State: 56:[28, 28], Operations: ['34-27=7', '4*7=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[27, 28, 34, 4], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [28, 4, 7] Generated Node #0,0: 56:[28, 4, 7] Operation: 34-27=7 Exploring Operation: 27+34=61, Resulting Numbers: [28, 4, 61] Generated Node #0,1: 56:[28, 4, 61] Operation: 27+34=61 Exploring Operation: 34-28=6, Resulting Numbers: [27, 4, 6] Generated Node #0,2: 56:[27, 4, 6] Operation: 34-28=6 Exploring Operation: 34-4=30, Resulting Numbers: [27, 28, 30] Generated Node #0,3: 56:[27, 28, 30] Operation: 34-4=30 Exploring Operation: 27+28=55, Resulting Numbers: [34, 4, 55] Generated Node #0,4: 56:[34, 4, 55] Operation: 27+28=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[28, 4, 7], Operations: ['34-27=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 56:[4, 4] Operation: 28/7=4 Exploring Operation: 4+7=11, Resulting Numbers: [28, 11] Generated Node #0,0,1: 56:[28, 11] Operation: 4+7=11 Exploring Operation: 7-4=3, Resulting Numbers: [28, 3] Generated Node #0,0,2: 56:[28, 3] Operation: 7-4=3 Exploring Operation: 28/4=7, Resulting Numbers: [7, 7] Generated Node #0,0,3: 56:[7, 7] Operation: 28/4=7 Exploring Operation: 4*7=28, Resulting Numbers: [28, 28] Generated Node #0,0,4: 56:[28, 28] Operation: 4*7=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[4, 4], Operations: ['34-27=7', '28/7=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[7, 7], Operations: ['34-27=7', '28/4=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[28, 28], Operations: ['34-27=7', '4*7=28'] Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 28*28=784, Resulting Numbers: [784] 784,56 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[27, 28, 34, 4], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [28, 4, 7] Generated Node #0,0: 56:[28, 4, 7] Operation: 34-27=7 Moving to Node #0,0 Current State: 56:[28, 4, 7], Operations: ['34-27=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28, 28] Generated Node #0,0,4: 56:[28, 28] Operation: 4*7=28 Moving to Node #0,0,4 Current State: 56:[28, 28], Operations: ['34-27=7', '4*7=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 85, 58, 82, 91 ]
99
[ "85-82=3", "91-58=33", "3*33=99" ]
Current State: 99:[85, 58, 82, 91], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [58, 91, 3] Generated Node #2: [58, 91, 3] from Operation: 85-82=3 Current State: 99:[58, 91, 3], Operations: ['85-82=3'] Exploring Operation: 91-58=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 91-58=33 Current State: 99:[3, 33], Operations: ['85-82=3', '91-58=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[85, 58, 82, 91], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [58, 91, 3] Generated Node #0,0: 99:[58, 91, 3] Operation: 85-82=3 Exploring Operation: 91-58=33, Resulting Numbers: [85, 82, 33] Generated Node #0,1: 99:[85, 82, 33] Operation: 91-58=33 Exploring Operation: 85-58=27, Resulting Numbers: [82, 91, 27] Generated Node #0,2: 99:[82, 91, 27] Operation: 85-58=27 Exploring Operation: 82-58=24, Resulting Numbers: [85, 91, 24] Generated Node #0,3: 99:[85, 91, 24] Operation: 82-58=24 Moving to Node #0,1 Current State: 99:[85, 82, 33], Operations: ['91-58=33'] Exploring Operation: 82-33=49, Resulting Numbers: [85, 49] Generated Node #0,1,0: 99:[85, 49] Operation: 82-33=49 Exploring Operation: 85-82=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 99:[33, 3] Operation: 85-82=3 Exploring Operation: 82+33=115, Resulting Numbers: [85, 115] Generated Node #0,1,2: 99:[85, 115] Operation: 82+33=115 Exploring Operation: 85+33=118, Resulting Numbers: [82, 118] Generated Node #0,1,3: 99:[82, 118] Operation: 85+33=118 Moving to Node #0,3 Current State: 99:[85, 91, 24], Operations: ['82-58=24'] Exploring Operation: 85-24=61, Resulting Numbers: [91, 61] Generated Node #0,3,0: 99:[91, 61] Operation: 85-24=61 Exploring Operation: 91+24=115, Resulting Numbers: [85, 115] Generated Node #0,3,1: 99:[85, 115] Operation: 91+24=115 Exploring Operation: 91-85=6, Resulting Numbers: [24, 6] Generated Node #0,3,2: 99:[24, 6] Operation: 91-85=6 Exploring Operation: 85+24=109, Resulting Numbers: [91, 109] Generated Node #0,3,3: 99:[91, 109] Operation: 85+24=109 Moving to Node #0,2 Current State: 99:[82, 91, 27], Operations: ['85-58=27'] Exploring Operation: 82-27=55, Resulting Numbers: [91, 55] Generated Node #0,2,0: 99:[91, 55] Operation: 82-27=55 Exploring Operation: 91+27=118, Resulting Numbers: [82, 118] Generated Node #0,2,1: 99:[82, 118] Operation: 91+27=118 Exploring Operation: 82+27=109, Resulting Numbers: [91, 109] Generated Node #0,2,2: 99:[91, 109] Operation: 82+27=109 Exploring Operation: 91-82=9, Resulting Numbers: [27, 9] Generated Node #0,2,3: 99:[27, 9] Operation: 91-82=9 Moving to Node #0,0 Current State: 99:[58, 91, 3], Operations: ['85-82=3'] Exploring Operation: 58-3=55, Resulting Numbers: [91, 55] Generated Node #0,0,0: 99:[91, 55] Operation: 58-3=55 Exploring Operation: 91+3=94, Resulting Numbers: [58, 94] Generated Node #0,0,1: 99:[58, 94] Operation: 91+3=94 Exploring Operation: 91-58=33, Resulting Numbers: [3, 33] Generated Node #0,0,2: 99:[3, 33] Operation: 91-58=33 Exploring Operation: 58+3=61, Resulting Numbers: [91, 61] Generated Node #0,0,3: 99:[91, 61] Operation: 58+3=61 Moving to Node #0,1,1 Current State: 99:[33, 3], Operations: ['91-58=33', '85-82=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[85, 58, 82, 91], Operations: [] Exploring Operation: 91-58=33, Resulting Numbers: [85, 82, 33] Generated Node #0,1: 99:[85, 82, 33] Operation: 91-58=33 Moving to Node #0,1 Current State: 99:[85, 82, 33], Operations: ['91-58=33'] Exploring Operation: 85-82=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 99:[33, 3] Operation: 85-82=3 Moving to Node #0,1,1 Current State: 99:[33, 3], Operations: ['91-58=33', '85-82=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.976563
hs_4
mult_heuristic
[ 6, 63, 40, 41 ]
68
[ "6+63=69", "41-40=1", "69-1=68" ]
Current State: 68:[6, 63, 40, 41], Operations: [] Exploring Operation: 6+63=69, Resulting Numbers: [40, 41, 69] Generated Node #2: [40, 41, 69] from Operation: 6+63=69 Current State: 68:[40, 41, 69], Operations: ['6+63=69'] Exploring Operation: 41-40=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 41-40=1 Current State: 68:[69, 1], Operations: ['6+63=69', '41-40=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[6, 63, 40, 41], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [6, 63, 1] Generated Node #0,0: 68:[6, 63, 1] Operation: 41-40=1 Exploring Operation: 63-41=22, Resulting Numbers: [6, 40, 22] Generated Node #0,1: 68:[6, 40, 22] Operation: 63-41=22 Exploring Operation: 41-6=35, Resulting Numbers: [63, 40, 35] Generated Node #0,2: 68:[63, 40, 35] Operation: 41-6=35 Exploring Operation: 40-6=34, Resulting Numbers: [63, 41, 34] Generated Node #0,3: 68:[63, 41, 34] Operation: 40-6=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[6, 63, 1], Operations: ['41-40=1'] Exploring Operation: 6+63=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 68:[1, 69] Operation: 6+63=69 Exploring Operation: 6-1=5, Resulting Numbers: [63, 5] Generated Node #0,0,1: 68:[63, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [63, 6] Generated Node #0,0,2: 68:[63, 6] Operation: 6*1=6 Exploring Operation: 63+1=64, Resulting Numbers: [6, 64] Generated Node #0,0,3: 68:[6, 64] Operation: 63+1=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[1, 69], Operations: ['41-40=1', '6+63=69'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[6, 63, 40, 41], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [6, 63, 1] Generated Node #0,0: 68:[6, 63, 1] Operation: 41-40=1 Moving to Node #0,0 Current State: 68:[6, 63, 1], Operations: ['41-40=1'] Exploring Operation: 6+63=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 68:[1, 69] Operation: 6+63=69 Moving to Node #0,0,0 Current State: 68:[1, 69], Operations: ['41-40=1', '6+63=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 57, 11, 68, 20 ]
95
[ "57+68=125", "11*20=220", "220-125=95" ]
Current State: 95:[57, 11, 68, 20], Operations: [] Exploring Operation: 57+68=125, Resulting Numbers: [11, 20, 125] Generated Node #2: [11, 20, 125] from Operation: 57+68=125 Current State: 95:[11, 20, 125], Operations: ['57+68=125'] Exploring Operation: 11*20=220, Resulting Numbers: [125, 220] Generated Node #3: [125, 220] from Operation: 11*20=220 Current State: 95:[125, 220], Operations: ['57+68=125', '11*20=220'] Exploring Operation: 220-125=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[57, 11, 68, 20], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [11, 20, 11] Generated Node #0,0: 95:[11, 20, 11] Operation: 68-57=11 Moving to Node #0,0 Current State: 95:[11, 20, 11], Operations: ['68-57=11'] Exploring Operation: 11+11=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 95:[20, 22] Operation: 11+11=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[20, 22], Operations: ['68-57=11', '11+11=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 67, 6, 99 ]
28
[ "24/6=4", "99-67=32", "32-4=28" ]
Current State: 28:[24, 67, 6, 99], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [67, 99, 4] Generated Node #2: [67, 99, 4] from Operation: 24/6=4 Current State: 28:[67, 99, 4], Operations: ['24/6=4'] Exploring Operation: 99-67=32, Resulting Numbers: [4, 32] Generated Node #3: [4, 32] from Operation: 99-67=32 Current State: 28:[4, 32], Operations: ['24/6=4', '99-67=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 67, 6, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [24, 6, 32] Generated Node #0,0: 28:[24, 6, 32] Operation: 99-67=32 Exploring Operation: 67-6=61, Resulting Numbers: [24, 99, 61] Generated Node #0,1: 28:[24, 99, 61] Operation: 67-6=61 Exploring Operation: 99-24=75, Resulting Numbers: [67, 6, 75] Generated Node #0,2: 28:[67, 6, 75] Operation: 99-24=75 Exploring Operation: 67-24=43, Resulting Numbers: [6, 99, 43] Generated Node #0,3: 28:[6, 99, 43] Operation: 67-24=43 Moving to Node #0,0 Current State: 28:[24, 6, 32], Operations: ['99-67=32'] Exploring Operation: 32-6=26, Resulting Numbers: [24, 26] Generated Node #0,0,0: 28:[24, 26] Operation: 32-6=26 Exploring Operation: 32-24=8, Resulting Numbers: [6, 8] Generated Node #0,0,1: 28:[6, 8] Operation: 32-24=8 Exploring Operation: 24/6=4, Resulting Numbers: [32, 4] Generated Node #0,0,2: 28:[32, 4] Operation: 24/6=4 Exploring Operation: 24+6=30, Resulting Numbers: [32, 30] Generated Node #0,0,3: 28:[32, 30] Operation: 24+6=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[6, 8], Operations: ['99-67=32', '32-24=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[32, 4], Operations: ['99-67=32', '24/6=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[24, 67, 6, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [24, 6, 32] Generated Node #0,0: 28:[24, 6, 32] Operation: 99-67=32 Moving to Node #0,0 Current State: 28:[24, 6, 32], Operations: ['99-67=32'] Exploring Operation: 24/6=4, Resulting Numbers: [32, 4] Generated Node #0,0,2: 28:[32, 4] Operation: 24/6=4 Moving to Node #0,0,2 Current State: 28:[32, 4], Operations: ['99-67=32', '24/6=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 60, 82, 2, 16 ]
68
[ "60/2=30", "82+16=98", "98-30=68" ]
Current State: 68:[60, 82, 2, 16], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [82, 16, 30] Generated Node #2: [82, 16, 30] from Operation: 60/2=30 Current State: 68:[82, 16, 30], Operations: ['60/2=30'] Exploring Operation: 82+16=98, Resulting Numbers: [30, 98] Generated Node #3: [30, 98] from Operation: 82+16=98 Current State: 68:[30, 98], Operations: ['60/2=30', '82+16=98'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[60, 82, 2, 16], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [2, 16, 22] Generated Node #0,0: 68:[2, 16, 22] Operation: 82-60=22 Exploring Operation: 82-16=66, Resulting Numbers: [60, 2, 66] Generated Node #0,1: 68:[60, 2, 66] Operation: 82-16=66 Moving to Node #0,0 Current State: 68:[2, 16, 22], Operations: ['82-60=22'] Exploring Operation: 22-2=20, Resulting Numbers: [16, 20] Generated Node #0,0,0: 68:[16, 20] Operation: 22-2=20 Exploring Operation: 22-16=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 68:[2, 6] Operation: 22-16=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[2, 6], Operations: ['82-60=22', '22-16=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[16, 20], Operations: ['82-60=22', '22-2=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[60, 2, 66], Operations: ['82-16=66'] Exploring Operation: 60/2=30, Resulting Numbers: [66, 30] Generated Node #0,1,0: 68:[66, 30] Operation: 60/2=30 Exploring Operation: 66-60=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 68:[2, 6] Operation: 66-60=6 Moving to Node #0,1,1 Current State: 68:[2, 6], Operations: ['82-16=66', '66-60=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[66, 30], Operations: ['82-16=66', '60/2=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,68 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 26, 89, 10, 14 ]
93
[ "26+14=40", "40/10=4", "89+4=93" ]
Current State: 93:[26, 89, 10, 14], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [89, 10, 40] Generated Node #2: [89, 10, 40] from Operation: 26+14=40 Current State: 93:[89, 10, 40], Operations: ['26+14=40'] Exploring Operation: 40/10=4, Resulting Numbers: [89, 4] Generated Node #3: [89, 4] from Operation: 40/10=4 Current State: 93:[89, 4], Operations: ['26+14=40', '40/10=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[26, 89, 10, 14], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [89, 10, 12] Generated Node #0,0: 93:[89, 10, 12] Operation: 26-14=12 Exploring Operation: 26+10=36, Resulting Numbers: [89, 14, 36] Generated Node #0,1: 93:[89, 14, 36] Operation: 26+10=36 Exploring Operation: 10+14=24, Resulting Numbers: [26, 89, 24] Generated Node #0,2: 93:[26, 89, 24] Operation: 10+14=24 Exploring Operation: 26+14=40, Resulting Numbers: [89, 10, 40] Generated Node #0,3: 93:[89, 10, 40] Operation: 26+14=40 Exploring Operation: 14-10=4, Resulting Numbers: [26, 89, 4] Generated Node #0,4: 93:[26, 89, 4] Operation: 14-10=4 Moving to Node #0,4 Current State: 93:[26, 89, 4], Operations: ['14-10=4'] Exploring Operation: 89-4=85, Resulting Numbers: [26, 85] Generated Node #0,4,0: 93:[26, 85] Operation: 89-4=85 Exploring Operation: 26+4=30, Resulting Numbers: [89, 30] Generated Node #0,4,1: 93:[89, 30] Operation: 26+4=30 Exploring Operation: 89+4=93, Resulting Numbers: [26, 93] Generated Node #0,4,2: 93:[26, 93] Operation: 89+4=93 Exploring Operation: 26*4=104, Resulting Numbers: [89, 104] Generated Node #0,4,3: 93:[89, 104] Operation: 26*4=104 Exploring Operation: 26-4=22, Resulting Numbers: [89, 22] Generated Node #0,4,4: 93:[89, 22] Operation: 26-4=22 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 93:[89, 30], Operations: ['14-10=4', '26+4=30'] Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,93 unequal: No Solution Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,93 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 93:[26, 93], Operations: ['14-10=4', '89+4=93'] Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,93 unequal: No Solution Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 93:[26, 85], Operations: ['14-10=4', '89-4=85'] Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,93 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 93:[89, 22], Operations: ['14-10=4', '26-4=22'] Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 93:[89, 104], Operations: ['14-10=4', '26*4=104'] Exploring Operation: 89*104=9256, Resulting Numbers: [9256] 9256,93 unequal: No Solution Exploring Operation: 104-89=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 89+104=193, Resulting Numbers: [193] 193,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[26, 89, 24], Operations: ['10+14=24'] Exploring Operation: 26+89=115, Resulting Numbers: [24, 115] Generated Node #0,2,0: 93:[24, 115] Operation: 26+89=115 Exploring Operation: 26+24=50, Resulting Numbers: [89, 50] Generated Node #0,2,1: 93:[89, 50] Operation: 26+24=50 Exploring Operation: 26-24=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 93:[89, 2] Operation: 26-24=2 Exploring Operation: 89+24=113, Resulting Numbers: [26, 113] Generated Node #0,2,3: 93:[26, 113] Operation: 89+24=113 Exploring Operation: 89-24=65, Resulting Numbers: [26, 65] Generated Node #0,2,4: 93:[26, 65] Operation: 89-24=65 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[89, 2], Operations: ['10+14=24', '26-24=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,93 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[89, 50], Operations: ['10+14=24', '26+24=50'] Exploring Operation: 89*50=4450, Resulting Numbers: [4450] 4450,93 unequal: No Solution Exploring Operation: 89+50=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[26, 113], Operations: ['10+14=24', '89+24=113'] Exploring Operation: 26*113=2938, Resulting Numbers: [2938] 2938,93 unequal: No Solution Exploring Operation: 113-26=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 26+113=139, Resulting Numbers: [139] 139,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[24, 115], Operations: ['10+14=24', '26+89=115'] Exploring Operation: 24+115=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 24*115=2760, Resulting Numbers: [2760] 2760,93 unequal: No Solution Exploring Operation: 115-24=91, Resulting Numbers: [91] 91,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[26, 65], Operations: ['10+14=24', '89-24=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 93:[89, 10, 12], Operations: ['26-14=12'] Exploring Operation: 12-10=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 93:[89, 2] Operation: 12-10=2 Exploring Operation: 89+12=101, Resulting Numbers: [10, 101] Generated Node #0,0,1: 93:[10, 101] Operation: 89+12=101 Exploring Operation: 10+12=22, Resulting Numbers: [89, 22] Generated Node #0,0,2: 93:[89, 22] Operation: 10+12=22 Exploring Operation: 89+10=99, Resulting Numbers: [12, 99] Generated Node #0,0,3: 93:[12, 99] Operation: 89+10=99 Exploring Operation: 89-10=79, Resulting Numbers: [12, 79] Generated Node #0,0,4: 93:[12, 79] Operation: 89-10=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[89, 2], Operations: ['26-14=12', '12-10=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[89, 22], Operations: ['26-14=12', '10+12=22'] Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,93 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[10, 101], Operations: ['26-14=12', '89+12=101'] Exploring Operation: 101-10=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 10*101=1010, Resulting Numbers: [1010] 1010,93 unequal: No Solution Exploring Operation: 10+101=111, Resulting Numbers: [111] 111,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[12, 99], Operations: ['26-14=12', '89+10=99'] Exploring Operation: 12+99=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 12*99=1188, Resulting Numbers: [1188] 1188,93 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[12, 79], Operations: ['26-14=12', '89-10=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,93 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 93:[89, 14, 36], Operations: ['26+10=36'] Exploring Operation: 14+36=50, Resulting Numbers: [89, 50] Generated Node #0,1,0: 93:[89, 50] Operation: 14+36=50 Exploring Operation: 36-14=22, Resulting Numbers: [89, 22] Generated Node #0,1,1: 93:[89, 22] Operation: 36-14=22 Exploring Operation: 89-36=53, Resulting Numbers: [14, 53] Generated Node #0,1,2: 93:[14, 53] Operation: 89-36=53 Exploring Operation: 89+14=103, Resulting Numbers: [36, 103] Generated Node #0,1,3: 93:[36, 103] Operation: 89+14=103 Exploring Operation: 89-14=75, Resulting Numbers: [36, 75] Generated Node #0,1,4: 93:[36, 75] Operation: 89-14=75 Moving to Node #0,3 Current State: 93:[89, 10, 40], Operations: ['26+14=40'] Exploring Operation: 40/10=4, Resulting Numbers: [89, 4] Generated Node #0,3,0: 93:[89, 4] Operation: 40/10=4 Exploring Operation: 10+40=50, Resulting Numbers: [89, 50] Generated Node #0,3,1: 93:[89, 50] Operation: 10+40=50 Exploring Operation: 89+10=99, Resulting Numbers: [40, 99] Generated Node #0,3,2: 93:[40, 99] Operation: 89+10=99 Exploring Operation: 40-10=30, Resulting Numbers: [89, 30] Generated Node #0,3,3: 93:[89, 30] Operation: 40-10=30 Exploring Operation: 89-10=79, Resulting Numbers: [40, 79] Generated Node #0,3,4: 93:[40, 79] Operation: 89-10=79 Moving to Node #0,3,0 Current State: 93:[89, 4], Operations: ['26+14=40', '40/10=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[26, 89, 10, 14], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [89, 10, 40] Generated Node #0,3: 93:[89, 10, 40] Operation: 26+14=40 Moving to Node #0,3 Current State: 93:[89, 10, 40], Operations: ['26+14=40'] Exploring Operation: 40/10=4, Resulting Numbers: [89, 4] Generated Node #0,3,0: 93:[89, 4] Operation: 40/10=4 Moving to Node #0,3,0 Current State: 93:[89, 4], Operations: ['26+14=40', '40/10=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.930556
hs_5
mult_heuristic
[ 1, 7, 46, 44 ]
15
[ "7-1=6", "46+44=90", "90/6=15" ]
Current State: 15:[1, 7, 46, 44], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [46, 44, 6] Generated Node #2: [46, 44, 6] from Operation: 7-1=6 Current State: 15:[46, 44, 6], Operations: ['7-1=6'] Exploring Operation: 46+44=90, Resulting Numbers: [6, 90] Generated Node #3: [6, 90] from Operation: 46+44=90 Current State: 15:[6, 90], Operations: ['7-1=6', '46+44=90'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[1, 7, 46, 44], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [1, 46, 37] Generated Node #0,0: 15:[1, 46, 37] Operation: 44-7=37 Exploring Operation: 7-1=6, Resulting Numbers: [46, 44, 6] Generated Node #0,1: 15:[46, 44, 6] Operation: 7-1=6 Exploring Operation: 46-7=39, Resulting Numbers: [1, 44, 39] Generated Node #0,2: 15:[1, 44, 39] Operation: 46-7=39 Exploring Operation: 46-44=2, Resulting Numbers: [1, 7, 2] Generated Node #0,3: 15:[1, 7, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[1, 7, 2], Operations: ['46-44=2'] Exploring Operation: 7-2=5, Resulting Numbers: [1, 5] Generated Node #0,3,0: 15:[1, 5] Operation: 7-2=5 Exploring Operation: 7-1=6, Resulting Numbers: [2, 6] Generated Node #0,3,1: 15:[2, 6] Operation: 7-1=6 Exploring Operation: 1*7=7, Resulting Numbers: [2, 7] Generated Node #0,3,2: 15:[2, 7] Operation: 1*7=7 Exploring Operation: 1+2=3, Resulting Numbers: [7, 3] Generated Node #0,3,3: 15:[7, 3] Operation: 1+2=3 Moving to Node #0,3,0 Current State: 15:[1, 5], Operations: ['46-44=2', '7-2=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[7, 3], Operations: ['46-44=2', '1+2=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[2, 6], Operations: ['46-44=2', '7-1=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[2, 7], Operations: ['46-44=2', '1*7=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[1, 46, 37], Operations: ['44-7=37'] Exploring Operation: 37-1=36, Resulting Numbers: [46, 36] Generated Node #0,0,0: 15:[46, 36] Operation: 37-1=36 Exploring Operation: 46-37=9, Resulting Numbers: [1, 9] Generated Node #0,0,1: 15:[1, 9] Operation: 46-37=9 Exploring Operation: 46-1=45, Resulting Numbers: [37, 45] Generated Node #0,0,2: 15:[37, 45] Operation: 46-1=45 Exploring Operation: 1*46=46, Resulting Numbers: [37, 46] Generated Node #0,0,3: 15:[37, 46] Operation: 1*46=46 Moving to Node #0,0,1 Current State: 15:[1, 9], Operations: ['44-7=37', '46-37=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[37, 45], Operations: ['44-7=37', '46-1=45'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[46, 36], Operations: ['44-7=37', '37-1=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[37, 46], Operations: ['44-7=37', '1*46=46'] Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[1, 44, 39], Operations: ['46-7=39'] Exploring Operation: 44-1=43, Resulting Numbers: [39, 43] Generated Node #0,2,0: 15:[39, 43] Operation: 44-1=43 Exploring Operation: 44-39=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 15:[1, 5] Operation: 44-39=5 Exploring Operation: 1*44=44, Resulting Numbers: [39, 44] Generated Node #0,2,2: 15:[39, 44] Operation: 1*44=44 Exploring Operation: 39-1=38, Resulting Numbers: [44, 38] Generated Node #0,2,3: 15:[44, 38] Operation: 39-1=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[1, 5], Operations: ['46-7=39', '44-39=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[39, 43], Operations: ['46-7=39', '44-1=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,15 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[44, 38], Operations: ['46-7=39', '39-1=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[39, 44], Operations: ['46-7=39', '1*44=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[46, 44, 6], Operations: ['7-1=6'] Exploring Operation: 46-6=40, Resulting Numbers: [44, 40] Generated Node #0,1,0: 15:[44, 40] Operation: 46-6=40 Exploring Operation: 46+6=52, Resulting Numbers: [44, 52] Generated Node #0,1,1: 15:[44, 52] Operation: 46+6=52 Exploring Operation: 44-6=38, Resulting Numbers: [46, 38] Generated Node #0,1,2: 15:[46, 38] Operation: 44-6=38 Exploring Operation: 46-44=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 15:[6, 2] Operation: 46-44=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[6, 2], Operations: ['7-1=6', '46-44=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[44, 40], Operations: ['7-1=6', '46-6=40'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,15 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[46, 38], Operations: ['7-1=6', '44-6=38'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[44, 52], Operations: ['7-1=6', '46+6=52'] Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,15 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 51, 86, 55, 88 ]
59
[ "88-86=2", "55*2=110", "110-51=59" ]
Current State: 59:[51, 86, 55, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [51, 55, 2] Generated Node #2: [51, 55, 2] from Operation: 88-86=2 Current State: 59:[51, 55, 2], Operations: ['88-86=2'] Exploring Operation: 55*2=110, Resulting Numbers: [51, 110] Generated Node #3: [51, 110] from Operation: 55*2=110 Current State: 59:[51, 110], Operations: ['88-86=2', '55*2=110'] Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[51, 86, 55, 88], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [51, 86, 33] Generated Node #0,0: 59:[51, 86, 33] Operation: 88-55=33 Exploring Operation: 86-55=31, Resulting Numbers: [51, 88, 31] Generated Node #0,1: 59:[51, 88, 31] Operation: 86-55=31 Exploring Operation: 88-86=2, Resulting Numbers: [51, 55, 2] Generated Node #0,2: 59:[51, 55, 2] Operation: 88-86=2 Exploring Operation: 86-51=35, Resulting Numbers: [55, 88, 35] Generated Node #0,3: 59:[55, 88, 35] Operation: 86-51=35 Exploring Operation: 88-51=37, Resulting Numbers: [86, 55, 37] Generated Node #0,4: 59:[86, 55, 37] Operation: 88-51=37 Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[86, 55, 37], Operations: ['88-51=37'] Exploring Operation: 86-55=31, Resulting Numbers: [37, 31] Generated Node #0,4,0: 59:[37, 31] Operation: 86-55=31 Exploring Operation: 55-37=18, Resulting Numbers: [86, 18] Generated Node #0,4,1: 59:[86, 18] Operation: 55-37=18 Exploring Operation: 86-37=49, Resulting Numbers: [55, 49] Generated Node #0,4,2: 59:[55, 49] Operation: 86-37=49 Exploring Operation: 86+37=123, Resulting Numbers: [55, 123] Generated Node #0,4,3: 59:[55, 123] Operation: 86+37=123 Exploring Operation: 55+37=92, Resulting Numbers: [86, 92] Generated Node #0,4,4: 59:[86, 92] Operation: 55+37=92 Moving to Node #0,4,2 Current State: 59:[55, 49], Operations: ['88-51=37', '86-37=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,59 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[37, 31], Operations: ['88-51=37', '86-55=31'] Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,59 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[86, 92], Operations: ['88-51=37', '55+37=92'] Exploring Operation: 86*92=7912, Resulting Numbers: [7912] 7912,59 unequal: No Solution Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 86+92=178, Resulting Numbers: [178] 178,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[86, 18], Operations: ['88-51=37', '55-37=18'] Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,59 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[55, 123], Operations: ['88-51=37', '86+37=123'] Exploring Operation: 55+123=178, Resulting Numbers: [178] 178,59 unequal: No Solution Exploring Operation: 55*123=6765, Resulting Numbers: [6765] 6765,59 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[55, 88, 35], Operations: ['86-51=35'] Exploring Operation: 55-35=20, Resulting Numbers: [88, 20] Generated Node #0,3,0: 59:[88, 20] Operation: 55-35=20 Exploring Operation: 88-35=53, Resulting Numbers: [55, 53] Generated Node #0,3,1: 59:[55, 53] Operation: 88-35=53 Exploring Operation: 88-55=33, Resulting Numbers: [35, 33] Generated Node #0,3,2: 59:[35, 33] Operation: 88-55=33 Exploring Operation: 55+35=90, Resulting Numbers: [88, 90] Generated Node #0,3,3: 59:[88, 90] Operation: 55+35=90 Exploring Operation: 88+35=123, Resulting Numbers: [55, 123] Generated Node #0,3,4: 59:[55, 123] Operation: 88+35=123 Moving to Node #0,3,1 Current State: 59:[55, 53], Operations: ['86-51=35', '88-35=53'] Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,59 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[35, 33], Operations: ['86-51=35', '88-55=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[88, 90], Operations: ['86-51=35', '55+35=90'] Exploring Operation: 88*90=7920, Resulting Numbers: [7920] 7920,59 unequal: No Solution Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,59 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[88, 20], Operations: ['86-51=35', '55-35=20'] Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[55, 123], Operations: ['86-51=35', '88+35=123'] Exploring Operation: 55+123=178, Resulting Numbers: [178] 178,59 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 55*123=6765, Resulting Numbers: [6765] 6765,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[51, 86, 33], Operations: ['88-55=33'] Exploring Operation: 86+33=119, Resulting Numbers: [51, 119] Generated Node #0,0,0: 59:[51, 119] Operation: 86+33=119 Exploring Operation: 86-33=53, Resulting Numbers: [51, 53] Generated Node #0,0,1: 59:[51, 53] Operation: 86-33=53 Exploring Operation: 51+33=84, Resulting Numbers: [86, 84] Generated Node #0,0,2: 59:[86, 84] Operation: 51+33=84 Exploring Operation: 51-33=18, Resulting Numbers: [86, 18] Generated Node #0,0,3: 59:[86, 18] Operation: 51-33=18 Exploring Operation: 86-51=35, Resulting Numbers: [33, 35] Generated Node #0,0,4: 59:[33, 35] Operation: 86-51=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[51, 53], Operations: ['88-55=33', '86-33=53'] Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,59 unequal: No Solution Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 59:[33, 35], Operations: ['88-55=33', '86-51=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,59 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[86, 84], Operations: ['88-55=33', '51+33=84'] Exploring Operation: 86-84=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 86+84=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 86*84=7224, Resulting Numbers: [7224] 7224,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[51, 119], Operations: ['88-55=33', '86+33=119'] Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 51*119=6069, Resulting Numbers: [6069] 6069,59 unequal: No Solution Exploring Operation: 51+119=170, Resulting Numbers: [170] 170,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[86, 18], Operations: ['88-55=33', '51-33=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,59 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[51, 88, 31], Operations: ['86-55=31'] Exploring Operation: 51+31=82, Resulting Numbers: [88, 82] Generated Node #0,1,0: 59:[88, 82] Operation: 51+31=82 Exploring Operation: 88+31=119, Resulting Numbers: [51, 119] Generated Node #0,1,1: 59:[51, 119] Operation: 88+31=119 Exploring Operation: 51-31=20, Resulting Numbers: [88, 20] Generated Node #0,1,2: 59:[88, 20] Operation: 51-31=20 Exploring Operation: 88-31=57, Resulting Numbers: [51, 57] Generated Node #0,1,3: 59:[51, 57] Operation: 88-31=57 Exploring Operation: 88-51=37, Resulting Numbers: [31, 37] Generated Node #0,1,4: 59:[31, 37] Operation: 88-51=37 Moving to Node #0,1,3 Current State: 59:[51, 57], Operations: ['86-55=31', '88-31=57'] Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[31, 37], Operations: ['86-55=31', '88-51=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[88, 82], Operations: ['86-55=31', '51+31=82'] Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 88+82=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 88*82=7216, Resulting Numbers: [7216] 7216,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[51, 119], Operations: ['86-55=31', '88+31=119'] Exploring Operation: 51*119=6069, Resulting Numbers: [6069] 6069,59 unequal: No Solution Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 51+119=170, Resulting Numbers: [170] 170,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[88, 20], Operations: ['86-55=31', '51-31=20'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[51, 55, 2], Operations: ['88-86=2'] Exploring Operation: 55-2=53, Resulting Numbers: [51, 53] Generated Node #0,2,0: 59:[51, 53] Operation: 55-2=53 Exploring Operation: 55+2=57, Resulting Numbers: [51, 57] Generated Node #0,2,1: 59:[51, 57] Operation: 55+2=57 Exploring Operation: 51-2=49, Resulting Numbers: [55, 49] Generated Node #0,2,2: 59:[55, 49] Operation: 51-2=49 Exploring Operation: 51*2=102, Resulting Numbers: [55, 102] Generated Node #0,2,3: 59:[55, 102] Operation: 51*2=102 Exploring Operation: 51+2=53, Resulting Numbers: [55, 53] Generated Node #0,2,4: 59:[55, 53] Operation: 51+2=53 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[51, 57], Operations: ['88-86=2', '55+2=57'] Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,59 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 59:[55, 53], Operations: ['88-86=2', '51+2=53'] Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,59 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[51, 53], Operations: ['88-86=2', '55-2=53'] Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,59 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[55, 49], Operations: ['88-86=2', '51-2=49'] Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[55, 102], Operations: ['88-86=2', '51*2=102'] Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 55+102=157, Resulting Numbers: [157] 157,59 unequal: No Solution Exploring Operation: 55*102=5610, Resulting Numbers: [5610] 5610,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 20, 6, 50, 83 ]
88
[ "50-20=30", "30/6=5", "83+5=88" ]
Current State: 88:[20, 6, 50, 83], Operations: [] Exploring Operation: 50-20=30, Resulting Numbers: [6, 83, 30] Generated Node #2: [6, 83, 30] from Operation: 50-20=30 Current State: 88:[6, 83, 30], Operations: ['50-20=30'] Exploring Operation: 30/6=5, Resulting Numbers: [83, 5] Generated Node #3: [83, 5] from Operation: 30/6=5 Current State: 88:[83, 5], Operations: ['50-20=30', '30/6=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[20, 6, 50, 83], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [20, 83, 44] Generated Node #0,0: 88:[20, 83, 44] Operation: 50-6=44 Exploring Operation: 20+6=26, Resulting Numbers: [50, 83, 26] Generated Node #0,1: 88:[50, 83, 26] Operation: 20+6=26 Exploring Operation: 6+83=89, Resulting Numbers: [20, 50, 89] Generated Node #0,2: 88:[20, 50, 89] Operation: 6+83=89 Exploring Operation: 20-6=14, Resulting Numbers: [50, 83, 14] Generated Node #0,3: 88:[50, 83, 14] Operation: 20-6=14 Moving to Node #0,0 Current State: 88:[20, 83, 44], Operations: ['50-6=44'] Exploring Operation: 83-20=63, Resulting Numbers: [44, 63] Generated Node #0,0,0: 88:[44, 63] Operation: 83-20=63 Exploring Operation: 20+83=103, Resulting Numbers: [44, 103] Generated Node #0,0,1: 88:[44, 103] Operation: 20+83=103 Exploring Operation: 83-44=39, Resulting Numbers: [20, 39] Generated Node #0,0,2: 88:[20, 39] Operation: 83-44=39 Exploring Operation: 44-20=24, Resulting Numbers: [83, 24] Generated Node #0,0,3: 88:[83, 24] Operation: 44-20=24 Moving to Node #0,2 Current State: 88:[20, 50, 89], Operations: ['6+83=89'] Exploring Operation: 50-20=30, Resulting Numbers: [89, 30] Generated Node #0,2,0: 88:[89, 30] Operation: 50-20=30 Exploring Operation: 89-20=69, Resulting Numbers: [50, 69] Generated Node #0,2,1: 88:[50, 69] Operation: 89-20=69 Exploring Operation: 20+50=70, Resulting Numbers: [89, 70] Generated Node #0,2,2: 88:[89, 70] Operation: 20+50=70 Exploring Operation: 89-50=39, Resulting Numbers: [20, 39] Generated Node #0,2,3: 88:[20, 39] Operation: 89-50=39 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[20, 39], Operations: ['6+83=89', '89-50=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[89, 30], Operations: ['6+83=89', '50-20=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[89, 70], Operations: ['6+83=89', '20+50=70'] Exploring Operation: 89*70=6230, Resulting Numbers: [6230] 6230,88 unequal: No Solution Exploring Operation: 89-70=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 89+70=159, Resulting Numbers: [159] 159,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[50, 69], Operations: ['6+83=89', '89-20=69'] Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 50+69=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 50*69=3450, Resulting Numbers: [3450] 3450,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 88:[50, 83, 14], Operations: ['20-6=14'] Exploring Operation: 50+14=64, Resulting Numbers: [83, 64] Generated Node #0,3,0: 88:[83, 64] Operation: 50+14=64 Exploring Operation: 50-14=36, Resulting Numbers: [83, 36] Generated Node #0,3,1: 88:[83, 36] Operation: 50-14=36 Exploring Operation: 83-50=33, Resulting Numbers: [14, 33] Generated Node #0,3,2: 88:[14, 33] Operation: 83-50=33 Exploring Operation: 83+14=97, Resulting Numbers: [50, 97] Generated Node #0,3,3: 88:[50, 97] Operation: 83+14=97 Moving to Node #0,1 Current State: 88:[50, 83, 26], Operations: ['20+6=26'] Exploring Operation: 50-26=24, Resulting Numbers: [83, 24] Generated Node #0,1,0: 88:[83, 24] Operation: 50-26=24 Exploring Operation: 83-50=33, Resulting Numbers: [26, 33] Generated Node #0,1,1: 88:[26, 33] Operation: 83-50=33 Exploring Operation: 50+26=76, Resulting Numbers: [83, 76] Generated Node #0,1,2: 88:[83, 76] Operation: 50+26=76 Exploring Operation: 83-26=57, Resulting Numbers: [50, 57] Generated Node #0,1,3: 88:[50, 57] Operation: 83-26=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[83, 24], Operations: ['20+6=26', '50-26=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,88 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[26, 33], Operations: ['20+6=26', '83-50=33'] Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,88 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[83, 76], Operations: ['20+6=26', '50+26=76'] Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 83+76=159, Resulting Numbers: [159] 159,88 unequal: No Solution Exploring Operation: 83*76=6308, Resulting Numbers: [6308] 6308,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[50, 57], Operations: ['20+6=26', '83-26=57'] Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 88:[20, 39], Operations: ['50-6=44', '83-44=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[83, 24], Operations: ['50-6=44', '44-20=24'] Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,88 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[83, 36], Operations: ['20-6=14', '50-14=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,88 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[14, 33], Operations: ['20-6=14', '83-50=33'] Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,88 unequal: No Solution Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[44, 103], Operations: ['50-6=44', '20+83=103'] Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,88 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[50, 97], Operations: ['20-6=14', '83+14=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,88 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[44, 63], Operations: ['50-6=44', '83-20=63'] Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,88 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[83, 64], Operations: ['20-6=14', '50+14=64'] Exploring Operation: 83+64=147, Resulting Numbers: [147] 147,88 unequal: No Solution Exploring Operation: 83*64=5312, Resulting Numbers: [5312] 5312,88 unequal: No Solution Exploring Operation: 83-64=19, Resulting Numbers: [19] 19,88 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 36, 54, 24, 34 ]
39
[ "36-34=2", "54+24=78", "78/2=39" ]
Current State: 39:[36, 54, 24, 34], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [54, 24, 2] Generated Node #2: [54, 24, 2] from Operation: 36-34=2 Current State: 39:[54, 24, 2], Operations: ['36-34=2'] Exploring Operation: 54+24=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 54+24=78 Current State: 39:[2, 78], Operations: ['36-34=2', '54+24=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[36, 54, 24, 34], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [54, 34, 12] Generated Node #0,0: 39:[54, 34, 12] Operation: 36-24=12 Exploring Operation: 34-24=10, Resulting Numbers: [36, 54, 10] Generated Node #0,1: 39:[36, 54, 10] Operation: 34-24=10 Exploring Operation: 54-36=18, Resulting Numbers: [24, 34, 18] Generated Node #0,2: 39:[24, 34, 18] Operation: 54-36=18 Exploring Operation: 54-34=20, Resulting Numbers: [36, 24, 20] Generated Node #0,3: 39:[36, 24, 20] Operation: 54-34=20 Exploring Operation: 54-24=30, Resulting Numbers: [36, 34, 30] Generated Node #0,4: 39:[36, 34, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[36, 34, 30], Operations: ['54-24=30'] Exploring Operation: 36+30=66, Resulting Numbers: [34, 66] Generated Node #0,4,0: 39:[34, 66] Operation: 36+30=66 Exploring Operation: 36-30=6, Resulting Numbers: [34, 6] Generated Node #0,4,1: 39:[34, 6] Operation: 36-30=6 Exploring Operation: 34-30=4, Resulting Numbers: [36, 4] Generated Node #0,4,2: 39:[36, 4] Operation: 34-30=4 Exploring Operation: 34+30=64, Resulting Numbers: [36, 64] Generated Node #0,4,3: 39:[36, 64] Operation: 34+30=64 Exploring Operation: 36-34=2, Resulting Numbers: [30, 2] Generated Node #0,4,4: 39:[30, 2] Operation: 36-34=2 Moving to Node #0,4,2 Current State: 39:[36, 4], Operations: ['54-24=30', '34-30=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,39 unequal: No Solution Moving to Node #0,4,1 Current State: 39:[34, 6], Operations: ['54-24=30', '36-30=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,39 unequal: No Solution Moving to Node #0,4,4 Current State: 39:[30, 2], Operations: ['54-24=30', '36-34=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,39 unequal: No Solution Moving to Node #0,4,3 Current State: 39:[36, 64], Operations: ['54-24=30', '34+30=64'] Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,39 unequal: No Solution Moving to Node #0,4,0 Current State: 39:[34, 66], Operations: ['54-24=30', '36+30=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,39 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[54, 34, 12], Operations: ['36-24=12'] Exploring Operation: 54+12=66, Resulting Numbers: [34, 66] Generated Node #0,0,0: 39:[34, 66] Operation: 54+12=66 Exploring Operation: 54-34=20, Resulting Numbers: [12, 20] Generated Node #0,0,1: 39:[12, 20] Operation: 54-34=20 Exploring Operation: 54-12=42, Resulting Numbers: [34, 42] Generated Node #0,0,2: 39:[34, 42] Operation: 54-12=42 Exploring Operation: 34-12=22, Resulting Numbers: [54, 22] Generated Node #0,0,3: 39:[54, 22] Operation: 34-12=22 Exploring Operation: 34+12=46, Resulting Numbers: [54, 46] Generated Node #0,0,4: 39:[54, 46] Operation: 34+12=46 Moving to Node #0,0,1 Current State: 39:[12, 20], Operations: ['36-24=12', '54-34=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[34, 42], Operations: ['36-24=12', '54-12=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,39 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,0,4 Current State: 39:[54, 46], Operations: ['36-24=12', '34+12=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,39 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[54, 22], Operations: ['36-24=12', '34-12=22'] Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,39 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[34, 66], Operations: ['36-24=12', '54+12=66'] Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,39 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[36, 54, 10], Operations: ['34-24=10'] Exploring Operation: 36+10=46, Resulting Numbers: [54, 46] Generated Node #0,1,0: 39:[54, 46] Operation: 36+10=46 Exploring Operation: 54-36=18, Resulting Numbers: [10, 18] Generated Node #0,1,1: 39:[10, 18] Operation: 54-36=18 Exploring Operation: 36-10=26, Resulting Numbers: [54, 26] Generated Node #0,1,2: 39:[54, 26] Operation: 36-10=26 Exploring Operation: 54-10=44, Resulting Numbers: [36, 44] Generated Node #0,1,3: 39:[36, 44] Operation: 54-10=44 Exploring Operation: 54+10=64, Resulting Numbers: [36, 64] Generated Node #0,1,4: 39:[36, 64] Operation: 54+10=64 Moving to Node #0,1,1 Current State: 39:[10, 18], Operations: ['34-24=10', '54-36=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,39 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[36, 44], Operations: ['34-24=10', '54-10=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,39 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[54, 46], Operations: ['34-24=10', '36+10=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,39 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[54, 26], Operations: ['34-24=10', '36-10=26'] Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,39 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[36, 64], Operations: ['34-24=10', '54+10=64'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[24, 34, 18], Operations: ['54-36=18'] Exploring Operation: 24+34=58, Resulting Numbers: [18, 58] Generated Node #0,2,0: 39:[18, 58] Operation: 24+34=58 Exploring Operation: 34-24=10, Resulting Numbers: [18, 10] Generated Node #0,2,1: 39:[18, 10] Operation: 34-24=10 Exploring Operation: 24+18=42, Resulting Numbers: [34, 42] Generated Node #0,2,2: 39:[34, 42] Operation: 24+18=42 Exploring Operation: 34-18=16, Resulting Numbers: [24, 16] Generated Node #0,2,3: 39:[24, 16] Operation: 34-18=16 Exploring Operation: 24-18=6, Resulting Numbers: [34, 6] Generated Node #0,2,4: 39:[34, 6] Operation: 24-18=6 Moving to Node #0,2,1 Current State: 39:[18, 10], Operations: ['54-36=18', '34-24=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,39 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[34, 6], Operations: ['54-36=18', '24-18=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,39 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[34, 42], Operations: ['54-36=18', '24+18=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[24, 16], Operations: ['54-36=18', '34-18=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,39 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[18, 58], Operations: ['54-36=18', '24+34=58'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[36, 24, 20], Operations: ['54-34=20'] Exploring Operation: 24-20=4, Resulting Numbers: [36, 4] Generated Node #0,3,0: 39:[36, 4] Operation: 24-20=4 Exploring Operation: 36-20=16, Resulting Numbers: [24, 16] Generated Node #0,3,1: 39:[24, 16] Operation: 36-20=16 Exploring Operation: 36+24=60, Resulting Numbers: [20, 60] Generated Node #0,3,2: 39:[20, 60] Operation: 36+24=60 Exploring Operation: 24+20=44, Resulting Numbers: [36, 44] Generated Node #0,3,3: 39:[36, 44] Operation: 24+20=44 Exploring Operation: 36-24=12, Resulting Numbers: [20, 12] Generated Node #0,3,4: 39:[20, 12] Operation: 36-24=12 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 39:[36, 4], Operations: ['54-34=20', '24-20=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,39 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 39:[36, 44], Operations: ['54-34=20', '24+20=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 39:[20, 12], Operations: ['54-34=20', '36-24=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[24, 16], Operations: ['54-34=20', '36-20=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,39 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 39:[20, 60], Operations: ['54-34=20', '36+24=60'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,39 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 20, 26, 9, 64 ]
96
[ "26-20=6", "9*64=576", "576/6=96" ]
Current State: 96:[20, 26, 9, 64], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [9, 64, 6] Generated Node #2: [9, 64, 6] from Operation: 26-20=6 Current State: 96:[9, 64, 6], Operations: ['26-20=6'] Exploring Operation: 9*64=576, Resulting Numbers: [6, 576] Generated Node #3: [6, 576] from Operation: 9*64=576 Current State: 96:[6, 576], Operations: ['26-20=6', '9*64=576'] Exploring Operation: 576/6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 26, 9, 64], Operations: [] Exploring Operation: 64-26=38, Resulting Numbers: [20, 9, 38] Generated Node #0,0: 96:[20, 9, 38] Operation: 64-26=38 Exploring Operation: 26+64=90, Resulting Numbers: [20, 9, 90] Generated Node #0,1: 96:[20, 9, 90] Operation: 26+64=90 Exploring Operation: 64-20=44, Resulting Numbers: [26, 9, 44] Generated Node #0,2: 96:[26, 9, 44] Operation: 64-20=44 Exploring Operation: 20+64=84, Resulting Numbers: [26, 9, 84] Generated Node #0,3: 96:[26, 9, 84] Operation: 20+64=84 Exploring Operation: 64-9=55, Resulting Numbers: [20, 26, 55] Generated Node #0,4: 96:[20, 26, 55] Operation: 64-9=55 Moving to Node #0,2 Current State: 96:[26, 9, 44], Operations: ['64-20=44'] Exploring Operation: 44-9=35, Resulting Numbers: [26, 35] Generated Node #0,2,0: 96:[26, 35] Operation: 44-9=35 Exploring Operation: 26-9=17, Resulting Numbers: [44, 17] Generated Node #0,2,1: 96:[44, 17] Operation: 26-9=17 Exploring Operation: 9+44=53, Resulting Numbers: [26, 53] Generated Node #0,2,2: 96:[26, 53] Operation: 9+44=53 Exploring Operation: 26+9=35, Resulting Numbers: [44, 35] Generated Node #0,2,3: 96:[44, 35] Operation: 26+9=35 Exploring Operation: 44-26=18, Resulting Numbers: [9, 18] Generated Node #0,2,4: 96:[9, 18] Operation: 44-26=18 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[9, 18], Operations: ['64-20=44', '44-26=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[26, 35], Operations: ['64-20=44', '44-9=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,96 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[44, 17], Operations: ['64-20=44', '26-9=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 44*17=748, Resulting Numbers: [748] 748,96 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[26, 53], Operations: ['64-20=44', '9+44=53'] Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,96 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[44, 35], Operations: ['64-20=44', '26+9=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 96:[20, 9, 90], Operations: ['26+64=90'] Exploring Operation: 20+9=29, Resulting Numbers: [90, 29] Generated Node #0,1,0: 96:[90, 29] Operation: 20+9=29 Exploring Operation: 9+90=99, Resulting Numbers: [20, 99] Generated Node #0,1,1: 96:[20, 99] Operation: 9+90=99 Exploring Operation: 20+90=110, Resulting Numbers: [9, 110] Generated Node #0,1,2: 96:[9, 110] Operation: 20+90=110 Exploring Operation: 90/9=10, Resulting Numbers: [20, 10] Generated Node #0,1,3: 96:[20, 10] Operation: 90/9=10 Exploring Operation: 20-9=11, Resulting Numbers: [90, 11] Generated Node #0,1,4: 96:[90, 11] Operation: 20-9=11 Moving to Node #0,0 Current State: 96:[20, 9, 38], Operations: ['64-26=38'] Exploring Operation: 38-9=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 96:[20, 29] Operation: 38-9=29 Exploring Operation: 20-9=11, Resulting Numbers: [38, 11] Generated Node #0,0,1: 96:[38, 11] Operation: 20-9=11 Exploring Operation: 9+38=47, Resulting Numbers: [20, 47] Generated Node #0,0,2: 96:[20, 47] Operation: 9+38=47 Exploring Operation: 38-20=18, Resulting Numbers: [9, 18] Generated Node #0,0,3: 96:[9, 18] Operation: 38-20=18 Exploring Operation: 20+9=29, Resulting Numbers: [38, 29] Generated Node #0,0,4: 96:[38, 29] Operation: 20+9=29 Moving to Node #0,4 Current State: 96:[20, 26, 55], Operations: ['64-9=55'] Exploring Operation: 26-20=6, Resulting Numbers: [55, 6] Generated Node #0,4,0: 96:[55, 6] Operation: 26-20=6 Exploring Operation: 55-20=35, Resulting Numbers: [26, 35] Generated Node #0,4,1: 96:[26, 35] Operation: 55-20=35 Exploring Operation: 55-26=29, Resulting Numbers: [20, 29] Generated Node #0,4,2: 96:[20, 29] Operation: 55-26=29 Exploring Operation: 20+26=46, Resulting Numbers: [55, 46] Generated Node #0,4,3: 96:[55, 46] Operation: 20+26=46 Exploring Operation: 26+55=81, Resulting Numbers: [20, 81] Generated Node #0,4,4: 96:[20, 81] Operation: 26+55=81 Moving to Node #0,3 Current State: 96:[26, 9, 84], Operations: ['20+64=84'] Exploring Operation: 9+84=93, Resulting Numbers: [26, 93] Generated Node #0,3,0: 96:[26, 93] Operation: 9+84=93 Exploring Operation: 26+84=110, Resulting Numbers: [9, 110] Generated Node #0,3,1: 96:[9, 110] Operation: 26+84=110 Exploring Operation: 26+9=35, Resulting Numbers: [84, 35] Generated Node #0,3,2: 96:[84, 35] Operation: 26+9=35 Exploring Operation: 84-26=58, Resulting Numbers: [9, 58] Generated Node #0,3,3: 96:[9, 58] Operation: 84-26=58 Exploring Operation: 26-9=17, Resulting Numbers: [84, 17] Generated Node #0,3,4: 96:[84, 17] Operation: 26-9=17 Moving to Node #0,0,3 Current State: 96:[9, 18], Operations: ['64-26=38', '38-20=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,96 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[20, 47], Operations: ['64-26=38', '9+38=47'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 20+47=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 20*47=940, Resulting Numbers: [940] 940,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[26, 35], Operations: ['64-9=55', '55-20=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,96 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[26, 93], Operations: ['20+64=84', '9+84=93'] Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,96 unequal: No Solution Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[20, 10], Operations: ['26+64=90', '90/9=10'] Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,96 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[90, 11], Operations: ['26+64=90', '20-9=11'] Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,96 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[20, 29], Operations: ['64-9=55', '55-26=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,96 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,4,0 Current State: 96:[55, 6], Operations: ['64-9=55', '26-20=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,96 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[20, 99], Operations: ['26+64=90', '9+90=99'] Exploring Operation: 20+99=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 20*99=1980, Resulting Numbers: [1980] 1980,96 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[38, 11], Operations: ['64-26=38', '20-9=11'] Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 38*11=418, Resulting Numbers: [418] 418,96 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[20, 29], Operations: ['64-26=38', '38-9=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,96 unequal: No Solution Moving to Node #0,4,3 Current State: 96:[55, 46], Operations: ['64-9=55', '20+26=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,96 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[90, 29], Operations: ['26+64=90', '20+9=29'] Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[38, 29], Operations: ['64-26=38', '20+9=29'] Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,96 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[9, 58], Operations: ['20+64=84', '84-26=58'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,96 unequal: No Solution Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[84, 17], Operations: ['20+64=84', '26-9=17'] Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[9, 110], Operations: ['20+64=84', '26+84=110'] Exploring Operation: 110-9=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 9+110=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 9*110=990, Resulting Numbers: [990] 990,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[84, 35], Operations: ['20+64=84', '26+9=35'] Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,96 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,96 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[9, 110], Operations: ['26+64=90', '20+90=110'] Exploring Operation: 110-9=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 9*110=990, Resulting Numbers: [990] 990,96 unequal: No Solution Exploring Operation: 9+110=119, Resulting Numbers: [119] 119,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[20, 81], Operations: ['64-9=55', '26+55=81'] Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 20*81=1620, Resulting Numbers: [1620] 1620,96 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 5, 65, 96, 71 ]
97
[ "5+65=70", "96+71=167", "167-70=97" ]
Current State: 97:[5, 65, 96, 71], Operations: [] Exploring Operation: 5+65=70, Resulting Numbers: [96, 71, 70] Generated Node #2: [96, 71, 70] from Operation: 5+65=70 Current State: 97:[96, 71, 70], Operations: ['5+65=70'] Exploring Operation: 96+71=167, Resulting Numbers: [70, 167] Generated Node #3: [70, 167] from Operation: 96+71=167 Current State: 97:[70, 167], Operations: ['5+65=70', '96+71=167'] Exploring Operation: 167-70=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[5, 65, 96, 71], Operations: [] Exploring Operation: 5+65=70, Resulting Numbers: [96, 71, 70] Generated Node #0,0: 97:[96, 71, 70] Operation: 5+65=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[96, 71, 70], Operations: ['5+65=70'] Exploring Operation: 71+70=141, Resulting Numbers: [96, 141] Generated Node #0,0,0: 97:[96, 141] Operation: 71+70=141 Moving to Node #0,0,0 Current State: 97:[96, 141], Operations: ['5+65=70', '71+70=141'] Exploring Operation: 141-96=45, Resulting Numbers: [45] 45,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 63, 18, 18, 24 ]
60
[ "63-18=45", "24*45=1080", "1080/18=60" ]
Current State: 60:[63, 18, 18, 24], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [24, 45] Generated Node #2: [24, 45] from Operation: 63-18=45 Current State: 60:[24, 45], Operations: ['63-18=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,60 equal: Goal Reached Exploring Operation: 1080/18=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[63, 18, 18, 24], Operations: [] Exploring Operation: 18/18=1, Resulting Numbers: [63, 24, 1] Generated Node #0,0: 60:[63, 24, 1] Operation: 18/18=1 Exploring Operation: 24-18=6, Resulting Numbers: [63, 18, 6] Generated Node #0,1: 60:[63, 18, 6] Operation: 24-18=6 Exploring Operation: 24-18=6, Resulting Numbers: [63, 18, 6] Generated Node #0,2: 60:[63, 18, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[63, 18, 6], Operations: ['24-18=6'] Exploring Operation: 63-6=57, Resulting Numbers: [18, 57] Generated Node #0,1,0: 60:[18, 57] Operation: 63-6=57 Exploring Operation: 18-6=12, Resulting Numbers: [63, 12] Generated Node #0,1,1: 60:[63, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [63, 3] Generated Node #0,1,2: 60:[63, 3] Operation: 18/6=3 Moving to Node #0,1,1 Current State: 60:[63, 12], Operations: ['24-18=6', '18-6=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,60 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[63, 3], Operations: ['24-18=6', '18/6=3'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[63, 18, 18, 24], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [63, 18, 6] Generated Node #0,1: 60:[63, 18, 6] Operation: 24-18=6 Moving to Node #0,1 Current State: 60:[63, 18, 6], Operations: ['24-18=6'] Exploring Operation: 18/6=3, Resulting Numbers: [63, 3] Generated Node #0,1,2: 60:[63, 3] Operation: 18/6=3 Moving to Node #0,1,2 Current State: 60:[63, 3], Operations: ['24-18=6', '18/6=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 11, 33, 68, 9 ]
74
[ "33/11=3", "68+9=77", "77-3=74" ]
Current State: 74:[11, 33, 68, 9], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [68, 9, 3] Generated Node #2: [68, 9, 3] from Operation: 33/11=3 Current State: 74:[68, 9, 3], Operations: ['33/11=3'] Exploring Operation: 68+9=77, Resulting Numbers: [3, 77] Generated Node #3: [3, 77] from Operation: 68+9=77 Current State: 74:[3, 77], Operations: ['33/11=3', '68+9=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[11, 33, 68, 9], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [68, 9, 3] Generated Node #0,0: 74:[68, 9, 3] Operation: 33/11=3 Exploring Operation: 11-9=2, Resulting Numbers: [33, 68, 2] Generated Node #0,1: 74:[33, 68, 2] Operation: 11-9=2 Exploring Operation: 11+68=79, Resulting Numbers: [33, 9, 79] Generated Node #0,2: 74:[33, 9, 79] Operation: 11+68=79 Moving to Node #0,1 Current State: 74:[33, 68, 2], Operations: ['11-9=2'] Exploring Operation: 68-33=35, Resulting Numbers: [2, 35] Generated Node #0,1,0: 74:[2, 35] Operation: 68-33=35 Exploring Operation: 68/2=34, Resulting Numbers: [33, 34] Generated Node #0,1,1: 74:[33, 34] Operation: 68/2=34 Exploring Operation: 33+2=35, Resulting Numbers: [68, 35] Generated Node #0,1,2: 74:[68, 35] Operation: 33+2=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[2, 35], Operations: ['11-9=2', '68-33=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[33, 34], Operations: ['11-9=2', '68/2=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,74 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[68, 35], Operations: ['11-9=2', '33+2=35'] Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,74 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[68, 9, 3], Operations: ['33/11=3'] Exploring Operation: 68+3=71, Resulting Numbers: [9, 71] Generated Node #0,0,0: 74:[9, 71] Operation: 68+3=71 Exploring Operation: 68+9=77, Resulting Numbers: [3, 77] Generated Node #0,0,1: 74:[3, 77] Operation: 68+9=77 Exploring Operation: 9/3=3, Resulting Numbers: [68, 3] Generated Node #0,0,2: 74:[68, 3] Operation: 9/3=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[3, 77], Operations: ['33/11=3', '68+9=77'] Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,74 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[11, 33, 68, 9], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [68, 9, 3] Generated Node #0,0: 74:[68, 9, 3] Operation: 33/11=3 Moving to Node #0,0 Current State: 74:[68, 9, 3], Operations: ['33/11=3'] Exploring Operation: 68+9=77, Resulting Numbers: [3, 77] Generated Node #0,0,1: 74:[3, 77] Operation: 68+9=77 Moving to Node #0,0,1 Current State: 74:[3, 77], Operations: ['33/11=3', '68+9=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 65, 77, 89, 10 ]
78
[ "89-77=12", "65*12=780", "780/10=78" ]
Current State: 78:[65, 77, 89, 10], Operations: [] Exploring Operation: 89-77=12, Resulting Numbers: [65, 10, 12] Generated Node #2: [65, 10, 12] from Operation: 89-77=12 Current State: 78:[65, 10, 12], Operations: ['89-77=12'] Exploring Operation: 65*12=780, Resulting Numbers: [10, 780] Generated Node #3: [10, 780] from Operation: 65*12=780 Current State: 78:[10, 780], Operations: ['89-77=12', '65*12=780'] Exploring Operation: 780/10=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[65, 77, 89, 10], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [65, 77, 79] Generated Node #0,0: 78:[65, 77, 79] Operation: 89-10=79 Exploring Operation: 89-77=12, Resulting Numbers: [65, 10, 12] Generated Node #0,1: 78:[65, 10, 12] Operation: 89-77=12 Exploring Operation: 89-65=24, Resulting Numbers: [77, 10, 24] Generated Node #0,2: 78:[77, 10, 24] Operation: 89-65=24 Exploring Operation: 65+10=75, Resulting Numbers: [77, 89, 75] Generated Node #0,3: 78:[77, 89, 75] Operation: 65+10=75 Exploring Operation: 77-65=12, Resulting Numbers: [89, 10, 12] Generated Node #0,4: 78:[89, 10, 12] Operation: 77-65=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[77, 10, 24], Operations: ['89-65=24'] Exploring Operation: 77-24=53, Resulting Numbers: [10, 53] Generated Node #0,2,0: 78:[10, 53] Operation: 77-24=53 Exploring Operation: 77+10=87, Resulting Numbers: [24, 87] Generated Node #0,2,1: 78:[24, 87] Operation: 77+10=87 Exploring Operation: 10+24=34, Resulting Numbers: [77, 34] Generated Node #0,2,2: 78:[77, 34] Operation: 10+24=34 Exploring Operation: 77-10=67, Resulting Numbers: [24, 67] Generated Node #0,2,3: 78:[24, 67] Operation: 77-10=67 Exploring Operation: 24-10=14, Resulting Numbers: [77, 14] Generated Node #0,2,4: 78:[77, 14] Operation: 24-10=14 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 78:[77, 14], Operations: ['89-65=24', '24-10=14'] Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,78 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[77, 34], Operations: ['89-65=24', '10+24=34'] Exploring Operation: 77*34=2618, Resulting Numbers: [2618] 2618,78 unequal: No Solution Exploring Operation: 77+34=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[24, 87], Operations: ['89-65=24', '77+10=87'] Exploring Operation: 24*87=2088, Resulting Numbers: [2088] 2088,78 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[24, 67], Operations: ['89-65=24', '77-10=67'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[10, 53], Operations: ['89-65=24', '77-24=53'] Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,78 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[65, 77, 79], Operations: ['89-10=79'] Exploring Operation: 65+79=144, Resulting Numbers: [77, 144] Generated Node #0,0,0: 78:[77, 144] Operation: 65+79=144 Exploring Operation: 79-65=14, Resulting Numbers: [77, 14] Generated Node #0,0,1: 78:[77, 14] Operation: 79-65=14 Exploring Operation: 79-77=2, Resulting Numbers: [65, 2] Generated Node #0,0,2: 78:[65, 2] Operation: 79-77=2 Exploring Operation: 65+77=142, Resulting Numbers: [79, 142] Generated Node #0,0,3: 78:[79, 142] Operation: 65+77=142 Exploring Operation: 77-65=12, Resulting Numbers: [79, 12] Generated Node #0,0,4: 78:[79, 12] Operation: 77-65=12 Moving to Node #0,0,1 Current State: 78:[77, 14], Operations: ['89-10=79', '79-65=14'] Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,78 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[79, 12], Operations: ['89-10=79', '77-65=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,78 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[65, 2], Operations: ['89-10=79', '79-77=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[79, 142], Operations: ['89-10=79', '65+77=142'] Exploring Operation: 142-79=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 79+142=221, Resulting Numbers: [221] 221,78 unequal: No Solution Exploring Operation: 79*142=11218, Resulting Numbers: [11218] 11218,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[77, 144], Operations: ['89-10=79', '65+79=144'] Exploring Operation: 144-77=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 77*144=11088, Resulting Numbers: [11088] 11088,78 unequal: No Solution Exploring Operation: 77+144=221, Resulting Numbers: [221] 221,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[77, 89, 75], Operations: ['65+10=75'] Exploring Operation: 77-75=2, Resulting Numbers: [89, 2] Generated Node #0,3,0: 78:[89, 2] Operation: 77-75=2 Exploring Operation: 89-75=14, Resulting Numbers: [77, 14] Generated Node #0,3,1: 78:[77, 14] Operation: 89-75=14 Exploring Operation: 89-77=12, Resulting Numbers: [75, 12] Generated Node #0,3,2: 78:[75, 12] Operation: 89-77=12 Exploring Operation: 89+75=164, Resulting Numbers: [77, 164] Generated Node #0,3,3: 78:[77, 164] Operation: 89+75=164 Exploring Operation: 77+75=152, Resulting Numbers: [89, 152] Generated Node #0,3,4: 78:[89, 152] Operation: 77+75=152 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[77, 14], Operations: ['65+10=75', '89-75=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,78 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[75, 12], Operations: ['65+10=75', '89-77=12'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 78:[89, 2], Operations: ['65+10=75', '77-75=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 78:[89, 152], Operations: ['65+10=75', '77+75=152'] Exploring Operation: 89+152=241, Resulting Numbers: [241] 241,78 unequal: No Solution Exploring Operation: 89*152=13528, Resulting Numbers: [13528] 13528,78 unequal: No Solution Exploring Operation: 152-89=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[77, 164], Operations: ['65+10=75', '89+75=164'] Exploring Operation: 77+164=241, Resulting Numbers: [241] 241,78 unequal: No Solution Exploring Operation: 164-77=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 77*164=12628, Resulting Numbers: [12628] 12628,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[89, 10, 12], Operations: ['77-65=12'] Exploring Operation: 89+10=99, Resulting Numbers: [12, 99] Generated Node #0,4,0: 78:[12, 99] Operation: 89+10=99 Exploring Operation: 12-10=2, Resulting Numbers: [89, 2] Generated Node #0,4,1: 78:[89, 2] Operation: 12-10=2 Exploring Operation: 89-10=79, Resulting Numbers: [12, 79] Generated Node #0,4,2: 78:[12, 79] Operation: 89-10=79 Exploring Operation: 89-12=77, Resulting Numbers: [10, 77] Generated Node #0,4,3: 78:[10, 77] Operation: 89-12=77 Exploring Operation: 10+12=22, Resulting Numbers: [89, 22] Generated Node #0,4,4: 78:[89, 22] Operation: 10+12=22 Moving to Node #0,4,2 Current State: 78:[12, 79], Operations: ['77-65=12', '89-10=79'] Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,78 unequal: No Solution Moving to Node #0,4,3 Current State: 78:[10, 77], Operations: ['77-65=12', '89-12=77'] Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,78 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,4,1 Current State: 78:[89, 2], Operations: ['77-65=12', '12-10=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,78 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,78 unequal: No Solution Moving to Node #0,4,4 Current State: 78:[89, 22], Operations: ['77-65=12', '10+12=22'] Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,78 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,4,0 Current State: 78:[12, 99], Operations: ['77-65=12', '89+10=99'] Exploring Operation: 12*99=1188, Resulting Numbers: [1188] 1188,78 unequal: No Solution Exploring Operation: 12+99=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[65, 10, 12], Operations: ['89-77=12'] Exploring Operation: 65-10=55, Resulting Numbers: [12, 55] Generated Node #0,1,0: 78:[12, 55] Operation: 65-10=55 Exploring Operation: 65+10=75, Resulting Numbers: [12, 75] Generated Node #0,1,1: 78:[12, 75] Operation: 65+10=75 Exploring Operation: 12-10=2, Resulting Numbers: [65, 2] Generated Node #0,1,2: 78:[65, 2] Operation: 12-10=2 Exploring Operation: 65+12=77, Resulting Numbers: [10, 77] Generated Node #0,1,3: 78:[10, 77] Operation: 65+12=77 Exploring Operation: 65-12=53, Resulting Numbers: [10, 53] Generated Node #0,1,4: 78:[10, 53] Operation: 65-12=53 Moving to Node #0,1,1 Current State: 78:[12, 75], Operations: ['89-77=12', '65+10=75'] Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,78 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[10, 77], Operations: ['89-77=12', '65+12=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[65, 2], Operations: ['89-77=12', '12-10=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[12, 55], Operations: ['89-77=12', '65-10=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,78 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[10, 53], Operations: ['89-77=12', '65-12=53'] Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,78 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 59, 53, 52 ]
12
[ "59+53=112", "112-52=60", "60/5=12" ]
Current State: 12:[5, 59, 53, 52], Operations: [] Exploring Operation: 59+53=112, Resulting Numbers: [5, 52, 112] Generated Node #2: [5, 52, 112] from Operation: 59+53=112 Current State: 12:[5, 52, 112], Operations: ['59+53=112'] Exploring Operation: 112-52=60, Resulting Numbers: [5, 60] Generated Node #3: [5, 60] from Operation: 112-52=60 Current State: 12:[5, 60], Operations: ['59+53=112', '112-52=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 59, 53, 52], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [53, 52, 54] Generated Node #0,0: 12:[53, 52, 54] Operation: 59-5=54 Exploring Operation: 59-53=6, Resulting Numbers: [5, 52, 6] Generated Node #0,1: 12:[5, 52, 6] Operation: 59-53=6 Exploring Operation: 59-52=7, Resulting Numbers: [5, 53, 7] Generated Node #0,2: 12:[5, 53, 7] Operation: 59-52=7 Exploring Operation: 53-52=1, Resulting Numbers: [5, 59, 1] Generated Node #0,3: 12:[5, 59, 1] Operation: 53-52=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[5, 52, 6], Operations: ['59-53=6'] Exploring Operation: 5+6=11, Resulting Numbers: [52, 11] Generated Node #0,1,0: 12:[52, 11] Operation: 5+6=11 Exploring Operation: 6-5=1, Resulting Numbers: [52, 1] Generated Node #0,1,1: 12:[52, 1] Operation: 6-5=1 Exploring Operation: 52-6=46, Resulting Numbers: [5, 46] Generated Node #0,1,2: 12:[5, 46] Operation: 52-6=46 Exploring Operation: 52-5=47, Resulting Numbers: [6, 47] Generated Node #0,1,3: 12:[6, 47] Operation: 52-5=47 Moving to Node #0,1,2 Current State: 12:[5, 46], Operations: ['59-53=6', '52-6=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,12 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[6, 47], Operations: ['59-53=6', '52-5=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,12 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[52, 1], Operations: ['59-53=6', '6-5=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[52, 11], Operations: ['59-53=6', '5+6=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,12 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[5, 53, 7], Operations: ['59-52=7'] Exploring Operation: 53-5=48, Resulting Numbers: [7, 48] Generated Node #0,2,0: 12:[7, 48] Operation: 53-5=48 Exploring Operation: 5+7=12, Resulting Numbers: [53, 12] Generated Node #0,2,1: 12:[53, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [53, 2] Generated Node #0,2,2: 12:[53, 2] Operation: 7-5=2 Exploring Operation: 53-7=46, Resulting Numbers: [5, 46] Generated Node #0,2,3: 12:[5, 46] Operation: 53-7=46 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[5, 46], Operations: ['59-52=7', '53-7=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,12 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[7, 48], Operations: ['59-52=7', '53-5=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,12 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[53, 12], Operations: ['59-52=7', '5+7=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,12 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[53, 2], Operations: ['59-52=7', '7-5=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[5, 59, 1], Operations: ['53-52=1'] Exploring Operation: 59-1=58, Resulting Numbers: [5, 58] Generated Node #0,3,0: 12:[5, 58] Operation: 59-1=58 Exploring Operation: 59-5=54, Resulting Numbers: [1, 54] Generated Node #0,3,1: 12:[1, 54] Operation: 59-5=54 Exploring Operation: 5-1=4, Resulting Numbers: [59, 4] Generated Node #0,3,2: 12:[59, 4] Operation: 5-1=4 Exploring Operation: 5+1=6, Resulting Numbers: [59, 6] Generated Node #0,3,3: 12:[59, 6] Operation: 5+1=6 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[1, 54], Operations: ['53-52=1', '59-5=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[5, 58], Operations: ['53-52=1', '59-1=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[59, 4], Operations: ['53-52=1', '5-1=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,12 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[59, 6], Operations: ['53-52=1', '5+1=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,12 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[53, 52, 54], Operations: ['59-5=54'] Exploring Operation: 54-53=1, Resulting Numbers: [52, 1] Generated Node #0,0,0: 12:[52, 1] Operation: 54-53=1 Exploring Operation: 53+52=105, Resulting Numbers: [54, 105] Generated Node #0,0,1: 12:[54, 105] Operation: 53+52=105 Exploring Operation: 53-52=1, Resulting Numbers: [54, 1] Generated Node #0,0,2: 12:[54, 1] Operation: 53-52=1 Exploring Operation: 54-52=2, Resulting Numbers: [53, 2] Generated Node #0,0,3: 12:[53, 2] Operation: 54-52=2 Moving to Node #0,0,0 Current State: 12:[52, 1], Operations: ['59-5=54', '54-53=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[53, 2], Operations: ['59-5=54', '54-52=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[54, 1], Operations: ['59-5=54', '53-52=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[54, 105], Operations: ['59-5=54', '53+52=105'] Exploring Operation: 54*105=5670, Resulting Numbers: [5670] 5670,12 unequal: No Solution Exploring Operation: 54+105=159, Resulting Numbers: [159] 159,12 unequal: No Solution Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 35, 87, 32, 31 ]
60
[ "35-32=3", "87/3=29", "31+29=60" ]
Current State: 60:[35, 87, 32, 31], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [87, 31, 3] Generated Node #2: [87, 31, 3] from Operation: 35-32=3 Current State: 60:[87, 31, 3], Operations: ['35-32=3'] Exploring Operation: 87/3=29, Resulting Numbers: [31, 29] Generated Node #3: [31, 29] from Operation: 87/3=29 Current State: 60:[31, 29], Operations: ['35-32=3', '87/3=29'] Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[35, 87, 32, 31], Operations: [] Exploring Operation: 87-32=55, Resulting Numbers: [35, 31, 55] Generated Node #0,0: 60:[35, 31, 55] Operation: 87-32=55 Exploring Operation: 87-35=52, Resulting Numbers: [32, 31, 52] Generated Node #0,1: 60:[32, 31, 52] Operation: 87-35=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[35, 31, 55], Operations: ['87-32=55'] Exploring Operation: 55-35=20, Resulting Numbers: [31, 20] Generated Node #0,0,0: 60:[31, 20] Operation: 55-35=20 Exploring Operation: 35-31=4, Resulting Numbers: [55, 4] Generated Node #0,0,1: 60:[55, 4] Operation: 35-31=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[31, 20], Operations: ['87-32=55', '55-35=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[55, 4], Operations: ['87-32=55', '35-31=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[32, 31, 52], Operations: ['87-35=52'] Exploring Operation: 52-31=21, Resulting Numbers: [32, 21] Generated Node #0,1,0: 60:[32, 21] Operation: 52-31=21 Exploring Operation: 52-32=20, Resulting Numbers: [31, 20] Generated Node #0,1,1: 60:[31, 20] Operation: 52-32=20 Moving to Node #0,1,1 Current State: 60:[31, 20], Operations: ['87-35=52', '52-32=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[32, 21], Operations: ['87-35=52', '52-31=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 96, 36, 49, 32 ]
73
[ "36-32=4", "96/4=24", "49+24=73" ]
Current State: 73:[96, 36, 49, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [96, 49, 4] Generated Node #2: [96, 49, 4] from Operation: 36-32=4 Current State: 73:[96, 49, 4], Operations: ['36-32=4'] Exploring Operation: 96/4=24, Resulting Numbers: [49, 24] Generated Node #3: [49, 24] from Operation: 96/4=24 Current State: 73:[49, 24], Operations: ['36-32=4', '96/4=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[96, 36, 49, 32], Operations: [] Exploring Operation: 36+32=68, Resulting Numbers: [96, 49, 68] Generated Node #0,0: 73:[96, 49, 68] Operation: 36+32=68 Moving to Node #0,0 Current State: 73:[96, 49, 68], Operations: ['36+32=68'] Exploring Operation: 96-49=47, Resulting Numbers: [68, 47] Generated Node #0,0,0: 73:[68, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[68, 47], Operations: ['36+32=68', '96-49=47'] Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 2, 65, 46 ]
46
[ "67-2=65", "65+46=111", "111-65=46" ]
Current State: 46:[67, 2, 65, 46], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [65, 46, 65] Generated Node #2: [65, 46, 65] from Operation: 67-2=65 Current State: 46:[65, 46, 65], Operations: ['67-2=65'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,46 equal: Goal Reached Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[67, 2, 65, 46], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [65, 46, 65] Generated Node #0,0: 46:[65, 46, 65] Operation: 67-2=65 Exploring Operation: 67-46=21, Resulting Numbers: [2, 65, 21] Generated Node #0,1: 46:[2, 65, 21] Operation: 67-46=21 Exploring Operation: 65-2=63, Resulting Numbers: [67, 46, 63] Generated Node #0,2: 46:[67, 46, 63] Operation: 65-2=63 Exploring Operation: 65-46=19, Resulting Numbers: [67, 2, 19] Generated Node #0,3: 46:[67, 2, 19] Operation: 65-46=19 Exploring Operation: 67-65=2, Resulting Numbers: [2, 46, 2] Generated Node #0,4: 46:[2, 46, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[2, 46, 2], Operations: ['67-65=2'] Exploring Operation: 46/2=23, Resulting Numbers: [2, 23] Generated Node #0,4,0: 46:[2, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [2, 44] Generated Node #0,4,1: 46:[2, 44] Operation: 46-2=44 Exploring Operation: 2/2=1, Resulting Numbers: [46, 1] Generated Node #0,4,2: 46:[46, 1] Operation: 2/2=1 Exploring Operation: 46/2=23, Resulting Numbers: [2, 23] Generated Node #0,4,3: 46:[2, 23] Operation: 46/2=23 Exploring Operation: 2+46=48, Resulting Numbers: [2, 48] Generated Node #0,4,4: 46:[2, 48] Operation: 2+46=48 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 46:[2, 23], Operations: ['67-65=2', '46/2=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[67, 2, 65, 46], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [2, 46, 2] Generated Node #0,4: 46:[2, 46, 2] Operation: 67-65=2 Moving to Node #0,4 Current State: 46:[2, 46, 2], Operations: ['67-65=2'] Exploring Operation: 46/2=23, Resulting Numbers: [2, 23] Generated Node #0,4,0: 46:[2, 23] Operation: 46/2=23 Moving to Node #0,4,0 Current State: 46:[2, 23], Operations: ['67-65=2', '46/2=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 1, 4, 85, 3 ]
74
[ "1+85=86", "4*3=12", "86-12=74" ]
Current State: 74:[1, 4, 85, 3], Operations: [] Exploring Operation: 1+85=86, Resulting Numbers: [4, 3, 86] Generated Node #2: [4, 3, 86] from Operation: 1+85=86 Current State: 74:[4, 3, 86], Operations: ['1+85=86'] Exploring Operation: 4*3=12, Resulting Numbers: [86, 12] Generated Node #3: [86, 12] from Operation: 4*3=12 Current State: 74:[86, 12], Operations: ['1+85=86', '4*3=12'] Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 4, 85, 3], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [1, 4, 82] Generated Node #0,0: 74:[1, 4, 82] Operation: 85-3=82 Exploring Operation: 85-4=81, Resulting Numbers: [1, 3, 81] Generated Node #0,1: 74:[1, 3, 81] Operation: 85-4=81 Moving to Node #0,1 Current State: 74:[1, 3, 81], Operations: ['85-4=81'] Exploring Operation: 81-3=78, Resulting Numbers: [1, 78] Generated Node #0,1,0: 74:[1, 78] Operation: 81-3=78 Exploring Operation: 3-1=2, Resulting Numbers: [81, 2] Generated Node #0,1,1: 74:[81, 2] Operation: 3-1=2 Moving to Node #0,0 Current State: 74:[1, 4, 82], Operations: ['85-3=82'] Exploring Operation: 4-1=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 74:[82, 3] Operation: 4-1=3 Exploring Operation: 82-4=78, Resulting Numbers: [1, 78] Generated Node #0,0,1: 74:[1, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[1, 78], Operations: ['85-3=82', '82-4=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[82, 3], Operations: ['85-3=82', '4-1=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 74:[1, 78], Operations: ['85-4=81', '81-3=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[81, 2], Operations: ['85-4=81', '3-1=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 89, 66, 58, 55 ]
67
[ "58-55=3", "66/3=22", "89-22=67" ]
Current State: 67:[89, 66, 58, 55], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [89, 66, 3] Generated Node #2: [89, 66, 3] from Operation: 58-55=3 Current State: 67:[89, 66, 3], Operations: ['58-55=3'] Exploring Operation: 66/3=22, Resulting Numbers: [89, 22] Generated Node #3: [89, 22] from Operation: 66/3=22 Current State: 67:[89, 22], Operations: ['58-55=3', '66/3=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[89, 66, 58, 55], Operations: [] Exploring Operation: 58+55=113, Resulting Numbers: [89, 66, 113] Generated Node #0,0: 67:[89, 66, 113] Operation: 58+55=113 Exploring Operation: 89-66=23, Resulting Numbers: [58, 55, 23] Generated Node #0,1: 67:[58, 55, 23] Operation: 89-66=23 Exploring Operation: 89-55=34, Resulting Numbers: [66, 58, 34] Generated Node #0,2: 67:[66, 58, 34] Operation: 89-55=34 Exploring Operation: 89-58=31, Resulting Numbers: [66, 55, 31] Generated Node #0,3: 67:[66, 55, 31] Operation: 89-58=31 Moving to Node #0,2 Current State: 67:[66, 58, 34], Operations: ['89-55=34'] Exploring Operation: 66-34=32, Resulting Numbers: [58, 32] Generated Node #0,2,0: 67:[58, 32] Operation: 66-34=32 Exploring Operation: 58+34=92, Resulting Numbers: [66, 92] Generated Node #0,2,1: 67:[66, 92] Operation: 58+34=92 Exploring Operation: 58-34=24, Resulting Numbers: [66, 24] Generated Node #0,2,2: 67:[66, 24] Operation: 58-34=24 Exploring Operation: 66+34=100, Resulting Numbers: [58, 100] Generated Node #0,2,3: 67:[58, 100] Operation: 66+34=100 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[66, 92], Operations: ['89-55=34', '58+34=92'] Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[58, 100], Operations: ['89-55=34', '66+34=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,67 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[58, 32], Operations: ['89-55=34', '66-34=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[66, 24], Operations: ['89-55=34', '58-34=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,67 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 67:[66, 55, 31], Operations: ['89-58=31'] Exploring Operation: 55-31=24, Resulting Numbers: [66, 24] Generated Node #0,3,0: 67:[66, 24] Operation: 55-31=24 Exploring Operation: 66-31=35, Resulting Numbers: [55, 35] Generated Node #0,3,1: 67:[55, 35] Operation: 66-31=35 Exploring Operation: 66+31=97, Resulting Numbers: [55, 97] Generated Node #0,3,2: 67:[55, 97] Operation: 66+31=97 Exploring Operation: 55+31=86, Resulting Numbers: [66, 86] Generated Node #0,3,3: 67:[66, 86] Operation: 55+31=86 Moving to Node #0,1 Current State: 67:[58, 55, 23], Operations: ['89-66=23'] Exploring Operation: 55+23=78, Resulting Numbers: [58, 78] Generated Node #0,1,0: 67:[58, 78] Operation: 55+23=78 Exploring Operation: 58+23=81, Resulting Numbers: [55, 81] Generated Node #0,1,1: 67:[55, 81] Operation: 58+23=81 Exploring Operation: 55-23=32, Resulting Numbers: [58, 32] Generated Node #0,1,2: 67:[58, 32] Operation: 55-23=32 Exploring Operation: 58-23=35, Resulting Numbers: [55, 35] Generated Node #0,1,3: 67:[55, 35] Operation: 58-23=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[58, 78], Operations: ['89-66=23', '55+23=78'] Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 58*78=4524, Resulting Numbers: [4524] 4524,67 unequal: No Solution Exploring Operation: 58+78=136, Resulting Numbers: [136] 136,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[55, 81], Operations: ['89-66=23', '58+23=81'] Exploring Operation: 55+81=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 55*81=4455, Resulting Numbers: [4455] 4455,67 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[58, 32], Operations: ['89-66=23', '55-23=32'] Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,67 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[55, 35], Operations: ['89-66=23', '58-23=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 67:[89, 66, 113], Operations: ['58+55=113'] Exploring Operation: 113-89=24, Resulting Numbers: [66, 24] Generated Node #0,0,0: 67:[66, 24] Operation: 113-89=24 Exploring Operation: 113-66=47, Resulting Numbers: [89, 47] Generated Node #0,0,1: 67:[89, 47] Operation: 113-66=47 Exploring Operation: 89-66=23, Resulting Numbers: [113, 23] Generated Node #0,0,2: 67:[113, 23] Operation: 89-66=23 Exploring Operation: 89+66=155, Resulting Numbers: [113, 155] Generated Node #0,0,3: 67:[113, 155] Operation: 89+66=155 Moving to Node #0,3,3 Current State: 67:[66, 86], Operations: ['89-58=31', '55+31=86'] Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 66*86=5676, Resulting Numbers: [5676] 5676,67 unequal: No Solution Exploring Operation: 66+86=152, Resulting Numbers: [152] 152,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[55, 97], Operations: ['89-58=31', '66+31=97'] Exploring Operation: 55*97=5335, Resulting Numbers: [5335] 5335,67 unequal: No Solution Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 55+97=152, Resulting Numbers: [152] 152,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[89, 47], Operations: ['58+55=113', '113-66=47'] Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[66, 24], Operations: ['89-58=31', '55-31=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[66, 24], Operations: ['58+55=113', '113-89=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,67 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[55, 35], Operations: ['89-58=31', '66-31=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[113, 23], Operations: ['58+55=113', '89-66=23'] Exploring Operation: 113-23=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 113*23=2599, Resulting Numbers: [2599] 2599,67 unequal: No Solution Exploring Operation: 113+23=136, Resulting Numbers: [136] 136,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[113, 155], Operations: ['58+55=113', '89+66=155'] Exploring Operation: 155-113=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 113+155=268, Resulting Numbers: [268] 268,67 unequal: No Solution Exploring Operation: 113*155=17515, Resulting Numbers: [17515] 17515,67 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 39, 78, 7, 52 ]
43
[ "78/39=2", "52-7=45", "45-2=43" ]
Current State: 43:[39, 78, 7, 52], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [7, 52, 2] Generated Node #2: [7, 52, 2] from Operation: 78/39=2 Current State: 43:[7, 52, 2], Operations: ['78/39=2'] Exploring Operation: 52-7=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 52-7=45 Current State: 43:[2, 45], Operations: ['78/39=2', '52-7=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[39, 78, 7, 52], Operations: [] Exploring Operation: 78-7=71, Resulting Numbers: [39, 52, 71] Generated Node #0,0: 43:[39, 52, 71] Operation: 78-7=71 Exploring Operation: 78-39=39, Resulting Numbers: [7, 52, 39] Generated Node #0,1: 43:[7, 52, 39] Operation: 78-39=39 Exploring Operation: 52-7=45, Resulting Numbers: [39, 78, 45] Generated Node #0,2: 43:[39, 78, 45] Operation: 52-7=45 Exploring Operation: 39+7=46, Resulting Numbers: [78, 52, 46] Generated Node #0,3: 43:[78, 52, 46] Operation: 39+7=46 Exploring Operation: 39-7=32, Resulting Numbers: [78, 52, 32] Generated Node #0,4: 43:[78, 52, 32] Operation: 39-7=32 Moving to Node #0,0 Current State: 43:[39, 52, 71], Operations: ['78-7=71'] Exploring Operation: 71-52=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 43:[39, 19] Operation: 71-52=19 Exploring Operation: 39+52=91, Resulting Numbers: [71, 91] Generated Node #0,0,1: 43:[71, 91] Operation: 39+52=91 Exploring Operation: 52-39=13, Resulting Numbers: [71, 13] Generated Node #0,0,2: 43:[71, 13] Operation: 52-39=13 Exploring Operation: 71-39=32, Resulting Numbers: [52, 32] Generated Node #0,0,3: 43:[52, 32] Operation: 71-39=32 Exploring Operation: 39+71=110, Resulting Numbers: [52, 110] Generated Node #0,0,4: 43:[52, 110] Operation: 39+71=110 Moving to Node #0,2 Current State: 43:[39, 78, 45], Operations: ['52-7=45'] Exploring Operation: 78-45=33, Resulting Numbers: [39, 33] Generated Node #0,2,0: 43:[39, 33] Operation: 78-45=33 Exploring Operation: 78-39=39, Resulting Numbers: [45, 39] Generated Node #0,2,1: 43:[45, 39] Operation: 78-39=39 Exploring Operation: 39+78=117, Resulting Numbers: [45, 117] Generated Node #0,2,2: 43:[45, 117] Operation: 39+78=117 Exploring Operation: 45-39=6, Resulting Numbers: [78, 6] Generated Node #0,2,3: 43:[78, 6] Operation: 45-39=6 Exploring Operation: 78/39=2, Resulting Numbers: [45, 2] Generated Node #0,2,4: 43:[45, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[45, 39], Operations: ['52-7=45', '78-39=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[39, 33], Operations: ['52-7=45', '78-45=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 43:[45, 2], Operations: ['52-7=45', '78/39=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[39, 78, 7, 52], Operations: [] Exploring Operation: 52-7=45, Resulting Numbers: [39, 78, 45] Generated Node #0,2: 43:[39, 78, 45] Operation: 52-7=45 Moving to Node #0,2 Current State: 43:[39, 78, 45], Operations: ['52-7=45'] Exploring Operation: 78/39=2, Resulting Numbers: [45, 2] Generated Node #0,2,4: 43:[45, 2] Operation: 78/39=2 Moving to Node #0,2,4 Current State: 43:[45, 2], Operations: ['52-7=45', '78/39=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 4, 9, 90, 73 ]
12
[ "9-4=5", "90-73=17", "17-5=12" ]
Current State: 12:[4, 9, 90, 73], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [90, 73, 5] Generated Node #2: [90, 73, 5] from Operation: 9-4=5 Current State: 12:[90, 73, 5], Operations: ['9-4=5'] Exploring Operation: 90-73=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 90-73=17 Current State: 12:[5, 17], Operations: ['9-4=5', '90-73=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[4, 9, 90, 73], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [4, 73, 10] Generated Node #0,0: 12:[4, 73, 10] Operation: 90/9=10 Exploring Operation: 90-73=17, Resulting Numbers: [4, 9, 17] Generated Node #0,1: 12:[4, 9, 17] Operation: 90-73=17 Moving to Node #0,1 Current State: 12:[4, 9, 17], Operations: ['90-73=17'] Exploring Operation: 17-4=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 12:[9, 13] Operation: 17-4=13 Exploring Operation: 17-9=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 12:[4, 8] Operation: 17-9=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[4, 8], Operations: ['90-73=17', '17-9=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[4, 9, 90, 73], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [4, 9, 17] Generated Node #0,1: 12:[4, 9, 17] Operation: 90-73=17 Moving to Node #0,1 Current State: 12:[4, 9, 17], Operations: ['90-73=17'] Exploring Operation: 17-9=8, Resulting Numbers: [4, 8] Generated Node #0,1,1: 12:[4, 8] Operation: 17-9=8 Moving to Node #0,1,1 Current State: 12:[4, 8], Operations: ['90-73=17', '17-9=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 61, 1, 25, 1 ]
97
[ "1+1=2", "61*2=122", "122-25=97" ]
Current State: 97:[61, 1, 25, 1], Operations: [] Exploring Operation: 1+1=2, Resulting Numbers: [61, 25, 2] Generated Node #2: [61, 25, 2] from Operation: 1+1=2 Current State: 97:[61, 25, 2], Operations: ['1+1=2'] Exploring Operation: 61*2=122, Resulting Numbers: [25, 122] Generated Node #3: [25, 122] from Operation: 61*2=122 Current State: 97:[25, 122], Operations: ['1+1=2', '61*2=122'] Exploring Operation: 122-25=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[61, 1, 25, 1], Operations: [] Exploring Operation: 61+1=62, Resulting Numbers: [1, 25, 62] Generated Node #0,0: 97:[1, 25, 62] Operation: 61+1=62 Exploring Operation: 61+25=86, Resulting Numbers: [1, 1, 86] Generated Node #0,1: 97:[1, 1, 86] Operation: 61+25=86 Exploring Operation: 61+1=62, Resulting Numbers: [25, 1, 62] Generated Node #0,2: 97:[25, 1, 62] Operation: 61+1=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[1, 25, 62], Operations: ['61+1=62'] Exploring Operation: 1+25=26, Resulting Numbers: [62, 26] Generated Node #0,0,0: 97:[62, 26] Operation: 1+25=26 Exploring Operation: 1+62=63, Resulting Numbers: [25, 63] Generated Node #0,0,1: 97:[25, 63] Operation: 1+62=63 Exploring Operation: 25+62=87, Resulting Numbers: [1, 87] Generated Node #0,0,2: 97:[1, 87] Operation: 25+62=87 Moving to Node #0,0,0 Current State: 97:[62, 26], Operations: ['61+1=62', '1+25=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,97 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[25, 63], Operations: ['61+1=62', '1+62=63'] Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,97 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[1, 87], Operations: ['61+1=62', '25+62=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[1, 1, 86], Operations: ['61+25=86'] Exploring Operation: 1+86=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 97:[1, 87] Operation: 1+86=87 Exploring Operation: 1+1=2, Resulting Numbers: [86, 2] Generated Node #0,1,1: 97:[86, 2] Operation: 1+1=2 Exploring Operation: 1+86=87, Resulting Numbers: [1, 87] Generated Node #0,1,2: 97:[1, 87] Operation: 1+86=87 Moving to Node #0,1,0 Current State: 97:[1, 87], Operations: ['61+25=86', '1+86=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[86, 2], Operations: ['61+25=86', '1+1=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[1, 87], Operations: ['61+25=86', '1+86=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[25, 1, 62], Operations: ['61+1=62'] Exploring Operation: 25+62=87, Resulting Numbers: [1, 87] Generated Node #0,2,0: 97:[1, 87] Operation: 25+62=87 Exploring Operation: 1+62=63, Resulting Numbers: [25, 63] Generated Node #0,2,1: 97:[25, 63] Operation: 1+62=63 Exploring Operation: 25+1=26, Resulting Numbers: [62, 26] Generated Node #0,2,2: 97:[62, 26] Operation: 25+1=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[1, 87], Operations: ['61+1=62', '25+62=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[25, 63], Operations: ['61+1=62', '1+62=63'] Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,97 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[62, 26], Operations: ['61+1=62', '25+1=26'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 75, 66, 15, 64 ]
71
[ "75-66=9", "15*9=135", "135-64=71" ]
Current State: 71:[75, 66, 15, 64], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [15, 64, 9] Generated Node #2: [15, 64, 9] from Operation: 75-66=9 Current State: 71:[15, 64, 9], Operations: ['75-66=9'] Exploring Operation: 15*9=135, Resulting Numbers: [64, 135] Generated Node #3: [64, 135] from Operation: 15*9=135 Current State: 71:[64, 135], Operations: ['75-66=9', '15*9=135'] Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[75, 66, 15, 64], Operations: [] Exploring Operation: 15+64=79, Resulting Numbers: [75, 66, 79] Generated Node #0,0: 71:[75, 66, 79] Operation: 15+64=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[75, 66, 79], Operations: ['15+64=79'] Exploring Operation: 79-66=13, Resulting Numbers: [75, 13] Generated Node #0,0,0: 71:[75, 13] Operation: 79-66=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[75, 13], Operations: ['15+64=79', '79-66=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 72, 78, 23 ]
67
[ "78-72=6", "15*6=90", "90-23=67" ]
Current State: 67:[15, 72, 78, 23], Operations: [] Exploring Operation: 78-72=6, Resulting Numbers: [15, 23, 6] Generated Node #2: [15, 23, 6] from Operation: 78-72=6 Current State: 67:[15, 23, 6], Operations: ['78-72=6'] Exploring Operation: 15*6=90, Resulting Numbers: [23, 90] Generated Node #3: [23, 90] from Operation: 15*6=90 Current State: 67:[23, 90], Operations: ['78-72=6', '15*6=90'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[15, 72, 78, 23], Operations: [] Exploring Operation: 15+23=38, Resulting Numbers: [72, 78, 38] Generated Node #0,0: 67:[72, 78, 38] Operation: 15+23=38 Exploring Operation: 72-15=57, Resulting Numbers: [78, 23, 57] Generated Node #0,1: 67:[78, 23, 57] Operation: 72-15=57 Exploring Operation: 78-15=63, Resulting Numbers: [72, 23, 63] Generated Node #0,2: 67:[72, 23, 63] Operation: 78-15=63 Exploring Operation: 78-23=55, Resulting Numbers: [15, 72, 55] Generated Node #0,3: 67:[15, 72, 55] Operation: 78-23=55 Moving to Node #0,0 Current State: 67:[72, 78, 38], Operations: ['15+23=38'] Exploring Operation: 78-38=40, Resulting Numbers: [72, 40] Generated Node #0,0,0: 67:[72, 40] Operation: 78-38=40 Exploring Operation: 78+38=116, Resulting Numbers: [72, 116] Generated Node #0,0,1: 67:[72, 116] Operation: 78+38=116 Exploring Operation: 72-38=34, Resulting Numbers: [78, 34] Generated Node #0,0,2: 67:[78, 34] Operation: 72-38=34 Exploring Operation: 72+38=110, Resulting Numbers: [78, 110] Generated Node #0,0,3: 67:[78, 110] Operation: 72+38=110 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[72, 40], Operations: ['15+23=38', '78-38=40'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,67 unequal: No Solution Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[78, 34], Operations: ['15+23=38', '72-38=34'] Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,67 unequal: No Solution Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[72, 116], Operations: ['15+23=38', '78+38=116'] Exploring Operation: 72+116=188, Resulting Numbers: [188] 188,67 unequal: No Solution Exploring Operation: 72*116=8352, Resulting Numbers: [8352] 8352,67 unequal: No Solution Exploring Operation: 116-72=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[78, 110], Operations: ['15+23=38', '72+38=110'] Exploring Operation: 78*110=8580, Resulting Numbers: [8580] 8580,67 unequal: No Solution Exploring Operation: 110-78=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 78+110=188, Resulting Numbers: [188] 188,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[72, 23, 63], Operations: ['78-15=63'] Exploring Operation: 63-23=40, Resulting Numbers: [72, 40] Generated Node #0,2,0: 67:[72, 40] Operation: 63-23=40 Exploring Operation: 72-23=49, Resulting Numbers: [63, 49] Generated Node #0,2,1: 67:[63, 49] Operation: 72-23=49 Exploring Operation: 72+23=95, Resulting Numbers: [63, 95] Generated Node #0,2,2: 67:[63, 95] Operation: 72+23=95 Exploring Operation: 23+63=86, Resulting Numbers: [72, 86] Generated Node #0,2,3: 67:[72, 86] Operation: 23+63=86 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[63, 49], Operations: ['78-15=63', '72-23=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,67 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[72, 86], Operations: ['78-15=63', '23+63=86'] Exploring Operation: 72+86=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 72*86=6192, Resulting Numbers: [6192] 6192,67 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[72, 40], Operations: ['78-15=63', '63-23=40'] Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,67 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[63, 95], Operations: ['78-15=63', '72+23=95'] Exploring Operation: 63+95=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 63*95=5985, Resulting Numbers: [5985] 5985,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[78, 23, 57], Operations: ['72-15=57'] Exploring Operation: 78+23=101, Resulting Numbers: [57, 101] Generated Node #0,1,0: 67:[57, 101] Operation: 78+23=101 Exploring Operation: 78-23=55, Resulting Numbers: [57, 55] Generated Node #0,1,1: 67:[57, 55] Operation: 78-23=55 Exploring Operation: 23+57=80, Resulting Numbers: [78, 80] Generated Node #0,1,2: 67:[78, 80] Operation: 23+57=80 Exploring Operation: 57-23=34, Resulting Numbers: [78, 34] Generated Node #0,1,3: 67:[78, 34] Operation: 57-23=34 Moving to Node #0,3 Current State: 67:[15, 72, 55], Operations: ['78-23=55'] Exploring Operation: 72-15=57, Resulting Numbers: [55, 57] Generated Node #0,3,0: 67:[55, 57] Operation: 72-15=57 Exploring Operation: 15+55=70, Resulting Numbers: [72, 70] Generated Node #0,3,1: 67:[72, 70] Operation: 15+55=70 Exploring Operation: 15+72=87, Resulting Numbers: [55, 87] Generated Node #0,3,2: 67:[55, 87] Operation: 15+72=87 Exploring Operation: 55-15=40, Resulting Numbers: [72, 40] Generated Node #0,3,3: 67:[72, 40] Operation: 55-15=40 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[72, 70], Operations: ['78-23=55', '15+55=70'] Exploring Operation: 72+70=142, Resulting Numbers: [142] 142,67 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 72*70=5040, Resulting Numbers: [5040] 5040,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[55, 57], Operations: ['78-23=55', '72-15=57'] Exploring Operation: 55*57=3135, Resulting Numbers: [3135] 3135,67 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 55+57=112, Resulting Numbers: [112] 112,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[55, 87], Operations: ['78-23=55', '15+72=87'] Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,67 unequal: No Solution Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[72, 40], Operations: ['78-23=55', '55-15=40'] Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,67 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 67:[57, 55], Operations: ['72-15=57', '78-23=55'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[78, 80], Operations: ['72-15=57', '23+57=80'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,67 unequal: No Solution Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[78, 34], Operations: ['72-15=57', '57-23=34'] Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,67 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[57, 101], Operations: ['72-15=57', '78+23=101'] Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,67 unequal: No Solution Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 1, 25, 28, 99 ]
45
[ "1+25=26", "99-28=71", "71-26=45" ]
Current State: 45:[1, 25, 28, 99], Operations: [] Exploring Operation: 1+25=26, Resulting Numbers: [28, 99, 26] Generated Node #2: [28, 99, 26] from Operation: 1+25=26 Current State: 45:[28, 99, 26], Operations: ['1+25=26'] Exploring Operation: 99-28=71, Resulting Numbers: [26, 71] Generated Node #3: [26, 71] from Operation: 99-28=71 Current State: 45:[26, 71], Operations: ['1+25=26', '99-28=71'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[1, 25, 28, 99], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [1, 28, 74] Generated Node #0,0: 45:[1, 28, 74] Operation: 99-25=74 Exploring Operation: 99-28=71, Resulting Numbers: [1, 25, 71] Generated Node #0,1: 45:[1, 25, 71] Operation: 99-28=71 Moving to Node #0,1 Current State: 45:[1, 25, 71], Operations: ['99-28=71'] Exploring Operation: 25-1=24, Resulting Numbers: [71, 24] Generated Node #0,1,0: 45:[71, 24] Operation: 25-1=24 Exploring Operation: 71-25=46, Resulting Numbers: [1, 46] Generated Node #0,1,1: 45:[1, 46] Operation: 71-25=46 Moving to Node #0,0 Current State: 45:[1, 28, 74], Operations: ['99-25=74'] Exploring Operation: 28-1=27, Resulting Numbers: [74, 27] Generated Node #0,0,0: 45:[74, 27] Operation: 28-1=27 Exploring Operation: 74-28=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 45:[1, 46] Operation: 74-28=46 Moving to Node #0,1,1 Current State: 45:[1, 46], Operations: ['99-28=71', '71-25=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[1, 25, 28, 99], Operations: [] Exploring Operation: 99-28=71, Resulting Numbers: [1, 25, 71] Generated Node #0,1: 45:[1, 25, 71] Operation: 99-28=71 Moving to Node #0,1 Current State: 45:[1, 25, 71], Operations: ['99-28=71'] Exploring Operation: 71-25=46, Resulting Numbers: [1, 46] Generated Node #0,1,1: 45:[1, 46] Operation: 71-25=46 Moving to Node #0,1,1 Current State: 45:[1, 46], Operations: ['99-28=71', '71-25=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 54, 40, 2, 37 ]
60
[ "54-40=14", "2*37=74", "74-14=60" ]
Current State: 60:[54, 40, 2, 37], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [2, 37, 14] Generated Node #2: [2, 37, 14] from Operation: 54-40=14 Current State: 60:[2, 37, 14], Operations: ['54-40=14'] Exploring Operation: 2*37=74, Resulting Numbers: [14, 74] Generated Node #3: [14, 74] from Operation: 2*37=74 Current State: 60:[14, 74], Operations: ['54-40=14', '2*37=74'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[54, 40, 2, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [54, 2, 3] Generated Node #0,0: 60:[54, 2, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[54, 2, 3], Operations: ['40-37=3'] Exploring Operation: 54/3=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 60:[2, 18] Operation: 54/3=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[2, 18], Operations: ['40-37=3', '54/3=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 10, 96, 61 ]
49
[ "96-85=11", "10*11=110", "110-61=49" ]
Current State: 49:[85, 10, 96, 61], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [10, 61, 11] Generated Node #2: [10, 61, 11] from Operation: 96-85=11 Current State: 49:[10, 61, 11], Operations: ['96-85=11'] Exploring Operation: 10*11=110, Resulting Numbers: [61, 110] Generated Node #3: [61, 110] from Operation: 10*11=110 Current State: 49:[61, 110], Operations: ['96-85=11', '10*11=110'] Exploring Operation: 110-61=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[85, 10, 96, 61], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [85, 10, 35] Generated Node #0,0: 49:[85, 10, 35] Operation: 96-61=35 Exploring Operation: 96-85=11, Resulting Numbers: [10, 61, 11] Generated Node #0,1: 49:[10, 61, 11] Operation: 96-85=11 Exploring Operation: 85-61=24, Resulting Numbers: [10, 96, 24] Generated Node #0,2: 49:[10, 96, 24] Operation: 85-61=24 Moving to Node #0,1 Current State: 49:[10, 61, 11], Operations: ['96-85=11'] Exploring Operation: 61-10=51, Resulting Numbers: [11, 51] Generated Node #0,1,0: 49:[11, 51] Operation: 61-10=51 Exploring Operation: 11-10=1, Resulting Numbers: [61, 1] Generated Node #0,1,1: 49:[61, 1] Operation: 11-10=1 Exploring Operation: 61-11=50, Resulting Numbers: [10, 50] Generated Node #0,1,2: 49:[10, 50] Operation: 61-11=50 Moving to Node #0,0 Current State: 49:[85, 10, 35], Operations: ['96-61=35'] Exploring Operation: 85-10=75, Resulting Numbers: [35, 75] Generated Node #0,0,0: 49:[35, 75] Operation: 85-10=75 Exploring Operation: 10+35=45, Resulting Numbers: [85, 45] Generated Node #0,0,1: 49:[85, 45] Operation: 10+35=45 Exploring Operation: 85-35=50, Resulting Numbers: [10, 50] Generated Node #0,0,2: 49:[10, 50] Operation: 85-35=50 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[10, 50], Operations: ['96-61=35', '85-35=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[35, 75], Operations: ['96-61=35', '85-10=75'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[85, 45], Operations: ['96-61=35', '10+35=45'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,49 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 49:[10, 96, 24], Operations: ['85-61=24'] Exploring Operation: 96-24=72, Resulting Numbers: [10, 72] Generated Node #0,2,0: 49:[10, 72] Operation: 96-24=72 Exploring Operation: 96-10=86, Resulting Numbers: [24, 86] Generated Node #0,2,1: 49:[24, 86] Operation: 96-10=86 Exploring Operation: 96/24=4, Resulting Numbers: [10, 4] Generated Node #0,2,2: 49:[10, 4] Operation: 96/24=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[10, 4], Operations: ['85-61=24', '96/24=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[10, 72], Operations: ['85-61=24', '96-24=72'] Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[24, 86], Operations: ['85-61=24', '96-10=86'] Exploring Operation: 24+86=110, Resulting Numbers: [110] 110,49 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 24*86=2064, Resulting Numbers: [2064] 2064,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 49:[10, 50], Operations: ['96-85=11', '61-11=50'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[11, 51], Operations: ['96-85=11', '61-10=51'] Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,49 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[61, 1], Operations: ['96-85=11', '11-10=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 69, 42, 7 ]
28
[ "69-6=63", "42-7=35", "63-35=28" ]
Current State: 28:[6, 69, 42, 7], Operations: [] Exploring Operation: 69-6=63, Resulting Numbers: [42, 7, 63] Generated Node #2: [42, 7, 63] from Operation: 69-6=63 Current State: 28:[42, 7, 63], Operations: ['69-6=63'] Exploring Operation: 42-7=35, Resulting Numbers: [63, 35] Generated Node #3: [63, 35] from Operation: 42-7=35 Current State: 28:[63, 35], Operations: ['69-6=63', '42-7=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[6, 69, 42, 7], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [6, 69, 6] Generated Node #0,0: 28:[6, 69, 6] Operation: 42/7=6 Exploring Operation: 42/6=7, Resulting Numbers: [69, 7, 7] Generated Node #0,1: 28:[69, 7, 7] Operation: 42/6=7 Exploring Operation: 69-42=27, Resulting Numbers: [6, 7, 27] Generated Node #0,2: 28:[6, 7, 27] Operation: 69-42=27 Moving to Node #0,2 Current State: 28:[6, 7, 27], Operations: ['69-42=27'] Exploring Operation: 7-6=1, Resulting Numbers: [27, 1] Generated Node #0,2,0: 28:[27, 1] Operation: 7-6=1 Exploring Operation: 6+27=33, Resulting Numbers: [7, 33] Generated Node #0,2,1: 28:[7, 33] Operation: 6+27=33 Exploring Operation: 6+7=13, Resulting Numbers: [27, 13] Generated Node #0,2,2: 28:[27, 13] Operation: 6+7=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[27, 1], Operations: ['69-42=27', '7-6=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[6, 69, 42, 7], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [6, 7, 27] Generated Node #0,2: 28:[6, 7, 27] Operation: 69-42=27 Moving to Node #0,2 Current State: 28:[6, 7, 27], Operations: ['69-42=27'] Exploring Operation: 7-6=1, Resulting Numbers: [27, 1] Generated Node #0,2,0: 28:[27, 1] Operation: 7-6=1 Moving to Node #0,2,0 Current State: 28:[27, 1], Operations: ['69-42=27', '7-6=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 2, 35, 52, 72 ]
19
[ "72/2=36", "52-35=17", "36-17=19" ]
Current State: 19:[2, 35, 52, 72], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [35, 52, 36] Generated Node #2: [35, 52, 36] from Operation: 72/2=36 Current State: 19:[35, 52, 36], Operations: ['72/2=36'] Exploring Operation: 52-35=17, Resulting Numbers: [36, 17] Generated Node #3: [36, 17] from Operation: 52-35=17 Current State: 19:[36, 17], Operations: ['72/2=36', '52-35=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 35, 52, 72], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [2, 35, 20] Generated Node #0,0: 19:[2, 35, 20] Operation: 72-52=20 Moving to Node #0,0 Current State: 19:[2, 35, 20], Operations: ['72-52=20'] Exploring Operation: 35-2=33, Resulting Numbers: [20, 33] Generated Node #0,0,0: 19:[20, 33] Operation: 35-2=33 Moving to Node #0,0,0 Current State: 19:[20, 33], Operations: ['72-52=20', '35-2=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 66, 8, 2, 6 ]
28
[ "66+6=72", "72/2=36", "36-8=28" ]
Current State: 28:[66, 8, 2, 6], Operations: [] Exploring Operation: 66+6=72, Resulting Numbers: [8, 2, 72] Generated Node #2: [8, 2, 72] from Operation: 66+6=72 Current State: 28:[8, 2, 72], Operations: ['66+6=72'] Exploring Operation: 72/2=36, Resulting Numbers: [8, 36] Generated Node #3: [8, 36] from Operation: 72/2=36 Current State: 28:[8, 36], Operations: ['66+6=72', '72/2=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[66, 8, 2, 6], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [8, 2, 11] Generated Node #0,0: 28:[8, 2, 11] Operation: 66/6=11 Exploring Operation: 66-8=58, Resulting Numbers: [2, 6, 58] Generated Node #0,1: 28:[2, 6, 58] Operation: 66-8=58 Exploring Operation: 66/2=33, Resulting Numbers: [8, 6, 33] Generated Node #0,2: 28:[8, 6, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[8, 2, 11], Operations: ['66/6=11'] Exploring Operation: 11-8=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 28:[2, 3] Operation: 11-8=3 Exploring Operation: 8/2=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 28:[11, 4] Operation: 8/2=4 Exploring Operation: 2+11=13, Resulting Numbers: [8, 13] Generated Node #0,0,2: 28:[8, 13] Operation: 2+11=13 Moving to Node #0,0,0 Current State: 28:[2, 3], Operations: ['66/6=11', '11-8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[8, 13], Operations: ['66/6=11', '2+11=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[11, 4], Operations: ['66/6=11', '8/2=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[8, 6, 33], Operations: ['66/2=33'] Exploring Operation: 33-8=25, Resulting Numbers: [6, 25] Generated Node #0,2,0: 28:[6, 25] Operation: 33-8=25 Exploring Operation: 8+6=14, Resulting Numbers: [33, 14] Generated Node #0,2,1: 28:[33, 14] Operation: 8+6=14 Exploring Operation: 33-6=27, Resulting Numbers: [8, 27] Generated Node #0,2,2: 28:[8, 27] Operation: 33-6=27 Moving to Node #0,2,2 Current State: 28:[8, 27], Operations: ['66/2=33', '33-6=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[6, 25], Operations: ['66/2=33', '33-8=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,28 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[33, 14], Operations: ['66/2=33', '8+6=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[2, 6, 58], Operations: ['66-8=58'] Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #0,1,0: 28:[2, 52] Operation: 58-6=52 Exploring Operation: 58-2=56, Resulting Numbers: [6, 56] Generated Node #0,1,1: 28:[6, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [6, 29] Generated Node #0,1,2: 28:[6, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[6, 29], Operations: ['66-8=58', '58/2=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[2, 52], Operations: ['66-8=58', '58-6=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[6, 56], Operations: ['66-8=58', '58-2=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 94, 42, 54 ]
24
[ "94-91=3", "54/3=18", "42-18=24" ]
Current State: 24:[91, 94, 42, 54], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [42, 54, 3] Generated Node #2: [42, 54, 3] from Operation: 94-91=3 Current State: 24:[42, 54, 3], Operations: ['94-91=3'] Exploring Operation: 54/3=18, Resulting Numbers: [42, 18] Generated Node #3: [42, 18] from Operation: 54/3=18 Current State: 24:[42, 18], Operations: ['94-91=3', '54/3=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[91, 94, 42, 54], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [42, 54, 3] Generated Node #0,0: 24:[42, 54, 3] Operation: 94-91=3 Exploring Operation: 91-42=49, Resulting Numbers: [94, 54, 49] Generated Node #0,1: 24:[94, 54, 49] Operation: 91-42=49 Exploring Operation: 91-54=37, Resulting Numbers: [94, 42, 37] Generated Node #0,2: 24:[94, 42, 37] Operation: 91-54=37 Exploring Operation: 94-54=40, Resulting Numbers: [91, 42, 40] Generated Node #0,3: 24:[91, 42, 40] Operation: 94-54=40 Moving to Node #0,0 Current State: 24:[42, 54, 3], Operations: ['94-91=3'] Exploring Operation: 42-3=39, Resulting Numbers: [54, 39] Generated Node #0,0,0: 24:[54, 39] Operation: 42-3=39 Exploring Operation: 54/3=18, Resulting Numbers: [42, 18] Generated Node #0,0,1: 24:[42, 18] Operation: 54/3=18 Exploring Operation: 42/3=14, Resulting Numbers: [54, 14] Generated Node #0,0,2: 24:[54, 14] Operation: 42/3=14 Exploring Operation: 54-42=12, Resulting Numbers: [3, 12] Generated Node #0,0,3: 24:[3, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[3, 12], Operations: ['94-91=3', '54-42=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[42, 18], Operations: ['94-91=3', '54/3=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,24 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[91, 94, 42, 54], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [42, 54, 3] Generated Node #0,0: 24:[42, 54, 3] Operation: 94-91=3 Moving to Node #0,0 Current State: 24:[42, 54, 3], Operations: ['94-91=3'] Exploring Operation: 54/3=18, Resulting Numbers: [42, 18] Generated Node #0,0,1: 24:[42, 18] Operation: 54/3=18 Moving to Node #0,0,1 Current State: 24:[42, 18], Operations: ['94-91=3', '54/3=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 56, 80, 66, 70 ]
20
[ "80-56=24", "70-66=4", "24-4=20" ]
Current State: 20:[56, 80, 66, 70], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [66, 70, 24] Generated Node #2: [66, 70, 24] from Operation: 80-56=24 Current State: 20:[66, 70, 24], Operations: ['80-56=24'] Exploring Operation: 70-66=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 70-66=4 Current State: 20:[24, 4], Operations: ['80-56=24', '70-66=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[56, 80, 66, 70], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [66, 70, 24] Generated Node #0,0: 20:[66, 70, 24] Operation: 80-56=24 Exploring Operation: 70-66=4, Resulting Numbers: [56, 80, 4] Generated Node #0,1: 20:[56, 80, 4] Operation: 70-66=4 Exploring Operation: 80-70=10, Resulting Numbers: [56, 66, 10] Generated Node #0,2: 20:[56, 66, 10] Operation: 80-70=10 Exploring Operation: 80-66=14, Resulting Numbers: [56, 70, 14] Generated Node #0,3: 20:[56, 70, 14] Operation: 80-66=14 Exploring Operation: 66-56=10, Resulting Numbers: [80, 70, 10] Generated Node #0,4: 20:[80, 70, 10] Operation: 66-56=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[56, 66, 10], Operations: ['80-70=10'] Exploring Operation: 56+10=66, Resulting Numbers: [66, 66] Generated Node #0,2,0: 20:[66, 66] Operation: 56+10=66 Exploring Operation: 66-10=56, Resulting Numbers: [56, 56] Generated Node #0,2,1: 20:[56, 56] Operation: 66-10=56 Exploring Operation: 66+10=76, Resulting Numbers: [56, 76] Generated Node #0,2,2: 20:[56, 76] Operation: 66+10=76 Exploring Operation: 66-56=10, Resulting Numbers: [10, 10] Generated Node #0,2,3: 20:[10, 10] Operation: 66-56=10 Exploring Operation: 56-10=46, Resulting Numbers: [66, 46] Generated Node #0,2,4: 20:[66, 46] Operation: 56-10=46 Moving to Node #0,2,3 Current State: 20:[10, 10], Operations: ['80-70=10', '66-56=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[56, 80, 66, 70], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [56, 66, 10] Generated Node #0,2: 20:[56, 66, 10] Operation: 80-70=10 Moving to Node #0,2 Current State: 20:[56, 66, 10], Operations: ['80-70=10'] Exploring Operation: 66-56=10, Resulting Numbers: [10, 10] Generated Node #0,2,3: 20:[10, 10] Operation: 66-56=10 Moving to Node #0,2,3 Current State: 20:[10, 10], Operations: ['80-70=10', '66-56=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 83, 33, 45, 1 ]
72
[ "83+33=116", "45-1=44", "116-44=72" ]
Current State: 72:[83, 33, 45, 1], Operations: [] Exploring Operation: 83+33=116, Resulting Numbers: [45, 1, 116] Generated Node #2: [45, 1, 116] from Operation: 83+33=116 Current State: 72:[45, 1, 116], Operations: ['83+33=116'] Exploring Operation: 45-1=44, Resulting Numbers: [116, 44] Generated Node #3: [116, 44] from Operation: 45-1=44 Current State: 72:[116, 44], Operations: ['83+33=116', '45-1=44'] Exploring Operation: 116-44=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[83, 33, 45, 1], Operations: [] Exploring Operation: 83-45=38, Resulting Numbers: [33, 1, 38] Generated Node #0,0: 72:[33, 1, 38] Operation: 83-45=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[33, 1, 38], Operations: ['83-45=38'] Exploring Operation: 33+38=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 33+38=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['83-45=38', '33+38=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[83, 33, 45, 1], Operations: [] Exploring Operation: 83-45=38, Resulting Numbers: [33, 1, 38] Generated Node #0,0: 72:[33, 1, 38] Operation: 83-45=38 Moving to Node #0,0 Current State: 72:[33, 1, 38], Operations: ['83-45=38'] Exploring Operation: 33+38=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 33+38=71 Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['83-45=38', '33+38=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 60, 45, 84, 27 ]
70
[ "60*84=5040", "45+27=72", "5040/72=70" ]
Current State: 70:[60, 45, 84, 27], Operations: [] Exploring Operation: 60*84=5040, Resulting Numbers: [45, 27, 5040] Generated Node #2: [45, 27, 5040] from Operation: 60*84=5040 Current State: 70:[45, 27, 5040], Operations: ['60*84=5040'] Exploring Operation: 45+27=72, Resulting Numbers: [5040, 72] Generated Node #3: [5040, 72] from Operation: 45+27=72 Current State: 70:[5040, 72], Operations: ['60*84=5040', '45+27=72'] Exploring Operation: 5040/72=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[60, 45, 84, 27], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [60, 27, 39] Generated Node #0,0: 70:[60, 27, 39] Operation: 84-45=39 Exploring Operation: 60-45=15, Resulting Numbers: [84, 27, 15] Generated Node #0,1: 70:[84, 27, 15] Operation: 60-45=15 Moving to Node #0,0 Current State: 70:[60, 27, 39], Operations: ['84-45=39'] Exploring Operation: 39-27=12, Resulting Numbers: [60, 12] Generated Node #0,0,0: 70:[60, 12] Operation: 39-27=12 Exploring Operation: 60-27=33, Resulting Numbers: [39, 33] Generated Node #0,0,1: 70:[39, 33] Operation: 60-27=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[39, 33], Operations: ['84-45=39', '60-27=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[60, 12], Operations: ['84-45=39', '39-27=12'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[84, 27, 15], Operations: ['60-45=15'] Exploring Operation: 84-15=69, Resulting Numbers: [27, 69] Generated Node #0,1,0: 70:[27, 69] Operation: 84-15=69 Exploring Operation: 84-27=57, Resulting Numbers: [15, 57] Generated Node #0,1,1: 70:[15, 57] Operation: 84-27=57 Moving to Node #0,1,0 Current State: 70:[27, 69], Operations: ['60-45=15', '84-15=69'] Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,70 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[15, 57], Operations: ['60-45=15', '84-27=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 49, 83, 92, 49 ]
10
[ "49/49=1", "92-83=9", "1+9=10" ]
Current State: 10:[49, 83, 92, 49], Operations: [] Exploring Operation: 49/49=1, Resulting Numbers: [83, 92, 1] Generated Node #2: [83, 92, 1] from Operation: 49/49=1 Current State: 10:[83, 92, 1], Operations: ['49/49=1'] Exploring Operation: 92-83=9, Resulting Numbers: [1, 9] Generated Node #3: [1, 9] from Operation: 92-83=9 Current State: 10:[1, 9], Operations: ['49/49=1', '92-83=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[49, 83, 92, 49], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [49, 83, 43] Generated Node #0,0: 10:[49, 83, 43] Operation: 92-49=43 Exploring Operation: 83-49=34, Resulting Numbers: [49, 92, 34] Generated Node #0,1: 10:[49, 92, 34] Operation: 83-49=34 Exploring Operation: 92-49=43, Resulting Numbers: [83, 49, 43] Generated Node #0,2: 10:[83, 49, 43] Operation: 92-49=43 Exploring Operation: 83-49=34, Resulting Numbers: [92, 49, 34] Generated Node #0,3: 10:[92, 49, 34] Operation: 83-49=34 Exploring Operation: 92-83=9, Resulting Numbers: [49, 49, 9] Generated Node #0,4: 10:[49, 49, 9] Operation: 92-83=9 Moving to Node #0,4 Current State: 10:[49, 49, 9], Operations: ['92-83=9'] Exploring Operation: 49-49=0, Resulting Numbers: [9, 0] Generated Node #0,4,0: 10:[9, 0] Operation: 49-49=0 Exploring Operation: 49+9=58, Resulting Numbers: [49, 58] Generated Node #0,4,1: 10:[49, 58] Operation: 49+9=58 Exploring Operation: 49-9=40, Resulting Numbers: [49, 40] Generated Node #0,4,2: 10:[49, 40] Operation: 49-9=40 Exploring Operation: 49-9=40, Resulting Numbers: [49, 40] Generated Node #0,4,3: 10:[49, 40] Operation: 49-9=40 Exploring Operation: 49/49=1, Resulting Numbers: [9, 1] Generated Node #0,4,4: 10:[9, 1] Operation: 49/49=1 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[9, 1], Operations: ['92-83=9', '49/49=1'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[49, 83, 92, 49], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [49, 49, 9] Generated Node #0,4: 10:[49, 49, 9] Operation: 92-83=9 Moving to Node #0,4 Current State: 10:[49, 49, 9], Operations: ['92-83=9'] Exploring Operation: 49/49=1, Resulting Numbers: [9, 1] Generated Node #0,4,4: 10:[9, 1] Operation: 49/49=1 Moving to Node #0,4,4 Current State: 10:[9, 1], Operations: ['92-83=9', '49/49=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 13, 76, 51, 84 ]
30
[ "76-13=63", "84-51=33", "63-33=30" ]
Current State: 30:[13, 76, 51, 84], Operations: [] Exploring Operation: 76-13=63, Resulting Numbers: [51, 84, 63] Generated Node #2: [51, 84, 63] from Operation: 76-13=63 Current State: 30:[51, 84, 63], Operations: ['76-13=63'] Exploring Operation: 84-51=33, Resulting Numbers: [63, 33] Generated Node #3: [63, 33] from Operation: 84-51=33 Current State: 30:[63, 33], Operations: ['76-13=63', '84-51=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[13, 76, 51, 84], Operations: [] Exploring Operation: 76-13=63, Resulting Numbers: [51, 84, 63] Generated Node #0,0: 30:[51, 84, 63] Operation: 76-13=63 Exploring Operation: 76-51=25, Resulting Numbers: [13, 84, 25] Generated Node #0,1: 30:[13, 84, 25] Operation: 76-51=25 Exploring Operation: 84-51=33, Resulting Numbers: [13, 76, 33] Generated Node #0,2: 30:[13, 76, 33] Operation: 84-51=33 Exploring Operation: 84-76=8, Resulting Numbers: [13, 51, 8] Generated Node #0,3: 30:[13, 51, 8] Operation: 84-76=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[13, 51, 8], Operations: ['84-76=8'] Exploring Operation: 51-13=38, Resulting Numbers: [8, 38] Generated Node #0,3,0: 30:[8, 38] Operation: 51-13=38 Exploring Operation: 51-8=43, Resulting Numbers: [13, 43] Generated Node #0,3,1: 30:[13, 43] Operation: 51-8=43 Exploring Operation: 13-8=5, Resulting Numbers: [51, 5] Generated Node #0,3,2: 30:[51, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [51, 21] Generated Node #0,3,3: 30:[51, 21] Operation: 13+8=21 Moving to Node #0,3,0 Current State: 30:[8, 38], Operations: ['84-76=8', '51-13=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[13, 76, 51, 84], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [13, 51, 8] Generated Node #0,3: 30:[13, 51, 8] Operation: 84-76=8 Moving to Node #0,3 Current State: 30:[13, 51, 8], Operations: ['84-76=8'] Exploring Operation: 51-13=38, Resulting Numbers: [8, 38] Generated Node #0,3,0: 30:[8, 38] Operation: 51-13=38 Moving to Node #0,3,0 Current State: 30:[8, 38], Operations: ['84-76=8', '51-13=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 13, 2, 20, 1 ]
46
[ "13*2=26", "20*1=20", "26+20=46" ]
Current State: 46:[13, 2, 20, 1], Operations: [] Exploring Operation: 13*2=26, Resulting Numbers: [20, 1, 26] Generated Node #2: [20, 1, 26] from Operation: 13*2=26 Current State: 46:[20, 1, 26], Operations: ['13*2=26'] Exploring Operation: 20*1=20, Resulting Numbers: [26, 20] Generated Node #3: [26, 20] from Operation: 20*1=20 Current State: 46:[26, 20], Operations: ['13*2=26', '20*1=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[13, 2, 20, 1], Operations: [] Exploring Operation: 20-13=7, Resulting Numbers: [2, 1, 7] Generated Node #0,0: 46:[2, 1, 7] Operation: 20-13=7 Moving to Node #0,0 Current State: 46:[2, 1, 7], Operations: ['20-13=7'] Exploring Operation: 7-2=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 46:[1, 5] Operation: 7-2=5 Moving to Node #0,0,0 Current State: 46:[1, 5], Operations: ['20-13=7', '7-2=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 7, 26, 35 ]
79
[ "35-26=9", "8*9=72", "7+72=79" ]
Current State: 79:[8, 7, 26, 35], Operations: [] Exploring Operation: 35-26=9, Resulting Numbers: [8, 7, 9] Generated Node #2: [8, 7, 9] from Operation: 35-26=9 Current State: 79:[8, 7, 9], Operations: ['35-26=9'] Exploring Operation: 8*9=72, Resulting Numbers: [7, 72] Generated Node #3: [7, 72] from Operation: 8*9=72 Current State: 79:[7, 72], Operations: ['35-26=9', '8*9=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[8, 7, 26, 35], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [26, 35, 15] Generated Node #0,0: 79:[26, 35, 15] Operation: 8+7=15 Exploring Operation: 7+26=33, Resulting Numbers: [8, 35, 33] Generated Node #0,1: 79:[8, 35, 33] Operation: 7+26=33 Exploring Operation: 8+35=43, Resulting Numbers: [7, 26, 43] Generated Node #0,2: 79:[7, 26, 43] Operation: 8+35=43 Exploring Operation: 8+26=34, Resulting Numbers: [7, 35, 34] Generated Node #0,3: 79:[7, 35, 34] Operation: 8+26=34 Exploring Operation: 8*7=56, Resulting Numbers: [26, 35, 56] Generated Node #0,4: 79:[26, 35, 56] Operation: 8*7=56 Moving to Node #0,4 Current State: 79:[26, 35, 56], Operations: ['8*7=56'] Exploring Operation: 35-26=9, Resulting Numbers: [56, 9] Generated Node #0,4,0: 79:[56, 9] Operation: 35-26=9 Exploring Operation: 26+56=82, Resulting Numbers: [35, 82] Generated Node #0,4,1: 79:[35, 82] Operation: 26+56=82 Exploring Operation: 26+35=61, Resulting Numbers: [56, 61] Generated Node #0,4,2: 79:[56, 61] Operation: 26+35=61 Exploring Operation: 35+56=91, Resulting Numbers: [26, 91] Generated Node #0,4,3: 79:[26, 91] Operation: 35+56=91 Exploring Operation: 56-26=30, Resulting Numbers: [35, 30] Generated Node #0,4,4: 79:[35, 30] Operation: 56-26=30 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[56, 61], Operations: ['8*7=56', '26+35=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,79 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[35, 82], Operations: ['8*7=56', '26+56=82'] Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,79 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[26, 91], Operations: ['8*7=56', '35+56=91'] Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 26+91=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 26*91=2366, Resulting Numbers: [2366] 2366,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[56, 9], Operations: ['8*7=56', '35-26=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[35, 30], Operations: ['8*7=56', '56-26=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,79 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[8, 35, 33], Operations: ['7+26=33'] Exploring Operation: 8+33=41, Resulting Numbers: [35, 41] Generated Node #0,1,0: 79:[35, 41] Operation: 8+33=41 Exploring Operation: 8+35=43, Resulting Numbers: [33, 43] Generated Node #0,1,1: 79:[33, 43] Operation: 8+35=43 Exploring Operation: 33-8=25, Resulting Numbers: [35, 25] Generated Node #0,1,2: 79:[35, 25] Operation: 33-8=25 Exploring Operation: 35-8=27, Resulting Numbers: [33, 27] Generated Node #0,1,3: 79:[33, 27] Operation: 35-8=27 Exploring Operation: 35+33=68, Resulting Numbers: [8, 68] Generated Node #0,1,4: 79:[8, 68] Operation: 35+33=68 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[35, 41], Operations: ['7+26=33', '8+33=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,79 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[33, 43], Operations: ['7+26=33', '8+35=43'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,79 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 79:[8, 68], Operations: ['7+26=33', '35+33=68'] Exploring Operation: 8*68=544, Resulting Numbers: [544] 544,79 unequal: No Solution Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[35, 25], Operations: ['7+26=33', '33-8=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,79 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 79:[33, 27], Operations: ['7+26=33', '35-8=27'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[7, 35, 34], Operations: ['8+26=34'] Exploring Operation: 35-7=28, Resulting Numbers: [34, 28] Generated Node #0,3,0: 79:[34, 28] Operation: 35-7=28 Exploring Operation: 34-7=27, Resulting Numbers: [35, 27] Generated Node #0,3,1: 79:[35, 27] Operation: 34-7=27 Exploring Operation: 7+35=42, Resulting Numbers: [34, 42] Generated Node #0,3,2: 79:[34, 42] Operation: 7+35=42 Exploring Operation: 7+34=41, Resulting Numbers: [35, 41] Generated Node #0,3,3: 79:[35, 41] Operation: 7+34=41 Exploring Operation: 35+34=69, Resulting Numbers: [7, 69] Generated Node #0,3,4: 79:[7, 69] Operation: 35+34=69 Moving to Node #0,0 Current State: 79:[26, 35, 15], Operations: ['8+7=15'] Exploring Operation: 35-15=20, Resulting Numbers: [26, 20] Generated Node #0,0,0: 79:[26, 20] Operation: 35-15=20 Exploring Operation: 26-15=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 79:[35, 11] Operation: 26-15=11 Exploring Operation: 26+15=41, Resulting Numbers: [35, 41] Generated Node #0,0,2: 79:[35, 41] Operation: 26+15=41 Exploring Operation: 35+15=50, Resulting Numbers: [26, 50] Generated Node #0,0,3: 79:[26, 50] Operation: 35+15=50 Exploring Operation: 26+35=61, Resulting Numbers: [15, 61] Generated Node #0,0,4: 79:[15, 61] Operation: 26+35=61 Moving to Node #0,2 Current State: 79:[7, 26, 43], Operations: ['8+35=43'] Exploring Operation: 43-7=36, Resulting Numbers: [26, 36] Generated Node #0,2,0: 79:[26, 36] Operation: 43-7=36 Exploring Operation: 7+43=50, Resulting Numbers: [26, 50] Generated Node #0,2,1: 79:[26, 50] Operation: 7+43=50 Exploring Operation: 26-7=19, Resulting Numbers: [43, 19] Generated Node #0,2,2: 79:[43, 19] Operation: 26-7=19 Exploring Operation: 26+43=69, Resulting Numbers: [7, 69] Generated Node #0,2,3: 79:[7, 69] Operation: 26+43=69 Exploring Operation: 7+26=33, Resulting Numbers: [43, 33] Generated Node #0,2,4: 79:[43, 33] Operation: 7+26=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[26, 50], Operations: ['8+35=43', '7+43=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[7, 69], Operations: ['8+35=43', '26+43=69'] Exploring Operation: 7*69=483, Resulting Numbers: [483] 483,79 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[43, 33], Operations: ['8+35=43', '7+26=33'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,79 unequal: No Solution Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[26, 36], Operations: ['8+35=43', '43-7=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,79 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[43, 19], Operations: ['8+35=43', '26-7=19'] Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,79 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 79:[34, 42], Operations: ['8+26=34', '7+35=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,79 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[7, 69], Operations: ['8+26=34', '35+34=69'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 7*69=483, Resulting Numbers: [483] 483,79 unequal: No Solution Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[26, 50], Operations: ['8+7=15', '35+15=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[35, 41], Operations: ['8+7=15', '26+15=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,79 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[35, 41], Operations: ['8+26=34', '7+34=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,79 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[15, 61], Operations: ['8+7=15', '26+35=61'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,79 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[34, 28], Operations: ['8+26=34', '35-7=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[35, 27], Operations: ['8+26=34', '34-7=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[35, 11], Operations: ['8+7=15', '26-15=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,79 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[26, 20], Operations: ['8+7=15', '35-15=20'] Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,79 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,79 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 81, 63, 9, 6 ]
61
[ "81*6=486", "63+486=549", "549/9=61" ]
Current State: 61:[81, 63, 9, 6], Operations: [] Exploring Operation: 81*6=486, Resulting Numbers: [63, 9, 486] Generated Node #2: [63, 9, 486] from Operation: 81*6=486 Current State: 61:[63, 9, 486], Operations: ['81*6=486'] Exploring Operation: 63+486=549, Resulting Numbers: [9, 549] Generated Node #3: [9, 549] from Operation: 63+486=549 Current State: 61:[9, 549], Operations: ['81*6=486', '63+486=549'] Exploring Operation: 549/9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[81, 63, 9, 6], Operations: [] Exploring Operation: 9*6=54, Resulting Numbers: [81, 63, 54] Generated Node #0,0: 61:[81, 63, 54] Operation: 9*6=54 Exploring Operation: 81-9=72, Resulting Numbers: [63, 6, 72] Generated Node #0,1: 61:[63, 6, 72] Operation: 81-9=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[81, 63, 54], Operations: ['9*6=54'] Exploring Operation: 81-63=18, Resulting Numbers: [54, 18] Generated Node #0,0,0: 61:[54, 18] Operation: 81-63=18 Exploring Operation: 81-54=27, Resulting Numbers: [63, 27] Generated Node #0,0,1: 61:[63, 27] Operation: 81-54=27 Moving to Node #0,0,1 Current State: 61:[63, 27], Operations: ['9*6=54', '81-54=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[54, 18], Operations: ['9*6=54', '81-63=18'] Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[63, 6, 72], Operations: ['81-9=72'] Exploring Operation: 63-6=57, Resulting Numbers: [72, 57] Generated Node #0,1,0: 61:[72, 57] Operation: 63-6=57 Exploring Operation: 72-6=66, Resulting Numbers: [63, 66] Generated Node #0,1,1: 61:[63, 66] Operation: 72-6=66 Moving to Node #0,1,1 Current State: 61:[63, 66], Operations: ['81-9=72', '72-6=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[72, 57], Operations: ['81-9=72', '63-6=57'] Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 8, 18, 33 ]
98
[ "43-33=10", "8*10=80", "18+80=98" ]
Current State: 98:[43, 8, 18, 33], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [8, 18, 10] Generated Node #2: [8, 18, 10] from Operation: 43-33=10 Current State: 98:[8, 18, 10], Operations: ['43-33=10'] Exploring Operation: 8*10=80, Resulting Numbers: [18, 80] Generated Node #3: [18, 80] from Operation: 8*10=80 Current State: 98:[18, 80], Operations: ['43-33=10', '8*10=80'] Exploring Operation: 18+80=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[43, 8, 18, 33], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [8, 18, 10] Generated Node #0,0: 98:[8, 18, 10] Operation: 43-33=10 Exploring Operation: 33-18=15, Resulting Numbers: [43, 8, 15] Generated Node #0,1: 98:[43, 8, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[8, 18, 10], Operations: ['43-33=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8, 8] Generated Node #0,0,0: 98:[8, 8] Operation: 18-10=8 Exploring Operation: 10-8=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 98:[18, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 98:[8, 8], Operations: ['43-33=10', '18-10=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[18, 2], Operations: ['43-33=10', '10-8=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[43, 8, 15], Operations: ['33-18=15'] Exploring Operation: 43+8=51, Resulting Numbers: [15, 51] Generated Node #0,1,0: 98:[15, 51] Operation: 43+8=51 Exploring Operation: 15-8=7, Resulting Numbers: [43, 7] Generated Node #0,1,1: 98:[43, 7] Operation: 15-8=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[15, 51], Operations: ['33-18=15', '43+8=51'] Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[43, 7], Operations: ['33-18=15', '15-8=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 24, 18, 16 ]
15
[ "18-16=2", "24*2=48", "63-48=15" ]
Current State: 15:[63, 24, 18, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [63, 24, 2] Generated Node #2: [63, 24, 2] from Operation: 18-16=2 Current State: 15:[63, 24, 2], Operations: ['18-16=2'] Exploring Operation: 24*2=48, Resulting Numbers: [63, 48] Generated Node #3: [63, 48] from Operation: 24*2=48 Current State: 15:[63, 48], Operations: ['18-16=2', '24*2=48'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[63, 24, 18, 16], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [63, 16, 6] Generated Node #0,0: 15:[63, 16, 6] Operation: 24-18=6 Exploring Operation: 63-24=39, Resulting Numbers: [18, 16, 39] Generated Node #0,1: 15:[18, 16, 39] Operation: 63-24=39 Exploring Operation: 63-18=45, Resulting Numbers: [24, 16, 45] Generated Node #0,2: 15:[24, 16, 45] Operation: 63-18=45 Exploring Operation: 63-16=47, Resulting Numbers: [24, 18, 47] Generated Node #0,3: 15:[24, 18, 47] Operation: 63-16=47 Exploring Operation: 24-16=8, Resulting Numbers: [63, 18, 8] Generated Node #0,4: 15:[63, 18, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[18, 16, 39], Operations: ['63-24=39'] Exploring Operation: 39-18=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 15:[16, 21] Operation: 39-18=21 Exploring Operation: 18-16=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 15:[39, 2] Operation: 18-16=2 Exploring Operation: 39-16=23, Resulting Numbers: [18, 23] Generated Node #0,1,2: 15:[18, 23] Operation: 39-16=23 Exploring Operation: 18+16=34, Resulting Numbers: [39, 34] Generated Node #0,1,3: 15:[39, 34] Operation: 18+16=34 Exploring Operation: 18+39=57, Resulting Numbers: [16, 57] Generated Node #0,1,4: 15:[16, 57] Operation: 18+39=57 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[16, 21], Operations: ['63-24=39', '39-18=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,15 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[18, 23], Operations: ['63-24=39', '39-16=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,15 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[39, 2], Operations: ['63-24=39', '18-16=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,15 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[39, 34], Operations: ['63-24=39', '18+16=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,15 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[16, 57], Operations: ['63-24=39', '18+39=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,15 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[24, 16, 45], Operations: ['63-18=45'] Exploring Operation: 24+16=40, Resulting Numbers: [45, 40] Generated Node #0,2,0: 15:[45, 40] Operation: 24+16=40 Exploring Operation: 45-16=29, Resulting Numbers: [24, 29] Generated Node #0,2,1: 15:[24, 29] Operation: 45-16=29 Exploring Operation: 24+45=69, Resulting Numbers: [16, 69] Generated Node #0,2,2: 15:[16, 69] Operation: 24+45=69 Exploring Operation: 45-24=21, Resulting Numbers: [16, 21] Generated Node #0,2,3: 15:[16, 21] Operation: 45-24=21 Exploring Operation: 24-16=8, Resulting Numbers: [45, 8] Generated Node #0,2,4: 15:[45, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[16, 21], Operations: ['63-18=45', '45-24=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,15 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[24, 29], Operations: ['63-18=45', '45-16=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,15 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[45, 8], Operations: ['63-18=45', '24-16=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[45, 40], Operations: ['63-18=45', '24+16=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[16, 69], Operations: ['63-18=45', '24+45=69'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[24, 18, 47], Operations: ['63-16=47'] Exploring Operation: 24+18=42, Resulting Numbers: [47, 42] Generated Node #0,3,0: 15:[47, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [47, 6] Generated Node #0,3,1: 15:[47, 6] Operation: 24-18=6 Exploring Operation: 47-24=23, Resulting Numbers: [18, 23] Generated Node #0,3,2: 15:[18, 23] Operation: 47-24=23 Exploring Operation: 47-18=29, Resulting Numbers: [24, 29] Generated Node #0,3,3: 15:[24, 29] Operation: 47-18=29 Exploring Operation: 24+47=71, Resulting Numbers: [18, 71] Generated Node #0,3,4: 15:[18, 71] Operation: 24+47=71 Moving to Node #0,3,2 Current State: 15:[18, 23], Operations: ['63-16=47', '47-24=23'] Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,15 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[24, 29], Operations: ['63-16=47', '47-18=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,15 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[47, 6], Operations: ['63-16=47', '24-18=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,15 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[47, 42], Operations: ['63-16=47', '24+18=42'] Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,15 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[18, 71], Operations: ['63-16=47', '24+47=71'] Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,15 unequal: No Solution Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[63, 16, 6], Operations: ['24-18=6'] Exploring Operation: 63-16=47, Resulting Numbers: [6, 47] Generated Node #0,0,0: 15:[6, 47] Operation: 63-16=47 Exploring Operation: 16+6=22, Resulting Numbers: [63, 22] Generated Node #0,0,1: 15:[63, 22] Operation: 16+6=22 Exploring Operation: 63-6=57, Resulting Numbers: [16, 57] Generated Node #0,0,2: 15:[16, 57] Operation: 63-6=57 Exploring Operation: 63+6=69, Resulting Numbers: [16, 69] Generated Node #0,0,3: 15:[16, 69] Operation: 63+6=69 Exploring Operation: 16-6=10, Resulting Numbers: [63, 10] Generated Node #0,0,4: 15:[63, 10] Operation: 16-6=10 Moving to Node #0,0,0 Current State: 15:[6, 47], Operations: ['24-18=6', '63-16=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[16, 57], Operations: ['24-18=6', '63-6=57'] Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,15 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,15 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[63, 10], Operations: ['24-18=6', '16-6=10'] Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,15 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[63, 22], Operations: ['24-18=6', '16+6=22'] Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,15 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[16, 69], Operations: ['24-18=6', '63+6=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,15 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[63, 18, 8], Operations: ['24-16=8'] Exploring Operation: 18-8=10, Resulting Numbers: [63, 10] Generated Node #0,4,0: 15:[63, 10] Operation: 18-8=10 Exploring Operation: 18+8=26, Resulting Numbers: [63, 26] Generated Node #0,4,1: 15:[63, 26] Operation: 18+8=26 Exploring Operation: 63-8=55, Resulting Numbers: [18, 55] Generated Node #0,4,2: 15:[18, 55] Operation: 63-8=55 Exploring Operation: 63-18=45, Resulting Numbers: [8, 45] Generated Node #0,4,3: 15:[8, 45] Operation: 63-18=45 Exploring Operation: 63+8=71, Resulting Numbers: [18, 71] Generated Node #0,4,4: 15:[18, 71] Operation: 63+8=71 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[8, 45], Operations: ['24-16=8', '63-18=45'] Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[18, 55], Operations: ['24-16=8', '63-8=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,15 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[63, 10], Operations: ['24-16=8', '18-8=10'] Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,15 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[63, 26], Operations: ['24-16=8', '18+8=26'] Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,15 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[18, 71], Operations: ['24-16=8', '63+8=71'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 11, 30, 1, 65 ]
68
[ "11-1=10", "30/10=3", "65+3=68" ]
Current State: 68:[11, 30, 1, 65], Operations: [] Exploring Operation: 11-1=10, Resulting Numbers: [30, 65, 10] Generated Node #2: [30, 65, 10] from Operation: 11-1=10 Current State: 68:[30, 65, 10], Operations: ['11-1=10'] Exploring Operation: 30/10=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 30/10=3 Current State: 68:[65, 3], Operations: ['11-1=10', '30/10=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[11, 30, 1, 65], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [11, 1, 35] Generated Node #0,0: 68:[11, 1, 35] Operation: 65-30=35 Exploring Operation: 11+30=41, Resulting Numbers: [1, 65, 41] Generated Node #0,1: 68:[1, 65, 41] Operation: 11+30=41 Exploring Operation: 30-11=19, Resulting Numbers: [1, 65, 19] Generated Node #0,2: 68:[1, 65, 19] Operation: 30-11=19 Exploring Operation: 11+1=12, Resulting Numbers: [30, 65, 12] Generated Node #0,3: 68:[30, 65, 12] Operation: 11+1=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[1, 65, 19], Operations: ['30-11=19'] Exploring Operation: 1*65=65, Resulting Numbers: [19, 65] Generated Node #0,2,0: 68:[19, 65] Operation: 1*65=65 Exploring Operation: 19-1=18, Resulting Numbers: [65, 18] Generated Node #0,2,1: 68:[65, 18] Operation: 19-1=18 Exploring Operation: 65/1=65, Resulting Numbers: [19, 65] Generated Node #0,2,2: 68:[19, 65] Operation: 65/1=65 Exploring Operation: 1+65=66, Resulting Numbers: [19, 66] Generated Node #0,2,3: 68:[19, 66] Operation: 1+65=66 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[65, 18], Operations: ['30-11=19', '19-1=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,68 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 68:[19, 66], Operations: ['30-11=19', '1+65=66'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,68 unequal: No Solution Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[19, 65], Operations: ['30-11=19', '1*65=65'] Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,68 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[19, 65], Operations: ['30-11=19', '65/1=65'] Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,68 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[11, 1, 35], Operations: ['65-30=35'] Exploring Operation: 11+1=12, Resulting Numbers: [35, 12] Generated Node #0,0,0: 68:[35, 12] Operation: 11+1=12 Exploring Operation: 11-1=10, Resulting Numbers: [35, 10] Generated Node #0,0,1: 68:[35, 10] Operation: 11-1=10 Exploring Operation: 35-1=34, Resulting Numbers: [11, 34] Generated Node #0,0,2: 68:[11, 34] Operation: 35-1=34 Exploring Operation: 11*1=11, Resulting Numbers: [35, 11] Generated Node #0,0,3: 68:[35, 11] Operation: 11*1=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[35, 12], Operations: ['65-30=35', '11+1=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,68 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[11, 34], Operations: ['65-30=35', '35-1=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,68 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[35, 10], Operations: ['65-30=35', '11-1=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,68 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 68:[35, 11], Operations: ['65-30=35', '11*1=11'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,68 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[1, 65, 41], Operations: ['11+30=41'] Exploring Operation: 1+65=66, Resulting Numbers: [41, 66] Generated Node #0,1,0: 68:[41, 66] Operation: 1+65=66 Exploring Operation: 65-41=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 68:[1, 24] Operation: 65-41=24 Exploring Operation: 41-1=40, Resulting Numbers: [65, 40] Generated Node #0,1,2: 68:[65, 40] Operation: 41-1=40 Exploring Operation: 1*65=65, Resulting Numbers: [41, 65] Generated Node #0,1,3: 68:[41, 65] Operation: 1*65=65 Moving to Node #0,1,1 Current State: 68:[1, 24], Operations: ['11+30=41', '65-41=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[65, 40], Operations: ['11+30=41', '41-1=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,68 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[41, 66], Operations: ['11+30=41', '1+65=66'] Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,68 unequal: No Solution Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[41, 65], Operations: ['11+30=41', '1*65=65'] Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,68 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[30, 65, 12], Operations: ['11+1=12'] Exploring Operation: 30+12=42, Resulting Numbers: [65, 42] Generated Node #0,3,0: 68:[65, 42] Operation: 30+12=42 Exploring Operation: 65-30=35, Resulting Numbers: [12, 35] Generated Node #0,3,1: 68:[12, 35] Operation: 65-30=35 Exploring Operation: 65+12=77, Resulting Numbers: [30, 77] Generated Node #0,3,2: 68:[30, 77] Operation: 65+12=77 Exploring Operation: 30-12=18, Resulting Numbers: [65, 18] Generated Node #0,3,3: 68:[65, 18] Operation: 30-12=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[65, 18], Operations: ['11+1=12', '30-12=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[12, 35], Operations: ['11+1=12', '65-30=35'] Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,68 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[65, 42], Operations: ['11+1=12', '30+12=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,68 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[30, 77], Operations: ['11+1=12', '65+12=77'] Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,68 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 43, 9, 72 ]
97
[ "62+43=105", "72/9=8", "105-8=97" ]
Current State: 97:[62, 43, 9, 72], Operations: [] Exploring Operation: 62+43=105, Resulting Numbers: [9, 72, 105] Generated Node #2: [9, 72, 105] from Operation: 62+43=105 Current State: 97:[9, 72, 105], Operations: ['62+43=105'] Exploring Operation: 72/9=8, Resulting Numbers: [105, 8] Generated Node #3: [105, 8] from Operation: 72/9=8 Current State: 97:[105, 8], Operations: ['62+43=105', '72/9=8'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[62, 43, 9, 72], Operations: [] Exploring Operation: 43+9=52, Resulting Numbers: [62, 72, 52] Generated Node #0,0: 97:[62, 72, 52] Operation: 43+9=52 Exploring Operation: 62+9=71, Resulting Numbers: [43, 72, 71] Generated Node #0,1: 97:[43, 72, 71] Operation: 62+9=71 Exploring Operation: 62+43=105, Resulting Numbers: [9, 72, 105] Generated Node #0,2: 97:[9, 72, 105] Operation: 62+43=105 Exploring Operation: 62-9=53, Resulting Numbers: [43, 72, 53] Generated Node #0,3: 97:[43, 72, 53] Operation: 62-9=53 Exploring Operation: 9+72=81, Resulting Numbers: [62, 43, 81] Generated Node #0,4: 97:[62, 43, 81] Operation: 9+72=81 Moving to Node #0,0 Current State: 97:[62, 72, 52], Operations: ['43+9=52'] Exploring Operation: 62-52=10, Resulting Numbers: [72, 10] Generated Node #0,0,0: 97:[72, 10] Operation: 62-52=10 Exploring Operation: 72-52=20, Resulting Numbers: [62, 20] Generated Node #0,0,1: 97:[62, 20] Operation: 72-52=20 Exploring Operation: 62+72=134, Resulting Numbers: [52, 134] Generated Node #0,0,2: 97:[52, 134] Operation: 62+72=134 Exploring Operation: 62+52=114, Resulting Numbers: [72, 114] Generated Node #0,0,3: 97:[72, 114] Operation: 62+52=114 Exploring Operation: 72+52=124, Resulting Numbers: [62, 124] Generated Node #0,0,4: 97:[62, 124] Operation: 72+52=124 Moving to Node #0,4 Current State: 97:[62, 43, 81], Operations: ['9+72=81'] Exploring Operation: 81-43=38, Resulting Numbers: [62, 38] Generated Node #0,4,0: 97:[62, 38] Operation: 81-43=38 Exploring Operation: 62+81=143, Resulting Numbers: [43, 143] Generated Node #0,4,1: 97:[43, 143] Operation: 62+81=143 Exploring Operation: 43+81=124, Resulting Numbers: [62, 124] Generated Node #0,4,2: 97:[62, 124] Operation: 43+81=124 Exploring Operation: 62+43=105, Resulting Numbers: [81, 105] Generated Node #0,4,3: 97:[81, 105] Operation: 62+43=105 Exploring Operation: 62-43=19, Resulting Numbers: [81, 19] Generated Node #0,4,4: 97:[81, 19] Operation: 62-43=19 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[81, 105], Operations: ['9+72=81', '62+43=105'] Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 81+105=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 81*105=8505, Resulting Numbers: [8505] 8505,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[62, 124], Operations: ['9+72=81', '43+81=124'] Exploring Operation: 62+124=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 124-62=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 62*124=7688, Resulting Numbers: [7688] 7688,97 unequal: No Solution Exploring Operation: 124/62=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 97:[62, 38], Operations: ['9+72=81', '81-43=38'] Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,97 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[81, 19], Operations: ['9+72=81', '62-43=19'] Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,97 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[43, 143], Operations: ['9+72=81', '62+81=143'] Exploring Operation: 43+143=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 43*143=6149, Resulting Numbers: [6149] 6149,97 unequal: No Solution Exploring Operation: 143-43=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[43, 72, 71], Operations: ['62+9=71'] Exploring Operation: 71-43=28, Resulting Numbers: [72, 28] Generated Node #0,1,0: 97:[72, 28] Operation: 71-43=28 Exploring Operation: 72-43=29, Resulting Numbers: [71, 29] Generated Node #0,1,1: 97:[71, 29] Operation: 72-43=29 Exploring Operation: 72+71=143, Resulting Numbers: [43, 143] Generated Node #0,1,2: 97:[43, 143] Operation: 72+71=143 Exploring Operation: 43+71=114, Resulting Numbers: [72, 114] Generated Node #0,1,3: 97:[72, 114] Operation: 43+71=114 Exploring Operation: 43+72=115, Resulting Numbers: [71, 115] Generated Node #0,1,4: 97:[71, 115] Operation: 43+72=115 Moving to Node #0,2 Current State: 97:[9, 72, 105], Operations: ['62+43=105'] Exploring Operation: 72/9=8, Resulting Numbers: [105, 8] Generated Node #0,2,0: 97:[105, 8] Operation: 72/9=8 Exploring Operation: 9+72=81, Resulting Numbers: [105, 81] Generated Node #0,2,1: 97:[105, 81] Operation: 9+72=81 Exploring Operation: 72-9=63, Resulting Numbers: [105, 63] Generated Node #0,2,2: 97:[105, 63] Operation: 72-9=63 Exploring Operation: 105-9=96, Resulting Numbers: [72, 96] Generated Node #0,2,3: 97:[72, 96] Operation: 105-9=96 Exploring Operation: 9+105=114, Resulting Numbers: [72, 114] Generated Node #0,2,4: 97:[72, 114] Operation: 9+105=114 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[105, 81], Operations: ['62+43=105', '9+72=81'] Exploring Operation: 105*81=8505, Resulting Numbers: [8505] 8505,97 unequal: No Solution Exploring Operation: 105+81=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[72, 96], Operations: ['62+43=105', '105-9=96'] Exploring Operation: 72*96=6912, Resulting Numbers: [6912] 6912,97 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 72+96=168, Resulting Numbers: [168] 168,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[105, 63], Operations: ['62+43=105', '72-9=63'] Exploring Operation: 105*63=6615, Resulting Numbers: [6615] 6615,97 unequal: No Solution Exploring Operation: 105+63=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 105-63=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[72, 114], Operations: ['62+43=105', '9+105=114'] Exploring Operation: 72*114=8208, Resulting Numbers: [8208] 8208,97 unequal: No Solution Exploring Operation: 114-72=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 72+114=186, Resulting Numbers: [186] 186,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[105, 8], Operations: ['62+43=105', '72/9=8'] Exploring Operation: 105+8=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[62, 43, 9, 72], Operations: [] Exploring Operation: 62+43=105, Resulting Numbers: [9, 72, 105] Generated Node #0,2: 97:[9, 72, 105] Operation: 62+43=105 Moving to Node #0,2 Current State: 97:[9, 72, 105], Operations: ['62+43=105'] Exploring Operation: 72/9=8, Resulting Numbers: [105, 8] Generated Node #0,2,0: 97:[105, 8] Operation: 72/9=8 Moving to Node #0,2,0 Current State: 97:[105, 8], Operations: ['62+43=105', '72/9=8'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 58, 25, 89, 32 ]
24
[ "58-25=33", "89-32=57", "57-33=24" ]
Current State: 24:[58, 25, 89, 32], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [89, 32, 33] Generated Node #2: [89, 32, 33] from Operation: 58-25=33 Current State: 24:[89, 32, 33], Operations: ['58-25=33'] Exploring Operation: 89-32=57, Resulting Numbers: [33, 57] Generated Node #3: [33, 57] from Operation: 89-32=57 Current State: 24:[33, 57], Operations: ['58-25=33', '89-32=57'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[58, 25, 89, 32], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [89, 32, 33] Generated Node #0,0: 24:[89, 32, 33] Operation: 58-25=33 Exploring Operation: 58-32=26, Resulting Numbers: [25, 89, 26] Generated Node #0,1: 24:[25, 89, 26] Operation: 58-32=26 Exploring Operation: 89-32=57, Resulting Numbers: [58, 25, 57] Generated Node #0,2: 24:[58, 25, 57] Operation: 89-32=57 Exploring Operation: 89-58=31, Resulting Numbers: [25, 32, 31] Generated Node #0,3: 24:[25, 32, 31] Operation: 89-58=31 Moving to Node #0,3 Current State: 24:[25, 32, 31], Operations: ['89-58=31'] Exploring Operation: 25+32=57, Resulting Numbers: [31, 57] Generated Node #0,3,0: 24:[31, 57] Operation: 25+32=57 Exploring Operation: 31-25=6, Resulting Numbers: [32, 6] Generated Node #0,3,1: 24:[32, 6] Operation: 31-25=6 Exploring Operation: 32-31=1, Resulting Numbers: [25, 1] Generated Node #0,3,2: 24:[25, 1] Operation: 32-31=1 Exploring Operation: 32-25=7, Resulting Numbers: [31, 7] Generated Node #0,3,3: 24:[31, 7] Operation: 32-25=7 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[25, 1], Operations: ['89-58=31', '32-31=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[58, 25, 89, 32], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [25, 32, 31] Generated Node #0,3: 24:[25, 32, 31] Operation: 89-58=31 Moving to Node #0,3 Current State: 24:[25, 32, 31], Operations: ['89-58=31'] Exploring Operation: 32-31=1, Resulting Numbers: [25, 1] Generated Node #0,3,2: 24:[25, 1] Operation: 32-31=1 Moving to Node #0,3,2 Current State: 24:[25, 1], Operations: ['89-58=31', '32-31=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 72, 46, 75, 80 ]
58
[ "75-72=3", "46*3=138", "138-80=58" ]
Current State: 58:[72, 46, 75, 80], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [46, 80, 3] Generated Node #2: [46, 80, 3] from Operation: 75-72=3 Current State: 58:[46, 80, 3], Operations: ['75-72=3'] Exploring Operation: 46*3=138, Resulting Numbers: [80, 138] Generated Node #3: [80, 138] from Operation: 46*3=138 Current State: 58:[80, 138], Operations: ['75-72=3', '46*3=138'] Exploring Operation: 138-80=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[72, 46, 75, 80], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [72, 46, 5] Generated Node #0,0: 58:[72, 46, 5] Operation: 80-75=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[72, 46, 5], Operations: ['80-75=5'] Exploring Operation: 72-46=26, Resulting Numbers: [5, 26] Generated Node #0,0,0: 58:[5, 26] Operation: 72-46=26 Moving to Node #0,0,0 Current State: 58:[5, 26], Operations: ['80-75=5', '72-46=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 38, 56, 7 ]
77
[ "66-38=28", "56-7=49", "28+49=77" ]
Current State: 77:[66, 38, 56, 7], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [56, 7, 28] Generated Node #2: [56, 7, 28] from Operation: 66-38=28 Current State: 77:[56, 7, 28], Operations: ['66-38=28'] Exploring Operation: 56-7=49, Resulting Numbers: [28, 49] Generated Node #3: [28, 49] from Operation: 56-7=49 Current State: 77:[28, 49], Operations: ['66-38=28', '56-7=49'] Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[66, 38, 56, 7], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [56, 7, 28] Generated Node #0,0: 77:[56, 7, 28] Operation: 66-38=28 Exploring Operation: 66-56=10, Resulting Numbers: [38, 7, 10] Generated Node #0,1: 77:[38, 7, 10] Operation: 66-56=10 Exploring Operation: 38+56=94, Resulting Numbers: [66, 7, 94] Generated Node #0,2: 77:[66, 7, 94] Operation: 38+56=94 Exploring Operation: 56-38=18, Resulting Numbers: [66, 7, 18] Generated Node #0,3: 77:[66, 7, 18] Operation: 56-38=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[66, 7, 18], Operations: ['56-38=18'] Exploring Operation: 18-7=11, Resulting Numbers: [66, 11] Generated Node #0,3,0: 77:[66, 11] Operation: 18-7=11 Exploring Operation: 66-7=59, Resulting Numbers: [18, 59] Generated Node #0,3,1: 77:[18, 59] Operation: 66-7=59 Exploring Operation: 66+18=84, Resulting Numbers: [7, 84] Generated Node #0,3,2: 77:[7, 84] Operation: 66+18=84 Exploring Operation: 66+7=73, Resulting Numbers: [18, 73] Generated Node #0,3,3: 77:[18, 73] Operation: 66+7=73 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 77:[7, 84], Operations: ['56-38=18', '66+18=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[66, 38, 56, 7], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [66, 7, 18] Generated Node #0,3: 77:[66, 7, 18] Operation: 56-38=18 Moving to Node #0,3 Current State: 77:[66, 7, 18], Operations: ['56-38=18'] Exploring Operation: 66+18=84, Resulting Numbers: [7, 84] Generated Node #0,3,2: 77:[7, 84] Operation: 66+18=84 Moving to Node #0,3,2 Current State: 77:[7, 84], Operations: ['56-38=18', '66+18=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 55, 77, 27, 99 ]
76
[ "77*27=2079", "2079/99=21", "55+21=76" ]
Current State: 76:[55, 77, 27, 99], Operations: [] Exploring Operation: 77*27=2079, Resulting Numbers: [55, 99, 2079] Generated Node #2: [55, 99, 2079] from Operation: 77*27=2079 Current State: 76:[55, 99, 2079], Operations: ['77*27=2079'] Exploring Operation: 2079/99=21, Resulting Numbers: [55, 21] Generated Node #3: [55, 21] from Operation: 2079/99=21 Current State: 76:[55, 21], Operations: ['77*27=2079', '2079/99=21'] Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[55, 77, 27, 99], Operations: [] Exploring Operation: 99-27=72, Resulting Numbers: [55, 77, 72] Generated Node #0,0: 76:[55, 77, 72] Operation: 99-27=72 Exploring Operation: 99-77=22, Resulting Numbers: [55, 27, 22] Generated Node #0,1: 76:[55, 27, 22] Operation: 99-77=22 Exploring Operation: 99-55=44, Resulting Numbers: [77, 27, 44] Generated Node #0,2: 76:[77, 27, 44] Operation: 99-55=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[77, 27, 44], Operations: ['99-55=44'] Exploring Operation: 77-44=33, Resulting Numbers: [27, 33] Generated Node #0,2,0: 76:[27, 33] Operation: 77-44=33 Exploring Operation: 27+44=71, Resulting Numbers: [77, 71] Generated Node #0,2,1: 76:[77, 71] Operation: 27+44=71 Exploring Operation: 44-27=17, Resulting Numbers: [77, 17] Generated Node #0,2,2: 76:[77, 17] Operation: 44-27=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[77, 17], Operations: ['99-55=44', '44-27=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,76 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[77, 71], Operations: ['99-55=44', '27+44=71'] Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 77*71=5467, Resulting Numbers: [5467] 5467,76 unequal: No Solution Exploring Operation: 77+71=148, Resulting Numbers: [148] 148,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[27, 33], Operations: ['99-55=44', '77-44=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,76 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[55, 77, 72], Operations: ['99-27=72'] Exploring Operation: 77-55=22, Resulting Numbers: [72, 22] Generated Node #0,0,0: 76:[72, 22] Operation: 77-55=22 Exploring Operation: 72-55=17, Resulting Numbers: [77, 17] Generated Node #0,0,1: 76:[77, 17] Operation: 72-55=17 Exploring Operation: 77-72=5, Resulting Numbers: [55, 5] Generated Node #0,0,2: 76:[55, 5] Operation: 77-72=5 Moving to Node #0,0,1 Current State: 76:[77, 17], Operations: ['99-27=72', '72-55=17'] Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[72, 22], Operations: ['99-27=72', '77-55=22'] Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,76 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[55, 5], Operations: ['99-27=72', '77-72=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[55, 27, 22], Operations: ['99-77=22'] Exploring Operation: 55+27=82, Resulting Numbers: [22, 82] Generated Node #0,1,0: 76:[22, 82] Operation: 55+27=82 Exploring Operation: 55+22=77, Resulting Numbers: [27, 77] Generated Node #0,1,1: 76:[27, 77] Operation: 55+22=77 Exploring Operation: 55-27=28, Resulting Numbers: [22, 28] Generated Node #0,1,2: 76:[22, 28] Operation: 55-27=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[22, 82], Operations: ['99-77=22', '55+27=82'] Exploring Operation: 22*82=1804, Resulting Numbers: [1804] 1804,76 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[27, 77], Operations: ['99-77=22', '55+22=77'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 27*77=2079, Resulting Numbers: [2079] 2079,76 unequal: No Solution Exploring Operation: 27+77=104, Resulting Numbers: [104] 104,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[22, 28], Operations: ['99-77=22', '55-27=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,76 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 1, 19, 36, 92 ]
38
[ "19-1=18", "92-36=56", "56-18=38" ]
Current State: 38:[1, 19, 36, 92], Operations: [] Exploring Operation: 19-1=18, Resulting Numbers: [36, 92, 18] Generated Node #2: [36, 92, 18] from Operation: 19-1=18 Current State: 38:[36, 92, 18], Operations: ['19-1=18'] Exploring Operation: 92-36=56, Resulting Numbers: [18, 56] Generated Node #3: [18, 56] from Operation: 92-36=56 Current State: 38:[18, 56], Operations: ['19-1=18', '92-36=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[1, 19, 36, 92], Operations: [] Exploring Operation: 1+36=37, Resulting Numbers: [19, 92, 37] Generated Node #0,0: 38:[19, 92, 37] Operation: 1+36=37 Exploring Operation: 92-36=56, Resulting Numbers: [1, 19, 56] Generated Node #0,1: 38:[1, 19, 56] Operation: 92-36=56 Exploring Operation: 92-1=91, Resulting Numbers: [19, 36, 91] Generated Node #0,2: 38:[19, 36, 91] Operation: 92-1=91 Exploring Operation: 92-19=73, Resulting Numbers: [1, 36, 73] Generated Node #0,3: 38:[1, 36, 73] Operation: 92-19=73 Moving to Node #0,1 Current State: 38:[1, 19, 56], Operations: ['92-36=56'] Exploring Operation: 1*19=19, Resulting Numbers: [56, 19] Generated Node #0,1,0: 38:[56, 19] Operation: 1*19=19 Exploring Operation: 56-19=37, Resulting Numbers: [1, 37] Generated Node #0,1,1: 38:[1, 37] Operation: 56-19=37 Exploring Operation: 19/1=19, Resulting Numbers: [56, 19] Generated Node #0,1,2: 38:[56, 19] Operation: 19/1=19 Exploring Operation: 56-1=55, Resulting Numbers: [19, 55] Generated Node #0,1,3: 38:[19, 55] Operation: 56-1=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[1, 37], Operations: ['92-36=56', '56-19=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[1, 19, 36, 92], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [1, 19, 56] Generated Node #0,1: 38:[1, 19, 56] Operation: 92-36=56 Moving to Node #0,1 Current State: 38:[1, 19, 56], Operations: ['92-36=56'] Exploring Operation: 56-19=37, Resulting Numbers: [1, 37] Generated Node #0,1,1: 38:[1, 37] Operation: 56-19=37 Moving to Node #0,1,1 Current State: 38:[1, 37], Operations: ['92-36=56', '56-19=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 5, 45, 3, 76 ]
54
[ "5+76=81", "45*3=135", "135-81=54" ]
Current State: 54:[5, 45, 3, 76], Operations: [] Exploring Operation: 5+76=81, Resulting Numbers: [45, 3, 81] Generated Node #2: [45, 3, 81] from Operation: 5+76=81 Current State: 54:[45, 3, 81], Operations: ['5+76=81'] Exploring Operation: 45*3=135, Resulting Numbers: [81, 135] Generated Node #3: [81, 135] from Operation: 45*3=135 Current State: 54:[81, 135], Operations: ['5+76=81', '45*3=135'] Exploring Operation: 135-81=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[5, 45, 3, 76], Operations: [] Exploring Operation: 76-45=31, Resulting Numbers: [5, 3, 31] Generated Node #0,0: 54:[5, 3, 31] Operation: 76-45=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[5, 3, 31], Operations: ['76-45=31'] Exploring Operation: 31-5=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 54:[3, 26] Operation: 31-5=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[3, 26], Operations: ['76-45=31', '31-5=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 64, 82, 3 ]
12
[ "9+64=73", "82+3=85", "85-73=12" ]
Current State: 12:[9, 64, 82, 3], Operations: [] Exploring Operation: 9+64=73, Resulting Numbers: [82, 3, 73] Generated Node #2: [82, 3, 73] from Operation: 9+64=73 Current State: 12:[82, 3, 73], Operations: ['9+64=73'] Exploring Operation: 82+3=85, Resulting Numbers: [73, 85] Generated Node #3: [73, 85] from Operation: 82+3=85 Current State: 12:[73, 85], Operations: ['9+64=73', '82+3=85'] Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[9, 64, 82, 3], Operations: [] Exploring Operation: 9+3=12, Resulting Numbers: [64, 82, 12] Generated Node #0,0: 12:[64, 82, 12] Operation: 9+3=12 Exploring Operation: 82-9=73, Resulting Numbers: [64, 3, 73] Generated Node #0,1: 12:[64, 3, 73] Operation: 82-9=73 Exploring Operation: 64-9=55, Resulting Numbers: [82, 3, 55] Generated Node #0,2: 12:[82, 3, 55] Operation: 64-9=55 Exploring Operation: 9-3=6, Resulting Numbers: [64, 82, 6] Generated Node #0,3: 12:[64, 82, 6] Operation: 9-3=6 Exploring Operation: 82-64=18, Resulting Numbers: [9, 3, 18] Generated Node #0,4: 12:[9, 3, 18] Operation: 82-64=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[9, 3, 18], Operations: ['82-64=18'] Exploring Operation: 9-3=6, Resulting Numbers: [18, 6] Generated Node #0,4,0: 12:[18, 6] Operation: 9-3=6 Exploring Operation: 9+3=12, Resulting Numbers: [18, 12] Generated Node #0,4,1: 12:[18, 12] Operation: 9+3=12 Exploring Operation: 18/9=2, Resulting Numbers: [3, 2] Generated Node #0,4,2: 12:[3, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [3, 9] Generated Node #0,4,3: 12:[3, 9] Operation: 18-9=9 Exploring Operation: 18/3=6, Resulting Numbers: [9, 6] Generated Node #0,4,4: 12:[9, 6] Operation: 18/3=6 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 12:[3, 2], Operations: ['82-64=18', '18/9=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 12:[3, 9], Operations: ['82-64=18', '18-9=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[9, 64, 82, 3], Operations: [] Exploring Operation: 82-64=18, Resulting Numbers: [9, 3, 18] Generated Node #0,4: 12:[9, 3, 18] Operation: 82-64=18 Moving to Node #0,4 Current State: 12:[9, 3, 18], Operations: ['82-64=18'] Exploring Operation: 18-9=9, Resulting Numbers: [3, 9] Generated Node #0,4,3: 12:[3, 9] Operation: 18-9=9 Moving to Node #0,4,3 Current State: 12:[3, 9], Operations: ['82-64=18', '18-9=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 65, 73, 66, 3 ]
70
[ "66-65=1", "73-3=70", "1*70=70" ]
Current State: 70:[65, 73, 66, 3], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [73, 3, 1] Generated Node #2: [73, 3, 1] from Operation: 66-65=1 Current State: 70:[73, 3, 1], Operations: ['66-65=1'] Exploring Operation: 73-3=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 73-3=70 Current State: 70:[1, 70], Operations: ['66-65=1', '73-3=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[65, 73, 66, 3], Operations: [] Exploring Operation: 65+3=68, Resulting Numbers: [73, 66, 68] Generated Node #0,0: 70:[73, 66, 68] Operation: 65+3=68 Exploring Operation: 73-65=8, Resulting Numbers: [66, 3, 8] Generated Node #0,1: 70:[66, 3, 8] Operation: 73-65=8 Exploring Operation: 73-3=70, Resulting Numbers: [65, 66, 70] Generated Node #0,2: 70:[65, 66, 70] Operation: 73-3=70 Exploring Operation: 66-65=1, Resulting Numbers: [73, 3, 1] Generated Node #0,3: 70:[73, 3, 1] Operation: 66-65=1 Exploring Operation: 73-66=7, Resulting Numbers: [65, 3, 7] Generated Node #0,4: 70:[65, 3, 7] Operation: 73-66=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[73, 3, 1], Operations: ['66-65=1'] Exploring Operation: 73*1=73, Resulting Numbers: [3, 73] Generated Node #0,3,0: 70:[3, 73] Operation: 73*1=73 Exploring Operation: 3-1=2, Resulting Numbers: [73, 2] Generated Node #0,3,1: 70:[73, 2] Operation: 3-1=2 Exploring Operation: 73/1=73, Resulting Numbers: [3, 73] Generated Node #0,3,2: 70:[3, 73] Operation: 73/1=73 Exploring Operation: 73-3=70, Resulting Numbers: [1, 70] Generated Node #0,3,3: 70:[1, 70] Operation: 73-3=70 Exploring Operation: 73-1=72, Resulting Numbers: [3, 72] Generated Node #0,3,4: 70:[3, 72] Operation: 73-1=72 Moving to Node #0,3,3 Current State: 70:[1, 70], Operations: ['66-65=1', '73-3=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[65, 73, 66, 3], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [73, 3, 1] Generated Node #0,3: 70:[73, 3, 1] Operation: 66-65=1 Moving to Node #0,3 Current State: 70:[73, 3, 1], Operations: ['66-65=1'] Exploring Operation: 73-3=70, Resulting Numbers: [1, 70] Generated Node #0,3,3: 70:[1, 70] Operation: 73-3=70 Moving to Node #0,3,3 Current State: 70:[1, 70], Operations: ['66-65=1', '73-3=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 44, 56, 91, 66 ]
13
[ "56-44=12", "91-66=25", "25-12=13" ]
Current State: 13:[44, 56, 91, 66], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [91, 66, 12] Generated Node #2: [91, 66, 12] from Operation: 56-44=12 Current State: 13:[91, 66, 12], Operations: ['56-44=12'] Exploring Operation: 91-66=25, Resulting Numbers: [12, 25] Generated Node #3: [12, 25] from Operation: 91-66=25 Current State: 13:[12, 25], Operations: ['56-44=12', '91-66=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[44, 56, 91, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [44, 56, 25] Generated Node #0,0: 13:[44, 56, 25] Operation: 91-66=25 Exploring Operation: 66-56=10, Resulting Numbers: [44, 91, 10] Generated Node #0,1: 13:[44, 91, 10] Operation: 66-56=10 Exploring Operation: 91-44=47, Resulting Numbers: [56, 66, 47] Generated Node #0,2: 13:[56, 66, 47] Operation: 91-44=47 Exploring Operation: 66-44=22, Resulting Numbers: [56, 91, 22] Generated Node #0,3: 13:[56, 91, 22] Operation: 66-44=22 Exploring Operation: 91-56=35, Resulting Numbers: [44, 66, 35] Generated Node #0,4: 13:[44, 66, 35] Operation: 91-56=35 Moving to Node #0,0 Current State: 13:[44, 56, 25], Operations: ['91-66=25'] Exploring Operation: 44+25=69, Resulting Numbers: [56, 69] Generated Node #0,0,0: 13:[56, 69] Operation: 44+25=69 Exploring Operation: 44+56=100, Resulting Numbers: [25, 100] Generated Node #0,0,1: 13:[25, 100] Operation: 44+56=100 Exploring Operation: 44-25=19, Resulting Numbers: [56, 19] Generated Node #0,0,2: 13:[56, 19] Operation: 44-25=19 Exploring Operation: 56-25=31, Resulting Numbers: [44, 31] Generated Node #0,0,3: 13:[44, 31] Operation: 56-25=31 Exploring Operation: 56-44=12, Resulting Numbers: [25, 12] Generated Node #0,0,4: 13:[25, 12] Operation: 56-44=12 Moving to Node #0,4 Current State: 13:[44, 66, 35], Operations: ['91-56=35'] Exploring Operation: 66-35=31, Resulting Numbers: [44, 31] Generated Node #0,4,0: 13:[44, 31] Operation: 66-35=31 Exploring Operation: 44+35=79, Resulting Numbers: [66, 79] Generated Node #0,4,1: 13:[66, 79] Operation: 44+35=79 Exploring Operation: 44+66=110, Resulting Numbers: [35, 110] Generated Node #0,4,2: 13:[35, 110] Operation: 44+66=110 Exploring Operation: 44-35=9, Resulting Numbers: [66, 9] Generated Node #0,4,3: 13:[66, 9] Operation: 44-35=9 Exploring Operation: 66-44=22, Resulting Numbers: [35, 22] Generated Node #0,4,4: 13:[35, 22] Operation: 66-44=22 Moving to Node #0,1 Current State: 13:[44, 91, 10], Operations: ['66-56=10'] Exploring Operation: 91-44=47, Resulting Numbers: [10, 47] Generated Node #0,1,0: 13:[10, 47] Operation: 91-44=47 Exploring Operation: 91+10=101, Resulting Numbers: [44, 101] Generated Node #0,1,1: 13:[44, 101] Operation: 91+10=101 Exploring Operation: 44-10=34, Resulting Numbers: [91, 34] Generated Node #0,1,2: 13:[91, 34] Operation: 44-10=34 Exploring Operation: 91-10=81, Resulting Numbers: [44, 81] Generated Node #0,1,3: 13:[44, 81] Operation: 91-10=81 Exploring Operation: 44+10=54, Resulting Numbers: [91, 54] Generated Node #0,1,4: 13:[91, 54] Operation: 44+10=54 Moving to Node #0,2 Current State: 13:[56, 66, 47], Operations: ['91-44=47'] Exploring Operation: 56-47=9, Resulting Numbers: [66, 9] Generated Node #0,2,0: 13:[66, 9] Operation: 56-47=9 Exploring Operation: 66-56=10, Resulting Numbers: [47, 10] Generated Node #0,2,1: 13:[47, 10] Operation: 66-56=10 Exploring Operation: 56+66=122, Resulting Numbers: [47, 122] Generated Node #0,2,2: 13:[47, 122] Operation: 56+66=122 Exploring Operation: 56+47=103, Resulting Numbers: [66, 103] Generated Node #0,2,3: 13:[66, 103] Operation: 56+47=103 Exploring Operation: 66-47=19, Resulting Numbers: [56, 19] Generated Node #0,2,4: 13:[56, 19] Operation: 66-47=19 Moving to Node #0,3 Current State: 13:[56, 91, 22], Operations: ['66-44=22'] Exploring Operation: 56-22=34, Resulting Numbers: [91, 34] Generated Node #0,3,0: 13:[91, 34] Operation: 56-22=34 Exploring Operation: 91-22=69, Resulting Numbers: [56, 69] Generated Node #0,3,1: 13:[56, 69] Operation: 91-22=69 Exploring Operation: 56+22=78, Resulting Numbers: [91, 78] Generated Node #0,3,2: 13:[91, 78] Operation: 56+22=78 Exploring Operation: 91-56=35, Resulting Numbers: [22, 35] Generated Node #0,3,3: 13:[22, 35] Operation: 91-56=35 Exploring Operation: 56+91=147, Resulting Numbers: [22, 147] Generated Node #0,3,4: 13:[22, 147] Operation: 56+91=147 Moving to Node #0,0,4 Current State: 13:[25, 12], Operations: ['91-66=25', '56-44=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[44, 56, 91, 66], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [44, 56, 25] Generated Node #0,0: 13:[44, 56, 25] Operation: 91-66=25 Moving to Node #0,0 Current State: 13:[44, 56, 25], Operations: ['91-66=25'] Exploring Operation: 56-44=12, Resulting Numbers: [25, 12] Generated Node #0,0,4: 13:[25, 12] Operation: 56-44=12 Moving to Node #0,0,4 Current State: 13:[25, 12], Operations: ['91-66=25', '56-44=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.969618
hs_5
mult_heuristic
[ 42, 86, 41, 56 ]
60
[ "86-41=45", "56*45=2520", "2520/42=60" ]
Current State: 60:[42, 86, 41, 56], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [42, 56, 45] Generated Node #2: [42, 56, 45] from Operation: 86-41=45 Current State: 60:[42, 56, 45], Operations: ['86-41=45'] Exploring Operation: 56*45=2520, Resulting Numbers: [42, 2520] Generated Node #3: [42, 2520] from Operation: 56*45=2520 Current State: 60:[42, 2520], Operations: ['86-41=45', '56*45=2520'] Exploring Operation: 2520/42=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[42, 86, 41, 56], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [42, 41, 30] Generated Node #0,0: 60:[42, 41, 30] Operation: 86-56=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[42, 41, 30], Operations: ['86-56=30'] Exploring Operation: 42-41=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 60:[30, 1] Operation: 42-41=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[30, 1], Operations: ['86-56=30', '42-41=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 83, 6, 79, 72 ]
36
[ "83-6=77", "79-77=2", "72/2=36" ]
Current State: 36:[83, 6, 79, 72], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [79, 72, 77] Generated Node #2: [79, 72, 77] from Operation: 83-6=77 Current State: 36:[79, 72, 77], Operations: ['83-6=77'] Exploring Operation: 79-77=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 79-77=2 Current State: 36:[72, 2], Operations: ['83-6=77', '79-77=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[83, 6, 79, 72], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [6, 72, 4] Generated Node #0,0: 36:[6, 72, 4] Operation: 83-79=4 Moving to Node #0,0 Current State: 36:[6, 72, 4], Operations: ['83-79=4'] Exploring Operation: 72/6=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 36:[4, 12] Operation: 72/6=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[4, 12], Operations: ['83-79=4', '72/6=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 81, 60, 8 ]
11
[ "81-18=63", "60-8=52", "63-52=11" ]
Current State: 11:[18, 81, 60, 8], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [60, 8, 63] Generated Node #2: [60, 8, 63] from Operation: 81-18=63 Current State: 11:[60, 8, 63], Operations: ['81-18=63'] Exploring Operation: 60-8=52, Resulting Numbers: [63, 52] Generated Node #3: [63, 52] from Operation: 60-8=52 Current State: 11:[63, 52], Operations: ['81-18=63', '60-8=52'] Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[18, 81, 60, 8], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [18, 8, 21] Generated Node #0,0: 11:[18, 8, 21] Operation: 81-60=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[18, 8, 21], Operations: ['81-60=21'] Exploring Operation: 21-8=13, Resulting Numbers: [18, 13] Generated Node #0,0,0: 11:[18, 13] Operation: 21-8=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[18, 13], Operations: ['81-60=21', '21-8=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 62, 13, 97, 55 ]
64
[ "13+97=110", "110/55=2", "62+2=64" ]
Current State: 64:[62, 13, 97, 55], Operations: [] Exploring Operation: 13+97=110, Resulting Numbers: [62, 55, 110] Generated Node #2: [62, 55, 110] from Operation: 13+97=110 Current State: 64:[62, 55, 110], Operations: ['13+97=110'] Exploring Operation: 110/55=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 110/55=2 Current State: 64:[62, 2], Operations: ['13+97=110', '110/55=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[62, 13, 97, 55], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [62, 55, 84] Generated Node #0,0: 64:[62, 55, 84] Operation: 97-13=84 Exploring Operation: 97-62=35, Resulting Numbers: [13, 55, 35] Generated Node #0,1: 64:[13, 55, 35] Operation: 97-62=35 Exploring Operation: 97-55=42, Resulting Numbers: [62, 13, 42] Generated Node #0,2: 64:[62, 13, 42] Operation: 97-55=42 Exploring Operation: 13+55=68, Resulting Numbers: [62, 97, 68] Generated Node #0,3: 64:[62, 97, 68] Operation: 13+55=68 Exploring Operation: 62-55=7, Resulting Numbers: [13, 97, 7] Generated Node #0,4: 64:[13, 97, 7] Operation: 62-55=7 Moving to Node #0,1 Current State: 64:[13, 55, 35], Operations: ['97-62=35'] Exploring Operation: 13+35=48, Resulting Numbers: [55, 48] Generated Node #0,1,0: 64:[55, 48] Operation: 13+35=48 Exploring Operation: 13+55=68, Resulting Numbers: [35, 68] Generated Node #0,1,1: 64:[35, 68] Operation: 13+55=68 Exploring Operation: 55-13=42, Resulting Numbers: [35, 42] Generated Node #0,1,2: 64:[35, 42] Operation: 55-13=42 Exploring Operation: 55-35=20, Resulting Numbers: [13, 20] Generated Node #0,1,3: 64:[13, 20] Operation: 55-35=20 Exploring Operation: 35-13=22, Resulting Numbers: [55, 22] Generated Node #0,1,4: 64:[55, 22] Operation: 35-13=22 Moving to Node #0,2 Current State: 64:[62, 13, 42], Operations: ['97-55=42'] Exploring Operation: 62-42=20, Resulting Numbers: [13, 20] Generated Node #0,2,0: 64:[13, 20] Operation: 62-42=20 Exploring Operation: 62-13=49, Resulting Numbers: [42, 49] Generated Node #0,2,1: 64:[42, 49] Operation: 62-13=49 Exploring Operation: 62+13=75, Resulting Numbers: [42, 75] Generated Node #0,2,2: 64:[42, 75] Operation: 62+13=75 Exploring Operation: 13+42=55, Resulting Numbers: [62, 55] Generated Node #0,2,3: 64:[62, 55] Operation: 13+42=55 Exploring Operation: 42-13=29, Resulting Numbers: [62, 29] Generated Node #0,2,4: 64:[62, 29] Operation: 42-13=29 Moving to Node #0,0 Current State: 64:[62, 55, 84], Operations: ['97-13=84'] Exploring Operation: 62-55=7, Resulting Numbers: [84, 7] Generated Node #0,0,0: 64:[84, 7] Operation: 62-55=7 Exploring Operation: 84-62=22, Resulting Numbers: [55, 22] Generated Node #0,0,1: 64:[55, 22] Operation: 84-62=22 Exploring Operation: 55+84=139, Resulting Numbers: [62, 139] Generated Node #0,0,2: 64:[62, 139] Operation: 55+84=139 Exploring Operation: 84-55=29, Resulting Numbers: [62, 29] Generated Node #0,0,3: 64:[62, 29] Operation: 84-55=29 Exploring Operation: 62+55=117, Resulting Numbers: [84, 117] Generated Node #0,0,4: 64:[84, 117] Operation: 62+55=117 Moving to Node #0,4 Current State: 64:[13, 97, 7], Operations: ['62-55=7'] Exploring Operation: 13-7=6, Resulting Numbers: [97, 6] Generated Node #0,4,0: 64:[97, 6] Operation: 13-7=6 Exploring Operation: 97+7=104, Resulting Numbers: [13, 104] Generated Node #0,4,1: 64:[13, 104] Operation: 97+7=104 Exploring Operation: 97-13=84, Resulting Numbers: [7, 84] Generated Node #0,4,2: 64:[7, 84] Operation: 97-13=84 Exploring Operation: 13+7=20, Resulting Numbers: [97, 20] Generated Node #0,4,3: 64:[97, 20] Operation: 13+7=20 Exploring Operation: 97-7=90, Resulting Numbers: [13, 90] Generated Node #0,4,4: 64:[13, 90] Operation: 97-7=90 Moving to Node #0,3 Current State: 64:[62, 97, 68], Operations: ['13+55=68'] Exploring Operation: 97-68=29, Resulting Numbers: [62, 29] Generated Node #0,3,0: 64:[62, 29] Operation: 97-68=29 Exploring Operation: 68-62=6, Resulting Numbers: [97, 6] Generated Node #0,3,1: 64:[97, 6] Operation: 68-62=6 Exploring Operation: 97-62=35, Resulting Numbers: [68, 35] Generated Node #0,3,2: 64:[68, 35] Operation: 97-62=35 Exploring Operation: 62+68=130, Resulting Numbers: [97, 130] Generated Node #0,3,3: 64:[97, 130] Operation: 62+68=130 Exploring Operation: 62+97=159, Resulting Numbers: [68, 159] Generated Node #0,3,4: 64:[68, 159] Operation: 62+97=159 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[62, 29], Operations: ['13+55=68', '97-68=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,64 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[68, 35], Operations: ['13+55=68', '97-62=35'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[97, 6], Operations: ['13+55=68', '68-62=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,64 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[97, 130], Operations: ['13+55=68', '62+68=130'] Exploring Operation: 97+130=227, Resulting Numbers: [227] 227,64 unequal: No Solution Exploring Operation: 97*130=12610, Resulting Numbers: [12610] 12610,64 unequal: No Solution Exploring Operation: 130-97=33, Resulting Numbers: [33] 33,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[68, 159], Operations: ['13+55=68', '62+97=159'] Exploring Operation: 68*159=10812, Resulting Numbers: [10812] 10812,64 unequal: No Solution Exploring Operation: 68+159=227, Resulting Numbers: [227] 227,64 unequal: No Solution Exploring Operation: 159-68=91, Resulting Numbers: [91] 91,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 64:[62, 29], Operations: ['97-55=42', '42-13=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,64 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[62, 29], Operations: ['97-13=84', '84-55=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[35, 68], Operations: ['97-62=35', '13+55=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,64 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[13, 20], Operations: ['97-55=42', '62-42=20'] Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,64 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[13, 20], Operations: ['97-62=35', '55-35=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,64 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[62, 55], Operations: ['97-55=42', '13+42=55'] Exploring Operation: 62+55=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 62*55=3410, Resulting Numbers: [3410] 3410,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[35, 42], Operations: ['97-62=35', '55-13=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[55, 22], Operations: ['97-13=84', '84-62=22'] Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,64 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[55, 22], Operations: ['97-62=35', '35-13=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[84, 7], Operations: ['97-13=84', '62-55=7'] Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,64 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[42, 75], Operations: ['97-55=42', '62+13=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,64 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[7, 84], Operations: ['62-55=7', '97-13=84'] Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,64 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[55, 48], Operations: ['97-62=35', '13+35=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[42, 49], Operations: ['97-55=42', '62-13=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[13, 90], Operations: ['62-55=7', '97-7=90'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 13+90=103, Resulting Numbers: [103] 103,64 unequal: No Solution Exploring Operation: 13*90=1170, Resulting Numbers: [1170] 1170,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[97, 6], Operations: ['62-55=7', '13-7=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,64 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[97, 20], Operations: ['62-55=7', '13+7=20'] Exploring Operation: 97+20=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 97*20=1940, Resulting Numbers: [1940] 1940,64 unequal: No Solution Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[13, 104], Operations: ['62-55=7', '97+7=104'] Exploring Operation: 104-13=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 13+104=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 13*104=1352, Resulting Numbers: [1352] 1352,64 unequal: No Solution Exploring Operation: 104/13=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[84, 117], Operations: ['97-13=84', '62+55=117'] Exploring Operation: 84*117=9828, Resulting Numbers: [9828] 9828,64 unequal: No Solution Exploring Operation: 84+117=201, Resulting Numbers: [201] 201,64 unequal: No Solution Exploring Operation: 117-84=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[62, 139], Operations: ['97-13=84', '55+84=139'] Exploring Operation: 62*139=8618, Resulting Numbers: [8618] 8618,64 unequal: No Solution Exploring Operation: 139-62=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 62+139=201, Resulting Numbers: [201] 201,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 80, 40, 71, 76 ]
81
[ "80/40=2", "76*2=152", "152-71=81" ]
Current State: 81:[80, 40, 71, 76], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [71, 76, 2] Generated Node #2: [71, 76, 2] from Operation: 80/40=2 Current State: 81:[71, 76, 2], Operations: ['80/40=2'] Exploring Operation: 76*2=152, Resulting Numbers: [71, 152] Generated Node #3: [71, 152] from Operation: 76*2=152 Current State: 81:[71, 152], Operations: ['80/40=2', '76*2=152'] Exploring Operation: 152-71=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[80, 40, 71, 76], Operations: [] Exploring Operation: 71-40=31, Resulting Numbers: [80, 76, 31] Generated Node #0,0: 81:[80, 76, 31] Operation: 71-40=31 Exploring Operation: 80/40=2, Resulting Numbers: [71, 76, 2] Generated Node #0,1: 81:[71, 76, 2] Operation: 80/40=2 Exploring Operation: 76-71=5, Resulting Numbers: [80, 40, 5] Generated Node #0,2: 81:[80, 40, 5] Operation: 76-71=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[80, 76, 31], Operations: ['71-40=31'] Exploring Operation: 80-76=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 81:[31, 4] Operation: 80-76=4 Exploring Operation: 76-31=45, Resulting Numbers: [80, 45] Generated Node #0,0,1: 81:[80, 45] Operation: 76-31=45 Exploring Operation: 80-31=49, Resulting Numbers: [76, 49] Generated Node #0,0,2: 81:[76, 49] Operation: 80-31=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[31, 4], Operations: ['71-40=31', '80-76=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,81 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[80, 45], Operations: ['71-40=31', '76-31=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,81 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[76, 49], Operations: ['71-40=31', '80-31=49'] Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,81 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[71, 76, 2], Operations: ['80/40=2'] Exploring Operation: 71+2=73, Resulting Numbers: [76, 73] Generated Node #0,1,0: 81:[76, 73] Operation: 71+2=73 Exploring Operation: 76+2=78, Resulting Numbers: [71, 78] Generated Node #0,1,1: 81:[71, 78] Operation: 76+2=78 Exploring Operation: 76-71=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 81:[2, 5] Operation: 76-71=5 Moving to Node #0,1,2 Current State: 81:[2, 5], Operations: ['80/40=2', '76-71=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[76, 73], Operations: ['80/40=2', '71+2=73'] Exploring Operation: 76*73=5548, Resulting Numbers: [5548] 5548,81 unequal: No Solution Exploring Operation: 76+73=149, Resulting Numbers: [149] 149,81 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[71, 78], Operations: ['80/40=2', '76+2=78'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,81 unequal: No Solution Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[80, 40, 5], Operations: ['76-71=5'] Exploring Operation: 40/5=8, Resulting Numbers: [80, 8] Generated Node #0,2,0: 81:[80, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [80, 35] Generated Node #0,2,1: 81:[80, 35] Operation: 40-5=35 Exploring Operation: 80/40=2, Resulting Numbers: [5, 2] Generated Node #0,2,2: 81:[5, 2] Operation: 80/40=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[80, 8], Operations: ['76-71=5', '40/5=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[5, 2], Operations: ['76-71=5', '80/40=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[80, 35], Operations: ['76-71=5', '40-5=35'] Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,81 unequal: No Solution Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 67, 33, 80, 75 ]
23
[ "75-67=8", "80/8=10", "33-10=23" ]
Current State: 23:[67, 33, 80, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [33, 80, 8] Generated Node #2: [33, 80, 8] from Operation: 75-67=8 Current State: 23:[33, 80, 8], Operations: ['75-67=8'] Exploring Operation: 80/8=10, Resulting Numbers: [33, 10] Generated Node #3: [33, 10] from Operation: 80/8=10 Current State: 23:[33, 10], Operations: ['75-67=8', '80/8=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[67, 33, 80, 75], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [33, 75, 13] Generated Node #0,0: 23:[33, 75, 13] Operation: 80-67=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[33, 75, 13], Operations: ['80-67=13'] Exploring Operation: 75-33=42, Resulting Numbers: [13, 42] Generated Node #0,0,0: 23:[13, 42] Operation: 75-33=42 Moving to Node #0,0,0 Current State: 23:[13, 42], Operations: ['80-67=13', '75-33=42'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 13, 21, 4 ]
28
[ "5*4=20", "21-13=8", "20+8=28" ]
Current State: 28:[5, 13, 21, 4], Operations: [] Exploring Operation: 5*4=20, Resulting Numbers: [13, 21, 20] Generated Node #2: [13, 21, 20] from Operation: 5*4=20 Current State: 28:[13, 21, 20], Operations: ['5*4=20'] Exploring Operation: 21-13=8, Resulting Numbers: [20, 8] Generated Node #3: [20, 8] from Operation: 21-13=8 Current State: 28:[20, 8], Operations: ['5*4=20', '21-13=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[5, 13, 21, 4], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [13, 4, 26] Generated Node #0,0: 28:[13, 4, 26] Operation: 5+21=26 Exploring Operation: 21+4=25, Resulting Numbers: [5, 13, 25] Generated Node #0,1: 28:[5, 13, 25] Operation: 21+4=25 Exploring Operation: 21-13=8, Resulting Numbers: [5, 4, 8] Generated Node #0,2: 28:[5, 4, 8] Operation: 21-13=8 Exploring Operation: 21-4=17, Resulting Numbers: [5, 13, 17] Generated Node #0,3: 28:[5, 13, 17] Operation: 21-4=17 Exploring Operation: 21-5=16, Resulting Numbers: [13, 4, 16] Generated Node #0,4: 28:[13, 4, 16] Operation: 21-5=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[5, 4, 8], Operations: ['21-13=8'] Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,2,0: 28:[5, 2] Operation: 8/4=2 Exploring Operation: 5+8=13, Resulting Numbers: [4, 13] Generated Node #0,2,1: 28:[4, 13] Operation: 5+8=13 Exploring Operation: 5-4=1, Resulting Numbers: [8, 1] Generated Node #0,2,2: 28:[8, 1] Operation: 5-4=1 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,2,3: 28:[5, 4] Operation: 8-4=4 Exploring Operation: 8-5=3, Resulting Numbers: [4, 3] Generated Node #0,2,4: 28:[4, 3] Operation: 8-5=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[5, 2], Operations: ['21-13=8', '8/4=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[4, 13], Operations: ['21-13=8', '5+8=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[5, 4], Operations: ['21-13=8', '8-4=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 28:[4, 3], Operations: ['21-13=8', '8-5=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[8, 1], Operations: ['21-13=8', '5-4=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[13, 4, 26], Operations: ['5+21=26'] Exploring Operation: 26/13=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 28:[4, 2] Operation: 26/13=2 Exploring Operation: 13+4=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 28:[26, 17] Operation: 13+4=17 Exploring Operation: 26-13=13, Resulting Numbers: [4, 13] Generated Node #0,0,2: 28:[4, 13] Operation: 26-13=13 Exploring Operation: 13-4=9, Resulting Numbers: [26, 9] Generated Node #0,0,3: 28:[26, 9] Operation: 13-4=9 Exploring Operation: 4+26=30, Resulting Numbers: [13, 30] Generated Node #0,0,4: 28:[13, 30] Operation: 4+26=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[4, 2], Operations: ['5+21=26', '26/13=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[4, 13], Operations: ['5+21=26', '26-13=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[13, 30], Operations: ['5+21=26', '4+26=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[26, 9], Operations: ['5+21=26', '13-4=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[26, 17], Operations: ['5+21=26', '13+4=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,28 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[13, 4, 16], Operations: ['21-5=16'] Exploring Operation: 16/4=4, Resulting Numbers: [13, 4] Generated Node #0,4,0: 28:[13, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [13, 12] Generated Node #0,4,1: 28:[13, 12] Operation: 16-4=12 Exploring Operation: 13+16=29, Resulting Numbers: [4, 29] Generated Node #0,4,2: 28:[4, 29] Operation: 13+16=29 Exploring Operation: 13-4=9, Resulting Numbers: [16, 9] Generated Node #0,4,3: 28:[16, 9] Operation: 13-4=9 Exploring Operation: 16-13=3, Resulting Numbers: [4, 3] Generated Node #0,4,4: 28:[4, 3] Operation: 16-13=3 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 28:[13, 4], Operations: ['21-5=16', '16/4=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 28:[4, 29], Operations: ['21-5=16', '13+16=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 28:[4, 3], Operations: ['21-5=16', '16-13=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[13, 12], Operations: ['21-5=16', '16-4=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[16, 9], Operations: ['21-5=16', '13-4=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,28 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[5, 13, 25], Operations: ['21+4=25'] Exploring Operation: 5+25=30, Resulting Numbers: [13, 30] Generated Node #0,1,0: 28:[13, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 28:[13, 5] Operation: 25/5=5 Exploring Operation: 13-5=8, Resulting Numbers: [25, 8] Generated Node #0,1,2: 28:[25, 8] Operation: 13-5=8 Exploring Operation: 25-13=12, Resulting Numbers: [5, 12] Generated Node #0,1,3: 28:[5, 12] Operation: 25-13=12 Exploring Operation: 5+13=18, Resulting Numbers: [25, 18] Generated Node #0,1,4: 28:[25, 18] Operation: 5+13=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[13, 5], Operations: ['21+4=25', '25/5=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,28 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[13, 30], Operations: ['21+4=25', '5+25=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,28 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 28:[5, 12], Operations: ['21+4=25', '25-13=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[25, 8], Operations: ['21+4=25', '13-5=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,28 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 28:[25, 18], Operations: ['21+4=25', '5+13=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,28 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[5, 13, 17], Operations: ['21-4=17'] Exploring Operation: 13-5=8, Resulting Numbers: [17, 8] Generated Node #0,3,0: 28:[17, 8] Operation: 13-5=8 Exploring Operation: 5+13=18, Resulting Numbers: [17, 18] Generated Node #0,3,1: 28:[17, 18] Operation: 5+13=18 Exploring Operation: 13+17=30, Resulting Numbers: [5, 30] Generated Node #0,3,2: 28:[5, 30] Operation: 13+17=30 Exploring Operation: 17-5=12, Resulting Numbers: [13, 12] Generated Node #0,3,3: 28:[13, 12] Operation: 17-5=12 Exploring Operation: 17-13=4, Resulting Numbers: [5, 4] Generated Node #0,3,4: 28:[5, 4] Operation: 17-13=4 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 28:[5, 4], Operations: ['21-4=17', '17-13=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[5, 30], Operations: ['21-4=17', '13+17=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,28 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[13, 12], Operations: ['21-4=17', '17-5=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,28 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[17, 8], Operations: ['21-4=17', '13-5=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,28 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[17, 18], Operations: ['21-4=17', '5+13=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,28 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 19, 61, 5, 49 ]
36
[ "19+61=80", "49-5=44", "80-44=36" ]
Current State: 36:[19, 61, 5, 49], Operations: [] Exploring Operation: 19+61=80, Resulting Numbers: [5, 49, 80] Generated Node #2: [5, 49, 80] from Operation: 19+61=80 Current State: 36:[5, 49, 80], Operations: ['19+61=80'] Exploring Operation: 49-5=44, Resulting Numbers: [80, 44] Generated Node #3: [80, 44] from Operation: 49-5=44 Current State: 36:[80, 44], Operations: ['19+61=80', '49-5=44'] Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[19, 61, 5, 49], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [19, 5, 12] Generated Node #0,0: 36:[19, 5, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[19, 5, 12], Operations: ['61-49=12'] Exploring Operation: 19-5=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 36:[12, 14] Operation: 19-5=14 Moving to Node #0,0,0 Current State: 36:[12, 14], Operations: ['61-49=12', '19-5=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 1, 11, 3, 94 ]
36
[ "3-1=2", "94/2=47", "47-11=36" ]
Current State: 36:[1, 11, 3, 94], Operations: [] Exploring Operation: 3-1=2, Resulting Numbers: [11, 94, 2] Generated Node #2: [11, 94, 2] from Operation: 3-1=2 Current State: 36:[11, 94, 2], Operations: ['3-1=2'] Exploring Operation: 94/2=47, Resulting Numbers: [11, 47] Generated Node #3: [11, 47] from Operation: 94/2=47 Current State: 36:[11, 47], Operations: ['3-1=2', '94/2=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 11, 3, 94], Operations: [] Exploring Operation: 94-3=91, Resulting Numbers: [1, 11, 91] Generated Node #0,0: 36:[1, 11, 91] Operation: 94-3=91 Exploring Operation: 94-11=83, Resulting Numbers: [1, 3, 83] Generated Node #0,1: 36:[1, 3, 83] Operation: 94-11=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[1, 3, 83], Operations: ['94-11=83'] Exploring Operation: 83-3=80, Resulting Numbers: [1, 80] Generated Node #0,1,0: 36:[1, 80] Operation: 83-3=80 Exploring Operation: 83-1=82, Resulting Numbers: [3, 82] Generated Node #0,1,1: 36:[3, 82] Operation: 83-1=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[1, 80], Operations: ['94-11=83', '83-3=80'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,36 unequal: No Solution Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[3, 82], Operations: ['94-11=83', '83-1=82'] Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[1, 11, 91], Operations: ['94-3=91'] Exploring Operation: 1+11=12, Resulting Numbers: [91, 12] Generated Node #0,0,0: 36:[91, 12] Operation: 1+11=12 Exploring Operation: 91-11=80, Resulting Numbers: [1, 80] Generated Node #0,0,1: 36:[1, 80] Operation: 91-11=80 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[1, 80], Operations: ['94-3=91', '91-11=80'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,36 unequal: No Solution Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[91, 12], Operations: ['94-3=91', '1+11=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 44, 19, 29 ]
55
[ "60*44=2640", "19+29=48", "2640/48=55" ]
Current State: 55:[60, 44, 19, 29], Operations: [] Exploring Operation: 60*44=2640, Resulting Numbers: [19, 29, 2640] Generated Node #2: [19, 29, 2640] from Operation: 60*44=2640 Current State: 55:[19, 29, 2640], Operations: ['60*44=2640'] Exploring Operation: 19+29=48, Resulting Numbers: [2640, 48] Generated Node #3: [2640, 48] from Operation: 19+29=48 Current State: 55:[2640, 48], Operations: ['60*44=2640', '19+29=48'] Exploring Operation: 2640/48=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[60, 44, 19, 29], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [60, 19, 15] Generated Node #0,0: 55:[60, 19, 15] Operation: 44-29=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[60, 19, 15], Operations: ['44-29=15'] Exploring Operation: 19-15=4, Resulting Numbers: [60, 4] Generated Node #0,0,0: 55:[60, 4] Operation: 19-15=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[60, 4], Operations: ['44-29=15', '19-15=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 22, 72, 20 ]
18
[ "14+22=36", "72/36=2", "20-2=18" ]
Current State: 18:[14, 22, 72, 20], Operations: [] Exploring Operation: 14+22=36, Resulting Numbers: [72, 20, 36] Generated Node #2: [72, 20, 36] from Operation: 14+22=36 Current State: 18:[72, 20, 36], Operations: ['14+22=36'] Exploring Operation: 72/36=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 72/36=2 Current State: 18:[20, 2], Operations: ['14+22=36', '72/36=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[14, 22, 72, 20], Operations: [] Exploring Operation: 72-22=50, Resulting Numbers: [14, 20, 50] Generated Node #0,0: 18:[14, 20, 50] Operation: 72-22=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[14, 20, 50], Operations: ['72-22=50'] Exploring Operation: 50-20=30, Resulting Numbers: [14, 30] Generated Node #0,0,0: 18:[14, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[14, 30], Operations: ['72-22=50', '50-20=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 71, 88, 69, 10 ]
62
[ "88-71=17", "69+10=79", "79-17=62" ]
Current State: 62:[71, 88, 69, 10], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [69, 10, 17] Generated Node #2: [69, 10, 17] from Operation: 88-71=17 Current State: 62:[69, 10, 17], Operations: ['88-71=17'] Exploring Operation: 69+10=79, Resulting Numbers: [17, 79] Generated Node #3: [17, 79] from Operation: 69+10=79 Current State: 62:[17, 79], Operations: ['88-71=17', '69+10=79'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[71, 88, 69, 10], Operations: [] Exploring Operation: 88-10=78, Resulting Numbers: [71, 69, 78] Generated Node #0,0: 62:[71, 69, 78] Operation: 88-10=78 Exploring Operation: 88-71=17, Resulting Numbers: [69, 10, 17] Generated Node #0,1: 62:[69, 10, 17] Operation: 88-71=17 Exploring Operation: 88-69=19, Resulting Numbers: [71, 10, 19] Generated Node #0,2: 62:[71, 10, 19] Operation: 88-69=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[69, 10, 17], Operations: ['88-71=17'] Exploring Operation: 69-10=59, Resulting Numbers: [17, 59] Generated Node #0,1,0: 62:[17, 59] Operation: 69-10=59 Exploring Operation: 17-10=7, Resulting Numbers: [69, 7] Generated Node #0,1,1: 62:[69, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [69, 27] Generated Node #0,1,2: 62:[69, 27] Operation: 10+17=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[69, 27], Operations: ['88-71=17', '10+17=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[69, 7], Operations: ['88-71=17', '17-10=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[71, 88, 69, 10], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [69, 10, 17] Generated Node #0,1: 62:[69, 10, 17] Operation: 88-71=17 Moving to Node #0,1 Current State: 62:[69, 10, 17], Operations: ['88-71=17'] Exploring Operation: 17-10=7, Resulting Numbers: [69, 7] Generated Node #0,1,1: 62:[69, 7] Operation: 17-10=7 Moving to Node #0,1,1 Current State: 62:[69, 7], Operations: ['88-71=17', '17-10=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 79, 40, 29, 22 ]
68
[ "79+40=119", "29+22=51", "119-51=68" ]
Current State: 68:[79, 40, 29, 22], Operations: [] Exploring Operation: 79+40=119, Resulting Numbers: [29, 22, 119] Generated Node #2: [29, 22, 119] from Operation: 79+40=119 Current State: 68:[29, 22, 119], Operations: ['79+40=119'] Exploring Operation: 29+22=51, Resulting Numbers: [119, 51] Generated Node #3: [119, 51] from Operation: 29+22=51 Current State: 68:[119, 51], Operations: ['79+40=119', '29+22=51'] Exploring Operation: 119-51=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[79, 40, 29, 22], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [29, 22, 39] Generated Node #0,0: 68:[29, 22, 39] Operation: 79-40=39 Exploring Operation: 40+29=69, Resulting Numbers: [79, 22, 69] Generated Node #0,1: 68:[79, 22, 69] Operation: 40+29=69 Exploring Operation: 40-22=18, Resulting Numbers: [79, 29, 18] Generated Node #0,2: 68:[79, 29, 18] Operation: 40-22=18 Exploring Operation: 29-22=7, Resulting Numbers: [79, 40, 7] Generated Node #0,3: 68:[79, 40, 7] Operation: 29-22=7 Moving to Node #0,0 Current State: 68:[29, 22, 39], Operations: ['79-40=39'] Exploring Operation: 29+39=68, Resulting Numbers: [22, 68] Generated Node #0,0,0: 68:[22, 68] Operation: 29+39=68 Exploring Operation: 29-22=7, Resulting Numbers: [39, 7] Generated Node #0,0,1: 68:[39, 7] Operation: 29-22=7 Exploring Operation: 39-29=10, Resulting Numbers: [22, 10] Generated Node #0,0,2: 68:[22, 10] Operation: 39-29=10 Exploring Operation: 39-22=17, Resulting Numbers: [29, 17] Generated Node #0,0,3: 68:[29, 17] Operation: 39-22=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[22, 68], Operations: ['79-40=39', '29+39=68'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 22+68=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 22*68=1496, Resulting Numbers: [1496] 1496,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[29, 17], Operations: ['79-40=39', '39-22=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[39, 7], Operations: ['79-40=39', '29-22=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[22, 10], Operations: ['79-40=39', '39-29=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 68:[79, 29, 18], Operations: ['40-22=18'] Exploring Operation: 29+18=47, Resulting Numbers: [79, 47] Generated Node #0,2,0: 68:[79, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [79, 11] Generated Node #0,2,1: 68:[79, 11] Operation: 29-18=11 Exploring Operation: 79-18=61, Resulting Numbers: [29, 61] Generated Node #0,2,2: 68:[29, 61] Operation: 79-18=61 Exploring Operation: 79-29=50, Resulting Numbers: [18, 50] Generated Node #0,2,3: 68:[18, 50] Operation: 79-29=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[29, 61], Operations: ['40-22=18', '79-18=61'] Exploring Operation: 29*61=1769, Resulting Numbers: [1769] 1769,68 unequal: No Solution Exploring Operation: 29+61=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[79, 11], Operations: ['40-22=18', '29-18=11'] Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,68 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[79, 40, 29, 22], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [79, 29, 18] Generated Node #0,2: 68:[79, 29, 18] Operation: 40-22=18 Moving to Node #0,2 Current State: 68:[79, 29, 18], Operations: ['40-22=18'] Exploring Operation: 29-18=11, Resulting Numbers: [79, 11] Generated Node #0,2,1: 68:[79, 11] Operation: 29-18=11 Moving to Node #0,2,1 Current State: 68:[79, 11], Operations: ['40-22=18', '29-18=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 70, 13, 61, 3 ]
66
[ "70+13=83", "83-61=22", "3*22=66" ]
Current State: 66:[70, 13, 61, 3], Operations: [] Exploring Operation: 70+13=83, Resulting Numbers: [61, 3, 83] Generated Node #2: [61, 3, 83] from Operation: 70+13=83 Current State: 66:[61, 3, 83], Operations: ['70+13=83'] Exploring Operation: 83-61=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 83-61=22 Current State: 66:[3, 22], Operations: ['70+13=83', '83-61=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[70, 13, 61, 3], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [13, 3, 9] Generated Node #0,0: 66:[13, 3, 9] Operation: 70-61=9 Moving to Node #0,0 Current State: 66:[13, 3, 9], Operations: ['70-61=9'] Exploring Operation: 13+9=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 13+9=22 Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['70-61=9', '13+9=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[70, 13, 61, 3], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [13, 3, 9] Generated Node #0,0: 66:[13, 3, 9] Operation: 70-61=9 Moving to Node #0,0 Current State: 66:[13, 3, 9], Operations: ['70-61=9'] Exploring Operation: 13+9=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 13+9=22 Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['70-61=9', '13+9=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 49, 98, 89, 55 ]
72
[ "98/49=2", "89+55=144", "144/2=72" ]
Current State: 72:[49, 98, 89, 55], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [89, 55, 2] Generated Node #2: [89, 55, 2] from Operation: 98/49=2 Current State: 72:[89, 55, 2], Operations: ['98/49=2'] Exploring Operation: 89+55=144, Resulting Numbers: [2, 144] Generated Node #3: [2, 144] from Operation: 89+55=144 Current State: 72:[2, 144], Operations: ['98/49=2', '89+55=144'] Exploring Operation: 144/2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[49, 98, 89, 55], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [49, 89, 43] Generated Node #0,0: 72:[49, 89, 43] Operation: 98-55=43 Exploring Operation: 98-89=9, Resulting Numbers: [49, 55, 9] Generated Node #0,1: 72:[49, 55, 9] Operation: 98-89=9 Exploring Operation: 89-55=34, Resulting Numbers: [49, 98, 34] Generated Node #0,2: 72:[49, 98, 34] Operation: 89-55=34 Exploring Operation: 55-49=6, Resulting Numbers: [98, 89, 6] Generated Node #0,3: 72:[98, 89, 6] Operation: 55-49=6 Exploring Operation: 98/49=2, Resulting Numbers: [89, 55, 2] Generated Node #0,4: 72:[89, 55, 2] Operation: 98/49=2 Moving to Node #0,1 Current State: 72:[49, 55, 9], Operations: ['98-89=9'] Exploring Operation: 55-49=6, Resulting Numbers: [9, 6] Generated Node #0,1,0: 72:[9, 6] Operation: 55-49=6 Exploring Operation: 55-9=46, Resulting Numbers: [49, 46] Generated Node #0,1,1: 72:[49, 46] Operation: 55-9=46 Exploring Operation: 49+9=58, Resulting Numbers: [55, 58] Generated Node #0,1,2: 72:[55, 58] Operation: 49+9=58 Exploring Operation: 49-9=40, Resulting Numbers: [55, 40] Generated Node #0,1,3: 72:[55, 40] Operation: 49-9=40 Exploring Operation: 55+9=64, Resulting Numbers: [49, 64] Generated Node #0,1,4: 72:[49, 64] Operation: 55+9=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[9, 6], Operations: ['98-89=9', '55-49=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[55, 40], Operations: ['98-89=9', '49-9=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 72:[49, 64], Operations: ['98-89=9', '55+9=64'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,72 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[49, 46], Operations: ['98-89=9', '55-9=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,72 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[55, 58], Operations: ['98-89=9', '49+9=58'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 55*58=3190, Resulting Numbers: [3190] 3190,72 unequal: No Solution Exploring Operation: 55+58=113, Resulting Numbers: [113] 113,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 72:[89, 55, 2], Operations: ['98/49=2'] Exploring Operation: 55-2=53, Resulting Numbers: [89, 53] Generated Node #0,4,0: 72:[89, 53] Operation: 55-2=53 Exploring Operation: 55+2=57, Resulting Numbers: [89, 57] Generated Node #0,4,1: 72:[89, 57] Operation: 55+2=57 Exploring Operation: 89-55=34, Resulting Numbers: [2, 34] Generated Node #0,4,2: 72:[2, 34] Operation: 89-55=34 Exploring Operation: 89+2=91, Resulting Numbers: [55, 91] Generated Node #0,4,3: 72:[55, 91] Operation: 89+2=91 Exploring Operation: 89-2=87, Resulting Numbers: [55, 87] Generated Node #0,4,4: 72:[55, 87] Operation: 89-2=87 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[2, 34], Operations: ['98/49=2', '89-55=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[89, 57], Operations: ['98/49=2', '55+2=57'] Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,72 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[55, 87], Operations: ['98/49=2', '89-2=87'] Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,72 unequal: No Solution Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,72 unequal: No Solution Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[89, 53], Operations: ['98/49=2', '55-2=53'] Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,72 unequal: No Solution Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,72 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[55, 91], Operations: ['98/49=2', '89+2=91'] Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 55*91=5005, Resulting Numbers: [5005] 5005,72 unequal: No Solution Exploring Operation: 55+91=146, Resulting Numbers: [146] 146,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 72:[49, 89, 43], Operations: ['98-55=43'] Exploring Operation: 89-43=46, Resulting Numbers: [49, 46] Generated Node #0,0,0: 72:[49, 46] Operation: 89-43=46 Exploring Operation: 89-49=40, Resulting Numbers: [43, 40] Generated Node #0,0,1: 72:[43, 40] Operation: 89-49=40 Exploring Operation: 49+43=92, Resulting Numbers: [89, 92] Generated Node #0,0,2: 72:[89, 92] Operation: 49+43=92 Exploring Operation: 49+89=138, Resulting Numbers: [43, 138] Generated Node #0,0,3: 72:[43, 138] Operation: 49+89=138 Exploring Operation: 49-43=6, Resulting Numbers: [89, 6] Generated Node #0,0,4: 72:[89, 6] Operation: 49-43=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[43, 40], Operations: ['98-55=43', '89-49=40'] Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,72 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[89, 6], Operations: ['98-55=43', '49-43=6'] Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[49, 46], Operations: ['98-55=43', '89-43=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,72 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[89, 92], Operations: ['98-55=43', '49+43=92'] Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,72 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[43, 138], Operations: ['98-55=43', '49+89=138'] Exploring Operation: 43+138=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 138-43=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 43*138=5934, Resulting Numbers: [5934] 5934,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 72:[49, 98, 34], Operations: ['89-55=34'] Exploring Operation: 98-49=49, Resulting Numbers: [34, 49] Generated Node #0,2,0: 72:[34, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [34, 2] Generated Node #0,2,1: 72:[34, 2] Operation: 98/49=2 Exploring Operation: 49-34=15, Resulting Numbers: [98, 15] Generated Node #0,2,2: 72:[98, 15] Operation: 49-34=15 Exploring Operation: 49+34=83, Resulting Numbers: [98, 83] Generated Node #0,2,3: 72:[98, 83] Operation: 49+34=83 Exploring Operation: 98-34=64, Resulting Numbers: [49, 64] Generated Node #0,2,4: 72:[49, 64] Operation: 98-34=64 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[34, 2], Operations: ['89-55=34', '98/49=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,72 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[34, 49], Operations: ['89-55=34', '98-49=49'] Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,72 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[49, 64], Operations: ['89-55=34', '98-34=64'] Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,72 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[98, 15], Operations: ['89-55=34', '49-34=15'] Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,72 unequal: No Solution Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[98, 83], Operations: ['89-55=34', '49+34=83'] Exploring Operation: 98*83=8134, Resulting Numbers: [8134] 8134,72 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 98+83=181, Resulting Numbers: [181] 181,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 72:[98, 89, 6], Operations: ['55-49=6'] Exploring Operation: 98+6=104, Resulting Numbers: [89, 104] Generated Node #0,3,0: 72:[89, 104] Operation: 98+6=104 Exploring Operation: 98-89=9, Resulting Numbers: [6, 9] Generated Node #0,3,1: 72:[6, 9] Operation: 98-89=9 Exploring Operation: 98-6=92, Resulting Numbers: [89, 92] Generated Node #0,3,2: 72:[89, 92] Operation: 98-6=92 Exploring Operation: 89+6=95, Resulting Numbers: [98, 95] Generated Node #0,3,3: 72:[98, 95] Operation: 89+6=95 Exploring Operation: 89-6=83, Resulting Numbers: [98, 83] Generated Node #0,3,4: 72:[98, 83] Operation: 89-6=83 Moving to Node #0,3,1 Current State: 72:[6, 9], Operations: ['55-49=6', '98-89=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[98, 83], Operations: ['55-49=6', '89-6=83'] Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 98+83=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 98*83=8134, Resulting Numbers: [8134] 8134,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[89, 92], Operations: ['55-49=6', '98-6=92'] Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,72 unequal: No Solution Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[89, 104], Operations: ['55-49=6', '98+6=104'] Exploring Operation: 104-89=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 89+104=193, Resulting Numbers: [193] 193,72 unequal: No Solution Exploring Operation: 89*104=9256, Resulting Numbers: [9256] 9256,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[98, 95], Operations: ['55-49=6', '89+6=95'] Exploring Operation: 98-95=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 98*95=9310, Resulting Numbers: [9310] 9310,72 unequal: No Solution Exploring Operation: 98+95=193, Resulting Numbers: [193] 193,72 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 4, 43, 13 ]
16
[ "52-43=9", "13-9=4", "4*4=16" ]
Current State: 16:[52, 4, 43, 13], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [4, 13, 9] Generated Node #2: [4, 13, 9] from Operation: 52-43=9 Current State: 16:[4, 13, 9], Operations: ['52-43=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 13-9=4 Current State: 16:[4, 4], Operations: ['52-43=9', '13-9=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[52, 4, 43, 13], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [4, 43, 4] Generated Node #0,0: 16:[4, 43, 4] Operation: 52/13=4 Exploring Operation: 52-43=9, Resulting Numbers: [4, 13, 9] Generated Node #0,1: 16:[4, 13, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[4, 13, 9], Operations: ['52-43=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 13-9=4 Exploring Operation: 4+13=17, Resulting Numbers: [9, 17] Generated Node #0,1,1: 16:[9, 17] Operation: 4+13=17 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['52-43=9', '13-9=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[52, 4, 43, 13], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [4, 13, 9] Generated Node #0,1: 16:[4, 13, 9] Operation: 52-43=9 Moving to Node #0,1 Current State: 16:[4, 13, 9], Operations: ['52-43=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 16:[4, 4] Operation: 13-9=4 Moving to Node #0,1,0 Current State: 16:[4, 4], Operations: ['52-43=9', '13-9=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 45, 34, 68, 9 ]
27
[ "45+9=54", "68/34=2", "54/2=27" ]
Current State: 27:[45, 34, 68, 9], Operations: [] Exploring Operation: 45+9=54, Resulting Numbers: [34, 68, 54] Generated Node #2: [34, 68, 54] from Operation: 45+9=54 Current State: 27:[34, 68, 54], Operations: ['45+9=54'] Exploring Operation: 68/34=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 68/34=2 Current State: 27:[54, 2], Operations: ['45+9=54', '68/34=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[45, 34, 68, 9], Operations: [] Exploring Operation: 68-45=23, Resulting Numbers: [34, 9, 23] Generated Node #0,0: 27:[34, 9, 23] Operation: 68-45=23 Exploring Operation: 68-34=34, Resulting Numbers: [45, 9, 34] Generated Node #0,1: 27:[45, 9, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [45, 9, 2] Generated Node #0,2: 27:[45, 9, 2] Operation: 68/34=2 Exploring Operation: 45-34=11, Resulting Numbers: [68, 9, 11] Generated Node #0,3: 27:[68, 9, 11] Operation: 45-34=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[34, 9, 23], Operations: ['68-45=23'] Exploring Operation: 9+23=32, Resulting Numbers: [34, 32] Generated Node #0,0,0: 27:[34, 32] Operation: 9+23=32 Exploring Operation: 34-9=25, Resulting Numbers: [23, 25] Generated Node #0,0,1: 27:[23, 25] Operation: 34-9=25 Exploring Operation: 23-9=14, Resulting Numbers: [34, 14] Generated Node #0,0,2: 27:[34, 14] Operation: 23-9=14 Exploring Operation: 34-23=11, Resulting Numbers: [9, 11] Generated Node #0,0,3: 27:[9, 11] Operation: 34-23=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[9, 11], Operations: ['68-45=23', '34-23=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,27 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[23, 25], Operations: ['68-45=23', '34-9=25'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,27 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[34, 32], Operations: ['68-45=23', '9+23=32'] Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,27 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[34, 14], Operations: ['68-45=23', '23-9=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[45, 9, 2], Operations: ['68/34=2'] Exploring Operation: 45/9=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 27:[2, 5] Operation: 45/9=5 Exploring Operation: 45+2=47, Resulting Numbers: [9, 47] Generated Node #0,2,1: 27:[9, 47] Operation: 45+2=47 Exploring Operation: 45-2=43, Resulting Numbers: [9, 43] Generated Node #0,2,2: 27:[9, 43] Operation: 45-2=43 Exploring Operation: 45-9=36, Resulting Numbers: [2, 36] Generated Node #0,2,3: 27:[2, 36] Operation: 45-9=36 Moving to Node #0,2,0 Current State: 27:[2, 5], Operations: ['68/34=2', '45/9=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[2, 36], Operations: ['68/34=2', '45-9=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[9, 43], Operations: ['68/34=2', '45-2=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[9, 47], Operations: ['68/34=2', '45+2=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[45, 9, 34], Operations: ['68-34=34'] Exploring Operation: 45-34=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 27:[9, 11] Operation: 45-34=11 Exploring Operation: 45/9=5, Resulting Numbers: [34, 5] Generated Node #0,1,1: 27:[34, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [34, 36] Generated Node #0,1,2: 27:[34, 36] Operation: 45-9=36 Exploring Operation: 34-9=25, Resulting Numbers: [45, 25] Generated Node #0,1,3: 27:[45, 25] Operation: 34-9=25 Moving to Node #0,1,0 Current State: 27:[9, 11], Operations: ['68-34=34', '45-34=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[34, 5], Operations: ['68-34=34', '45/9=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,27 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[34, 36], Operations: ['68-34=34', '45-9=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,27 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[45, 25], Operations: ['68-34=34', '34-9=25'] Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,27 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,27 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[68, 9, 11], Operations: ['45-34=11'] Exploring Operation: 9+11=20, Resulting Numbers: [68, 20] Generated Node #0,3,0: 27:[68, 20] Operation: 9+11=20 Exploring Operation: 68-11=57, Resulting Numbers: [9, 57] Generated Node #0,3,1: 27:[9, 57] Operation: 68-11=57 Exploring Operation: 11-9=2, Resulting Numbers: [68, 2] Generated Node #0,3,2: 27:[68, 2] Operation: 11-9=2 Exploring Operation: 68-9=59, Resulting Numbers: [11, 59] Generated Node #0,3,3: 27:[11, 59] Operation: 68-9=59 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 27:[9, 57], Operations: ['45-34=11', '68-11=57'] Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,27 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[11, 59], Operations: ['45-34=11', '68-9=59'] Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,27 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[68, 2], Operations: ['45-34=11', '11-9=2'] Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,27 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[68, 20], Operations: ['45-34=11', '9+11=20'] Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,27 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic