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
[ 34, 81, 41, 27 ]
33
[ "81-34=47", "41-27=14", "47-14=33" ]
Current State: 33:[34, 81, 41, 27], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [41, 27, 47] Generated Node #2: [41, 27, 47] from Operation: 81-34=47 Current State: 33:[41, 27, 47], Operations: ['81-34=47'] Exploring Operation: 41-27=14, Resulting Numbers: [47, 14] Generated Node #3: [47, 14] from Operation: 41-27=14 Current State: 33:[47, 14], Operations: ['81-34=47', '41-27=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[34, 81, 41, 27], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [34, 27, 40] Generated Node #0,0: 33:[34, 27, 40] Operation: 81-41=40 Exploring Operation: 81-34=47, Resulting Numbers: [41, 27, 47] Generated Node #0,1: 33:[41, 27, 47] Operation: 81-34=47 Exploring Operation: 81/27=3, Resulting Numbers: [34, 41, 3] Generated Node #0,2: 33:[34, 41, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [34, 41, 54] Generated Node #0,3: 33:[34, 41, 54] Operation: 81-27=54 Moving to Node #0,2 Current State: 33:[34, 41, 3], Operations: ['81/27=3'] Exploring Operation: 41-3=38, Resulting Numbers: [34, 38] Generated Node #0,2,0: 33:[34, 38] Operation: 41-3=38 Exploring Operation: 34+3=37, Resulting Numbers: [41, 37] Generated Node #0,2,1: 33:[41, 37] Operation: 34+3=37 Exploring Operation: 41-34=7, Resulting Numbers: [3, 7] Generated Node #0,2,2: 33:[3, 7] Operation: 41-34=7 Exploring Operation: 34-3=31, Resulting Numbers: [41, 31] Generated Node #0,2,3: 33:[41, 31] Operation: 34-3=31 Moving to Node #0,0 Current State: 33:[34, 27, 40], Operations: ['81-41=40'] Exploring Operation: 34-27=7, Resulting Numbers: [40, 7] Generated Node #0,0,0: 33:[40, 7] Operation: 34-27=7 Exploring Operation: 40-27=13, Resulting Numbers: [34, 13] Generated Node #0,0,1: 33:[34, 13] Operation: 40-27=13 Exploring Operation: 40-34=6, Resulting Numbers: [27, 6] Generated Node #0,0,2: 33:[27, 6] Operation: 40-34=6 Exploring Operation: 34+27=61, Resulting Numbers: [40, 61] Generated Node #0,0,3: 33:[40, 61] Operation: 34+27=61 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[34, 13], Operations: ['81-41=40', '40-27=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,33 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,33 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: 33:[27, 6], Operations: ['81-41=40', '40-34=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,33 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[34, 81, 41, 27], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [34, 27, 40] Generated Node #0,0: 33:[34, 27, 40] Operation: 81-41=40 Moving to Node #0,0 Current State: 33:[34, 27, 40], Operations: ['81-41=40'] Exploring Operation: 40-34=6, Resulting Numbers: [27, 6] Generated Node #0,0,2: 33:[27, 6] Operation: 40-34=6 Moving to Node #0,0,2 Current State: 33:[27, 6], Operations: ['81-41=40', '40-34=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 33, 11, 34, 37 ]
47
[ "33+11=44", "37-34=3", "44+3=47" ]
Current State: 47:[33, 11, 34, 37], Operations: [] Exploring Operation: 33+11=44, Resulting Numbers: [34, 37, 44] Generated Node #2: [34, 37, 44] from Operation: 33+11=44 Current State: 47:[34, 37, 44], Operations: ['33+11=44'] Exploring Operation: 37-34=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 37-34=3 Current State: 47:[44, 3], Operations: ['33+11=44', '37-34=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[33, 11, 34, 37], Operations: [] Exploring Operation: 11+34=45, Resulting Numbers: [33, 37, 45] Generated Node #0,0: 47:[33, 37, 45] Operation: 11+34=45 Exploring Operation: 33+11=44, Resulting Numbers: [34, 37, 44] Generated Node #0,1: 47:[34, 37, 44] Operation: 33+11=44 Exploring Operation: 34-11=23, Resulting Numbers: [33, 37, 23] Generated Node #0,2: 47:[33, 37, 23] Operation: 34-11=23 Exploring Operation: 11+37=48, Resulting Numbers: [33, 34, 48] Generated Node #0,3: 47:[33, 34, 48] Operation: 11+37=48 Exploring Operation: 33-11=22, Resulting Numbers: [34, 37, 22] Generated Node #0,4: 47:[34, 37, 22] Operation: 33-11=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[33, 37, 45], Operations: ['11+34=45'] Exploring Operation: 33+37=70, Resulting Numbers: [45, 70] Generated Node #0,0,0: 47:[45, 70] Operation: 33+37=70 Exploring Operation: 33+45=78, Resulting Numbers: [37, 78] Generated Node #0,0,1: 47:[37, 78] Operation: 33+45=78 Exploring Operation: 37+45=82, Resulting Numbers: [33, 82] Generated Node #0,0,2: 47:[33, 82] Operation: 37+45=82 Exploring Operation: 45-33=12, Resulting Numbers: [37, 12] Generated Node #0,0,3: 47:[37, 12] Operation: 45-33=12 Exploring Operation: 37-33=4, Resulting Numbers: [45, 4] Generated Node #0,0,4: 47:[45, 4] Operation: 37-33=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[45, 70], Operations: ['11+34=45', '33+37=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,47 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,47 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: 47:[37, 78], Operations: ['11+34=45', '33+45=78'] Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,47 unequal: No Solution Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,47 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: 47:[37, 12], Operations: ['11+34=45', '45-33=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,47 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: 47:[45, 4], Operations: ['11+34=45', '37-33=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,47 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: 47:[33, 82], Operations: ['11+34=45', '37+45=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,47 unequal: No Solution Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,47 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: 47:[34, 37, 44], Operations: ['33+11=44'] Exploring Operation: 44-34=10, Resulting Numbers: [37, 10] Generated Node #0,1,0: 47:[37, 10] Operation: 44-34=10 Exploring Operation: 37-34=3, Resulting Numbers: [44, 3] Generated Node #0,1,1: 47:[44, 3] Operation: 37-34=3 Exploring Operation: 37+44=81, Resulting Numbers: [34, 81] Generated Node #0,1,2: 47:[34, 81] Operation: 37+44=81 Exploring Operation: 34+37=71, Resulting Numbers: [44, 71] Generated Node #0,1,3: 47:[44, 71] Operation: 34+37=71 Exploring Operation: 34+44=78, Resulting Numbers: [37, 78] Generated Node #0,1,4: 47:[37, 78] Operation: 34+44=78 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[44, 71], Operations: ['33+11=44', '34+37=71'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 44*71=3124, Resulting Numbers: [3124] 3124,47 unequal: No Solution Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,47 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: 47:[37, 78], Operations: ['33+11=44', '34+44=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,47 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: 47:[37, 10], Operations: ['33+11=44', '44-34=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[33, 11, 34, 37], Operations: [] Exploring Operation: 33+11=44, Resulting Numbers: [34, 37, 44] Generated Node #0,1: 47:[34, 37, 44] Operation: 33+11=44 Moving to Node #0,1 Current State: 47:[34, 37, 44], Operations: ['33+11=44'] Exploring Operation: 44-34=10, Resulting Numbers: [37, 10] Generated Node #0,1,0: 47:[37, 10] Operation: 44-34=10 Moving to Node #0,1,0 Current State: 47:[37, 10], Operations: ['33+11=44', '44-34=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 8, 50, 29, 79 ]
77
[ "8+50=58", "58/29=2", "79-2=77" ]
Current State: 77:[8, 50, 29, 79], Operations: [] Exploring Operation: 8+50=58, Resulting Numbers: [29, 79, 58] Generated Node #2: [29, 79, 58] from Operation: 8+50=58 Current State: 77:[29, 79, 58], Operations: ['8+50=58'] Exploring Operation: 58/29=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 58/29=2 Current State: 77:[79, 2], Operations: ['8+50=58', '58/29=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[8, 50, 29, 79], Operations: [] Exploring Operation: 50+29=79, Resulting Numbers: [8, 79, 79] Generated Node #0,0: 77:[8, 79, 79] Operation: 50+29=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[8, 79, 79], Operations: ['50+29=79'] Exploring Operation: 79/79=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 77:[8, 1] Operation: 79/79=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[8, 1], Operations: ['50+29=79', '79/79=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,77 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
[ 87, 38, 29, 27 ]
51
[ "87-38=49", "29-27=2", "49+2=51" ]
Current State: 51:[87, 38, 29, 27], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [29, 27, 49] Generated Node #2: [29, 27, 49] from Operation: 87-38=49 Current State: 51:[29, 27, 49], Operations: ['87-38=49'] Exploring Operation: 29-27=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 29-27=2 Current State: 51:[49, 2], Operations: ['87-38=49', '29-27=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 38, 29, 27], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [38, 27, 58] Generated Node #0,0: 51:[38, 27, 58] Operation: 87-29=58 Exploring Operation: 29-27=2, Resulting Numbers: [87, 38, 2] Generated Node #0,1: 51:[87, 38, 2] Operation: 29-27=2 Exploring Operation: 87-27=60, Resulting Numbers: [38, 29, 60] Generated Node #0,2: 51:[38, 29, 60] Operation: 87-27=60 Exploring Operation: 87/29=3, Resulting Numbers: [38, 27, 3] Generated Node #0,3: 51:[38, 27, 3] Operation: 87/29=3 Exploring Operation: 87-38=49, Resulting Numbers: [29, 27, 49] Generated Node #0,4: 51:[29, 27, 49] Operation: 87-38=49 Moving to Node #0,3 Current State: 51:[38, 27, 3], Operations: ['87/29=3'] Exploring Operation: 27-3=24, Resulting Numbers: [38, 24] Generated Node #0,3,0: 51:[38, 24] Operation: 27-3=24 Exploring Operation: 38-27=11, Resulting Numbers: [3, 11] Generated Node #0,3,1: 51:[3, 11] Operation: 38-27=11 Exploring Operation: 27/3=9, Resulting Numbers: [38, 9] Generated Node #0,3,2: 51:[38, 9] Operation: 27/3=9 Exploring Operation: 38+3=41, Resulting Numbers: [27, 41] Generated Node #0,3,3: 51:[27, 41] Operation: 38+3=41 Exploring Operation: 38+27=65, Resulting Numbers: [3, 65] Generated Node #0,3,4: 51:[3, 65] Operation: 38+27=65 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[3, 11], Operations: ['87/29=3', '38-27=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,51 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: 51:[3, 65], Operations: ['87/29=3', '38+27=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,51 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: 51:[38, 9], Operations: ['87/29=3', '27/3=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,51 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: 51:[38, 24], Operations: ['87/29=3', '27-3=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,51 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: 51:[27, 41], Operations: ['87/29=3', '38+3=41'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,51 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,51 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: 51:[29, 27, 49], Operations: ['87-38=49'] Exploring Operation: 49-27=22, Resulting Numbers: [29, 22] Generated Node #0,4,0: 51:[29, 22] Operation: 49-27=22 Exploring Operation: 29+27=56, Resulting Numbers: [49, 56] Generated Node #0,4,1: 51:[49, 56] Operation: 29+27=56 Exploring Operation: 29-27=2, Resulting Numbers: [49, 2] Generated Node #0,4,2: 51:[49, 2] Operation: 29-27=2 Exploring Operation: 49-29=20, Resulting Numbers: [27, 20] Generated Node #0,4,3: 51:[27, 20] Operation: 49-29=20 Exploring Operation: 29+49=78, Resulting Numbers: [27, 78] Generated Node #0,4,4: 51:[27, 78] Operation: 29+49=78 Moving to Node #0,0 Current State: 51:[38, 27, 58], Operations: ['87-29=58'] Exploring Operation: 27+58=85, Resulting Numbers: [38, 85] Generated Node #0,0,0: 51:[38, 85] Operation: 27+58=85 Exploring Operation: 58-27=31, Resulting Numbers: [38, 31] Generated Node #0,0,1: 51:[38, 31] Operation: 58-27=31 Exploring Operation: 38+27=65, Resulting Numbers: [58, 65] Generated Node #0,0,2: 51:[58, 65] Operation: 38+27=65 Exploring Operation: 38-27=11, Resulting Numbers: [58, 11] Generated Node #0,0,3: 51:[58, 11] Operation: 38-27=11 Exploring Operation: 58-38=20, Resulting Numbers: [27, 20] Generated Node #0,0,4: 51:[27, 20] Operation: 58-38=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[58, 11], Operations: ['87-29=58', '38-27=11'] Exploring Operation: 58*11=638, Resulting Numbers: [638] 638,51 unequal: No Solution Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,51 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: 51:[27, 20], Operations: ['87-29=58', '58-38=20'] Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,51 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,51 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: 51:[58, 65], Operations: ['87-29=58', '38+27=65'] Exploring Operation: 58+65=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 65-58=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 58*65=3770, Resulting Numbers: [3770] 3770,51 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: 51:[38, 31], Operations: ['87-29=58', '58-27=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,51 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,51 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: 51:[38, 85], Operations: ['87-29=58', '27+58=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 38*85=3230, Resulting Numbers: [3230] 3230,51 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: 51:[38, 29, 60], Operations: ['87-27=60'] Exploring Operation: 38+29=67, Resulting Numbers: [60, 67] Generated Node #0,2,0: 51:[60, 67] Operation: 38+29=67 Exploring Operation: 29+60=89, Resulting Numbers: [38, 89] Generated Node #0,2,1: 51:[38, 89] Operation: 29+60=89 Exploring Operation: 60-38=22, Resulting Numbers: [29, 22] Generated Node #0,2,2: 51:[29, 22] Operation: 60-38=22 Exploring Operation: 60-29=31, Resulting Numbers: [38, 31] Generated Node #0,2,3: 51:[38, 31] Operation: 60-29=31 Exploring Operation: 38-29=9, Resulting Numbers: [60, 9] Generated Node #0,2,4: 51:[60, 9] Operation: 38-29=9 Moving to Node #0,1 Current State: 51:[87, 38, 2], Operations: ['29-27=2'] Exploring Operation: 87+2=89, Resulting Numbers: [38, 89] Generated Node #0,1,0: 51:[38, 89] Operation: 87+2=89 Exploring Operation: 38+2=40, Resulting Numbers: [87, 40] Generated Node #0,1,1: 51:[87, 40] Operation: 38+2=40 Exploring Operation: 87-38=49, Resulting Numbers: [2, 49] Generated Node #0,1,2: 51:[2, 49] Operation: 87-38=49 Exploring Operation: 38/2=19, Resulting Numbers: [87, 19] Generated Node #0,1,3: 51:[87, 19] Operation: 38/2=19 Exploring Operation: 87-2=85, Resulting Numbers: [38, 85] Generated Node #0,1,4: 51:[38, 85] Operation: 87-2=85 Moving to Node #0,4,2 Current State: 51:[49, 2], Operations: ['87-38=49', '29-27=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 38, 29, 27], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [29, 27, 49] Generated Node #0,4: 51:[29, 27, 49] Operation: 87-38=49 Moving to Node #0,4 Current State: 51:[29, 27, 49], Operations: ['87-38=49'] Exploring Operation: 29-27=2, Resulting Numbers: [49, 2] Generated Node #0,4,2: 51:[49, 2] Operation: 29-27=2 Moving to Node #0,4,2 Current State: 51:[49, 2], Operations: ['87-38=49', '29-27=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 13, 25, 5, 21 ]
91
[ "13+21=34", "25*5=125", "125-34=91" ]
Current State: 91:[13, 25, 5, 21], Operations: [] Exploring Operation: 13+21=34, Resulting Numbers: [25, 5, 34] Generated Node #2: [25, 5, 34] from Operation: 13+21=34 Current State: 91:[25, 5, 34], Operations: ['13+21=34'] Exploring Operation: 25*5=125, Resulting Numbers: [34, 125] Generated Node #3: [34, 125] from Operation: 25*5=125 Current State: 91:[34, 125], Operations: ['13+21=34', '25*5=125'] Exploring Operation: 125-34=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[13, 25, 5, 21], Operations: [] Exploring Operation: 25-13=12, Resulting Numbers: [5, 21, 12] Generated Node #0,0: 91:[5, 21, 12] Operation: 25-13=12 Exploring Operation: 25-21=4, Resulting Numbers: [13, 5, 4] Generated Node #0,1: 91:[13, 5, 4] Operation: 25-21=4 Exploring Operation: 25/5=5, Resulting Numbers: [13, 21, 5] Generated Node #0,2: 91:[13, 21, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[13, 5, 4], Operations: ['25-21=4'] Exploring Operation: 13-4=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 91:[5, 9] Operation: 13-4=9 Exploring Operation: 5+4=9, Resulting Numbers: [13, 9] Generated Node #0,1,1: 91:[13, 9] Operation: 5+4=9 Exploring Operation: 13-5=8, Resulting Numbers: [4, 8] Generated Node #0,1,2: 91:[4, 8] Operation: 13-5=8 Moving to Node #0,1,1 Current State: 91:[13, 9], Operations: ['25-21=4', '5+4=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[5, 9], Operations: ['25-21=4', '13-4=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[4, 8], Operations: ['25-21=4', '13-5=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,91 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: 91:[13, 21, 5], Operations: ['25/5=5'] Exploring Operation: 13-5=8, Resulting Numbers: [21, 8] Generated Node #0,2,0: 91:[21, 8] Operation: 13-5=8 Exploring Operation: 21-5=16, Resulting Numbers: [13, 16] Generated Node #0,2,1: 91:[13, 16] Operation: 21-5=16 Exploring Operation: 21-13=8, Resulting Numbers: [5, 8] Generated Node #0,2,2: 91:[5, 8] Operation: 21-13=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[13, 16], Operations: ['25/5=5', '21-5=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,91 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,91 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: 91:[5, 8], Operations: ['25/5=5', '21-13=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,91 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: 91:[21, 8], Operations: ['25/5=5', '13-5=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,91 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: 91:[5, 21, 12], Operations: ['25-13=12'] Exploring Operation: 21-5=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 91:[12, 16] Operation: 21-5=16 Exploring Operation: 12-5=7, Resulting Numbers: [21, 7] Generated Node #0,0,1: 91:[21, 7] Operation: 12-5=7 Exploring Operation: 21-12=9, Resulting Numbers: [5, 9] Generated Node #0,0,2: 91:[5, 9] Operation: 21-12=9 Moving to Node #0,0,0 Current State: 91:[12, 16], Operations: ['25-13=12', '21-5=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[5, 9], Operations: ['25-13=12', '21-12=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[21, 7], Operations: ['25-13=12', '12-5=7'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 79, 52, 44, 46 ]
53
[ "46-44=2", "52/2=26", "79-26=53" ]
Current State: 53:[79, 52, 44, 46], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [79, 52, 2] Generated Node #2: [79, 52, 2] from Operation: 46-44=2 Current State: 53:[79, 52, 2], Operations: ['46-44=2'] Exploring Operation: 52/2=26, Resulting Numbers: [79, 26] Generated Node #3: [79, 26] from Operation: 52/2=26 Current State: 53:[79, 26], Operations: ['46-44=2', '52/2=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[79, 52, 44, 46], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [52, 46, 35] Generated Node #0,0: 53:[52, 46, 35] Operation: 79-44=35 Moving to Node #0,0 Current State: 53:[52, 46, 35], Operations: ['79-44=35'] Exploring Operation: 46+35=81, Resulting Numbers: [52, 81] Generated Node #0,0,0: 53:[52, 81] Operation: 46+35=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[52, 81], Operations: ['79-44=35', '46+35=81'] Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,53 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
[ 80, 2, 60, 15 ]
86
[ "80+2=82", "60/15=4", "82+4=86" ]
Current State: 86:[80, 2, 60, 15], Operations: [] Exploring Operation: 80+2=82, Resulting Numbers: [60, 15, 82] Generated Node #2: [60, 15, 82] from Operation: 80+2=82 Current State: 86:[60, 15, 82], Operations: ['80+2=82'] Exploring Operation: 60/15=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 60/15=4 Current State: 86:[82, 4], Operations: ['80+2=82', '60/15=4'] Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 2, 60, 15], Operations: [] Exploring Operation: 60+15=75, Resulting Numbers: [80, 2, 75] Generated Node #0,0: 86:[80, 2, 75] Operation: 60+15=75 Exploring Operation: 60-15=45, Resulting Numbers: [80, 2, 45] Generated Node #0,1: 86:[80, 2, 45] Operation: 60-15=45 Exploring Operation: 80+15=95, Resulting Numbers: [2, 60, 95] Generated Node #0,2: 86:[2, 60, 95] Operation: 80+15=95 Exploring Operation: 60/15=4, Resulting Numbers: [80, 2, 4] Generated Node #0,3: 86:[80, 2, 4] Operation: 60/15=4 Exploring Operation: 80-60=20, Resulting Numbers: [2, 15, 20] Generated Node #0,4: 86:[2, 15, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[80, 2, 45], Operations: ['60-15=45'] Exploring Operation: 80-45=35, Resulting Numbers: [2, 35] Generated Node #0,1,0: 86:[2, 35] Operation: 80-45=35 Exploring Operation: 80/2=40, Resulting Numbers: [45, 40] Generated Node #0,1,1: 86:[45, 40] Operation: 80/2=40 Exploring Operation: 80+2=82, Resulting Numbers: [45, 82] Generated Node #0,1,2: 86:[45, 82] Operation: 80+2=82 Exploring Operation: 45-2=43, Resulting Numbers: [80, 43] Generated Node #0,1,3: 86:[80, 43] Operation: 45-2=43 Exploring Operation: 80-2=78, Resulting Numbers: [45, 78] Generated Node #0,1,4: 86:[45, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[45, 40], Operations: ['60-15=45', '80/2=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,86 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,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,2 Current State: 86:[45, 82], Operations: ['60-15=45', '80+2=82'] Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,86 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,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,3 Current State: 86:[80, 43], Operations: ['60-15=45', '45-2=43'] Exploring Operation: 80+43=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 80*43=3440, Resulting Numbers: [3440] 3440,86 unequal: No Solution Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,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,0 Current State: 86:[2, 35], Operations: ['60-15=45', '80-45=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,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,4 Current State: 86:[45, 78], Operations: ['60-15=45', '80-2=78'] Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 45+78=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 45*78=3510, Resulting Numbers: [3510] 3510,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,3 Current State: 86:[80, 2, 4], Operations: ['60/15=4'] Exploring Operation: 80+2=82, Resulting Numbers: [4, 82] Generated Node #0,3,0: 86:[4, 82] Operation: 80+2=82 Exploring Operation: 80/2=40, Resulting Numbers: [4, 40] Generated Node #0,3,1: 86:[4, 40] Operation: 80/2=40 Exploring Operation: 4/2=2, Resulting Numbers: [80, 2] Generated Node #0,3,2: 86:[80, 2] Operation: 4/2=2 Exploring Operation: 80+4=84, Resulting Numbers: [2, 84] Generated Node #0,3,3: 86:[2, 84] Operation: 80+4=84 Exploring Operation: 4-2=2, Resulting Numbers: [80, 2] Generated Node #0,3,4: 86:[80, 2] Operation: 4-2=2 Moving to Node #0,3,3 Current State: 86:[2, 84], Operations: ['60/15=4', '80+4=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 2, 60, 15], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [80, 2, 4] Generated Node #0,3: 86:[80, 2, 4] Operation: 60/15=4 Moving to Node #0,3 Current State: 86:[80, 2, 4], Operations: ['60/15=4'] Exploring Operation: 80+4=84, Resulting Numbers: [2, 84] Generated Node #0,3,3: 86:[2, 84] Operation: 80+4=84 Moving to Node #0,3,3 Current State: 86:[2, 84], Operations: ['60/15=4', '80+4=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 56, 2, 73, 14 ]
45
[ "73-56=17", "2*14=28", "17+28=45" ]
Current State: 45:[56, 2, 73, 14], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [2, 14, 17] Generated Node #2: [2, 14, 17] from Operation: 73-56=17 Current State: 45:[2, 14, 17], Operations: ['73-56=17'] Exploring Operation: 2*14=28, Resulting Numbers: [17, 28] Generated Node #3: [17, 28] from Operation: 2*14=28 Current State: 45:[17, 28], Operations: ['73-56=17', '2*14=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[56, 2, 73, 14], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [56, 2, 59] Generated Node #0,0: 45:[56, 2, 59] Operation: 73-14=59 Exploring Operation: 73-56=17, Resulting Numbers: [2, 14, 17] Generated Node #0,1: 45:[2, 14, 17] Operation: 73-56=17 Moving to Node #0,1 Current State: 45:[2, 14, 17], Operations: ['73-56=17'] Exploring Operation: 17-14=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 45:[2, 3] Operation: 17-14=3 Exploring Operation: 17-2=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 45:[14, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[2, 3], Operations: ['73-56=17', '17-14=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 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: 45:[14, 15], Operations: ['73-56=17', '17-2=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,45 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: 45:[56, 2, 59], Operations: ['73-14=59'] Exploring Operation: 56-2=54, Resulting Numbers: [59, 54] Generated Node #0,0,0: 45:[59, 54] Operation: 56-2=54 Exploring Operation: 59-56=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 45:[2, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[2, 3], Operations: ['73-14=59', '59-56=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,45 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: 45:[59, 54], Operations: ['73-14=59', '56-2=54'] Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,45 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
[ 95, 18, 9, 5 ]
68
[ "95+18=113", "9*5=45", "113-45=68" ]
Current State: 68:[95, 18, 9, 5], Operations: [] Exploring Operation: 95+18=113, Resulting Numbers: [9, 5, 113] Generated Node #2: [9, 5, 113] from Operation: 95+18=113 Current State: 68:[9, 5, 113], Operations: ['95+18=113'] Exploring Operation: 9*5=45, Resulting Numbers: [113, 45] Generated Node #3: [113, 45] from Operation: 9*5=45 Current State: 68:[113, 45], Operations: ['95+18=113', '9*5=45'] Exploring Operation: 113-45=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[95, 18, 9, 5], Operations: [] Exploring Operation: 95-5=90, Resulting Numbers: [18, 9, 90] Generated Node #0,0: 68:[18, 9, 90] Operation: 95-5=90 Exploring Operation: 95/5=19, Resulting Numbers: [18, 9, 19] Generated Node #0,1: 68:[18, 9, 19] Operation: 95/5=19 Exploring Operation: 95-9=86, Resulting Numbers: [18, 5, 86] Generated Node #0,2: 68:[18, 5, 86] Operation: 95-9=86 Exploring Operation: 95-18=77, Resulting Numbers: [9, 5, 77] Generated Node #0,3: 68:[9, 5, 77] Operation: 95-18=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[18, 9, 19], Operations: ['95/5=19'] Exploring Operation: 18/9=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 68:[19, 2] Operation: 18/9=2 Exploring Operation: 9+19=28, Resulting Numbers: [18, 28] Generated Node #0,1,1: 68:[18, 28] Operation: 9+19=28 Exploring Operation: 18-9=9, Resulting Numbers: [19, 9] Generated Node #0,1,2: 68:[19, 9] Operation: 18-9=9 Exploring Operation: 19-18=1, Resulting Numbers: [9, 1] Generated Node #0,1,3: 68:[9, 1] Operation: 19-18=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[19, 2], Operations: ['95/5=19', '18/9=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,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,1,3 Current State: 68:[9, 1], Operations: ['95/5=19', '19-18=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,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,1,1 Current State: 68:[18, 28], Operations: ['95/5=19', '9+19=28'] Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,68 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,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,1,2 Current State: 68:[19, 9], Operations: ['95/5=19', '18-9=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,68 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,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,3 Current State: 68:[9, 5, 77], Operations: ['95-18=77'] Exploring Operation: 77-9=68, Resulting Numbers: [5, 68] Generated Node #0,3,0: 68:[5, 68] Operation: 77-9=68 Exploring Operation: 9+5=14, Resulting Numbers: [77, 14] Generated Node #0,3,1: 68:[77, 14] Operation: 9+5=14 Exploring Operation: 9-5=4, Resulting Numbers: [77, 4] Generated Node #0,3,2: 68:[77, 4] Operation: 9-5=4 Exploring Operation: 77-5=72, Resulting Numbers: [9, 72] Generated Node #0,3,3: 68:[9, 72] Operation: 77-5=72 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[5, 68], Operations: ['95-18=77', '77-9=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,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:[77, 4], Operations: ['95-18=77', '9-5=4'] Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,68 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,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,3 Current State: 68:[9, 72], Operations: ['95-18=77', '77-5=72'] Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,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:[77, 14], Operations: ['95-18=77', '9+5=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,68 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,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,2 Current State: 68:[18, 5, 86], Operations: ['95-9=86'] Exploring Operation: 86-18=68, Resulting Numbers: [5, 68] Generated Node #0,2,0: 68:[5, 68] Operation: 86-18=68 Exploring Operation: 18+5=23, Resulting Numbers: [86, 23] Generated Node #0,2,1: 68:[86, 23] Operation: 18+5=23 Exploring Operation: 86-5=81, Resulting Numbers: [18, 81] Generated Node #0,2,2: 68:[18, 81] Operation: 86-5=81 Exploring Operation: 18-5=13, Resulting Numbers: [86, 13] Generated Node #0,2,3: 68:[86, 13] Operation: 18-5=13 Moving to Node #0,2,0 Current State: 68:[5, 68], Operations: ['95-9=86', '86-18=68'] Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,68 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[18, 81], Operations: ['95-9=86', '86-5=81'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,68 unequal: No Solution Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[86, 13], Operations: ['95-9=86', '18-5=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[86, 23], Operations: ['95-9=86', '18+5=23'] Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,68 unequal: No Solution Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,68 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,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 Current State: 68:[18, 9, 90], Operations: ['95-5=90'] Exploring Operation: 90/9=10, Resulting Numbers: [18, 10] Generated Node #0,0,0: 68:[18, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [18, 81] Generated Node #0,0,1: 68:[18, 81] Operation: 90-9=81 Exploring Operation: 90-18=72, Resulting Numbers: [9, 72] Generated Node #0,0,2: 68:[9, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [9, 5] Generated Node #0,0,3: 68:[9, 5] Operation: 90/18=5 Moving to Node #0,0,3 Current State: 68:[9, 5], Operations: ['95-5=90', '90/18=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[18, 10], Operations: ['95-5=90', '90/9=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[9, 72], Operations: ['95-5=90', '90-18=72'] Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,68 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[18, 81], Operations: ['95-5=90', '90-9=81'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,68 unequal: No Solution Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,68 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
[ 11, 96, 17, 36 ]
60
[ "11*96=1056", "1056-36=1020", "1020/17=60" ]
Current State: 60:[11, 96, 17, 36], Operations: [] Exploring Operation: 11*96=1056, Resulting Numbers: [17, 36, 1056] Generated Node #2: [17, 36, 1056] from Operation: 11*96=1056 Current State: 60:[17, 36, 1056], Operations: ['11*96=1056'] Exploring Operation: 1056-36=1020, Resulting Numbers: [17, 1020] Generated Node #3: [17, 1020] from Operation: 1056-36=1020 Current State: 60:[17, 1020], Operations: ['11*96=1056', '1056-36=1020'] Exploring Operation: 1020/17=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[11, 96, 17, 36], Operations: [] Exploring Operation: 96-17=79, Resulting Numbers: [11, 36, 79] Generated Node #0,0: 60:[11, 36, 79] Operation: 96-17=79 Exploring Operation: 17-11=6, Resulting Numbers: [96, 36, 6] Generated Node #0,1: 60:[96, 36, 6] Operation: 17-11=6 Exploring Operation: 96-36=60, Resulting Numbers: [11, 17, 60] Generated Node #0,2: 60:[11, 17, 60] Operation: 96-36=60 Exploring Operation: 96-11=85, Resulting Numbers: [17, 36, 85] Generated Node #0,3: 60:[17, 36, 85] Operation: 96-11=85 Exploring Operation: 36-17=19, Resulting Numbers: [11, 96, 19] Generated Node #0,4: 60:[11, 96, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[11, 17, 60], Operations: ['96-36=60'] Exploring Operation: 11+60=71, Resulting Numbers: [17, 71] Generated Node #0,2,0: 60:[17, 71] Operation: 11+60=71 Exploring Operation: 11+17=28, Resulting Numbers: [60, 28] Generated Node #0,2,1: 60:[60, 28] Operation: 11+17=28 Exploring Operation: 60-11=49, Resulting Numbers: [17, 49] Generated Node #0,2,2: 60:[17, 49] Operation: 60-11=49 Exploring Operation: 60-17=43, Resulting Numbers: [11, 43] Generated Node #0,2,3: 60:[11, 43] Operation: 60-17=43 Exploring Operation: 17-11=6, Resulting Numbers: [60, 6] Generated Node #0,2,4: 60:[60, 6] Operation: 17-11=6 Moving to Node #0,2,4 Current State: 60:[60, 6], Operations: ['96-36=60', '17-11=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,60 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[60, 28], Operations: ['96-36=60', '11+17=28'] Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,60 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[17, 71], Operations: ['96-36=60', '11+60=71'] Exploring Operation: 17*71=1207, Resulting Numbers: [1207] 1207,60 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 17+71=88, Resulting Numbers: [88] 88,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[17, 49], Operations: ['96-36=60', '60-11=49'] Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,60 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[11, 43], Operations: ['96-36=60', '60-17=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,60 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,60 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: 60:[11, 36, 79], Operations: ['96-17=79'] Exploring Operation: 36-11=25, Resulting Numbers: [79, 25] Generated Node #0,0,0: 60:[79, 25] Operation: 36-11=25 Exploring Operation: 11+36=47, Resulting Numbers: [79, 47] Generated Node #0,0,1: 60:[79, 47] Operation: 11+36=47 Exploring Operation: 79-36=43, Resulting Numbers: [11, 43] Generated Node #0,0,2: 60:[11, 43] Operation: 79-36=43 Exploring Operation: 79-11=68, Resulting Numbers: [36, 68] Generated Node #0,0,3: 60:[36, 68] Operation: 79-11=68 Exploring Operation: 11+79=90, Resulting Numbers: [36, 90] Generated Node #0,0,4: 60:[36, 90] Operation: 11+79=90 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[11, 43], Operations: ['96-17=79', '79-36=43'] Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,60 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,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,3 Current State: 60:[36, 68], Operations: ['96-17=79', '79-11=68'] Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,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,0 Current State: 60:[79, 25], Operations: ['96-17=79', '36-11=25'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,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:[79, 47], Operations: ['96-17=79', '11+36=47'] Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 79*47=3713, Resulting Numbers: [3713] 3713,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,4 Current State: 60:[36, 90], Operations: ['96-17=79', '11+79=90'] Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,60 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,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,3 Current State: 60:[17, 36, 85], Operations: ['96-11=85'] Exploring Operation: 17+36=53, Resulting Numbers: [85, 53] Generated Node #0,3,0: 60:[85, 53] Operation: 17+36=53 Exploring Operation: 36-17=19, Resulting Numbers: [85, 19] Generated Node #0,3,1: 60:[85, 19] Operation: 36-17=19 Exploring Operation: 85-17=68, Resulting Numbers: [36, 68] Generated Node #0,3,2: 60:[36, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [36, 5] Generated Node #0,3,3: 60:[36, 5] Operation: 85/17=5 Exploring Operation: 85-36=49, Resulting Numbers: [17, 49] Generated Node #0,3,4: 60:[17, 49] Operation: 85-36=49 Moving to Node #0,3,3 Current State: 60:[36, 5], Operations: ['96-11=85', '85/17=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[17, 49], Operations: ['96-11=85', '85-36=49'] Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,60 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[36, 68], Operations: ['96-11=85', '85-17=68'] Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,60 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[85, 19], Operations: ['96-11=85', '36-17=19'] Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,60 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[85, 53], Operations: ['96-11=85', '17+36=53'] Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,60 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,60 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: 60:[11, 96, 19], Operations: ['36-17=19'] Exploring Operation: 96-19=77, Resulting Numbers: [11, 77] Generated Node #0,4,0: 60:[11, 77] Operation: 96-19=77 Exploring Operation: 96-11=85, Resulting Numbers: [19, 85] Generated Node #0,4,1: 60:[19, 85] Operation: 96-11=85 Exploring Operation: 19-11=8, Resulting Numbers: [96, 8] Generated Node #0,4,2: 60:[96, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [96, 30] Generated Node #0,4,3: 60:[96, 30] Operation: 11+19=30 Exploring Operation: 11+96=107, Resulting Numbers: [19, 107] Generated Node #0,4,4: 60:[19, 107] Operation: 11+96=107 Moving to Node #0,4,0 Current State: 60:[11, 77], Operations: ['36-17=19', '96-19=77'] Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,60 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[19, 85], Operations: ['36-17=19', '96-11=85'] Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,60 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[96, 30], Operations: ['36-17=19', '11+19=30'] Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,60 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[96, 8], Operations: ['36-17=19', '19-11=8'] Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,60 unequal: No Solution Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[19, 107], Operations: ['36-17=19', '11+96=107'] Exploring Operation: 19+107=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 107-19=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 19*107=2033, Resulting Numbers: [2033] 2033,60 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: 60:[96, 36, 6], Operations: ['17-11=6'] Exploring Operation: 96-36=60, Resulting Numbers: [6, 60] Generated Node #0,1,0: 60:[6, 60] Operation: 96-36=60 Exploring Operation: 96/6=16, Resulting Numbers: [36, 16] Generated Node #0,1,1: 60:[36, 16] Operation: 96/6=16 Exploring Operation: 36-6=30, Resulting Numbers: [96, 30] Generated Node #0,1,2: 60:[96, 30] Operation: 36-6=30 Exploring Operation: 96-6=90, Resulting Numbers: [36, 90] Generated Node #0,1,3: 60:[36, 90] Operation: 96-6=90 Exploring Operation: 36/6=6, Resulting Numbers: [96, 6] Generated Node #0,1,4: 60:[96, 6] Operation: 36/6=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[6, 60], Operations: ['17-11=6', '96-36=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,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,1,1 Current State: 60:[36, 16], Operations: ['17-11=6', '96/6=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,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,1,2 Current State: 60:[96, 30], Operations: ['17-11=6', '36-6=30'] Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,60 unequal: No Solution Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,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,1,3 Current State: 60:[36, 90], Operations: ['17-11=6', '96-6=90'] Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,60 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,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,1,4 Current State: 60:[96, 6], Operations: ['17-11=6', '36/6=6'] Exploring Operation: 96*6=576, Resulting Numbers: [576] 576,60 unequal: No Solution Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 96+6=102, Resulting Numbers: [102] 102,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_5
sum_heuristic
[ 24, 28, 34, 48 ]
40
[ "48/24=2", "34*2=68", "68-28=40" ]
Current State: 40:[24, 28, 34, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [28, 34, 2] Generated Node #2: [28, 34, 2] from Operation: 48/24=2 Current State: 40:[28, 34, 2], Operations: ['48/24=2'] Exploring Operation: 34*2=68, Resulting Numbers: [28, 68] Generated Node #3: [28, 68] from Operation: 34*2=68 Current State: 40:[28, 68], Operations: ['48/24=2', '34*2=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[24, 28, 34, 48], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [24, 34, 20] Generated Node #0,0: 40:[24, 34, 20] Operation: 48-28=20 Moving to Node #0,0 Current State: 40:[24, 34, 20], Operations: ['48-28=20'] Exploring Operation: 34-24=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 40:[20, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[20, 10], Operations: ['48-28=20', '34-24=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,40 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
[ 6, 31, 26, 65 ]
76
[ "6+31=37", "65-26=39", "37+39=76" ]
Current State: 76:[6, 31, 26, 65], Operations: [] Exploring Operation: 6+31=37, Resulting Numbers: [26, 65, 37] Generated Node #2: [26, 65, 37] from Operation: 6+31=37 Current State: 76:[26, 65, 37], Operations: ['6+31=37'] Exploring Operation: 65-26=39, Resulting Numbers: [37, 39] Generated Node #3: [37, 39] from Operation: 65-26=39 Current State: 76:[37, 39], Operations: ['6+31=37', '65-26=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[6, 31, 26, 65], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [6, 31, 39] Generated Node #0,0: 76:[6, 31, 39] Operation: 65-26=39 Exploring Operation: 65-31=34, Resulting Numbers: [6, 26, 34] Generated Node #0,1: 76:[6, 26, 34] Operation: 65-31=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[6, 31, 39], Operations: ['65-26=39'] Exploring Operation: 39-31=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 76:[6, 8] Operation: 39-31=8 Exploring Operation: 6+31=37, Resulting Numbers: [39, 37] Generated Node #0,0,1: 76:[39, 37] Operation: 6+31=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[39, 37], Operations: ['65-26=39', '6+31=37'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[6, 31, 26, 65], Operations: [] Exploring Operation: 65-26=39, Resulting Numbers: [6, 31, 39] Generated Node #0,0: 76:[6, 31, 39] Operation: 65-26=39 Moving to Node #0,0 Current State: 76:[6, 31, 39], Operations: ['65-26=39'] Exploring Operation: 6+31=37, Resulting Numbers: [39, 37] Generated Node #0,0,1: 76:[39, 37] Operation: 6+31=37 Moving to Node #0,0,1 Current State: 76:[39, 37], Operations: ['65-26=39', '6+31=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 14, 53, 32, 51 ]
23
[ "14+32=46", "53-51=2", "46/2=23" ]
Current State: 23:[14, 53, 32, 51], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [53, 51, 46] Generated Node #2: [53, 51, 46] from Operation: 14+32=46 Current State: 23:[53, 51, 46], Operations: ['14+32=46'] Exploring Operation: 53-51=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 53-51=2 Current State: 23:[46, 2], Operations: ['14+32=46', '53-51=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[14, 53, 32, 51], Operations: [] Exploring Operation: 53-32=21, Resulting Numbers: [14, 51, 21] Generated Node #0,0: 23:[14, 51, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[14, 51, 21], Operations: ['53-32=21'] Exploring Operation: 51-14=37, Resulting Numbers: [21, 37] Generated Node #0,0,0: 23:[21, 37] Operation: 51-14=37 Moving to Node #0,0,0 Current State: 23:[21, 37], Operations: ['53-32=21', '51-14=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,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
sum_heuristic
[ 88, 37, 59, 1 ]
66
[ "88+37=125", "59*1=59", "125-59=66" ]
Current State: 66:[88, 37, 59, 1], Operations: [] Exploring Operation: 88+37=125, Resulting Numbers: [59, 1, 125] Generated Node #2: [59, 1, 125] from Operation: 88+37=125 Current State: 66:[59, 1, 125], Operations: ['88+37=125'] Exploring Operation: 59*1=59, Resulting Numbers: [125, 59] Generated Node #3: [125, 59] from Operation: 59*1=59 Current State: 66:[125, 59], Operations: ['88+37=125', '59*1=59'] Exploring Operation: 125-59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[88, 37, 59, 1], Operations: [] Exploring Operation: 88-1=87, Resulting Numbers: [37, 59, 87] Generated Node #0,0: 66:[37, 59, 87] Operation: 88-1=87 Exploring Operation: 88-59=29, Resulting Numbers: [37, 1, 29] Generated Node #0,1: 66:[37, 1, 29] Operation: 88-59=29 Exploring Operation: 59-37=22, Resulting Numbers: [88, 1, 22] Generated Node #0,2: 66:[88, 1, 22] Operation: 59-37=22 Exploring Operation: 88-37=51, Resulting Numbers: [59, 1, 51] Generated Node #0,3: 66:[59, 1, 51] Operation: 88-37=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[37, 1, 29], Operations: ['88-59=29'] Exploring Operation: 37+29=66, Resulting Numbers: [1, 66] Generated Node #0,1,0: 66:[1, 66] Operation: 37+29=66 Exploring Operation: 37-1=36, Resulting Numbers: [29, 36] Generated Node #0,1,1: 66:[29, 36] Operation: 37-1=36 Exploring Operation: 1+29=30, Resulting Numbers: [37, 30] Generated Node #0,1,2: 66:[37, 30] Operation: 1+29=30 Exploring Operation: 37-29=8, Resulting Numbers: [1, 8] Generated Node #0,1,3: 66:[1, 8] Operation: 37-29=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[1, 66], Operations: ['88-59=29', '37+29=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[88, 37, 59, 1], Operations: [] Exploring Operation: 88-59=29, Resulting Numbers: [37, 1, 29] Generated Node #0,1: 66:[37, 1, 29] Operation: 88-59=29 Moving to Node #0,1 Current State: 66:[37, 1, 29], Operations: ['88-59=29'] Exploring Operation: 37+29=66, Resulting Numbers: [1, 66] Generated Node #0,1,0: 66:[1, 66] Operation: 37+29=66 Moving to Node #0,1,0 Current State: 66:[1, 66], Operations: ['88-59=29', '37+29=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 1, 73, 99, 96 ]
24
[ "73-1=72", "99-96=3", "72/3=24" ]
Current State: 24:[1, 73, 99, 96], Operations: [] Exploring Operation: 73-1=72, Resulting Numbers: [99, 96, 72] Generated Node #2: [99, 96, 72] from Operation: 73-1=72 Current State: 24:[99, 96, 72], Operations: ['73-1=72'] Exploring Operation: 99-96=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 99-96=3 Current State: 24:[72, 3], Operations: ['73-1=72', '99-96=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[1, 73, 99, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [1, 73, 3] Generated Node #0,0: 24:[1, 73, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 24:[1, 73, 3], Operations: ['99-96=3'] Exploring Operation: 73-3=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 24:[1, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[1, 70], Operations: ['99-96=3', '73-3=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,24 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
[ 93, 88, 41, 2 ]
42
[ "93+41=134", "88*2=176", "176-134=42" ]
Current State: 42:[93, 88, 41, 2], Operations: [] Exploring Operation: 93+41=134, Resulting Numbers: [88, 2, 134] Generated Node #2: [88, 2, 134] from Operation: 93+41=134 Current State: 42:[88, 2, 134], Operations: ['93+41=134'] Exploring Operation: 88*2=176, Resulting Numbers: [134, 176] Generated Node #3: [134, 176] from Operation: 88*2=176 Current State: 42:[134, 176], Operations: ['93+41=134', '88*2=176'] Exploring Operation: 176-134=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 88, 41, 2], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [41, 2, 5] Generated Node #0,0: 42:[41, 2, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[41, 2, 5], Operations: ['93-88=5'] Exploring Operation: 2+5=7, Resulting Numbers: [41, 7] Generated Node #0,0,0: 42:[41, 7] Operation: 2+5=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[41, 7], Operations: ['93-88=5', '2+5=7'] Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,42 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
[ 34, 16, 12, 97 ]
59
[ "34+16=50", "12+97=109", "109-50=59" ]
Current State: 59:[34, 16, 12, 97], Operations: [] Exploring Operation: 34+16=50, Resulting Numbers: [12, 97, 50] Generated Node #2: [12, 97, 50] from Operation: 34+16=50 Current State: 59:[12, 97, 50], Operations: ['34+16=50'] Exploring Operation: 12+97=109, Resulting Numbers: [50, 109] Generated Node #3: [50, 109] from Operation: 12+97=109 Current State: 59:[50, 109], Operations: ['34+16=50', '12+97=109'] Exploring Operation: 109-50=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[34, 16, 12, 97], Operations: [] Exploring Operation: 34+16=50, Resulting Numbers: [12, 97, 50] Generated Node #0,0: 59:[12, 97, 50] Operation: 34+16=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[12, 97, 50], Operations: ['34+16=50'] Exploring Operation: 97-12=85, Resulting Numbers: [50, 85] Generated Node #0,0,0: 59:[50, 85] Operation: 97-12=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[50, 85], Operations: ['34+16=50', '97-12=85'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,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
mult_heuristic
[ 29, 63, 7, 16 ]
54
[ "29+16=45", "63/7=9", "45+9=54" ]
Current State: 54:[29, 63, 7, 16], Operations: [] Exploring Operation: 29+16=45, Resulting Numbers: [63, 7, 45] Generated Node #2: [63, 7, 45] from Operation: 29+16=45 Current State: 54:[63, 7, 45], Operations: ['29+16=45'] Exploring Operation: 63/7=9, Resulting Numbers: [45, 9] Generated Node #3: [45, 9] from Operation: 63/7=9 Current State: 54:[45, 9], Operations: ['29+16=45', '63/7=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[29, 63, 7, 16], Operations: [] Exploring Operation: 63-7=56, Resulting Numbers: [29, 16, 56] Generated Node #0,0: 54:[29, 16, 56] Operation: 63-7=56 Exploring Operation: 63/7=9, Resulting Numbers: [29, 16, 9] Generated Node #0,1: 54:[29, 16, 9] Operation: 63/7=9 Moving to Node #0,1 Current State: 54:[29, 16, 9], Operations: ['63/7=9'] Exploring Operation: 16-9=7, Resulting Numbers: [29, 7] Generated Node #0,1,0: 54:[29, 7] Operation: 16-9=7 Exploring Operation: 29-16=13, Resulting Numbers: [9, 13] Generated Node #0,1,1: 54:[9, 13] Operation: 29-16=13 Moving to Node #0,0 Current State: 54:[29, 16, 56], Operations: ['63-7=56'] Exploring Operation: 29-16=13, Resulting Numbers: [56, 13] Generated Node #0,0,0: 54:[56, 13] Operation: 29-16=13 Exploring Operation: 56-29=27, Resulting Numbers: [16, 27] Generated Node #0,0,1: 54:[16, 27] Operation: 56-29=27 Moving to Node #0,0,1 Current State: 54:[16, 27], Operations: ['63-7=56', '56-29=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[29, 7], Operations: ['63/7=9', '16-9=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[9, 13], Operations: ['63/7=9', '29-16=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[56, 13], Operations: ['63-7=56', '29-16=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 17, 23, 49, 41 ]
15
[ "23-17=6", "49+41=90", "90/6=15" ]
Current State: 15:[17, 23, 49, 41], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [49, 41, 6] Generated Node #2: [49, 41, 6] from Operation: 23-17=6 Current State: 15:[49, 41, 6], Operations: ['23-17=6'] Exploring Operation: 49+41=90, Resulting Numbers: [6, 90] Generated Node #3: [6, 90] from Operation: 49+41=90 Current State: 15:[6, 90], Operations: ['23-17=6', '49+41=90'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[17, 23, 49, 41], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [17, 23, 8] Generated Node #0,0: 15:[17, 23, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 15:[17, 23, 8], Operations: ['49-41=8'] Exploring Operation: 23-8=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 15:[17, 15] Operation: 23-8=15 Moving to Node #0,0,0 Current State: 15:[17, 15], Operations: ['49-41=8', '23-8=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 44, 11, 87 ]
43
[ "11-10=1", "87-44=43", "1*43=43" ]
Current State: 43:[10, 44, 11, 87], Operations: [] Exploring Operation: 11-10=1, Resulting Numbers: [44, 87, 1] Generated Node #2: [44, 87, 1] from Operation: 11-10=1 Current State: 43:[44, 87, 1], Operations: ['11-10=1'] Exploring Operation: 87-44=43, Resulting Numbers: [1, 43] Generated Node #3: [1, 43] from Operation: 87-44=43 Current State: 43:[1, 43], Operations: ['11-10=1', '87-44=43'] Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[10, 44, 11, 87], Operations: [] Exploring Operation: 10+11=21, Resulting Numbers: [44, 87, 21] Generated Node #0,0: 43:[44, 87, 21] Operation: 10+11=21 Exploring Operation: 87-44=43, Resulting Numbers: [10, 11, 43] Generated Node #0,1: 43:[10, 11, 43] Operation: 87-44=43 Exploring Operation: 87-10=77, Resulting Numbers: [44, 11, 77] Generated Node #0,2: 43:[44, 11, 77] Operation: 87-10=77 Moving to Node #0,1 Current State: 43:[10, 11, 43], Operations: ['87-44=43'] Exploring Operation: 10+43=53, Resulting Numbers: [11, 53] Generated Node #0,1,0: 43:[11, 53] Operation: 10+43=53 Exploring Operation: 11-10=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 43:[43, 1] Operation: 11-10=1 Exploring Operation: 10+11=21, Resulting Numbers: [43, 21] Generated Node #0,1,2: 43:[43, 21] Operation: 10+11=21 Moving to Node #0,0 Current State: 43:[44, 87, 21], Operations: ['10+11=21'] Exploring Operation: 87-21=66, Resulting Numbers: [44, 66] Generated Node #0,0,0: 43:[44, 66] Operation: 87-21=66 Exploring Operation: 44-21=23, Resulting Numbers: [87, 23] Generated Node #0,0,1: 43:[87, 23] Operation: 44-21=23 Exploring Operation: 87-44=43, Resulting Numbers: [21, 43] Generated Node #0,0,2: 43:[21, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[21, 43], Operations: ['10+11=21', '87-44=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,43 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,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,0,0 Current State: 43:[44, 66], Operations: ['10+11=21', '87-21=66'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,43 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,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,0,1 Current State: 43:[87, 23], Operations: ['10+11=21', '44-21=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,43 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: 43:[44, 11, 77], Operations: ['87-10=77'] Exploring Operation: 77/11=7, Resulting Numbers: [44, 7] Generated Node #0,2,0: 43:[44, 7] Operation: 77/11=7 Exploring Operation: 77-44=33, Resulting Numbers: [11, 33] Generated Node #0,2,1: 43:[11, 33] Operation: 77-44=33 Exploring Operation: 77-11=66, Resulting Numbers: [44, 66] Generated Node #0,2,2: 43:[44, 66] Operation: 77-11=66 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[44, 66], Operations: ['87-10=77', '77-11=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,43 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,43 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,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:[44, 7], Operations: ['87-10=77', '77/11=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,43 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,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,1 Current State: 43:[11, 33], Operations: ['87-10=77', '77-44=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,43 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: 43:[43, 21], Operations: ['87-44=43', '10+11=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[11, 53], Operations: ['87-44=43', '10+43=53'] Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,43 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[43, 1], Operations: ['87-44=43', '11-10=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[10, 44, 11, 87], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [10, 11, 43] Generated Node #0,1: 43:[10, 11, 43] Operation: 87-44=43 Moving to Node #0,1 Current State: 43:[10, 11, 43], Operations: ['87-44=43'] Exploring Operation: 11-10=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 43:[43, 1] Operation: 11-10=1 Moving to Node #0,1,1 Current State: 43:[43, 1], Operations: ['87-44=43', '11-10=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 19, 69, 22, 82 ]
39
[ "22-19=3", "82-69=13", "3*13=39" ]
Current State: 39:[19, 69, 22, 82], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [69, 82, 3] Generated Node #2: [69, 82, 3] from Operation: 22-19=3 Current State: 39:[69, 82, 3], Operations: ['22-19=3'] Exploring Operation: 82-69=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 82-69=13 Current State: 39:[3, 13], Operations: ['22-19=3', '82-69=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[19, 69, 22, 82], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [19, 69, 60] Generated Node #0,0: 39:[19, 69, 60] Operation: 82-22=60 Exploring Operation: 69-22=47, Resulting Numbers: [19, 82, 47] Generated Node #0,1: 39:[19, 82, 47] Operation: 69-22=47 Exploring Operation: 69-19=50, Resulting Numbers: [22, 82, 50] Generated Node #0,2: 39:[22, 82, 50] Operation: 69-19=50 Exploring Operation: 82-69=13, Resulting Numbers: [19, 22, 13] Generated Node #0,3: 39:[19, 22, 13] Operation: 82-69=13 Moving to Node #0,3 Current State: 39:[19, 22, 13], Operations: ['82-69=13'] Exploring Operation: 19+22=41, Resulting Numbers: [13, 41] Generated Node #0,3,0: 39:[13, 41] Operation: 19+22=41 Exploring Operation: 22-13=9, Resulting Numbers: [19, 9] Generated Node #0,3,1: 39:[19, 9] Operation: 22-13=9 Exploring Operation: 22+13=35, Resulting Numbers: [19, 35] Generated Node #0,3,2: 39:[19, 35] Operation: 22+13=35 Exploring Operation: 22-19=3, Resulting Numbers: [13, 3] Generated Node #0,3,3: 39:[13, 3] Operation: 22-19=3 Moving to Node #0,1 Current State: 39:[19, 82, 47], Operations: ['69-22=47'] Exploring Operation: 47-19=28, Resulting Numbers: [82, 28] Generated Node #0,1,0: 39:[82, 28] Operation: 47-19=28 Exploring Operation: 82-47=35, Resulting Numbers: [19, 35] Generated Node #0,1,1: 39:[19, 35] Operation: 82-47=35 Exploring Operation: 82-19=63, Resulting Numbers: [47, 63] Generated Node #0,1,2: 39:[47, 63] Operation: 82-19=63 Exploring Operation: 19+82=101, Resulting Numbers: [47, 101] Generated Node #0,1,3: 39:[47, 101] Operation: 19+82=101 Moving to Node #0,0 Current State: 39:[19, 69, 60], Operations: ['82-22=60'] Exploring Operation: 69-60=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 39:[19, 9] Operation: 69-60=9 Exploring Operation: 60-19=41, Resulting Numbers: [69, 41] Generated Node #0,0,1: 39:[69, 41] Operation: 60-19=41 Exploring Operation: 19+69=88, Resulting Numbers: [60, 88] Generated Node #0,0,2: 39:[60, 88] Operation: 19+69=88 Exploring Operation: 69-19=50, Resulting Numbers: [60, 50] Generated Node #0,0,3: 39:[60, 50] Operation: 69-19=50 Moving to Node #0,2 Current State: 39:[22, 82, 50], Operations: ['69-19=50'] Exploring Operation: 82-50=32, Resulting Numbers: [22, 32] Generated Node #0,2,0: 39:[22, 32] Operation: 82-50=32 Exploring Operation: 50-22=28, Resulting Numbers: [82, 28] Generated Node #0,2,1: 39:[82, 28] Operation: 50-22=28 Exploring Operation: 82-22=60, Resulting Numbers: [50, 60] Generated Node #0,2,2: 39:[50, 60] Operation: 82-22=60 Exploring Operation: 22+82=104, Resulting Numbers: [50, 104] Generated Node #0,2,3: 39:[50, 104] Operation: 22+82=104 Moving to Node #0,3,3 Current State: 39:[13, 3], Operations: ['82-69=13', '22-19=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[19, 69, 22, 82], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [19, 22, 13] Generated Node #0,3: 39:[19, 22, 13] Operation: 82-69=13 Moving to Node #0,3 Current State: 39:[19, 22, 13], Operations: ['82-69=13'] Exploring Operation: 22-19=3, Resulting Numbers: [13, 3] Generated Node #0,3,3: 39:[13, 3] Operation: 22-19=3 Moving to Node #0,3,3 Current State: 39:[13, 3], Operations: ['82-69=13', '22-19=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.978299
hs_4
sum_heuristic
[ 79, 25, 97, 64 ]
87
[ "79-25=54", "97-64=33", "54+33=87" ]
Current State: 87:[79, 25, 97, 64], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [97, 64, 54] Generated Node #2: [97, 64, 54] from Operation: 79-25=54 Current State: 87:[97, 64, 54], Operations: ['79-25=54'] Exploring Operation: 97-64=33, Resulting Numbers: [54, 33] Generated Node #3: [54, 33] from Operation: 97-64=33 Current State: 87:[54, 33], Operations: ['79-25=54', '97-64=33'] Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[79, 25, 97, 64], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [79, 25, 33] Generated Node #0,0: 87:[79, 25, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[79, 25, 33], Operations: ['97-64=33'] Exploring Operation: 33-25=8, Resulting Numbers: [79, 8] Generated Node #0,0,0: 87:[79, 8] Operation: 33-25=8 Moving to Node #0,0,0 Current State: 87:[79, 8], Operations: ['97-64=33', '33-25=8'] Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[79, 25, 97, 64], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [79, 25, 33] Generated Node #0,0: 87:[79, 25, 33] Operation: 97-64=33 Moving to Node #0,0 Current State: 87:[79, 25, 33], Operations: ['97-64=33'] Exploring Operation: 33-25=8, Resulting Numbers: [79, 8] Generated Node #0,0,0: 87:[79, 8] Operation: 33-25=8 Moving to Node #0,0,0 Current State: 87:[79, 8], Operations: ['97-64=33', '33-25=8'] Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 12, 17, 63, 80 ]
59
[ "80-12=68", "68/17=4", "63-4=59" ]
Current State: 59:[12, 17, 63, 80], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [17, 63, 68] Generated Node #2: [17, 63, 68] from Operation: 80-12=68 Current State: 59:[17, 63, 68], Operations: ['80-12=68'] Exploring Operation: 68/17=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 68/17=4 Current State: 59:[63, 4], Operations: ['80-12=68', '68/17=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[12, 17, 63, 80], Operations: [] Exploring Operation: 80-17=63, Resulting Numbers: [12, 63, 63] Generated Node #0,0: 59:[12, 63, 63] Operation: 80-17=63 Exploring Operation: 12+17=29, Resulting Numbers: [63, 80, 29] Generated Node #0,1: 59:[63, 80, 29] Operation: 12+17=29 Exploring Operation: 80-12=68, Resulting Numbers: [17, 63, 68] Generated Node #0,2: 59:[17, 63, 68] Operation: 80-12=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[12, 63, 63], Operations: ['80-17=63'] Exploring Operation: 63-12=51, Resulting Numbers: [63, 51] Generated Node #0,0,0: 59:[63, 51] Operation: 63-12=51 Exploring Operation: 63-12=51, Resulting Numbers: [63, 51] Generated Node #0,0,1: 59:[63, 51] Operation: 63-12=51 Exploring Operation: 12+63=75, Resulting Numbers: [63, 75] Generated Node #0,0,2: 59:[63, 75] Operation: 12+63=75 Moving to Node #0,0,0 Current State: 59:[63, 51], Operations: ['80-17=63', '63-12=51'] Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[63, 51], Operations: ['80-17=63', '63-12=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,59 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[63, 75], Operations: ['80-17=63', '12+63=75'] Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,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,1 Current State: 59:[63, 80, 29], Operations: ['12+17=29'] Exploring Operation: 80-29=51, Resulting Numbers: [63, 51] Generated Node #0,1,0: 59:[63, 51] Operation: 80-29=51 Exploring Operation: 63+29=92, Resulting Numbers: [80, 92] Generated Node #0,1,1: 59:[80, 92] Operation: 63+29=92 Exploring Operation: 63-29=34, Resulting Numbers: [80, 34] Generated Node #0,1,2: 59:[80, 34] Operation: 63-29=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[63, 51], Operations: ['12+17=29', '80-29=51'] Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,59 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,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,1,2 Current State: 59:[80, 34], Operations: ['12+17=29', '63-29=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,59 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,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,1,1 Current State: 59:[80, 92], Operations: ['12+17=29', '63+29=92'] Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,59 unequal: No Solution Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,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,2 Current State: 59:[17, 63, 68], Operations: ['80-12=68'] Exploring Operation: 68-17=51, Resulting Numbers: [63, 51] Generated Node #0,2,0: 59:[63, 51] Operation: 68-17=51 Exploring Operation: 63-17=46, Resulting Numbers: [68, 46] Generated Node #0,2,1: 59:[68, 46] Operation: 63-17=46 Exploring Operation: 17+63=80, Resulting Numbers: [68, 80] Generated Node #0,2,2: 59:[68, 80] Operation: 17+63=80 Moving to Node #0,2,0 Current State: 59:[63, 51], Operations: ['80-12=68', '68-17=51'] Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[68, 46], Operations: ['80-12=68', '63-17=46'] Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[68, 80], Operations: ['80-12=68', '17+63=80'] Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,59 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 89, 88, 28 ]
56
[ "93-89=4", "88-28=60", "60-4=56" ]
Current State: 56:[93, 89, 88, 28], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [88, 28, 4] Generated Node #2: [88, 28, 4] from Operation: 93-89=4 Current State: 56:[88, 28, 4], Operations: ['93-89=4'] Exploring Operation: 88-28=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 88-28=60 Current State: 56:[4, 60], Operations: ['93-89=4', '88-28=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[93, 89, 88, 28], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [89, 28, 5] Generated Node #0,0: 56:[89, 28, 5] Operation: 93-88=5 Exploring Operation: 93-89=4, Resulting Numbers: [88, 28, 4] Generated Node #0,1: 56:[88, 28, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 56:[88, 28, 4], Operations: ['93-89=4'] Exploring Operation: 88-28=60, Resulting Numbers: [4, 60] Generated Node #0,1,0: 56:[4, 60] Operation: 88-28=60 Exploring Operation: 88/4=22, Resulting Numbers: [28, 22] Generated Node #0,1,1: 56:[28, 22] Operation: 88/4=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[4, 60], Operations: ['93-89=4', '88-28=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[93, 89, 88, 28], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [88, 28, 4] Generated Node #0,1: 56:[88, 28, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 56:[88, 28, 4], Operations: ['93-89=4'] Exploring Operation: 88-28=60, Resulting Numbers: [4, 60] Generated Node #0,1,0: 56:[4, 60] Operation: 88-28=60 Moving to Node #0,1,0 Current State: 56:[4, 60], Operations: ['93-89=4', '88-28=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 67, 77, 51, 13 ]
17
[ "77-67=10", "13-10=3", "51/3=17" ]
Current State: 17:[67, 77, 51, 13], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [51, 13, 10] Generated Node #2: [51, 13, 10] from Operation: 77-67=10 Current State: 17:[51, 13, 10], Operations: ['77-67=10'] Exploring Operation: 13-10=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 13-10=3 Current State: 17:[51, 3], Operations: ['77-67=10', '13-10=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[67, 77, 51, 13], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [51, 13, 10] Generated Node #0,0: 17:[51, 13, 10] Operation: 77-67=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[51, 13, 10], Operations: ['77-67=10'] Exploring Operation: 51-13=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 17:[10, 38] Operation: 51-13=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[10, 38], Operations: ['77-67=10', '51-13=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,17 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
[ 69, 4, 30, 82 ]
47
[ "69-4=65", "30+82=112", "112-65=47" ]
Current State: 47:[69, 4, 30, 82], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [30, 82, 65] Generated Node #2: [30, 82, 65] from Operation: 69-4=65 Current State: 47:[30, 82, 65], Operations: ['69-4=65'] Exploring Operation: 30+82=112, Resulting Numbers: [65, 112] Generated Node #3: [65, 112] from Operation: 30+82=112 Current State: 47:[65, 112], Operations: ['69-4=65', '30+82=112'] Exploring Operation: 112-65=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[69, 4, 30, 82], Operations: [] Exploring Operation: 4+30=34, Resulting Numbers: [69, 82, 34] Generated Node #0,0: 47:[69, 82, 34] Operation: 4+30=34 Exploring Operation: 82-4=78, Resulting Numbers: [69, 30, 78] Generated Node #0,1: 47:[69, 30, 78] Operation: 82-4=78 Exploring Operation: 69-4=65, Resulting Numbers: [30, 82, 65] Generated Node #0,2: 47:[30, 82, 65] Operation: 69-4=65 Moving to Node #0,0 Current State: 47:[69, 82, 34], Operations: ['4+30=34'] Exploring Operation: 69-34=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 47:[82, 35] Operation: 69-34=35 Exploring Operation: 82-69=13, Resulting Numbers: [34, 13] Generated Node #0,0,1: 47:[34, 13] Operation: 82-69=13 Exploring Operation: 82-34=48, Resulting Numbers: [69, 48] Generated Node #0,0,2: 47:[69, 48] Operation: 82-34=48 Moving to Node #0,1 Current State: 47:[69, 30, 78], Operations: ['82-4=78'] Exploring Operation: 69-30=39, Resulting Numbers: [78, 39] Generated Node #0,1,0: 47:[78, 39] Operation: 69-30=39 Exploring Operation: 78-69=9, Resulting Numbers: [30, 9] Generated Node #0,1,1: 47:[30, 9] Operation: 78-69=9 Exploring Operation: 78-30=48, Resulting Numbers: [69, 48] Generated Node #0,1,2: 47:[69, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[69, 48], Operations: ['82-4=78', '78-30=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,47 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,47 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: 47:[78, 39], Operations: ['82-4=78', '69-30=39'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,47 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: 47:[30, 9], Operations: ['82-4=78', '78-69=9'] Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,47 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,47 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: 47:[30, 82, 65], Operations: ['69-4=65'] Exploring Operation: 82-30=52, Resulting Numbers: [65, 52] Generated Node #0,2,0: 47:[65, 52] Operation: 82-30=52 Exploring Operation: 65-30=35, Resulting Numbers: [82, 35] Generated Node #0,2,1: 47:[82, 35] Operation: 65-30=35 Exploring Operation: 82-65=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 47:[30, 17] Operation: 82-65=17 Moving to Node #0,0,2 Current State: 47:[69, 48], Operations: ['4+30=34', '82-34=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,47 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[65, 52], Operations: ['69-4=65', '82-30=52'] Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,47 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[34, 13], Operations: ['4+30=34', '82-69=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[69, 4, 30, 82], Operations: [] Exploring Operation: 4+30=34, Resulting Numbers: [69, 82, 34] Generated Node #0,0: 47:[69, 82, 34] Operation: 4+30=34 Moving to Node #0,0 Current State: 47:[69, 82, 34], Operations: ['4+30=34'] Exploring Operation: 82-69=13, Resulting Numbers: [34, 13] Generated Node #0,0,1: 47:[34, 13] Operation: 82-69=13 Moving to Node #0,0,1 Current State: 47:[34, 13], Operations: ['4+30=34', '82-69=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.972222
hs_3
mult_heuristic
[ 26, 95, 80, 90 ]
79
[ "95-26=69", "90-80=10", "69+10=79" ]
Current State: 79:[26, 95, 80, 90], Operations: [] Exploring Operation: 95-26=69, Resulting Numbers: [80, 90, 69] Generated Node #2: [80, 90, 69] from Operation: 95-26=69 Current State: 79:[80, 90, 69], Operations: ['95-26=69'] Exploring Operation: 90-80=10, Resulting Numbers: [69, 10] Generated Node #3: [69, 10] from Operation: 90-80=10 Current State: 79:[69, 10], Operations: ['95-26=69', '90-80=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[26, 95, 80, 90], Operations: [] Exploring Operation: 95-26=69, Resulting Numbers: [80, 90, 69] Generated Node #0,0: 79:[80, 90, 69] Operation: 95-26=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[80, 90, 69], Operations: ['95-26=69'] Exploring Operation: 90-69=21, Resulting Numbers: [80, 21] Generated Node #0,0,0: 79:[80, 21] Operation: 90-69=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[80, 21], Operations: ['95-26=69', '90-69=21'] Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,79 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
[ 55, 96, 20, 98 ]
95
[ "98-96=2", "20*2=40", "55+40=95" ]
Current State: 95:[55, 96, 20, 98], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [55, 20, 2] Generated Node #2: [55, 20, 2] from Operation: 98-96=2 Current State: 95:[55, 20, 2], Operations: ['98-96=2'] Exploring Operation: 20*2=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 20*2=40 Current State: 95:[55, 40], Operations: ['98-96=2', '20*2=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[55, 96, 20, 98], Operations: [] Exploring Operation: 55+20=75, Resulting Numbers: [96, 98, 75] Generated Node #0,0: 95:[96, 98, 75] Operation: 55+20=75 Exploring Operation: 55-20=35, Resulting Numbers: [96, 98, 35] Generated Node #0,1: 95:[96, 98, 35] Operation: 55-20=35 Moving to Node #0,1 Current State: 95:[96, 98, 35], Operations: ['55-20=35'] Exploring Operation: 98-96=2, Resulting Numbers: [35, 2] Generated Node #0,1,0: 95:[35, 2] Operation: 98-96=2 Exploring Operation: 98-35=63, Resulting Numbers: [96, 63] Generated Node #0,1,1: 95:[96, 63] Operation: 98-35=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[35, 2], Operations: ['55-20=35', '98-96=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,95 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: 95:[96, 63], Operations: ['55-20=35', '98-35=63'] Exploring Operation: 96+63=159, Resulting Numbers: [159] 159,95 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,95 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: 95:[96, 98, 75], Operations: ['55+20=75'] Exploring Operation: 96-75=21, Resulting Numbers: [98, 21] Generated Node #0,0,0: 95:[98, 21] Operation: 96-75=21 Exploring Operation: 98-75=23, Resulting Numbers: [96, 23] Generated Node #0,0,1: 95:[96, 23] Operation: 98-75=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[98, 21], Operations: ['55+20=75', '96-75=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,95 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,95 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: 95:[96, 23], Operations: ['55+20=75', '98-75=23'] Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,95 unequal: No Solution Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 21, 38, 15 ]
99
[ "38-34=4", "21*4=84", "15+84=99" ]
Current State: 99:[34, 21, 38, 15], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [21, 15, 4] Generated Node #2: [21, 15, 4] from Operation: 38-34=4 Current State: 99:[21, 15, 4], Operations: ['38-34=4'] Exploring Operation: 21*4=84, Resulting Numbers: [15, 84] Generated Node #3: [15, 84] from Operation: 21*4=84 Current State: 99:[15, 84], Operations: ['38-34=4', '21*4=84'] Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[34, 21, 38, 15], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [34, 38, 36] Generated Node #0,0: 99:[34, 38, 36] Operation: 21+15=36 Exploring Operation: 21-15=6, Resulting Numbers: [34, 38, 6] Generated Node #0,1: 99:[34, 38, 6] Operation: 21-15=6 Moving to Node #0,0 Current State: 99:[34, 38, 36], Operations: ['21+15=36'] Exploring Operation: 38-36=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 99:[34, 2] Operation: 38-36=2 Exploring Operation: 38-34=4, Resulting Numbers: [36, 4] Generated Node #0,0,1: 99:[36, 4] Operation: 38-34=4 Moving to Node #0,1 Current State: 99:[34, 38, 6], Operations: ['21-15=6'] Exploring Operation: 38-34=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 99:[6, 4] Operation: 38-34=4 Exploring Operation: 38-6=32, Resulting Numbers: [34, 32] Generated Node #0,1,1: 99:[34, 32] Operation: 38-6=32 Moving to Node #0,0,0 Current State: 99:[34, 2], Operations: ['21+15=36', '38-36=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[34, 32], Operations: ['21-15=6', '38-6=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[36, 4], Operations: ['21+15=36', '38-34=4'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[6, 4], Operations: ['21-15=6', '38-34=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,99 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 86, 97, 8, 12 ]
15
[ "97-86=11", "12-8=4", "11+4=15" ]
Current State: 15:[86, 97, 8, 12], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [8, 12, 11] Generated Node #2: [8, 12, 11] from Operation: 97-86=11 Current State: 15:[8, 12, 11], Operations: ['97-86=11'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 12-8=4 Current State: 15:[11, 4], Operations: ['97-86=11', '12-8=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 97, 8, 12], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [8, 12, 11] Generated Node #0,0: 15:[8, 12, 11] Operation: 97-86=11 Exploring Operation: 86-8=78, Resulting Numbers: [97, 12, 78] Generated Node #0,1: 15:[97, 12, 78] Operation: 86-8=78 Exploring Operation: 97-12=85, Resulting Numbers: [86, 8, 85] Generated Node #0,2: 15:[86, 8, 85] Operation: 97-12=85 Exploring Operation: 97-8=89, Resulting Numbers: [86, 12, 89] Generated Node #0,3: 15:[86, 12, 89] Operation: 97-8=89 Exploring Operation: 86-12=74, Resulting Numbers: [97, 8, 74] Generated Node #0,4: 15:[97, 8, 74] Operation: 86-12=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[8, 12, 11], Operations: ['97-86=11'] Exploring Operation: 12-8=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 15:[11, 4] Operation: 12-8=4 Exploring Operation: 11-8=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 15:[12, 3] Operation: 11-8=3 Exploring Operation: 8+12=20, Resulting Numbers: [11, 20] Generated Node #0,0,2: 15:[11, 20] Operation: 8+12=20 Exploring Operation: 12-11=1, Resulting Numbers: [8, 1] Generated Node #0,0,3: 15:[8, 1] Operation: 12-11=1 Exploring Operation: 8+11=19, Resulting Numbers: [12, 19] Generated Node #0,0,4: 15:[12, 19] Operation: 8+11=19 Moving to Node #0,0,1 Current State: 15:[12, 3], Operations: ['97-86=11', '11-8=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[86, 97, 8, 12], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [8, 12, 11] Generated Node #0,0: 15:[8, 12, 11] Operation: 97-86=11 Moving to Node #0,0 Current State: 15:[8, 12, 11], Operations: ['97-86=11'] Exploring Operation: 11-8=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 15:[12, 3] Operation: 11-8=3 Moving to Node #0,0,1 Current State: 15:[12, 3], Operations: ['97-86=11', '11-8=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 1, 66, 11, 3 ]
26
[ "1+66=67", "11+67=78", "78/3=26" ]
Current State: 26:[1, 66, 11, 3], Operations: [] Exploring Operation: 1+66=67, Resulting Numbers: [11, 3, 67] Generated Node #2: [11, 3, 67] from Operation: 1+66=67 Current State: 26:[11, 3, 67], Operations: ['1+66=67'] Exploring Operation: 11+67=78, Resulting Numbers: [3, 78] Generated Node #3: [3, 78] from Operation: 11+67=78 Current State: 26:[3, 78], Operations: ['1+66=67', '11+67=78'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[1, 66, 11, 3], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [1, 11, 22] Generated Node #0,0: 26:[1, 11, 22] Operation: 66/3=22 Exploring Operation: 66-3=63, Resulting Numbers: [1, 11, 63] Generated Node #0,1: 26:[1, 11, 63] Operation: 66-3=63 Exploring Operation: 66/11=6, Resulting Numbers: [1, 3, 6] Generated Node #0,2: 26:[1, 3, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [1, 3, 55] Generated Node #0,3: 26:[1, 3, 55] Operation: 66-11=55 Moving to Node #0,2 Current State: 26:[1, 3, 6], Operations: ['66/11=6'] Exploring Operation: 6-1=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 26:[3, 5] Operation: 6-1=5 Exploring Operation: 3-1=2, Resulting Numbers: [6, 2] Generated Node #0,2,1: 26:[6, 2] Operation: 3-1=2 Exploring Operation: 6-3=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 26:[1, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [1, 2] Generated Node #0,2,3: 26:[1, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[1, 2], Operations: ['66/11=6', '6/3=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,26 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: 26:[1, 3], Operations: ['66/11=6', '6-3=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,26 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: 26:[3, 5], Operations: ['66/11=6', '6-1=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,26 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: 26:[6, 2], Operations: ['66/11=6', '3-1=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,26 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: 26:[1, 11, 22], Operations: ['66/3=22'] Exploring Operation: 22/11=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 26:[1, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [1, 11] Generated Node #0,0,1: 26:[1, 11] Operation: 22-11=11 Exploring Operation: 1+11=12, Resulting Numbers: [22, 12] Generated Node #0,0,2: 26:[22, 12] Operation: 1+11=12 Exploring Operation: 1+22=23, Resulting Numbers: [11, 23] Generated Node #0,0,3: 26:[11, 23] Operation: 1+22=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[1, 2], Operations: ['66/3=22', '22/11=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,26 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: 26:[1, 11], Operations: ['66/3=22', '22-11=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,26 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: 26:[22, 12], Operations: ['66/3=22', '1+11=12'] Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,26 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,26 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: 26:[11, 23], Operations: ['66/3=22', '1+22=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,26 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: 26:[1, 3, 55], Operations: ['66-11=55'] Exploring Operation: 1*3=3, Resulting Numbers: [55, 3] Generated Node #0,3,0: 26:[55, 3] Operation: 1*3=3 Exploring Operation: 55-1=54, Resulting Numbers: [3, 54] Generated Node #0,3,1: 26:[3, 54] Operation: 55-1=54 Exploring Operation: 55-3=52, Resulting Numbers: [1, 52] Generated Node #0,3,2: 26:[1, 52] Operation: 55-3=52 Exploring Operation: 3-1=2, Resulting Numbers: [55, 2] Generated Node #0,3,3: 26:[55, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[1, 52], Operations: ['66-11=55', '55-3=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,26 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: 26:[3, 54], Operations: ['66-11=55', '55-1=54'] Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,26 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,26 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: 26:[55, 2], Operations: ['66-11=55', '3-1=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,26 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,26 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: 26:[55, 3], Operations: ['66-11=55', '1*3=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,26 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,26 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: 26:[1, 11, 63], Operations: ['66-3=63'] Exploring Operation: 63-11=52, Resulting Numbers: [1, 52] Generated Node #0,1,0: 26:[1, 52] Operation: 63-11=52 Exploring Operation: 63-1=62, Resulting Numbers: [11, 62] Generated Node #0,1,1: 26:[11, 62] Operation: 63-1=62 Exploring Operation: 1*11=11, Resulting Numbers: [63, 11] Generated Node #0,1,2: 26:[63, 11] Operation: 1*11=11 Exploring Operation: 1+11=12, Resulting Numbers: [63, 12] Generated Node #0,1,3: 26:[63, 12] Operation: 1+11=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[1, 52], Operations: ['66-3=63', '63-11=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,26 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: 26:[11, 62], Operations: ['66-3=63', '63-1=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,26 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: 26:[63, 12], Operations: ['66-3=63', '1+11=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,26 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,26 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: 26:[63, 11], Operations: ['66-3=63', '1*11=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,26 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,26 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
[ 5, 42, 7, 35 ]
36
[ "35-5=30", "42/7=6", "30+6=36" ]
Current State: 36:[5, 42, 7, 35], Operations: [] Exploring Operation: 35-5=30, Resulting Numbers: [42, 7, 30] Generated Node #2: [42, 7, 30] from Operation: 35-5=30 Current State: 36:[42, 7, 30], Operations: ['35-5=30'] Exploring Operation: 42/7=6, Resulting Numbers: [30, 6] Generated Node #3: [30, 6] from Operation: 42/7=6 Current State: 36:[30, 6], Operations: ['35-5=30', '42/7=6'] Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[5, 42, 7, 35], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [5, 35, 6] Generated Node #0,0: 36:[5, 35, 6] Operation: 42/7=6 Exploring Operation: 42-35=7, Resulting Numbers: [5, 7, 7] Generated Node #0,1: 36:[5, 7, 7] Operation: 42-35=7 Exploring Operation: 5+7=12, Resulting Numbers: [42, 35, 12] Generated Node #0,2: 36:[42, 35, 12] Operation: 5+7=12 Exploring Operation: 42-5=37, Resulting Numbers: [7, 35, 37] Generated Node #0,3: 36:[7, 35, 37] Operation: 42-5=37 Exploring Operation: 42-7=35, Resulting Numbers: [5, 35, 35] Generated Node #0,4: 36:[5, 35, 35] Operation: 42-7=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[5, 35, 6], Operations: ['42/7=6'] Exploring Operation: 5+6=11, Resulting Numbers: [35, 11] Generated Node #0,0,0: 36:[35, 11] Operation: 5+6=11 Exploring Operation: 35/5=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 36:[6, 7] Operation: 35/5=7 Exploring Operation: 6-5=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 36:[35, 1] Operation: 6-5=1 Exploring Operation: 35-5=30, Resulting Numbers: [6, 30] Generated Node #0,0,3: 36:[6, 30] Operation: 35-5=30 Exploring Operation: 5+35=40, Resulting Numbers: [6, 40] Generated Node #0,0,4: 36:[6, 40] Operation: 5+35=40 Moving to Node #0,0,1 Current State: 36:[6, 7], Operations: ['42/7=6', '35/5=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[35, 1], Operations: ['42/7=6', '6-5=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[5, 42, 7, 35], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [5, 35, 6] Generated Node #0,0: 36:[5, 35, 6] Operation: 42/7=6 Moving to Node #0,0 Current State: 36:[5, 35, 6], Operations: ['42/7=6'] Exploring Operation: 6-5=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 36:[35, 1] Operation: 6-5=1 Moving to Node #0,0,2 Current State: 36:[35, 1], Operations: ['42/7=6', '6-5=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 10, 95, 38, 66 ]
97
[ "10+66=76", "76/38=2", "95+2=97" ]
Current State: 97:[10, 95, 38, 66], Operations: [] Exploring Operation: 10+66=76, Resulting Numbers: [95, 38, 76] Generated Node #2: [95, 38, 76] from Operation: 10+66=76 Current State: 97:[95, 38, 76], Operations: ['10+66=76'] Exploring Operation: 76/38=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 76/38=2 Current State: 97:[95, 2], Operations: ['10+66=76', '76/38=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[10, 95, 38, 66], Operations: [] Exploring Operation: 10+38=48, Resulting Numbers: [95, 66, 48] Generated Node #0,0: 97:[95, 66, 48] Operation: 10+38=48 Exploring Operation: 10+66=76, Resulting Numbers: [95, 38, 76] Generated Node #0,1: 97:[95, 38, 76] Operation: 10+66=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[95, 66, 48], Operations: ['10+38=48'] Exploring Operation: 66+48=114, Resulting Numbers: [95, 114] Generated Node #0,0,0: 97:[95, 114] Operation: 66+48=114 Exploring Operation: 95+48=143, Resulting Numbers: [66, 143] Generated Node #0,0,1: 97:[66, 143] Operation: 95+48=143 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[95, 114], Operations: ['10+38=48', '66+48=114'] Exploring Operation: 114-95=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 95+114=209, Resulting Numbers: [209] 209,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,0,1 Current State: 97:[66, 143], Operations: ['10+38=48', '95+48=143'] Exploring Operation: 143-66=77, Resulting Numbers: [77] 77,97 unequal: No Solution Exploring Operation: 66+143=209, Resulting Numbers: [209] 209,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[95, 38, 76], Operations: ['10+66=76'] Exploring Operation: 38+76=114, Resulting Numbers: [95, 114] Generated Node #0,1,0: 97:[95, 114] Operation: 38+76=114 Exploring Operation: 95+38=133, Resulting Numbers: [76, 133] Generated Node #0,1,1: 97:[76, 133] Operation: 95+38=133 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[95, 114], Operations: ['10+66=76', '38+76=114'] Exploring Operation: 95+114=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 114-95=19, Resulting Numbers: [19] 19,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,1,1 Current State: 97:[76, 133], Operations: ['10+66=76', '95+38=133'] Exploring Operation: 76+133=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 133-76=57, Resulting Numbers: [57] 57,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_2
sum_heuristic
[ 2, 63, 59, 51 ]
53
[ "63-2=61", "59-51=8", "61-8=53" ]
Current State: 53:[2, 63, 59, 51], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [59, 51, 61] Generated Node #2: [59, 51, 61] from Operation: 63-2=61 Current State: 53:[59, 51, 61], Operations: ['63-2=61'] Exploring Operation: 59-51=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 59-51=8 Current State: 53:[61, 8], Operations: ['63-2=61', '59-51=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 63, 59, 51], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [59, 51, 61] Generated Node #0,0: 53:[59, 51, 61] Operation: 63-2=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[59, 51, 61], Operations: ['63-2=61'] Exploring Operation: 61-51=10, Resulting Numbers: [59, 10] Generated Node #0,0,0: 53:[59, 10] Operation: 61-51=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[59, 10], Operations: ['63-2=61', '61-51=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,53 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
[ 77, 63, 42, 4 ]
77
[ "77+63=140", "140/4=35", "42+35=77" ]
Current State: 77:[77, 63, 42, 4], Operations: [] Exploring Operation: 77+63=140, Resulting Numbers: [42, 4, 140] Generated Node #2: [42, 4, 140] from Operation: 77+63=140 Current State: 77:[42, 4, 140], Operations: ['77+63=140'] Exploring Operation: 140/4=35, Resulting Numbers: [42, 35] Generated Node #3: [42, 35] from Operation: 140/4=35 Current State: 77:[42, 35], Operations: ['77+63=140', '140/4=35'] Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[77, 63, 42, 4], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [42, 4, 14] Generated Node #0,0: 77:[42, 4, 14] Operation: 77-63=14 Exploring Operation: 63+42=105, Resulting Numbers: [77, 4, 105] Generated Node #0,1: 77:[77, 4, 105] Operation: 63+42=105 Exploring Operation: 77-42=35, Resulting Numbers: [63, 4, 35] Generated Node #0,2: 77:[63, 4, 35] Operation: 77-42=35 Exploring Operation: 63-42=21, Resulting Numbers: [77, 4, 21] Generated Node #0,3: 77:[77, 4, 21] Operation: 63-42=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[77, 4, 21], Operations: ['63-42=21'] Exploring Operation: 77+4=81, Resulting Numbers: [21, 81] Generated Node #0,3,0: 77:[21, 81] Operation: 77+4=81 Exploring Operation: 4*21=84, Resulting Numbers: [77, 84] Generated Node #0,3,1: 77:[77, 84] Operation: 4*21=84 Exploring Operation: 77-4=73, Resulting Numbers: [21, 73] Generated Node #0,3,2: 77:[21, 73] Operation: 77-4=73 Exploring Operation: 21-4=17, Resulting Numbers: [77, 17] Generated Node #0,3,3: 77:[77, 17] Operation: 21-4=17 Moving to Node #0,3,3 Current State: 77:[77, 17], Operations: ['63-42=21', '21-4=17'] Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,77 unequal: No Solution Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[77, 84], Operations: ['63-42=21', '4*21=84'] Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,77 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,77 unequal: No Solution Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[21, 73], Operations: ['63-42=21', '77-4=73'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 21*73=1533, Resulting Numbers: [1533] 1533,77 unequal: No Solution Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[21, 81], Operations: ['63-42=21', '77+4=81'] Exploring Operation: 21+81=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 21*81=1701, Resulting Numbers: [1701] 1701,77 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,77 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: 77:[77, 4, 105], Operations: ['63+42=105'] Exploring Operation: 105-4=101, Resulting Numbers: [77, 101] Generated Node #0,1,0: 77:[77, 101] Operation: 105-4=101 Exploring Operation: 77-4=73, Resulting Numbers: [105, 73] Generated Node #0,1,1: 77:[105, 73] Operation: 77-4=73 Exploring Operation: 105-77=28, Resulting Numbers: [4, 28] Generated Node #0,1,2: 77:[4, 28] Operation: 105-77=28 Exploring Operation: 77+4=81, Resulting Numbers: [105, 81] Generated Node #0,1,3: 77:[105, 81] Operation: 77+4=81 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[4, 28], Operations: ['63+42=105', '105-77=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,77 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: 77:[77, 101], Operations: ['63+42=105', '105-4=101'] Exploring Operation: 101-77=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 77*101=7777, Resulting Numbers: [7777] 7777,77 unequal: No Solution Exploring Operation: 77+101=178, Resulting Numbers: [178] 178,77 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: 77:[105, 73], Operations: ['63+42=105', '77-4=73'] Exploring Operation: 105*73=7665, Resulting Numbers: [7665] 7665,77 unequal: No Solution Exploring Operation: 105-73=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 105+73=178, Resulting Numbers: [178] 178,77 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: 77:[105, 81], Operations: ['63+42=105', '77+4=81'] Exploring Operation: 105+81=186, Resulting Numbers: [186] 186,77 unequal: No Solution Exploring Operation: 105*81=8505, Resulting Numbers: [8505] 8505,77 unequal: No Solution Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,77 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: 77:[42, 4, 14], Operations: ['77-63=14'] Exploring Operation: 42/14=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 77:[4, 3] Operation: 42/14=3 Exploring Operation: 42-4=38, Resulting Numbers: [14, 38] Generated Node #0,0,1: 77:[14, 38] Operation: 42-4=38 Exploring Operation: 42-14=28, Resulting Numbers: [4, 28] Generated Node #0,0,2: 77:[4, 28] Operation: 42-14=28 Exploring Operation: 42+14=56, Resulting Numbers: [4, 56] Generated Node #0,0,3: 77:[4, 56] Operation: 42+14=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[4, 3], Operations: ['77-63=14', '42/14=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,77 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: 77:[4, 28], Operations: ['77-63=14', '42-14=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,77 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: 77:[4, 56], Operations: ['77-63=14', '42+14=56'] Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,77 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,77 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: 77:[14, 38], Operations: ['77-63=14', '42-4=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,77 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,77 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: 77:[63, 4, 35], Operations: ['77-42=35'] Exploring Operation: 63+4=67, Resulting Numbers: [35, 67] Generated Node #0,2,0: 77:[35, 67] Operation: 63+4=67 Exploring Operation: 63+35=98, Resulting Numbers: [4, 98] Generated Node #0,2,1: 77:[4, 98] Operation: 63+35=98 Exploring Operation: 35-4=31, Resulting Numbers: [63, 31] Generated Node #0,2,2: 77:[63, 31] Operation: 35-4=31 Exploring Operation: 63-35=28, Resulting Numbers: [4, 28] Generated Node #0,2,3: 77:[4, 28] Operation: 63-35=28 Moving to Node #0,2,3 Current State: 77:[4, 28], Operations: ['77-42=35', '63-35=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[4, 98], Operations: ['77-42=35', '63+35=98'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,77 unequal: No Solution Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[63, 31], Operations: ['77-42=35', '35-4=31'] Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[35, 67], Operations: ['77-42=35', '63+4=67'] Exploring Operation: 35*67=2345, Resulting Numbers: [2345] 2345,77 unequal: No Solution Exploring Operation: 35+67=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,77 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
[ 98, 99, 72, 96 ]
29
[ "98+99=197", "72+96=168", "197-168=29" ]
Current State: 29:[98, 99, 72, 96], Operations: [] Exploring Operation: 98+99=197, Resulting Numbers: [72, 96, 197] Generated Node #2: [72, 96, 197] from Operation: 98+99=197 Current State: 29:[72, 96, 197], Operations: ['98+99=197'] Exploring Operation: 72+96=168, Resulting Numbers: [197, 168] Generated Node #3: [197, 168] from Operation: 72+96=168 Current State: 29:[197, 168], Operations: ['98+99=197', '72+96=168'] Exploring Operation: 197-168=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[98, 99, 72, 96], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [72, 96, 1] Generated Node #0,0: 29:[72, 96, 1] Operation: 99-98=1 Exploring Operation: 99-72=27, Resulting Numbers: [98, 96, 27] Generated Node #0,1: 29:[98, 96, 27] Operation: 99-72=27 Moving to Node #0,0 Current State: 29:[72, 96, 1], Operations: ['99-98=1'] Exploring Operation: 72-1=71, Resulting Numbers: [96, 71] Generated Node #0,0,0: 29:[96, 71] Operation: 72-1=71 Exploring Operation: 96-72=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 29:[1, 24] Operation: 96-72=24 Moving to Node #0,1 Current State: 29:[98, 96, 27], Operations: ['99-72=27'] Exploring Operation: 98-27=71, Resulting Numbers: [96, 71] Generated Node #0,1,0: 29:[96, 71] Operation: 98-27=71 Exploring Operation: 98-96=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 29:[27, 2] Operation: 98-96=2 Moving to Node #0,1,1 Current State: 29:[27, 2], Operations: ['99-72=27', '98-96=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[98, 99, 72, 96], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [98, 96, 27] Generated Node #0,1: 29:[98, 96, 27] Operation: 99-72=27 Moving to Node #0,1 Current State: 29:[98, 96, 27], Operations: ['99-72=27'] Exploring Operation: 98-96=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 29:[27, 2] Operation: 98-96=2 Moving to Node #0,1,1 Current State: 29:[27, 2], Operations: ['99-72=27', '98-96=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 53, 51, 7, 34 ]
24
[ "53-51=2", "34/2=17", "7+17=24" ]
Current State: 24:[53, 51, 7, 34], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [7, 34, 2] Generated Node #2: [7, 34, 2] from Operation: 53-51=2 Current State: 24:[7, 34, 2], Operations: ['53-51=2'] Exploring Operation: 34/2=17, Resulting Numbers: [7, 17] Generated Node #3: [7, 17] from Operation: 34/2=17 Current State: 24:[7, 17], Operations: ['53-51=2', '34/2=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[53, 51, 7, 34], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [7, 34, 2] Generated Node #0,0: 24:[7, 34, 2] Operation: 53-51=2 Exploring Operation: 53-34=19, Resulting Numbers: [51, 7, 19] Generated Node #0,1: 24:[51, 7, 19] Operation: 53-34=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[7, 34, 2], Operations: ['53-51=2'] Exploring Operation: 34/2=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 24:[7, 17] Operation: 34/2=17 Exploring Operation: 34-7=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 24:[2, 27] Operation: 34-7=27 Moving to Node #0,0,1 Current State: 24:[2, 27], Operations: ['53-51=2', '34-7=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[7, 17], Operations: ['53-51=2', '34/2=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[53, 51, 7, 34], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [7, 34, 2] Generated Node #0,0: 24:[7, 34, 2] Operation: 53-51=2 Moving to Node #0,0 Current State: 24:[7, 34, 2], Operations: ['53-51=2'] Exploring Operation: 34/2=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 24:[7, 17] Operation: 34/2=17 Moving to Node #0,0,0 Current State: 24:[7, 17], Operations: ['53-51=2', '34/2=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 14, 69, 57, 66 ]
99
[ "69-66=3", "14*3=42", "57+42=99" ]
Current State: 99:[14, 69, 57, 66], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [14, 57, 3] Generated Node #2: [14, 57, 3] from Operation: 69-66=3 Current State: 99:[14, 57, 3], Operations: ['69-66=3'] Exploring Operation: 14*3=42, Resulting Numbers: [57, 42] Generated Node #3: [57, 42] from Operation: 14*3=42 Current State: 99:[57, 42], Operations: ['69-66=3', '14*3=42'] Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[14, 69, 57, 66], Operations: [] Exploring Operation: 69-57=12, Resulting Numbers: [14, 66, 12] Generated Node #0,0: 99:[14, 66, 12] Operation: 69-57=12 Exploring Operation: 57+66=123, Resulting Numbers: [14, 69, 123] Generated Node #0,1: 99:[14, 69, 123] Operation: 57+66=123 Exploring Operation: 69+57=126, Resulting Numbers: [14, 66, 126] Generated Node #0,2: 99:[14, 66, 126] Operation: 69+57=126 Exploring Operation: 69-66=3, Resulting Numbers: [14, 57, 3] Generated Node #0,3: 99:[14, 57, 3] Operation: 69-66=3 Exploring Operation: 66-57=9, Resulting Numbers: [14, 69, 9] Generated Node #0,4: 99:[14, 69, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[14, 57, 3], Operations: ['69-66=3'] Exploring Operation: 14+57=71, Resulting Numbers: [3, 71] Generated Node #0,3,0: 99:[3, 71] Operation: 14+57=71 Exploring Operation: 57-14=43, Resulting Numbers: [3, 43] Generated Node #0,3,1: 99:[3, 43] Operation: 57-14=43 Exploring Operation: 14-3=11, Resulting Numbers: [57, 11] Generated Node #0,3,2: 99:[57, 11] Operation: 14-3=11 Exploring Operation: 57-3=54, Resulting Numbers: [14, 54] Generated Node #0,3,3: 99:[14, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [14, 19] Generated Node #0,3,4: 99:[14, 19] Operation: 57/3=19 Moving to Node #0,3,1 Current State: 99:[3, 43], Operations: ['69-66=3', '57-14=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,99 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[14, 19], Operations: ['69-66=3', '57/3=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[57, 11], Operations: ['69-66=3', '14-3=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,99 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[14, 54], Operations: ['69-66=3', '57-3=54'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,99 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[3, 71], Operations: ['69-66=3', '14+57=71'] Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,99 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,99 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: 99:[14, 69, 9], Operations: ['66-57=9'] Exploring Operation: 69+9=78, Resulting Numbers: [14, 78] Generated Node #0,4,0: 99:[14, 78] Operation: 69+9=78 Exploring Operation: 14+69=83, Resulting Numbers: [9, 83] Generated Node #0,4,1: 99:[9, 83] Operation: 14+69=83 Exploring Operation: 14-9=5, Resulting Numbers: [69, 5] Generated Node #0,4,2: 99:[69, 5] Operation: 14-9=5 Exploring Operation: 69-14=55, Resulting Numbers: [9, 55] Generated Node #0,4,3: 99:[9, 55] Operation: 69-14=55 Exploring Operation: 69-9=60, Resulting Numbers: [14, 60] Generated Node #0,4,4: 99:[14, 60] Operation: 69-9=60 Moving to Node #0,4,1 Current State: 99:[9, 83], Operations: ['66-57=9', '14+69=83'] Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,99 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[9, 55], Operations: ['66-57=9', '69-14=55'] Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,99 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,99 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[14, 78], Operations: ['66-57=9', '69+9=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,99 unequal: No Solution Exploring Operation: 14*78=1092, Resulting Numbers: [1092] 1092,99 unequal: No Solution Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[14, 60], Operations: ['66-57=9', '69-9=60'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[69, 5], Operations: ['66-57=9', '14-9=5'] Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,99 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,99 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: 99:[14, 66, 12], Operations: ['69-57=12'] Exploring Operation: 66+12=78, Resulting Numbers: [14, 78] Generated Node #0,0,0: 99:[14, 78] Operation: 66+12=78 Exploring Operation: 66-14=52, Resulting Numbers: [12, 52] Generated Node #0,0,1: 99:[12, 52] Operation: 66-14=52 Exploring Operation: 66-12=54, Resulting Numbers: [14, 54] Generated Node #0,0,2: 99:[14, 54] Operation: 66-12=54 Exploring Operation: 14+66=80, Resulting Numbers: [12, 80] Generated Node #0,0,3: 99:[12, 80] Operation: 14+66=80 Exploring Operation: 14-12=2, Resulting Numbers: [66, 2] Generated Node #0,0,4: 99:[66, 2] Operation: 14-12=2 Moving to Node #0,0,1 Current State: 99:[12, 52], Operations: ['69-57=12', '66-14=52'] Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,99 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[12, 80], Operations: ['69-57=12', '14+66=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,99 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[14, 78], Operations: ['69-57=12', '66+12=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,99 unequal: No Solution Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,99 unequal: No Solution Exploring Operation: 14*78=1092, Resulting Numbers: [1092] 1092,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[14, 54], Operations: ['69-57=12', '66-12=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[66, 2], Operations: ['69-57=12', '14-12=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,99 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,99 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,99 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: 99:[14, 69, 123], Operations: ['57+66=123'] Exploring Operation: 69-14=55, Resulting Numbers: [123, 55] Generated Node #0,1,0: 99:[123, 55] Operation: 69-14=55 Exploring Operation: 123-14=109, Resulting Numbers: [69, 109] Generated Node #0,1,1: 99:[69, 109] Operation: 123-14=109 Exploring Operation: 123-69=54, Resulting Numbers: [14, 54] Generated Node #0,1,2: 99:[14, 54] Operation: 123-69=54 Exploring Operation: 14+123=137, Resulting Numbers: [69, 137] Generated Node #0,1,3: 99:[69, 137] Operation: 14+123=137 Exploring Operation: 14+69=83, Resulting Numbers: [123, 83] Generated Node #0,1,4: 99:[123, 83] Operation: 14+69=83 Moving to Node #0,1,2 Current State: 99:[14, 54], Operations: ['57+66=123', '123-69=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[123, 83], Operations: ['57+66=123', '14+69=83'] Exploring Operation: 123*83=10209, Resulting Numbers: [10209] 10209,99 unequal: No Solution Exploring Operation: 123+83=206, Resulting Numbers: [206] 206,99 unequal: No Solution Exploring Operation: 123-83=40, Resulting Numbers: [40] 40,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[69, 109], Operations: ['57+66=123', '123-14=109'] Exploring Operation: 69*109=7521, Resulting Numbers: [7521] 7521,99 unequal: No Solution Exploring Operation: 69+109=178, Resulting Numbers: [178] 178,99 unequal: No Solution Exploring Operation: 109-69=40, Resulting Numbers: [40] 40,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[123, 55], Operations: ['57+66=123', '69-14=55'] Exploring Operation: 123*55=6765, Resulting Numbers: [6765] 6765,99 unequal: No Solution Exploring Operation: 123+55=178, Resulting Numbers: [178] 178,99 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[69, 137], Operations: ['57+66=123', '14+123=137'] Exploring Operation: 137-69=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 69*137=9453, Resulting Numbers: [9453] 9453,99 unequal: No Solution Exploring Operation: 69+137=206, Resulting Numbers: [206] 206,99 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: 99:[14, 66, 126], Operations: ['69+57=126'] Exploring Operation: 66-14=52, Resulting Numbers: [126, 52] Generated Node #0,2,0: 99:[126, 52] Operation: 66-14=52 Exploring Operation: 14+66=80, Resulting Numbers: [126, 80] Generated Node #0,2,1: 99:[126, 80] Operation: 14+66=80 Exploring Operation: 126-14=112, Resulting Numbers: [66, 112] Generated Node #0,2,2: 99:[66, 112] Operation: 126-14=112 Exploring Operation: 126/14=9, Resulting Numbers: [66, 9] Generated Node #0,2,3: 99:[66, 9] Operation: 126/14=9 Exploring Operation: 126-66=60, Resulting Numbers: [14, 60] Generated Node #0,2,4: 99:[14, 60] Operation: 126-66=60 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 99:[14, 60], Operations: ['69+57=126', '126-66=60'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,99 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,99 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: 99:[66, 9], Operations: ['69+57=126', '126/14=9'] Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,99 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: 99:[126, 52], Operations: ['69+57=126', '66-14=52'] Exploring Operation: 126-52=74, Resulting Numbers: [74] 74,99 unequal: No Solution Exploring Operation: 126*52=6552, Resulting Numbers: [6552] 6552,99 unequal: No Solution Exploring Operation: 126+52=178, Resulting Numbers: [178] 178,99 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: 99:[126, 80], Operations: ['69+57=126', '14+66=80'] Exploring Operation: 126+80=206, Resulting Numbers: [206] 206,99 unequal: No Solution Exploring Operation: 126*80=10080, Resulting Numbers: [10080] 10080,99 unequal: No Solution Exploring Operation: 126-80=46, Resulting Numbers: [46] 46,99 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: 99:[66, 112], Operations: ['69+57=126', '126-14=112'] Exploring Operation: 112-66=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 66+112=178, Resulting Numbers: [178] 178,99 unequal: No Solution Exploring Operation: 66*112=7392, Resulting Numbers: [7392] 7392,99 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
[ 30, 66, 26, 48 ]
14
[ "66-30=36", "48-26=22", "36-22=14" ]
Current State: 14:[30, 66, 26, 48], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [26, 48, 36] Generated Node #2: [26, 48, 36] from Operation: 66-30=36 Current State: 14:[26, 48, 36], Operations: ['66-30=36'] Exploring Operation: 48-26=22, Resulting Numbers: [36, 22] Generated Node #3: [36, 22] from Operation: 48-26=22 Current State: 14:[36, 22], Operations: ['66-30=36', '48-26=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[30, 66, 26, 48], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [30, 26, 18] Generated Node #0,0: 14:[30, 26, 18] Operation: 66-48=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[30, 26, 18], Operations: ['66-48=18'] Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 14:[18, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[18, 4], Operations: ['66-48=18', '30-26=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[30, 66, 26, 48], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [30, 26, 18] Generated Node #0,0: 14:[30, 26, 18] Operation: 66-48=18 Moving to Node #0,0 Current State: 14:[30, 26, 18], Operations: ['66-48=18'] Exploring Operation: 30-26=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 14:[18, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 14:[18, 4], Operations: ['66-48=18', '30-26=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 1, 2, 19, 56 ]
75
[ "2-1=1", "19+56=75", "1*75=75" ]
Current State: 75:[1, 2, 19, 56], Operations: [] Exploring Operation: 2-1=1, Resulting Numbers: [19, 56, 1] Generated Node #2: [19, 56, 1] from Operation: 2-1=1 Current State: 75:[19, 56, 1], Operations: ['2-1=1'] Exploring Operation: 19+56=75, Resulting Numbers: [1, 75] Generated Node #3: [1, 75] from Operation: 19+56=75 Current State: 75:[1, 75], Operations: ['2-1=1', '19+56=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[1, 2, 19, 56], Operations: [] Exploring Operation: 1+2=3, Resulting Numbers: [19, 56, 3] Generated Node #0,0: 75:[19, 56, 3] Operation: 1+2=3 Exploring Operation: 56-19=37, Resulting Numbers: [1, 2, 37] Generated Node #0,1: 75:[1, 2, 37] Operation: 56-19=37 Exploring Operation: 56/2=28, Resulting Numbers: [1, 19, 28] Generated Node #0,2: 75:[1, 19, 28] Operation: 56/2=28 Exploring Operation: 19+56=75, Resulting Numbers: [1, 2, 75] Generated Node #0,3: 75:[1, 2, 75] Operation: 19+56=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[1, 2, 75], Operations: ['19+56=75'] Exploring Operation: 2/1=2, Resulting Numbers: [75, 2] Generated Node #0,3,0: 75:[75, 2] Operation: 2/1=2 Exploring Operation: 1+2=3, Resulting Numbers: [75, 3] Generated Node #0,3,1: 75:[75, 3] Operation: 1+2=3 Exploring Operation: 1*2=2, Resulting Numbers: [75, 2] Generated Node #0,3,2: 75:[75, 2] Operation: 1*2=2 Exploring Operation: 1*75=75, Resulting Numbers: [2, 75] Generated Node #0,3,3: 75:[2, 75] Operation: 1*75=75 Moving to Node #0,3,1 Current State: 75:[75, 3], Operations: ['19+56=75', '1+2=3'] Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,75 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,75 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[75, 2], Operations: ['19+56=75', '1*2=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[75, 2], Operations: ['19+56=75', '2/1=2'] Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[2, 75], Operations: ['19+56=75', '1*75=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,75 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,75 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: 75:[1, 19, 28], Operations: ['56/2=28'] Exploring Operation: 28-19=9, Resulting Numbers: [1, 9] Generated Node #0,2,0: 75:[1, 9] Operation: 28-19=9 Exploring Operation: 19-1=18, Resulting Numbers: [28, 18] Generated Node #0,2,1: 75:[28, 18] Operation: 19-1=18 Exploring Operation: 1*19=19, Resulting Numbers: [28, 19] Generated Node #0,2,2: 75:[28, 19] Operation: 1*19=19 Exploring Operation: 28-1=27, Resulting Numbers: [19, 27] Generated Node #0,2,3: 75:[19, 27] Operation: 28-1=27 Moving to Node #0,2,0 Current State: 75:[1, 9], Operations: ['56/2=28', '28-19=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[19, 27], Operations: ['56/2=28', '28-1=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,75 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[28, 18], Operations: ['56/2=28', '19-1=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,75 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[28, 19], Operations: ['56/2=28', '1*19=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,75 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,75 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: 75:[1, 2, 37], Operations: ['56-19=37'] Exploring Operation: 37-1=36, Resulting Numbers: [2, 36] Generated Node #0,1,0: 75:[2, 36] Operation: 37-1=36 Exploring Operation: 37-2=35, Resulting Numbers: [1, 35] Generated Node #0,1,1: 75:[1, 35] Operation: 37-2=35 Exploring Operation: 1+2=3, Resulting Numbers: [37, 3] Generated Node #0,1,2: 75:[37, 3] Operation: 1+2=3 Exploring Operation: 2*37=74, Resulting Numbers: [1, 74] Generated Node #0,1,3: 75:[1, 74] Operation: 2*37=74 Moving to Node #0,1,3 Current State: 75:[1, 74], Operations: ['56-19=37', '2*37=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[1, 2, 19, 56], Operations: [] Exploring Operation: 56-19=37, Resulting Numbers: [1, 2, 37] Generated Node #0,1: 75:[1, 2, 37] Operation: 56-19=37 Moving to Node #0,1 Current State: 75:[1, 2, 37], Operations: ['56-19=37'] Exploring Operation: 2*37=74, Resulting Numbers: [1, 74] Generated Node #0,1,3: 75:[1, 74] Operation: 2*37=74 Moving to Node #0,1,3 Current State: 75:[1, 74], Operations: ['56-19=37', '2*37=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 39, 70, 35, 20 ]
21
[ "39-20=19", "70/35=2", "19+2=21" ]
Current State: 21:[39, 70, 35, 20], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [70, 35, 19] Generated Node #2: [70, 35, 19] from Operation: 39-20=19 Current State: 21:[70, 35, 19], Operations: ['39-20=19'] Exploring Operation: 70/35=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 70/35=2 Current State: 21:[19, 2], Operations: ['39-20=19', '70/35=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[39, 70, 35, 20], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [35, 20, 31] Generated Node #0,0: 21:[35, 20, 31] Operation: 70-39=31 Exploring Operation: 70/35=2, Resulting Numbers: [39, 20, 2] Generated Node #0,1: 21:[39, 20, 2] Operation: 70/35=2 Moving to Node #0,1 Current State: 21:[39, 20, 2], Operations: ['70/35=2'] Exploring Operation: 39-2=37, Resulting Numbers: [20, 37] Generated Node #0,1,0: 21:[20, 37] Operation: 39-2=37 Exploring Operation: 39-20=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 21:[2, 19] Operation: 39-20=19 Moving to Node #0,0 Current State: 21:[35, 20, 31], Operations: ['70-39=31'] Exploring Operation: 35-31=4, Resulting Numbers: [20, 4] Generated Node #0,0,0: 21:[20, 4] Operation: 35-31=4 Exploring Operation: 35-20=15, Resulting Numbers: [31, 15] Generated Node #0,0,1: 21:[31, 15] Operation: 35-20=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[20, 4], Operations: ['70-39=31', '35-31=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,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,0,1 Current State: 21:[31, 15], Operations: ['70-39=31', '35-20=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,21 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: 21:[2, 19], Operations: ['70/35=2', '39-20=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[39, 70, 35, 20], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [39, 20, 2] Generated Node #0,1: 21:[39, 20, 2] Operation: 70/35=2 Moving to Node #0,1 Current State: 21:[39, 20, 2], Operations: ['70/35=2'] Exploring Operation: 39-20=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 21:[2, 19] Operation: 39-20=19 Moving to Node #0,1,1 Current State: 21:[2, 19], Operations: ['70/35=2', '39-20=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 43, 84, 64, 55 ]
78
[ "84-43=41", "64+55=119", "119-41=78" ]
Current State: 78:[43, 84, 64, 55], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [64, 55, 41] Generated Node #2: [64, 55, 41] from Operation: 84-43=41 Current State: 78:[64, 55, 41], Operations: ['84-43=41'] Exploring Operation: 64+55=119, Resulting Numbers: [41, 119] Generated Node #3: [41, 119] from Operation: 64+55=119 Current State: 78:[41, 119], Operations: ['84-43=41', '64+55=119'] Exploring Operation: 119-41=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[43, 84, 64, 55], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [43, 64, 29] Generated Node #0,0: 78:[43, 64, 29] Operation: 84-55=29 Exploring Operation: 55-43=12, Resulting Numbers: [84, 64, 12] Generated Node #0,1: 78:[84, 64, 12] Operation: 55-43=12 Exploring Operation: 64-55=9, Resulting Numbers: [43, 84, 9] Generated Node #0,2: 78:[43, 84, 9] Operation: 64-55=9 Exploring Operation: 84-64=20, Resulting Numbers: [43, 55, 20] Generated Node #0,3: 78:[43, 55, 20] Operation: 84-64=20 Moving to Node #0,2 Current State: 78:[43, 84, 9], Operations: ['64-55=9'] Exploring Operation: 43+9=52, Resulting Numbers: [84, 52] Generated Node #0,2,0: 78:[84, 52] Operation: 43+9=52 Exploring Operation: 84-43=41, Resulting Numbers: [9, 41] Generated Node #0,2,1: 78:[9, 41] Operation: 84-43=41 Exploring Operation: 84-9=75, Resulting Numbers: [43, 75] Generated Node #0,2,2: 78:[43, 75] Operation: 84-9=75 Exploring Operation: 43-9=34, Resulting Numbers: [84, 34] Generated Node #0,2,3: 78:[84, 34] Operation: 43-9=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[9, 41], Operations: ['64-55=9', '84-43=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,78 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,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,2,2 Current State: 78:[43, 75], Operations: ['64-55=9', '84-9=75'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,78 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,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,2,3 Current State: 78:[84, 34], Operations: ['64-55=9', '43-9=34'] Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,78 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,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,2,0 Current State: 78:[84, 52], Operations: ['64-55=9', '43+9=52'] Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,78 unequal: No Solution Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,78 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: 78:[84, 64, 12], Operations: ['55-43=12'] Exploring Operation: 84-64=20, Resulting Numbers: [12, 20] Generated Node #0,1,0: 78:[12, 20] Operation: 84-64=20 Exploring Operation: 84/12=7, Resulting Numbers: [64, 7] Generated Node #0,1,1: 78:[64, 7] Operation: 84/12=7 Exploring Operation: 64-12=52, Resulting Numbers: [84, 52] Generated Node #0,1,2: 78:[84, 52] Operation: 64-12=52 Exploring Operation: 64+12=76, Resulting Numbers: [84, 76] Generated Node #0,1,3: 78:[84, 76] Operation: 64+12=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[12, 20], Operations: ['55-43=12', '84-64=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,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,3 Current State: 78:[84, 76], Operations: ['55-43=12', '64+12=76'] Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,78 unequal: No Solution Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,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,1 Current State: 78:[64, 7], Operations: ['55-43=12', '84/12=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,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,2 Current State: 78:[84, 52], Operations: ['55-43=12', '64-12=52'] Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,78 unequal: No Solution Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,78 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,78 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: 78:[43, 64, 29], Operations: ['84-55=29'] Exploring Operation: 64-43=21, Resulting Numbers: [29, 21] Generated Node #0,0,0: 78:[29, 21] Operation: 64-43=21 Exploring Operation: 64-29=35, Resulting Numbers: [43, 35] Generated Node #0,0,1: 78:[43, 35] Operation: 64-29=35 Exploring Operation: 43-29=14, Resulting Numbers: [64, 14] Generated Node #0,0,2: 78:[64, 14] Operation: 43-29=14 Exploring Operation: 64+29=93, Resulting Numbers: [43, 93] Generated Node #0,0,3: 78:[43, 93] Operation: 64+29=93 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[29, 21], Operations: ['84-55=29', '64-43=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,78 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,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,0,1 Current State: 78:[43, 35], Operations: ['84-55=29', '64-29=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[43, 84, 64, 55], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [43, 64, 29] Generated Node #0,0: 78:[43, 64, 29] Operation: 84-55=29 Moving to Node #0,0 Current State: 78:[43, 64, 29], Operations: ['84-55=29'] Exploring Operation: 64-29=35, Resulting Numbers: [43, 35] Generated Node #0,0,1: 78:[43, 35] Operation: 64-29=35 Moving to Node #0,0,1 Current State: 78:[43, 35], Operations: ['84-55=29', '64-29=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 88, 61, 56, 42 ]
41
[ "88-61=27", "56-42=14", "27+14=41" ]
Current State: 41:[88, 61, 56, 42], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [56, 42, 27] Generated Node #2: [56, 42, 27] from Operation: 88-61=27 Current State: 41:[56, 42, 27], Operations: ['88-61=27'] Exploring Operation: 56-42=14, Resulting Numbers: [27, 14] Generated Node #3: [27, 14] from Operation: 56-42=14 Current State: 41:[27, 14], Operations: ['88-61=27', '56-42=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[88, 61, 56, 42], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [56, 42, 27] Generated Node #0,0: 41:[56, 42, 27] Operation: 88-61=27 Exploring Operation: 88-56=32, Resulting Numbers: [61, 42, 32] Generated Node #0,1: 41:[61, 42, 32] Operation: 88-56=32 Moving to Node #0,0 Current State: 41:[56, 42, 27], Operations: ['88-61=27'] Exploring Operation: 56-27=29, Resulting Numbers: [42, 29] Generated Node #0,0,0: 41:[42, 29] Operation: 56-27=29 Exploring Operation: 56-42=14, Resulting Numbers: [27, 14] Generated Node #0,0,1: 41:[27, 14] Operation: 56-42=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[42, 29], Operations: ['88-61=27', '56-27=29'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,41 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: 41:[27, 14], Operations: ['88-61=27', '56-42=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[88, 61, 56, 42], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [56, 42, 27] Generated Node #0,0: 41:[56, 42, 27] Operation: 88-61=27 Moving to Node #0,0 Current State: 41:[56, 42, 27], Operations: ['88-61=27'] Exploring Operation: 56-42=14, Resulting Numbers: [27, 14] Generated Node #0,0,1: 41:[27, 14] Operation: 56-42=14 Moving to Node #0,0,1 Current State: 41:[27, 14], Operations: ['88-61=27', '56-42=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 33, 44, 49, 6 ]
63
[ "49-44=5", "6*5=30", "33+30=63" ]
Current State: 63:[33, 44, 49, 6], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [33, 6, 5] Generated Node #2: [33, 6, 5] from Operation: 49-44=5 Current State: 63:[33, 6, 5], Operations: ['49-44=5'] Exploring Operation: 6*5=30, Resulting Numbers: [33, 30] Generated Node #3: [33, 30] from Operation: 6*5=30 Current State: 63:[33, 30], Operations: ['49-44=5', '6*5=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[33, 44, 49, 6], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [33, 6, 5] Generated Node #0,0: 63:[33, 6, 5] Operation: 49-44=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[33, 6, 5], Operations: ['49-44=5'] Exploring Operation: 33-6=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 63:[5, 27] Operation: 33-6=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[5, 27], Operations: ['49-44=5', '33-6=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,63 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
[ 94, 11, 93, 83 ]
28
[ "94-83=11", "11*11=121", "121-93=28" ]
Current State: 28:[94, 11, 93, 83], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [11, 93, 11] Generated Node #2: [11, 93, 11] from Operation: 94-83=11 Current State: 28:[11, 93, 11], Operations: ['94-83=11'] Exploring Operation: 11*11=121, Resulting Numbers: [93, 121] Generated Node #3: [93, 121] from Operation: 11*11=121 Current State: 28:[93, 121], Operations: ['94-83=11', '11*11=121'] Exploring Operation: 121-93=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[94, 11, 93, 83], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [11, 83, 1] Generated Node #0,0: 28:[11, 83, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 28:[11, 83, 1], Operations: ['94-93=1'] Exploring Operation: 83-11=72, Resulting Numbers: [1, 72] Generated Node #0,0,0: 28:[1, 72] Operation: 83-11=72 Moving to Node #0,0,0 Current State: 28:[1, 72], Operations: ['94-93=1', '83-11=72'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,28 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 15, 8, 2 ]
24
[ "15-9=6", "8/2=4", "6*4=24" ]
Current State: 24:[9, 15, 8, 2], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [8, 2, 6] Generated Node #2: [8, 2, 6] from Operation: 15-9=6 Current State: 24:[8, 2, 6], Operations: ['15-9=6'] Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #3: [6, 4] from Operation: 8/2=4 Current State: 24:[6, 4], Operations: ['15-9=6', '8/2=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[9, 15, 8, 2], Operations: [] Exploring Operation: 15-2=13, Resulting Numbers: [9, 8, 13] Generated Node #0,0: 24:[9, 8, 13] Operation: 15-2=13 Exploring Operation: 15+8=23, Resulting Numbers: [9, 2, 23] Generated Node #0,1: 24:[9, 2, 23] Operation: 15+8=23 Exploring Operation: 15-9=6, Resulting Numbers: [8, 2, 6] Generated Node #0,2: 24:[8, 2, 6] Operation: 15-9=6 Exploring Operation: 9+15=24, Resulting Numbers: [8, 2, 24] Generated Node #0,3: 24:[8, 2, 24] Operation: 9+15=24 Exploring Operation: 15-8=7, Resulting Numbers: [9, 2, 7] Generated Node #0,4: 24:[9, 2, 7] Operation: 15-8=7 Moving to Node #0,2 Current State: 24:[8, 2, 6], Operations: ['15-9=6'] Exploring Operation: 8-2=6, Resulting Numbers: [6, 6] Generated Node #0,2,0: 24:[6, 6] Operation: 8-2=6 Exploring Operation: 2*6=12, Resulting Numbers: [8, 12] Generated Node #0,2,1: 24:[8, 12] Operation: 2*6=12 Exploring Operation: 2+6=8, Resulting Numbers: [8, 8] Generated Node #0,2,2: 24:[8, 8] Operation: 2+6=8 Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #0,2,3: 24:[6, 4] Operation: 8/2=4 Exploring Operation: 8-6=2, Resulting Numbers: [2, 2] Generated Node #0,2,4: 24:[2, 2] Operation: 8-6=2 Moving to Node #0,3 Current State: 24:[8, 2, 24], Operations: ['9+15=24'] Exploring Operation: 24/8=3, Resulting Numbers: [2, 3] Generated Node #0,3,0: 24:[2, 3] Operation: 24/8=3 Exploring Operation: 8+2=10, Resulting Numbers: [24, 10] Generated Node #0,3,1: 24:[24, 10] Operation: 8+2=10 Exploring Operation: 24/2=12, Resulting Numbers: [8, 12] Generated Node #0,3,2: 24:[8, 12] Operation: 24/2=12 Exploring Operation: 8/2=4, Resulting Numbers: [24, 4] Generated Node #0,3,3: 24:[24, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [24, 6] Generated Node #0,3,4: 24:[24, 6] Operation: 8-2=6 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[2, 3], Operations: ['9+15=24', '24/8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,3,2 Current State: 24:[8, 12], Operations: ['9+15=24', '24/2=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,24 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,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,3,3 Current State: 24:[24, 4], Operations: ['9+15=24', '8/2=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,24 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,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,3,4 Current State: 24:[24, 6], Operations: ['9+15=24', '8-2=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,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,3,1 Current State: 24:[24, 10], Operations: ['9+15=24', '8+2=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,24 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: 24:[9, 8, 13], Operations: ['15-2=13'] Exploring Operation: 9-8=1, Resulting Numbers: [13, 1] Generated Node #0,0,0: 24:[13, 1] Operation: 9-8=1 Exploring Operation: 9+13=22, Resulting Numbers: [8, 22] Generated Node #0,0,1: 24:[8, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [8, 4] Generated Node #0,0,2: 24:[8, 4] Operation: 13-9=4 Exploring Operation: 8+13=21, Resulting Numbers: [9, 21] Generated Node #0,0,3: 24:[9, 21] Operation: 8+13=21 Exploring Operation: 13-8=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 24:[9, 5] Operation: 13-8=5 Moving to Node #0,1 Current State: 24:[9, 2, 23], Operations: ['15+8=23'] Exploring Operation: 23-2=21, Resulting Numbers: [9, 21] Generated Node #0,1,0: 24:[9, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [9, 25] Generated Node #0,1,1: 24:[9, 25] Operation: 2+23=25 Exploring Operation: 9-2=7, Resulting Numbers: [23, 7] Generated Node #0,1,2: 24:[23, 7] Operation: 9-2=7 Exploring Operation: 23-9=14, Resulting Numbers: [2, 14] Generated Node #0,1,3: 24:[2, 14] Operation: 23-9=14 Exploring Operation: 9+2=11, Resulting Numbers: [23, 11] Generated Node #0,1,4: 24:[23, 11] Operation: 9+2=11 Moving to Node #0,4 Current State: 24:[9, 2, 7], Operations: ['15-8=7'] Exploring Operation: 9-2=7, Resulting Numbers: [7, 7] Generated Node #0,4,0: 24:[7, 7] Operation: 9-2=7 Exploring Operation: 2+7=9, Resulting Numbers: [9, 9] Generated Node #0,4,1: 24:[9, 9] Operation: 2+7=9 Exploring Operation: 9-7=2, Resulting Numbers: [2, 2] Generated Node #0,4,2: 24:[2, 2] Operation: 9-7=2 Exploring Operation: 7-2=5, Resulting Numbers: [9, 5] Generated Node #0,4,3: 24:[9, 5] Operation: 7-2=5 Exploring Operation: 9+2=11, Resulting Numbers: [7, 11] Generated Node #0,4,4: 24:[7, 11] Operation: 9+2=11 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 24:[2, 2], Operations: ['15-8=7', '9-7=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,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,4,0 Current State: 24:[7, 7], Operations: ['15-8=7', '9-2=7'] Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,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,4,1 Current State: 24:[9, 9], Operations: ['15-8=7', '2+7=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,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,4,3 Current State: 24:[9, 5], Operations: ['15-8=7', '7-2=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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,4,4 Current State: 24:[7, 11], Operations: ['15-8=7', '9+2=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 24:[6, 6], Operations: ['15-9=6', '8-2=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[8, 8], Operations: ['15-9=6', '2+6=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[8, 4], Operations: ['15-2=13', '13-9=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[8, 12], Operations: ['15-9=6', '2*6=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[2, 2], Operations: ['15-9=6', '8-6=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[6, 4], Operations: ['15-9=6', '8/2=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[9, 15, 8, 2], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [8, 2, 6] Generated Node #0,2: 24:[8, 2, 6] Operation: 15-9=6 Moving to Node #0,2 Current State: 24:[8, 2, 6], Operations: ['15-9=6'] Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #0,2,3: 24:[6, 4] Operation: 8/2=4 Moving to Node #0,2,3 Current State: 24:[6, 4], Operations: ['15-9=6', '8/2=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.921875
hs_5
sum_heuristic
[ 4, 73, 42, 63 ]
76
[ "73+63=136", "136/4=34", "42+34=76" ]
Current State: 76:[4, 73, 42, 63], Operations: [] Exploring Operation: 73+63=136, Resulting Numbers: [4, 42, 136] Generated Node #2: [4, 42, 136] from Operation: 73+63=136 Current State: 76:[4, 42, 136], Operations: ['73+63=136'] Exploring Operation: 136/4=34, Resulting Numbers: [42, 34] Generated Node #3: [42, 34] from Operation: 136/4=34 Current State: 76:[42, 34], Operations: ['73+63=136', '136/4=34'] Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 73, 42, 63], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [4, 73, 21] Generated Node #0,0: 76:[4, 73, 21] Operation: 63-42=21 Exploring Operation: 42-4=38, Resulting Numbers: [73, 63, 38] Generated Node #0,1: 76:[73, 63, 38] Operation: 42-4=38 Exploring Operation: 4+63=67, Resulting Numbers: [73, 42, 67] Generated Node #0,2: 76:[73, 42, 67] Operation: 4+63=67 Exploring Operation: 73-63=10, Resulting Numbers: [4, 42, 10] Generated Node #0,3: 76:[4, 42, 10] Operation: 73-63=10 Moving to Node #0,0 Current State: 76:[4, 73, 21], Operations: ['63-42=21'] Exploring Operation: 4+73=77, Resulting Numbers: [21, 77] Generated Node #0,0,0: 76:[21, 77] Operation: 4+73=77 Exploring Operation: 73-4=69, Resulting Numbers: [21, 69] Generated Node #0,0,1: 76:[21, 69] Operation: 73-4=69 Exploring Operation: 4+21=25, Resulting Numbers: [73, 25] Generated Node #0,0,2: 76:[73, 25] Operation: 4+21=25 Exploring Operation: 21-4=17, Resulting Numbers: [73, 17] Generated Node #0,0,3: 76:[73, 17] Operation: 21-4=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 77], Operations: ['63-42=21', '4+73=77'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,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,0,3 Current State: 76:[73, 17], Operations: ['63-42=21', '21-4=17'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,76 unequal: No Solution Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,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,0,1 Current State: 76:[21, 69], Operations: ['63-42=21', '73-4=69'] Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,76 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,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,0,2 Current State: 76:[73, 25], Operations: ['63-42=21', '4+21=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,76 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,76 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: 76:[4, 42, 10], Operations: ['73-63=10'] Exploring Operation: 10-4=6, Resulting Numbers: [42, 6] Generated Node #0,3,0: 76:[42, 6] Operation: 10-4=6 Exploring Operation: 42-4=38, Resulting Numbers: [10, 38] Generated Node #0,3,1: 76:[10, 38] Operation: 42-4=38 Exploring Operation: 42-10=32, Resulting Numbers: [4, 32] Generated Node #0,3,2: 76:[4, 32] Operation: 42-10=32 Exploring Operation: 4*10=40, Resulting Numbers: [42, 40] Generated Node #0,3,3: 76:[42, 40] Operation: 4*10=40 Moving to Node #0,2 Current State: 76:[73, 42, 67], Operations: ['4+63=67'] Exploring Operation: 42+67=109, Resulting Numbers: [73, 109] Generated Node #0,2,0: 76:[73, 109] Operation: 42+67=109 Exploring Operation: 67-42=25, Resulting Numbers: [73, 25] Generated Node #0,2,1: 76:[73, 25] Operation: 67-42=25 Exploring Operation: 73-67=6, Resulting Numbers: [42, 6] Generated Node #0,2,2: 76:[42, 6] Operation: 73-67=6 Exploring Operation: 73-42=31, Resulting Numbers: [67, 31] Generated Node #0,2,3: 76:[67, 31] Operation: 73-42=31 Moving to Node #0,1 Current State: 76:[73, 63, 38], Operations: ['42-4=38'] Exploring Operation: 63-38=25, Resulting Numbers: [73, 25] Generated Node #0,1,0: 76:[73, 25] Operation: 63-38=25 Exploring Operation: 73-63=10, Resulting Numbers: [38, 10] Generated Node #0,1,1: 76:[38, 10] Operation: 73-63=10 Exploring Operation: 63+38=101, Resulting Numbers: [73, 101] Generated Node #0,1,2: 76:[73, 101] Operation: 63+38=101 Exploring Operation: 73-38=35, Resulting Numbers: [63, 35] Generated Node #0,1,3: 76:[63, 35] Operation: 73-38=35 Moving to Node #0,3,0 Current State: 76:[42, 6], Operations: ['73-63=10', '10-4=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,76 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[4, 32], Operations: ['73-63=10', '42-10=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,76 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[10, 38], Operations: ['73-63=10', '42-4=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[42, 6], Operations: ['4+63=67', '73-67=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,76 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[42, 40], Operations: ['73-63=10', '4*10=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,76 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[38, 10], Operations: ['42-4=38', '73-63=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,76 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[73, 25], Operations: ['4+63=67', '67-42=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[73, 25], Operations: ['42-4=38', '63-38=25'] Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,76 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[67, 31], Operations: ['4+63=67', '73-42=31'] Exploring Operation: 67*31=2077, Resulting Numbers: [2077] 2077,76 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[63, 35], Operations: ['42-4=38', '73-38=35'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 63*35=2205, Resulting Numbers: [2205] 2205,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[73, 101], Operations: ['42-4=38', '63+38=101'] Exploring Operation: 101-73=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 73*101=7373, Resulting Numbers: [7373] 7373,76 unequal: No Solution Exploring Operation: 73+101=174, Resulting Numbers: [174] 174,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[73, 109], Operations: ['4+63=67', '42+67=109'] Exploring Operation: 109-73=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 73+109=182, Resulting Numbers: [182] 182,76 unequal: No Solution Exploring Operation: 73*109=7957, Resulting Numbers: [7957] 7957,76 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 96, 58, 66 ]
79
[ "96-9=87", "66-58=8", "87-8=79" ]
Current State: 79:[9, 96, 58, 66], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [58, 66, 87] Generated Node #2: [58, 66, 87] from Operation: 96-9=87 Current State: 79:[58, 66, 87], Operations: ['96-9=87'] Exploring Operation: 66-58=8, Resulting Numbers: [87, 8] Generated Node #3: [87, 8] from Operation: 66-58=8 Current State: 79:[87, 8], Operations: ['96-9=87', '66-58=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[9, 96, 58, 66], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [58, 66, 87] Generated Node #0,0: 79:[58, 66, 87] Operation: 96-9=87 Exploring Operation: 9+58=67, Resulting Numbers: [96, 66, 67] Generated Node #0,1: 79:[96, 66, 67] Operation: 9+58=67 Moving to Node #0,0 Current State: 79:[58, 66, 87], Operations: ['96-9=87'] Exploring Operation: 87-58=29, Resulting Numbers: [66, 29] Generated Node #0,0,0: 79:[66, 29] Operation: 87-58=29 Exploring Operation: 58+66=124, Resulting Numbers: [87, 124] Generated Node #0,0,1: 79:[87, 124] Operation: 58+66=124 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[87, 124], Operations: ['96-9=87', '58+66=124'] Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 87+124=211, Resulting Numbers: [211] 211,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,0,0 Current State: 79:[66, 29], Operations: ['96-9=87', '87-58=29'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,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:[96, 66, 67], Operations: ['9+58=67'] Exploring Operation: 96-67=29, Resulting Numbers: [66, 29] Generated Node #0,1,0: 79:[66, 29] Operation: 96-67=29 Exploring Operation: 96-66=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 79:[67, 30] Operation: 96-66=30 Moving to Node #0,1,1 Current State: 79:[67, 30], Operations: ['9+58=67', '96-66=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[66, 29], Operations: ['9+58=67', '96-67=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,79 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 77, 86, 95, 36 ]
88
[ "95-77=18", "36/18=2", "86+2=88" ]
Current State: 88:[77, 86, 95, 36], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [86, 36, 18] Generated Node #2: [86, 36, 18] from Operation: 95-77=18 Current State: 88:[86, 36, 18], Operations: ['95-77=18'] Exploring Operation: 36/18=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 36/18=2 Current State: 88:[86, 2], Operations: ['95-77=18', '36/18=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[77, 86, 95, 36], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [86, 95, 41] Generated Node #0,0: 88:[86, 95, 41] Operation: 77-36=41 Moving to Node #0,0 Current State: 88:[86, 95, 41], Operations: ['77-36=41'] Exploring Operation: 95-86=9, Resulting Numbers: [41, 9] Generated Node #0,0,0: 88:[41, 9] Operation: 95-86=9 Moving to Node #0,0,0 Current State: 88:[41, 9], Operations: ['77-36=41', '95-86=9'] Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,88 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 56, 5, 33 ]
64
[ "7+33=40", "40/5=8", "56+8=64" ]
Current State: 64:[7, 56, 5, 33], Operations: [] Exploring Operation: 7+33=40, Resulting Numbers: [56, 5, 40] Generated Node #2: [56, 5, 40] from Operation: 7+33=40 Current State: 64:[56, 5, 40], Operations: ['7+33=40'] Exploring Operation: 40/5=8, Resulting Numbers: [56, 8] Generated Node #3: [56, 8] from Operation: 40/5=8 Current State: 64:[56, 8], Operations: ['7+33=40', '40/5=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 56, 5, 33], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [5, 33, 8] Generated Node #0,0: 64:[5, 33, 8] Operation: 56/7=8 Moving to Node #0,0 Current State: 64:[5, 33, 8], Operations: ['56/7=8'] Exploring Operation: 8-5=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 64:[33, 3] Operation: 8-5=3 Moving to Node #0,0,0 Current State: 64:[33, 3], Operations: ['56/7=8', '8-5=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 21, 32, 98, 33 ]
54
[ "32-21=11", "98-33=65", "65-11=54" ]
Current State: 54:[21, 32, 98, 33], Operations: [] Exploring Operation: 32-21=11, Resulting Numbers: [98, 33, 11] Generated Node #2: [98, 33, 11] from Operation: 32-21=11 Current State: 54:[98, 33, 11], Operations: ['32-21=11'] Exploring Operation: 98-33=65, Resulting Numbers: [11, 65] Generated Node #3: [11, 65] from Operation: 98-33=65 Current State: 54:[11, 65], Operations: ['32-21=11', '98-33=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[21, 32, 98, 33], Operations: [] Exploring Operation: 98-33=65, Resulting Numbers: [21, 32, 65] Generated Node #0,0: 54:[21, 32, 65] Operation: 98-33=65 Exploring Operation: 98-21=77, Resulting Numbers: [32, 33, 77] Generated Node #0,1: 54:[32, 33, 77] Operation: 98-21=77 Exploring Operation: 98-32=66, Resulting Numbers: [21, 33, 66] Generated Node #0,2: 54:[21, 33, 66] Operation: 98-32=66 Moving to Node #0,0 Current State: 54:[21, 32, 65], Operations: ['98-33=65'] Exploring Operation: 32-21=11, Resulting Numbers: [65, 11] Generated Node #0,0,0: 54:[65, 11] Operation: 32-21=11 Exploring Operation: 65-32=33, Resulting Numbers: [21, 33] Generated Node #0,0,1: 54:[21, 33] Operation: 65-32=33 Exploring Operation: 21+32=53, Resulting Numbers: [65, 53] Generated Node #0,0,2: 54:[65, 53] Operation: 21+32=53 Moving to Node #0,2 Current State: 54:[21, 33, 66], Operations: ['98-32=66'] Exploring Operation: 21+33=54, Resulting Numbers: [66, 54] Generated Node #0,2,0: 54:[66, 54] Operation: 21+33=54 Exploring Operation: 66/33=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 54:[21, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [21, 33] Generated Node #0,2,2: 54:[21, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[21, 2], Operations: ['98-32=66', '66/33=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,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,2,2 Current State: 54:[21, 33], Operations: ['98-32=66', '66-33=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,54 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[21, 32, 98, 33], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [21, 33, 66] Generated Node #0,2: 54:[21, 33, 66] Operation: 98-32=66 Moving to Node #0,2 Current State: 54:[21, 33, 66], Operations: ['98-32=66'] Exploring Operation: 66-33=33, Resulting Numbers: [21, 33] Generated Node #0,2,2: 54:[21, 33] Operation: 66-33=33 Moving to Node #0,2,2 Current State: 54:[21, 33], Operations: ['98-32=66', '66-33=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 40, 45, 64, 73 ]
52
[ "40+45=85", "64+73=137", "137-85=52" ]
Current State: 52:[40, 45, 64, 73], Operations: [] Exploring Operation: 40+45=85, Resulting Numbers: [64, 73, 85] Generated Node #2: [64, 73, 85] from Operation: 40+45=85 Current State: 52:[64, 73, 85], Operations: ['40+45=85'] Exploring Operation: 64+73=137, Resulting Numbers: [85, 137] Generated Node #3: [85, 137] from Operation: 64+73=137 Current State: 52:[85, 137], Operations: ['40+45=85', '64+73=137'] Exploring Operation: 137-85=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[40, 45, 64, 73], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [40, 64, 28] Generated Node #0,0: 52:[40, 64, 28] Operation: 73-45=28 Exploring Operation: 73-64=9, Resulting Numbers: [40, 45, 9] Generated Node #0,1: 52:[40, 45, 9] Operation: 73-64=9 Exploring Operation: 64-40=24, Resulting Numbers: [45, 73, 24] Generated Node #0,2: 52:[45, 73, 24] Operation: 64-40=24 Exploring Operation: 73-40=33, Resulting Numbers: [45, 64, 33] Generated Node #0,3: 52:[45, 64, 33] Operation: 73-40=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[40, 45, 9], Operations: ['73-64=9'] Exploring Operation: 40-9=31, Resulting Numbers: [45, 31] Generated Node #0,1,0: 52:[45, 31] Operation: 40-9=31 Exploring Operation: 45/9=5, Resulting Numbers: [40, 5] Generated Node #0,1,1: 52:[40, 5] Operation: 45/9=5 Exploring Operation: 45-40=5, Resulting Numbers: [9, 5] Generated Node #0,1,2: 52:[9, 5] Operation: 45-40=5 Exploring Operation: 40+9=49, Resulting Numbers: [45, 49] Generated Node #0,1,3: 52:[45, 49] Operation: 40+9=49 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[9, 5], Operations: ['73-64=9', '45-40=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,52 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: 52:[45, 49], Operations: ['73-64=9', '40+9=49'] Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,52 unequal: No Solution Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,52 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: 52:[45, 31], Operations: ['73-64=9', '40-9=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,52 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,52 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: 52:[40, 5], Operations: ['73-64=9', '45/9=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,52 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,52 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: 52:[40, 64, 28], Operations: ['73-45=28'] Exploring Operation: 40+28=68, Resulting Numbers: [64, 68] Generated Node #0,0,0: 52:[64, 68] Operation: 40+28=68 Exploring Operation: 40-28=12, Resulting Numbers: [64, 12] Generated Node #0,0,1: 52:[64, 12] Operation: 40-28=12 Exploring Operation: 64-28=36, Resulting Numbers: [40, 36] Generated Node #0,0,2: 52:[40, 36] Operation: 64-28=36 Exploring Operation: 64-40=24, Resulting Numbers: [28, 24] Generated Node #0,0,3: 52:[28, 24] Operation: 64-40=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[28, 24], Operations: ['73-45=28', '64-40=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,52 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[40, 45, 64, 73], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [40, 64, 28] Generated Node #0,0: 52:[40, 64, 28] Operation: 73-45=28 Moving to Node #0,0 Current State: 52:[40, 64, 28], Operations: ['73-45=28'] Exploring Operation: 64-40=24, Resulting Numbers: [28, 24] Generated Node #0,0,3: 52:[28, 24] Operation: 64-40=24 Moving to Node #0,0,3 Current State: 52:[28, 24], Operations: ['73-45=28', '64-40=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 75, 8, 76, 96 ]
87
[ "75-8=67", "96-76=20", "67+20=87" ]
Current State: 87:[75, 8, 76, 96], Operations: [] Exploring Operation: 75-8=67, Resulting Numbers: [76, 96, 67] Generated Node #2: [76, 96, 67] from Operation: 75-8=67 Current State: 87:[76, 96, 67], Operations: ['75-8=67'] Exploring Operation: 96-76=20, Resulting Numbers: [67, 20] Generated Node #3: [67, 20] from Operation: 96-76=20 Current State: 87:[67, 20], Operations: ['75-8=67', '96-76=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[75, 8, 76, 96], Operations: [] Exploring Operation: 75+8=83, Resulting Numbers: [76, 96, 83] Generated Node #0,0: 87:[76, 96, 83] Operation: 75+8=83 Exploring Operation: 76-75=1, Resulting Numbers: [8, 96, 1] Generated Node #0,1: 87:[8, 96, 1] Operation: 76-75=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[8, 96, 1], Operations: ['76-75=1'] Exploring Operation: 96/8=12, Resulting Numbers: [1, 12] Generated Node #0,1,0: 87:[1, 12] Operation: 96/8=12 Exploring Operation: 96-8=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 87:[1, 88] Operation: 96-8=88 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[1, 88], Operations: ['76-75=1', '96-8=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[75, 8, 76, 96], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [8, 96, 1] Generated Node #0,1: 87:[8, 96, 1] Operation: 76-75=1 Moving to Node #0,1 Current State: 87:[8, 96, 1], Operations: ['76-75=1'] Exploring Operation: 96-8=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 87:[1, 88] Operation: 96-8=88 Moving to Node #0,1,1 Current State: 87:[1, 88], Operations: ['76-75=1', '96-8=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 60, 52, 29, 32 ]
32
[ "52-32=20", "60/20=3", "29+3=32" ]
Current State: 32:[60, 52, 29, 32], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [60, 29, 20] Generated Node #2: [60, 29, 20] from Operation: 52-32=20 Current State: 32:[60, 29, 20], Operations: ['52-32=20'] Exploring Operation: 60/20=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 60/20=3 Current State: 32:[29, 3], Operations: ['52-32=20', '60/20=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[60, 52, 29, 32], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [52, 29, 28] Generated Node #0,0: 32:[52, 29, 28] Operation: 60-32=28 Exploring Operation: 60-52=8, Resulting Numbers: [29, 32, 8] Generated Node #0,1: 32:[29, 32, 8] Operation: 60-52=8 Exploring Operation: 60-29=31, Resulting Numbers: [52, 32, 31] Generated Node #0,2: 32:[52, 32, 31] Operation: 60-29=31 Exploring Operation: 52-29=23, Resulting Numbers: [60, 32, 23] Generated Node #0,3: 32:[60, 32, 23] Operation: 52-29=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[29, 32, 8], Operations: ['60-52=8'] Exploring Operation: 29+8=37, Resulting Numbers: [32, 37] Generated Node #0,1,0: 32:[32, 37] Operation: 29+8=37 Exploring Operation: 29-8=21, Resulting Numbers: [32, 21] Generated Node #0,1,1: 32:[32, 21] Operation: 29-8=21 Exploring Operation: 32-29=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 32:[8, 3] Operation: 32-29=3 Exploring Operation: 32/8=4, Resulting Numbers: [29, 4] Generated Node #0,1,3: 32:[29, 4] Operation: 32/8=4 Moving to Node #0,1,2 Current State: 32:[8, 3], Operations: ['60-52=8', '32-29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[29, 4], Operations: ['60-52=8', '32/8=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[32, 21], Operations: ['60-52=8', '29-8=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[32, 37], Operations: ['60-52=8', '29+8=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,32 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,32 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: 32:[52, 32, 31], Operations: ['60-29=31'] Exploring Operation: 32-31=1, Resulting Numbers: [52, 1] Generated Node #0,2,0: 32:[52, 1] Operation: 32-31=1 Exploring Operation: 52-32=20, Resulting Numbers: [31, 20] Generated Node #0,2,1: 32:[31, 20] Operation: 52-32=20 Exploring Operation: 52+31=83, Resulting Numbers: [32, 83] Generated Node #0,2,2: 32:[32, 83] Operation: 52+31=83 Exploring Operation: 52-31=21, Resulting Numbers: [32, 21] Generated Node #0,2,3: 32:[32, 21] Operation: 52-31=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[31, 20], Operations: ['60-29=31', '52-32=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,32 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: 32:[32, 21], Operations: ['60-29=31', '52-31=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,32 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,32 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: 32:[52, 1], Operations: ['60-29=31', '32-31=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,32 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,32 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: 32:[32, 83], Operations: ['60-29=31', '52+31=83'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,32 unequal: No Solution Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,32 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: 32:[52, 29, 28], Operations: ['60-32=28'] Exploring Operation: 29-28=1, Resulting Numbers: [52, 1] Generated Node #0,0,0: 32:[52, 1] Operation: 29-28=1 Exploring Operation: 52-28=24, Resulting Numbers: [29, 24] Generated Node #0,0,1: 32:[29, 24] Operation: 52-28=24 Exploring Operation: 29+28=57, Resulting Numbers: [52, 57] Generated Node #0,0,2: 32:[52, 57] Operation: 29+28=57 Exploring Operation: 52-29=23, Resulting Numbers: [28, 23] Generated Node #0,0,3: 32:[28, 23] Operation: 52-29=23 Moving to Node #0,0,1 Current State: 32:[29, 24], Operations: ['60-32=28', '52-28=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,32 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[28, 23], Operations: ['60-32=28', '52-29=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,32 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[52, 1], Operations: ['60-32=28', '29-28=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,32 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[52, 57], Operations: ['60-32=28', '29+28=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,32 unequal: No Solution Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,32 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: 32:[60, 32, 23], Operations: ['52-29=23'] Exploring Operation: 32-23=9, Resulting Numbers: [60, 9] Generated Node #0,3,0: 32:[60, 9] Operation: 32-23=9 Exploring Operation: 60-23=37, Resulting Numbers: [32, 37] Generated Node #0,3,1: 32:[32, 37] Operation: 60-23=37 Exploring Operation: 60-32=28, Resulting Numbers: [23, 28] Generated Node #0,3,2: 32:[23, 28] Operation: 60-32=28 Exploring Operation: 60+23=83, Resulting Numbers: [32, 83] Generated Node #0,3,3: 32:[32, 83] Operation: 60+23=83 Moving to Node #0,3,1 Current State: 32:[32, 37], Operations: ['52-29=23', '60-23=37'] Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,32 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[23, 28], Operations: ['52-29=23', '60-32=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,32 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[60, 9], Operations: ['52-29=23', '32-23=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[32, 83], Operations: ['52-29=23', '60+23=83'] Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,32 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 73, 88, 7, 39 ]
47
[ "88-73=15", "39-7=32", "15+32=47" ]
Current State: 47:[73, 88, 7, 39], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [7, 39, 15] Generated Node #2: [7, 39, 15] from Operation: 88-73=15 Current State: 47:[7, 39, 15], Operations: ['88-73=15'] Exploring Operation: 39-7=32, Resulting Numbers: [15, 32] Generated Node #3: [15, 32] from Operation: 39-7=32 Current State: 47:[15, 32], Operations: ['88-73=15', '39-7=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[73, 88, 7, 39], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [88, 39, 66] Generated Node #0,0: 47:[88, 39, 66] Operation: 73-7=66 Moving to Node #0,0 Current State: 47:[88, 39, 66], Operations: ['73-7=66'] Exploring Operation: 88-39=49, Resulting Numbers: [66, 49] Generated Node #0,0,0: 47:[66, 49] Operation: 88-39=49 Moving to Node #0,0,0 Current State: 47:[66, 49], Operations: ['73-7=66', '88-39=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 79, 20, 93 ]
80
[ "10+79=89", "93-89=4", "20*4=80" ]
Current State: 80:[10, 79, 20, 93], Operations: [] Exploring Operation: 10+79=89, Resulting Numbers: [20, 93, 89] Generated Node #2: [20, 93, 89] from Operation: 10+79=89 Current State: 80:[20, 93, 89], Operations: ['10+79=89'] Exploring Operation: 93-89=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 93-89=4 Current State: 80:[20, 4], Operations: ['10+79=89', '93-89=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[10, 79, 20, 93], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [10, 79, 73] Generated Node #0,0: 80:[10, 79, 73] Operation: 93-20=73 Exploring Operation: 93-79=14, Resulting Numbers: [10, 20, 14] Generated Node #0,1: 80:[10, 20, 14] Operation: 93-79=14 Exploring Operation: 93-10=83, Resulting Numbers: [79, 20, 83] Generated Node #0,2: 80:[79, 20, 83] Operation: 93-10=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[10, 20, 14], Operations: ['93-79=14'] Exploring Operation: 20-10=10, Resulting Numbers: [14, 10] Generated Node #0,1,0: 80:[14, 10] Operation: 20-10=10 Exploring Operation: 20-14=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 80:[10, 6] Operation: 20-14=6 Exploring Operation: 14-10=4, Resulting Numbers: [20, 4] Generated Node #0,1,2: 80:[20, 4] Operation: 14-10=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[20, 4], Operations: ['93-79=14', '14-10=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[10, 79, 20, 93], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [10, 20, 14] Generated Node #0,1: 80:[10, 20, 14] Operation: 93-79=14 Moving to Node #0,1 Current State: 80:[10, 20, 14], Operations: ['93-79=14'] Exploring Operation: 14-10=4, Resulting Numbers: [20, 4] Generated Node #0,1,2: 80:[20, 4] Operation: 14-10=4 Moving to Node #0,1,2 Current State: 80:[20, 4], Operations: ['93-79=14', '14-10=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 4, 76, 95, 75 ]
24
[ "76+95=171", "171-75=96", "96/4=24" ]
Current State: 24:[4, 76, 95, 75], Operations: [] Exploring Operation: 76+95=171, Resulting Numbers: [4, 75, 171] Generated Node #2: [4, 75, 171] from Operation: 76+95=171 Current State: 24:[4, 75, 171], Operations: ['76+95=171'] Exploring Operation: 171-75=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 171-75=96 Current State: 24:[4, 96], Operations: ['76+95=171', '171-75=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[4, 76, 95, 75], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [4, 75, 19] Generated Node #0,0: 24:[4, 75, 19] Operation: 95-76=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[4, 75, 19], Operations: ['95-76=19'] Exploring Operation: 75-19=56, Resulting Numbers: [4, 56] Generated Node #0,0,0: 24:[4, 56] Operation: 75-19=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[4, 56], Operations: ['95-76=19', '75-19=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,24 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
[ 15, 44, 33, 99 ]
89
[ "15*99=1485", "1485/33=45", "44+45=89" ]
Current State: 89:[15, 44, 33, 99], Operations: [] Exploring Operation: 15*99=1485, Resulting Numbers: [44, 33, 1485] Generated Node #2: [44, 33, 1485] from Operation: 15*99=1485 Current State: 89:[44, 33, 1485], Operations: ['15*99=1485'] Exploring Operation: 1485/33=45, Resulting Numbers: [44, 45] Generated Node #3: [44, 45] from Operation: 1485/33=45 Current State: 89:[44, 45], Operations: ['15*99=1485', '1485/33=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[15, 44, 33, 99], Operations: [] Exploring Operation: 15+44=59, Resulting Numbers: [33, 99, 59] Generated Node #0,0: 89:[33, 99, 59] Operation: 15+44=59 Exploring Operation: 15+33=48, Resulting Numbers: [44, 99, 48] Generated Node #0,1: 89:[44, 99, 48] Operation: 15+33=48 Exploring Operation: 99-15=84, Resulting Numbers: [44, 33, 84] Generated Node #0,2: 89:[44, 33, 84] Operation: 99-15=84 Exploring Operation: 44+33=77, Resulting Numbers: [15, 99, 77] Generated Node #0,3: 89:[15, 99, 77] Operation: 44+33=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[33, 99, 59], Operations: ['15+44=59'] Exploring Operation: 33+59=92, Resulting Numbers: [99, 92] Generated Node #0,0,0: 89:[99, 92] Operation: 33+59=92 Exploring Operation: 99-33=66, Resulting Numbers: [59, 66] Generated Node #0,0,1: 89:[59, 66] Operation: 99-33=66 Exploring Operation: 59-33=26, Resulting Numbers: [99, 26] Generated Node #0,0,2: 89:[99, 26] Operation: 59-33=26 Exploring Operation: 33+99=132, Resulting Numbers: [59, 132] Generated Node #0,0,3: 89:[59, 132] Operation: 33+99=132 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[99, 92], Operations: ['15+44=59', '33+59=92'] Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 99*92=9108, Resulting Numbers: [9108] 9108,89 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: 89:[59, 66], Operations: ['15+44=59', '99-33=66'] Exploring Operation: 59+66=125, Resulting Numbers: [125] 125,89 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 59*66=3894, Resulting Numbers: [3894] 3894,89 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: 89:[99, 26], Operations: ['15+44=59', '59-33=26'] Exploring Operation: 99+26=125, Resulting Numbers: [125] 125,89 unequal: No Solution Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 99*26=2574, Resulting Numbers: [2574] 2574,89 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: 89:[59, 132], Operations: ['15+44=59', '33+99=132'] Exploring Operation: 59+132=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 59*132=7788, Resulting Numbers: [7788] 7788,89 unequal: No Solution Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,89 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: 89:[44, 99, 48], Operations: ['15+33=48'] Exploring Operation: 44+99=143, Resulting Numbers: [48, 143] Generated Node #0,1,0: 89:[48, 143] Operation: 44+99=143 Exploring Operation: 44+48=92, Resulting Numbers: [99, 92] Generated Node #0,1,1: 89:[99, 92] Operation: 44+48=92 Exploring Operation: 99-44=55, Resulting Numbers: [48, 55] Generated Node #0,1,2: 89:[48, 55] Operation: 99-44=55 Exploring Operation: 99-48=51, Resulting Numbers: [44, 51] Generated Node #0,1,3: 89:[44, 51] Operation: 99-48=51 Moving to Node #0,1,1 Current State: 89:[99, 92], Operations: ['15+33=48', '44+48=92'] Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 99*92=9108, Resulting Numbers: [9108] 9108,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[48, 55], Operations: ['15+33=48', '99-44=55'] Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,89 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[44, 51], Operations: ['15+33=48', '99-48=51'] Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,89 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[48, 143], Operations: ['15+33=48', '44+99=143'] Exploring Operation: 48*143=6864, Resulting Numbers: [6864] 6864,89 unequal: No Solution Exploring Operation: 48+143=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 143-48=95, Resulting Numbers: [95] 95,89 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: 89:[15, 99, 77], Operations: ['44+33=77'] Exploring Operation: 15+99=114, Resulting Numbers: [77, 114] Generated Node #0,3,0: 89:[77, 114] Operation: 15+99=114 Exploring Operation: 15+77=92, Resulting Numbers: [99, 92] Generated Node #0,3,1: 89:[99, 92] Operation: 15+77=92 Exploring Operation: 77-15=62, Resulting Numbers: [99, 62] Generated Node #0,3,2: 89:[99, 62] Operation: 77-15=62 Exploring Operation: 99-15=84, Resulting Numbers: [77, 84] Generated Node #0,3,3: 89:[77, 84] Operation: 99-15=84 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[99, 92], Operations: ['44+33=77', '15+77=92'] Exploring Operation: 99*92=9108, Resulting Numbers: [9108] 9108,89 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,89 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: 89:[77, 84], Operations: ['44+33=77', '99-15=84'] Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,89 unequal: No Solution Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,89 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: 89:[77, 114], Operations: ['44+33=77', '15+99=114'] Exploring Operation: 114-77=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 77*114=8778, Resulting Numbers: [8778] 8778,89 unequal: No Solution Exploring Operation: 77+114=191, Resulting Numbers: [191] 191,89 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: 89:[99, 62], Operations: ['44+33=77', '77-15=62'] Exploring Operation: 99+62=161, Resulting Numbers: [161] 161,89 unequal: No Solution Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 99*62=6138, Resulting Numbers: [6138] 6138,89 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: 89:[44, 33, 84], Operations: ['99-15=84'] Exploring Operation: 84-33=51, Resulting Numbers: [44, 51] Generated Node #0,2,0: 89:[44, 51] Operation: 84-33=51 Exploring Operation: 44+33=77, Resulting Numbers: [84, 77] Generated Node #0,2,1: 89:[84, 77] Operation: 44+33=77 Exploring Operation: 44-33=11, Resulting Numbers: [84, 11] Generated Node #0,2,2: 89:[84, 11] Operation: 44-33=11 Exploring Operation: 33+84=117, Resulting Numbers: [44, 117] Generated Node #0,2,3: 89:[44, 117] Operation: 33+84=117 Moving to Node #0,2,1 Current State: 89:[84, 77], Operations: ['99-15=84', '44+33=77'] Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 84*77=6468, Resulting Numbers: [6468] 6468,89 unequal: No Solution Exploring Operation: 84+77=161, Resulting Numbers: [161] 161,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[44, 117], Operations: ['99-15=84', '33+84=117'] Exploring Operation: 44*117=5148, Resulting Numbers: [5148] 5148,89 unequal: No Solution Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 44+117=161, Resulting Numbers: [161] 161,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[84, 11], Operations: ['99-15=84', '44-33=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[44, 51], Operations: ['99-15=84', '84-33=51'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,89 unequal: No Solution Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,89 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
[ 40, 28, 26, 34 ]
88
[ "40*26=1040", "28*34=952", "1040-952=88" ]
Current State: 88:[40, 28, 26, 34], Operations: [] Exploring Operation: 40*26=1040, Resulting Numbers: [28, 34, 1040] Generated Node #2: [28, 34, 1040] from Operation: 40*26=1040 Current State: 88:[28, 34, 1040], Operations: ['40*26=1040'] Exploring Operation: 28*34=952, Resulting Numbers: [1040, 952] Generated Node #3: [1040, 952] from Operation: 28*34=952 Current State: 88:[1040, 952], Operations: ['40*26=1040', '28*34=952'] Exploring Operation: 1040-952=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[40, 28, 26, 34], Operations: [] Exploring Operation: 34-26=8, Resulting Numbers: [40, 28, 8] Generated Node #0,0: 88:[40, 28, 8] Operation: 34-26=8 Exploring Operation: 40-34=6, Resulting Numbers: [28, 26, 6] Generated Node #0,1: 88:[28, 26, 6] Operation: 40-34=6 Exploring Operation: 28-26=2, Resulting Numbers: [40, 34, 2] Generated Node #0,2: 88:[40, 34, 2] Operation: 28-26=2 Exploring Operation: 34-28=6, Resulting Numbers: [40, 26, 6] Generated Node #0,3: 88:[40, 26, 6] Operation: 34-28=6 Exploring Operation: 40-28=12, Resulting Numbers: [26, 34, 12] Generated Node #0,4: 88:[26, 34, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[40, 28, 8], Operations: ['34-26=8'] Exploring Operation: 40+8=48, Resulting Numbers: [28, 48] Generated Node #0,0,0: 88:[28, 48] Operation: 40+8=48 Exploring Operation: 40/8=5, Resulting Numbers: [28, 5] Generated Node #0,0,1: 88:[28, 5] Operation: 40/8=5 Exploring Operation: 28-8=20, Resulting Numbers: [40, 20] Generated Node #0,0,2: 88:[40, 20] Operation: 28-8=20 Exploring Operation: 28+8=36, Resulting Numbers: [40, 36] Generated Node #0,0,3: 88:[40, 36] Operation: 28+8=36 Exploring Operation: 40-28=12, Resulting Numbers: [8, 12] Generated Node #0,0,4: 88:[8, 12] Operation: 40-28=12 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 88:[8, 12], Operations: ['34-26=8', '40-28=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,88 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,88 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: 88:[40, 20], Operations: ['34-26=8', '28-8=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,88 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: 88:[28, 5], Operations: ['34-26=8', '40/8=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,88 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: 88:[28, 48], Operations: ['34-26=8', '40+8=48'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,88 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: 88:[40, 36], Operations: ['34-26=8', '28+8=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,88 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,88 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: 88:[40, 26, 6], Operations: ['34-28=6'] Exploring Operation: 26-6=20, Resulting Numbers: [40, 20] Generated Node #0,3,0: 88:[40, 20] Operation: 26-6=20 Exploring Operation: 40-26=14, Resulting Numbers: [6, 14] Generated Node #0,3,1: 88:[6, 14] Operation: 40-26=14 Exploring Operation: 40+6=46, Resulting Numbers: [26, 46] Generated Node #0,3,2: 88:[26, 46] Operation: 40+6=46 Exploring Operation: 40-6=34, Resulting Numbers: [26, 34] Generated Node #0,3,3: 88:[26, 34] Operation: 40-6=34 Exploring Operation: 26+6=32, Resulting Numbers: [40, 32] Generated Node #0,3,4: 88:[40, 32] Operation: 26+6=32 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[6, 14], Operations: ['34-28=6', '40-26=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,88 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: 88:[40, 20], Operations: ['34-28=6', '26-6=20'] Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,88 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: 88:[26, 46], Operations: ['34-28=6', '40+6=46'] Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,88 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,88 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: 88:[26, 34], Operations: ['34-28=6', '40-6=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,88 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,88 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: 88:[40, 32], Operations: ['34-28=6', '26+6=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,88 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: 88:[28, 26, 6], Operations: ['40-34=6'] Exploring Operation: 28+26=54, Resulting Numbers: [6, 54] Generated Node #0,1,0: 88:[6, 54] Operation: 28+26=54 Exploring Operation: 26-6=20, Resulting Numbers: [28, 20] Generated Node #0,1,1: 88:[28, 20] Operation: 26-6=20 Exploring Operation: 28-6=22, Resulting Numbers: [26, 22] Generated Node #0,1,2: 88:[26, 22] Operation: 28-6=22 Exploring Operation: 28-26=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 88:[6, 2] Operation: 28-26=2 Exploring Operation: 28+6=34, Resulting Numbers: [26, 34] Generated Node #0,1,4: 88:[26, 34] Operation: 28+6=34 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[6, 2], Operations: ['40-34=6', '28-26=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,88 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: 88:[26, 22], Operations: ['40-34=6', '28-6=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,88 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: 88:[28, 20], Operations: ['40-34=6', '26-6=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,88 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,88 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: 88:[6, 54], Operations: ['40-34=6', '28+26=54'] Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,88 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: 88:[26, 34], Operations: ['40-34=6', '28+6=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,88 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,88 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: 88:[40, 34, 2], Operations: ['28-26=2'] Exploring Operation: 40-34=6, Resulting Numbers: [2, 6] Generated Node #0,2,0: 88:[2, 6] Operation: 40-34=6 Exploring Operation: 40+2=42, Resulting Numbers: [34, 42] Generated Node #0,2,1: 88:[34, 42] Operation: 40+2=42 Exploring Operation: 40/2=20, Resulting Numbers: [34, 20] Generated Node #0,2,2: 88:[34, 20] Operation: 40/2=20 Exploring Operation: 34/2=17, Resulting Numbers: [40, 17] Generated Node #0,2,3: 88:[40, 17] Operation: 34/2=17 Exploring Operation: 34+2=36, Resulting Numbers: [40, 36] Generated Node #0,2,4: 88:[40, 36] Operation: 34+2=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[2, 6], Operations: ['28-26=2', '40-34=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,88 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: 88:[40, 17], Operations: ['28-26=2', '34/2=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,88 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,88 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: 88:[34, 42], Operations: ['28-26=2', '40+2=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,88 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,88 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: 88:[34, 20], Operations: ['28-26=2', '40/2=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,88 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,88 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: 88:[40, 36], Operations: ['28-26=2', '34+2=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,88 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,88 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: 88:[26, 34, 12], Operations: ['40-28=12'] Exploring Operation: 26-12=14, Resulting Numbers: [34, 14] Generated Node #0,4,0: 88:[34, 14] Operation: 26-12=14 Exploring Operation: 34+12=46, Resulting Numbers: [26, 46] Generated Node #0,4,1: 88:[26, 46] Operation: 34+12=46 Exploring Operation: 34-12=22, Resulting Numbers: [26, 22] Generated Node #0,4,2: 88:[26, 22] Operation: 34-12=22 Exploring Operation: 34-26=8, Resulting Numbers: [12, 8] Generated Node #0,4,3: 88:[12, 8] Operation: 34-26=8 Exploring Operation: 26+12=38, Resulting Numbers: [34, 38] Generated Node #0,4,4: 88:[34, 38] Operation: 26+12=38 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 88:[12, 8], Operations: ['40-28=12', '34-26=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,88 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: 88:[26, 22], Operations: ['40-28=12', '34-12=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,88 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: 88:[26, 46], Operations: ['40-28=12', '34+12=46'] Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,88 unequal: No Solution Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,88 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: 88:[34, 14], Operations: ['40-28=12', '26-12=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,88 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: 88:[34, 38], Operations: ['40-28=12', '26+12=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,88 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,88 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
[ 70, 20, 30, 35 ]
28
[ "30-20=10", "70/10=7", "35-7=28" ]
Current State: 28:[70, 20, 30, 35], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [70, 35, 10] Generated Node #2: [70, 35, 10] from Operation: 30-20=10 Current State: 28:[70, 35, 10], Operations: ['30-20=10'] Exploring Operation: 70/10=7, Resulting Numbers: [35, 7] Generated Node #3: [35, 7] from Operation: 70/10=7 Current State: 28:[35, 7], Operations: ['30-20=10', '70/10=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 20, 30, 35], Operations: [] Exploring Operation: 70-35=35, Resulting Numbers: [20, 30, 35] Generated Node #0,0: 28:[20, 30, 35] Operation: 70-35=35 Exploring Operation: 70/35=2, Resulting Numbers: [20, 30, 2] Generated Node #0,1: 28:[20, 30, 2] Operation: 70/35=2 Exploring Operation: 70-30=40, Resulting Numbers: [20, 35, 40] Generated Node #0,2: 28:[20, 35, 40] Operation: 70-30=40 Moving to Node #0,1 Current State: 28:[20, 30, 2], Operations: ['70/35=2'] Exploring Operation: 30-20=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 28:[2, 10] Operation: 30-20=10 Exploring Operation: 20-2=18, Resulting Numbers: [30, 18] Generated Node #0,1,1: 28:[30, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [30, 10] Generated Node #0,1,2: 28:[30, 10] Operation: 20/2=10 Moving to Node #0,0 Current State: 28:[20, 30, 35], Operations: ['70-35=35'] Exploring Operation: 35-20=15, Resulting Numbers: [30, 15] Generated Node #0,0,0: 28:[30, 15] Operation: 35-20=15 Exploring Operation: 35-30=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 28:[20, 5] Operation: 35-30=5 Exploring Operation: 30-20=10, Resulting Numbers: [35, 10] Generated Node #0,0,2: 28:[35, 10] Operation: 30-20=10 Moving to Node #0,2 Current State: 28:[20, 35, 40], Operations: ['70-30=40'] Exploring Operation: 35-20=15, Resulting Numbers: [40, 15] Generated Node #0,2,0: 28:[40, 15] Operation: 35-20=15 Exploring Operation: 40/20=2, Resulting Numbers: [35, 2] Generated Node #0,2,1: 28:[35, 2] Operation: 40/20=2 Exploring Operation: 40-35=5, Resulting Numbers: [20, 5] Generated Node #0,2,2: 28:[20, 5] Operation: 40-35=5 Moving to Node #0,1,0 Current State: 28:[2, 10], Operations: ['70/35=2', '30-20=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[30, 15], Operations: ['70-35=35', '35-20=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[30, 10], Operations: ['70/35=2', '20/2=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[30, 18], Operations: ['70/35=2', '20-2=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[35, 2], Operations: ['70-30=40', '40/20=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[20, 5], Operations: ['70-35=35', '35-30=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[20, 5], Operations: ['70-30=40', '40-35=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[35, 10], Operations: ['70-35=35', '30-20=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[40, 15], Operations: ['70-30=40', '35-20=15'] Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,28 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,28 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 4, 86, 11 ]
61
[ "9*4=36", "86+11=97", "97-36=61" ]
Current State: 61:[9, 4, 86, 11], Operations: [] Exploring Operation: 9*4=36, Resulting Numbers: [86, 11, 36] Generated Node #2: [86, 11, 36] from Operation: 9*4=36 Current State: 61:[86, 11, 36], Operations: ['9*4=36'] Exploring Operation: 86+11=97, Resulting Numbers: [36, 97] Generated Node #3: [36, 97] from Operation: 86+11=97 Current State: 61:[36, 97], Operations: ['9*4=36', '86+11=97'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[9, 4, 86, 11], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [9, 86, 44] Generated Node #0,0: 61:[9, 86, 44] Operation: 4*11=44 Exploring Operation: 9*11=99, Resulting Numbers: [4, 86, 99] Generated Node #0,1: 61:[4, 86, 99] Operation: 9*11=99 Exploring Operation: 9*4=36, Resulting Numbers: [86, 11, 36] Generated Node #0,2: 61:[86, 11, 36] Operation: 9*4=36 Moving to Node #0,0 Current State: 61:[9, 86, 44], Operations: ['4*11=44'] Exploring Operation: 9+86=95, Resulting Numbers: [44, 95] Generated Node #0,0,0: 61:[44, 95] Operation: 9+86=95 Exploring Operation: 86-9=77, Resulting Numbers: [44, 77] Generated Node #0,0,1: 61:[44, 77] Operation: 86-9=77 Exploring Operation: 9+44=53, Resulting Numbers: [86, 53] Generated Node #0,0,2: 61:[86, 53] Operation: 9+44=53 Moving to Node #0,2 Current State: 61:[86, 11, 36], Operations: ['9*4=36'] Exploring Operation: 11+36=47, Resulting Numbers: [86, 47] Generated Node #0,2,0: 61:[86, 47] Operation: 11+36=47 Exploring Operation: 86+11=97, Resulting Numbers: [36, 97] Generated Node #0,2,1: 61:[36, 97] Operation: 86+11=97 Exploring Operation: 86-11=75, Resulting Numbers: [36, 75] Generated Node #0,2,2: 61:[36, 75] Operation: 86-11=75 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[86, 47], Operations: ['9*4=36', '11+36=47'] Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,61 unequal: No Solution Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,61 unequal: No Solution Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,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,2,2 Current State: 61:[36, 75], Operations: ['9*4=36', '86-11=75'] Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,61 unequal: No Solution Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,61 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,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,2,1 Current State: 61:[36, 97], Operations: ['9*4=36', '86+11=97'] Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,61 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[9, 4, 86, 11], Operations: [] Exploring Operation: 9*4=36, Resulting Numbers: [86, 11, 36] Generated Node #0,2: 61:[86, 11, 36] Operation: 9*4=36 Moving to Node #0,2 Current State: 61:[86, 11, 36], Operations: ['9*4=36'] Exploring Operation: 86+11=97, Resulting Numbers: [36, 97] Generated Node #0,2,1: 61:[36, 97] Operation: 86+11=97 Moving to Node #0,2,1 Current State: 61:[36, 97], Operations: ['9*4=36', '86+11=97'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
sum_heuristic
[ 41, 72, 37, 63 ]
81
[ "41-37=4", "72/4=18", "63+18=81" ]
Current State: 81:[41, 72, 37, 63], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [72, 63, 4] Generated Node #2: [72, 63, 4] from Operation: 41-37=4 Current State: 81:[72, 63, 4], Operations: ['41-37=4'] Exploring Operation: 72/4=18, Resulting Numbers: [63, 18] Generated Node #3: [63, 18] from Operation: 72/4=18 Current State: 81:[63, 18], Operations: ['41-37=4', '72/4=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[41, 72, 37, 63], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [72, 37, 22] Generated Node #0,0: 81:[72, 37, 22] Operation: 63-41=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[72, 37, 22], Operations: ['63-41=22'] Exploring Operation: 72-37=35, Resulting Numbers: [22, 35] Generated Node #0,0,0: 81:[22, 35] Operation: 72-37=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[22, 35], Operations: ['63-41=22', '72-37=35'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,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_1
mult_heuristic
[ 7, 37, 99, 28 ]
83
[ "7+37=44", "99+28=127", "127-44=83" ]
Current State: 83:[7, 37, 99, 28], Operations: [] Exploring Operation: 7+37=44, Resulting Numbers: [99, 28, 44] Generated Node #2: [99, 28, 44] from Operation: 7+37=44 Current State: 83:[99, 28, 44], Operations: ['7+37=44'] Exploring Operation: 99+28=127, Resulting Numbers: [44, 127] Generated Node #3: [44, 127] from Operation: 99+28=127 Current State: 83:[44, 127], Operations: ['7+37=44', '99+28=127'] Exploring Operation: 127-44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[7, 37, 99, 28], Operations: [] Exploring Operation: 7+28=35, Resulting Numbers: [37, 99, 35] Generated Node #0,0: 83:[37, 99, 35] Operation: 7+28=35 Exploring Operation: 99-7=92, Resulting Numbers: [37, 28, 92] Generated Node #0,1: 83:[37, 28, 92] Operation: 99-7=92 Exploring Operation: 37+28=65, Resulting Numbers: [7, 99, 65] Generated Node #0,2: 83:[7, 99, 65] Operation: 37+28=65 Exploring Operation: 37-7=30, Resulting Numbers: [99, 28, 30] Generated Node #0,3: 83:[99, 28, 30] Operation: 37-7=30 Exploring Operation: 7+37=44, Resulting Numbers: [99, 28, 44] Generated Node #0,4: 83:[99, 28, 44] Operation: 7+37=44 Moving to Node #0,0 Current State: 83:[37, 99, 35], Operations: ['7+28=35'] Exploring Operation: 99-35=64, Resulting Numbers: [37, 64] Generated Node #0,0,0: 83:[37, 64] Operation: 99-35=64 Exploring Operation: 99+35=134, Resulting Numbers: [37, 134] Generated Node #0,0,1: 83:[37, 134] Operation: 99+35=134 Exploring Operation: 37+35=72, Resulting Numbers: [99, 72] Generated Node #0,0,2: 83:[99, 72] Operation: 37+35=72 Exploring Operation: 37-35=2, Resulting Numbers: [99, 2] Generated Node #0,0,3: 83:[99, 2] Operation: 37-35=2 Exploring Operation: 99-37=62, Resulting Numbers: [35, 62] Generated Node #0,0,4: 83:[35, 62] Operation: 99-37=62 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[99, 72], Operations: ['7+28=35', '37+35=72'] Exploring Operation: 99*72=7128, Resulting Numbers: [7128] 7128,83 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 99+72=171, Resulting Numbers: [171] 171,83 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: 83:[37, 64], Operations: ['7+28=35', '99-35=64'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 37*64=2368, Resulting Numbers: [2368] 2368,83 unequal: No Solution Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,83 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: 83:[35, 62], Operations: ['7+28=35', '99-37=62'] Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,83 unequal: No Solution Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,83 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: 83:[37, 134], Operations: ['7+28=35', '99+35=134'] Exploring Operation: 37*134=4958, Resulting Numbers: [4958] 4958,83 unequal: No Solution Exploring Operation: 37+134=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 134-37=97, Resulting Numbers: [97] 97,83 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: 83:[99, 2], Operations: ['7+28=35', '37-35=2'] Exploring Operation: 99*2=198, Resulting Numbers: [198] 198,83 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,83 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: 83:[7, 99, 65], Operations: ['37+28=65'] Exploring Operation: 7+65=72, Resulting Numbers: [99, 72] Generated Node #0,2,0: 83:[99, 72] Operation: 7+65=72 Exploring Operation: 65-7=58, Resulting Numbers: [99, 58] Generated Node #0,2,1: 83:[99, 58] Operation: 65-7=58 Exploring Operation: 99-65=34, Resulting Numbers: [7, 34] Generated Node #0,2,2: 83:[7, 34] Operation: 99-65=34 Exploring Operation: 99-7=92, Resulting Numbers: [65, 92] Generated Node #0,2,3: 83:[65, 92] Operation: 99-7=92 Exploring Operation: 7+99=106, Resulting Numbers: [65, 106] Generated Node #0,2,4: 83:[65, 106] Operation: 7+99=106 Moving to Node #0,1 Current State: 83:[37, 28, 92], Operations: ['99-7=92'] Exploring Operation: 92-28=64, Resulting Numbers: [37, 64] Generated Node #0,1,0: 83:[37, 64] Operation: 92-28=64 Exploring Operation: 92-37=55, Resulting Numbers: [28, 55] Generated Node #0,1,1: 83:[28, 55] Operation: 92-37=55 Exploring Operation: 37+28=65, Resulting Numbers: [92, 65] Generated Node #0,1,2: 83:[92, 65] Operation: 37+28=65 Exploring Operation: 37-28=9, Resulting Numbers: [92, 9] Generated Node #0,1,3: 83:[92, 9] Operation: 37-28=9 Exploring Operation: 28+92=120, Resulting Numbers: [37, 120] Generated Node #0,1,4: 83:[37, 120] Operation: 28+92=120 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[92, 65], Operations: ['99-7=92', '37+28=65'] Exploring Operation: 92-65=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 92*65=5980, Resulting Numbers: [5980] 5980,83 unequal: No Solution Exploring Operation: 92+65=157, Resulting Numbers: [157] 157,83 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: 83:[37, 64], Operations: ['99-7=92', '92-28=64'] Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 37*64=2368, Resulting Numbers: [2368] 2368,83 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: 83:[28, 55], Operations: ['99-7=92', '92-37=55'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[7, 37, 99, 28], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [37, 28, 92] Generated Node #0,1: 83:[37, 28, 92] Operation: 99-7=92 Moving to Node #0,1 Current State: 83:[37, 28, 92], Operations: ['99-7=92'] Exploring Operation: 92-37=55, Resulting Numbers: [28, 55] Generated Node #0,1,1: 83:[28, 55] Operation: 92-37=55 Moving to Node #0,1,1 Current State: 83:[28, 55], Operations: ['99-7=92', '92-37=55'] Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 11, 56, 7, 8 ]
38
[ "56*7=392", "392/8=49", "49-11=38" ]
Current State: 38:[11, 56, 7, 8], Operations: [] Exploring Operation: 56*7=392, Resulting Numbers: [11, 8, 392] Generated Node #2: [11, 8, 392] from Operation: 56*7=392 Current State: 38:[11, 8, 392], Operations: ['56*7=392'] Exploring Operation: 392/8=49, Resulting Numbers: [11, 49] Generated Node #3: [11, 49] from Operation: 392/8=49 Current State: 38:[11, 49], Operations: ['56*7=392', '392/8=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[11, 56, 7, 8], Operations: [] Exploring Operation: 11+8=19, Resulting Numbers: [56, 7, 19] Generated Node #0,0: 38:[56, 7, 19] Operation: 11+8=19 Exploring Operation: 56/8=7, Resulting Numbers: [11, 7, 7] Generated Node #0,1: 38:[11, 7, 7] Operation: 56/8=7 Exploring Operation: 56-11=45, Resulting Numbers: [7, 8, 45] Generated Node #0,2: 38:[7, 8, 45] Operation: 56-11=45 Exploring Operation: 56/7=8, Resulting Numbers: [11, 8, 8] Generated Node #0,3: 38:[11, 8, 8] Operation: 56/7=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[11, 7, 7], Operations: ['56/8=7'] Exploring Operation: 11-7=4, Resulting Numbers: [7, 4] Generated Node #0,1,0: 38:[7, 4] Operation: 11-7=4 Exploring Operation: 11+7=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 38:[7, 18] Operation: 11+7=18 Exploring Operation: 11-7=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 38:[7, 4] Operation: 11-7=4 Exploring Operation: 11+7=18, Resulting Numbers: [7, 18] Generated Node #0,1,3: 38:[7, 18] Operation: 11+7=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[7, 18], Operations: ['56/8=7', '11+7=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,38 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: 38:[7, 18], Operations: ['56/8=7', '11+7=18'] Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,38 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,38 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: 38:[7, 4], Operations: ['56/8=7', '11-7=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,38 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: 38:[7, 4], Operations: ['56/8=7', '11-7=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,38 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: 38:[7, 8, 45], Operations: ['56-11=45'] Exploring Operation: 45-8=37, Resulting Numbers: [7, 37] Generated Node #0,2,0: 38:[7, 37] Operation: 45-8=37 Exploring Operation: 8-7=1, Resulting Numbers: [45, 1] Generated Node #0,2,1: 38:[45, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [45, 15] Generated Node #0,2,2: 38:[45, 15] Operation: 7+8=15 Exploring Operation: 45-7=38, Resulting Numbers: [8, 38] Generated Node #0,2,3: 38:[8, 38] Operation: 45-7=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[7, 37], Operations: ['56-11=45', '45-8=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,38 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,38 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: 38:[8, 38], Operations: ['56-11=45', '45-7=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,38 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,38 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: 38:[45, 1], Operations: ['56-11=45', '8-7=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,38 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,38 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: 38:[45, 15], Operations: ['56-11=45', '7+8=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,38 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: 38:[11, 8, 8], Operations: ['56/7=8'] Exploring Operation: 11-8=3, Resulting Numbers: [8, 3] Generated Node #0,3,0: 38:[8, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [8, 19] Generated Node #0,3,1: 38:[8, 19] Operation: 11+8=19 Exploring Operation: 11-8=3, Resulting Numbers: [8, 3] Generated Node #0,3,2: 38:[8, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [8, 19] Generated Node #0,3,3: 38:[8, 19] Operation: 11+8=19 Moving to Node #0,3,1 Current State: 38:[8, 19], Operations: ['56/7=8', '11+8=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[8, 19], Operations: ['56/7=8', '11+8=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,38 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[8, 3], Operations: ['56/7=8', '11-8=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[8, 3], Operations: ['56/7=8', '11-8=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,38 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: 38:[56, 7, 19], Operations: ['11+8=19'] Exploring Operation: 56/7=8, Resulting Numbers: [19, 8] Generated Node #0,0,0: 38:[19, 8] Operation: 56/7=8 Exploring Operation: 56-19=37, Resulting Numbers: [7, 37] Generated Node #0,0,1: 38:[7, 37] Operation: 56-19=37 Exploring Operation: 56-7=49, Resulting Numbers: [19, 49] Generated Node #0,0,2: 38:[19, 49] Operation: 56-7=49 Exploring Operation: 56+7=63, Resulting Numbers: [19, 63] Generated Node #0,0,3: 38:[19, 63] Operation: 56+7=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[19, 8], Operations: ['11+8=19', '56/7=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,38 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,38 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: 38:[7, 37], Operations: ['11+8=19', '56-19=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,38 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,38 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: 38:[19, 49], Operations: ['11+8=19', '56-7=49'] Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,38 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,38 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: 38:[19, 63], Operations: ['11+8=19', '56+7=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,38 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
[ 3, 51, 8, 68 ]
71
[ "68-8=60", "60/3=20", "51+20=71" ]
Current State: 71:[3, 51, 8, 68], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [3, 51, 60] Generated Node #2: [3, 51, 60] from Operation: 68-8=60 Current State: 71:[3, 51, 60], Operations: ['68-8=60'] Exploring Operation: 60/3=20, Resulting Numbers: [51, 20] Generated Node #3: [51, 20] from Operation: 60/3=20 Current State: 71:[51, 20], Operations: ['68-8=60', '60/3=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 51, 8, 68], Operations: [] Exploring Operation: 3*8=24, Resulting Numbers: [51, 68, 24] Generated Node #0,0: 71:[51, 68, 24] Operation: 3*8=24 Exploring Operation: 3+68=71, Resulting Numbers: [51, 8, 71] Generated Node #0,1: 71:[51, 8, 71] Operation: 3+68=71 Exploring Operation: 3+8=11, Resulting Numbers: [51, 68, 11] Generated Node #0,2: 71:[51, 68, 11] Operation: 3+8=11 Exploring Operation: 3+51=54, Resulting Numbers: [8, 68, 54] Generated Node #0,3: 71:[8, 68, 54] Operation: 3+51=54 Moving to Node #0,0 Current State: 71:[51, 68, 24], Operations: ['3*8=24'] Exploring Operation: 68-24=44, Resulting Numbers: [51, 44] Generated Node #0,0,0: 71:[51, 44] Operation: 68-24=44 Exploring Operation: 51-24=27, Resulting Numbers: [68, 27] Generated Node #0,0,1: 71:[68, 27] Operation: 51-24=27 Exploring Operation: 51+24=75, Resulting Numbers: [68, 75] Generated Node #0,0,2: 71:[68, 75] Operation: 51+24=75 Exploring Operation: 68+24=92, Resulting Numbers: [51, 92] Generated Node #0,0,3: 71:[51, 92] Operation: 68+24=92 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[68, 75], Operations: ['3*8=24', '51+24=75'] Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,71 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,71 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: 71:[51, 92], Operations: ['3*8=24', '68+24=92'] Exploring Operation: 51*92=4692, Resulting Numbers: [4692] 4692,71 unequal: No Solution Exploring Operation: 51+92=143, Resulting Numbers: [143] 143,71 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,71 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: 71:[51, 44], Operations: ['3*8=24', '68-24=44'] Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,71 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: 71:[68, 27], Operations: ['3*8=24', '51-24=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,71 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,71 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: 71:[51, 68, 11], Operations: ['3+8=11'] Exploring Operation: 51+11=62, Resulting Numbers: [68, 62] Generated Node #0,2,0: 71:[68, 62] Operation: 51+11=62 Exploring Operation: 68+11=79, Resulting Numbers: [51, 79] Generated Node #0,2,1: 71:[51, 79] Operation: 68+11=79 Exploring Operation: 51-11=40, Resulting Numbers: [68, 40] Generated Node #0,2,2: 71:[68, 40] Operation: 51-11=40 Exploring Operation: 68-11=57, Resulting Numbers: [51, 57] Generated Node #0,2,3: 71:[51, 57] Operation: 68-11=57 Moving to Node #0,1 Current State: 71:[51, 8, 71], Operations: ['3+68=71'] Exploring Operation: 51-8=43, Resulting Numbers: [71, 43] Generated Node #0,1,0: 71:[71, 43] Operation: 51-8=43 Exploring Operation: 71-8=63, Resulting Numbers: [51, 63] Generated Node #0,1,1: 71:[51, 63] Operation: 71-8=63 Exploring Operation: 8+71=79, Resulting Numbers: [51, 79] Generated Node #0,1,2: 71:[51, 79] Operation: 8+71=79 Exploring Operation: 51+8=59, Resulting Numbers: [71, 59] Generated Node #0,1,3: 71:[71, 59] Operation: 51+8=59 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[71, 59], Operations: ['3+68=71', '51+8=59'] Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,71 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,71 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: 71:[71, 43], Operations: ['3+68=71', '51-8=43'] Exploring Operation: 71+43=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 71*43=3053, Resulting Numbers: [3053] 3053,71 unequal: No Solution Exploring Operation: 71-43=28, Resulting Numbers: [28] 28,71 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: 71:[51, 63], Operations: ['3+68=71', '71-8=63'] Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,71 unequal: No Solution Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,71 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: 71:[51, 79], Operations: ['3+68=71', '8+71=79'] Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 51+79=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 51*79=4029, Resulting Numbers: [4029] 4029,71 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: 71:[8, 68, 54], Operations: ['3+51=54'] Exploring Operation: 8+68=76, Resulting Numbers: [54, 76] Generated Node #0,3,0: 71:[54, 76] Operation: 8+68=76 Exploring Operation: 8+54=62, Resulting Numbers: [68, 62] Generated Node #0,3,1: 71:[68, 62] Operation: 8+54=62 Exploring Operation: 54-8=46, Resulting Numbers: [68, 46] Generated Node #0,3,2: 71:[68, 46] Operation: 54-8=46 Exploring Operation: 68-8=60, Resulting Numbers: [54, 60] Generated Node #0,3,3: 71:[54, 60] Operation: 68-8=60 Moving to Node #0,2,0 Current State: 71:[68, 62], Operations: ['3+8=11', '51+11=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,71 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[68, 62], Operations: ['3+51=54', '8+54=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[54, 76], Operations: ['3+51=54', '8+68=76'] Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[68, 46], Operations: ['3+51=54', '54-8=46'] Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,71 unequal: No Solution Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,71 unequal: No Solution Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[51, 79], Operations: ['3+8=11', '68+11=79'] Exploring Operation: 51+79=130, Resulting Numbers: [130] 130,71 unequal: No Solution Exploring Operation: 51*79=4029, Resulting Numbers: [4029] 4029,71 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[54, 60], Operations: ['3+51=54', '68-8=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,71 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[51, 57], Operations: ['3+8=11', '68-11=57'] Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[68, 40], Operations: ['3+8=11', '51-11=40'] Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,71 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,71 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 10, 54, 21 ]
66
[ "54/9=6", "21-10=11", "6*11=66" ]
Current State: 66:[9, 10, 54, 21], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [10, 21, 6] Generated Node #2: [10, 21, 6] from Operation: 54/9=6 Current State: 66:[10, 21, 6], Operations: ['54/9=6'] Exploring Operation: 21-10=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 21-10=11 Current State: 66:[6, 11], Operations: ['54/9=6', '21-10=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[9, 10, 54, 21], Operations: [] Exploring Operation: 9+54=63, Resulting Numbers: [10, 21, 63] Generated Node #0,0: 66:[10, 21, 63] Operation: 9+54=63 Exploring Operation: 10+54=64, Resulting Numbers: [9, 21, 64] Generated Node #0,1: 66:[9, 21, 64] Operation: 10+54=64 Exploring Operation: 54/9=6, Resulting Numbers: [10, 21, 6] Generated Node #0,2: 66:[10, 21, 6] Operation: 54/9=6 Exploring Operation: 54-21=33, Resulting Numbers: [9, 10, 33] Generated Node #0,3: 66:[9, 10, 33] Operation: 54-21=33 Moving to Node #0,2 Current State: 66:[10, 21, 6], Operations: ['54/9=6'] Exploring Operation: 21-10=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 66:[6, 11] Operation: 21-10=11 Exploring Operation: 10-6=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 66:[21, 4] Operation: 10-6=4 Exploring Operation: 21-6=15, Resulting Numbers: [10, 15] Generated Node #0,2,2: 66:[10, 15] Operation: 21-6=15 Exploring Operation: 10+21=31, Resulting Numbers: [6, 31] Generated Node #0,2,3: 66:[6, 31] Operation: 10+21=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[6, 11], Operations: ['54/9=6', '21-10=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[9, 10, 54, 21], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [10, 21, 6] Generated Node #0,2: 66:[10, 21, 6] Operation: 54/9=6 Moving to Node #0,2 Current State: 66:[10, 21, 6], Operations: ['54/9=6'] Exploring Operation: 21-10=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 66:[6, 11] Operation: 21-10=11 Moving to Node #0,2,0 Current State: 66:[6, 11], Operations: ['54/9=6', '21-10=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 8, 49, 48, 63 ]
34
[ "49+63=112", "112/8=14", "48-14=34" ]
Current State: 34:[8, 49, 48, 63], Operations: [] Exploring Operation: 49+63=112, Resulting Numbers: [8, 48, 112] Generated Node #2: [8, 48, 112] from Operation: 49+63=112 Current State: 34:[8, 48, 112], Operations: ['49+63=112'] Exploring Operation: 112/8=14, Resulting Numbers: [48, 14] Generated Node #3: [48, 14] from Operation: 112/8=14 Current State: 34:[48, 14], Operations: ['49+63=112', '112/8=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[8, 49, 48, 63], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [8, 48, 14] Generated Node #0,0: 34:[8, 48, 14] Operation: 63-49=14 Exploring Operation: 63-48=15, Resulting Numbers: [8, 49, 15] Generated Node #0,1: 34:[8, 49, 15] Operation: 63-48=15 Exploring Operation: 49-48=1, Resulting Numbers: [8, 63, 1] Generated Node #0,2: 34:[8, 63, 1] Operation: 49-48=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[8, 48, 14], Operations: ['63-49=14'] Exploring Operation: 48-14=34, Resulting Numbers: [8, 34] Generated Node #0,0,0: 34:[8, 34] Operation: 48-14=34 Exploring Operation: 48/8=6, Resulting Numbers: [14, 6] Generated Node #0,0,1: 34:[14, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [14, 40] Generated Node #0,0,2: 34:[14, 40] Operation: 48-8=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[8, 34], Operations: ['63-49=14', '48-14=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,34 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: 34:[14, 6], Operations: ['63-49=14', '48/8=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,34 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,34 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: 34:[14, 40], Operations: ['63-49=14', '48-8=40'] Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,34 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,34 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: 34:[8, 49, 15], Operations: ['63-48=15'] Exploring Operation: 15-8=7, Resulting Numbers: [49, 7] Generated Node #0,1,0: 34:[49, 7] Operation: 15-8=7 Exploring Operation: 49-8=41, Resulting Numbers: [15, 41] Generated Node #0,1,1: 34:[15, 41] Operation: 49-8=41 Exploring Operation: 49-15=34, Resulting Numbers: [8, 34] Generated Node #0,1,2: 34:[8, 34] Operation: 49-15=34 Moving to Node #0,1,2 Current State: 34:[8, 34], Operations: ['63-48=15', '49-15=34'] Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,34 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[15, 41], Operations: ['63-48=15', '49-8=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,34 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[49, 7], Operations: ['63-48=15', '15-8=7'] Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,34 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: 34:[8, 63, 1], Operations: ['49-48=1'] Exploring Operation: 8-1=7, Resulting Numbers: [63, 7] Generated Node #0,2,0: 34:[63, 7] Operation: 8-1=7 Exploring Operation: 63-1=62, Resulting Numbers: [8, 62] Generated Node #0,2,1: 34:[8, 62] Operation: 63-1=62 Exploring Operation: 63-8=55, Resulting Numbers: [1, 55] Generated Node #0,2,2: 34:[1, 55] Operation: 63-8=55 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[1, 55], Operations: ['49-48=1', '63-8=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,34 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: 34:[63, 7], Operations: ['49-48=1', '8-1=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,34 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: 34:[8, 62], Operations: ['49-48=1', '63-1=62'] Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,34 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,34 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
[ 34, 51, 1, 96 ]
12
[ "34+51=85", "1+96=97", "97-85=12" ]
Current State: 12:[34, 51, 1, 96], Operations: [] Exploring Operation: 34+51=85, Resulting Numbers: [1, 96, 85] Generated Node #2: [1, 96, 85] from Operation: 34+51=85 Current State: 12:[1, 96, 85], Operations: ['34+51=85'] Exploring Operation: 1+96=97, Resulting Numbers: [85, 97] Generated Node #3: [85, 97] from Operation: 1+96=97 Current State: 12:[85, 97], Operations: ['34+51=85', '1+96=97'] Exploring Operation: 97-85=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[34, 51, 1, 96], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [1, 96, 17] Generated Node #0,0: 12:[1, 96, 17] Operation: 51-34=17 Exploring Operation: 96-34=62, Resulting Numbers: [51, 1, 62] Generated Node #0,1: 12:[51, 1, 62] Operation: 96-34=62 Exploring Operation: 51-1=50, Resulting Numbers: [34, 96, 50] Generated Node #0,2: 12:[34, 96, 50] Operation: 51-1=50 Exploring Operation: 96-51=45, Resulting Numbers: [34, 1, 45] Generated Node #0,3: 12:[34, 1, 45] Operation: 96-51=45 Exploring Operation: 34-1=33, Resulting Numbers: [51, 96, 33] Generated Node #0,4: 12:[51, 96, 33] Operation: 34-1=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[34, 1, 45], Operations: ['96-51=45'] Exploring Operation: 34/1=34, Resulting Numbers: [45, 34] Generated Node #0,3,0: 12:[45, 34] Operation: 34/1=34 Exploring Operation: 34-1=33, Resulting Numbers: [45, 33] Generated Node #0,3,1: 12:[45, 33] Operation: 34-1=33 Exploring Operation: 45-34=11, Resulting Numbers: [1, 11] Generated Node #0,3,2: 12:[1, 11] Operation: 45-34=11 Exploring Operation: 34*1=34, Resulting Numbers: [45, 34] Generated Node #0,3,3: 12:[45, 34] Operation: 34*1=34 Exploring Operation: 45-1=44, Resulting Numbers: [34, 44] Generated Node #0,3,4: 12:[34, 44] Operation: 45-1=44 Moving to Node #0,3,2 Current State: 12:[1, 11], Operations: ['96-51=45', '45-34=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[34, 51, 1, 96], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [34, 1, 45] Generated Node #0,3: 12:[34, 1, 45] Operation: 96-51=45 Moving to Node #0,3 Current State: 12:[34, 1, 45], Operations: ['96-51=45'] Exploring Operation: 45-34=11, Resulting Numbers: [1, 11] Generated Node #0,3,2: 12:[1, 11] Operation: 45-34=11 Moving to Node #0,3,2 Current State: 12:[1, 11], Operations: ['96-51=45', '45-34=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 2, 21, 88, 24 ]
87
[ "2+21=23", "88-24=64", "23+64=87" ]
Current State: 87:[2, 21, 88, 24], Operations: [] Exploring Operation: 2+21=23, Resulting Numbers: [88, 24, 23] Generated Node #2: [88, 24, 23] from Operation: 2+21=23 Current State: 87:[88, 24, 23], Operations: ['2+21=23'] Exploring Operation: 88-24=64, Resulting Numbers: [23, 64] Generated Node #3: [23, 64] from Operation: 88-24=64 Current State: 87:[23, 64], Operations: ['2+21=23', '88-24=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[2, 21, 88, 24], Operations: [] Exploring Operation: 88-2=86, Resulting Numbers: [21, 24, 86] Generated Node #0,0: 87:[21, 24, 86] Operation: 88-2=86 Exploring Operation: 2+24=26, Resulting Numbers: [21, 88, 26] Generated Node #0,1: 87:[21, 88, 26] Operation: 2+24=26 Exploring Operation: 24-21=3, Resulting Numbers: [2, 88, 3] Generated Node #0,2: 87:[2, 88, 3] Operation: 24-21=3 Exploring Operation: 2+21=23, Resulting Numbers: [88, 24, 23] Generated Node #0,3: 87:[88, 24, 23] Operation: 2+21=23 Moving to Node #0,2 Current State: 87:[2, 88, 3], Operations: ['24-21=3'] Exploring Operation: 88-2=86, Resulting Numbers: [3, 86] Generated Node #0,2,0: 87:[3, 86] Operation: 88-2=86 Exploring Operation: 2+88=90, Resulting Numbers: [3, 90] Generated Node #0,2,1: 87:[3, 90] Operation: 2+88=90 Exploring Operation: 2+3=5, Resulting Numbers: [88, 5] Generated Node #0,2,2: 87:[88, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [88, 1] Generated Node #0,2,3: 87:[88, 1] Operation: 3-2=1 Moving to Node #0,3 Current State: 87:[88, 24, 23], Operations: ['2+21=23'] Exploring Operation: 24-23=1, Resulting Numbers: [88, 1] Generated Node #0,3,0: 87:[88, 1] Operation: 24-23=1 Exploring Operation: 88-24=64, Resulting Numbers: [23, 64] Generated Node #0,3,1: 87:[23, 64] Operation: 88-24=64 Exploring Operation: 88-23=65, Resulting Numbers: [24, 65] Generated Node #0,3,2: 87:[24, 65] Operation: 88-23=65 Exploring Operation: 24+23=47, Resulting Numbers: [88, 47] Generated Node #0,3,3: 87:[88, 47] Operation: 24+23=47 Moving to Node #0,1 Current State: 87:[21, 88, 26], Operations: ['2+24=26'] Exploring Operation: 21+88=109, Resulting Numbers: [26, 109] Generated Node #0,1,0: 87:[26, 109] Operation: 21+88=109 Exploring Operation: 21+26=47, Resulting Numbers: [88, 47] Generated Node #0,1,1: 87:[88, 47] Operation: 21+26=47 Exploring Operation: 26-21=5, Resulting Numbers: [88, 5] Generated Node #0,1,2: 87:[88, 5] Operation: 26-21=5 Exploring Operation: 88-21=67, Resulting Numbers: [26, 67] Generated Node #0,1,3: 87:[26, 67] Operation: 88-21=67 Moving to Node #0,0 Current State: 87:[21, 24, 86], Operations: ['88-2=86'] Exploring Operation: 24-21=3, Resulting Numbers: [86, 3] Generated Node #0,0,0: 87:[86, 3] Operation: 24-21=3 Exploring Operation: 21+24=45, Resulting Numbers: [86, 45] Generated Node #0,0,1: 87:[86, 45] Operation: 21+24=45 Exploring Operation: 86-21=65, Resulting Numbers: [24, 65] Generated Node #0,0,2: 87:[24, 65] Operation: 86-21=65 Exploring Operation: 21+86=107, Resulting Numbers: [24, 107] Generated Node #0,0,3: 87:[24, 107] Operation: 21+86=107 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[86, 3], Operations: ['88-2=86', '24-21=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,87 unequal: No Solution Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,87 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: 87:[86, 45], Operations: ['88-2=86', '21+24=45'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,87 unequal: No Solution Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,87 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: 87:[24, 107], Operations: ['88-2=86', '21+86=107'] Exploring Operation: 24*107=2568, Resulting Numbers: [2568] 2568,87 unequal: No Solution Exploring Operation: 107-24=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 24+107=131, Resulting Numbers: [131] 131,87 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: 87:[24, 65], Operations: ['88-2=86', '86-21=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,87 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 87:[3, 86], Operations: ['24-21=3', '88-2=86'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,87 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[88, 5], Operations: ['24-21=3', '2+3=5'] Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,87 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[3, 90], Operations: ['24-21=3', '2+88=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,87 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[2, 21, 88, 24], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [2, 88, 3] Generated Node #0,2: 87:[2, 88, 3] Operation: 24-21=3 Moving to Node #0,2 Current State: 87:[2, 88, 3], Operations: ['24-21=3'] Exploring Operation: 2+88=90, Resulting Numbers: [3, 90] Generated Node #0,2,1: 87:[3, 90] Operation: 2+88=90 Moving to Node #0,2,1 Current State: 87:[3, 90], Operations: ['24-21=3', '2+88=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.960938
hs_4
mult_heuristic
[ 13, 31, 49, 85 ]
87
[ "13+49=62", "62/31=2", "85+2=87" ]
Current State: 87:[13, 31, 49, 85], Operations: [] Exploring Operation: 13+49=62, Resulting Numbers: [31, 85, 62] Generated Node #2: [31, 85, 62] from Operation: 13+49=62 Current State: 87:[31, 85, 62], Operations: ['13+49=62'] Exploring Operation: 62/31=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 62/31=2 Current State: 87:[85, 2], Operations: ['13+49=62', '62/31=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[13, 31, 49, 85], Operations: [] Exploring Operation: 85-49=36, Resulting Numbers: [13, 31, 36] Generated Node #0,0: 87:[13, 31, 36] Operation: 85-49=36 Exploring Operation: 31+49=80, Resulting Numbers: [13, 85, 80] Generated Node #0,1: 87:[13, 85, 80] Operation: 31+49=80 Exploring Operation: 49-13=36, Resulting Numbers: [31, 85, 36] Generated Node #0,2: 87:[31, 85, 36] Operation: 49-13=36 Exploring Operation: 49-31=18, Resulting Numbers: [13, 85, 18] Generated Node #0,3: 87:[13, 85, 18] Operation: 49-31=18 Exploring Operation: 13+49=62, Resulting Numbers: [31, 85, 62] Generated Node #0,4: 87:[31, 85, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[31, 85, 36], Operations: ['49-13=36'] Exploring Operation: 36-31=5, Resulting Numbers: [85, 5] Generated Node #0,2,0: 87:[85, 5] Operation: 36-31=5 Exploring Operation: 85-31=54, Resulting Numbers: [36, 54] Generated Node #0,2,1: 87:[36, 54] Operation: 85-31=54 Exploring Operation: 31+36=67, Resulting Numbers: [85, 67] Generated Node #0,2,2: 87:[85, 67] Operation: 31+36=67 Exploring Operation: 85-36=49, Resulting Numbers: [31, 49] Generated Node #0,2,3: 87:[31, 49] Operation: 85-36=49 Exploring Operation: 31+85=116, Resulting Numbers: [36, 116] Generated Node #0,2,4: 87:[36, 116] Operation: 31+85=116 Moving to Node #0,2,0 Current State: 87:[85, 5], Operations: ['49-13=36', '36-31=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,87 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[31, 49], Operations: ['49-13=36', '85-36=49'] Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,87 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[85, 67], Operations: ['49-13=36', '31+36=67'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 85*67=5695, Resulting Numbers: [5695] 5695,87 unequal: No Solution Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[36, 54], Operations: ['49-13=36', '85-31=54'] Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,87 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[36, 116], Operations: ['49-13=36', '31+85=116'] Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,87 unequal: No Solution Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,87 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: 87:[13, 31, 36], Operations: ['85-49=36'] Exploring Operation: 31-13=18, Resulting Numbers: [36, 18] Generated Node #0,0,0: 87:[36, 18] Operation: 31-13=18 Exploring Operation: 36-13=23, Resulting Numbers: [31, 23] Generated Node #0,0,1: 87:[31, 23] Operation: 36-13=23 Exploring Operation: 13+36=49, Resulting Numbers: [31, 49] Generated Node #0,0,2: 87:[31, 49] Operation: 13+36=49 Exploring Operation: 13+31=44, Resulting Numbers: [36, 44] Generated Node #0,0,3: 87:[36, 44] Operation: 13+31=44 Exploring Operation: 36-31=5, Resulting Numbers: [13, 5] Generated Node #0,0,4: 87:[13, 5] Operation: 36-31=5 Moving to Node #0,0,1 Current State: 87:[31, 23], Operations: ['85-49=36', '36-13=23'] Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,87 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[13, 5], Operations: ['85-49=36', '36-31=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,87 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[36, 18], Operations: ['85-49=36', '31-13=18'] Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,87 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[31, 49], Operations: ['85-49=36', '13+36=49'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,87 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[36, 44], Operations: ['85-49=36', '13+31=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,87 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,87 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: 87:[13, 85, 80], Operations: ['31+49=80'] Exploring Operation: 13+80=93, Resulting Numbers: [85, 93] Generated Node #0,1,0: 87:[85, 93] Operation: 13+80=93 Exploring Operation: 85-80=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 87:[13, 5] Operation: 85-80=5 Exploring Operation: 80-13=67, Resulting Numbers: [85, 67] Generated Node #0,1,2: 87:[85, 67] Operation: 80-13=67 Exploring Operation: 13+85=98, Resulting Numbers: [80, 98] Generated Node #0,1,3: 87:[80, 98] Operation: 13+85=98 Exploring Operation: 85-13=72, Resulting Numbers: [80, 72] Generated Node #0,1,4: 87:[80, 72] Operation: 85-13=72 Moving to Node #0,1,0 Current State: 87:[85, 93], Operations: ['31+49=80', '13+80=93'] Exploring Operation: 85*93=7905, Resulting Numbers: [7905] 7905,87 unequal: No Solution Exploring Operation: 85+93=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[13, 5], Operations: ['31+49=80', '85-80=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,87 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[80, 98], Operations: ['31+49=80', '13+85=98'] Exploring Operation: 80+98=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 80*98=7840, Resulting Numbers: [7840] 7840,87 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[85, 67], Operations: ['31+49=80', '80-13=67'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 85*67=5695, Resulting Numbers: [5695] 5695,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[80, 72], Operations: ['31+49=80', '85-13=72'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,87 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: 87:[13, 85, 18], Operations: ['49-31=18'] Exploring Operation: 13+85=98, Resulting Numbers: [18, 98] Generated Node #0,3,0: 87:[18, 98] Operation: 13+85=98 Exploring Operation: 85-13=72, Resulting Numbers: [18, 72] Generated Node #0,3,1: 87:[18, 72] Operation: 85-13=72 Exploring Operation: 18-13=5, Resulting Numbers: [85, 5] Generated Node #0,3,2: 87:[85, 5] Operation: 18-13=5 Exploring Operation: 13+18=31, Resulting Numbers: [85, 31] Generated Node #0,3,3: 87:[85, 31] Operation: 13+18=31 Exploring Operation: 85+18=103, Resulting Numbers: [13, 103] Generated Node #0,3,4: 87:[13, 103] Operation: 85+18=103 Moving to Node #0,3,2 Current State: 87:[85, 5], Operations: ['49-31=18', '18-13=5'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,87 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[85, 31], Operations: ['49-31=18', '13+18=31'] Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 85*31=2635, Resulting Numbers: [2635] 2635,87 unequal: No Solution Exploring Operation: 85+31=116, Resulting Numbers: [116] 116,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[18, 98], Operations: ['49-31=18', '13+85=98'] Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,87 unequal: No Solution Exploring Operation: 18+98=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 18*98=1764, Resulting Numbers: [1764] 1764,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[18, 72], Operations: ['49-31=18', '85-13=72'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,87 unequal: No Solution Moving to Node #0,3,4 Current State: 87:[13, 103], Operations: ['49-31=18', '85+18=103'] Exploring Operation: 13+103=116, Resulting Numbers: [116] 116,87 unequal: No Solution Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 13*103=1339, Resulting Numbers: [1339] 1339,87 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: 87:[31, 85, 62], Operations: ['13+49=62'] Exploring Operation: 62/31=2, Resulting Numbers: [85, 2] Generated Node #0,4,0: 87:[85, 2] Operation: 62/31=2 Exploring Operation: 85-31=54, Resulting Numbers: [62, 54] Generated Node #0,4,1: 87:[62, 54] Operation: 85-31=54 Exploring Operation: 62-31=31, Resulting Numbers: [85, 31] Generated Node #0,4,2: 87:[85, 31] Operation: 62-31=31 Exploring Operation: 85-62=23, Resulting Numbers: [31, 23] Generated Node #0,4,3: 87:[31, 23] Operation: 85-62=23 Exploring Operation: 31+62=93, Resulting Numbers: [85, 93] Generated Node #0,4,4: 87:[85, 93] Operation: 31+62=93 Moving to Node #0,4,0 Current State: 87:[85, 2], Operations: ['13+49=62', '62/31=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[13, 31, 49, 85], Operations: [] Exploring Operation: 13+49=62, Resulting Numbers: [31, 85, 62] Generated Node #0,4: 87:[31, 85, 62] Operation: 13+49=62 Moving to Node #0,4 Current State: 87:[31, 85, 62], Operations: ['13+49=62'] Exploring Operation: 62/31=2, Resulting Numbers: [85, 2] Generated Node #0,4,0: 87:[85, 2] Operation: 62/31=2 Moving to Node #0,4,0 Current State: 87:[85, 2], Operations: ['13+49=62', '62/31=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.912326
hs_5
sum_heuristic
[ 38, 23, 24, 5 ]
99
[ "38-23=15", "5*15=75", "24+75=99" ]
Current State: 99:[38, 23, 24, 5], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [24, 5, 15] Generated Node #2: [24, 5, 15] from Operation: 38-23=15 Current State: 99:[24, 5, 15], Operations: ['38-23=15'] Exploring Operation: 5*15=75, Resulting Numbers: [24, 75] Generated Node #3: [24, 75] from Operation: 5*15=75 Current State: 99:[24, 75], Operations: ['38-23=15', '5*15=75'] Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[38, 23, 24, 5], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [24, 5, 15] Generated Node #0,0: 99:[24, 5, 15] Operation: 38-23=15 Exploring Operation: 38-24=14, Resulting Numbers: [23, 5, 14] Generated Node #0,1: 99:[23, 5, 14] Operation: 38-24=14 Exploring Operation: 23+5=28, Resulting Numbers: [38, 24, 28] Generated Node #0,2: 99:[38, 24, 28] Operation: 23+5=28 Exploring Operation: 38-5=33, Resulting Numbers: [23, 24, 33] Generated Node #0,3: 99:[23, 24, 33] Operation: 38-5=33 Exploring Operation: 24-23=1, Resulting Numbers: [38, 5, 1] Generated Node #0,4: 99:[38, 5, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 99:[38, 5, 1], Operations: ['24-23=1'] Exploring Operation: 38-1=37, Resulting Numbers: [5, 37] Generated Node #0,4,0: 99:[5, 37] Operation: 38-1=37 Exploring Operation: 38-5=33, Resulting Numbers: [1, 33] Generated Node #0,4,1: 99:[1, 33] Operation: 38-5=33 Exploring Operation: 5-1=4, Resulting Numbers: [38, 4] Generated Node #0,4,2: 99:[38, 4] Operation: 5-1=4 Exploring Operation: 38/1=38, Resulting Numbers: [5, 38] Generated Node #0,4,3: 99:[5, 38] Operation: 38/1=38 Exploring Operation: 38*1=38, Resulting Numbers: [5, 38] Generated Node #0,4,4: 99:[5, 38] Operation: 38*1=38 Moving to Node #0,4,1 Current State: 99:[1, 33], Operations: ['24-23=1', '38-5=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[38, 4], Operations: ['24-23=1', '5-1=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,99 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[5, 37], Operations: ['24-23=1', '38-1=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,99 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[5, 38], Operations: ['24-23=1', '38/1=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,99 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[5, 38], Operations: ['24-23=1', '38*1=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,99 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,99 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: 99:[24, 5, 15], Operations: ['38-23=15'] Exploring Operation: 24-15=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 99:[5, 9] Operation: 24-15=9 Exploring Operation: 24+15=39, Resulting Numbers: [5, 39] Generated Node #0,0,1: 99:[5, 39] Operation: 24+15=39 Exploring Operation: 24+5=29, Resulting Numbers: [15, 29] Generated Node #0,0,2: 99:[15, 29] Operation: 24+5=29 Exploring Operation: 15-5=10, Resulting Numbers: [24, 10] Generated Node #0,0,3: 99:[24, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [24, 3] Generated Node #0,0,4: 99:[24, 3] Operation: 15/5=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[5, 9], Operations: ['38-23=15', '24-15=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,99 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: 99:[5, 39], Operations: ['38-23=15', '24+15=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,99 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,99 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: 99:[15, 29], Operations: ['38-23=15', '24+5=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,99 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: 99:[24, 3], Operations: ['38-23=15', '15/5=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,99 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: 99:[24, 10], Operations: ['38-23=15', '15-5=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,99 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,99 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: 99:[23, 5, 14], Operations: ['38-24=14'] Exploring Operation: 23+5=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 99:[14, 28] Operation: 23+5=28 Exploring Operation: 23-5=18, Resulting Numbers: [14, 18] Generated Node #0,1,1: 99:[14, 18] Operation: 23-5=18 Exploring Operation: 23-14=9, Resulting Numbers: [5, 9] Generated Node #0,1,2: 99:[5, 9] Operation: 23-14=9 Exploring Operation: 23+14=37, Resulting Numbers: [5, 37] Generated Node #0,1,3: 99:[5, 37] Operation: 23+14=37 Exploring Operation: 14-5=9, Resulting Numbers: [23, 9] Generated Node #0,1,4: 99:[23, 9] Operation: 14-5=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[5, 9], Operations: ['38-24=14', '23-14=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,99 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: 99:[5, 37], Operations: ['38-24=14', '23+14=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,99 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,99 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: 99:[14, 28], Operations: ['38-24=14', '23+5=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,99 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: 99:[14, 18], Operations: ['38-24=14', '23-5=18'] Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,99 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,99 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: 99:[23, 9], Operations: ['38-24=14', '14-5=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,99 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: 99:[38, 24, 28], Operations: ['23+5=28'] Exploring Operation: 38-28=10, Resulting Numbers: [24, 10] Generated Node #0,2,0: 99:[24, 10] Operation: 38-28=10 Exploring Operation: 38+24=62, Resulting Numbers: [28, 62] Generated Node #0,2,1: 99:[28, 62] Operation: 38+24=62 Exploring Operation: 38-24=14, Resulting Numbers: [28, 14] Generated Node #0,2,2: 99:[28, 14] Operation: 38-24=14 Exploring Operation: 24+28=52, Resulting Numbers: [38, 52] Generated Node #0,2,3: 99:[38, 52] Operation: 24+28=52 Exploring Operation: 28-24=4, Resulting Numbers: [38, 4] Generated Node #0,2,4: 99:[38, 4] Operation: 28-24=4 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 99:[38, 4], Operations: ['23+5=28', '28-24=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,99 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 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: 99:[28, 14], Operations: ['23+5=28', '38-24=14'] Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,99 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: 99:[24, 10], Operations: ['23+5=28', '38-28=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,99 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,99 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: 99:[38, 52], Operations: ['23+5=28', '24+28=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,99 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,99 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: 99:[28, 62], Operations: ['23+5=28', '38+24=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,99 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,99 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: 99:[23, 24, 33], Operations: ['38-5=33'] Exploring Operation: 33-23=10, Resulting Numbers: [24, 10] Generated Node #0,3,0: 99:[24, 10] Operation: 33-23=10 Exploring Operation: 33-24=9, Resulting Numbers: [23, 9] Generated Node #0,3,1: 99:[23, 9] Operation: 33-24=9 Exploring Operation: 23+24=47, Resulting Numbers: [33, 47] Generated Node #0,3,2: 99:[33, 47] Operation: 23+24=47 Exploring Operation: 24-23=1, Resulting Numbers: [33, 1] Generated Node #0,3,3: 99:[33, 1] Operation: 24-23=1 Exploring Operation: 23+33=56, Resulting Numbers: [24, 56] Generated Node #0,3,4: 99:[24, 56] Operation: 23+33=56 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[33, 1], Operations: ['38-5=33', '24-23=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,99 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: 99:[24, 10], Operations: ['38-5=33', '33-23=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,99 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: 99:[23, 9], Operations: ['38-5=33', '33-24=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,99 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,99 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: 99:[33, 47], Operations: ['38-5=33', '23+24=47'] Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,99 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,99 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: 99:[24, 56], Operations: ['38-5=33', '23+33=56'] Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,99 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
[ 24, 2, 83, 32 ]
89
[ "24+2=26", "83+32=115", "115-26=89" ]
Current State: 89:[24, 2, 83, 32], Operations: [] Exploring Operation: 24+2=26, Resulting Numbers: [83, 32, 26] Generated Node #2: [83, 32, 26] from Operation: 24+2=26 Current State: 89:[83, 32, 26], Operations: ['24+2=26'] Exploring Operation: 83+32=115, Resulting Numbers: [26, 115] Generated Node #3: [26, 115] from Operation: 83+32=115 Current State: 89:[26, 115], Operations: ['24+2=26', '83+32=115'] Exploring Operation: 115-26=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[24, 2, 83, 32], Operations: [] Exploring Operation: 2*32=64, Resulting Numbers: [24, 83, 64] Generated Node #0,0: 89:[24, 83, 64] Operation: 2*32=64 Exploring Operation: 24*2=48, Resulting Numbers: [83, 32, 48] Generated Node #0,1: 89:[83, 32, 48] Operation: 24*2=48 Moving to Node #0,0 Current State: 89:[24, 83, 64], Operations: ['2*32=64'] Exploring Operation: 24+64=88, Resulting Numbers: [83, 88] Generated Node #0,0,0: 89:[83, 88] Operation: 24+64=88 Exploring Operation: 24+83=107, Resulting Numbers: [64, 107] Generated Node #0,0,1: 89:[64, 107] Operation: 24+83=107 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[83, 88], Operations: ['2*32=64', '24+64=88'] Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,89 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: 89:[64, 107], Operations: ['2*32=64', '24+83=107'] Exploring Operation: 64+107=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 107-64=43, Resulting Numbers: [43] 43,89 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: 89:[83, 32, 48], Operations: ['24*2=48'] Exploring Operation: 32+48=80, Resulting Numbers: [83, 80] Generated Node #0,1,0: 89:[83, 80] Operation: 32+48=80 Exploring Operation: 83+32=115, Resulting Numbers: [48, 115] Generated Node #0,1,1: 89:[48, 115] Operation: 83+32=115 Moving to Node #0,1,0 Current State: 89:[83, 80], Operations: ['24*2=48', '32+48=80'] Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[48, 115], Operations: ['24*2=48', '83+32=115'] Exploring Operation: 48+115=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 115-48=67, Resulting Numbers: [67] 67,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 43, 51, 19 ]
48
[ "75+43=118", "51+19=70", "118-70=48" ]
Current State: 48:[75, 43, 51, 19], Operations: [] Exploring Operation: 75+43=118, Resulting Numbers: [51, 19, 118] Generated Node #2: [51, 19, 118] from Operation: 75+43=118 Current State: 48:[51, 19, 118], Operations: ['75+43=118'] Exploring Operation: 51+19=70, Resulting Numbers: [118, 70] Generated Node #3: [118, 70] from Operation: 51+19=70 Current State: 48:[118, 70], Operations: ['75+43=118', '51+19=70'] Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[75, 43, 51, 19], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [43, 19, 24] Generated Node #0,0: 48:[43, 19, 24] Operation: 75-51=24 Moving to Node #0,0 Current State: 48:[43, 19, 24], Operations: ['75-51=24'] Exploring Operation: 43-19=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 48:[24, 24] Operation: 43-19=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 24], Operations: ['75-51=24', '43-19=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[75, 43, 51, 19], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [43, 19, 24] Generated Node #0,0: 48:[43, 19, 24] Operation: 75-51=24 Moving to Node #0,0 Current State: 48:[43, 19, 24], Operations: ['75-51=24'] Exploring Operation: 43-19=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 48:[24, 24] Operation: 43-19=24 Moving to Node #0,0,0 Current State: 48:[24, 24], Operations: ['75-51=24', '43-19=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 81, 84, 53, 42 ]
73
[ "84-81=3", "42*3=126", "126-53=73" ]
Current State: 73:[81, 84, 53, 42], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [53, 42, 3] Generated Node #2: [53, 42, 3] from Operation: 84-81=3 Current State: 73:[53, 42, 3], Operations: ['84-81=3'] Exploring Operation: 42*3=126, Resulting Numbers: [53, 126] Generated Node #3: [53, 126] from Operation: 42*3=126 Current State: 73:[53, 126], Operations: ['84-81=3', '42*3=126'] Exploring Operation: 126-53=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 84, 53, 42], Operations: [] Exploring Operation: 84-42=42, Resulting Numbers: [81, 53, 42] Generated Node #0,0: 73:[81, 53, 42] Operation: 84-42=42 Exploring Operation: 81-42=39, Resulting Numbers: [84, 53, 39] Generated Node #0,1: 73:[84, 53, 39] Operation: 81-42=39 Exploring Operation: 53+42=95, Resulting Numbers: [81, 84, 95] Generated Node #0,2: 73:[81, 84, 95] Operation: 53+42=95 Moving to Node #0,2 Current State: 73:[81, 84, 95], Operations: ['53+42=95'] Exploring Operation: 95-81=14, Resulting Numbers: [84, 14] Generated Node #0,2,0: 73:[84, 14] Operation: 95-81=14 Exploring Operation: 95-84=11, Resulting Numbers: [81, 11] Generated Node #0,2,1: 73:[81, 11] Operation: 95-84=11 Exploring Operation: 84-81=3, Resulting Numbers: [95, 3] Generated Node #0,2,2: 73:[95, 3] Operation: 84-81=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[84, 14], Operations: ['53+42=95', '95-81=14'] Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,73 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: 73:[81, 11], Operations: ['53+42=95', '95-84=11'] Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,73 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,73 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: 73:[95, 3], Operations: ['53+42=95', '84-81=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,73 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: 73:[81, 53, 42], Operations: ['84-42=42'] Exploring Operation: 81+42=123, Resulting Numbers: [53, 123] Generated Node #0,0,0: 73:[53, 123] Operation: 81+42=123 Exploring Operation: 81-42=39, Resulting Numbers: [53, 39] Generated Node #0,0,1: 73:[53, 39] Operation: 81-42=39 Exploring Operation: 53+42=95, Resulting Numbers: [81, 95] Generated Node #0,0,2: 73:[81, 95] Operation: 53+42=95 Moving to Node #0,1 Current State: 73:[84, 53, 39], Operations: ['81-42=39'] Exploring Operation: 84+39=123, Resulting Numbers: [53, 123] Generated Node #0,1,0: 73:[53, 123] Operation: 84+39=123 Exploring Operation: 53+39=92, Resulting Numbers: [84, 92] Generated Node #0,1,1: 73:[84, 92] Operation: 53+39=92 Exploring Operation: 84-39=45, Resulting Numbers: [53, 45] Generated Node #0,1,2: 73:[53, 45] Operation: 84-39=45 Moving to Node #0,0,2 Current State: 73:[81, 95], Operations: ['84-42=42', '53+42=95'] Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 81+95=176, Resulting Numbers: [176] 176,73 unequal: No Solution Exploring Operation: 81*95=7695, Resulting Numbers: [7695] 7695,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[84, 92], Operations: ['81-42=39', '53+39=92'] Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 84+92=176, Resulting Numbers: [176] 176,73 unequal: No Solution Exploring Operation: 84*92=7728, Resulting Numbers: [7728] 7728,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[53, 45], Operations: ['81-42=39', '84-39=45'] Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,73 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[53, 39], Operations: ['84-42=42', '81-42=39'] Exploring Operation: 53*39=2067, Resulting Numbers: [2067] 2067,73 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 53+39=92, Resulting Numbers: [92] 92,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[53, 123], Operations: ['81-42=39', '84+39=123'] Exploring Operation: 53+123=176, Resulting Numbers: [176] 176,73 unequal: No Solution Exploring Operation: 123-53=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 53*123=6519, Resulting Numbers: [6519] 6519,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[53, 123], Operations: ['84-42=42', '81+42=123'] Exploring Operation: 53*123=6519, Resulting Numbers: [6519] 6519,73 unequal: No Solution Exploring Operation: 123-53=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 53+123=176, Resulting Numbers: [176] 176,73 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 64, 1, 84, 2 ]
38
[ "64+1=65", "84-65=19", "2*19=38" ]
Current State: 38:[64, 1, 84, 2], Operations: [] Exploring Operation: 64+1=65, Resulting Numbers: [84, 2, 65] Generated Node #2: [84, 2, 65] from Operation: 64+1=65 Current State: 38:[84, 2, 65], Operations: ['64+1=65'] Exploring Operation: 84-65=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 84-65=19 Current State: 38:[2, 19], Operations: ['64+1=65', '84-65=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[64, 1, 84, 2], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [84, 2, 63] Generated Node #0,0: 38:[84, 2, 63] Operation: 64-1=63 Exploring Operation: 64/2=32, Resulting Numbers: [1, 84, 32] Generated Node #0,1: 38:[1, 84, 32] Operation: 64/2=32 Exploring Operation: 84-64=20, Resulting Numbers: [1, 2, 20] Generated Node #0,2: 38:[1, 2, 20] Operation: 84-64=20 Exploring Operation: 84/2=42, Resulting Numbers: [64, 1, 42] Generated Node #0,3: 38:[64, 1, 42] Operation: 84/2=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[1, 2, 20], Operations: ['84-64=20'] Exploring Operation: 2/1=2, Resulting Numbers: [20, 2] Generated Node #0,2,0: 38:[20, 2] Operation: 2/1=2 Exploring Operation: 1*20=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 38:[2, 20] Operation: 1*20=20 Exploring Operation: 20-1=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 38:[2, 19] Operation: 20-1=19 Exploring Operation: 1*2=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 38:[20, 2] Operation: 1*2=2 Moving to Node #0,2,2 Current State: 38:[2, 19], Operations: ['84-64=20', '20-1=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[64, 1, 84, 2], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [1, 2, 20] Generated Node #0,2: 38:[1, 2, 20] Operation: 84-64=20 Moving to Node #0,2 Current State: 38:[1, 2, 20], Operations: ['84-64=20'] Exploring Operation: 20-1=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 38:[2, 19] Operation: 20-1=19 Moving to Node #0,2,2 Current State: 38:[2, 19], Operations: ['84-64=20', '20-1=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 80, 99, 75, 96 ]
15
[ "80-75=5", "99-96=3", "5*3=15" ]
Current State: 15:[80, 99, 75, 96], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [99, 96, 5] Generated Node #2: [99, 96, 5] from Operation: 80-75=5 Current State: 15:[99, 96, 5], Operations: ['80-75=5'] Exploring Operation: 99-96=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 99-96=3 Current State: 15:[5, 3], Operations: ['80-75=5', '99-96=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 99, 75, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [80, 75, 3] Generated Node #0,0: 15:[80, 75, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 15:[80, 75, 3], Operations: ['99-96=3'] Exploring Operation: 80-75=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 15:[3, 5] Operation: 80-75=5 Moving to Node #0,0,0 Current State: 15:[3, 5], Operations: ['99-96=3', '80-75=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[80, 99, 75, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [80, 75, 3] Generated Node #0,0: 15:[80, 75, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 15:[80, 75, 3], Operations: ['99-96=3'] Exploring Operation: 80-75=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 15:[3, 5] Operation: 80-75=5 Moving to Node #0,0,0 Current State: 15:[3, 5], Operations: ['99-96=3', '80-75=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 33, 13, 45, 55 ]
99
[ "13+45=58", "58-55=3", "33*3=99" ]
Current State: 99:[33, 13, 45, 55], Operations: [] Exploring Operation: 13+45=58, Resulting Numbers: [33, 55, 58] Generated Node #2: [33, 55, 58] from Operation: 13+45=58 Current State: 99:[33, 55, 58], Operations: ['13+45=58'] Exploring Operation: 58-55=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 58-55=3 Current State: 99:[33, 3], Operations: ['13+45=58', '58-55=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[33, 13, 45, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [33, 13, 10] Generated Node #0,0: 99:[33, 13, 10] Operation: 55-45=10 Exploring Operation: 55-13=42, Resulting Numbers: [33, 45, 42] Generated Node #0,1: 99:[33, 45, 42] Operation: 55-13=42 Exploring Operation: 45+55=100, Resulting Numbers: [33, 13, 100] Generated Node #0,2: 99:[33, 13, 100] Operation: 45+55=100 Exploring Operation: 45-13=32, Resulting Numbers: [33, 55, 32] Generated Node #0,3: 99:[33, 55, 32] Operation: 45-13=32 Exploring Operation: 45-33=12, Resulting Numbers: [13, 55, 12] Generated Node #0,4: 99:[13, 55, 12] Operation: 45-33=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[33, 13, 10], Operations: ['55-45=10'] Exploring Operation: 13-10=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 13-10=3 Exploring Operation: 13+10=23, Resulting Numbers: [33, 23] Generated Node #0,0,1: 99:[33, 23] Operation: 13+10=23 Exploring Operation: 33-10=23, Resulting Numbers: [13, 23] Generated Node #0,0,2: 99:[13, 23] Operation: 33-10=23 Exploring Operation: 33-13=20, Resulting Numbers: [10, 20] Generated Node #0,0,3: 99:[10, 20] Operation: 33-13=20 Exploring Operation: 33+10=43, Resulting Numbers: [13, 43] Generated Node #0,0,4: 99:[13, 43] Operation: 33+10=43 Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['55-45=10', '13-10=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[33, 13, 45, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [33, 13, 10] Generated Node #0,0: 99:[33, 13, 10] Operation: 55-45=10 Moving to Node #0,0 Current State: 99:[33, 13, 10], Operations: ['55-45=10'] Exploring Operation: 13-10=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 99:[33, 3] Operation: 13-10=3 Moving to Node #0,0,0 Current State: 99:[33, 3], Operations: ['55-45=10', '13-10=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 23, 72, 4, 68 ]
58
[ "72+68=140", "140/4=35", "23+35=58" ]
Current State: 58:[23, 72, 4, 68], Operations: [] Exploring Operation: 72+68=140, Resulting Numbers: [23, 4, 140] Generated Node #2: [23, 4, 140] from Operation: 72+68=140 Current State: 58:[23, 4, 140], Operations: ['72+68=140'] Exploring Operation: 140/4=35, Resulting Numbers: [23, 35] Generated Node #3: [23, 35] from Operation: 140/4=35 Current State: 58:[23, 35], Operations: ['72+68=140', '140/4=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[23, 72, 4, 68], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [23, 4, 4] Generated Node #0,0: 58:[23, 4, 4] Operation: 72-68=4 Moving to Node #0,0 Current State: 58:[23, 4, 4], Operations: ['72-68=4'] Exploring Operation: 23+4=27, Resulting Numbers: [4, 27] Generated Node #0,0,0: 58:[4, 27] Operation: 23+4=27 Moving to Node #0,0,0 Current State: 58:[4, 27], Operations: ['72-68=4', '23+4=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,58 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 76, 61, 13, 16 ]
14
[ "76-61=15", "13+16=29", "29-15=14" ]
Current State: 14:[76, 61, 13, 16], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [13, 16, 15] Generated Node #2: [13, 16, 15] from Operation: 76-61=15 Current State: 14:[13, 16, 15], Operations: ['76-61=15'] Exploring Operation: 13+16=29, Resulting Numbers: [15, 29] Generated Node #3: [15, 29] from Operation: 13+16=29 Current State: 14:[15, 29], Operations: ['76-61=15', '13+16=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[76, 61, 13, 16], Operations: [] Exploring Operation: 76-16=60, Resulting Numbers: [61, 13, 60] Generated Node #0,0: 14:[61, 13, 60] Operation: 76-16=60 Exploring Operation: 76-61=15, Resulting Numbers: [13, 16, 15] Generated Node #0,1: 14:[13, 16, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 14:[13, 16, 15], Operations: ['76-61=15'] Exploring Operation: 15-13=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 14:[16, 2] Operation: 15-13=2 Exploring Operation: 16-13=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 14:[15, 3] Operation: 16-13=3 Moving to Node #0,0 Current State: 14:[61, 13, 60], Operations: ['76-16=60'] Exploring Operation: 61-13=48, Resulting Numbers: [60, 48] Generated Node #0,0,0: 14:[60, 48] Operation: 61-13=48 Exploring Operation: 61-60=1, Resulting Numbers: [13, 1] Generated Node #0,0,1: 14:[13, 1] Operation: 61-60=1 Moving to Node #0,1,0 Current State: 14:[16, 2], Operations: ['76-61=15', '15-13=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[76, 61, 13, 16], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [13, 16, 15] Generated Node #0,1: 14:[13, 16, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 14:[13, 16, 15], Operations: ['76-61=15'] Exploring Operation: 15-13=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 14:[16, 2] Operation: 15-13=2 Moving to Node #0,1,0 Current State: 14:[16, 2], Operations: ['76-61=15', '15-13=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 20, 85, 36, 81 ]
52
[ "85-20=65", "36+81=117", "117-65=52" ]
Current State: 52:[20, 85, 36, 81], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [36, 81, 65] Generated Node #2: [36, 81, 65] from Operation: 85-20=65 Current State: 52:[36, 81, 65], Operations: ['85-20=65'] Exploring Operation: 36+81=117, Resulting Numbers: [65, 117] Generated Node #3: [65, 117] from Operation: 36+81=117 Current State: 52:[65, 117], Operations: ['85-20=65', '36+81=117'] Exploring Operation: 117-65=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[20, 85, 36, 81], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [20, 85, 45] Generated Node #0,0: 52:[20, 85, 45] Operation: 81-36=45 Exploring Operation: 85-81=4, Resulting Numbers: [20, 36, 4] Generated Node #0,1: 52:[20, 36, 4] Operation: 85-81=4 Exploring Operation: 81-20=61, Resulting Numbers: [85, 36, 61] Generated Node #0,2: 52:[85, 36, 61] Operation: 81-20=61 Exploring Operation: 85-20=65, Resulting Numbers: [36, 81, 65] Generated Node #0,3: 52:[36, 81, 65] Operation: 85-20=65 Exploring Operation: 85-36=49, Resulting Numbers: [20, 81, 49] Generated Node #0,4: 52:[20, 81, 49] Operation: 85-36=49 Moving to Node #0,1 Current State: 52:[20, 36, 4], Operations: ['85-81=4'] Exploring Operation: 20+4=24, Resulting Numbers: [36, 24] Generated Node #0,1,0: 52:[36, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 52:[36, 5] Operation: 20/4=5 Exploring Operation: 36/4=9, Resulting Numbers: [20, 9] Generated Node #0,1,2: 52:[20, 9] Operation: 36/4=9 Exploring Operation: 36-20=16, Resulting Numbers: [4, 16] Generated Node #0,1,3: 52:[4, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [4, 56] Generated Node #0,1,4: 52:[4, 56] Operation: 20+36=56 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[4, 16], Operations: ['85-81=4', '36-20=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,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,1,4 Current State: 52:[4, 56], Operations: ['85-81=4', '20+36=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[20, 85, 36, 81], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [20, 36, 4] Generated Node #0,1: 52:[20, 36, 4] Operation: 85-81=4 Moving to Node #0,1 Current State: 52:[20, 36, 4], Operations: ['85-81=4'] Exploring Operation: 20+36=56, Resulting Numbers: [4, 56] Generated Node #0,1,4: 52:[4, 56] Operation: 20+36=56 Moving to Node #0,1,4 Current State: 52:[4, 56], Operations: ['85-81=4', '20+36=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 11, 77, 9, 63 ]
61
[ "77/11=7", "63-9=54", "7+54=61" ]
Current State: 61:[11, 77, 9, 63], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [9, 63, 7] Generated Node #2: [9, 63, 7] from Operation: 77/11=7 Current State: 61:[9, 63, 7], Operations: ['77/11=7'] Exploring Operation: 63-9=54, Resulting Numbers: [7, 54] Generated Node #3: [7, 54] from Operation: 63-9=54 Current State: 61:[7, 54], Operations: ['77/11=7', '63-9=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[11, 77, 9, 63], Operations: [] Exploring Operation: 11*9=99, Resulting Numbers: [77, 63, 99] Generated Node #0,0: 61:[77, 63, 99] Operation: 11*9=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[77, 63, 99], Operations: ['11*9=99'] Exploring Operation: 99-77=22, Resulting Numbers: [63, 22] Generated Node #0,0,0: 61:[63, 22] Operation: 99-77=22 Moving to Node #0,0,0 Current State: 61:[63, 22], Operations: ['11*9=99', '99-77=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,61 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
[ 4, 7, 98, 13 ]
35
[ "13-4=9", "7*9=63", "98-63=35" ]
Current State: 35:[4, 7, 98, 13], Operations: [] Exploring Operation: 13-4=9, Resulting Numbers: [7, 98, 9] Generated Node #2: [7, 98, 9] from Operation: 13-4=9 Current State: 35:[7, 98, 9], Operations: ['13-4=9'] Exploring Operation: 7*9=63, Resulting Numbers: [98, 63] Generated Node #3: [98, 63] from Operation: 7*9=63 Current State: 35:[98, 63], Operations: ['13-4=9', '7*9=63'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[4, 7, 98, 13], Operations: [] Exploring Operation: 98-13=85, Resulting Numbers: [4, 7, 85] Generated Node #0,0: 35:[4, 7, 85] Operation: 98-13=85 Exploring Operation: 98/7=14, Resulting Numbers: [4, 13, 14] Generated Node #0,1: 35:[4, 13, 14] Operation: 98/7=14 Exploring Operation: 98-7=91, Resulting Numbers: [4, 13, 91] Generated Node #0,2: 35:[4, 13, 91] Operation: 98-7=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[4, 13, 14], Operations: ['98/7=14'] Exploring Operation: 13-4=9, Resulting Numbers: [14, 9] Generated Node #0,1,0: 35:[14, 9] Operation: 13-4=9 Exploring Operation: 14-13=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 35:[4, 1] Operation: 14-13=1 Exploring Operation: 14-4=10, Resulting Numbers: [13, 10] Generated Node #0,1,2: 35:[13, 10] Operation: 14-4=10 Moving to Node #0,1,1 Current State: 35:[4, 1], Operations: ['98/7=14', '14-13=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[14, 9], Operations: ['98/7=14', '13-4=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,35 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[13, 10], Operations: ['98/7=14', '14-4=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,35 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,35 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: 35:[4, 7, 85], Operations: ['98-13=85'] Exploring Operation: 7-4=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 35:[85, 3] Operation: 7-4=3 Exploring Operation: 85-7=78, Resulting Numbers: [4, 78] Generated Node #0,0,1: 35:[4, 78] Operation: 85-7=78 Exploring Operation: 85-4=81, Resulting Numbers: [7, 81] Generated Node #0,0,2: 35:[7, 81] Operation: 85-4=81 Moving to Node #0,0,1 Current State: 35:[4, 78], Operations: ['98-13=85', '85-7=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[7, 81], Operations: ['98-13=85', '85-4=81'] Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,35 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[85, 3], Operations: ['98-13=85', '7-4=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,35 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: 35:[4, 13, 91], Operations: ['98-7=91'] Exploring Operation: 91/13=7, Resulting Numbers: [4, 7] Generated Node #0,2,0: 35:[4, 7] Operation: 91/13=7 Exploring Operation: 13-4=9, Resulting Numbers: [91, 9] Generated Node #0,2,1: 35:[91, 9] Operation: 13-4=9 Exploring Operation: 91-13=78, Resulting Numbers: [4, 78] Generated Node #0,2,2: 35:[4, 78] Operation: 91-13=78 Moving to Node #0,2,0 Current State: 35:[4, 7], Operations: ['98-7=91', '91/13=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[4, 78], Operations: ['98-7=91', '91-13=78'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,35 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[91, 9], Operations: ['98-7=91', '13-4=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,35 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,35 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 28, 61, 23, 38 ]
18
[ "61-28=33", "38-23=15", "33-15=18" ]
Current State: 18:[28, 61, 23, 38], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [23, 38, 33] Generated Node #2: [23, 38, 33] from Operation: 61-28=33 Current State: 18:[23, 38, 33], Operations: ['61-28=33'] Exploring Operation: 38-23=15, Resulting Numbers: [33, 15] Generated Node #3: [33, 15] from Operation: 38-23=15 Current State: 18:[33, 15], Operations: ['61-28=33', '38-23=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 61, 23, 38], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [28, 23, 23] Generated Node #0,0: 18:[28, 23, 23] Operation: 61-38=23 Exploring Operation: 61-28=33, Resulting Numbers: [23, 38, 33] Generated Node #0,1: 18:[23, 38, 33] Operation: 61-28=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[28, 23, 23], Operations: ['61-38=23'] Exploring Operation: 28-23=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 18:[23, 5] Operation: 28-23=5 Exploring Operation: 28-23=5, Resulting Numbers: [23, 5] Generated Node #0,0,1: 18:[23, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[23, 5], Operations: ['61-38=23', '28-23=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[28, 61, 23, 38], Operations: [] Exploring Operation: 61-38=23, Resulting Numbers: [28, 23, 23] Generated Node #0,0: 18:[28, 23, 23] Operation: 61-38=23 Moving to Node #0,0 Current State: 18:[28, 23, 23], Operations: ['61-38=23'] Exploring Operation: 28-23=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 18:[23, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 18:[23, 5], Operations: ['61-38=23', '28-23=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 83, 42, 40, 11 ]
61
[ "42-40=2", "11*2=22", "83-22=61" ]
Current State: 61:[83, 42, 40, 11], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [83, 11, 2] Generated Node #2: [83, 11, 2] from Operation: 42-40=2 Current State: 61:[83, 11, 2], Operations: ['42-40=2'] Exploring Operation: 11*2=22, Resulting Numbers: [83, 22] Generated Node #3: [83, 22] from Operation: 11*2=22 Current State: 61:[83, 22], Operations: ['42-40=2', '11*2=22'] Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[83, 42, 40, 11], Operations: [] Exploring Operation: 42+11=53, Resulting Numbers: [83, 40, 53] Generated Node #0,0: 61:[83, 40, 53] Operation: 42+11=53 Exploring Operation: 83-11=72, Resulting Numbers: [42, 40, 72] Generated Node #0,1: 61:[42, 40, 72] Operation: 83-11=72 Moving to Node #0,0 Current State: 61:[83, 40, 53], Operations: ['42+11=53'] Exploring Operation: 83-40=43, Resulting Numbers: [53, 43] Generated Node #0,0,0: 61:[53, 43] Operation: 83-40=43 Exploring Operation: 83-53=30, Resulting Numbers: [40, 30] Generated Node #0,0,1: 61:[40, 30] Operation: 83-53=30 Moving to Node #0,1 Current State: 61:[42, 40, 72], Operations: ['83-11=72'] Exploring Operation: 42+40=82, Resulting Numbers: [72, 82] Generated Node #0,1,0: 61:[72, 82] Operation: 42+40=82 Exploring Operation: 72-40=32, Resulting Numbers: [42, 32] Generated Node #0,1,1: 61:[42, 32] Operation: 72-40=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[72, 82], Operations: ['83-11=72', '42+40=82'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,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,1 Current State: 61:[42, 32], Operations: ['83-11=72', '72-40=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 61:[53, 43], Operations: ['42+11=53', '83-40=43'] Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[40, 30], Operations: ['42+11=53', '83-53=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 51, 10, 7 ]
48
[ "10-7=3", "33*3=99", "99-51=48" ]
Current State: 48:[33, 51, 10, 7], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [33, 51, 3] Generated Node #2: [33, 51, 3] from Operation: 10-7=3 Current State: 48:[33, 51, 3], Operations: ['10-7=3'] Exploring Operation: 33*3=99, Resulting Numbers: [51, 99] Generated Node #3: [51, 99] from Operation: 33*3=99 Current State: 48:[51, 99], Operations: ['10-7=3', '33*3=99'] Exploring Operation: 99-51=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[33, 51, 10, 7], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [51, 7, 23] Generated Node #0,0: 48:[51, 7, 23] Operation: 33-10=23 Exploring Operation: 33+10=43, Resulting Numbers: [51, 7, 43] Generated Node #0,1: 48:[51, 7, 43] Operation: 33+10=43 Exploring Operation: 51-33=18, Resulting Numbers: [10, 7, 18] Generated Node #0,2: 48:[10, 7, 18] Operation: 51-33=18 Exploring Operation: 33-7=26, Resulting Numbers: [51, 10, 26] Generated Node #0,3: 48:[51, 10, 26] Operation: 33-7=26 Moving to Node #0,0 Current State: 48:[51, 7, 23], Operations: ['33-10=23'] Exploring Operation: 23-7=16, Resulting Numbers: [51, 16] Generated Node #0,0,0: 48:[51, 16] Operation: 23-7=16 Exploring Operation: 7+23=30, Resulting Numbers: [51, 30] Generated Node #0,0,1: 48:[51, 30] Operation: 7+23=30 Exploring Operation: 51-7=44, Resulting Numbers: [23, 44] Generated Node #0,0,2: 48:[23, 44] Operation: 51-7=44 Exploring Operation: 51-23=28, Resulting Numbers: [7, 28] Generated Node #0,0,3: 48:[7, 28] Operation: 51-23=28 Moving to Node #0,2 Current State: 48:[10, 7, 18], Operations: ['51-33=18'] Exploring Operation: 10-7=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 48:[18, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [18, 17] Generated Node #0,2,1: 48:[18, 17] Operation: 10+7=17 Exploring Operation: 7+18=25, Resulting Numbers: [10, 25] Generated Node #0,2,2: 48:[10, 25] Operation: 7+18=25 Exploring Operation: 18-10=8, Resulting Numbers: [7, 8] Generated Node #0,2,3: 48:[7, 8] Operation: 18-10=8 Moving to Node #0,3 Current State: 48:[51, 10, 26], Operations: ['33-7=26'] Exploring Operation: 51-26=25, Resulting Numbers: [10, 25] Generated Node #0,3,0: 48:[10, 25] Operation: 51-26=25 Exploring Operation: 51-10=41, Resulting Numbers: [26, 41] Generated Node #0,3,1: 48:[26, 41] Operation: 51-10=41 Exploring Operation: 51+10=61, Resulting Numbers: [26, 61] Generated Node #0,3,2: 48:[26, 61] Operation: 51+10=61 Exploring Operation: 26-10=16, Resulting Numbers: [51, 16] Generated Node #0,3,3: 48:[51, 16] Operation: 26-10=16 Moving to Node #0,1 Current State: 48:[51, 7, 43], Operations: ['33+10=43'] Exploring Operation: 7+43=50, Resulting Numbers: [51, 50] Generated Node #0,1,0: 48:[51, 50] Operation: 7+43=50 Exploring Operation: 51+7=58, Resulting Numbers: [43, 58] Generated Node #0,1,1: 48:[43, 58] Operation: 51+7=58 Exploring Operation: 51-43=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 48:[7, 8] Operation: 51-43=8 Exploring Operation: 51-7=44, Resulting Numbers: [43, 44] Generated Node #0,1,3: 48:[43, 44] Operation: 51-7=44 Moving to Node #0,2,3 Current State: 48:[7, 8], Operations: ['51-33=18', '18-10=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[7, 8], Operations: ['33+10=43', '51-43=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[18, 3], Operations: ['51-33=18', '10-7=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[18, 17], Operations: ['51-33=18', '10+7=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[51, 16], Operations: ['33-10=23', '23-7=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,48 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[51, 16], Operations: ['33-7=26', '26-10=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,48 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[10, 25], Operations: ['51-33=18', '7+18=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,48 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[10, 25], Operations: ['33-7=26', '51-26=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,48 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[51, 50], Operations: ['33+10=43', '7+43=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[7, 28], Operations: ['33-10=23', '51-23=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,48 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[23, 44], Operations: ['33-10=23', '51-7=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,48 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[43, 44], Operations: ['33+10=43', '51-7=44'] Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,48 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[51, 30], Operations: ['33-10=23', '7+23=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,48 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,48 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[26, 41], Operations: ['33-7=26', '51-10=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,48 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[43, 58], Operations: ['33+10=43', '51+7=58'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[26, 61], Operations: ['33-7=26', '51+10=61'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,48 unequal: No Solution Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,48 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,48 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 72, 4, 43, 90 ]
65
[ "72-4=68", "43+90=133", "133-68=65" ]
Current State: 65:[72, 4, 43, 90], Operations: [] Exploring Operation: 72-4=68, Resulting Numbers: [43, 90, 68] Generated Node #2: [43, 90, 68] from Operation: 72-4=68 Current State: 65:[43, 90, 68], Operations: ['72-4=68'] Exploring Operation: 43+90=133, Resulting Numbers: [68, 133] Generated Node #3: [68, 133] from Operation: 43+90=133 Current State: 65:[68, 133], Operations: ['72-4=68', '43+90=133'] Exploring Operation: 133-68=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[72, 4, 43, 90], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [72, 4, 47] Generated Node #0,0: 65:[72, 4, 47] Operation: 90-43=47 Exploring Operation: 72-43=29, Resulting Numbers: [4, 90, 29] Generated Node #0,1: 65:[4, 90, 29] Operation: 72-43=29 Exploring Operation: 72-4=68, Resulting Numbers: [43, 90, 68] Generated Node #0,2: 65:[43, 90, 68] Operation: 72-4=68 Exploring Operation: 4+43=47, Resulting Numbers: [72, 90, 47] Generated Node #0,3: 65:[72, 90, 47] Operation: 4+43=47 Exploring Operation: 90-72=18, Resulting Numbers: [4, 43, 18] Generated Node #0,4: 65:[4, 43, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[72, 4, 47], Operations: ['90-43=47'] Exploring Operation: 72-4=68, Resulting Numbers: [47, 68] Generated Node #0,0,0: 65:[47, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [47, 18] Generated Node #0,0,1: 65:[47, 18] Operation: 72/4=18 Exploring Operation: 4+47=51, Resulting Numbers: [72, 51] Generated Node #0,0,2: 65:[72, 51] Operation: 4+47=51 Exploring Operation: 72-47=25, Resulting Numbers: [4, 25] Generated Node #0,0,3: 65:[4, 25] Operation: 72-47=25 Exploring Operation: 72+4=76, Resulting Numbers: [47, 76] Generated Node #0,0,4: 65:[47, 76] Operation: 72+4=76 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 65:[4, 25], Operations: ['90-43=47', '72-47=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,65 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: 65:[47, 68], Operations: ['90-43=47', '72-4=68'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,65 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: 65:[72, 51], Operations: ['90-43=47', '4+47=51'] Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,65 unequal: No Solution Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,65 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: 65:[47, 18], Operations: ['90-43=47', '72/4=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[72, 4, 43, 90], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [72, 4, 47] Generated Node #0,0: 65:[72, 4, 47] Operation: 90-43=47 Moving to Node #0,0 Current State: 65:[72, 4, 47], Operations: ['90-43=47'] Exploring Operation: 72/4=18, Resulting Numbers: [47, 18] Generated Node #0,0,1: 65:[47, 18] Operation: 72/4=18 Moving to Node #0,0,1 Current State: 65:[47, 18], Operations: ['90-43=47', '72/4=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 81, 47, 2, 56 ]
12
[ "81-47=34", "2*34=68", "68-56=12" ]
Current State: 12:[81, 47, 2, 56], Operations: [] Exploring Operation: 81-47=34, Resulting Numbers: [2, 56, 34] Generated Node #2: [2, 56, 34] from Operation: 81-47=34 Current State: 12:[2, 56, 34], Operations: ['81-47=34'] Exploring Operation: 2*34=68, Resulting Numbers: [56, 68] Generated Node #3: [56, 68] from Operation: 2*34=68 Current State: 12:[56, 68], Operations: ['81-47=34', '2*34=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[81, 47, 2, 56], Operations: [] Exploring Operation: 81-2=79, Resulting Numbers: [47, 56, 79] Generated Node #0,0: 12:[47, 56, 79] Operation: 81-2=79 Exploring Operation: 56/2=28, Resulting Numbers: [81, 47, 28] Generated Node #0,1: 12:[81, 47, 28] Operation: 56/2=28 Exploring Operation: 81-47=34, Resulting Numbers: [2, 56, 34] Generated Node #0,2: 12:[2, 56, 34] Operation: 81-47=34 Exploring Operation: 81-56=25, Resulting Numbers: [47, 2, 25] Generated Node #0,3: 12:[47, 2, 25] Operation: 81-56=25 Exploring Operation: 56-47=9, Resulting Numbers: [81, 2, 9] Generated Node #0,4: 12:[81, 2, 9] Operation: 56-47=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[47, 2, 25], Operations: ['81-56=25'] Exploring Operation: 47+2=49, Resulting Numbers: [25, 49] Generated Node #0,3,0: 12:[25, 49] Operation: 47+2=49 Exploring Operation: 47-2=45, Resulting Numbers: [25, 45] Generated Node #0,3,1: 12:[25, 45] Operation: 47-2=45 Exploring Operation: 25-2=23, Resulting Numbers: [47, 23] Generated Node #0,3,2: 12:[47, 23] Operation: 25-2=23 Exploring Operation: 47-25=22, Resulting Numbers: [2, 22] Generated Node #0,3,3: 12:[2, 22] Operation: 47-25=22 Exploring Operation: 2+25=27, Resulting Numbers: [47, 27] Generated Node #0,3,4: 12:[47, 27] Operation: 2+25=27 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[2, 22], Operations: ['81-56=25', '47-25=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,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,1 Current State: 12:[25, 45], Operations: ['81-56=25', '47-2=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,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:[47, 23], Operations: ['81-56=25', '25-2=23'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,12 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,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:[25, 49], Operations: ['81-56=25', '47+2=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,12 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,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,4 Current State: 12:[47, 27], Operations: ['81-56=25', '2+25=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,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,2 Current State: 12:[2, 56, 34], Operations: ['81-47=34'] Exploring Operation: 56-2=54, Resulting Numbers: [34, 54] Generated Node #0,2,0: 12:[34, 54] Operation: 56-2=54 Exploring Operation: 34/2=17, Resulting Numbers: [56, 17] Generated Node #0,2,1: 12:[56, 17] Operation: 34/2=17 Exploring Operation: 56/2=28, Resulting Numbers: [34, 28] Generated Node #0,2,2: 12:[34, 28] Operation: 56/2=28 Exploring Operation: 34-2=32, Resulting Numbers: [56, 32] Generated Node #0,2,3: 12:[56, 32] Operation: 34-2=32 Exploring Operation: 56-34=22, Resulting Numbers: [2, 22] Generated Node #0,2,4: 12:[2, 22] Operation: 56-34=22 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[2, 22], Operations: ['81-47=34', '56-34=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,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:[34, 28], Operations: ['81-47=34', '56/2=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,12 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,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:[56, 17], Operations: ['81-47=34', '34/2=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,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:[34, 54], Operations: ['81-47=34', '56-2=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,12 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,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,3 Current State: 12:[56, 32], Operations: ['81-47=34', '34-2=32'] Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,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,4 Current State: 12:[81, 2, 9], Operations: ['56-47=9'] Exploring Operation: 9-2=7, Resulting Numbers: [81, 7] Generated Node #0,4,0: 12:[81, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [81, 11] Generated Node #0,4,1: 12:[81, 11] Operation: 2+9=11 Exploring Operation: 81/9=9, Resulting Numbers: [2, 9] Generated Node #0,4,2: 12:[2, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [2, 72] Generated Node #0,4,3: 12:[2, 72] Operation: 81-9=72 Exploring Operation: 81-2=79, Resulting Numbers: [9, 79] Generated Node #0,4,4: 12:[9, 79] Operation: 81-2=79 Moving to Node #0,4,2 Current State: 12:[2, 9], Operations: ['56-47=9', '81/9=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[2, 72], Operations: ['56-47=9', '81-9=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[81, 7], Operations: ['56-47=9', '9-2=7'] Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,12 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[81, 11], Operations: ['56-47=9', '2+9=11'] Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,12 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,12 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[9, 79], Operations: ['56-47=9', '81-2=79'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,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,1 Current State: 12:[81, 47, 28], Operations: ['56/2=28'] Exploring Operation: 81-47=34, Resulting Numbers: [28, 34] Generated Node #0,1,0: 12:[28, 34] Operation: 81-47=34 Exploring Operation: 81-28=53, Resulting Numbers: [47, 53] Generated Node #0,1,1: 12:[47, 53] Operation: 81-28=53 Exploring Operation: 81+47=128, Resulting Numbers: [28, 128] Generated Node #0,1,2: 12:[28, 128] Operation: 81+47=128 Exploring Operation: 81+28=109, Resulting Numbers: [47, 109] Generated Node #0,1,3: 12:[47, 109] Operation: 81+28=109 Exploring Operation: 47-28=19, Resulting Numbers: [81, 19] Generated Node #0,1,4: 12:[81, 19] Operation: 47-28=19 Moving to Node #0,1,0 Current State: 12:[28, 34], Operations: ['56/2=28', '81-47=34'] Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,12 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[81, 19], Operations: ['56/2=28', '47-28=19'] Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,12 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[47, 53], Operations: ['56/2=28', '81-28=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 47*53=2491, Resulting Numbers: [2491] 2491,12 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[28, 128], Operations: ['56/2=28', '81+47=128'] Exploring Operation: 128-28=100, Resulting Numbers: [100] 100,12 unequal: No Solution Exploring Operation: 28*128=3584, Resulting Numbers: [3584] 3584,12 unequal: No Solution Exploring Operation: 28+128=156, Resulting Numbers: [156] 156,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[47, 109], Operations: ['56/2=28', '81+28=109'] Exploring Operation: 109-47=62, Resulting Numbers: [62] 62,12 unequal: No Solution Exploring Operation: 47+109=156, Resulting Numbers: [156] 156,12 unequal: No Solution Exploring Operation: 47*109=5123, Resulting Numbers: [5123] 5123,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,0 Current State: 12:[47, 56, 79], Operations: ['81-2=79'] Exploring Operation: 56-47=9, Resulting Numbers: [79, 9] Generated Node #0,0,0: 12:[79, 9] Operation: 56-47=9 Exploring Operation: 79-56=23, Resulting Numbers: [47, 23] Generated Node #0,0,1: 12:[47, 23] Operation: 79-56=23 Exploring Operation: 47+79=126, Resulting Numbers: [56, 126] Generated Node #0,0,2: 12:[56, 126] Operation: 47+79=126 Exploring Operation: 47+56=103, Resulting Numbers: [79, 103] Generated Node #0,0,3: 12:[79, 103] Operation: 47+56=103 Exploring Operation: 79-47=32, Resulting Numbers: [56, 32] Generated Node #0,0,4: 12:[56, 32] Operation: 79-47=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[47, 23], Operations: ['81-2=79', '79-56=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,12 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,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,0,4 Current State: 12:[56, 32], Operations: ['81-2=79', '79-47=32'] Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,12 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,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,0,0 Current State: 12:[79, 9], Operations: ['81-2=79', '56-47=9'] Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,12 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,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,0,2 Current State: 12:[56, 126], Operations: ['81-2=79', '47+79=126'] Exploring Operation: 56*126=7056, Resulting Numbers: [7056] 7056,12 unequal: No Solution Exploring Operation: 56+126=182, Resulting Numbers: [182] 182,12 unequal: No Solution Exploring Operation: 126-56=70, Resulting Numbers: [70] 70,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,0,3 Current State: 12:[79, 103], Operations: ['81-2=79', '47+56=103'] Exploring Operation: 79*103=8137, Resulting Numbers: [8137] 8137,12 unequal: No Solution Exploring Operation: 103-79=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 79+103=182, Resulting Numbers: [182] 182,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 No solution found.
0
hs_5
mult_heuristic
[ 58, 69, 73, 1 ]
54
[ "58+69=127", "73*1=73", "127-73=54" ]
Current State: 54:[58, 69, 73, 1], Operations: [] Exploring Operation: 58+69=127, Resulting Numbers: [73, 1, 127] Generated Node #2: [73, 1, 127] from Operation: 58+69=127 Current State: 54:[73, 1, 127], Operations: ['58+69=127'] Exploring Operation: 73*1=73, Resulting Numbers: [127, 73] Generated Node #3: [127, 73] from Operation: 73*1=73 Current State: 54:[127, 73], Operations: ['58+69=127', '73*1=73'] Exploring Operation: 127-73=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[58, 69, 73, 1], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [73, 1, 11] Generated Node #0,0: 54:[73, 1, 11] Operation: 69-58=11 Exploring Operation: 73-69=4, Resulting Numbers: [58, 1, 4] Generated Node #0,1: 54:[58, 1, 4] Operation: 73-69=4 Exploring Operation: 73-58=15, Resulting Numbers: [69, 1, 15] Generated Node #0,2: 54:[69, 1, 15] Operation: 73-58=15 Exploring Operation: 69-1=68, Resulting Numbers: [58, 73, 68] Generated Node #0,3: 54:[58, 73, 68] Operation: 69-1=68 Exploring Operation: 58-1=57, Resulting Numbers: [69, 73, 57] Generated Node #0,4: 54:[69, 73, 57] Operation: 58-1=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[58, 1, 4], Operations: ['73-69=4'] Exploring Operation: 4-1=3, Resulting Numbers: [58, 3] Generated Node #0,1,0: 54:[58, 3] Operation: 4-1=3 Exploring Operation: 58-4=54, Resulting Numbers: [1, 54] Generated Node #0,1,1: 54:[1, 54] Operation: 58-4=54 Exploring Operation: 58-1=57, Resulting Numbers: [4, 57] Generated Node #0,1,2: 54:[4, 57] Operation: 58-1=57 Exploring Operation: 58*1=58, Resulting Numbers: [4, 58] Generated Node #0,1,3: 54:[4, 58] Operation: 58*1=58 Exploring Operation: 58/1=58, Resulting Numbers: [4, 58] Generated Node #0,1,4: 54:[4, 58] Operation: 58/1=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[1, 54], Operations: ['73-69=4', '58-4=54'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[58, 69, 73, 1], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [58, 1, 4] Generated Node #0,1: 54:[58, 1, 4] Operation: 73-69=4 Moving to Node #0,1 Current State: 54:[58, 1, 4], Operations: ['73-69=4'] Exploring Operation: 58-4=54, Resulting Numbers: [1, 54] Generated Node #0,1,1: 54:[1, 54] Operation: 58-4=54 Moving to Node #0,1,1 Current State: 54:[1, 54], Operations: ['73-69=4', '58-4=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 44, 66, 28, 73 ]
67
[ "66-44=22", "73-28=45", "22+45=67" ]
Current State: 67:[44, 66, 28, 73], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [28, 73, 22] Generated Node #2: [28, 73, 22] from Operation: 66-44=22 Current State: 67:[28, 73, 22], Operations: ['66-44=22'] Exploring Operation: 73-28=45, Resulting Numbers: [22, 45] Generated Node #3: [22, 45] from Operation: 73-28=45 Current State: 67:[22, 45], Operations: ['66-44=22', '73-28=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[44, 66, 28, 73], Operations: [] Exploring Operation: 44+28=72, Resulting Numbers: [66, 73, 72] Generated Node #0,0: 67:[66, 73, 72] Operation: 44+28=72 Exploring Operation: 73-28=45, Resulting Numbers: [44, 66, 45] Generated Node #0,1: 67:[44, 66, 45] Operation: 73-28=45 Exploring Operation: 66-28=38, Resulting Numbers: [44, 73, 38] Generated Node #0,2: 67:[44, 73, 38] Operation: 66-28=38 Exploring Operation: 66+28=94, Resulting Numbers: [44, 73, 94] Generated Node #0,3: 67:[44, 73, 94] Operation: 66+28=94 Exploring Operation: 44-28=16, Resulting Numbers: [66, 73, 16] Generated Node #0,4: 67:[66, 73, 16] Operation: 44-28=16 Moving to Node #0,0 Current State: 67:[66, 73, 72], Operations: ['44+28=72'] Exploring Operation: 73-66=7, Resulting Numbers: [72, 7] Generated Node #0,0,0: 67:[72, 7] Operation: 73-66=7 Exploring Operation: 73-72=1, Resulting Numbers: [66, 1] Generated Node #0,0,1: 67:[66, 1] Operation: 73-72=1 Exploring Operation: 66+72=138, Resulting Numbers: [73, 138] Generated Node #0,0,2: 67:[73, 138] Operation: 66+72=138 Exploring Operation: 72-66=6, Resulting Numbers: [73, 6] Generated Node #0,0,3: 67:[73, 6] Operation: 72-66=6 Exploring Operation: 66+73=139, Resulting Numbers: [72, 139] Generated Node #0,0,4: 67:[72, 139] Operation: 66+73=139 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[72, 7], Operations: ['44+28=72', '73-66=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,67 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,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:[66, 1], Operations: ['44+28=72', '73-72=1'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[44, 66, 28, 73], Operations: [] Exploring Operation: 44+28=72, Resulting Numbers: [66, 73, 72] Generated Node #0,0: 67:[66, 73, 72] Operation: 44+28=72 Moving to Node #0,0 Current State: 67:[66, 73, 72], Operations: ['44+28=72'] Exploring Operation: 73-72=1, Resulting Numbers: [66, 1] Generated Node #0,0,1: 67:[66, 1] Operation: 73-72=1 Moving to Node #0,0,1 Current State: 67:[66, 1], Operations: ['44+28=72', '73-72=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 22, 97, 50, 5 ]
37
[ "22*5=110", "97+50=147", "147-110=37" ]
Current State: 37:[22, 97, 50, 5], Operations: [] Exploring Operation: 22*5=110, Resulting Numbers: [97, 50, 110] Generated Node #2: [97, 50, 110] from Operation: 22*5=110 Current State: 37:[97, 50, 110], Operations: ['22*5=110'] Exploring Operation: 97+50=147, Resulting Numbers: [110, 147] Generated Node #3: [110, 147] from Operation: 97+50=147 Current State: 37:[110, 147], Operations: ['22*5=110', '97+50=147'] Exploring Operation: 147-110=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[22, 97, 50, 5], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [22, 5, 47] Generated Node #0,0: 37:[22, 5, 47] Operation: 97-50=47 Moving to Node #0,0 Current State: 37:[22, 5, 47], Operations: ['97-50=47'] Exploring Operation: 22+5=27, Resulting Numbers: [47, 27] Generated Node #0,0,0: 37:[47, 27] Operation: 22+5=27 Moving to Node #0,0,0 Current State: 37:[47, 27], Operations: ['97-50=47', '22+5=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 96, 52, 20, 73 ]
96
[ "52+20=72", "73-72=1", "96*1=96" ]
Current State: 96:[96, 52, 20, 73], Operations: [] Exploring Operation: 52+20=72, Resulting Numbers: [96, 73, 72] Generated Node #2: [96, 73, 72] from Operation: 52+20=72 Current State: 96:[96, 73, 72], Operations: ['52+20=72'] Exploring Operation: 73-72=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 73-72=1 Current State: 96:[96, 1], Operations: ['52+20=72', '73-72=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 52, 20, 73], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [52, 20, 23] Generated Node #0,0: 96:[52, 20, 23] Operation: 96-73=23 Exploring Operation: 73-20=53, Resulting Numbers: [96, 52, 53] Generated Node #0,1: 96:[96, 52, 53] Operation: 73-20=53 Exploring Operation: 52-20=32, Resulting Numbers: [96, 73, 32] Generated Node #0,2: 96:[96, 73, 32] Operation: 52-20=32 Exploring Operation: 20+73=93, Resulting Numbers: [96, 52, 93] Generated Node #0,3: 96:[96, 52, 93] Operation: 20+73=93 Exploring Operation: 73-52=21, Resulting Numbers: [96, 20, 21] Generated Node #0,4: 96:[96, 20, 21] Operation: 73-52=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[96, 52, 93], Operations: ['20+73=93'] Exploring Operation: 93-52=41, Resulting Numbers: [96, 41] Generated Node #0,3,0: 96:[96, 41] Operation: 93-52=41 Exploring Operation: 96+52=148, Resulting Numbers: [93, 148] Generated Node #0,3,1: 96:[93, 148] Operation: 96+52=148 Exploring Operation: 52+93=145, Resulting Numbers: [96, 145] Generated Node #0,3,2: 96:[96, 145] Operation: 52+93=145 Exploring Operation: 96-93=3, Resulting Numbers: [52, 3] Generated Node #0,3,3: 96:[52, 3] Operation: 96-93=3 Exploring Operation: 96-52=44, Resulting Numbers: [93, 44] Generated Node #0,3,4: 96:[93, 44] Operation: 96-52=44 Moving to Node #0,3,3 Current State: 96:[52, 3], Operations: ['20+73=93', '96-93=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,96 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,96 unequal: No Solution Moving to Node #0,3,4 Current State: 96:[93, 44], Operations: ['20+73=93', '96-52=44'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,96 unequal: No Solution Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[96, 41], Operations: ['20+73=93', '93-52=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,96 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 96*41=3936, Resulting Numbers: [3936] 3936,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[96, 145], Operations: ['20+73=93', '52+93=145'] Exploring Operation: 96*145=13920, Resulting Numbers: [13920] 13920,96 unequal: No Solution Exploring Operation: 96+145=241, Resulting Numbers: [241] 241,96 unequal: No Solution Exploring Operation: 145-96=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[93, 148], Operations: ['20+73=93', '96+52=148'] Exploring Operation: 148-93=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 93*148=13764, Resulting Numbers: [13764] 13764,96 unequal: No Solution Exploring Operation: 93+148=241, Resulting Numbers: [241] 241,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,4 Current State: 96:[96, 20, 21], Operations: ['73-52=21'] Exploring Operation: 96-20=76, Resulting Numbers: [21, 76] Generated Node #0,4,0: 96:[21, 76] Operation: 96-20=76 Exploring Operation: 20+21=41, Resulting Numbers: [96, 41] Generated Node #0,4,1: 96:[96, 41] Operation: 20+21=41 Exploring Operation: 96+21=117, Resulting Numbers: [20, 117] Generated Node #0,4,2: 96:[20, 117] Operation: 96+21=117 Exploring Operation: 96+20=116, Resulting Numbers: [21, 116] Generated Node #0,4,3: 96:[21, 116] Operation: 96+20=116 Exploring Operation: 21-20=1, Resulting Numbers: [96, 1] Generated Node #0,4,4: 96:[96, 1] Operation: 21-20=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[96, 1], Operations: ['73-52=21', '21-20=1'] Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[96, 52, 20, 73], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [96, 20, 21] Generated Node #0,4: 96:[96, 20, 21] Operation: 73-52=21 Moving to Node #0,4 Current State: 96:[96, 20, 21], Operations: ['73-52=21'] Exploring Operation: 21-20=1, Resulting Numbers: [96, 1] Generated Node #0,4,4: 96:[96, 1] Operation: 21-20=1 Moving to Node #0,4,4 Current State: 96:[96, 1], Operations: ['73-52=21', '21-20=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 98, 50, 74, 49 ]
51
[ "98+50=148", "148/74=2", "49+2=51" ]
Current State: 51:[98, 50, 74, 49], Operations: [] Exploring Operation: 98+50=148, Resulting Numbers: [74, 49, 148] Generated Node #2: [74, 49, 148] from Operation: 98+50=148 Current State: 51:[74, 49, 148], Operations: ['98+50=148'] Exploring Operation: 148/74=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 148/74=2 Current State: 51:[49, 2], Operations: ['98+50=148', '148/74=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[98, 50, 74, 49], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [98, 49, 24] Generated Node #0,0: 51:[98, 49, 24] Operation: 74-50=24 Exploring Operation: 98-74=24, Resulting Numbers: [50, 49, 24] Generated Node #0,1: 51:[50, 49, 24] Operation: 98-74=24 Exploring Operation: 98/49=2, Resulting Numbers: [50, 74, 2] Generated Node #0,2: 51:[50, 74, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [50, 74, 49] Generated Node #0,3: 51:[50, 74, 49] Operation: 98-49=49 Exploring Operation: 98-50=48, Resulting Numbers: [74, 49, 48] Generated Node #0,4: 51:[74, 49, 48] Operation: 98-50=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[50, 49, 24], Operations: ['98-74=24'] Exploring Operation: 49-24=25, Resulting Numbers: [50, 25] Generated Node #0,1,0: 51:[50, 25] Operation: 49-24=25 Exploring Operation: 50+24=74, Resulting Numbers: [49, 74] Generated Node #0,1,1: 51:[49, 74] Operation: 50+24=74 Exploring Operation: 49+24=73, Resulting Numbers: [50, 73] Generated Node #0,1,2: 51:[50, 73] Operation: 49+24=73 Exploring Operation: 50-24=26, Resulting Numbers: [49, 26] Generated Node #0,1,3: 51:[49, 26] Operation: 50-24=26 Exploring Operation: 50-49=1, Resulting Numbers: [24, 1] Generated Node #0,1,4: 51:[24, 1] Operation: 50-49=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[50, 25], Operations: ['98-74=24', '49-24=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,51 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,51 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: 51:[24, 1], Operations: ['98-74=24', '50-49=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,51 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: 51:[49, 26], Operations: ['98-74=24', '50-24=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,51 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,51 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: 51:[50, 73], Operations: ['98-74=24', '49+24=73'] Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,51 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: 51:[49, 74], Operations: ['98-74=24', '50+24=74'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,51 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,51 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: 51:[50, 74, 2], Operations: ['98/49=2'] Exploring Operation: 74-50=24, Resulting Numbers: [2, 24] Generated Node #0,2,0: 51:[2, 24] Operation: 74-50=24 Exploring Operation: 74-2=72, Resulting Numbers: [50, 72] Generated Node #0,2,1: 51:[50, 72] Operation: 74-2=72 Exploring Operation: 50+2=52, Resulting Numbers: [74, 52] Generated Node #0,2,2: 51:[74, 52] Operation: 50+2=52 Exploring Operation: 50-2=48, Resulting Numbers: [74, 48] Generated Node #0,2,3: 51:[74, 48] Operation: 50-2=48 Exploring Operation: 74/2=37, Resulting Numbers: [50, 37] Generated Node #0,2,4: 51:[50, 37] Operation: 74/2=37 Moving to Node #0,2,0 Current State: 51:[2, 24], Operations: ['98/49=2', '74-50=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[50, 37], Operations: ['98/49=2', '74/2=37'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,51 unequal: No Solution Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[50, 72], Operations: ['98/49=2', '74-2=72'] Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,51 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[74, 52], Operations: ['98/49=2', '50+2=52'] Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,51 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[74, 48], Operations: ['98/49=2', '50-2=48'] Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,51 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,51 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: 51:[50, 74, 49], Operations: ['98-49=49'] Exploring Operation: 50-49=1, Resulting Numbers: [74, 1] Generated Node #0,3,0: 51:[74, 1] Operation: 50-49=1 Exploring Operation: 74+49=123, Resulting Numbers: [50, 123] Generated Node #0,3,1: 51:[50, 123] Operation: 74+49=123 Exploring Operation: 50+49=99, Resulting Numbers: [74, 99] Generated Node #0,3,2: 51:[74, 99] Operation: 50+49=99 Exploring Operation: 74-49=25, Resulting Numbers: [50, 25] Generated Node #0,3,3: 51:[50, 25] Operation: 74-49=25 Exploring Operation: 74-50=24, Resulting Numbers: [49, 24] Generated Node #0,3,4: 51:[49, 24] Operation: 74-50=24 Moving to Node #0,3,3 Current State: 51:[50, 25], Operations: ['98-49=49', '74-49=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,51 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[49, 24], Operations: ['98-49=49', '74-50=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[74, 1], Operations: ['98-49=49', '50-49=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[74, 99], Operations: ['98-49=49', '50+49=99'] Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,51 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 74*99=7326, Resulting Numbers: [7326] 7326,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[50, 123], Operations: ['98-49=49', '74+49=123'] Exploring Operation: 50*123=6150, Resulting Numbers: [6150] 6150,51 unequal: No Solution Exploring Operation: 123-50=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 50+123=173, Resulting Numbers: [173] 173,51 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: 51:[74, 49, 48], Operations: ['98-50=48'] Exploring Operation: 74-48=26, Resulting Numbers: [49, 26] Generated Node #0,4,0: 51:[49, 26] Operation: 74-48=26 Exploring Operation: 74-49=25, Resulting Numbers: [48, 25] Generated Node #0,4,1: 51:[48, 25] Operation: 74-49=25 Exploring Operation: 49+48=97, Resulting Numbers: [74, 97] Generated Node #0,4,2: 51:[74, 97] Operation: 49+48=97 Exploring Operation: 74+48=122, Resulting Numbers: [49, 122] Generated Node #0,4,3: 51:[49, 122] Operation: 74+48=122 Exploring Operation: 49-48=1, Resulting Numbers: [74, 1] Generated Node #0,4,4: 51:[74, 1] Operation: 49-48=1 Moving to Node #0,4,0 Current State: 51:[49, 26], Operations: ['98-50=48', '74-48=26'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,51 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[48, 25], Operations: ['98-50=48', '74-49=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,51 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[74, 1], Operations: ['98-50=48', '49-48=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[74, 97], Operations: ['98-50=48', '49+48=97'] Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 74+97=171, Resulting Numbers: [171] 171,51 unequal: No Solution Exploring Operation: 74*97=7178, Resulting Numbers: [7178] 7178,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[49, 122], Operations: ['98-50=48', '74+48=122'] Exploring Operation: 49+122=171, Resulting Numbers: [171] 171,51 unequal: No Solution Exploring Operation: 49*122=5978, Resulting Numbers: [5978] 5978,51 unequal: No Solution Exploring Operation: 122-49=73, Resulting Numbers: [73] 73,51 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: 51:[98, 49, 24], Operations: ['74-50=24'] Exploring Operation: 98-24=74, Resulting Numbers: [49, 74] Generated Node #0,0,0: 51:[49, 74] Operation: 98-24=74 Exploring Operation: 98/49=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 51:[24, 2] Operation: 98/49=2 Exploring Operation: 49-24=25, Resulting Numbers: [98, 25] Generated Node #0,0,2: 51:[98, 25] Operation: 49-24=25 Exploring Operation: 49+24=73, Resulting Numbers: [98, 73] Generated Node #0,0,3: 51:[98, 73] Operation: 49+24=73 Exploring Operation: 98-49=49, Resulting Numbers: [24, 49] Generated Node #0,0,4: 51:[24, 49] Operation: 98-49=49 Moving to Node #0,0,1 Current State: 51:[24, 2], Operations: ['74-50=24', '98/49=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[24, 49], Operations: ['74-50=24', '98-49=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[49, 74], Operations: ['74-50=24', '98-24=74'] Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,51 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[98, 25], Operations: ['74-50=24', '49-24=25'] Exploring Operation: 98+25=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 98*25=2450, Resulting Numbers: [2450] 2450,51 unequal: No Solution Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[98, 73], Operations: ['74-50=24', '49+24=73'] Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 98*73=7154, Resulting Numbers: [7154] 7154,51 unequal: No Solution Exploring Operation: 98+73=171, Resulting Numbers: [171] 171,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 48, 86, 69, 61 ]
92
[ "86-48=38", "69+61=130", "130-38=92" ]
Current State: 92:[48, 86, 69, 61], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [69, 61, 38] Generated Node #2: [69, 61, 38] from Operation: 86-48=38 Current State: 92:[69, 61, 38], Operations: ['86-48=38'] Exploring Operation: 69+61=130, Resulting Numbers: [38, 130] Generated Node #3: [38, 130] from Operation: 69+61=130 Current State: 92:[38, 130], Operations: ['86-48=38', '69+61=130'] Exploring Operation: 130-38=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[48, 86, 69, 61], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [48, 86, 8] Generated Node #0,0: 92:[48, 86, 8] Operation: 69-61=8 Exploring Operation: 61-48=13, Resulting Numbers: [86, 69, 13] Generated Node #0,1: 92:[86, 69, 13] Operation: 61-48=13 Exploring Operation: 86-61=25, Resulting Numbers: [48, 69, 25] Generated Node #0,2: 92:[48, 69, 25] Operation: 86-61=25 Exploring Operation: 86-69=17, Resulting Numbers: [48, 61, 17] Generated Node #0,3: 92:[48, 61, 17] Operation: 86-69=17 Exploring Operation: 69-48=21, Resulting Numbers: [86, 61, 21] Generated Node #0,4: 92:[86, 61, 21] Operation: 69-48=21 Moving to Node #0,0 Current State: 92:[48, 86, 8], Operations: ['69-61=8'] Exploring Operation: 48-8=40, Resulting Numbers: [86, 40] Generated Node #0,0,0: 92:[86, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [86, 6] Generated Node #0,0,1: 92:[86, 6] Operation: 48/8=6 Exploring Operation: 86+8=94, Resulting Numbers: [48, 94] Generated Node #0,0,2: 92:[48, 94] Operation: 86+8=94 Exploring Operation: 48+8=56, Resulting Numbers: [86, 56] Generated Node #0,0,3: 92:[86, 56] Operation: 48+8=56 Exploring Operation: 86-48=38, Resulting Numbers: [8, 38] Generated Node #0,0,4: 92:[8, 38] Operation: 86-48=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[48, 94], Operations: ['69-61=8', '86+8=94'] Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,92 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,92 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: 92:[86, 6], Operations: ['69-61=8', '48/8=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[48, 86, 69, 61], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [48, 86, 8] Generated Node #0,0: 92:[48, 86, 8] Operation: 69-61=8 Moving to Node #0,0 Current State: 92:[48, 86, 8], Operations: ['69-61=8'] Exploring Operation: 48/8=6, Resulting Numbers: [86, 6] Generated Node #0,0,1: 92:[86, 6] Operation: 48/8=6 Moving to Node #0,0,1 Current State: 92:[86, 6], Operations: ['69-61=8', '48/8=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 46, 51, 38, 91 ]
99
[ "51-46=5", "38*5=190", "190-91=99" ]
Current State: 99:[46, 51, 38, 91], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [38, 91, 5] Generated Node #2: [38, 91, 5] from Operation: 51-46=5 Current State: 99:[38, 91, 5], Operations: ['51-46=5'] Exploring Operation: 38*5=190, Resulting Numbers: [91, 190] Generated Node #3: [91, 190] from Operation: 38*5=190 Current State: 99:[91, 190], Operations: ['51-46=5', '38*5=190'] Exploring Operation: 190-91=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[46, 51, 38, 91], Operations: [] Exploring Operation: 46+51=97, Resulting Numbers: [38, 91, 97] Generated Node #0,0: 99:[38, 91, 97] Operation: 46+51=97 Exploring Operation: 51-46=5, Resulting Numbers: [38, 91, 5] Generated Node #0,1: 99:[38, 91, 5] Operation: 51-46=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[38, 91, 97], Operations: ['46+51=97'] Exploring Operation: 97-91=6, Resulting Numbers: [38, 6] Generated Node #0,0,0: 99:[38, 6] Operation: 97-91=6 Exploring Operation: 91-38=53, Resulting Numbers: [97, 53] Generated Node #0,0,1: 99:[97, 53] Operation: 91-38=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[38, 6], Operations: ['46+51=97', '97-91=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,99 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: 99:[97, 53], Operations: ['46+51=97', '91-38=53'] Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 97+53=150, Resulting Numbers: [150] 150,99 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: 99:[38, 91, 5], Operations: ['51-46=5'] Exploring Operation: 38-5=33, Resulting Numbers: [91, 33] Generated Node #0,1,0: 99:[91, 33] Operation: 38-5=33 Exploring Operation: 91+5=96, Resulting Numbers: [38, 96] Generated Node #0,1,1: 99:[38, 96] Operation: 91+5=96 Moving to Node #0,1,0 Current State: 99:[91, 33], Operations: ['51-46=5', '38-5=33'] Exploring Operation: 91+33=124, Resulting Numbers: [124] 124,99 unequal: No Solution Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[38, 96], Operations: ['51-46=5', '91+5=96'] Exploring Operation: 38+96=134, Resulting Numbers: [134] 134,99 unequal: No Solution Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 20, 40, 32, 11 ]
75
[ "40/20=2", "32*2=64", "11+64=75" ]
Current State: 75:[20, 40, 32, 11], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [32, 11, 2] Generated Node #2: [32, 11, 2] from Operation: 40/20=2 Current State: 75:[32, 11, 2], Operations: ['40/20=2'] Exploring Operation: 32*2=64, Resulting Numbers: [11, 64] Generated Node #3: [11, 64] from Operation: 32*2=64 Current State: 75:[11, 64], Operations: ['40/20=2', '32*2=64'] Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[20, 40, 32, 11], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [32, 11, 2] Generated Node #0,0: 75:[32, 11, 2] Operation: 40/20=2 Exploring Operation: 40+32=72, Resulting Numbers: [20, 11, 72] Generated Node #0,1: 75:[20, 11, 72] Operation: 40+32=72 Moving to Node #0,0 Current State: 75:[32, 11, 2], Operations: ['40/20=2'] Exploring Operation: 32-11=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 75:[2, 21] Operation: 32-11=21 Exploring Operation: 32/2=16, Resulting Numbers: [11, 16] Generated Node #0,0,1: 75:[11, 16] Operation: 32/2=16 Moving to Node #0,1 Current State: 75:[20, 11, 72], Operations: ['40+32=72'] Exploring Operation: 20-11=9, Resulting Numbers: [72, 9] Generated Node #0,1,0: 75:[72, 9] Operation: 20-11=9 Exploring Operation: 20+11=31, Resulting Numbers: [72, 31] Generated Node #0,1,1: 75:[72, 31] Operation: 20+11=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[72, 9], Operations: ['40+32=72', '20-11=9'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,75 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: 75:[72, 31], Operations: ['40+32=72', '20+11=31'] Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,75 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 75:[2, 21], Operations: ['40/20=2', '32-11=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,75 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[11, 16], Operations: ['40/20=2', '32/2=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,75 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 35, 2, 42, 2 ]
76
[ "35+42=77", "2/2=1", "77-1=76" ]
Current State: 76:[35, 2, 42, 2], Operations: [] Exploring Operation: 35+42=77, Resulting Numbers: [2, 2, 77] Generated Node #2: [2, 2, 77] from Operation: 35+42=77 Current State: 76:[2, 2, 77], Operations: ['35+42=77'] Exploring Operation: 2/2=1, Resulting Numbers: [77, 1] Generated Node #3: [77, 1] from Operation: 2/2=1 Current State: 76:[77, 1], Operations: ['35+42=77', '2/2=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[35, 2, 42, 2], Operations: [] Exploring Operation: 35+2=37, Resulting Numbers: [42, 2, 37] Generated Node #0,0: 76:[42, 2, 37] Operation: 35+2=37 Exploring Operation: 42-35=7, Resulting Numbers: [2, 2, 7] Generated Node #0,1: 76:[2, 2, 7] Operation: 42-35=7 Exploring Operation: 35+2=37, Resulting Numbers: [2, 42, 37] Generated Node #0,2: 76:[2, 42, 37] Operation: 35+2=37 Exploring Operation: 42-2=40, Resulting Numbers: [35, 2, 40] Generated Node #0,3: 76:[35, 2, 40] Operation: 42-2=40 Exploring Operation: 35+42=77, Resulting Numbers: [2, 2, 77] Generated Node #0,4: 76:[2, 2, 77] Operation: 35+42=77 Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[2, 2, 77], Operations: ['35+42=77'] Exploring Operation: 2+2=4, Resulting Numbers: [77, 4] Generated Node #0,4,0: 76:[77, 4] Operation: 2+2=4 Exploring Operation: 2/2=1, Resulting Numbers: [77, 1] Generated Node #0,4,1: 76:[77, 1] Operation: 2/2=1 Exploring Operation: 2*2=4, Resulting Numbers: [77, 4] Generated Node #0,4,2: 76:[77, 4] Operation: 2*2=4 Exploring Operation: 77-2=75, Resulting Numbers: [2, 75] Generated Node #0,4,3: 76:[2, 75] Operation: 77-2=75 Exploring Operation: 77-2=75, Resulting Numbers: [2, 75] Generated Node #0,4,4: 76:[2, 75] Operation: 77-2=75 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 76:[77, 4], Operations: ['35+42=77', '2+2=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,76 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,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,4,2 Current State: 76:[77, 4], Operations: ['35+42=77', '2*2=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,76 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,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,4,3 Current State: 76:[2, 75], Operations: ['35+42=77', '77-2=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,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,4,4 Current State: 76:[2, 75], Operations: ['35+42=77', '77-2=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,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,4,1 Current State: 76:[77, 1], Operations: ['35+42=77', '2/2=1'] Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[35, 2, 42, 2], Operations: [] Exploring Operation: 35+42=77, Resulting Numbers: [2, 2, 77] Generated Node #0,4: 76:[2, 2, 77] Operation: 35+42=77 Moving to Node #0,4 Current State: 76:[2, 2, 77], Operations: ['35+42=77'] Exploring Operation: 2/2=1, Resulting Numbers: [77, 1] Generated Node #0,4,1: 76:[77, 1] Operation: 2/2=1 Moving to Node #0,4,1 Current State: 76:[77, 1], Operations: ['35+42=77', '2/2=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 5, 70, 59, 79 ]
85
[ "70-5=65", "79-59=20", "65+20=85" ]
Current State: 85:[5, 70, 59, 79], Operations: [] Exploring Operation: 70-5=65, Resulting Numbers: [59, 79, 65] Generated Node #2: [59, 79, 65] from Operation: 70-5=65 Current State: 85:[59, 79, 65], Operations: ['70-5=65'] Exploring Operation: 79-59=20, Resulting Numbers: [65, 20] Generated Node #3: [65, 20] from Operation: 79-59=20 Current State: 85:[65, 20], Operations: ['70-5=65', '79-59=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[5, 70, 59, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [5, 59, 9] Generated Node #0,0: 85:[5, 59, 9] Operation: 79-70=9 Exploring Operation: 70-59=11, Resulting Numbers: [5, 79, 11] Generated Node #0,1: 85:[5, 79, 11] Operation: 70-59=11 Exploring Operation: 79-59=20, Resulting Numbers: [5, 70, 20] Generated Node #0,2: 85:[5, 70, 20] Operation: 79-59=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[5, 79, 11], Operations: ['70-59=11'] Exploring Operation: 5+11=16, Resulting Numbers: [79, 16] Generated Node #0,1,0: 85:[79, 16] Operation: 5+11=16 Exploring Operation: 5+79=84, Resulting Numbers: [11, 84] Generated Node #0,1,1: 85:[11, 84] Operation: 5+79=84 Exploring Operation: 79+11=90, Resulting Numbers: [5, 90] Generated Node #0,1,2: 85:[5, 90] Operation: 79+11=90 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[5, 90], Operations: ['70-59=11', '79+11=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[5, 70, 59, 79], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [5, 79, 11] Generated Node #0,1: 85:[5, 79, 11] Operation: 70-59=11 Moving to Node #0,1 Current State: 85:[5, 79, 11], Operations: ['70-59=11'] Exploring Operation: 79+11=90, Resulting Numbers: [5, 90] Generated Node #0,1,2: 85:[5, 90] Operation: 79+11=90 Moving to Node #0,1,2 Current State: 85:[5, 90], Operations: ['70-59=11', '79+11=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 67, 82, 26, 24 ]
17
[ "82-67=15", "26-24=2", "15+2=17" ]
Current State: 17:[67, 82, 26, 24], Operations: [] Exploring Operation: 82-67=15, Resulting Numbers: [26, 24, 15] Generated Node #2: [26, 24, 15] from Operation: 82-67=15 Current State: 17:[26, 24, 15], Operations: ['82-67=15'] Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 26-24=2 Current State: 17:[15, 2], Operations: ['82-67=15', '26-24=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[67, 82, 26, 24], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [82, 24, 41] Generated Node #0,0: 17:[82, 24, 41] Operation: 67-26=41 Exploring Operation: 82-67=15, Resulting Numbers: [26, 24, 15] Generated Node #0,1: 17:[26, 24, 15] Operation: 82-67=15 Exploring Operation: 82-26=56, Resulting Numbers: [67, 24, 56] Generated Node #0,2: 17:[67, 24, 56] Operation: 82-26=56 Moving to Node #0,1 Current State: 17:[26, 24, 15], Operations: ['82-67=15'] Exploring Operation: 26-15=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 17:[24, 11] Operation: 26-15=11 Exploring Operation: 24-15=9, Resulting Numbers: [26, 9] Generated Node #0,1,1: 17:[26, 9] Operation: 24-15=9 Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #0,1,2: 17:[15, 2] Operation: 26-24=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[24, 11], Operations: ['82-67=15', '26-15=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,17 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,17 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: 17:[26, 9], Operations: ['82-67=15', '24-15=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[67, 82, 26, 24], Operations: [] Exploring Operation: 82-67=15, Resulting Numbers: [26, 24, 15] Generated Node #0,1: 17:[26, 24, 15] Operation: 82-67=15 Moving to Node #0,1 Current State: 17:[26, 24, 15], Operations: ['82-67=15'] Exploring Operation: 24-15=9, Resulting Numbers: [26, 9] Generated Node #0,1,1: 17:[26, 9] Operation: 24-15=9 Moving to Node #0,1,1 Current State: 17:[26, 9], Operations: ['82-67=15', '24-15=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 46, 42, 53, 10 ]
45
[ "46+42=88", "53-10=43", "88-43=45" ]
Current State: 45:[46, 42, 53, 10], Operations: [] Exploring Operation: 46+42=88, Resulting Numbers: [53, 10, 88] Generated Node #2: [53, 10, 88] from Operation: 46+42=88 Current State: 45:[53, 10, 88], Operations: ['46+42=88'] Exploring Operation: 53-10=43, Resulting Numbers: [88, 43] Generated Node #3: [88, 43] from Operation: 53-10=43 Current State: 45:[88, 43], Operations: ['46+42=88', '53-10=43'] Exploring Operation: 88-43=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[46, 42, 53, 10], Operations: [] Exploring Operation: 53-10=43, Resulting Numbers: [46, 42, 43] Generated Node #0,0: 45:[46, 42, 43] Operation: 53-10=43 Exploring Operation: 53-42=11, Resulting Numbers: [46, 10, 11] Generated Node #0,1: 45:[46, 10, 11] Operation: 53-42=11 Exploring Operation: 53-46=7, Resulting Numbers: [42, 10, 7] Generated Node #0,2: 45:[42, 10, 7] Operation: 53-46=7 Moving to Node #0,1 Current State: 45:[46, 10, 11], Operations: ['53-42=11'] Exploring Operation: 10+11=21, Resulting Numbers: [46, 21] Generated Node #0,1,0: 45:[46, 21] Operation: 10+11=21 Exploring Operation: 46-10=36, Resulting Numbers: [11, 36] Generated Node #0,1,1: 45:[11, 36] Operation: 46-10=36 Exploring Operation: 11-10=1, Resulting Numbers: [46, 1] Generated Node #0,1,2: 45:[46, 1] Operation: 11-10=1 Moving to Node #0,0 Current State: 45:[46, 42, 43], Operations: ['53-10=43'] Exploring Operation: 43-42=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 45:[46, 1] Operation: 43-42=1 Exploring Operation: 46-43=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 45:[42, 3] Operation: 46-43=3 Exploring Operation: 46-42=4, Resulting Numbers: [43, 4] Generated Node #0,0,2: 45:[43, 4] Operation: 46-42=4 Moving to Node #0,2 Current State: 45:[42, 10, 7], Operations: ['53-46=7'] Exploring Operation: 42/7=6, Resulting Numbers: [10, 6] Generated Node #0,2,0: 45:[10, 6] Operation: 42/7=6 Exploring Operation: 10-7=3, Resulting Numbers: [42, 3] Generated Node #0,2,1: 45:[42, 3] Operation: 10-7=3 Exploring Operation: 42+7=49, Resulting Numbers: [10, 49] Generated Node #0,2,2: 45:[10, 49] Operation: 42+7=49 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[10, 6], Operations: ['53-46=7', '42/7=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,45 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: 45:[42, 3], Operations: ['53-46=7', '10-7=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[46, 42, 53, 10], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [42, 10, 7] Generated Node #0,2: 45:[42, 10, 7] Operation: 53-46=7 Moving to Node #0,2 Current State: 45:[42, 10, 7], Operations: ['53-46=7'] Exploring Operation: 10-7=3, Resulting Numbers: [42, 3] Generated Node #0,2,1: 45:[42, 3] Operation: 10-7=3 Moving to Node #0,2,1 Current State: 45:[42, 3], Operations: ['53-46=7', '10-7=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 87, 84, 22, 32 ]
51
[ "87-84=3", "22+32=54", "54-3=51" ]
Current State: 51:[87, 84, 22, 32], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [22, 32, 3] Generated Node #2: [22, 32, 3] from Operation: 87-84=3 Current State: 51:[22, 32, 3], Operations: ['87-84=3'] Exploring Operation: 22+32=54, Resulting Numbers: [3, 54] Generated Node #3: [3, 54] from Operation: 22+32=54 Current State: 51:[3, 54], Operations: ['87-84=3', '22+32=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 84, 22, 32], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [84, 32, 65] Generated Node #0,0: 51:[84, 32, 65] Operation: 87-22=65 Exploring Operation: 84-22=62, Resulting Numbers: [87, 32, 62] Generated Node #0,1: 51:[87, 32, 62] Operation: 84-22=62 Exploring Operation: 87-32=55, Resulting Numbers: [84, 22, 55] Generated Node #0,2: 51:[84, 22, 55] Operation: 87-32=55 Exploring Operation: 87-84=3, Resulting Numbers: [22, 32, 3] Generated Node #0,3: 51:[22, 32, 3] Operation: 87-84=3 Exploring Operation: 84-32=52, Resulting Numbers: [87, 22, 52] Generated Node #0,4: 51:[87, 22, 52] Operation: 84-32=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[22, 32, 3], Operations: ['87-84=3'] Exploring Operation: 32-22=10, Resulting Numbers: [3, 10] Generated Node #0,3,0: 51:[3, 10] Operation: 32-22=10 Exploring Operation: 32+3=35, Resulting Numbers: [22, 35] Generated Node #0,3,1: 51:[22, 35] Operation: 32+3=35 Exploring Operation: 22-3=19, Resulting Numbers: [32, 19] Generated Node #0,3,2: 51:[32, 19] Operation: 22-3=19 Exploring Operation: 22+32=54, Resulting Numbers: [3, 54] Generated Node #0,3,3: 51:[3, 54] Operation: 22+32=54 Exploring Operation: 32-3=29, Resulting Numbers: [22, 29] Generated Node #0,3,4: 51:[22, 29] Operation: 32-3=29 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[3, 54], Operations: ['87-84=3', '22+32=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,51 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 84, 22, 32], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [22, 32, 3] Generated Node #0,3: 51:[22, 32, 3] Operation: 87-84=3 Moving to Node #0,3 Current State: 51:[22, 32, 3], Operations: ['87-84=3'] Exploring Operation: 22+32=54, Resulting Numbers: [3, 54] Generated Node #0,3,3: 51:[3, 54] Operation: 22+32=54 Moving to Node #0,3,3 Current State: 51:[3, 54], Operations: ['87-84=3', '22+32=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic