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
[ 2, 73, 89, 39 ]
72
[ "73-39=34", "34/2=17", "89-17=72" ]
Current State: 72:[2, 73, 89, 39], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [2, 89, 34] Generated Node #2: [2, 89, 34] from Operation: 73-39=34 Current State: 72:[2, 89, 34], Operations: ['73-39=34'] Exploring Operation: 34/2=17, Resulting Numbers: [89, 17] Generated Node #3: [89, 17] from Operation: 34/2=17 Current State: 72:[89, 17], Operations: ['73-39=34', '34/2=17'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 73, 89, 39], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [2, 73, 50] Generated Node #0,0: 72:[2, 73, 50] Operation: 89-39=50 Exploring Operation: 89-73=16, Resulting Numbers: [2, 39, 16] Generated Node #0,1: 72:[2, 39, 16] Operation: 89-73=16 Exploring Operation: 89-2=87, Resulting Numbers: [73, 39, 87] Generated Node #0,2: 72:[73, 39, 87] Operation: 89-2=87 Exploring Operation: 39-2=37, Resulting Numbers: [73, 89, 37] Generated Node #0,3: 72:[73, 89, 37] Operation: 39-2=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[2, 39, 16], Operations: ['89-73=16'] Exploring Operation: 16/2=8, Resulting Numbers: [39, 8] Generated Node #0,1,0: 72:[39, 8] Operation: 16/2=8 Exploring Operation: 2+16=18, Resulting Numbers: [39, 18] Generated Node #0,1,1: 72:[39, 18] Operation: 2+16=18 Exploring Operation: 39-2=37, Resulting Numbers: [16, 37] Generated Node #0,1,2: 72:[16, 37] Operation: 39-2=37 Exploring Operation: 39-16=23, Resulting Numbers: [2, 23] Generated Node #0,1,3: 72:[2, 23] Operation: 39-16=23 Moving to Node #0,1,3 Current State: 72:[2, 23], Operations: ['89-73=16', '39-16=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[39, 18], Operations: ['89-73=16', '2+16=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,72 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[39, 8], Operations: ['89-73=16', '16/2=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[16, 37], Operations: ['89-73=16', '39-2=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,72 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 73, 50], Operations: ['89-39=50'] Exploring Operation: 73-50=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 72:[2, 23] Operation: 73-50=23 Exploring Operation: 50/2=25, Resulting Numbers: [73, 25] Generated Node #0,0,1: 72:[73, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [73, 48] Generated Node #0,0,2: 72:[73, 48] Operation: 50-2=48 Exploring Operation: 73-2=71, Resulting Numbers: [50, 71] Generated Node #0,0,3: 72:[50, 71] Operation: 73-2=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[2, 23], Operations: ['89-39=50', '73-50=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,72 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: 72:[73, 25], Operations: ['89-39=50', '50/2=25'] Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,72 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,72 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: 72:[73, 48], Operations: ['89-39=50', '50-2=48'] Exploring Operation: 73+48=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 73*48=3504, Resulting Numbers: [3504] 3504,72 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: 72:[50, 71], Operations: ['89-39=50', '73-2=71'] Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,72 unequal: No Solution Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,72 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: 72:[73, 39, 87], Operations: ['89-2=87'] Exploring Operation: 87-39=48, Resulting Numbers: [73, 48] Generated Node #0,2,0: 72:[73, 48] Operation: 87-39=48 Exploring Operation: 73+39=112, Resulting Numbers: [87, 112] Generated Node #0,2,1: 72:[87, 112] Operation: 73+39=112 Exploring Operation: 87-73=14, Resulting Numbers: [39, 14] Generated Node #0,2,2: 72:[39, 14] Operation: 87-73=14 Exploring Operation: 73-39=34, Resulting Numbers: [87, 34] Generated Node #0,2,3: 72:[87, 34] Operation: 73-39=34 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[39, 14], Operations: ['89-2=87', '87-73=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,72 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,72 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: 72:[73, 48], Operations: ['89-2=87', '87-39=48'] Exploring Operation: 73+48=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 73*48=3504, Resulting Numbers: [3504] 3504,72 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: 72:[87, 34], Operations: ['89-2=87', '73-39=34'] Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,72 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: 72:[87, 112], Operations: ['89-2=87', '73+39=112'] Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,72 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,72 unequal: No Solution Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,72 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: 72:[73, 89, 37], Operations: ['39-2=37'] Exploring Operation: 89-37=52, Resulting Numbers: [73, 52] Generated Node #0,3,0: 72:[73, 52] Operation: 89-37=52 Exploring Operation: 73-37=36, Resulting Numbers: [89, 36] Generated Node #0,3,1: 72:[89, 36] Operation: 73-37=36 Exploring Operation: 73+37=110, Resulting Numbers: [89, 110] Generated Node #0,3,2: 72:[89, 110] Operation: 73+37=110 Exploring Operation: 89-73=16, Resulting Numbers: [37, 16] Generated Node #0,3,3: 72:[37, 16] Operation: 89-73=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 72:[37, 16], Operations: ['39-2=37', '89-73=16'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,72 unequal: No Solution Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,72 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: 72:[73, 52], Operations: ['39-2=37', '89-37=52'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,72 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: 72:[89, 36], Operations: ['39-2=37', '73-37=36'] Exploring Operation: 89*36=3204, Resulting Numbers: [3204] 3204,72 unequal: No Solution Exploring Operation: 89+36=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,72 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: 72:[89, 110], Operations: ['39-2=37', '73+37=110'] Exploring Operation: 110-89=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 89+110=199, Resulting Numbers: [199] 199,72 unequal: No Solution Exploring Operation: 89*110=9790, Resulting Numbers: [9790] 9790,72 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
[ 77, 27, 30, 47 ]
26
[ "77-30=47", "47/47=1", "27-1=26" ]
Current State: 26:[77, 27, 30, 47], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [27, 47, 47] Generated Node #2: [27, 47, 47] from Operation: 77-30=47 Current State: 26:[27, 47, 47], Operations: ['77-30=47'] Exploring Operation: 47/47=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 47/47=1 Current State: 26:[27, 1], Operations: ['77-30=47', '47/47=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[77, 27, 30, 47], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [27, 30, 30] Generated Node #0,0: 26:[27, 30, 30] Operation: 77-47=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[27, 30, 30], Operations: ['77-47=30'] Exploring Operation: 30/30=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 26:[27, 1] Operation: 30/30=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[27, 1], Operations: ['77-47=30', '30/30=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[77, 27, 30, 47], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [27, 30, 30] Generated Node #0,0: 26:[27, 30, 30] Operation: 77-47=30 Moving to Node #0,0 Current State: 26:[27, 30, 30], Operations: ['77-47=30'] Exploring Operation: 30/30=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 26:[27, 1] Operation: 30/30=1 Moving to Node #0,0,0 Current State: 26:[27, 1], Operations: ['77-47=30', '30/30=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 20, 90, 9 ]
16
[ "20-14=6", "90/9=10", "6+10=16" ]
Current State: 16:[14, 20, 90, 9], Operations: [] Exploring Operation: 20-14=6, Resulting Numbers: [90, 9, 6] Generated Node #2: [90, 9, 6] from Operation: 20-14=6 Current State: 16:[90, 9, 6], Operations: ['20-14=6'] Exploring Operation: 90/9=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 90/9=10 Current State: 16:[6, 10], Operations: ['20-14=6', '90/9=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[14, 20, 90, 9], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [14, 9, 70] Generated Node #0,0: 16:[14, 9, 70] Operation: 90-20=70 Exploring Operation: 90-14=76, Resulting Numbers: [20, 9, 76] Generated Node #0,1: 16:[20, 9, 76] Operation: 90-14=76 Exploring Operation: 90-9=81, Resulting Numbers: [14, 20, 81] Generated Node #0,2: 16:[14, 20, 81] Operation: 90-9=81 Exploring Operation: 20-14=6, Resulting Numbers: [90, 9, 6] Generated Node #0,3: 16:[90, 9, 6] Operation: 20-14=6 Exploring Operation: 90/9=10, Resulting Numbers: [14, 20, 10] Generated Node #0,4: 16:[14, 20, 10] Operation: 90/9=10 Moving to Node #0,4 Current State: 16:[14, 20, 10], Operations: ['90/9=10'] Exploring Operation: 20-14=6, Resulting Numbers: [10, 6] Generated Node #0,4,0: 16:[10, 6] Operation: 20-14=6 Exploring Operation: 14+10=24, Resulting Numbers: [20, 24] Generated Node #0,4,1: 16:[20, 24] Operation: 14+10=24 Exploring Operation: 14-10=4, Resulting Numbers: [20, 4] Generated Node #0,4,2: 16:[20, 4] Operation: 14-10=4 Exploring Operation: 20-10=10, Resulting Numbers: [14, 10] Generated Node #0,4,3: 16:[14, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 16:[14, 2] Operation: 20/10=2 Moving to Node #0,0 Current State: 16:[14, 9, 70], Operations: ['90-20=70'] Exploring Operation: 14-9=5, Resulting Numbers: [70, 5] Generated Node #0,0,0: 16:[70, 5] Operation: 14-9=5 Exploring Operation: 70/14=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 16:[9, 5] Operation: 70/14=5 Exploring Operation: 70-9=61, Resulting Numbers: [14, 61] Generated Node #0,0,2: 16:[14, 61] Operation: 70-9=61 Exploring Operation: 70-14=56, Resulting Numbers: [9, 56] Generated Node #0,0,3: 16:[9, 56] Operation: 70-14=56 Exploring Operation: 14+9=23, Resulting Numbers: [70, 23] Generated Node #0,0,4: 16:[70, 23] Operation: 14+9=23 Moving to Node #0,1 Current State: 16:[20, 9, 76], Operations: ['90-14=76'] Exploring Operation: 76-9=67, Resulting Numbers: [20, 67] Generated Node #0,1,0: 16:[20, 67] Operation: 76-9=67 Exploring Operation: 76-20=56, Resulting Numbers: [9, 56] Generated Node #0,1,1: 16:[9, 56] Operation: 76-20=56 Exploring Operation: 20-9=11, Resulting Numbers: [76, 11] Generated Node #0,1,2: 16:[76, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [76, 29] Generated Node #0,1,3: 16:[76, 29] Operation: 20+9=29 Exploring Operation: 9+76=85, Resulting Numbers: [20, 85] Generated Node #0,1,4: 16:[20, 85] Operation: 9+76=85 Moving to Node #0,2 Current State: 16:[14, 20, 81], Operations: ['90-9=81'] Exploring Operation: 20-14=6, Resulting Numbers: [81, 6] Generated Node #0,2,0: 16:[81, 6] Operation: 20-14=6 Exploring Operation: 14+20=34, Resulting Numbers: [81, 34] Generated Node #0,2,1: 16:[81, 34] Operation: 14+20=34 Exploring Operation: 14+81=95, Resulting Numbers: [20, 95] Generated Node #0,2,2: 16:[20, 95] Operation: 14+81=95 Exploring Operation: 81-14=67, Resulting Numbers: [20, 67] Generated Node #0,2,3: 16:[20, 67] Operation: 81-14=67 Exploring Operation: 81-20=61, Resulting Numbers: [14, 61] Generated Node #0,2,4: 16:[14, 61] Operation: 81-20=61 Moving to Node #0,3 Current State: 16:[90, 9, 6], Operations: ['20-14=6'] Exploring Operation: 90-6=84, Resulting Numbers: [9, 84] Generated Node #0,3,0: 16:[9, 84] Operation: 90-6=84 Exploring Operation: 90/6=15, Resulting Numbers: [9, 15] Generated Node #0,3,1: 16:[9, 15] Operation: 90/6=15 Exploring Operation: 90-9=81, Resulting Numbers: [6, 81] Generated Node #0,3,2: 16:[6, 81] Operation: 90-9=81 Exploring Operation: 90/9=10, Resulting Numbers: [6, 10] Generated Node #0,3,3: 16:[6, 10] Operation: 90/9=10 Exploring Operation: 9+6=15, Resulting Numbers: [90, 15] Generated Node #0,3,4: 16:[90, 15] Operation: 9+6=15 Moving to Node #0,4,4 Current State: 16:[14, 2], Operations: ['90/9=10', '20/10=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[14, 20, 90, 9], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [14, 20, 10] Generated Node #0,4: 16:[14, 20, 10] Operation: 90/9=10 Moving to Node #0,4 Current State: 16:[14, 20, 10], Operations: ['90/9=10'] Exploring Operation: 20/10=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 16:[14, 2] Operation: 20/10=2 Moving to Node #0,4,4 Current State: 16:[14, 2], Operations: ['90/9=10', '20/10=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.967014
hs_5
sum_heuristic
[ 10, 21, 89, 60 ]
74
[ "60/10=6", "89-21=68", "6+68=74" ]
Current State: 74:[10, 21, 89, 60], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [21, 89, 6] Generated Node #2: [21, 89, 6] from Operation: 60/10=6 Current State: 74:[21, 89, 6], Operations: ['60/10=6'] Exploring Operation: 89-21=68, Resulting Numbers: [6, 68] Generated Node #3: [6, 68] from Operation: 89-21=68 Current State: 74:[6, 68], Operations: ['60/10=6', '89-21=68'] Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[10, 21, 89, 60], Operations: [] Exploring Operation: 89-21=68, Resulting Numbers: [10, 60, 68] Generated Node #0,0: 74:[10, 60, 68] Operation: 89-21=68 Exploring Operation: 60-21=39, Resulting Numbers: [10, 89, 39] Generated Node #0,1: 74:[10, 89, 39] Operation: 60-21=39 Exploring Operation: 21+60=81, Resulting Numbers: [10, 89, 81] Generated Node #0,2: 74:[10, 89, 81] Operation: 21+60=81 Moving to Node #0,1 Current State: 74:[10, 89, 39], Operations: ['60-21=39'] Exploring Operation: 89-10=79, Resulting Numbers: [39, 79] Generated Node #0,1,0: 74:[39, 79] Operation: 89-10=79 Exploring Operation: 39-10=29, Resulting Numbers: [89, 29] Generated Node #0,1,1: 74:[89, 29] Operation: 39-10=29 Exploring Operation: 89-39=50, Resulting Numbers: [10, 50] Generated Node #0,1,2: 74:[10, 50] Operation: 89-39=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[39, 79], Operations: ['60-21=39', '89-10=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,74 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[10, 50], Operations: ['60-21=39', '89-39=50'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[89, 29], Operations: ['60-21=39', '39-10=29'] Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,74 unequal: No Solution Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[10, 60, 68], Operations: ['89-21=68'] Exploring Operation: 68-60=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 74:[10, 8] Operation: 68-60=8 Exploring Operation: 60/10=6, Resulting Numbers: [68, 6] Generated Node #0,0,1: 74:[68, 6] Operation: 60/10=6 Exploring Operation: 10+60=70, Resulting Numbers: [68, 70] Generated Node #0,0,2: 74:[68, 70] Operation: 10+60=70 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[68, 6], Operations: ['89-21=68', '60/10=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[10, 21, 89, 60], Operations: [] Exploring Operation: 89-21=68, Resulting Numbers: [10, 60, 68] Generated Node #0,0: 74:[10, 60, 68] Operation: 89-21=68 Moving to Node #0,0 Current State: 74:[10, 60, 68], Operations: ['89-21=68'] Exploring Operation: 60/10=6, Resulting Numbers: [68, 6] Generated Node #0,0,1: 74:[68, 6] Operation: 60/10=6 Moving to Node #0,0,1 Current State: 74:[68, 6], Operations: ['89-21=68', '60/10=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 59, 94, 25, 70 ]
60
[ "94-59=35", "25+70=95", "95-35=60" ]
Current State: 60:[59, 94, 25, 70], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [25, 70, 35] Generated Node #2: [25, 70, 35] from Operation: 94-59=35 Current State: 60:[25, 70, 35], Operations: ['94-59=35'] Exploring Operation: 25+70=95, Resulting Numbers: [35, 95] Generated Node #3: [35, 95] from Operation: 25+70=95 Current State: 60:[35, 95], Operations: ['94-59=35', '25+70=95'] Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[59, 94, 25, 70], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [25, 70, 35] Generated Node #0,0: 60:[25, 70, 35] Operation: 94-59=35 Exploring Operation: 94-70=24, Resulting Numbers: [59, 25, 24] Generated Node #0,1: 60:[59, 25, 24] Operation: 94-70=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[59, 25, 24], Operations: ['94-70=24'] Exploring Operation: 25-24=1, Resulting Numbers: [59, 1] Generated Node #0,1,0: 60:[59, 1] Operation: 25-24=1 Exploring Operation: 59-25=34, Resulting Numbers: [24, 34] Generated Node #0,1,1: 60:[24, 34] Operation: 59-25=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[59, 1], Operations: ['94-70=24', '25-24=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[59, 94, 25, 70], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [59, 25, 24] Generated Node #0,1: 60:[59, 25, 24] Operation: 94-70=24 Moving to Node #0,1 Current State: 60:[59, 25, 24], Operations: ['94-70=24'] Exploring Operation: 25-24=1, Resulting Numbers: [59, 1] Generated Node #0,1,0: 60:[59, 1] Operation: 25-24=1 Moving to Node #0,1,0 Current State: 60:[59, 1], Operations: ['94-70=24', '25-24=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 47, 62, 13, 10 ]
12
[ "62-47=15", "13-10=3", "15-3=12" ]
Current State: 12:[47, 62, 13, 10], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [13, 10, 15] Generated Node #2: [13, 10, 15] from Operation: 62-47=15 Current State: 12:[13, 10, 15], Operations: ['62-47=15'] Exploring Operation: 13-10=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 13-10=3 Current State: 12:[15, 3], Operations: ['62-47=15', '13-10=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[47, 62, 13, 10], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [62, 13, 37] Generated Node #0,0: 12:[62, 13, 37] Operation: 47-10=37 Exploring Operation: 47-13=34, Resulting Numbers: [62, 10, 34] Generated Node #0,1: 12:[62, 10, 34] Operation: 47-13=34 Exploring Operation: 62-13=49, Resulting Numbers: [47, 10, 49] Generated Node #0,2: 12:[47, 10, 49] Operation: 62-13=49 Exploring Operation: 62-47=15, Resulting Numbers: [13, 10, 15] Generated Node #0,3: 12:[13, 10, 15] Operation: 62-47=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[13, 10, 15], Operations: ['62-47=15'] Exploring Operation: 15-10=5, Resulting Numbers: [13, 5] Generated Node #0,3,0: 12:[13, 5] Operation: 15-10=5 Exploring Operation: 13-10=3, Resulting Numbers: [15, 3] Generated Node #0,3,1: 12:[15, 3] Operation: 13-10=3 Exploring Operation: 13+10=23, Resulting Numbers: [15, 23] Generated Node #0,3,2: 12:[15, 23] Operation: 13+10=23 Exploring Operation: 15-13=2, Resulting Numbers: [10, 2] Generated Node #0,3,3: 12:[10, 2] Operation: 15-13=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[13, 5], Operations: ['62-47=15', '15-10=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[10, 2], Operations: ['62-47=15', '15-13=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[47, 62, 13, 10], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [13, 10, 15] Generated Node #0,3: 12:[13, 10, 15] Operation: 62-47=15 Moving to Node #0,3 Current State: 12:[13, 10, 15], Operations: ['62-47=15'] Exploring Operation: 15-13=2, Resulting Numbers: [10, 2] Generated Node #0,3,3: 12:[10, 2] Operation: 15-13=2 Moving to Node #0,3,3 Current State: 12:[10, 2], Operations: ['62-47=15', '15-13=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 54, 10, 79, 39 ]
84
[ "54-10=44", "79-39=40", "44+40=84" ]
Current State: 84:[54, 10, 79, 39], Operations: [] Exploring Operation: 54-10=44, Resulting Numbers: [79, 39, 44] Generated Node #2: [79, 39, 44] from Operation: 54-10=44 Current State: 84:[79, 39, 44], Operations: ['54-10=44'] Exploring Operation: 79-39=40, Resulting Numbers: [44, 40] Generated Node #3: [44, 40] from Operation: 79-39=40 Current State: 84:[44, 40], Operations: ['54-10=44', '79-39=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[54, 10, 79, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [10, 79, 15] Generated Node #0,0: 84:[10, 79, 15] Operation: 54-39=15 Exploring Operation: 79-54=25, Resulting Numbers: [10, 39, 25] Generated Node #0,1: 84:[10, 39, 25] Operation: 79-54=25 Moving to Node #0,0 Current State: 84:[10, 79, 15], Operations: ['54-39=15'] Exploring Operation: 15-10=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 84:[79, 5] Operation: 15-10=5 Exploring Operation: 10+79=89, Resulting Numbers: [15, 89] Generated Node #0,0,1: 84:[15, 89] Operation: 10+79=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[79, 5], Operations: ['54-39=15', '15-10=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[54, 10, 79, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [10, 79, 15] Generated Node #0,0: 84:[10, 79, 15] Operation: 54-39=15 Moving to Node #0,0 Current State: 84:[10, 79, 15], Operations: ['54-39=15'] Exploring Operation: 15-10=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 84:[79, 5] Operation: 15-10=5 Moving to Node #0,0,0 Current State: 84:[79, 5], Operations: ['54-39=15', '15-10=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 49, 44, 70, 59 ]
73
[ "49-44=5", "70/5=14", "59+14=73" ]
Current State: 73:[49, 44, 70, 59], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [70, 59, 5] Generated Node #2: [70, 59, 5] from Operation: 49-44=5 Current State: 73:[70, 59, 5], Operations: ['49-44=5'] Exploring Operation: 70/5=14, Resulting Numbers: [59, 14] Generated Node #3: [59, 14] from Operation: 70/5=14 Current State: 73:[59, 14], Operations: ['49-44=5', '70/5=14'] Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[49, 44, 70, 59], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [70, 59, 5] Generated Node #0,0: 73:[70, 59, 5] Operation: 49-44=5 Exploring Operation: 49+44=93, Resulting Numbers: [70, 59, 93] Generated Node #0,1: 73:[70, 59, 93] Operation: 49+44=93 Exploring Operation: 49+59=108, Resulting Numbers: [44, 70, 108] Generated Node #0,2: 73:[44, 70, 108] Operation: 49+59=108 Exploring Operation: 44+59=103, Resulting Numbers: [49, 70, 103] Generated Node #0,3: 73:[49, 70, 103] Operation: 44+59=103 Exploring Operation: 44+70=114, Resulting Numbers: [49, 59, 114] Generated Node #0,4: 73:[49, 59, 114] Operation: 44+70=114 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[70, 59, 93], Operations: ['49+44=93'] Exploring Operation: 59+93=152, Resulting Numbers: [70, 152] Generated Node #0,1,0: 73:[70, 152] Operation: 59+93=152 Exploring Operation: 93-70=23, Resulting Numbers: [59, 23] Generated Node #0,1,1: 73:[59, 23] Operation: 93-70=23 Exploring Operation: 70-59=11, Resulting Numbers: [93, 11] Generated Node #0,1,2: 73:[93, 11] Operation: 70-59=11 Exploring Operation: 93-59=34, Resulting Numbers: [70, 34] Generated Node #0,1,3: 73:[70, 34] Operation: 93-59=34 Exploring Operation: 70+59=129, Resulting Numbers: [93, 129] Generated Node #0,1,4: 73:[93, 129] Operation: 70+59=129 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[70, 34], Operations: ['49+44=93', '93-59=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,73 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: 73:[59, 23], Operations: ['49+44=93', '93-70=23'] Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 59*23=1357, Resulting Numbers: [1357] 1357,73 unequal: No Solution Exploring Operation: 59+23=82, Resulting Numbers: [82] 82,73 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: 73:[93, 129], Operations: ['49+44=93', '70+59=129'] Exploring Operation: 93+129=222, Resulting Numbers: [222] 222,73 unequal: No Solution Exploring Operation: 129-93=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 93*129=11997, Resulting Numbers: [11997] 11997,73 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: 73:[70, 152], Operations: ['49+44=93', '59+93=152'] Exploring Operation: 70*152=10640, Resulting Numbers: [10640] 10640,73 unequal: No Solution Exploring Operation: 152-70=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 70+152=222, Resulting Numbers: [222] 222,73 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: 73:[93, 11], Operations: ['49+44=93', '70-59=11'] Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,73 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,73 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: 73:[49, 70, 103], Operations: ['44+59=103'] Exploring Operation: 49+103=152, Resulting Numbers: [70, 152] Generated Node #0,3,0: 73:[70, 152] Operation: 49+103=152 Exploring Operation: 49+70=119, Resulting Numbers: [103, 119] Generated Node #0,3,1: 73:[103, 119] Operation: 49+70=119 Exploring Operation: 103-70=33, Resulting Numbers: [49, 33] Generated Node #0,3,2: 73:[49, 33] Operation: 103-70=33 Exploring Operation: 70-49=21, Resulting Numbers: [103, 21] Generated Node #0,3,3: 73:[103, 21] Operation: 70-49=21 Exploring Operation: 103-49=54, Resulting Numbers: [70, 54] Generated Node #0,3,4: 73:[70, 54] Operation: 103-49=54 Moving to Node #0,3,4 Current State: 73:[70, 54], Operations: ['44+59=103', '103-49=54'] Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,73 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[49, 33], Operations: ['44+59=103', '103-70=33'] Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,73 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[103, 119], Operations: ['44+59=103', '49+70=119'] Exploring Operation: 119-103=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 103*119=12257, Resulting Numbers: [12257] 12257,73 unequal: No Solution Exploring Operation: 103+119=222, Resulting Numbers: [222] 222,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[70, 152], Operations: ['44+59=103', '49+103=152'] Exploring Operation: 70*152=10640, Resulting Numbers: [10640] 10640,73 unequal: No Solution Exploring Operation: 152-70=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 70+152=222, Resulting Numbers: [222] 222,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[103, 21], Operations: ['44+59=103', '70-49=21'] Exploring Operation: 103-21=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 103*21=2163, Resulting Numbers: [2163] 2163,73 unequal: No Solution Exploring Operation: 103+21=124, Resulting Numbers: [124] 124,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 Current State: 73:[44, 70, 108], Operations: ['49+59=108'] Exploring Operation: 44+70=114, Resulting Numbers: [108, 114] Generated Node #0,2,0: 73:[108, 114] Operation: 44+70=114 Exploring Operation: 108-70=38, Resulting Numbers: [44, 38] Generated Node #0,2,1: 73:[44, 38] Operation: 108-70=38 Exploring Operation: 44+108=152, Resulting Numbers: [70, 152] Generated Node #0,2,2: 73:[70, 152] Operation: 44+108=152 Exploring Operation: 70-44=26, Resulting Numbers: [108, 26] Generated Node #0,2,3: 73:[108, 26] Operation: 70-44=26 Exploring Operation: 108-44=64, Resulting Numbers: [70, 64] Generated Node #0,2,4: 73:[70, 64] Operation: 108-44=64 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[70, 64], Operations: ['49+59=108', '108-44=64'] Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,73 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: 73:[44, 38], Operations: ['49+59=108', '108-70=38'] Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,73 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,73 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: 73:[108, 114], Operations: ['49+59=108', '44+70=114'] Exploring Operation: 108+114=222, Resulting Numbers: [222] 222,73 unequal: No Solution Exploring Operation: 114-108=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 108*114=12312, Resulting Numbers: [12312] 12312,73 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: 73:[70, 152], Operations: ['49+59=108', '44+108=152'] Exploring Operation: 70*152=10640, Resulting Numbers: [10640] 10640,73 unequal: No Solution Exploring Operation: 152-70=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 70+152=222, Resulting Numbers: [222] 222,73 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: 73:[108, 26], Operations: ['49+59=108', '70-44=26'] Exploring Operation: 108*26=2808, Resulting Numbers: [2808] 2808,73 unequal: No Solution Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 108+26=134, Resulting Numbers: [134] 134,73 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: 73:[49, 59, 114], Operations: ['44+70=114'] Exploring Operation: 49+59=108, Resulting Numbers: [114, 108] Generated Node #0,4,0: 73:[114, 108] Operation: 49+59=108 Exploring Operation: 114-59=55, Resulting Numbers: [49, 55] Generated Node #0,4,1: 73:[49, 55] Operation: 114-59=55 Exploring Operation: 114-49=65, Resulting Numbers: [59, 65] Generated Node #0,4,2: 73:[59, 65] Operation: 114-49=65 Exploring Operation: 59-49=10, Resulting Numbers: [114, 10] Generated Node #0,4,3: 73:[114, 10] Operation: 59-49=10 Exploring Operation: 49+114=163, Resulting Numbers: [59, 163] Generated Node #0,4,4: 73:[59, 163] Operation: 49+114=163 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 73:[59, 65], Operations: ['44+70=114', '114-49=65'] Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,73 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,73 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,73 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: 73:[49, 55], Operations: ['44+70=114', '114-59=55'] Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,73 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: 73:[114, 108], Operations: ['44+70=114', '49+59=108'] Exploring Operation: 114-108=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 114*108=12312, Resulting Numbers: [12312] 12312,73 unequal: No Solution Exploring Operation: 114+108=222, Resulting Numbers: [222] 222,73 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: 73:[114, 10], Operations: ['44+70=114', '59-49=10'] Exploring Operation: 114*10=1140, Resulting Numbers: [1140] 1140,73 unequal: No Solution Exploring Operation: 114-10=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 114+10=124, Resulting Numbers: [124] 124,73 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: 73:[59, 163], Operations: ['44+70=114', '49+114=163'] Exploring Operation: 59+163=222, Resulting Numbers: [222] 222,73 unequal: No Solution Exploring Operation: 59*163=9617, Resulting Numbers: [9617] 9617,73 unequal: No Solution Exploring Operation: 163-59=104, Resulting Numbers: [104] 104,73 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: 73:[70, 59, 5], Operations: ['49-44=5'] Exploring Operation: 59-5=54, Resulting Numbers: [70, 54] Generated Node #0,0,0: 73:[70, 54] Operation: 59-5=54 Exploring Operation: 59+5=64, Resulting Numbers: [70, 64] Generated Node #0,0,1: 73:[70, 64] Operation: 59+5=64 Exploring Operation: 70-5=65, Resulting Numbers: [59, 65] Generated Node #0,0,2: 73:[59, 65] Operation: 70-5=65 Exploring Operation: 70+5=75, Resulting Numbers: [59, 75] Generated Node #0,0,3: 73:[59, 75] Operation: 70+5=75 Exploring Operation: 70/5=14, Resulting Numbers: [59, 14] Generated Node #0,0,4: 73:[59, 14] Operation: 70/5=14 Moving to Node #0,0,1 Current State: 73:[70, 64], Operations: ['49-44=5', '59+5=64'] Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,73 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[59, 75], Operations: ['49-44=5', '70+5=75'] Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,73 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[70, 54], Operations: ['49-44=5', '59-5=54'] Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,73 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[59, 65], Operations: ['49-44=5', '70-5=65'] Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,73 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[59, 14], Operations: ['49-44=5', '70/5=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,73 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[49, 44, 70, 59], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [70, 59, 5] Generated Node #0,0: 73:[70, 59, 5] Operation: 49-44=5 Moving to Node #0,0 Current State: 73:[70, 59, 5], Operations: ['49-44=5'] Exploring Operation: 70/5=14, Resulting Numbers: [59, 14] Generated Node #0,0,4: 73:[59, 14] Operation: 70/5=14 Moving to Node #0,0,4 Current State: 73:[59, 14], Operations: ['49-44=5', '70/5=14'] Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.905382
hs_5
mult_heuristic
[ 72, 76, 5, 25 ]
34
[ "76-72=4", "5+25=30", "4+30=34" ]
Current State: 34:[72, 76, 5, 25], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [5, 25, 4] Generated Node #2: [5, 25, 4] from Operation: 76-72=4 Current State: 34:[5, 25, 4], Operations: ['76-72=4'] Exploring Operation: 5+25=30, Resulting Numbers: [4, 30] Generated Node #3: [4, 30] from Operation: 5+25=30 Current State: 34:[4, 30], Operations: ['76-72=4', '5+25=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[72, 76, 5, 25], Operations: [] Exploring Operation: 76-5=71, Resulting Numbers: [72, 25, 71] Generated Node #0,0: 34:[72, 25, 71] Operation: 76-5=71 Exploring Operation: 76-72=4, Resulting Numbers: [5, 25, 4] Generated Node #0,1: 34:[5, 25, 4] Operation: 76-72=4 Exploring Operation: 72-25=47, Resulting Numbers: [76, 5, 47] Generated Node #0,2: 34:[76, 5, 47] Operation: 72-25=47 Exploring Operation: 76-25=51, Resulting Numbers: [72, 5, 51] Generated Node #0,3: 34:[72, 5, 51] Operation: 76-25=51 Exploring Operation: 72-5=67, Resulting Numbers: [76, 25, 67] Generated Node #0,4: 34:[76, 25, 67] Operation: 72-5=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[5, 25, 4], Operations: ['76-72=4'] Exploring Operation: 25+4=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 34:[5, 29] Operation: 25+4=29 Exploring Operation: 25-5=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 34:[4, 20] Operation: 25-5=20 Exploring Operation: 5+25=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 34:[4, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #0,1,3: 34:[4, 5] Operation: 25/5=5 Exploring Operation: 25-4=21, Resulting Numbers: [5, 21] Generated Node #0,1,4: 34:[5, 21] Operation: 25-4=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[4, 20], Operations: ['76-72=4', '25-5=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,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,1,3 Current State: 34:[4, 5], Operations: ['76-72=4', '25/5=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,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,1,2 Current State: 34:[4, 30], Operations: ['76-72=4', '5+25=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,34 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[72, 76, 5, 25], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [5, 25, 4] Generated Node #0,1: 34:[5, 25, 4] Operation: 76-72=4 Moving to Node #0,1 Current State: 34:[5, 25, 4], Operations: ['76-72=4'] Exploring Operation: 5+25=30, Resulting Numbers: [4, 30] Generated Node #0,1,2: 34:[4, 30] Operation: 5+25=30 Moving to Node #0,1,2 Current State: 34:[4, 30], Operations: ['76-72=4', '5+25=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 48, 3, 24, 59 ]
65
[ "48*3=144", "144/24=6", "59+6=65" ]
Current State: 65:[48, 3, 24, 59], Operations: [] Exploring Operation: 48*3=144, Resulting Numbers: [24, 59, 144] Generated Node #2: [24, 59, 144] from Operation: 48*3=144 Current State: 65:[24, 59, 144], Operations: ['48*3=144'] Exploring Operation: 144/24=6, Resulting Numbers: [59, 6] Generated Node #3: [59, 6] from Operation: 144/24=6 Current State: 65:[59, 6], Operations: ['48*3=144', '144/24=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[48, 3, 24, 59], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [3, 59, 2] Generated Node #0,0: 65:[3, 59, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 65:[3, 59, 2], Operations: ['48/24=2'] Exploring Operation: 3+59=62, Resulting Numbers: [2, 62] Generated Node #0,0,0: 65:[2, 62] Operation: 3+59=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[2, 62], Operations: ['48/24=2', '3+59=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,65 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
[ 36, 22, 2, 55 ]
67
[ "36-22=14", "55-2=53", "14+53=67" ]
Current State: 67:[36, 22, 2, 55], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [2, 55, 14] Generated Node #2: [2, 55, 14] from Operation: 36-22=14 Current State: 67:[2, 55, 14], Operations: ['36-22=14'] Exploring Operation: 55-2=53, Resulting Numbers: [14, 53] Generated Node #3: [14, 53] from Operation: 55-2=53 Current State: 67:[14, 53], Operations: ['36-22=14', '55-2=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[36, 22, 2, 55], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [22, 55, 72] Generated Node #0,0: 67:[22, 55, 72] Operation: 36*2=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[22, 55, 72], Operations: ['36*2=72'] Exploring Operation: 22+55=77, Resulting Numbers: [72, 77] Generated Node #0,0,0: 67:[72, 77] Operation: 22+55=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[72, 77], Operations: ['36*2=72', '22+55=77'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,67 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
[ 37, 14, 35, 7 ]
96
[ "37-35=2", "14*7=98", "98-2=96" ]
Current State: 96:[37, 14, 35, 7], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [14, 7, 2] Generated Node #2: [14, 7, 2] from Operation: 37-35=2 Current State: 96:[14, 7, 2], Operations: ['37-35=2'] Exploring Operation: 14*7=98, Resulting Numbers: [2, 98] Generated Node #3: [2, 98] from Operation: 14*7=98 Current State: 96:[2, 98], Operations: ['37-35=2', '14*7=98'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[37, 14, 35, 7], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [14, 7, 2] Generated Node #0,0: 96:[14, 7, 2] Operation: 37-35=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[14, 7, 2], Operations: ['37-35=2'] Exploring Operation: 14/7=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 96:[2, 2] Operation: 14/7=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[2, 2], Operations: ['37-35=2', '14/7=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,96 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
[ 67, 88, 98, 18 ]
84
[ "88-67=21", "98*18=1764", "1764/21=84" ]
Current State: 84:[67, 88, 98, 18], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [98, 18, 21] Generated Node #2: [98, 18, 21] from Operation: 88-67=21 Current State: 84:[98, 18, 21], Operations: ['88-67=21'] Exploring Operation: 98*18=1764, Resulting Numbers: [21, 1764] Generated Node #3: [21, 1764] from Operation: 98*18=1764 Current State: 84:[21, 1764], Operations: ['88-67=21', '98*18=1764'] Exploring Operation: 1764/21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[67, 88, 98, 18], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [88, 18, 31] Generated Node #0,0: 84:[88, 18, 31] Operation: 98-67=31 Exploring Operation: 88-67=21, Resulting Numbers: [98, 18, 21] Generated Node #0,1: 84:[98, 18, 21] Operation: 88-67=21 Moving to Node #0,0 Current State: 84:[88, 18, 31], Operations: ['98-67=31'] Exploring Operation: 18+31=49, Resulting Numbers: [88, 49] Generated Node #0,0,0: 84:[88, 49] Operation: 18+31=49 Exploring Operation: 31-18=13, Resulting Numbers: [88, 13] Generated Node #0,0,1: 84:[88, 13] Operation: 31-18=13 Moving to Node #0,1 Current State: 84:[98, 18, 21], Operations: ['88-67=21'] Exploring Operation: 98-18=80, Resulting Numbers: [21, 80] Generated Node #0,1,0: 84:[21, 80] Operation: 98-18=80 Exploring Operation: 98-21=77, Resulting Numbers: [18, 77] Generated Node #0,1,1: 84:[18, 77] Operation: 98-21=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[21, 80], Operations: ['88-67=21', '98-18=80'] Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,84 unequal: No Solution No 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: 84:[18, 77], Operations: ['88-67=21', '98-21=77'] Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 84:[88, 13], Operations: ['98-67=31', '31-18=13'] Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[88, 49], Operations: ['98-67=31', '18+31=49'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 51, 81, 44, 29 ]
79
[ "51-29=22", "44/22=2", "81-2=79" ]
Current State: 79:[51, 81, 44, 29], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [81, 44, 22] Generated Node #2: [81, 44, 22] from Operation: 51-29=22 Current State: 79:[81, 44, 22], Operations: ['51-29=22'] Exploring Operation: 44/22=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 44/22=2 Current State: 79:[81, 2], Operations: ['51-29=22', '44/22=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[51, 81, 44, 29], Operations: [] Exploring Operation: 81-29=52, Resulting Numbers: [51, 44, 52] Generated Node #0,0: 79:[51, 44, 52] Operation: 81-29=52 Exploring Operation: 51+44=95, Resulting Numbers: [81, 29, 95] Generated Node #0,1: 79:[81, 29, 95] Operation: 51+44=95 Exploring Operation: 51+29=80, Resulting Numbers: [81, 44, 80] Generated Node #0,2: 79:[81, 44, 80] Operation: 51+29=80 Exploring Operation: 51-29=22, Resulting Numbers: [81, 44, 22] Generated Node #0,3: 79:[81, 44, 22] Operation: 51-29=22 Exploring Operation: 44+29=73, Resulting Numbers: [51, 81, 73] Generated Node #0,4: 79:[51, 81, 73] Operation: 44+29=73 Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[51, 81, 73], Operations: ['44+29=73'] Exploring Operation: 73-51=22, Resulting Numbers: [81, 22] Generated Node #0,4,0: 79:[81, 22] Operation: 73-51=22 Exploring Operation: 51+81=132, Resulting Numbers: [73, 132] Generated Node #0,4,1: 79:[73, 132] Operation: 51+81=132 Exploring Operation: 81-51=30, Resulting Numbers: [73, 30] Generated Node #0,4,2: 79:[73, 30] Operation: 81-51=30 Exploring Operation: 51+73=124, Resulting Numbers: [81, 124] Generated Node #0,4,3: 79:[81, 124] Operation: 51+73=124 Exploring Operation: 81-73=8, Resulting Numbers: [51, 8] Generated Node #0,4,4: 79:[51, 8] Operation: 81-73=8 Moving to Node #0,4,3 Current State: 79:[81, 124], Operations: ['44+29=73', '51+73=124'] Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 81*124=10044, Resulting Numbers: [10044] 10044,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[73, 30], Operations: ['44+29=73', '81-51=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,79 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,79 unequal: No Solution Moving to Node #0,4,0 Current State: 79:[81, 22], Operations: ['44+29=73', '73-51=22'] Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[73, 132], Operations: ['44+29=73', '51+81=132'] Exploring Operation: 73*132=9636, Resulting Numbers: [9636] 9636,79 unequal: No Solution Exploring Operation: 73+132=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 132-73=59, Resulting Numbers: [59] 59,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[51, 8], Operations: ['44+29=73', '81-73=8'] Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,79 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[81, 44, 80], Operations: ['51+29=80'] Exploring Operation: 81-44=37, Resulting Numbers: [80, 37] Generated Node #0,2,0: 79:[80, 37] Operation: 81-44=37 Exploring Operation: 81-80=1, Resulting Numbers: [44, 1] Generated Node #0,2,1: 79:[44, 1] Operation: 81-80=1 Exploring Operation: 44+80=124, Resulting Numbers: [81, 124] Generated Node #0,2,2: 79:[81, 124] Operation: 44+80=124 Exploring Operation: 81+44=125, Resulting Numbers: [80, 125] Generated Node #0,2,3: 79:[80, 125] Operation: 81+44=125 Exploring Operation: 80-44=36, Resulting Numbers: [81, 36] Generated Node #0,2,4: 79:[81, 36] Operation: 80-44=36 Moving to Node #0,2,0 Current State: 79:[80, 37], Operations: ['51+29=80', '81-44=37'] Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,79 unequal: No Solution Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[81, 36], Operations: ['51+29=80', '80-44=36'] Exploring Operation: 81+36=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 81*36=2916, Resulting Numbers: [2916] 2916,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[81, 124], Operations: ['51+29=80', '44+80=124'] Exploring Operation: 81*124=10044, Resulting Numbers: [10044] 10044,79 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[80, 125], Operations: ['51+29=80', '81+44=125'] Exploring Operation: 80+125=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 125-80=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 80*125=10000, Resulting Numbers: [10000] 10000,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[44, 1], Operations: ['51+29=80', '81-80=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[81, 29, 95], Operations: ['51+44=95'] Exploring Operation: 81-29=52, Resulting Numbers: [95, 52] Generated Node #0,1,0: 79:[95, 52] Operation: 81-29=52 Exploring Operation: 81+29=110, Resulting Numbers: [95, 110] Generated Node #0,1,1: 79:[95, 110] Operation: 81+29=110 Exploring Operation: 29+95=124, Resulting Numbers: [81, 124] Generated Node #0,1,2: 79:[81, 124] Operation: 29+95=124 Exploring Operation: 95-29=66, Resulting Numbers: [81, 66] Generated Node #0,1,3: 79:[81, 66] Operation: 95-29=66 Exploring Operation: 95-81=14, Resulting Numbers: [29, 14] Generated Node #0,1,4: 79:[29, 14] Operation: 95-81=14 Moving to Node #0,1,3 Current State: 79:[81, 66], Operations: ['51+44=95', '95-29=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,79 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[95, 52], Operations: ['51+44=95', '81-29=52'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 95*52=4940, Resulting Numbers: [4940] 4940,79 unequal: No Solution Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[95, 110], Operations: ['51+44=95', '81+29=110'] Exploring Operation: 95+110=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 110-95=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 95*110=10450, Resulting Numbers: [10450] 10450,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[81, 124], Operations: ['51+44=95', '29+95=124'] Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 81*124=10044, Resulting Numbers: [10044] 10044,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[29, 14], Operations: ['51+44=95', '95-81=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,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 Current State: 79:[51, 44, 52], Operations: ['81-29=52'] Exploring Operation: 51+44=95, Resulting Numbers: [52, 95] Generated Node #0,0,0: 79:[52, 95] Operation: 51+44=95 Exploring Operation: 44+52=96, Resulting Numbers: [51, 96] Generated Node #0,0,1: 79:[51, 96] Operation: 44+52=96 Exploring Operation: 51-44=7, Resulting Numbers: [52, 7] Generated Node #0,0,2: 79:[52, 7] Operation: 51-44=7 Exploring Operation: 52-44=8, Resulting Numbers: [51, 8] Generated Node #0,0,3: 79:[51, 8] Operation: 52-44=8 Exploring Operation: 51+52=103, Resulting Numbers: [44, 103] Generated Node #0,0,4: 79:[44, 103] Operation: 51+52=103 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[52, 95], Operations: ['81-29=52', '51+44=95'] Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,79 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,79 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: 79:[51, 96], Operations: ['81-29=52', '44+52=96'] Exploring Operation: 51*96=4896, Resulting Numbers: [4896] 4896,79 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,79 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: 79:[44, 103], Operations: ['81-29=52', '51+52=103'] Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,79 unequal: No Solution Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,79 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: 79:[52, 7], Operations: ['81-29=52', '51-44=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,79 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,79 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: 79:[51, 8], Operations: ['81-29=52', '52-44=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,79 unequal: No Solution Exploring Operation: 51+8=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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[81, 44, 22], Operations: ['51-29=22'] Exploring Operation: 44+22=66, Resulting Numbers: [81, 66] Generated Node #0,3,0: 79:[81, 66] Operation: 44+22=66 Exploring Operation: 81-22=59, Resulting Numbers: [44, 59] Generated Node #0,3,1: 79:[44, 59] Operation: 81-22=59 Exploring Operation: 44/22=2, Resulting Numbers: [81, 2] Generated Node #0,3,2: 79:[81, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [81, 22] Generated Node #0,3,3: 79:[81, 22] Operation: 44-22=22 Exploring Operation: 81+22=103, Resulting Numbers: [44, 103] Generated Node #0,3,4: 79:[44, 103] Operation: 81+22=103 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[81, 66], Operations: ['51-29=22', '44+22=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,79 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,79 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: 79:[44, 59], Operations: ['51-29=22', '81-22=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,79 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: 79:[81, 22], Operations: ['51-29=22', '44-22=22'] Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,79 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,79 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: 79:[44, 103], Operations: ['51-29=22', '81+22=103'] Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,79 unequal: No Solution Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,79 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,79 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: 79:[81, 2], Operations: ['51-29=22', '44/22=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[51, 81, 44, 29], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [81, 44, 22] Generated Node #0,3: 79:[81, 44, 22] Operation: 51-29=22 Moving to Node #0,3 Current State: 79:[81, 44, 22], Operations: ['51-29=22'] Exploring Operation: 44/22=2, Resulting Numbers: [81, 2] Generated Node #0,3,2: 79:[81, 2] Operation: 44/22=2 Moving to Node #0,3,2 Current State: 79:[81, 2], Operations: ['51-29=22', '44/22=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.90625
hs_5
mult_heuristic
[ 5, 58, 44, 49 ]
48
[ "58-5=53", "49-44=5", "53-5=48" ]
Current State: 48:[5, 58, 44, 49], Operations: [] Exploring Operation: 58-5=53, Resulting Numbers: [44, 49, 53] Generated Node #2: [44, 49, 53] from Operation: 58-5=53 Current State: 48:[44, 49, 53], Operations: ['58-5=53'] Exploring Operation: 49-44=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 49-44=5 Current State: 48:[53, 5], Operations: ['58-5=53', '49-44=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[5, 58, 44, 49], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [5, 44, 9] Generated Node #0,0: 48:[5, 44, 9] Operation: 58-49=9 Exploring Operation: 49-44=5, Resulting Numbers: [5, 58, 5] Generated Node #0,1: 48:[5, 58, 5] Operation: 49-44=5 Exploring Operation: 58-44=14, Resulting Numbers: [5, 49, 14] Generated Node #0,2: 48:[5, 49, 14] Operation: 58-44=14 Exploring Operation: 5+44=49, Resulting Numbers: [58, 49, 49] Generated Node #0,3: 48:[58, 49, 49] Operation: 5+44=49 Exploring Operation: 58-5=53, Resulting Numbers: [44, 49, 53] Generated Node #0,4: 48:[44, 49, 53] Operation: 58-5=53 Moving to Node #0,2 Current State: 48:[5, 49, 14], Operations: ['58-44=14'] Exploring Operation: 49-14=35, Resulting Numbers: [5, 35] Generated Node #0,2,0: 48:[5, 35] Operation: 49-14=35 Exploring Operation: 14-5=9, Resulting Numbers: [49, 9] Generated Node #0,2,1: 48:[49, 9] Operation: 14-5=9 Exploring Operation: 5+49=54, Resulting Numbers: [14, 54] Generated Node #0,2,2: 48:[14, 54] Operation: 5+49=54 Exploring Operation: 5+14=19, Resulting Numbers: [49, 19] Generated Node #0,2,3: 48:[49, 19] Operation: 5+14=19 Exploring Operation: 49-5=44, Resulting Numbers: [14, 44] Generated Node #0,2,4: 48:[14, 44] Operation: 49-5=44 Moving to Node #0,0 Current State: 48:[5, 44, 9], Operations: ['58-49=9'] Exploring Operation: 5+9=14, Resulting Numbers: [44, 14] Generated Node #0,0,0: 48:[44, 14] Operation: 5+9=14 Exploring Operation: 5*9=45, Resulting Numbers: [44, 45] Generated Node #0,0,1: 48:[44, 45] Operation: 5*9=45 Exploring Operation: 44+9=53, Resulting Numbers: [5, 53] Generated Node #0,0,2: 48:[5, 53] Operation: 44+9=53 Exploring Operation: 9-5=4, Resulting Numbers: [44, 4] Generated Node #0,0,3: 48:[44, 4] Operation: 9-5=4 Exploring Operation: 5+44=49, Resulting Numbers: [9, 49] Generated Node #0,0,4: 48:[9, 49] Operation: 5+44=49 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[9, 49], Operations: ['58-49=9', '5+44=49'] Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,48 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,48 unequal: No Solution No 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: 48:[44, 4], Operations: ['58-49=9', '9-5=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,48 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[5, 58, 44, 49], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [5, 44, 9] Generated Node #0,0: 48:[5, 44, 9] Operation: 58-49=9 Moving to Node #0,0 Current State: 48:[5, 44, 9], Operations: ['58-49=9'] Exploring Operation: 9-5=4, Resulting Numbers: [44, 4] Generated Node #0,0,3: 48:[44, 4] Operation: 9-5=4 Moving to Node #0,0,3 Current State: 48:[44, 4], Operations: ['58-49=9', '9-5=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 85, 81, 11, 83 ]
76
[ "85-81=4", "83-11=72", "4+72=76" ]
Current State: 76:[85, 81, 11, 83], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [11, 83, 4] Generated Node #2: [11, 83, 4] from Operation: 85-81=4 Current State: 76:[11, 83, 4], Operations: ['85-81=4'] Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 83-11=72 Current State: 76:[4, 72], Operations: ['85-81=4', '83-11=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[85, 81, 11, 83], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [81, 11, 2] Generated Node #0,0: 76:[81, 11, 2] Operation: 85-83=2 Exploring Operation: 85-81=4, Resulting Numbers: [11, 83, 4] Generated Node #0,1: 76:[11, 83, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[81, 11, 2], Operations: ['85-83=2'] Exploring Operation: 81-11=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 76:[2, 70] Operation: 81-11=70 Exploring Operation: 11*2=22, Resulting Numbers: [81, 22] Generated Node #0,0,1: 76:[81, 22] Operation: 11*2=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[2, 70], Operations: ['85-83=2', '81-11=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,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,0,1 Current State: 76:[81, 22], Operations: ['85-83=2', '11*2=22'] Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[11, 83, 4], Operations: ['85-81=4'] Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #0,1,0: 76:[4, 72] Operation: 83-11=72 Exploring Operation: 11-4=7, Resulting Numbers: [83, 7] Generated Node #0,1,1: 76:[83, 7] Operation: 11-4=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[4, 72], Operations: ['85-81=4', '83-11=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[85, 81, 11, 83], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [11, 83, 4] Generated Node #0,1: 76:[11, 83, 4] Operation: 85-81=4 Moving to Node #0,1 Current State: 76:[11, 83, 4], Operations: ['85-81=4'] Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #0,1,0: 76:[4, 72] Operation: 83-11=72 Moving to Node #0,1,0 Current State: 76:[4, 72], Operations: ['85-81=4', '83-11=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 23, 47, 36, 40 ]
100
[ "47-23=24", "36+40=76", "24+76=100" ]
Current State: 100:[23, 47, 36, 40], Operations: [] Exploring Operation: 47-23=24, Resulting Numbers: [36, 40, 24] Generated Node #2: [36, 40, 24] from Operation: 47-23=24 Current State: 100:[36, 40, 24], Operations: ['47-23=24'] Exploring Operation: 36+40=76, Resulting Numbers: [24, 76] Generated Node #3: [24, 76] from Operation: 36+40=76 Current State: 100:[24, 76], Operations: ['47-23=24', '36+40=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[23, 47, 36, 40], Operations: [] Exploring Operation: 47-40=7, Resulting Numbers: [23, 36, 7] Generated Node #0,0: 100:[23, 36, 7] Operation: 47-40=7 Exploring Operation: 47-36=11, Resulting Numbers: [23, 40, 11] Generated Node #0,1: 100:[23, 40, 11] Operation: 47-36=11 Exploring Operation: 40-36=4, Resulting Numbers: [23, 47, 4] Generated Node #0,2: 100:[23, 47, 4] Operation: 40-36=4 Exploring Operation: 36-23=13, Resulting Numbers: [47, 40, 13] Generated Node #0,3: 100:[47, 40, 13] Operation: 36-23=13 Moving to Node #0,2 Current State: 100:[23, 47, 4], Operations: ['40-36=4'] Exploring Operation: 23-4=19, Resulting Numbers: [47, 19] Generated Node #0,2,0: 100:[47, 19] Operation: 23-4=19 Exploring Operation: 47+4=51, Resulting Numbers: [23, 51] Generated Node #0,2,1: 100:[23, 51] Operation: 47+4=51 Exploring Operation: 23+4=27, Resulting Numbers: [47, 27] Generated Node #0,2,2: 100:[47, 27] Operation: 23+4=27 Exploring Operation: 47-23=24, Resulting Numbers: [4, 24] Generated Node #0,2,3: 100:[4, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[4, 24], Operations: ['40-36=4', '47-23=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,100 unequal: No Solution No 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: 100:[23, 51], Operations: ['40-36=4', '47+4=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,100 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,100 unequal: No Solution No 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: 100:[47, 19], Operations: ['40-36=4', '23-4=19'] Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,100 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,100 unequal: No Solution No 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: 100:[47, 27], Operations: ['40-36=4', '23+4=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,100 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,100 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: 100:[23, 40, 11], Operations: ['47-36=11'] Exploring Operation: 40-11=29, Resulting Numbers: [23, 29] Generated Node #0,1,0: 100:[23, 29] Operation: 40-11=29 Exploring Operation: 40+11=51, Resulting Numbers: [23, 51] Generated Node #0,1,1: 100:[23, 51] Operation: 40+11=51 Exploring Operation: 40-23=17, Resulting Numbers: [11, 17] Generated Node #0,1,2: 100:[11, 17] Operation: 40-23=17 Exploring Operation: 23-11=12, Resulting Numbers: [40, 12] Generated Node #0,1,3: 100:[40, 12] Operation: 23-11=12 Moving to Node #0,0 Current State: 100:[23, 36, 7], Operations: ['47-40=7'] Exploring Operation: 36-23=13, Resulting Numbers: [7, 13] Generated Node #0,0,0: 100:[7, 13] Operation: 36-23=13 Exploring Operation: 36-7=29, Resulting Numbers: [23, 29] Generated Node #0,0,1: 100:[23, 29] Operation: 36-7=29 Exploring Operation: 23+36=59, Resulting Numbers: [7, 59] Generated Node #0,0,2: 100:[7, 59] Operation: 23+36=59 Exploring Operation: 36+7=43, Resulting Numbers: [23, 43] Generated Node #0,0,3: 100:[23, 43] Operation: 36+7=43 Moving to Node #0,3 Current State: 100:[47, 40, 13], Operations: ['36-23=13'] Exploring Operation: 40-13=27, Resulting Numbers: [47, 27] Generated Node #0,3,0: 100:[47, 27] Operation: 40-13=27 Exploring Operation: 47-40=7, Resulting Numbers: [13, 7] Generated Node #0,3,1: 100:[13, 7] Operation: 47-40=7 Exploring Operation: 40+13=53, Resulting Numbers: [47, 53] Generated Node #0,3,2: 100:[47, 53] Operation: 40+13=53 Exploring Operation: 47+40=87, Resulting Numbers: [13, 87] Generated Node #0,3,3: 100:[13, 87] Operation: 47+40=87 Moving to Node #0,1,1 Current State: 100:[23, 51], Operations: ['47-36=11', '40+11=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,100 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[11, 17], Operations: ['47-36=11', '40-23=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,100 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[7, 13], Operations: ['47-40=7', '36-23=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[13, 7], Operations: ['36-23=13', '47-40=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[47, 27], Operations: ['36-23=13', '40-13=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,100 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[23, 29], Operations: ['47-36=11', '40-11=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[23, 29], Operations: ['47-40=7', '36-7=29'] Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[47, 53], Operations: ['36-23=13', '40+13=53'] Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[23, 47, 36, 40], Operations: [] Exploring Operation: 36-23=13, Resulting Numbers: [47, 40, 13] Generated Node #0,3: 100:[47, 40, 13] Operation: 36-23=13 Moving to Node #0,3 Current State: 100:[47, 40, 13], Operations: ['36-23=13'] Exploring Operation: 40+13=53, Resulting Numbers: [47, 53] Generated Node #0,3,2: 100:[47, 53] Operation: 40+13=53 Moving to Node #0,3,2 Current State: 100:[47, 53], Operations: ['36-23=13', '40+13=53'] Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.948785
hs_4
mult_heuristic
[ 32, 49, 10, 8 ]
56
[ "49-32=17", "17-10=7", "8*7=56" ]
Current State: 56:[32, 49, 10, 8], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [10, 8, 17] Generated Node #2: [10, 8, 17] from Operation: 49-32=17 Current State: 56:[10, 8, 17], Operations: ['49-32=17'] Exploring Operation: 17-10=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 17-10=7 Current State: 56:[8, 7], Operations: ['49-32=17', '17-10=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[32, 49, 10, 8], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [10, 8, 17] Generated Node #0,0: 56:[10, 8, 17] Operation: 49-32=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[10, 8, 17], Operations: ['49-32=17'] Exploring Operation: 17-10=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 56:[8, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 56:[8, 7], Operations: ['49-32=17', '17-10=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[32, 49, 10, 8], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [10, 8, 17] Generated Node #0,0: 56:[10, 8, 17] Operation: 49-32=17 Moving to Node #0,0 Current State: 56:[10, 8, 17], Operations: ['49-32=17'] Exploring Operation: 17-10=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 56:[8, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 56:[8, 7], Operations: ['49-32=17', '17-10=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 66, 89, 86, 24 ]
85
[ "89-66=23", "86-24=62", "23+62=85" ]
Current State: 85:[66, 89, 86, 24], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [86, 24, 23] Generated Node #2: [86, 24, 23] from Operation: 89-66=23 Current State: 85:[86, 24, 23], Operations: ['89-66=23'] Exploring Operation: 86-24=62, Resulting Numbers: [23, 62] Generated Node #3: [23, 62] from Operation: 86-24=62 Current State: 85:[23, 62], Operations: ['89-66=23', '86-24=62'] Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[66, 89, 86, 24], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [89, 86, 42] Generated Node #0,0: 85:[89, 86, 42] Operation: 66-24=42 Exploring Operation: 89-66=23, Resulting Numbers: [86, 24, 23] Generated Node #0,1: 85:[86, 24, 23] Operation: 89-66=23 Exploring Operation: 89-86=3, Resulting Numbers: [66, 24, 3] Generated Node #0,2: 85:[66, 24, 3] Operation: 89-86=3 Exploring Operation: 66+24=90, Resulting Numbers: [89, 86, 90] Generated Node #0,3: 85:[89, 86, 90] Operation: 66+24=90 Exploring Operation: 86-66=20, Resulting Numbers: [89, 24, 20] Generated Node #0,4: 85:[89, 24, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[89, 86, 90], Operations: ['66+24=90'] Exploring Operation: 89+86=175, Resulting Numbers: [90, 175] Generated Node #0,3,0: 85:[90, 175] Operation: 89+86=175 Exploring Operation: 89+90=179, Resulting Numbers: [86, 179] Generated Node #0,3,1: 85:[86, 179] Operation: 89+90=179 Exploring Operation: 90-89=1, Resulting Numbers: [86, 1] Generated Node #0,3,2: 85:[86, 1] Operation: 90-89=1 Exploring Operation: 90-86=4, Resulting Numbers: [89, 4] Generated Node #0,3,3: 85:[89, 4] Operation: 90-86=4 Exploring Operation: 89-86=3, Resulting Numbers: [90, 3] Generated Node #0,3,4: 85:[90, 3] Operation: 89-86=3 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[86, 1], Operations: ['66+24=90', '90-89=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[66, 89, 86, 24], Operations: [] Exploring Operation: 66+24=90, Resulting Numbers: [89, 86, 90] Generated Node #0,3: 85:[89, 86, 90] Operation: 66+24=90 Moving to Node #0,3 Current State: 85:[89, 86, 90], Operations: ['66+24=90'] Exploring Operation: 90-89=1, Resulting Numbers: [86, 1] Generated Node #0,3,2: 85:[86, 1] Operation: 90-89=1 Moving to Node #0,3,2 Current State: 85:[86, 1], Operations: ['66+24=90', '90-89=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 18, 95, 65, 52 ]
94
[ "95*52=4940", "4940/65=76", "18+76=94" ]
Current State: 94:[18, 95, 65, 52], Operations: [] Exploring Operation: 95*52=4940, Resulting Numbers: [18, 65, 4940] Generated Node #2: [18, 65, 4940] from Operation: 95*52=4940 Current State: 94:[18, 65, 4940], Operations: ['95*52=4940'] Exploring Operation: 4940/65=76, Resulting Numbers: [18, 76] Generated Node #3: [18, 76] from Operation: 4940/65=76 Current State: 94:[18, 76], Operations: ['95*52=4940', '4940/65=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[18, 95, 65, 52], Operations: [] Exploring Operation: 18+65=83, Resulting Numbers: [95, 52, 83] Generated Node #0,0: 94:[95, 52, 83] Operation: 18+65=83 Exploring Operation: 65-18=47, Resulting Numbers: [95, 52, 47] Generated Node #0,1: 94:[95, 52, 47] Operation: 65-18=47 Exploring Operation: 65-52=13, Resulting Numbers: [18, 95, 13] Generated Node #0,2: 94:[18, 95, 13] Operation: 65-52=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[95, 52, 47], Operations: ['65-18=47'] Exploring Operation: 52-47=5, Resulting Numbers: [95, 5] Generated Node #0,1,0: 94:[95, 5] Operation: 52-47=5 Exploring Operation: 95-47=48, Resulting Numbers: [52, 48] Generated Node #0,1,1: 94:[52, 48] Operation: 95-47=48 Exploring Operation: 95-52=43, Resulting Numbers: [47, 43] Generated Node #0,1,2: 94:[47, 43] Operation: 95-52=43 Moving to Node #0,1,0 Current State: 94:[95, 5], Operations: ['65-18=47', '52-47=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[47, 43], Operations: ['65-18=47', '95-52=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,94 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[52, 48], Operations: ['65-18=47', '95-47=48'] Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,94 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,94 unequal: No Solution No 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: 94:[95, 52, 83], Operations: ['18+65=83'] Exploring Operation: 95-83=12, Resulting Numbers: [52, 12] Generated Node #0,0,0: 94:[52, 12] Operation: 95-83=12 Exploring Operation: 83-52=31, Resulting Numbers: [95, 31] Generated Node #0,0,1: 94:[95, 31] Operation: 83-52=31 Exploring Operation: 95-52=43, Resulting Numbers: [83, 43] Generated Node #0,0,2: 94:[83, 43] Operation: 95-52=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[52, 12], Operations: ['18+65=83', '95-83=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,94 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,94 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: 94:[83, 43], Operations: ['18+65=83', '95-52=43'] Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 83+43=126, Resulting Numbers: [126] 126,94 unequal: No Solution Exploring Operation: 83*43=3569, Resulting Numbers: [3569] 3569,94 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: 94:[95, 31], Operations: ['18+65=83', '83-52=31'] Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,94 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,94 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: 94:[18, 95, 13], Operations: ['65-52=13'] Exploring Operation: 18-13=5, Resulting Numbers: [95, 5] Generated Node #0,2,0: 94:[95, 5] Operation: 18-13=5 Exploring Operation: 18+13=31, Resulting Numbers: [95, 31] Generated Node #0,2,1: 94:[95, 31] Operation: 18+13=31 Exploring Operation: 95-18=77, Resulting Numbers: [13, 77] Generated Node #0,2,2: 94:[13, 77] Operation: 95-18=77 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[95, 5], Operations: ['65-52=13', '18-13=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,94 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: 94:[95, 31], Operations: ['65-52=13', '18+13=31'] Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,94 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,94 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: 94:[13, 77], Operations: ['65-52=13', '95-18=77'] Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,94 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
[ 33, 62, 80, 28 ]
90
[ "33-28=5", "80-62=18", "5*18=90" ]
Current State: 90:[33, 62, 80, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [62, 80, 5] Generated Node #2: [62, 80, 5] from Operation: 33-28=5 Current State: 90:[62, 80, 5], Operations: ['33-28=5'] Exploring Operation: 80-62=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 80-62=18 Current State: 90:[5, 18], Operations: ['33-28=5', '80-62=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[33, 62, 80, 28], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [33, 80, 34] Generated Node #0,0: 90:[33, 80, 34] Operation: 62-28=34 Exploring Operation: 33+62=95, Resulting Numbers: [80, 28, 95] Generated Node #0,1: 90:[80, 28, 95] Operation: 33+62=95 Exploring Operation: 80-62=18, Resulting Numbers: [33, 28, 18] Generated Node #0,2: 90:[33, 28, 18] Operation: 80-62=18 Exploring Operation: 62-33=29, Resulting Numbers: [80, 28, 29] Generated Node #0,3: 90:[80, 28, 29] Operation: 62-33=29 Exploring Operation: 62+28=90, Resulting Numbers: [33, 80, 90] Generated Node #0,4: 90:[33, 80, 90] Operation: 62+28=90 Moving to Node #0,2 Current State: 90:[33, 28, 18], Operations: ['80-62=18'] Exploring Operation: 28-18=10, Resulting Numbers: [33, 10] Generated Node #0,2,0: 90:[33, 10] Operation: 28-18=10 Exploring Operation: 28+18=46, Resulting Numbers: [33, 46] Generated Node #0,2,1: 90:[33, 46] Operation: 28+18=46 Exploring Operation: 33-18=15, Resulting Numbers: [28, 15] Generated Node #0,2,2: 90:[28, 15] Operation: 33-18=15 Exploring Operation: 33-28=5, Resulting Numbers: [18, 5] Generated Node #0,2,3: 90:[18, 5] Operation: 33-28=5 Exploring Operation: 33+18=51, Resulting Numbers: [28, 51] Generated Node #0,2,4: 90:[28, 51] Operation: 33+18=51 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[18, 5], Operations: ['80-62=18', '33-28=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[33, 62, 80, 28], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [33, 28, 18] Generated Node #0,2: 90:[33, 28, 18] Operation: 80-62=18 Moving to Node #0,2 Current State: 90:[33, 28, 18], Operations: ['80-62=18'] Exploring Operation: 33-28=5, Resulting Numbers: [18, 5] Generated Node #0,2,3: 90:[18, 5] Operation: 33-28=5 Moving to Node #0,2,3 Current State: 90:[18, 5], Operations: ['80-62=18', '33-28=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 91, 74, 61, 12 ]
92
[ "91+74=165", "61+12=73", "165-73=92" ]
Current State: 92:[91, 74, 61, 12], Operations: [] Exploring Operation: 91+74=165, Resulting Numbers: [61, 12, 165] Generated Node #2: [61, 12, 165] from Operation: 91+74=165 Current State: 92:[61, 12, 165], Operations: ['91+74=165'] Exploring Operation: 61+12=73, Resulting Numbers: [165, 73] Generated Node #3: [165, 73] from Operation: 61+12=73 Current State: 92:[165, 73], Operations: ['91+74=165', '61+12=73'] Exploring Operation: 165-73=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[91, 74, 61, 12], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [91, 12, 13] Generated Node #0,0: 92:[91, 12, 13] Operation: 74-61=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[91, 12, 13], Operations: ['74-61=13'] Exploring Operation: 13-12=1, Resulting Numbers: [91, 1] Generated Node #0,0,0: 92:[91, 1] Operation: 13-12=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[91, 1], Operations: ['74-61=13', '13-12=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[91, 74, 61, 12], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [91, 12, 13] Generated Node #0,0: 92:[91, 12, 13] Operation: 74-61=13 Moving to Node #0,0 Current State: 92:[91, 12, 13], Operations: ['74-61=13'] Exploring Operation: 13-12=1, Resulting Numbers: [91, 1] Generated Node #0,0,0: 92:[91, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 92:[91, 1], Operations: ['74-61=13', '13-12=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 14, 86, 32 ]
45
[ "17*32=544", "86+544=630", "630/14=45" ]
Current State: 45:[17, 14, 86, 32], Operations: [] Exploring Operation: 17*32=544, Resulting Numbers: [14, 86, 544] Generated Node #2: [14, 86, 544] from Operation: 17*32=544 Current State: 45:[14, 86, 544], Operations: ['17*32=544'] Exploring Operation: 86+544=630, Resulting Numbers: [14, 630] Generated Node #3: [14, 630] from Operation: 86+544=630 Current State: 45:[14, 630], Operations: ['17*32=544', '86+544=630'] Exploring Operation: 630/14=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[17, 14, 86, 32], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [14, 32, 69] Generated Node #0,0: 45:[14, 32, 69] Operation: 86-17=69 Exploring Operation: 32-17=15, Resulting Numbers: [14, 86, 15] Generated Node #0,1: 45:[14, 86, 15] Operation: 32-17=15 Exploring Operation: 86-32=54, Resulting Numbers: [17, 14, 54] Generated Node #0,2: 45:[17, 14, 54] Operation: 86-32=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[17, 14, 54], Operations: ['86-32=54'] Exploring Operation: 54-17=37, Resulting Numbers: [14, 37] Generated Node #0,2,0: 45:[14, 37] Operation: 54-17=37 Exploring Operation: 17-14=3, Resulting Numbers: [54, 3] Generated Node #0,2,1: 45:[54, 3] Operation: 17-14=3 Exploring Operation: 54-14=40, Resulting Numbers: [17, 40] Generated Node #0,2,2: 45:[17, 40] Operation: 54-14=40 Moving to Node #0,2,2 Current State: 45:[17, 40], Operations: ['86-32=54', '54-14=40'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,45 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[14, 37], Operations: ['86-32=54', '54-17=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,45 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[54, 3], Operations: ['86-32=54', '17-14=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,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 Current State: 45:[14, 32, 69], Operations: ['86-17=69'] Exploring Operation: 69-32=37, Resulting Numbers: [14, 37] Generated Node #0,0,0: 45:[14, 37] Operation: 69-32=37 Exploring Operation: 14+32=46, Resulting Numbers: [69, 46] Generated Node #0,0,1: 45:[69, 46] Operation: 14+32=46 Exploring Operation: 69-14=55, Resulting Numbers: [32, 55] Generated Node #0,0,2: 45:[32, 55] Operation: 69-14=55 Moving to Node #0,0,0 Current State: 45:[14, 37], Operations: ['86-17=69', '69-32=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,45 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[32, 55], Operations: ['86-17=69', '69-14=55'] Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,45 unequal: No Solution Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[69, 46], Operations: ['86-17=69', '14+32=46'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,45 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,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 Current State: 45:[14, 86, 15], Operations: ['32-17=15'] Exploring Operation: 86-15=71, Resulting Numbers: [14, 71] Generated Node #0,1,0: 45:[14, 71] Operation: 86-15=71 Exploring Operation: 15-14=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 45:[86, 1] Operation: 15-14=1 Exploring Operation: 86-14=72, Resulting Numbers: [15, 72] Generated Node #0,1,2: 45:[15, 72] Operation: 86-14=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[14, 71], Operations: ['32-17=15', '86-15=71'] Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,45 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 14*71=994, Resulting Numbers: [994] 994,45 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: 45:[15, 72], Operations: ['32-17=15', '86-14=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,45 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: 45:[86, 1], Operations: ['32-17=15', '15-14=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,45 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
[ 2, 35, 5, 26 ]
100
[ "26/2=13", "5*13=65", "35+65=100" ]
Current State: 100:[2, 35, 5, 26], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [35, 5, 13] Generated Node #2: [35, 5, 13] from Operation: 26/2=13 Current State: 100:[35, 5, 13], Operations: ['26/2=13'] Exploring Operation: 5*13=65, Resulting Numbers: [35, 65] Generated Node #3: [35, 65] from Operation: 5*13=65 Current State: 100:[35, 65], Operations: ['26/2=13', '5*13=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 35, 5, 26], Operations: [] Exploring Operation: 35-5=30, Resulting Numbers: [2, 26, 30] Generated Node #0,0: 100:[2, 26, 30] Operation: 35-5=30 Exploring Operation: 35-26=9, Resulting Numbers: [2, 5, 9] Generated Node #0,1: 100:[2, 5, 9] Operation: 35-26=9 Exploring Operation: 35/5=7, Resulting Numbers: [2, 26, 7] Generated Node #0,2: 100:[2, 26, 7] Operation: 35/5=7 Exploring Operation: 2*5=10, Resulting Numbers: [35, 26, 10] Generated Node #0,3: 100:[35, 26, 10] Operation: 2*5=10 Exploring Operation: 35-2=33, Resulting Numbers: [5, 26, 33] Generated Node #0,4: 100:[5, 26, 33] Operation: 35-2=33 Moving to Node #0,1 Current State: 100:[2, 5, 9], Operations: ['35-26=9'] Exploring Operation: 2*5=10, Resulting Numbers: [9, 10] Generated Node #0,1,0: 100:[9, 10] Operation: 2*5=10 Exploring Operation: 5-2=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 100:[9, 3] Operation: 5-2=3 Exploring Operation: 2+9=11, Resulting Numbers: [5, 11] Generated Node #0,1,2: 100:[5, 11] Operation: 2+9=11 Exploring Operation: 2*9=18, Resulting Numbers: [5, 18] Generated Node #0,1,3: 100:[5, 18] Operation: 2*9=18 Exploring Operation: 9-5=4, Resulting Numbers: [2, 4] Generated Node #0,1,4: 100:[2, 4] Operation: 9-5=4 Moving to Node #0,2 Current State: 100:[2, 26, 7], Operations: ['35/5=7'] Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 100:[2, 19] Operation: 26-7=19 Exploring Operation: 2*26=52, Resulting Numbers: [7, 52] Generated Node #0,2,1: 100:[7, 52] Operation: 2*26=52 Exploring Operation: 2+7=9, Resulting Numbers: [26, 9] Generated Node #0,2,2: 100:[26, 9] Operation: 2+7=9 Exploring Operation: 7-2=5, Resulting Numbers: [26, 5] Generated Node #0,2,3: 100:[26, 5] Operation: 7-2=5 Exploring Operation: 26-2=24, Resulting Numbers: [7, 24] Generated Node #0,2,4: 100:[7, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[2, 19], Operations: ['35/5=7', '26-7=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,100 unequal: No Solution No 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: 100:[26, 5], Operations: ['35/5=7', '7-2=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,100 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,100 unequal: No Solution No 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: 100:[26, 9], Operations: ['35/5=7', '2+7=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,100 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 100:[7, 24], Operations: ['35/5=7', '26-2=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,100 unequal: No Solution No 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: 100:[7, 52], Operations: ['35/5=7', '2*26=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,100 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: 100:[2, 26, 30], Operations: ['35-5=30'] Exploring Operation: 30-26=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 100:[2, 4] Operation: 30-26=4 Exploring Operation: 26-2=24, Resulting Numbers: [30, 24] Generated Node #0,0,1: 100:[30, 24] Operation: 26-2=24 Exploring Operation: 26+30=56, Resulting Numbers: [2, 56] Generated Node #0,0,2: 100:[2, 56] Operation: 26+30=56 Exploring Operation: 30-2=28, Resulting Numbers: [26, 28] Generated Node #0,0,3: 100:[26, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [26, 15] Generated Node #0,0,4: 100:[26, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[2, 4], Operations: ['35-5=30', '30-26=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,100 unequal: No Solution No 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: 100:[26, 28], Operations: ['35-5=30', '30-2=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,100 unequal: No Solution No 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: 100:[30, 24], Operations: ['35-5=30', '26-2=24'] Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,100 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,100 unequal: No Solution No 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: 100:[2, 56], Operations: ['35-5=30', '26+30=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,100 unequal: No Solution No 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: 100:[26, 15], Operations: ['35-5=30', '30/2=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,100 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,100 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: 100:[5, 26, 33], Operations: ['35-2=33'] Exploring Operation: 33-26=7, Resulting Numbers: [5, 7] Generated Node #0,4,0: 100:[5, 7] Operation: 33-26=7 Exploring Operation: 26-5=21, Resulting Numbers: [33, 21] Generated Node #0,4,1: 100:[33, 21] Operation: 26-5=21 Exploring Operation: 5+33=38, Resulting Numbers: [26, 38] Generated Node #0,4,2: 100:[26, 38] Operation: 5+33=38 Exploring Operation: 26+33=59, Resulting Numbers: [5, 59] Generated Node #0,4,3: 100:[5, 59] Operation: 26+33=59 Exploring Operation: 33-5=28, Resulting Numbers: [26, 28] Generated Node #0,4,4: 100:[26, 28] Operation: 33-5=28 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 100:[5, 7], Operations: ['35-2=33', '33-26=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,100 unequal: No Solution No 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: 100:[26, 28], Operations: ['35-2=33', '33-5=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,100 unequal: No Solution No 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: 100:[33, 21], Operations: ['35-2=33', '26-5=21'] Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,100 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,100 unequal: No Solution No 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: 100:[5, 59], Operations: ['35-2=33', '26+33=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 100:[26, 38], Operations: ['35-2=33', '5+33=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,100 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,100 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: 100:[35, 26, 10], Operations: ['2*5=10'] Exploring Operation: 26-10=16, Resulting Numbers: [35, 16] Generated Node #0,3,0: 100:[35, 16] Operation: 26-10=16 Exploring Operation: 35+10=45, Resulting Numbers: [26, 45] Generated Node #0,3,1: 100:[26, 45] Operation: 35+10=45 Exploring Operation: 35-26=9, Resulting Numbers: [10, 9] Generated Node #0,3,2: 100:[10, 9] Operation: 35-26=9 Exploring Operation: 35+26=61, Resulting Numbers: [10, 61] Generated Node #0,3,3: 100:[10, 61] Operation: 35+26=61 Exploring Operation: 35-10=25, Resulting Numbers: [26, 25] Generated Node #0,3,4: 100:[26, 25] Operation: 35-10=25 Moving to Node #0,1,4 Current State: 100:[2, 4], Operations: ['35-26=9', '9-5=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[5, 11], Operations: ['35-26=9', '2+9=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[26, 25], Operations: ['2*5=10', '35-10=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,100 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[10, 9], Operations: ['2*5=10', '35-26=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,100 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[9, 10], Operations: ['35-26=9', '2*5=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,100 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[5, 18], Operations: ['35-26=9', '2*9=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[9, 3], Operations: ['35-26=9', '5-2=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[26, 45], Operations: ['2*5=10', '35+10=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,100 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[10, 61], Operations: ['2*5=10', '35+26=61'] Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[35, 16], Operations: ['2*5=10', '26-10=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,100 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,100 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 41, 4, 83, 56 ]
17
[ "41+83=124", "124-56=68", "68/4=17" ]
Current State: 17:[41, 4, 83, 56], Operations: [] Exploring Operation: 41+83=124, Resulting Numbers: [4, 56, 124] Generated Node #2: [4, 56, 124] from Operation: 41+83=124 Current State: 17:[4, 56, 124], Operations: ['41+83=124'] Exploring Operation: 124-56=68, Resulting Numbers: [4, 68] Generated Node #3: [4, 68] from Operation: 124-56=68 Current State: 17:[4, 68], Operations: ['41+83=124', '124-56=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[41, 4, 83, 56], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [4, 83, 15] Generated Node #0,0: 17:[4, 83, 15] Operation: 56-41=15 Exploring Operation: 83-41=42, Resulting Numbers: [4, 56, 42] Generated Node #0,1: 17:[4, 56, 42] Operation: 83-41=42 Exploring Operation: 83-56=27, Resulting Numbers: [41, 4, 27] Generated Node #0,2: 17:[41, 4, 27] Operation: 83-56=27 Exploring Operation: 56/4=14, Resulting Numbers: [41, 83, 14] Generated Node #0,3: 17:[41, 83, 14] Operation: 56/4=14 Moving to Node #0,2 Current State: 17:[41, 4, 27], Operations: ['83-56=27'] Exploring Operation: 41+4=45, Resulting Numbers: [27, 45] Generated Node #0,2,0: 17:[27, 45] Operation: 41+4=45 Exploring Operation: 41-4=37, Resulting Numbers: [27, 37] Generated Node #0,2,1: 17:[27, 37] Operation: 41-4=37 Exploring Operation: 41-27=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 17:[4, 14] Operation: 41-27=14 Exploring Operation: 27-4=23, Resulting Numbers: [41, 23] Generated Node #0,2,3: 17:[41, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[4, 14], Operations: ['83-56=27', '41-27=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,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,2,1 Current State: 17:[27, 37], Operations: ['83-56=27', '41-4=37'] Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,17 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,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,2,3 Current State: 17:[41, 23], Operations: ['83-56=27', '27-4=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,17 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,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,2,0 Current State: 17:[27, 45], Operations: ['83-56=27', '41+4=45'] Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,17 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: 17:[4, 56, 42], Operations: ['83-41=42'] Exploring Operation: 56-42=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 17:[4, 14] Operation: 56-42=14 Exploring Operation: 56/4=14, Resulting Numbers: [42, 14] Generated Node #0,1,1: 17:[42, 14] Operation: 56/4=14 Exploring Operation: 42-4=38, Resulting Numbers: [56, 38] Generated Node #0,1,2: 17:[56, 38] Operation: 42-4=38 Exploring Operation: 56-4=52, Resulting Numbers: [42, 52] Generated Node #0,1,3: 17:[42, 52] Operation: 56-4=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[4, 14], Operations: ['83-41=42', '56-42=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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:[42, 14], Operations: ['83-41=42', '56/4=14'] Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,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,2 Current State: 17:[56, 38], Operations: ['83-41=42', '42-4=38'] Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,17 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,17 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,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,3 Current State: 17:[42, 52], Operations: ['83-41=42', '56-4=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,17 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,17 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: 17:[4, 83, 15], Operations: ['56-41=15'] Exploring Operation: 4+15=19, Resulting Numbers: [83, 19] Generated Node #0,0,0: 17:[83, 19] Operation: 4+15=19 Exploring Operation: 4+83=87, Resulting Numbers: [15, 87] Generated Node #0,0,1: 17:[15, 87] Operation: 4+83=87 Exploring Operation: 83-4=79, Resulting Numbers: [15, 79] Generated Node #0,0,2: 17:[15, 79] Operation: 83-4=79 Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,0,3: 17:[4, 68] Operation: 83-15=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[15, 79], Operations: ['56-41=15', '83-4=79'] Exploring Operation: 15+79=94, Resulting Numbers: [94] 94,17 unequal: No Solution Exploring Operation: 15*79=1185, Resulting Numbers: [1185] 1185,17 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,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,0,3 Current State: 17:[4, 68], Operations: ['56-41=15', '83-15=68'] Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,17 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[41, 4, 83, 56], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [4, 83, 15] Generated Node #0,0: 17:[4, 83, 15] Operation: 56-41=15 Moving to Node #0,0 Current State: 17:[4, 83, 15], Operations: ['56-41=15'] Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,0,3: 17:[4, 68] Operation: 83-15=68 Moving to Node #0,0,3 Current State: 17:[4, 68], Operations: ['56-41=15', '83-15=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 83, 53, 64, 23 ]
71
[ "83-53=30", "64-23=41", "30+41=71" ]
Current State: 71:[83, 53, 64, 23], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [64, 23, 30] Generated Node #2: [64, 23, 30] from Operation: 83-53=30 Current State: 71:[64, 23, 30], Operations: ['83-53=30'] Exploring Operation: 64-23=41, Resulting Numbers: [30, 41] Generated Node #3: [30, 41] from Operation: 64-23=41 Current State: 71:[30, 41], Operations: ['83-53=30', '64-23=41'] Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[83, 53, 64, 23], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [83, 64, 76] Generated Node #0,0: 71:[83, 64, 76] Operation: 53+23=76 Exploring Operation: 83-23=60, Resulting Numbers: [53, 64, 60] Generated Node #0,1: 71:[53, 64, 60] Operation: 83-23=60 Moving to Node #0,0 Current State: 71:[83, 64, 76], Operations: ['53+23=76'] Exploring Operation: 83-64=19, Resulting Numbers: [76, 19] Generated Node #0,0,0: 71:[76, 19] Operation: 83-64=19 Exploring Operation: 83-76=7, Resulting Numbers: [64, 7] Generated Node #0,0,1: 71:[64, 7] Operation: 83-76=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[76, 19], Operations: ['53+23=76', '83-64=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,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:[64, 7], Operations: ['53+23=76', '83-76=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[83, 53, 64, 23], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [83, 64, 76] Generated Node #0,0: 71:[83, 64, 76] Operation: 53+23=76 Moving to Node #0,0 Current State: 71:[83, 64, 76], Operations: ['53+23=76'] Exploring Operation: 83-76=7, Resulting Numbers: [64, 7] Generated Node #0,0,1: 71:[64, 7] Operation: 83-76=7 Moving to Node #0,0,1 Current State: 71:[64, 7], Operations: ['53+23=76', '83-76=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 9, 34, 89, 12 ]
34
[ "9+34=43", "89-12=77", "77-43=34" ]
Current State: 34:[9, 34, 89, 12], Operations: [] Exploring Operation: 9+34=43, Resulting Numbers: [89, 12, 43] Generated Node #2: [89, 12, 43] from Operation: 9+34=43 Current State: 34:[89, 12, 43], Operations: ['9+34=43'] Exploring Operation: 89-12=77, Resulting Numbers: [43, 77] Generated Node #3: [43, 77] from Operation: 89-12=77 Current State: 34:[43, 77], Operations: ['9+34=43', '89-12=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[9, 34, 89, 12], Operations: [] Exploring Operation: 89-12=77, Resulting Numbers: [9, 34, 77] Generated Node #0,0: 34:[9, 34, 77] Operation: 89-12=77 Exploring Operation: 89-34=55, Resulting Numbers: [9, 12, 55] Generated Node #0,1: 34:[9, 12, 55] Operation: 89-34=55 Exploring Operation: 89-9=80, Resulting Numbers: [34, 12, 80] Generated Node #0,2: 34:[34, 12, 80] Operation: 89-9=80 Exploring Operation: 12-9=3, Resulting Numbers: [34, 89, 3] Generated Node #0,3: 34:[34, 89, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[9, 12, 55], Operations: ['89-34=55'] Exploring Operation: 12-9=3, Resulting Numbers: [55, 3] Generated Node #0,1,0: 34:[55, 3] Operation: 12-9=3 Exploring Operation: 9+12=21, Resulting Numbers: [55, 21] Generated Node #0,1,1: 34:[55, 21] Operation: 9+12=21 Exploring Operation: 55-9=46, Resulting Numbers: [12, 46] Generated Node #0,1,2: 34:[12, 46] Operation: 55-9=46 Exploring Operation: 55-12=43, Resulting Numbers: [9, 43] Generated Node #0,1,3: 34:[9, 43] Operation: 55-12=43 Moving to Node #0,1,3 Current State: 34:[9, 43], Operations: ['89-34=55', '55-12=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[9, 34, 89, 12], Operations: [] Exploring Operation: 89-34=55, Resulting Numbers: [9, 12, 55] Generated Node #0,1: 34:[9, 12, 55] Operation: 89-34=55 Moving to Node #0,1 Current State: 34:[9, 12, 55], Operations: ['89-34=55'] Exploring Operation: 55-12=43, Resulting Numbers: [9, 43] Generated Node #0,1,3: 34:[9, 43] Operation: 55-12=43 Moving to Node #0,1,3 Current State: 34:[9, 43], Operations: ['89-34=55', '55-12=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 8, 24, 5, 19 ]
65
[ "8+24=32", "32-19=13", "5*13=65" ]
Current State: 65:[8, 24, 5, 19], Operations: [] Exploring Operation: 8+24=32, Resulting Numbers: [5, 19, 32] Generated Node #2: [5, 19, 32] from Operation: 8+24=32 Current State: 65:[5, 19, 32], Operations: ['8+24=32'] Exploring Operation: 32-19=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 32-19=13 Current State: 65:[5, 13], Operations: ['8+24=32', '32-19=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[8, 24, 5, 19], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [5, 19, 3] Generated Node #0,0: 65:[5, 19, 3] Operation: 24/8=3 Exploring Operation: 24-19=5, Resulting Numbers: [8, 5, 5] Generated Node #0,1: 65:[8, 5, 5] Operation: 24-19=5 Moving to Node #0,1 Current State: 65:[8, 5, 5], Operations: ['24-19=5'] Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 65:[5, 13] Operation: 8+5=13 Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,1,1: 65:[5, 13] Operation: 8+5=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[5, 13], Operations: ['24-19=5', '8+5=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[8, 24, 5, 19], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [8, 5, 5] Generated Node #0,1: 65:[8, 5, 5] Operation: 24-19=5 Moving to Node #0,1 Current State: 65:[8, 5, 5], Operations: ['24-19=5'] Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 65:[5, 13] Operation: 8+5=13 Moving to Node #0,1,0 Current State: 65:[5, 13], Operations: ['24-19=5', '8+5=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 83, 48, 79, 82 ]
67
[ "82-79=3", "48/3=16", "83-16=67" ]
Current State: 67:[83, 48, 79, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [83, 48, 3] Generated Node #2: [83, 48, 3] from Operation: 82-79=3 Current State: 67:[83, 48, 3], Operations: ['82-79=3'] Exploring Operation: 48/3=16, Resulting Numbers: [83, 16] Generated Node #3: [83, 16] from Operation: 48/3=16 Current State: 67:[83, 16], Operations: ['82-79=3', '48/3=16'] Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[83, 48, 79, 82], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [83, 79, 34] Generated Node #0,0: 67:[83, 79, 34] Operation: 82-48=34 Exploring Operation: 83-48=35, Resulting Numbers: [79, 82, 35] Generated Node #0,1: 67:[79, 82, 35] Operation: 83-48=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[79, 82, 35], Operations: ['83-48=35'] Exploring Operation: 79-35=44, Resulting Numbers: [82, 44] Generated Node #0,1,0: 67:[82, 44] Operation: 79-35=44 Exploring Operation: 82-35=47, Resulting Numbers: [79, 47] Generated Node #0,1,1: 67:[79, 47] Operation: 82-35=47 Moving to Node #0,1,1 Current State: 67:[79, 47], Operations: ['83-48=35', '82-35=47'] Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[82, 44], Operations: ['83-48=35', '79-35=44'] Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,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 Current State: 67:[83, 79, 34], Operations: ['82-48=34'] Exploring Operation: 79-34=45, Resulting Numbers: [83, 45] Generated Node #0,0,0: 67:[83, 45] Operation: 79-34=45 Exploring Operation: 83-34=49, Resulting Numbers: [79, 49] Generated Node #0,0,1: 67:[79, 49] Operation: 83-34=49 Moving to Node #0,0,1 Current State: 67:[79, 49], Operations: ['82-48=34', '83-34=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[83, 45], Operations: ['82-48=34', '79-34=45'] Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,67 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
[ 93, 32, 39, 56 ]
30
[ "93+32=125", "39+56=95", "125-95=30" ]
Current State: 30:[93, 32, 39, 56], Operations: [] Exploring Operation: 93+32=125, Resulting Numbers: [39, 56, 125] Generated Node #2: [39, 56, 125] from Operation: 93+32=125 Current State: 30:[39, 56, 125], Operations: ['93+32=125'] Exploring Operation: 39+56=95, Resulting Numbers: [125, 95] Generated Node #3: [125, 95] from Operation: 39+56=95 Current State: 30:[125, 95], Operations: ['93+32=125', '39+56=95'] Exploring Operation: 125-95=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[93, 32, 39, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [32, 39, 37] Generated Node #0,0: 30:[32, 39, 37] Operation: 93-56=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[32, 39, 37], Operations: ['93-56=37'] Exploring Operation: 39-37=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 30:[32, 2] Operation: 39-37=2 Moving to Node #0,0,0 Current State: 30:[32, 2], Operations: ['93-56=37', '39-37=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[93, 32, 39, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [32, 39, 37] Generated Node #0,0: 30:[32, 39, 37] Operation: 93-56=37 Moving to Node #0,0 Current State: 30:[32, 39, 37], Operations: ['93-56=37'] Exploring Operation: 39-37=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 30:[32, 2] Operation: 39-37=2 Moving to Node #0,0,0 Current State: 30:[32, 2], Operations: ['93-56=37', '39-37=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 38, 49, 11 ]
90
[ "14+38=52", "49-11=38", "52+38=90" ]
Current State: 90:[14, 38, 49, 11], Operations: [] Exploring Operation: 14+38=52, Resulting Numbers: [49, 11, 52] Generated Node #2: [49, 11, 52] from Operation: 14+38=52 Current State: 90:[49, 11, 52], Operations: ['14+38=52'] Exploring Operation: 49-11=38, Resulting Numbers: [52, 38] Generated Node #3: [52, 38] from Operation: 49-11=38 Current State: 90:[52, 38], Operations: ['14+38=52', '49-11=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[14, 38, 49, 11], Operations: [] Exploring Operation: 49-38=11, Resulting Numbers: [14, 11, 11] Generated Node #0,0: 90:[14, 11, 11] Operation: 49-38=11 Exploring Operation: 38-11=27, Resulting Numbers: [14, 49, 27] Generated Node #0,1: 90:[14, 49, 27] Operation: 38-11=27 Exploring Operation: 38+49=87, Resulting Numbers: [14, 11, 87] Generated Node #0,2: 90:[14, 11, 87] Operation: 38+49=87 Moving to Node #0,0 Current State: 90:[14, 11, 11], Operations: ['49-38=11'] Exploring Operation: 14-11=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 90:[11, 3] Operation: 14-11=3 Exploring Operation: 14-11=3, Resulting Numbers: [11, 3] Generated Node #0,0,1: 90:[11, 3] Operation: 14-11=3 Exploring Operation: 11/11=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 90:[14, 1] Operation: 11/11=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[11, 3], Operations: ['49-38=11', '14-11=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,90 unequal: No Solution No 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: 90:[11, 3], Operations: ['49-38=11', '14-11=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,90 unequal: No Solution No 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: 90:[14, 1], Operations: ['49-38=11', '11/11=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,90 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: 90:[14, 11, 87], Operations: ['38+49=87'] Exploring Operation: 11+87=98, Resulting Numbers: [14, 98] Generated Node #0,2,0: 90:[14, 98] Operation: 11+87=98 Exploring Operation: 14+11=25, Resulting Numbers: [87, 25] Generated Node #0,2,1: 90:[87, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [87, 3] Generated Node #0,2,2: 90:[87, 3] Operation: 14-11=3 Moving to Node #0,1 Current State: 90:[14, 49, 27], Operations: ['38-11=27'] Exploring Operation: 49-14=35, Resulting Numbers: [27, 35] Generated Node #0,1,0: 90:[27, 35] Operation: 49-14=35 Exploring Operation: 49-27=22, Resulting Numbers: [14, 22] Generated Node #0,1,1: 90:[14, 22] Operation: 49-27=22 Exploring Operation: 27-14=13, Resulting Numbers: [49, 13] Generated Node #0,1,2: 90:[49, 13] Operation: 27-14=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[14, 22], Operations: ['38-11=27', '49-27=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,90 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,90 unequal: No Solution No 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: 90:[49, 13], Operations: ['38-11=27', '27-14=13'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,90 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,90 unequal: No Solution No 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: 90:[27, 35], Operations: ['38-11=27', '49-14=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,90 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 90:[87, 3], Operations: ['38+49=87', '14-11=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[14, 38, 49, 11], Operations: [] Exploring Operation: 38+49=87, Resulting Numbers: [14, 11, 87] Generated Node #0,2: 90:[14, 11, 87] Operation: 38+49=87 Moving to Node #0,2 Current State: 90:[14, 11, 87], Operations: ['38+49=87'] Exploring Operation: 14-11=3, Resulting Numbers: [87, 3] Generated Node #0,2,2: 90:[87, 3] Operation: 14-11=3 Moving to Node #0,2,2 Current State: 90:[87, 3], Operations: ['38+49=87', '14-11=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 68, 96, 9, 53 ]
90
[ "96-68=28", "9+53=62", "28+62=90" ]
Current State: 90:[68, 96, 9, 53], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [9, 53, 28] Generated Node #2: [9, 53, 28] from Operation: 96-68=28 Current State: 90:[9, 53, 28], Operations: ['96-68=28'] Exploring Operation: 9+53=62, Resulting Numbers: [28, 62] Generated Node #3: [28, 62] from Operation: 9+53=62 Current State: 90:[28, 62], Operations: ['96-68=28', '9+53=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[68, 96, 9, 53], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [96, 53, 59] Generated Node #0,0: 90:[96, 53, 59] Operation: 68-9=59 Exploring Operation: 68+9=77, Resulting Numbers: [96, 53, 77] Generated Node #0,1: 90:[96, 53, 77] Operation: 68+9=77 Exploring Operation: 68-53=15, Resulting Numbers: [96, 9, 15] Generated Node #0,2: 90:[96, 9, 15] Operation: 68-53=15 Exploring Operation: 96-68=28, Resulting Numbers: [9, 53, 28] Generated Node #0,3: 90:[9, 53, 28] Operation: 96-68=28 Exploring Operation: 96-53=43, Resulting Numbers: [68, 9, 43] Generated Node #0,4: 90:[68, 9, 43] Operation: 96-53=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[96, 9, 15], Operations: ['68-53=15'] Exploring Operation: 96-15=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 90:[9, 81] Operation: 96-15=81 Exploring Operation: 96+9=105, Resulting Numbers: [15, 105] Generated Node #0,2,1: 90:[15, 105] Operation: 96+9=105 Exploring Operation: 96-9=87, Resulting Numbers: [15, 87] Generated Node #0,2,2: 90:[15, 87] Operation: 96-9=87 Exploring Operation: 9+15=24, Resulting Numbers: [96, 24] Generated Node #0,2,3: 90:[96, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [96, 6] Generated Node #0,2,4: 90:[96, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[15, 87], Operations: ['68-53=15', '96-9=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,90 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,90 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,90 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: 90:[96, 6], Operations: ['68-53=15', '15-9=6'] Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 96+6=102, Resulting Numbers: [102] 102,90 unequal: No Solution Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[68, 96, 9, 53], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [96, 9, 15] Generated Node #0,2: 90:[96, 9, 15] Operation: 68-53=15 Moving to Node #0,2 Current State: 90:[96, 9, 15], Operations: ['68-53=15'] Exploring Operation: 15-9=6, Resulting Numbers: [96, 6] Generated Node #0,2,4: 90:[96, 6] Operation: 15-9=6 Moving to Node #0,2,4 Current State: 90:[96, 6], Operations: ['68-53=15', '15-9=6'] Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 72, 45, 65, 43 ]
49
[ "72-45=27", "65-43=22", "27+22=49" ]
Current State: 49:[72, 45, 65, 43], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [65, 43, 27] Generated Node #2: [65, 43, 27] from Operation: 72-45=27 Current State: 49:[65, 43, 27], Operations: ['72-45=27'] Exploring Operation: 65-43=22, Resulting Numbers: [27, 22] Generated Node #3: [27, 22] from Operation: 65-43=22 Current State: 49:[27, 22], Operations: ['72-45=27', '65-43=22'] Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[72, 45, 65, 43], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [45, 65, 29] Generated Node #0,0: 49:[45, 65, 29] Operation: 72-43=29 Exploring Operation: 65-45=20, Resulting Numbers: [72, 43, 20] Generated Node #0,1: 49:[72, 43, 20] Operation: 65-45=20 Exploring Operation: 72-45=27, Resulting Numbers: [65, 43, 27] Generated Node #0,2: 49:[65, 43, 27] Operation: 72-45=27 Exploring Operation: 72-65=7, Resulting Numbers: [45, 43, 7] Generated Node #0,3: 49:[45, 43, 7] Operation: 72-65=7 Moving to Node #0,3 Current State: 49:[45, 43, 7], Operations: ['72-65=7'] Exploring Operation: 45-7=38, Resulting Numbers: [43, 38] Generated Node #0,3,0: 49:[43, 38] Operation: 45-7=38 Exploring Operation: 43+7=50, Resulting Numbers: [45, 50] Generated Node #0,3,1: 49:[45, 50] Operation: 43+7=50 Exploring Operation: 45-43=2, Resulting Numbers: [7, 2] Generated Node #0,3,2: 49:[7, 2] Operation: 45-43=2 Exploring Operation: 45+7=52, Resulting Numbers: [43, 52] Generated Node #0,3,3: 49:[43, 52] Operation: 45+7=52 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[45, 50], Operations: ['72-65=7', '43+7=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,49 unequal: No Solution Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[7, 2], Operations: ['72-65=7', '45-43=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[43, 52], Operations: ['72-65=7', '45+7=52'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,49 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[43, 38], Operations: ['72-65=7', '45-7=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[45, 65, 29], Operations: ['72-43=29'] Exploring Operation: 45-29=16, Resulting Numbers: [65, 16] Generated Node #0,0,0: 49:[65, 16] Operation: 45-29=16 Exploring Operation: 45+29=74, Resulting Numbers: [65, 74] Generated Node #0,0,1: 49:[65, 74] Operation: 45+29=74 Exploring Operation: 65-45=20, Resulting Numbers: [29, 20] Generated Node #0,0,2: 49:[29, 20] Operation: 65-45=20 Exploring Operation: 65-29=36, Resulting Numbers: [45, 36] Generated Node #0,0,3: 49:[45, 36] Operation: 65-29=36 Moving to Node #0,2 Current State: 49:[65, 43, 27], Operations: ['72-45=27'] Exploring Operation: 43-27=16, Resulting Numbers: [65, 16] Generated Node #0,2,0: 49:[65, 16] Operation: 43-27=16 Exploring Operation: 43+27=70, Resulting Numbers: [65, 70] Generated Node #0,2,1: 49:[65, 70] Operation: 43+27=70 Exploring Operation: 65-43=22, Resulting Numbers: [27, 22] Generated Node #0,2,2: 49:[27, 22] Operation: 65-43=22 Exploring Operation: 65-27=38, Resulting Numbers: [43, 38] Generated Node #0,2,3: 49:[43, 38] Operation: 65-27=38 Moving to Node #0,1 Current State: 49:[72, 43, 20], Operations: ['65-45=20'] Exploring Operation: 43+20=63, Resulting Numbers: [72, 63] Generated Node #0,1,0: 49:[72, 63] Operation: 43+20=63 Exploring Operation: 43-20=23, Resulting Numbers: [72, 23] Generated Node #0,1,1: 49:[72, 23] Operation: 43-20=23 Exploring Operation: 72-20=52, Resulting Numbers: [43, 52] Generated Node #0,1,2: 49:[43, 52] Operation: 72-20=52 Exploring Operation: 72-43=29, Resulting Numbers: [20, 29] Generated Node #0,1,3: 49:[20, 29] Operation: 72-43=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[43, 52], Operations: ['65-45=20', '72-20=52'] Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,49 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[20, 29], Operations: ['65-45=20', '72-43=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[72, 45, 65, 43], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [72, 43, 20] Generated Node #0,1: 49:[72, 43, 20] Operation: 65-45=20 Moving to Node #0,1 Current State: 49:[72, 43, 20], Operations: ['65-45=20'] Exploring Operation: 72-43=29, Resulting Numbers: [20, 29] Generated Node #0,1,3: 49:[20, 29] Operation: 72-43=29 Moving to Node #0,1,3 Current State: 49:[20, 29], Operations: ['65-45=20', '72-43=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
mult_heuristic
[ 37, 13, 2, 95 ]
10
[ "37-2=35", "95+35=130", "130/13=10" ]
Current State: 10:[37, 13, 2, 95], Operations: [] Exploring Operation: 37-2=35, Resulting Numbers: [13, 95, 35] Generated Node #2: [13, 95, 35] from Operation: 37-2=35 Current State: 10:[13, 95, 35], Operations: ['37-2=35'] Exploring Operation: 95+35=130, Resulting Numbers: [13, 130] Generated Node #3: [13, 130] from Operation: 95+35=130 Current State: 10:[13, 130], Operations: ['37-2=35', '95+35=130'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[37, 13, 2, 95], Operations: [] Exploring Operation: 95-37=58, Resulting Numbers: [13, 2, 58] Generated Node #0,0: 10:[13, 2, 58] Operation: 95-37=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[13, 2, 58], Operations: ['95-37=58'] Exploring Operation: 58/2=29, Resulting Numbers: [13, 29] Generated Node #0,0,0: 10:[13, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[13, 29], Operations: ['95-37=58', '58/2=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,10 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
[ 7, 21, 36, 42 ]
11
[ "21*36=756", "756/42=18", "18-7=11" ]
Current State: 11:[7, 21, 36, 42], Operations: [] Exploring Operation: 21*36=756, Resulting Numbers: [7, 42, 756] Generated Node #2: [7, 42, 756] from Operation: 21*36=756 Current State: 11:[7, 42, 756], Operations: ['21*36=756'] Exploring Operation: 756/42=18, Resulting Numbers: [7, 18] Generated Node #3: [7, 18] from Operation: 756/42=18 Current State: 11:[7, 18], Operations: ['21*36=756', '756/42=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[7, 21, 36, 42], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [7, 36, 2] Generated Node #0,0: 11:[7, 36, 2] Operation: 42/21=2 Exploring Operation: 42-36=6, Resulting Numbers: [7, 21, 6] Generated Node #0,1: 11:[7, 21, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[7, 21, 6], Operations: ['42-36=6'] Exploring Operation: 21-6=15, Resulting Numbers: [7, 15] Generated Node #0,1,0: 11:[7, 15] Operation: 21-6=15 Exploring Operation: 21-7=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 11:[6, 14] Operation: 21-7=14 Moving to Node #0,1,0 Current State: 11:[7, 15], Operations: ['42-36=6', '21-6=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[6, 14], Operations: ['42-36=6', '21-7=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,11 unequal: No Solution No 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: 11:[7, 36, 2], Operations: ['42/21=2'] Exploring Operation: 36-7=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 11:[2, 29] Operation: 36-7=29 Exploring Operation: 36/2=18, Resulting Numbers: [7, 18] Generated Node #0,0,1: 11:[7, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[7, 18], Operations: ['42/21=2', '36/2=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[7, 21, 36, 42], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [7, 36, 2] Generated Node #0,0: 11:[7, 36, 2] Operation: 42/21=2 Moving to Node #0,0 Current State: 11:[7, 36, 2], Operations: ['42/21=2'] Exploring Operation: 36/2=18, Resulting Numbers: [7, 18] Generated Node #0,0,1: 11:[7, 18] Operation: 36/2=18 Moving to Node #0,0,1 Current State: 11:[7, 18], Operations: ['42/21=2', '36/2=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 80, 13, 27, 5 ]
81
[ "80/5=16", "16-13=3", "27*3=81" ]
Current State: 81:[80, 13, 27, 5], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [13, 27, 16] Generated Node #2: [13, 27, 16] from Operation: 80/5=16 Current State: 81:[13, 27, 16], Operations: ['80/5=16'] Exploring Operation: 16-13=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 16-13=3 Current State: 81:[27, 3], Operations: ['80/5=16', '16-13=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[80, 13, 27, 5], Operations: [] Exploring Operation: 27-13=14, Resulting Numbers: [80, 5, 14] Generated Node #0,0: 81:[80, 5, 14] Operation: 27-13=14 Exploring Operation: 80+5=85, Resulting Numbers: [13, 27, 85] Generated Node #0,1: 81:[13, 27, 85] Operation: 80+5=85 Exploring Operation: 13-5=8, Resulting Numbers: [80, 27, 8] Generated Node #0,2: 81:[80, 27, 8] Operation: 13-5=8 Exploring Operation: 80-5=75, Resulting Numbers: [13, 27, 75] Generated Node #0,3: 81:[13, 27, 75] Operation: 80-5=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[80, 27, 8], Operations: ['13-5=8'] Exploring Operation: 27+8=35, Resulting Numbers: [80, 35] Generated Node #0,2,0: 81:[80, 35] Operation: 27+8=35 Exploring Operation: 80-8=72, Resulting Numbers: [27, 72] Generated Node #0,2,1: 81:[27, 72] Operation: 80-8=72 Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #0,2,2: 81:[27, 10] Operation: 80/8=10 Exploring Operation: 80+8=88, Resulting Numbers: [27, 88] Generated Node #0,2,3: 81:[27, 88] Operation: 80+8=88 Moving to Node #0,2,2 Current State: 81:[27, 10], Operations: ['13-5=8', '80/8=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,81 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[27, 88], Operations: ['13-5=8', '80+8=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[27, 72], Operations: ['13-5=8', '80-8=72'] Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,81 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[80, 35], Operations: ['13-5=8', '27+8=35'] Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,81 unequal: No Solution Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[80, 5, 14], Operations: ['27-13=14'] Exploring Operation: 14-5=9, Resulting Numbers: [80, 9] Generated Node #0,0,0: 81:[80, 9] Operation: 14-5=9 Exploring Operation: 80+5=85, Resulting Numbers: [14, 85] Generated Node #0,0,1: 81:[14, 85] Operation: 80+5=85 Exploring Operation: 80-5=75, Resulting Numbers: [14, 75] Generated Node #0,0,2: 81:[14, 75] Operation: 80-5=75 Exploring Operation: 5+14=19, Resulting Numbers: [80, 19] Generated Node #0,0,3: 81:[80, 19] Operation: 5+14=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[80, 9], Operations: ['27-13=14', '14-5=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,81 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[14, 85], Operations: ['27-13=14', '80+5=85'] Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,81 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[80, 19], Operations: ['27-13=14', '5+14=19'] Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,81 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[14, 75], Operations: ['27-13=14', '80-5=75'] Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,81 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[13, 27, 85], Operations: ['80+5=85'] Exploring Operation: 27-13=14, Resulting Numbers: [85, 14] Generated Node #0,1,0: 81:[85, 14] Operation: 27-13=14 Exploring Operation: 13+27=40, Resulting Numbers: [85, 40] Generated Node #0,1,1: 81:[85, 40] Operation: 13+27=40 Exploring Operation: 85-13=72, Resulting Numbers: [27, 72] Generated Node #0,1,2: 81:[27, 72] Operation: 85-13=72 Exploring Operation: 13+85=98, Resulting Numbers: [27, 98] Generated Node #0,1,3: 81:[27, 98] Operation: 13+85=98 Moving to Node #0,1,0 Current State: 81:[85, 14], Operations: ['80+5=85', '27-13=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[27, 72], Operations: ['80+5=85', '85-13=72'] Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,81 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[27, 98], Operations: ['80+5=85', '13+85=98'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 27+98=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 27*98=2646, Resulting Numbers: [2646] 2646,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[85, 40], Operations: ['80+5=85', '13+27=40'] Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,81 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[13, 27, 75], Operations: ['80-5=75'] Exploring Operation: 13+27=40, Resulting Numbers: [75, 40] Generated Node #0,3,0: 81:[75, 40] Operation: 13+27=40 Exploring Operation: 27-13=14, Resulting Numbers: [75, 14] Generated Node #0,3,1: 81:[75, 14] Operation: 27-13=14 Exploring Operation: 13+75=88, Resulting Numbers: [27, 88] Generated Node #0,3,2: 81:[27, 88] Operation: 13+75=88 Exploring Operation: 75-13=62, Resulting Numbers: [27, 62] Generated Node #0,3,3: 81:[27, 62] Operation: 75-13=62 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[27, 88], Operations: ['80-5=75', '13+75=88'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[75, 14], Operations: ['80-5=75', '27-13=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,81 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[75, 40], Operations: ['80-5=75', '13+27=40'] Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[27, 62], Operations: ['80-5=75', '75-13=62'] Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,81 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,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_4
mult_heuristic
[ 13, 76, 87, 43 ]
66
[ "87+43=130", "130/13=10", "76-10=66" ]
Current State: 66:[13, 76, 87, 43], Operations: [] Exploring Operation: 87+43=130, Resulting Numbers: [13, 76, 130] Generated Node #2: [13, 76, 130] from Operation: 87+43=130 Current State: 66:[13, 76, 130], Operations: ['87+43=130'] Exploring Operation: 130/13=10, Resulting Numbers: [76, 10] Generated Node #3: [76, 10] from Operation: 130/13=10 Current State: 66:[76, 10], Operations: ['87+43=130', '130/13=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[13, 76, 87, 43], Operations: [] Exploring Operation: 87-43=44, Resulting Numbers: [13, 76, 44] Generated Node #0,0: 66:[13, 76, 44] Operation: 87-43=44 Exploring Operation: 87-76=11, Resulting Numbers: [13, 43, 11] Generated Node #0,1: 66:[13, 43, 11] Operation: 87-76=11 Exploring Operation: 76-43=33, Resulting Numbers: [13, 87, 33] Generated Node #0,2: 66:[13, 87, 33] Operation: 76-43=33 Exploring Operation: 87-13=74, Resulting Numbers: [76, 43, 74] Generated Node #0,3: 66:[76, 43, 74] Operation: 87-13=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[13, 43, 11], Operations: ['87-76=11'] Exploring Operation: 43-13=30, Resulting Numbers: [11, 30] Generated Node #0,1,0: 66:[11, 30] Operation: 43-13=30 Exploring Operation: 13+43=56, Resulting Numbers: [11, 56] Generated Node #0,1,1: 66:[11, 56] Operation: 13+43=56 Exploring Operation: 13-11=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 66:[43, 2] Operation: 13-11=2 Exploring Operation: 43-11=32, Resulting Numbers: [13, 32] Generated Node #0,1,3: 66:[13, 32] Operation: 43-11=32 Moving to Node #0,1,0 Current State: 66:[11, 30], Operations: ['87-76=11', '43-13=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,66 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[13, 32], Operations: ['87-76=11', '43-11=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[43, 2], Operations: ['87-76=11', '13-11=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[11, 56], Operations: ['87-76=11', '13+43=56'] Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,66 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[13, 76, 44], Operations: ['87-43=44'] Exploring Operation: 76-44=32, Resulting Numbers: [13, 32] Generated Node #0,0,0: 66:[13, 32] Operation: 76-44=32 Exploring Operation: 44-13=31, Resulting Numbers: [76, 31] Generated Node #0,0,1: 66:[76, 31] Operation: 44-13=31 Exploring Operation: 76-13=63, Resulting Numbers: [44, 63] Generated Node #0,0,2: 66:[44, 63] Operation: 76-13=63 Exploring Operation: 13+44=57, Resulting Numbers: [76, 57] Generated Node #0,0,3: 66:[76, 57] Operation: 13+44=57 Moving to Node #0,0,0 Current State: 66:[13, 32], Operations: ['87-43=44', '76-44=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,66 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[76, 31], Operations: ['87-43=44', '44-13=31'] Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,66 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[44, 63], Operations: ['87-43=44', '76-13=63'] Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,66 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[76, 57], Operations: ['87-43=44', '13+44=57'] Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 76*57=4332, Resulting Numbers: [4332] 4332,66 unequal: No Solution Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[13, 87, 33], Operations: ['76-43=33'] Exploring Operation: 87-13=74, Resulting Numbers: [33, 74] Generated Node #0,2,0: 66:[33, 74] Operation: 87-13=74 Exploring Operation: 13+87=100, Resulting Numbers: [33, 100] Generated Node #0,2,1: 66:[33, 100] Operation: 13+87=100 Exploring Operation: 87-33=54, Resulting Numbers: [13, 54] Generated Node #0,2,2: 66:[13, 54] Operation: 87-33=54 Exploring Operation: 33-13=20, Resulting Numbers: [87, 20] Generated Node #0,2,3: 66:[87, 20] Operation: 33-13=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[33, 74], Operations: ['76-43=33', '87-13=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,66 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,66 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: 66:[13, 54], Operations: ['76-43=33', '87-33=54'] Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,66 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: 66:[87, 20], Operations: ['76-43=33', '33-13=20'] Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,66 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,66 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: 66:[33, 100], Operations: ['76-43=33', '13+87=100'] Exploring Operation: 33+100=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 33*100=3300, Resulting Numbers: [3300] 3300,66 unequal: No Solution Exploring Operation: 100-33=67, Resulting Numbers: [67] 67,66 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: 66:[76, 43, 74], Operations: ['87-13=74'] Exploring Operation: 76+43=119, Resulting Numbers: [74, 119] Generated Node #0,3,0: 66:[74, 119] Operation: 76+43=119 Exploring Operation: 76-74=2, Resulting Numbers: [43, 2] Generated Node #0,3,1: 66:[43, 2] Operation: 76-74=2 Exploring Operation: 74-43=31, Resulting Numbers: [76, 31] Generated Node #0,3,2: 66:[76, 31] Operation: 74-43=31 Exploring Operation: 76-43=33, Resulting Numbers: [74, 33] Generated Node #0,3,3: 66:[74, 33] Operation: 76-43=33 Moving to Node #0,3,3 Current State: 66:[74, 33], Operations: ['87-13=74', '76-43=33'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[43, 2], Operations: ['87-13=74', '76-74=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,66 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[76, 31], Operations: ['87-13=74', '74-43=31'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,66 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[74, 119], Operations: ['87-13=74', '76+43=119'] Exploring Operation: 119-74=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 74*119=8806, Resulting Numbers: [8806] 8806,66 unequal: No Solution Exploring Operation: 74+119=193, Resulting Numbers: [193] 193,66 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
[ 33, 36, 38, 39 ]
36
[ "33+39=72", "38-36=2", "72/2=36" ]
Current State: 36:[33, 36, 38, 39], Operations: [] Exploring Operation: 33+39=72, Resulting Numbers: [36, 38, 72] Generated Node #2: [36, 38, 72] from Operation: 33+39=72 Current State: 36:[36, 38, 72], Operations: ['33+39=72'] Exploring Operation: 38-36=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 38-36=2 Current State: 36:[72, 2], Operations: ['33+39=72', '38-36=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[33, 36, 38, 39], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [36, 39, 5] Generated Node #0,0: 36:[36, 39, 5] Operation: 38-33=5 Exploring Operation: 39-33=6, Resulting Numbers: [36, 38, 6] Generated Node #0,1: 36:[36, 38, 6] Operation: 39-33=6 Moving to Node #0,1 Current State: 36:[36, 38, 6], Operations: ['39-33=6'] Exploring Operation: 38-36=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 36:[6, 2] Operation: 38-36=2 Exploring Operation: 36/6=6, Resulting Numbers: [38, 6] Generated Node #0,1,1: 36:[38, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[6, 2], Operations: ['39-33=6', '38-36=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,36 unequal: No Solution No 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: 36:[38, 6], Operations: ['39-33=6', '36/6=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,36 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: 36:[36, 39, 5], Operations: ['38-33=5'] Exploring Operation: 39-5=34, Resulting Numbers: [36, 34] Generated Node #0,0,0: 36:[36, 34] Operation: 39-5=34 Exploring Operation: 39-36=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 36:[5, 3] Operation: 39-36=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[5, 3], Operations: ['38-33=5', '39-36=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,36 unequal: No Solution No 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: 36:[36, 34], Operations: ['38-33=5', '39-5=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,36 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
[ 93, 30, 54, 28 ]
37
[ "93-30=63", "54-28=26", "63-26=37" ]
Current State: 37:[93, 30, 54, 28], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [54, 28, 63] Generated Node #2: [54, 28, 63] from Operation: 93-30=63 Current State: 37:[54, 28, 63], Operations: ['93-30=63'] Exploring Operation: 54-28=26, Resulting Numbers: [63, 26] Generated Node #3: [63, 26] from Operation: 54-28=26 Current State: 37:[63, 26], Operations: ['93-30=63', '54-28=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[93, 30, 54, 28], Operations: [] Exploring Operation: 93-28=65, Resulting Numbers: [30, 54, 65] Generated Node #0,0: 37:[30, 54, 65] Operation: 93-28=65 Exploring Operation: 93-30=63, Resulting Numbers: [54, 28, 63] Generated Node #0,1: 37:[54, 28, 63] Operation: 93-30=63 Exploring Operation: 93-54=39, Resulting Numbers: [30, 28, 39] Generated Node #0,2: 37:[30, 28, 39] Operation: 93-54=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[30, 28, 39], Operations: ['93-54=39'] Exploring Operation: 30-28=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 37:[39, 2] Operation: 30-28=2 Exploring Operation: 39-28=11, Resulting Numbers: [30, 11] Generated Node #0,2,1: 37:[30, 11] Operation: 39-28=11 Exploring Operation: 30+28=58, Resulting Numbers: [39, 58] Generated Node #0,2,2: 37:[39, 58] Operation: 30+28=58 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[39, 58], Operations: ['93-54=39', '30+28=58'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 39+58=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 39*58=2262, Resulting Numbers: [2262] 2262,37 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: 37:[30, 11], Operations: ['93-54=39', '39-28=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,37 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: 37:[39, 2], Operations: ['93-54=39', '30-28=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[93, 30, 54, 28], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [30, 28, 39] Generated Node #0,2: 37:[30, 28, 39] Operation: 93-54=39 Moving to Node #0,2 Current State: 37:[30, 28, 39], Operations: ['93-54=39'] Exploring Operation: 30-28=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 37:[39, 2] Operation: 30-28=2 Moving to Node #0,2,0 Current State: 37:[39, 2], Operations: ['93-54=39', '30-28=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 8, 86, 4, 47 ]
10
[ "47-4=43", "86/43=2", "8+2=10" ]
Current State: 10:[8, 86, 4, 47], Operations: [] Exploring Operation: 47-4=43, Resulting Numbers: [8, 86, 43] Generated Node #2: [8, 86, 43] from Operation: 47-4=43 Current State: 10:[8, 86, 43], Operations: ['47-4=43'] Exploring Operation: 86/43=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 86/43=2 Current State: 10:[8, 2], Operations: ['47-4=43', '86/43=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[8, 86, 4, 47], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [4, 47, 78] Generated Node #0,0: 10:[4, 47, 78] Operation: 86-8=78 Exploring Operation: 47-8=39, Resulting Numbers: [86, 4, 39] Generated Node #0,1: 10:[86, 4, 39] Operation: 47-8=39 Exploring Operation: 86-47=39, Resulting Numbers: [8, 4, 39] Generated Node #0,2: 10:[8, 4, 39] Operation: 86-47=39 Moving to Node #0,2 Current State: 10:[8, 4, 39], Operations: ['86-47=39'] Exploring Operation: 8/4=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 10:[39, 2] Operation: 8/4=2 Exploring Operation: 39-8=31, Resulting Numbers: [4, 31] Generated Node #0,2,1: 10:[4, 31] Operation: 39-8=31 Exploring Operation: 39-4=35, Resulting Numbers: [8, 35] Generated Node #0,2,2: 10:[8, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[4, 31], Operations: ['86-47=39', '39-8=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,10 unequal: No Solution No 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: 10:[8, 35], Operations: ['86-47=39', '39-4=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,10 unequal: No Solution No 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: 10:[39, 2], Operations: ['86-47=39', '8/4=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,10 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: 10:[4, 47, 78], Operations: ['86-8=78'] Exploring Operation: 78-47=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 10:[4, 31] Operation: 78-47=31 Exploring Operation: 78-4=74, Resulting Numbers: [47, 74] Generated Node #0,0,1: 10:[47, 74] Operation: 78-4=74 Exploring Operation: 47-4=43, Resulting Numbers: [78, 43] Generated Node #0,0,2: 10:[78, 43] Operation: 47-4=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[4, 31], Operations: ['86-8=78', '78-47=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,10 unequal: No Solution No 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: 10:[47, 74], Operations: ['86-8=78', '78-4=74'] Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,10 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,10 unequal: No Solution No 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: 10:[78, 43], Operations: ['86-8=78', '47-4=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,10 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,10 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,10 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: 10:[86, 4, 39], Operations: ['47-8=39'] Exploring Operation: 86-4=82, Resulting Numbers: [39, 82] Generated Node #0,1,0: 10:[39, 82] Operation: 86-4=82 Exploring Operation: 86-39=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 10:[4, 47] Operation: 86-39=47 Exploring Operation: 39-4=35, Resulting Numbers: [86, 35] Generated Node #0,1,2: 10:[86, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[4, 47], Operations: ['47-8=39', '86-39=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,10 unequal: No Solution No 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: 10:[39, 82], Operations: ['47-8=39', '86-4=82'] Exploring Operation: 39*82=3198, Resulting Numbers: [3198] 3198,10 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,10 unequal: No Solution No 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: 10:[86, 35], Operations: ['47-8=39', '39-4=35'] Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,10 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,10 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
[ 98, 30, 83, 15 ]
17
[ "98-83=15", "30/15=2", "15+2=17" ]
Current State: 17:[98, 30, 83, 15], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [30, 15, 15] Generated Node #2: [30, 15, 15] from Operation: 98-83=15 Current State: 17:[30, 15, 15], Operations: ['98-83=15'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,17 equal: Goal Reached Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[98, 30, 83, 15], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [30, 15, 15] Generated Node #0,0: 17:[30, 15, 15] Operation: 98-83=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[30, 15, 15], Operations: ['98-83=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 17:[15, 15] Operation: 30-15=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[15, 15], Operations: ['98-83=15', '30-15=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,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
[ 11, 22, 10, 50 ]
93
[ "11+22=33", "10+50=60", "33+60=93" ]
Current State: 93:[11, 22, 10, 50], Operations: [] Exploring Operation: 11+22=33, Resulting Numbers: [10, 50, 33] Generated Node #2: [10, 50, 33] from Operation: 11+22=33 Current State: 93:[10, 50, 33], Operations: ['11+22=33'] Exploring Operation: 10+50=60, Resulting Numbers: [33, 60] Generated Node #3: [33, 60] from Operation: 10+50=60 Current State: 93:[33, 60], Operations: ['11+22=33', '10+50=60'] Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[11, 22, 10, 50], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [11, 22, 5] Generated Node #0,0: 93:[11, 22, 5] Operation: 50/10=5 Exploring Operation: 50-22=28, Resulting Numbers: [11, 10, 28] Generated Node #0,1: 93:[11, 10, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[11, 10, 28], Operations: ['50-22=28'] Exploring Operation: 11-10=1, Resulting Numbers: [28, 1] Generated Node #0,1,0: 93:[28, 1] Operation: 11-10=1 Exploring Operation: 11+10=21, Resulting Numbers: [28, 21] Generated Node #0,1,1: 93:[28, 21] Operation: 11+10=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[28, 1], Operations: ['50-22=28', '11-10=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,93 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,93 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: 93:[28, 21], Operations: ['50-22=28', '11+10=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,93 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: 93:[11, 22, 5], Operations: ['50/10=5'] Exploring Operation: 22/11=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 93:[5, 2] Operation: 22/11=2 Exploring Operation: 11+22=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 93:[5, 33] Operation: 11+22=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[5, 2], Operations: ['50/10=5', '22/11=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,93 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: 93:[5, 33], Operations: ['50/10=5', '11+22=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,93 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
[ 18, 62, 74, 64 ]
19
[ "64-62=2", "74/2=37", "37-18=19" ]
Current State: 19:[18, 62, 74, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [18, 74, 2] Generated Node #2: [18, 74, 2] from Operation: 64-62=2 Current State: 19:[18, 74, 2], Operations: ['64-62=2'] Exploring Operation: 74/2=37, Resulting Numbers: [18, 37] Generated Node #3: [18, 37] from Operation: 74/2=37 Current State: 19:[18, 37], Operations: ['64-62=2', '74/2=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[18, 62, 74, 64], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [18, 64, 12] Generated Node #0,0: 19:[18, 64, 12] Operation: 74-62=12 Moving to Node #0,0 Current State: 19:[18, 64, 12], Operations: ['74-62=12'] Exploring Operation: 64-18=46, Resulting Numbers: [12, 46] Generated Node #0,0,0: 19:[12, 46] Operation: 64-18=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[12, 46], Operations: ['74-62=12', '64-18=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,19 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
[ 41, 5, 74, 93 ]
72
[ "74-41=33", "5*33=165", "165-93=72" ]
Current State: 72:[41, 5, 74, 93], Operations: [] Exploring Operation: 74-41=33, Resulting Numbers: [5, 93, 33] Generated Node #2: [5, 93, 33] from Operation: 74-41=33 Current State: 72:[5, 93, 33], Operations: ['74-41=33'] Exploring Operation: 5*33=165, Resulting Numbers: [93, 165] Generated Node #3: [93, 165] from Operation: 5*33=165 Current State: 72:[93, 165], Operations: ['74-41=33', '5*33=165'] Exploring Operation: 165-93=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[41, 5, 74, 93], Operations: [] Exploring Operation: 93-5=88, Resulting Numbers: [41, 74, 88] Generated Node #0,0: 72:[41, 74, 88] Operation: 93-5=88 Exploring Operation: 93-41=52, Resulting Numbers: [5, 74, 52] Generated Node #0,1: 72:[5, 74, 52] Operation: 93-41=52 Exploring Operation: 93-74=19, Resulting Numbers: [41, 5, 19] Generated Node #0,2: 72:[41, 5, 19] Operation: 93-74=19 Exploring Operation: 41-5=36, Resulting Numbers: [74, 93, 36] Generated Node #0,3: 72:[74, 93, 36] Operation: 41-5=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[41, 5, 19], Operations: ['93-74=19'] Exploring Operation: 41-19=22, Resulting Numbers: [5, 22] Generated Node #0,2,0: 72:[5, 22] Operation: 41-19=22 Exploring Operation: 19-5=14, Resulting Numbers: [41, 14] Generated Node #0,2,1: 72:[41, 14] Operation: 19-5=14 Exploring Operation: 5+19=24, Resulting Numbers: [41, 24] Generated Node #0,2,2: 72:[41, 24] Operation: 5+19=24 Exploring Operation: 41-5=36, Resulting Numbers: [19, 36] Generated Node #0,2,3: 72:[19, 36] Operation: 41-5=36 Moving to Node #0,2,3 Current State: 72:[19, 36], Operations: ['93-74=19', '41-5=36'] Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[5, 22], Operations: ['93-74=19', '41-19=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[41, 24], Operations: ['93-74=19', '5+19=24'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,72 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[41, 14], Operations: ['93-74=19', '19-5=14'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[5, 74, 52], Operations: ['93-41=52'] Exploring Operation: 5+52=57, Resulting Numbers: [74, 57] Generated Node #0,1,0: 72:[74, 57] Operation: 5+52=57 Exploring Operation: 74-52=22, Resulting Numbers: [5, 22] Generated Node #0,1,1: 72:[5, 22] Operation: 74-52=22 Exploring Operation: 52-5=47, Resulting Numbers: [74, 47] Generated Node #0,1,2: 72:[74, 47] Operation: 52-5=47 Exploring Operation: 74-5=69, Resulting Numbers: [52, 69] Generated Node #0,1,3: 72:[52, 69] Operation: 74-5=69 Moving to Node #0,1,1 Current State: 72:[5, 22], Operations: ['93-41=52', '74-52=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[74, 47], Operations: ['93-41=52', '52-5=47'] Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,72 unequal: No Solution Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[74, 57], Operations: ['93-41=52', '5+52=57'] Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,72 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[52, 69], Operations: ['93-41=52', '74-5=69'] Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,72 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[41, 74, 88], Operations: ['93-5=88'] Exploring Operation: 88-74=14, Resulting Numbers: [41, 14] Generated Node #0,0,0: 72:[41, 14] Operation: 88-74=14 Exploring Operation: 74-41=33, Resulting Numbers: [88, 33] Generated Node #0,0,1: 72:[88, 33] Operation: 74-41=33 Exploring Operation: 88-41=47, Resulting Numbers: [74, 47] Generated Node #0,0,2: 72:[74, 47] Operation: 88-41=47 Exploring Operation: 41+74=115, Resulting Numbers: [88, 115] Generated Node #0,0,3: 72:[88, 115] Operation: 41+74=115 Moving to Node #0,0,0 Current State: 72:[41, 14], Operations: ['93-5=88', '88-74=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,72 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[74, 47], Operations: ['93-5=88', '88-41=47'] Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 74+47=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 74*47=3478, Resulting Numbers: [3478] 3478,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[88, 33], Operations: ['93-5=88', '74-41=33'] Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,72 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,72 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[88, 115], Operations: ['93-5=88', '41+74=115'] Exploring Operation: 88+115=203, Resulting Numbers: [203] 203,72 unequal: No Solution Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 88*115=10120, Resulting Numbers: [10120] 10120,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[74, 93, 36], Operations: ['41-5=36'] Exploring Operation: 74+36=110, Resulting Numbers: [93, 110] Generated Node #0,3,0: 72:[93, 110] Operation: 74+36=110 Exploring Operation: 74-36=38, Resulting Numbers: [93, 38] Generated Node #0,3,1: 72:[93, 38] Operation: 74-36=38 Exploring Operation: 93-74=19, Resulting Numbers: [36, 19] Generated Node #0,3,2: 72:[36, 19] Operation: 93-74=19 Exploring Operation: 93-36=57, Resulting Numbers: [74, 57] Generated Node #0,3,3: 72:[74, 57] Operation: 93-36=57 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 72:[36, 19], Operations: ['41-5=36', '93-74=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,72 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,72 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: 72:[74, 57], Operations: ['41-5=36', '93-36=57'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,72 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: 72:[93, 38], Operations: ['41-5=36', '74-36=38'] Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,72 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,72 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: 72:[93, 110], Operations: ['41-5=36', '74+36=110'] Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,72 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,72 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
[ 27, 72, 96, 96 ]
27
[ "96-96=0", "72*0=0", "27+0=27" ]
Current State: 27:[27, 72, 96, 96], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [27, 72, 0] Generated Node #2: [27, 72, 0] from Operation: 96-96=0 Current State: 27:[27, 72, 0], Operations: ['96-96=0'] Exploring Operation: 72*0=0, Resulting Numbers: [27, 0] Generated Node #3: [27, 0] from Operation: 72*0=0 Current State: 27:[27, 0], Operations: ['96-96=0', '72*0=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[27, 72, 96, 96], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [27, 96, 24] Generated Node #0,0: 27:[27, 96, 24] Operation: 96-72=24 Exploring Operation: 96-96=0, Resulting Numbers: [27, 72, 0] Generated Node #0,1: 27:[27, 72, 0] Operation: 96-96=0 Exploring Operation: 96/96=1, Resulting Numbers: [27, 72, 1] Generated Node #0,2: 27:[27, 72, 1] Operation: 96/96=1 Moving to Node #0,2 Current State: 27:[27, 72, 1], Operations: ['96/96=1'] Exploring Operation: 27*1=27, Resulting Numbers: [72, 27] Generated Node #0,2,0: 27:[72, 27] Operation: 27*1=27 Exploring Operation: 72-1=71, Resulting Numbers: [27, 71] Generated Node #0,2,1: 27:[27, 71] Operation: 72-1=71 Exploring Operation: 72-27=45, Resulting Numbers: [1, 45] Generated Node #0,2,2: 27:[1, 45] Operation: 72-27=45 Moving to Node #0,1 Current State: 27:[27, 72, 0], Operations: ['96-96=0'] Exploring Operation: 72-27=45, Resulting Numbers: [0, 45] Generated Node #0,1,0: 27:[0, 45] Operation: 72-27=45 Exploring Operation: 72*0=0, Resulting Numbers: [27, 0] Generated Node #0,1,1: 27:[27, 0] Operation: 72*0=0 Exploring Operation: 27+0=27, Resulting Numbers: [72, 27] Generated Node #0,1,2: 27:[72, 27] Operation: 27+0=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[27, 0], Operations: ['96-96=0', '72*0=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[27, 72, 96, 96], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [27, 72, 0] Generated Node #0,1: 27:[27, 72, 0] Operation: 96-96=0 Moving to Node #0,1 Current State: 27:[27, 72, 0], Operations: ['96-96=0'] Exploring Operation: 72*0=0, Resulting Numbers: [27, 0] Generated Node #0,1,1: 27:[27, 0] Operation: 72*0=0 Moving to Node #0,1,1 Current State: 27:[27, 0], Operations: ['96-96=0', '72*0=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 57, 91, 64, 28 ]
58
[ "91-57=34", "64+28=92", "92-34=58" ]
Current State: 58:[57, 91, 64, 28], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [64, 28, 34] Generated Node #2: [64, 28, 34] from Operation: 91-57=34 Current State: 58:[64, 28, 34], Operations: ['91-57=34'] Exploring Operation: 64+28=92, Resulting Numbers: [34, 92] Generated Node #3: [34, 92] from Operation: 64+28=92 Current State: 58:[34, 92], Operations: ['91-57=34', '64+28=92'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[57, 91, 64, 28], Operations: [] Exploring Operation: 91-64=27, Resulting Numbers: [57, 28, 27] Generated Node #0,0: 58:[57, 28, 27] Operation: 91-64=27 Moving to Node #0,0 Current State: 58:[57, 28, 27], Operations: ['91-64=27'] Exploring Operation: 57-28=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 58:[27, 29] Operation: 57-28=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[27, 29], Operations: ['91-64=27', '57-28=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 56, 25, 91 ]
59
[ "56-49=7", "91-25=66", "66-7=59" ]
Current State: 59:[49, 56, 25, 91], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [25, 91, 7] Generated Node #2: [25, 91, 7] from Operation: 56-49=7 Current State: 59:[25, 91, 7], Operations: ['56-49=7'] Exploring Operation: 91-25=66, Resulting Numbers: [7, 66] Generated Node #3: [7, 66] from Operation: 91-25=66 Current State: 59:[7, 66], Operations: ['56-49=7', '91-25=66'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[49, 56, 25, 91], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [56, 25, 42] Generated Node #0,0: 59:[56, 25, 42] Operation: 91-49=42 Exploring Operation: 56+25=81, Resulting Numbers: [49, 91, 81] Generated Node #0,1: 59:[49, 91, 81] Operation: 56+25=81 Exploring Operation: 49+25=74, Resulting Numbers: [56, 91, 74] Generated Node #0,2: 59:[56, 91, 74] Operation: 49+25=74 Exploring Operation: 91-25=66, Resulting Numbers: [49, 56, 66] Generated Node #0,3: 59:[49, 56, 66] Operation: 91-25=66 Moving to Node #0,3 Current State: 59:[49, 56, 66], Operations: ['91-25=66'] Exploring Operation: 66-49=17, Resulting Numbers: [56, 17] Generated Node #0,3,0: 59:[56, 17] Operation: 66-49=17 Exploring Operation: 56-49=7, Resulting Numbers: [66, 7] Generated Node #0,3,1: 59:[66, 7] Operation: 56-49=7 Exploring Operation: 49+56=105, Resulting Numbers: [66, 105] Generated Node #0,3,2: 59:[66, 105] Operation: 49+56=105 Exploring Operation: 49+66=115, Resulting Numbers: [56, 115] Generated Node #0,3,3: 59:[56, 115] Operation: 49+66=115 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[56, 17], Operations: ['91-25=66', '66-49=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,59 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[66, 105], Operations: ['91-25=66', '49+56=105'] Exploring Operation: 66*105=6930, Resulting Numbers: [6930] 6930,59 unequal: No Solution Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[66, 7], Operations: ['91-25=66', '56-49=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,59 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[49, 56, 25, 91], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [49, 56, 66] Generated Node #0,3: 59:[49, 56, 66] Operation: 91-25=66 Moving to Node #0,3 Current State: 59:[49, 56, 66], Operations: ['91-25=66'] Exploring Operation: 56-49=7, Resulting Numbers: [66, 7] Generated Node #0,3,1: 59:[66, 7] Operation: 56-49=7 Moving to Node #0,3,1 Current State: 59:[66, 7], Operations: ['91-25=66', '56-49=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 31, 90, 4, 41 ]
72
[ "90-31=59", "59-41=18", "4*18=72" ]
Current State: 72:[31, 90, 4, 41], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [4, 41, 59] Generated Node #2: [4, 41, 59] from Operation: 90-31=59 Current State: 72:[4, 41, 59], Operations: ['90-31=59'] Exploring Operation: 59-41=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 59-41=18 Current State: 72:[4, 18], Operations: ['90-31=59', '59-41=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[31, 90, 4, 41], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [4, 41, 59] Generated Node #0,0: 72:[4, 41, 59] Operation: 90-31=59 Moving to Node #0,0 Current State: 72:[4, 41, 59], Operations: ['90-31=59'] Exploring Operation: 59-41=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 59-41=18 Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['90-31=59', '59-41=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[31, 90, 4, 41], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [4, 41, 59] Generated Node #0,0: 72:[4, 41, 59] Operation: 90-31=59 Moving to Node #0,0 Current State: 72:[4, 41, 59], Operations: ['90-31=59'] Exploring Operation: 59-41=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 59-41=18 Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['90-31=59', '59-41=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 18, 2, 19, 16 ]
69
[ "18+19=37", "2*16=32", "37+32=69" ]
Current State: 69:[18, 2, 19, 16], Operations: [] Exploring Operation: 18+19=37, Resulting Numbers: [2, 16, 37] Generated Node #2: [2, 16, 37] from Operation: 18+19=37 Current State: 69:[2, 16, 37], Operations: ['18+19=37'] Exploring Operation: 2*16=32, Resulting Numbers: [37, 32] Generated Node #3: [37, 32] from Operation: 2*16=32 Current State: 69:[37, 32], Operations: ['18+19=37', '2*16=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[18, 2, 19, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [2, 19, 2] Generated Node #0,0: 69:[2, 19, 2] Operation: 18-16=2 Exploring Operation: 19-16=3, Resulting Numbers: [18, 2, 3] Generated Node #0,1: 69:[18, 2, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[2, 19, 2], Operations: ['18-16=2'] Exploring Operation: 19+2=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 69:[2, 21] Operation: 19+2=21 Exploring Operation: 2+19=21, Resulting Numbers: [2, 21] Generated Node #0,0,1: 69:[2, 21] Operation: 2+19=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[2, 21], Operations: ['18-16=2', '19+2=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,69 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: 69:[2, 21], Operations: ['18-16=2', '2+19=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,69 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: 69:[18, 2, 3], Operations: ['19-16=3'] Exploring Operation: 18+3=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 69:[2, 21] Operation: 18+3=21 Exploring Operation: 18+2=20, Resulting Numbers: [3, 20] Generated Node #0,1,1: 69:[3, 20] Operation: 18+2=20 Moving to Node #0,1,0 Current State: 69:[2, 21], Operations: ['19-16=3', '18+3=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[3, 20], Operations: ['19-16=3', '18+2=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 43, 9, 68, 40 ]
62
[ "43-9=34", "68-40=28", "34+28=62" ]
Current State: 62:[43, 9, 68, 40], Operations: [] Exploring Operation: 43-9=34, Resulting Numbers: [68, 40, 34] Generated Node #2: [68, 40, 34] from Operation: 43-9=34 Current State: 62:[68, 40, 34], Operations: ['43-9=34'] Exploring Operation: 68-40=28, Resulting Numbers: [34, 28] Generated Node #3: [34, 28] from Operation: 68-40=28 Current State: 62:[34, 28], Operations: ['43-9=34', '68-40=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[43, 9, 68, 40], Operations: [] Exploring Operation: 40-9=31, Resulting Numbers: [43, 68, 31] Generated Node #0,0: 62:[43, 68, 31] Operation: 40-9=31 Exploring Operation: 43-40=3, Resulting Numbers: [9, 68, 3] Generated Node #0,1: 62:[9, 68, 3] Operation: 43-40=3 Exploring Operation: 43-9=34, Resulting Numbers: [68, 40, 34] Generated Node #0,2: 62:[68, 40, 34] Operation: 43-9=34 Moving to Node #0,1 Current State: 62:[9, 68, 3], Operations: ['43-40=3'] Exploring Operation: 9*3=27, Resulting Numbers: [68, 27] Generated Node #0,1,0: 62:[68, 27] Operation: 9*3=27 Exploring Operation: 9/3=3, Resulting Numbers: [68, 3] Generated Node #0,1,1: 62:[68, 3] Operation: 9/3=3 Exploring Operation: 68-9=59, Resulting Numbers: [3, 59] Generated Node #0,1,2: 62:[3, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[3, 59], Operations: ['43-40=3', '68-9=59'] Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,62 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[43, 9, 68, 40], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [9, 68, 3] Generated Node #0,1: 62:[9, 68, 3] Operation: 43-40=3 Moving to Node #0,1 Current State: 62:[9, 68, 3], Operations: ['43-40=3'] Exploring Operation: 68-9=59, Resulting Numbers: [3, 59] Generated Node #0,1,2: 62:[3, 59] Operation: 68-9=59 Moving to Node #0,1,2 Current State: 62:[3, 59], Operations: ['43-40=3', '68-9=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 93, 49, 45, 36 ]
53
[ "93-49=44", "45-36=9", "44+9=53" ]
Current State: 53:[93, 49, 45, 36], Operations: [] Exploring Operation: 93-49=44, Resulting Numbers: [45, 36, 44] Generated Node #2: [45, 36, 44] from Operation: 93-49=44 Current State: 53:[45, 36, 44], Operations: ['93-49=44'] Exploring Operation: 45-36=9, Resulting Numbers: [44, 9] Generated Node #3: [44, 9] from Operation: 45-36=9 Current State: 53:[44, 9], Operations: ['93-49=44', '45-36=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[93, 49, 45, 36], Operations: [] Exploring Operation: 49+36=85, Resulting Numbers: [93, 45, 85] Generated Node #0,0: 53:[93, 45, 85] Operation: 49+36=85 Exploring Operation: 93-36=57, Resulting Numbers: [49, 45, 57] Generated Node #0,1: 53:[49, 45, 57] Operation: 93-36=57 Exploring Operation: 93-45=48, Resulting Numbers: [49, 36, 48] Generated Node #0,2: 53:[49, 36, 48] Operation: 93-45=48 Exploring Operation: 45+36=81, Resulting Numbers: [93, 49, 81] Generated Node #0,3: 53:[93, 49, 81] Operation: 45+36=81 Exploring Operation: 93-49=44, Resulting Numbers: [45, 36, 44] Generated Node #0,4: 53:[45, 36, 44] Operation: 93-49=44 Moving to Node #0,1 Current State: 53:[49, 45, 57], Operations: ['93-36=57'] Exploring Operation: 49-45=4, Resulting Numbers: [57, 4] Generated Node #0,1,0: 53:[57, 4] Operation: 49-45=4 Exploring Operation: 57-49=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 53:[45, 8] Operation: 57-49=8 Exploring Operation: 57-45=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 53:[49, 12] Operation: 57-45=12 Exploring Operation: 45+57=102, Resulting Numbers: [49, 102] Generated Node #0,1,3: 53:[49, 102] Operation: 45+57=102 Exploring Operation: 49+45=94, Resulting Numbers: [57, 94] Generated Node #0,1,4: 53:[57, 94] Operation: 49+45=94 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[49, 12], Operations: ['93-36=57', '57-45=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,53 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,53 unequal: No Solution No 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: 53:[57, 94], Operations: ['93-36=57', '49+45=94'] Exploring Operation: 57*94=5358, Resulting Numbers: [5358] 5358,53 unequal: No Solution Exploring Operation: 57+94=151, Resulting Numbers: [151] 151,53 unequal: No Solution Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,53 unequal: No Solution No 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: 53:[57, 4], Operations: ['93-36=57', '49-45=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[93, 49, 45, 36], Operations: [] Exploring Operation: 93-36=57, Resulting Numbers: [49, 45, 57] Generated Node #0,1: 53:[49, 45, 57] Operation: 93-36=57 Moving to Node #0,1 Current State: 53:[49, 45, 57], Operations: ['93-36=57'] Exploring Operation: 49-45=4, Resulting Numbers: [57, 4] Generated Node #0,1,0: 53:[57, 4] Operation: 49-45=4 Moving to Node #0,1,0 Current State: 53:[57, 4], Operations: ['93-36=57', '49-45=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 5, 49, 59, 21 ]
82
[ "49-5=44", "59-21=38", "44+38=82" ]
Current State: 82:[5, 49, 59, 21], Operations: [] Exploring Operation: 49-5=44, Resulting Numbers: [59, 21, 44] Generated Node #2: [59, 21, 44] from Operation: 49-5=44 Current State: 82:[59, 21, 44], Operations: ['49-5=44'] Exploring Operation: 59-21=38, Resulting Numbers: [44, 38] Generated Node #3: [44, 38] from Operation: 59-21=38 Current State: 82:[44, 38], Operations: ['49-5=44', '59-21=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[5, 49, 59, 21], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [5, 49, 38] Generated Node #0,0: 82:[5, 49, 38] Operation: 59-21=38 Exploring Operation: 59+21=80, Resulting Numbers: [5, 49, 80] Generated Node #0,1: 82:[5, 49, 80] Operation: 59+21=80 Moving to Node #0,1 Current State: 82:[5, 49, 80], Operations: ['59+21=80'] Exploring Operation: 5+80=85, Resulting Numbers: [49, 85] Generated Node #0,1,0: 82:[49, 85] Operation: 5+80=85 Exploring Operation: 49-5=44, Resulting Numbers: [80, 44] Generated Node #0,1,1: 82:[80, 44] Operation: 49-5=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[80, 44], Operations: ['59+21=80', '49-5=44'] Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,82 unequal: No Solution No 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: 82:[49, 85], Operations: ['59+21=80', '5+80=85'] Exploring Operation: 49+85=134, Resulting Numbers: [134] 134,82 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,82 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: 82:[5, 49, 38], Operations: ['59-21=38'] Exploring Operation: 49+38=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 82:[5, 87] Operation: 49+38=87 Exploring Operation: 49-5=44, Resulting Numbers: [38, 44] Generated Node #0,0,1: 82:[38, 44] Operation: 49-5=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[38, 44], Operations: ['59-21=38', '49-5=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[5, 49, 59, 21], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [5, 49, 38] Generated Node #0,0: 82:[5, 49, 38] Operation: 59-21=38 Moving to Node #0,0 Current State: 82:[5, 49, 38], Operations: ['59-21=38'] Exploring Operation: 49-5=44, Resulting Numbers: [38, 44] Generated Node #0,0,1: 82:[38, 44] Operation: 49-5=44 Moving to Node #0,0,1 Current State: 82:[38, 44], Operations: ['59-21=38', '49-5=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 40, 81, 29, 67 ]
79
[ "81-40=41", "67-29=38", "41+38=79" ]
Current State: 79:[40, 81, 29, 67], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [29, 67, 41] Generated Node #2: [29, 67, 41] from Operation: 81-40=41 Current State: 79:[29, 67, 41], Operations: ['81-40=41'] Exploring Operation: 67-29=38, Resulting Numbers: [41, 38] Generated Node #3: [41, 38] from Operation: 67-29=38 Current State: 79:[41, 38], Operations: ['81-40=41', '67-29=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[40, 81, 29, 67], Operations: [] Exploring Operation: 40+29=69, Resulting Numbers: [81, 67, 69] Generated Node #0,0: 79:[81, 67, 69] Operation: 40+29=69 Exploring Operation: 29+67=96, Resulting Numbers: [40, 81, 96] Generated Node #0,1: 79:[40, 81, 96] Operation: 29+67=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[81, 67, 69], Operations: ['40+29=69'] Exploring Operation: 81-67=14, Resulting Numbers: [69, 14] Generated Node #0,0,0: 79:[69, 14] Operation: 81-67=14 Exploring Operation: 67+69=136, Resulting Numbers: [81, 136] Generated Node #0,0,1: 79:[81, 136] Operation: 67+69=136 Moving to Node #0,0,1 Current State: 79:[81, 136], Operations: ['40+29=69', '67+69=136'] Exploring Operation: 81+136=217, Resulting Numbers: [217] 217,79 unequal: No Solution Exploring Operation: 136-81=55, Resulting Numbers: [55] 55,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[69, 14], Operations: ['40+29=69', '81-67=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[40, 81, 96], Operations: ['29+67=96'] Exploring Operation: 96-40=56, Resulting Numbers: [81, 56] Generated Node #0,1,0: 79:[81, 56] Operation: 96-40=56 Exploring Operation: 81-40=41, Resulting Numbers: [96, 41] Generated Node #0,1,1: 79:[96, 41] Operation: 81-40=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[81, 56], Operations: ['29+67=96', '96-40=56'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,79 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: 79:[96, 41], Operations: ['29+67=96', '81-40=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,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_2
sum_heuristic
[ 19, 90, 65, 87 ]
82
[ "65+87=152", "152/19=8", "90-8=82" ]
Current State: 82:[19, 90, 65, 87], Operations: [] Exploring Operation: 65+87=152, Resulting Numbers: [19, 90, 152] Generated Node #2: [19, 90, 152] from Operation: 65+87=152 Current State: 82:[19, 90, 152], Operations: ['65+87=152'] Exploring Operation: 152/19=8, Resulting Numbers: [90, 8] Generated Node #3: [90, 8] from Operation: 152/19=8 Current State: 82:[90, 8], Operations: ['65+87=152', '152/19=8'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[19, 90, 65, 87], Operations: [] Exploring Operation: 90-19=71, Resulting Numbers: [65, 87, 71] Generated Node #0,0: 82:[65, 87, 71] Operation: 90-19=71 Exploring Operation: 19+65=84, Resulting Numbers: [90, 87, 84] Generated Node #0,1: 82:[90, 87, 84] Operation: 19+65=84 Exploring Operation: 65-19=46, Resulting Numbers: [90, 87, 46] Generated Node #0,2: 82:[90, 87, 46] Operation: 65-19=46 Moving to Node #0,1 Current State: 82:[90, 87, 84], Operations: ['19+65=84'] Exploring Operation: 90-87=3, Resulting Numbers: [84, 3] Generated Node #0,1,0: 82:[84, 3] Operation: 90-87=3 Exploring Operation: 90-84=6, Resulting Numbers: [87, 6] Generated Node #0,1,1: 82:[87, 6] Operation: 90-84=6 Exploring Operation: 87-84=3, Resulting Numbers: [90, 3] Generated Node #0,1,2: 82:[90, 3] Operation: 87-84=3 Moving to Node #0,2 Current State: 82:[90, 87, 46], Operations: ['65-19=46'] Exploring Operation: 90-46=44, Resulting Numbers: [87, 44] Generated Node #0,2,0: 82:[87, 44] Operation: 90-46=44 Exploring Operation: 90-87=3, Resulting Numbers: [46, 3] Generated Node #0,2,1: 82:[46, 3] Operation: 90-87=3 Exploring Operation: 87-46=41, Resulting Numbers: [90, 41] Generated Node #0,2,2: 82:[90, 41] Operation: 87-46=41 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[46, 3], Operations: ['65-19=46', '90-87=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,82 unequal: No Solution No 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: 82:[87, 44], Operations: ['65-19=46', '90-46=44'] Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,82 unequal: No Solution Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,82 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,82 unequal: No Solution No 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: 82:[90, 41], Operations: ['65-19=46', '87-46=41'] Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,82 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,82 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: 82:[65, 87, 71], Operations: ['90-19=71'] Exploring Operation: 87-71=16, Resulting Numbers: [65, 16] Generated Node #0,0,0: 82:[65, 16] Operation: 87-71=16 Exploring Operation: 71-65=6, Resulting Numbers: [87, 6] Generated Node #0,0,1: 82:[87, 6] Operation: 71-65=6 Exploring Operation: 87-65=22, Resulting Numbers: [71, 22] Generated Node #0,0,2: 82:[71, 22] Operation: 87-65=22 Moving to Node #0,1,0 Current State: 82:[84, 3], Operations: ['19+65=84', '90-87=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[90, 3], Operations: ['19+65=84', '87-84=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[87, 6], Operations: ['19+65=84', '90-84=6'] Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,82 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[87, 6], Operations: ['90-19=71', '71-65=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[71, 22], Operations: ['90-19=71', '87-65=22'] Exploring Operation: 71*22=1562, Resulting Numbers: [1562] 1562,82 unequal: No Solution Exploring Operation: 71+22=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[65, 16], Operations: ['90-19=71', '87-71=16'] Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,82 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 9, 5, 40 ]
83
[ "13*9=117", "5*40=200", "200-117=83" ]
Current State: 83:[13, 9, 5, 40], Operations: [] Exploring Operation: 13*9=117, Resulting Numbers: [5, 40, 117] Generated Node #2: [5, 40, 117] from Operation: 13*9=117 Current State: 83:[5, 40, 117], Operations: ['13*9=117'] Exploring Operation: 5*40=200, Resulting Numbers: [117, 200] Generated Node #3: [117, 200] from Operation: 5*40=200 Current State: 83:[117, 200], Operations: ['13*9=117', '5*40=200'] Exploring Operation: 200-117=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[13, 9, 5, 40], Operations: [] Exploring Operation: 9*5=45, Resulting Numbers: [13, 40, 45] Generated Node #0,0: 83:[13, 40, 45] Operation: 9*5=45 Exploring Operation: 13*9=117, Resulting Numbers: [5, 40, 117] Generated Node #0,1: 83:[5, 40, 117] Operation: 13*9=117 Exploring Operation: 13*5=65, Resulting Numbers: [9, 40, 65] Generated Node #0,2: 83:[9, 40, 65] Operation: 13*5=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[9, 40, 65], Operations: ['13*5=65'] Exploring Operation: 9+40=49, Resulting Numbers: [65, 49] Generated Node #0,2,0: 83:[65, 49] Operation: 9+40=49 Exploring Operation: 40-9=31, Resulting Numbers: [65, 31] Generated Node #0,2,1: 83:[65, 31] Operation: 40-9=31 Exploring Operation: 9+65=74, Resulting Numbers: [40, 74] Generated Node #0,2,2: 83:[40, 74] Operation: 9+65=74 Moving to Node #0,2,0 Current State: 83:[65, 49], Operations: ['13*5=65', '9+40=49'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[40, 74], Operations: ['13*5=65', '9+65=74'] Exploring Operation: 40*74=2960, Resulting Numbers: [2960] 2960,83 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 40+74=114, Resulting Numbers: [114] 114,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[65, 31], Operations: ['13*5=65', '40-9=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,83 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,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 Current State: 83:[13, 40, 45], Operations: ['9*5=45'] Exploring Operation: 13+40=53, Resulting Numbers: [45, 53] Generated Node #0,0,0: 83:[45, 53] Operation: 13+40=53 Exploring Operation: 40+45=85, Resulting Numbers: [13, 85] Generated Node #0,0,1: 83:[13, 85] Operation: 40+45=85 Exploring Operation: 13+45=58, Resulting Numbers: [40, 58] Generated Node #0,0,2: 83:[40, 58] Operation: 13+45=58 Moving to Node #0,0,0 Current State: 83:[45, 53], Operations: ['9*5=45', '13+40=53'] Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 45*53=2385, Resulting Numbers: [2385] 2385,83 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[40, 58], Operations: ['9*5=45', '13+45=58'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[13, 85], Operations: ['9*5=45', '40+45=85'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 13*85=1105, Resulting Numbers: [1105] 1105,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 Current State: 83:[5, 40, 117], Operations: ['13*9=117'] Exploring Operation: 40-5=35, Resulting Numbers: [117, 35] Generated Node #0,1,0: 83:[117, 35] Operation: 40-5=35 Exploring Operation: 117-5=112, Resulting Numbers: [40, 112] Generated Node #0,1,1: 83:[40, 112] Operation: 117-5=112 Exploring Operation: 5+40=45, Resulting Numbers: [117, 45] Generated Node #0,1,2: 83:[117, 45] Operation: 5+40=45 Moving to Node #0,1,1 Current State: 83:[40, 112], Operations: ['13*9=117', '117-5=112'] Exploring Operation: 112-40=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 40+112=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 40*112=4480, Resulting Numbers: [4480] 4480,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[117, 45], Operations: ['13*9=117', '5+40=45'] Exploring Operation: 117-45=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 117*45=5265, Resulting Numbers: [5265] 5265,83 unequal: No Solution Exploring Operation: 117+45=162, Resulting Numbers: [162] 162,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[117, 35], Operations: ['13*9=117', '40-5=35'] Exploring Operation: 117+35=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 117*35=4095, Resulting Numbers: [4095] 4095,83 unequal: No Solution Exploring Operation: 117-35=82, Resulting Numbers: [82] 82,83 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
[ 96, 78, 99, 5 ]
80
[ "96+78=174", "99-5=94", "174-94=80" ]
Current State: 80:[96, 78, 99, 5], Operations: [] Exploring Operation: 96+78=174, Resulting Numbers: [99, 5, 174] Generated Node #2: [99, 5, 174] from Operation: 96+78=174 Current State: 80:[99, 5, 174], Operations: ['96+78=174'] Exploring Operation: 99-5=94, Resulting Numbers: [174, 94] Generated Node #3: [174, 94] from Operation: 99-5=94 Current State: 80:[174, 94], Operations: ['96+78=174', '99-5=94'] Exploring Operation: 174-94=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[96, 78, 99, 5], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [78, 5, 3] Generated Node #0,0: 80:[78, 5, 3] Operation: 99-96=3 Exploring Operation: 99-78=21, Resulting Numbers: [96, 5, 21] Generated Node #0,1: 80:[96, 5, 21] Operation: 99-78=21 Exploring Operation: 96-78=18, Resulting Numbers: [99, 5, 18] Generated Node #0,2: 80:[99, 5, 18] Operation: 96-78=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[78, 5, 3], Operations: ['99-96=3'] Exploring Operation: 5-3=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 80:[78, 2] Operation: 5-3=2 Exploring Operation: 78+3=81, Resulting Numbers: [5, 81] Generated Node #0,0,1: 80:[5, 81] Operation: 78+3=81 Exploring Operation: 5+3=8, Resulting Numbers: [78, 8] Generated Node #0,0,2: 80:[78, 8] Operation: 5+3=8 Moving to Node #0,0,1 Current State: 80:[5, 81], Operations: ['99-96=3', '78+3=81'] Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[78, 2], Operations: ['99-96=3', '5-3=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[96, 78, 99, 5], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [78, 5, 3] Generated Node #0,0: 80:[78, 5, 3] Operation: 99-96=3 Moving to Node #0,0 Current State: 80:[78, 5, 3], Operations: ['99-96=3'] Exploring Operation: 5-3=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 80:[78, 2] Operation: 5-3=2 Moving to Node #0,0,0 Current State: 80:[78, 2], Operations: ['99-96=3', '5-3=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 64, 53, 24, 51 ]
38
[ "64-53=11", "51-24=27", "11+27=38" ]
Current State: 38:[64, 53, 24, 51], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [24, 51, 11] Generated Node #2: [24, 51, 11] from Operation: 64-53=11 Current State: 38:[24, 51, 11], Operations: ['64-53=11'] Exploring Operation: 51-24=27, Resulting Numbers: [11, 27] Generated Node #3: [11, 27] from Operation: 51-24=27 Current State: 38:[11, 27], Operations: ['64-53=11', '51-24=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[64, 53, 24, 51], Operations: [] Exploring Operation: 64-24=40, Resulting Numbers: [53, 51, 40] Generated Node #0,0: 38:[53, 51, 40] Operation: 64-24=40 Exploring Operation: 64-53=11, Resulting Numbers: [24, 51, 11] Generated Node #0,1: 38:[24, 51, 11] Operation: 64-53=11 Exploring Operation: 64-51=13, Resulting Numbers: [53, 24, 13] Generated Node #0,2: 38:[53, 24, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[24, 51, 11], Operations: ['64-53=11'] Exploring Operation: 51-24=27, Resulting Numbers: [11, 27] Generated Node #0,1,0: 38:[11, 27] Operation: 51-24=27 Exploring Operation: 24+11=35, Resulting Numbers: [51, 35] Generated Node #0,1,1: 38:[51, 35] Operation: 24+11=35 Exploring Operation: 51-11=40, Resulting Numbers: [24, 40] Generated Node #0,1,2: 38:[24, 40] Operation: 51-11=40 Moving to Node #0,1,2 Current State: 38:[24, 40], Operations: ['64-53=11', '51-11=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,38 unequal: No Solution Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[11, 27], Operations: ['64-53=11', '51-24=27'] Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,38 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[64, 53, 24, 51], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [24, 51, 11] Generated Node #0,1: 38:[24, 51, 11] Operation: 64-53=11 Moving to Node #0,1 Current State: 38:[24, 51, 11], Operations: ['64-53=11'] Exploring Operation: 51-24=27, Resulting Numbers: [11, 27] Generated Node #0,1,0: 38:[11, 27] Operation: 51-24=27 Moving to Node #0,1,0 Current State: 38:[11, 27], Operations: ['64-53=11', '51-24=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 50, 48, 49, 2 ]
16
[ "50-49=1", "2+1=3", "48/3=16" ]
Current State: 16:[50, 48, 49, 2], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [48, 2, 1] Generated Node #2: [48, 2, 1] from Operation: 50-49=1 Current State: 16:[48, 2, 1], Operations: ['50-49=1'] Exploring Operation: 2+1=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 2+1=3 Current State: 16:[48, 3], Operations: ['50-49=1', '2+1=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[50, 48, 49, 2], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [48, 2, 1] Generated Node #0,0: 16:[48, 2, 1] Operation: 50-49=1 Exploring Operation: 50-48=2, Resulting Numbers: [49, 2, 2] Generated Node #0,1: 16:[49, 2, 2] Operation: 50-48=2 Exploring Operation: 48/2=24, Resulting Numbers: [50, 49, 24] Generated Node #0,2: 16:[50, 49, 24] Operation: 48/2=24 Exploring Operation: 49-48=1, Resulting Numbers: [50, 2, 1] Generated Node #0,3: 16:[50, 2, 1] Operation: 49-48=1 Exploring Operation: 50/2=25, Resulting Numbers: [48, 49, 25] Generated Node #0,4: 16:[48, 49, 25] Operation: 50/2=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[48, 2, 1], Operations: ['50-49=1'] Exploring Operation: 48*1=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 16:[2, 48] Operation: 48*1=48 Exploring Operation: 48-2=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 16:[1, 46] Operation: 48-2=46 Exploring Operation: 48-1=47, Resulting Numbers: [2, 47] Generated Node #0,0,2: 16:[2, 47] Operation: 48-1=47 Exploring Operation: 48/1=48, Resulting Numbers: [2, 48] Generated Node #0,0,3: 16:[2, 48] Operation: 48/1=48 Exploring Operation: 48/2=24, Resulting Numbers: [1, 24] Generated Node #0,0,4: 16:[1, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 16:[1, 24], Operations: ['50-49=1', '48/2=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,16 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: 16:[1, 46], Operations: ['50-49=1', '48-2=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,16 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: 16:[2, 47], Operations: ['50-49=1', '48-1=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,16 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: 16:[2, 48], Operations: ['50-49=1', '48*1=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,16 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,16 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: 16:[2, 48], Operations: ['50-49=1', '48/1=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,16 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,16 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: 16:[49, 2, 2], Operations: ['50-48=2'] Exploring Operation: 2+2=4, Resulting Numbers: [49, 4] Generated Node #0,1,0: 16:[49, 4] Operation: 2+2=4 Exploring Operation: 49-2=47, Resulting Numbers: [2, 47] Generated Node #0,1,1: 16:[2, 47] Operation: 49-2=47 Exploring Operation: 2/2=1, Resulting Numbers: [49, 1] Generated Node #0,1,2: 16:[49, 1] Operation: 2/2=1 Exploring Operation: 2*2=4, Resulting Numbers: [49, 4] Generated Node #0,1,3: 16:[49, 4] Operation: 2*2=4 Exploring Operation: 49-2=47, Resulting Numbers: [2, 47] Generated Node #0,1,4: 16:[2, 47] Operation: 49-2=47 Moving to Node #0,1,1 Current State: 16:[2, 47], Operations: ['50-48=2', '49-2=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[2, 47], Operations: ['50-48=2', '49-2=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[49, 4], Operations: ['50-48=2', '2+2=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[49, 4], Operations: ['50-48=2', '2*2=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[49, 1], Operations: ['50-48=2', '2/2=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[50, 2, 1], Operations: ['49-48=1'] Exploring Operation: 50-1=49, Resulting Numbers: [2, 49] Generated Node #0,3,0: 16:[2, 49] Operation: 50-1=49 Exploring Operation: 50/1=50, Resulting Numbers: [2, 50] Generated Node #0,3,1: 16:[2, 50] Operation: 50/1=50 Exploring Operation: 50/2=25, Resulting Numbers: [1, 25] Generated Node #0,3,2: 16:[1, 25] Operation: 50/2=25 Exploring Operation: 50*1=50, Resulting Numbers: [2, 50] Generated Node #0,3,3: 16:[2, 50] Operation: 50*1=50 Exploring Operation: 50-2=48, Resulting Numbers: [1, 48] Generated Node #0,3,4: 16:[1, 48] Operation: 50-2=48 Moving to Node #0,3,2 Current State: 16:[1, 25], Operations: ['49-48=1', '50/2=25'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[1, 48], Operations: ['49-48=1', '50-2=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[2, 49], Operations: ['49-48=1', '50-1=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[2, 50], Operations: ['49-48=1', '50/1=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,16 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[2, 50], Operations: ['49-48=1', '50*1=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[48, 49, 25], Operations: ['50/2=25'] Exploring Operation: 49-48=1, Resulting Numbers: [25, 1] Generated Node #0,4,0: 16:[25, 1] Operation: 49-48=1 Exploring Operation: 48+49=97, Resulting Numbers: [25, 97] Generated Node #0,4,1: 16:[25, 97] Operation: 48+49=97 Exploring Operation: 48-25=23, Resulting Numbers: [49, 23] Generated Node #0,4,2: 16:[49, 23] Operation: 48-25=23 Exploring Operation: 49-25=24, Resulting Numbers: [48, 24] Generated Node #0,4,3: 16:[48, 24] Operation: 49-25=24 Exploring Operation: 48+25=73, Resulting Numbers: [49, 73] Generated Node #0,4,4: 16:[49, 73] Operation: 48+25=73 Moving to Node #0,4,0 Current State: 16:[25, 1], Operations: ['50/2=25', '49-48=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[48, 24], Operations: ['50/2=25', '49-25=24'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,16 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[49, 23], Operations: ['50/2=25', '48-25=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,16 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[25, 97], Operations: ['50/2=25', '48+49=97'] Exploring Operation: 25*97=2425, Resulting Numbers: [2425] 2425,16 unequal: No Solution Exploring Operation: 25+97=122, Resulting Numbers: [122] 122,16 unequal: No Solution Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[49, 73], Operations: ['50/2=25', '48+25=73'] Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,16 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[50, 49, 24], Operations: ['48/2=24'] Exploring Operation: 50-24=26, Resulting Numbers: [49, 26] Generated Node #0,2,0: 16:[49, 26] Operation: 50-24=26 Exploring Operation: 50-49=1, Resulting Numbers: [24, 1] Generated Node #0,2,1: 16:[24, 1] Operation: 50-49=1 Exploring Operation: 50+24=74, Resulting Numbers: [49, 74] Generated Node #0,2,2: 16:[49, 74] Operation: 50+24=74 Exploring Operation: 50+49=99, Resulting Numbers: [24, 99] Generated Node #0,2,3: 16:[24, 99] Operation: 50+49=99 Exploring Operation: 49-24=25, Resulting Numbers: [50, 25] Generated Node #0,2,4: 16:[50, 25] Operation: 49-24=25 Moving to Node #0,2,1 Current State: 16:[24, 1], Operations: ['48/2=24', '50-49=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,16 unequal: No Solution Moving to Node #0,2,4 Current State: 16:[50, 25], Operations: ['48/2=24', '49-24=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,16 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[49, 26], Operations: ['48/2=24', '50-24=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,16 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[49, 74], Operations: ['48/2=24', '50+24=74'] Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,16 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[24, 99], Operations: ['48/2=24', '50+49=99'] Exploring Operation: 24*99=2376, Resulting Numbers: [2376] 2376,16 unequal: No Solution Exploring Operation: 24+99=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,16 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
[ 26, 16, 9, 39 ]
29
[ "9+39=48", "48/16=3", "26+3=29" ]
Current State: 29:[26, 16, 9, 39], Operations: [] Exploring Operation: 9+39=48, Resulting Numbers: [26, 16, 48] Generated Node #2: [26, 16, 48] from Operation: 9+39=48 Current State: 29:[26, 16, 48], Operations: ['9+39=48'] Exploring Operation: 48/16=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 48/16=3 Current State: 29:[26, 3], Operations: ['9+39=48', '48/16=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[26, 16, 9, 39], Operations: [] Exploring Operation: 16+9=25, Resulting Numbers: [26, 39, 25] Generated Node #0,0: 29:[26, 39, 25] Operation: 16+9=25 Exploring Operation: 26+9=35, Resulting Numbers: [16, 39, 35] Generated Node #0,1: 29:[16, 39, 35] Operation: 26+9=35 Exploring Operation: 39-9=30, Resulting Numbers: [26, 16, 30] Generated Node #0,2: 29:[26, 16, 30] Operation: 39-9=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[26, 39, 25], Operations: ['16+9=25'] Exploring Operation: 39-26=13, Resulting Numbers: [25, 13] Generated Node #0,0,0: 29:[25, 13] Operation: 39-26=13 Exploring Operation: 26+25=51, Resulting Numbers: [39, 51] Generated Node #0,0,1: 29:[39, 51] Operation: 26+25=51 Exploring Operation: 39-25=14, Resulting Numbers: [26, 14] Generated Node #0,0,2: 29:[26, 14] Operation: 39-25=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[26, 14], Operations: ['16+9=25', '39-25=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,29 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: 29:[25, 13], Operations: ['16+9=25', '39-26=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,29 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: 29:[39, 51], Operations: ['16+9=25', '26+25=51'] Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,29 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: 29:[26, 16, 30], Operations: ['39-9=30'] Exploring Operation: 30-16=14, Resulting Numbers: [26, 14] Generated Node #0,2,0: 29:[26, 14] Operation: 30-16=14 Exploring Operation: 26-16=10, Resulting Numbers: [30, 10] Generated Node #0,2,1: 29:[30, 10] Operation: 26-16=10 Exploring Operation: 26+16=42, Resulting Numbers: [30, 42] Generated Node #0,2,2: 29:[30, 42] Operation: 26+16=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[30, 42], Operations: ['39-9=30', '26+16=42'] Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,29 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: 29:[26, 14], Operations: ['39-9=30', '30-16=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,29 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: 29:[30, 10], Operations: ['39-9=30', '26-16=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,29 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: 29:[16, 39, 35], Operations: ['26+9=35'] Exploring Operation: 35-16=19, Resulting Numbers: [39, 19] Generated Node #0,1,0: 29:[39, 19] Operation: 35-16=19 Exploring Operation: 16+39=55, Resulting Numbers: [35, 55] Generated Node #0,1,1: 29:[35, 55] Operation: 16+39=55 Exploring Operation: 39-16=23, Resulting Numbers: [35, 23] Generated Node #0,1,2: 29:[35, 23] Operation: 39-16=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[35, 23], Operations: ['26+9=35', '39-16=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,29 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: 29:[39, 19], Operations: ['26+9=35', '35-16=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,29 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,29 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: 29:[35, 55], Operations: ['26+9=35', '16+39=55'] Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,29 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,29 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
[ 88, 80, 22, 19 ]
39
[ "88/22=4", "80/4=20", "19+20=39" ]
Current State: 39:[88, 80, 22, 19], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [80, 19, 4] Generated Node #2: [80, 19, 4] from Operation: 88/22=4 Current State: 39:[80, 19, 4], Operations: ['88/22=4'] Exploring Operation: 80/4=20, Resulting Numbers: [19, 20] Generated Node #3: [19, 20] from Operation: 80/4=20 Current State: 39:[19, 20], Operations: ['88/22=4', '80/4=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[88, 80, 22, 19], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [22, 19, 8] Generated Node #0,0: 39:[22, 19, 8] Operation: 88-80=8 Exploring Operation: 88-22=66, Resulting Numbers: [80, 19, 66] Generated Node #0,1: 39:[80, 19, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [80, 19, 4] Generated Node #0,2: 39:[80, 19, 4] Operation: 88/22=4 Exploring Operation: 88-19=69, Resulting Numbers: [80, 22, 69] Generated Node #0,3: 39:[80, 22, 69] Operation: 88-19=69 Exploring Operation: 80-22=58, Resulting Numbers: [88, 19, 58] Generated Node #0,4: 39:[88, 19, 58] Operation: 80-22=58 Moving to Node #0,0 Current State: 39:[22, 19, 8], Operations: ['88-80=8'] Exploring Operation: 22+19=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 39:[8, 41] Operation: 22+19=41 Exploring Operation: 22-8=14, Resulting Numbers: [19, 14] Generated Node #0,0,1: 39:[19, 14] Operation: 22-8=14 Exploring Operation: 22-19=3, Resulting Numbers: [8, 3] Generated Node #0,0,2: 39:[8, 3] Operation: 22-19=3 Exploring Operation: 19-8=11, Resulting Numbers: [22, 11] Generated Node #0,0,3: 39:[22, 11] Operation: 19-8=11 Exploring Operation: 22+8=30, Resulting Numbers: [19, 30] Generated Node #0,0,4: 39:[19, 30] Operation: 22+8=30 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[8, 3], Operations: ['88-80=8', '22-19=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[8, 41], Operations: ['88-80=8', '22+19=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,39 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[19, 14], Operations: ['88-80=8', '22-8=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,39 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[22, 11], Operations: ['88-80=8', '19-8=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,39 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[19, 30], Operations: ['88-80=8', '22+8=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,39 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,39 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: 39:[80, 19, 4], Operations: ['88/22=4'] Exploring Operation: 80-19=61, Resulting Numbers: [4, 61] Generated Node #0,2,0: 39:[4, 61] Operation: 80-19=61 Exploring Operation: 80+4=84, Resulting Numbers: [19, 84] Generated Node #0,2,1: 39:[19, 84] Operation: 80+4=84 Exploring Operation: 19-4=15, Resulting Numbers: [80, 15] Generated Node #0,2,2: 39:[80, 15] Operation: 19-4=15 Exploring Operation: 80/4=20, Resulting Numbers: [19, 20] Generated Node #0,2,3: 39:[19, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [19, 76] Generated Node #0,2,4: 39:[19, 76] Operation: 80-4=76 Moving to Node #0,1 Current State: 39:[80, 19, 66], Operations: ['88-22=66'] Exploring Operation: 80+19=99, Resulting Numbers: [66, 99] Generated Node #0,1,0: 39:[66, 99] Operation: 80+19=99 Exploring Operation: 80-66=14, Resulting Numbers: [19, 14] Generated Node #0,1,1: 39:[19, 14] Operation: 80-66=14 Exploring Operation: 80-19=61, Resulting Numbers: [66, 61] Generated Node #0,1,2: 39:[66, 61] Operation: 80-19=61 Exploring Operation: 19+66=85, Resulting Numbers: [80, 85] Generated Node #0,1,3: 39:[80, 85] Operation: 19+66=85 Exploring Operation: 66-19=47, Resulting Numbers: [80, 47] Generated Node #0,1,4: 39:[80, 47] Operation: 66-19=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[19, 14], Operations: ['88-22=66', '80-66=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,39 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[66, 61], Operations: ['88-22=66', '80-19=61'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,39 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 39:[80, 47], Operations: ['88-22=66', '66-19=47'] Exploring Operation: 80*47=3760, Resulting Numbers: [3760] 3760,39 unequal: No Solution Exploring Operation: 80+47=127, Resulting Numbers: [127] 127,39 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[66, 99], Operations: ['88-22=66', '80+19=99'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,39 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[80, 85], Operations: ['88-22=66', '19+66=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,39 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,39 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: 39:[88, 19, 58], Operations: ['80-22=58'] Exploring Operation: 19+58=77, Resulting Numbers: [88, 77] Generated Node #0,4,0: 39:[88, 77] Operation: 19+58=77 Exploring Operation: 88-19=69, Resulting Numbers: [58, 69] Generated Node #0,4,1: 39:[58, 69] Operation: 88-19=69 Exploring Operation: 88+19=107, Resulting Numbers: [58, 107] Generated Node #0,4,2: 39:[58, 107] Operation: 88+19=107 Exploring Operation: 58-19=39, Resulting Numbers: [88, 39] Generated Node #0,4,3: 39:[88, 39] Operation: 58-19=39 Exploring Operation: 88-58=30, Resulting Numbers: [19, 30] Generated Node #0,4,4: 39:[19, 30] Operation: 88-58=30 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 39:[19, 30], Operations: ['80-22=58', '88-58=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,39 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 39:[58, 69], Operations: ['80-22=58', '88-19=69'] Exploring Operation: 58+69=127, Resulting Numbers: [127] 127,39 unequal: No Solution Exploring Operation: 58*69=4002, Resulting Numbers: [4002] 4002,39 unequal: No Solution Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 39:[88, 39], Operations: ['80-22=58', '58-19=39'] Exploring Operation: 88+39=127, Resulting Numbers: [127] 127,39 unequal: No Solution Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 88*39=3432, Resulting Numbers: [3432] 3432,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 39:[88, 77], Operations: ['80-22=58', '19+58=77'] Exploring Operation: 88+77=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 88*77=6776, Resulting Numbers: [6776] 6776,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 39:[58, 107], Operations: ['80-22=58', '88+19=107'] Exploring Operation: 107-58=49, Resulting Numbers: [49] 49,39 unequal: No Solution Exploring Operation: 58+107=165, Resulting Numbers: [165] 165,39 unequal: No Solution Exploring Operation: 58*107=6206, Resulting Numbers: [6206] 6206,39 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: 39:[80, 22, 69], Operations: ['88-19=69'] Exploring Operation: 80-22=58, Resulting Numbers: [69, 58] Generated Node #0,3,0: 39:[69, 58] Operation: 80-22=58 Exploring Operation: 22+69=91, Resulting Numbers: [80, 91] Generated Node #0,3,1: 39:[80, 91] Operation: 22+69=91 Exploring Operation: 69-22=47, Resulting Numbers: [80, 47] Generated Node #0,3,2: 39:[80, 47] Operation: 69-22=47 Exploring Operation: 80+22=102, Resulting Numbers: [69, 102] Generated Node #0,3,3: 39:[69, 102] Operation: 80+22=102 Exploring Operation: 80-69=11, Resulting Numbers: [22, 11] Generated Node #0,3,4: 39:[22, 11] Operation: 80-69=11 Moving to Node #0,3,4 Current State: 39:[22, 11], Operations: ['88-19=69', '80-69=11'] Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,39 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[19, 20], Operations: ['88/22=4', '80/4=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,39 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[88, 80, 22, 19], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [80, 19, 4] Generated Node #0,2: 39:[80, 19, 4] Operation: 88/22=4 Moving to Node #0,2 Current State: 39:[80, 19, 4], Operations: ['88/22=4'] Exploring Operation: 80/4=20, Resulting Numbers: [19, 20] Generated Node #0,2,3: 39:[19, 20] Operation: 80/4=20 Moving to Node #0,2,3 Current State: 39:[19, 20], Operations: ['88/22=4', '80/4=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.924479
hs_5
sum_heuristic
[ 7, 32, 55, 77 ]
92
[ "7*32=224", "55+77=132", "224-132=92" ]
Current State: 92:[7, 32, 55, 77], Operations: [] Exploring Operation: 7*32=224, Resulting Numbers: [55, 77, 224] Generated Node #2: [55, 77, 224] from Operation: 7*32=224 Current State: 92:[55, 77, 224], Operations: ['7*32=224'] Exploring Operation: 55+77=132, Resulting Numbers: [224, 132] Generated Node #3: [224, 132] from Operation: 55+77=132 Current State: 92:[224, 132], Operations: ['7*32=224', '55+77=132'] Exploring Operation: 224-132=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[7, 32, 55, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [7, 55, 45] Generated Node #0,0: 92:[7, 55, 45] Operation: 77-32=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[7, 55, 45], Operations: ['77-32=45'] Exploring Operation: 55-7=48, Resulting Numbers: [45, 48] Generated Node #0,0,0: 92:[45, 48] Operation: 55-7=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[45, 48], Operations: ['77-32=45', '55-7=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,92 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
[ 48, 81, 3, 24 ]
60
[ "81-48=33", "3+24=27", "33+27=60" ]
Current State: 60:[48, 81, 3, 24], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [3, 24, 33] Generated Node #2: [3, 24, 33] from Operation: 81-48=33 Current State: 60:[3, 24, 33], Operations: ['81-48=33'] Exploring Operation: 3+24=27, Resulting Numbers: [33, 27] Generated Node #3: [33, 27] from Operation: 3+24=27 Current State: 60:[33, 27], Operations: ['81-48=33', '3+24=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[48, 81, 3, 24], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [3, 24, 33] Generated Node #0,0: 60:[3, 24, 33] Operation: 81-48=33 Exploring Operation: 81-24=57, Resulting Numbers: [48, 3, 57] Generated Node #0,1: 60:[48, 3, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[3, 24, 33], Operations: ['81-48=33'] Exploring Operation: 24+33=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 60:[3, 57] Operation: 24+33=57 Exploring Operation: 33-24=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 60:[3, 9] Operation: 33-24=9 Moving to Node #0,0,1 Current State: 60:[3, 9], Operations: ['81-48=33', '33-24=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[3, 57], Operations: ['81-48=33', '24+33=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[48, 81, 3, 24], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [3, 24, 33] Generated Node #0,0: 60:[3, 24, 33] Operation: 81-48=33 Moving to Node #0,0 Current State: 60:[3, 24, 33], Operations: ['81-48=33'] Exploring Operation: 24+33=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 60:[3, 57] Operation: 24+33=57 Moving to Node #0,0,0 Current State: 60:[3, 57], Operations: ['81-48=33', '24+33=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 39, 42, 66, 74 ]
73
[ "39+42=81", "74-66=8", "81-8=73" ]
Current State: 73:[39, 42, 66, 74], Operations: [] Exploring Operation: 39+42=81, Resulting Numbers: [66, 74, 81] Generated Node #2: [66, 74, 81] from Operation: 39+42=81 Current State: 73:[66, 74, 81], Operations: ['39+42=81'] Exploring Operation: 74-66=8, Resulting Numbers: [81, 8] Generated Node #3: [81, 8] from Operation: 74-66=8 Current State: 73:[81, 8], Operations: ['39+42=81', '74-66=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[39, 42, 66, 74], Operations: [] Exploring Operation: 42+66=108, Resulting Numbers: [39, 74, 108] Generated Node #0,0: 73:[39, 74, 108] Operation: 42+66=108 Exploring Operation: 39+66=105, Resulting Numbers: [42, 74, 105] Generated Node #0,1: 73:[42, 74, 105] Operation: 39+66=105 Exploring Operation: 39+42=81, Resulting Numbers: [66, 74, 81] Generated Node #0,2: 73:[66, 74, 81] Operation: 39+42=81 Moving to Node #0,2 Current State: 73:[66, 74, 81], Operations: ['39+42=81'] Exploring Operation: 81-74=7, Resulting Numbers: [66, 7] Generated Node #0,2,0: 73:[66, 7] Operation: 81-74=7 Exploring Operation: 74-66=8, Resulting Numbers: [81, 8] Generated Node #0,2,1: 73:[81, 8] Operation: 74-66=8 Exploring Operation: 81-66=15, Resulting Numbers: [74, 15] Generated Node #0,2,2: 73:[74, 15] Operation: 81-66=15 Moving to Node #0,1 Current State: 73:[42, 74, 105], Operations: ['39+66=105'] Exploring Operation: 105-74=31, Resulting Numbers: [42, 31] Generated Node #0,1,0: 73:[42, 31] Operation: 105-74=31 Exploring Operation: 74-42=32, Resulting Numbers: [105, 32] Generated Node #0,1,1: 73:[105, 32] Operation: 74-42=32 Exploring Operation: 105-42=63, Resulting Numbers: [74, 63] Generated Node #0,1,2: 73:[74, 63] Operation: 105-42=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[74, 63], Operations: ['39+66=105', '105-42=63'] Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,73 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,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,1,0 Current State: 73:[42, 31], Operations: ['39+66=105', '105-74=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[39, 42, 66, 74], Operations: [] Exploring Operation: 39+66=105, Resulting Numbers: [42, 74, 105] Generated Node #0,1: 73:[42, 74, 105] Operation: 39+66=105 Moving to Node #0,1 Current State: 73:[42, 74, 105], Operations: ['39+66=105'] Exploring Operation: 105-74=31, Resulting Numbers: [42, 31] Generated Node #0,1,0: 73:[42, 31] Operation: 105-74=31 Moving to Node #0,1,0 Current State: 73:[42, 31], Operations: ['39+66=105', '105-74=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 68, 64, 81, 76 ]
72
[ "81-64=17", "68/17=4", "76-4=72" ]
Current State: 72:[68, 64, 81, 76], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [68, 76, 17] Generated Node #2: [68, 76, 17] from Operation: 81-64=17 Current State: 72:[68, 76, 17], Operations: ['81-64=17'] Exploring Operation: 68/17=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 68/17=4 Current State: 72:[76, 4], Operations: ['81-64=17', '68/17=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 64, 81, 76], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [81, 76, 4] Generated Node #0,0: 72:[81, 76, 4] Operation: 68-64=4 Exploring Operation: 81-68=13, Resulting Numbers: [64, 76, 13] Generated Node #0,1: 72:[64, 76, 13] Operation: 81-68=13 Exploring Operation: 81-64=17, Resulting Numbers: [68, 76, 17] Generated Node #0,2: 72:[68, 76, 17] Operation: 81-64=17 Moving to Node #0,2 Current State: 72:[68, 76, 17], Operations: ['81-64=17'] Exploring Operation: 76-68=8, Resulting Numbers: [17, 8] Generated Node #0,2,0: 72:[17, 8] Operation: 76-68=8 Exploring Operation: 68/17=4, Resulting Numbers: [76, 4] Generated Node #0,2,1: 72:[76, 4] Operation: 68/17=4 Exploring Operation: 68+17=85, Resulting Numbers: [76, 85] Generated Node #0,2,2: 72:[76, 85] Operation: 68+17=85 Moving to Node #0,0 Current State: 72:[81, 76, 4], Operations: ['68-64=4'] Exploring Operation: 81-4=77, Resulting Numbers: [76, 77] Generated Node #0,0,0: 72:[76, 77] Operation: 81-4=77 Exploring Operation: 76-4=72, Resulting Numbers: [81, 72] Generated Node #0,0,1: 72:[81, 72] Operation: 76-4=72 Exploring Operation: 81-76=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 72:[4, 5] Operation: 81-76=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[4, 5], Operations: ['68-64=4', '81-76=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[76, 77], Operations: ['68-64=4', '81-4=77'] Exploring Operation: 76+77=153, Resulting Numbers: [153] 153,72 unequal: No Solution Exploring Operation: 76*77=5852, Resulting Numbers: [5852] 5852,72 unequal: No Solution Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[81, 72], Operations: ['68-64=4', '76-4=72'] Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,72 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,72 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: 72:[64, 76, 13], Operations: ['81-68=13'] Exploring Operation: 76-64=12, Resulting Numbers: [13, 12] Generated Node #0,1,0: 72:[13, 12] Operation: 76-64=12 Exploring Operation: 76-13=63, Resulting Numbers: [64, 63] Generated Node #0,1,1: 72:[64, 63] Operation: 76-13=63 Exploring Operation: 64+13=77, Resulting Numbers: [76, 77] Generated Node #0,1,2: 72:[76, 77] Operation: 64+13=77 Moving to Node #0,2,0 Current State: 72:[17, 8], Operations: ['81-64=17', '76-68=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[13, 12], Operations: ['81-68=13', '76-64=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,72 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[76, 4], Operations: ['81-64=17', '68/17=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[68, 64, 81, 76], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [68, 76, 17] Generated Node #0,2: 72:[68, 76, 17] Operation: 81-64=17 Moving to Node #0,2 Current State: 72:[68, 76, 17], Operations: ['81-64=17'] Exploring Operation: 68/17=4, Resulting Numbers: [76, 4] Generated Node #0,2,1: 72:[76, 4] Operation: 68/17=4 Moving to Node #0,2,1 Current State: 72:[76, 4], Operations: ['81-64=17', '68/17=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.970486
hs_3
sum_heuristic
[ 81, 92, 49, 95 ]
57
[ "92-81=11", "95-49=46", "11+46=57" ]
Current State: 57:[81, 92, 49, 95], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [49, 95, 11] Generated Node #2: [49, 95, 11] from Operation: 92-81=11 Current State: 57:[49, 95, 11], Operations: ['92-81=11'] Exploring Operation: 95-49=46, Resulting Numbers: [11, 46] Generated Node #3: [11, 46] from Operation: 95-49=46 Current State: 57:[11, 46], Operations: ['92-81=11', '95-49=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[81, 92, 49, 95], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [49, 95, 11] Generated Node #0,0: 57:[49, 95, 11] Operation: 92-81=11 Exploring Operation: 95-81=14, Resulting Numbers: [92, 49, 14] Generated Node #0,1: 57:[92, 49, 14] Operation: 95-81=14 Exploring Operation: 95-92=3, Resulting Numbers: [81, 49, 3] Generated Node #0,2: 57:[81, 49, 3] Operation: 95-92=3 Moving to Node #0,2 Current State: 57:[81, 49, 3], Operations: ['95-92=3'] Exploring Operation: 81-49=32, Resulting Numbers: [3, 32] Generated Node #0,2,0: 57:[3, 32] Operation: 81-49=32 Exploring Operation: 81-3=78, Resulting Numbers: [49, 78] Generated Node #0,2,1: 57:[49, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [49, 27] Generated Node #0,2,2: 57:[49, 27] Operation: 81/3=27 Moving to Node #0,1 Current State: 57:[92, 49, 14], Operations: ['95-81=14'] Exploring Operation: 92-49=43, Resulting Numbers: [14, 43] Generated Node #0,1,0: 57:[14, 43] Operation: 92-49=43 Exploring Operation: 49+14=63, Resulting Numbers: [92, 63] Generated Node #0,1,1: 57:[92, 63] Operation: 49+14=63 Exploring Operation: 92-14=78, Resulting Numbers: [49, 78] Generated Node #0,1,2: 57:[49, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 57:[49, 95, 11], Operations: ['92-81=11'] Exploring Operation: 49+11=60, Resulting Numbers: [95, 60] Generated Node #0,0,0: 57:[95, 60] Operation: 49+11=60 Exploring Operation: 95-49=46, Resulting Numbers: [11, 46] Generated Node #0,0,1: 57:[11, 46] Operation: 95-49=46 Exploring Operation: 95-11=84, Resulting Numbers: [49, 84] Generated Node #0,0,2: 57:[49, 84] Operation: 95-11=84 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[11, 46], Operations: ['92-81=11', '95-49=46'] Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,57 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[81, 92, 49, 95], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [49, 95, 11] Generated Node #0,0: 57:[49, 95, 11] Operation: 92-81=11 Moving to Node #0,0 Current State: 57:[49, 95, 11], Operations: ['92-81=11'] Exploring Operation: 95-49=46, Resulting Numbers: [11, 46] Generated Node #0,0,1: 57:[11, 46] Operation: 95-49=46 Moving to Node #0,0,1 Current State: 57:[11, 46], Operations: ['92-81=11', '95-49=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 25, 75, 26, 45 ]
16
[ "75/25=3", "45-26=19", "19-3=16" ]
Current State: 16:[25, 75, 26, 45], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [26, 45, 3] Generated Node #2: [26, 45, 3] from Operation: 75/25=3 Current State: 16:[26, 45, 3], Operations: ['75/25=3'] Exploring Operation: 45-26=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 45-26=19 Current State: 16:[3, 19], Operations: ['75/25=3', '45-26=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[25, 75, 26, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [25, 26, 30] Generated Node #0,0: 16:[25, 26, 30] Operation: 75-45=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[25, 26, 30], Operations: ['75-45=30'] Exploring Operation: 30-26=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 16:[25, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[25, 4], Operations: ['75-45=30', '30-26=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,16 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
[ 45, 59, 66, 2 ]
40
[ "45+59=104", "66-2=64", "104-64=40" ]
Current State: 40:[45, 59, 66, 2], Operations: [] Exploring Operation: 45+59=104, Resulting Numbers: [66, 2, 104] Generated Node #2: [66, 2, 104] from Operation: 45+59=104 Current State: 40:[66, 2, 104], Operations: ['45+59=104'] Exploring Operation: 66-2=64, Resulting Numbers: [104, 64] Generated Node #3: [104, 64] from Operation: 66-2=64 Current State: 40:[104, 64], Operations: ['45+59=104', '66-2=64'] Exploring Operation: 104-64=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[45, 59, 66, 2], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [59, 2, 21] Generated Node #0,0: 40:[59, 2, 21] Operation: 66-45=21 Exploring Operation: 66-59=7, Resulting Numbers: [45, 2, 7] Generated Node #0,1: 40:[45, 2, 7] Operation: 66-59=7 Moving to Node #0,1 Current State: 40:[45, 2, 7], Operations: ['66-59=7'] Exploring Operation: 45-2=43, Resulting Numbers: [7, 43] Generated Node #0,1,0: 40:[7, 43] Operation: 45-2=43 Exploring Operation: 45-7=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 40:[2, 38] Operation: 45-7=38 Moving to Node #0,0 Current State: 40:[59, 2, 21], Operations: ['66-45=21'] Exploring Operation: 59-2=57, Resulting Numbers: [21, 57] Generated Node #0,0,0: 40:[21, 57] Operation: 59-2=57 Exploring Operation: 59-21=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 40:[2, 38] Operation: 59-21=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[2, 38], Operations: ['66-45=21', '59-21=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[45, 59, 66, 2], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [59, 2, 21] Generated Node #0,0: 40:[59, 2, 21] Operation: 66-45=21 Moving to Node #0,0 Current State: 40:[59, 2, 21], Operations: ['66-45=21'] Exploring Operation: 59-21=38, Resulting Numbers: [2, 38] Generated Node #0,0,1: 40:[2, 38] Operation: 59-21=38 Moving to Node #0,0,1 Current State: 40:[2, 38], Operations: ['66-45=21', '59-21=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 96, 74, 88, 71 ]
67
[ "96-74=22", "88/22=4", "71-4=67" ]
Current State: 67:[96, 74, 88, 71], Operations: [] Exploring Operation: 96-74=22, Resulting Numbers: [88, 71, 22] Generated Node #2: [88, 71, 22] from Operation: 96-74=22 Current State: 67:[88, 71, 22], Operations: ['96-74=22'] Exploring Operation: 88/22=4, Resulting Numbers: [71, 4] Generated Node #3: [71, 4] from Operation: 88/22=4 Current State: 67:[71, 4], Operations: ['96-74=22', '88/22=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[96, 74, 88, 71], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [74, 71, 8] Generated Node #0,0: 67:[74, 71, 8] Operation: 96-88=8 Exploring Operation: 88-74=14, Resulting Numbers: [96, 71, 14] Generated Node #0,1: 67:[96, 71, 14] Operation: 88-74=14 Exploring Operation: 96-74=22, Resulting Numbers: [88, 71, 22] Generated Node #0,2: 67:[88, 71, 22] Operation: 96-74=22 Exploring Operation: 88-71=17, Resulting Numbers: [96, 74, 17] Generated Node #0,3: 67:[96, 74, 17] Operation: 88-71=17 Exploring Operation: 96-71=25, Resulting Numbers: [74, 88, 25] Generated Node #0,4: 67:[74, 88, 25] Operation: 96-71=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[74, 71, 8], Operations: ['96-88=8'] Exploring Operation: 71+8=79, Resulting Numbers: [74, 79] Generated Node #0,0,0: 67:[74, 79] Operation: 71+8=79 Exploring Operation: 74-8=66, Resulting Numbers: [71, 66] Generated Node #0,0,1: 67:[71, 66] Operation: 74-8=66 Exploring Operation: 74+8=82, Resulting Numbers: [71, 82] Generated Node #0,0,2: 67:[71, 82] Operation: 74+8=82 Exploring Operation: 74-71=3, Resulting Numbers: [8, 3] Generated Node #0,0,3: 67:[8, 3] Operation: 74-71=3 Exploring Operation: 71-8=63, Resulting Numbers: [74, 63] Generated Node #0,0,4: 67:[74, 63] Operation: 71-8=63 Moving to Node #0,0,1 Current State: 67:[71, 66], Operations: ['96-88=8', '74-8=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[74, 63], Operations: ['96-88=8', '71-8=63'] Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 74*63=4662, Resulting Numbers: [4662] 4662,67 unequal: No Solution Exploring Operation: 74+63=137, Resulting Numbers: [137] 137,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[74, 79], Operations: ['96-88=8', '71+8=79'] Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[71, 82], Operations: ['96-88=8', '74+8=82'] Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,67 unequal: No Solution Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[8, 3], Operations: ['96-88=8', '74-71=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[88, 71, 22], Operations: ['96-74=22'] Exploring Operation: 71+22=93, Resulting Numbers: [88, 93] Generated Node #0,2,0: 67:[88, 93] Operation: 71+22=93 Exploring Operation: 88+22=110, Resulting Numbers: [71, 110] Generated Node #0,2,1: 67:[71, 110] Operation: 88+22=110 Exploring Operation: 71-22=49, Resulting Numbers: [88, 49] Generated Node #0,2,2: 67:[88, 49] Operation: 71-22=49 Exploring Operation: 88-22=66, Resulting Numbers: [71, 66] Generated Node #0,2,3: 67:[71, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [71, 4] Generated Node #0,2,4: 67:[71, 4] Operation: 88/22=4 Moving to Node #0,2,3 Current State: 67:[71, 66], Operations: ['96-74=22', '88-22=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[88, 49], Operations: ['96-74=22', '71-22=49'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[88, 93], Operations: ['96-74=22', '71+22=93'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 88*93=8184, Resulting Numbers: [8184] 8184,67 unequal: No Solution Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[71, 110], Operations: ['96-74=22', '88+22=110'] Exploring Operation: 110-71=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 71+110=181, Resulting Numbers: [181] 181,67 unequal: No Solution Exploring Operation: 71*110=7810, Resulting Numbers: [7810] 7810,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[71, 4], Operations: ['96-74=22', '88/22=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[96, 74, 88, 71], Operations: [] Exploring Operation: 96-74=22, Resulting Numbers: [88, 71, 22] Generated Node #0,2: 67:[88, 71, 22] Operation: 96-74=22 Moving to Node #0,2 Current State: 67:[88, 71, 22], Operations: ['96-74=22'] Exploring Operation: 88/22=4, Resulting Numbers: [71, 4] Generated Node #0,2,4: 67:[71, 4] Operation: 88/22=4 Moving to Node #0,2,4 Current State: 67:[71, 4], Operations: ['96-74=22', '88/22=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 5, 27, 24, 57 ]
12
[ "27-24=3", "57+3=60", "60/5=12" ]
Current State: 12:[5, 27, 24, 57], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [5, 57, 3] Generated Node #2: [5, 57, 3] from Operation: 27-24=3 Current State: 12:[5, 57, 3], Operations: ['27-24=3'] Exploring Operation: 57+3=60, Resulting Numbers: [5, 60] Generated Node #3: [5, 60] from Operation: 57+3=60 Current State: 12:[5, 60], Operations: ['27-24=3', '57+3=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 27, 24, 57], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [5, 24, 30] Generated Node #0,0: 12:[5, 24, 30] Operation: 57-27=30 Exploring Operation: 24-5=19, Resulting Numbers: [27, 57, 19] Generated Node #0,1: 12:[27, 57, 19] Operation: 24-5=19 Exploring Operation: 27-5=22, Resulting Numbers: [24, 57, 22] Generated Node #0,2: 12:[24, 57, 22] Operation: 27-5=22 Exploring Operation: 27-24=3, Resulting Numbers: [5, 57, 3] Generated Node #0,3: 12:[5, 57, 3] Operation: 27-24=3 Exploring Operation: 57-24=33, Resulting Numbers: [5, 27, 33] Generated Node #0,4: 12:[5, 27, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[5, 24, 30], Operations: ['57-27=30'] Exploring Operation: 30-5=25, Resulting Numbers: [24, 25] Generated Node #0,0,0: 12:[24, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [24, 6] Generated Node #0,0,1: 12:[24, 6] Operation: 30/5=6 Exploring Operation: 5+24=29, Resulting Numbers: [30, 29] Generated Node #0,0,2: 12:[30, 29] Operation: 5+24=29 Exploring Operation: 24-5=19, Resulting Numbers: [30, 19] Generated Node #0,0,3: 12:[30, 19] Operation: 24-5=19 Exploring Operation: 30-24=6, Resulting Numbers: [5, 6] Generated Node #0,0,4: 12:[5, 6] Operation: 30-24=6 Moving to Node #0,0,4 Current State: 12:[5, 6], Operations: ['57-27=30', '30-24=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[24, 6], Operations: ['57-27=30', '30/5=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[24, 25], Operations: ['57-27=30', '30-5=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,12 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[30, 19], Operations: ['57-27=30', '24-5=19'] Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,12 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[30, 29], Operations: ['57-27=30', '5+24=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,12 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,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,4 Current State: 12:[5, 27, 33], Operations: ['57-24=33'] Exploring Operation: 27-5=22, Resulting Numbers: [33, 22] Generated Node #0,4,0: 12:[33, 22] Operation: 27-5=22 Exploring Operation: 5+33=38, Resulting Numbers: [27, 38] Generated Node #0,4,1: 12:[27, 38] Operation: 5+33=38 Exploring Operation: 33-27=6, Resulting Numbers: [5, 6] Generated Node #0,4,2: 12:[5, 6] Operation: 33-27=6 Exploring Operation: 33-5=28, Resulting Numbers: [27, 28] Generated Node #0,4,3: 12:[27, 28] Operation: 33-5=28 Exploring Operation: 5+27=32, Resulting Numbers: [33, 32] Generated Node #0,4,4: 12:[33, 32] Operation: 5+27=32 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 12:[5, 6], Operations: ['57-24=33', '33-27=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 12:[33, 22], Operations: ['57-24=33', '27-5=22'] Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,12 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 12:[27, 28], Operations: ['57-24=33', '33-5=28'] Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,12 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 12:[27, 38], Operations: ['57-24=33', '5+33=38'] Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,12 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 12:[33, 32], Operations: ['57-24=33', '5+27=32'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 33*32=1056, Resulting Numbers: [1056] 1056,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[5, 57, 3], Operations: ['27-24=3'] Exploring Operation: 57-5=52, Resulting Numbers: [3, 52] Generated Node #0,3,0: 12:[3, 52] Operation: 57-5=52 Exploring Operation: 5+3=8, Resulting Numbers: [57, 8] Generated Node #0,3,1: 12:[57, 8] Operation: 5+3=8 Exploring Operation: 57-3=54, Resulting Numbers: [5, 54] Generated Node #0,3,2: 12:[5, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [5, 19] Generated Node #0,3,3: 12:[5, 19] Operation: 57/3=19 Exploring Operation: 5-3=2, Resulting Numbers: [57, 2] Generated Node #0,3,4: 12:[57, 2] Operation: 5-3=2 Moving to Node #0,3,3 Current State: 12:[5, 19], Operations: ['27-24=3', '57/3=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[3, 52], Operations: ['27-24=3', '57-5=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,12 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[5, 54], Operations: ['27-24=3', '57-3=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,12 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[57, 2], Operations: ['27-24=3', '5-3=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[57, 8], Operations: ['27-24=3', '5+3=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,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:[27, 57, 19], Operations: ['24-5=19'] Exploring Operation: 27-19=8, Resulting Numbers: [57, 8] Generated Node #0,1,0: 12:[57, 8] Operation: 27-19=8 Exploring Operation: 57-19=38, Resulting Numbers: [27, 38] Generated Node #0,1,1: 12:[27, 38] Operation: 57-19=38 Exploring Operation: 57-27=30, Resulting Numbers: [19, 30] Generated Node #0,1,2: 12:[19, 30] Operation: 57-27=30 Exploring Operation: 27+57=84, Resulting Numbers: [19, 84] Generated Node #0,1,3: 12:[19, 84] Operation: 27+57=84 Exploring Operation: 57/19=3, Resulting Numbers: [27, 3] Generated Node #0,1,4: 12:[27, 3] Operation: 57/19=3 Moving to Node #0,1,4 Current State: 12:[27, 3], Operations: ['24-5=19', '57/19=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[19, 30], Operations: ['24-5=19', '57-27=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,12 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[27, 38], Operations: ['24-5=19', '57-19=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[57, 8], Operations: ['24-5=19', '27-19=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,12 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[19, 84], Operations: ['24-5=19', '27+57=84'] Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,12 unequal: No Solution Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,12 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[24, 57, 22], Operations: ['27-5=22'] Exploring Operation: 57-22=35, Resulting Numbers: [24, 35] Generated Node #0,2,0: 12:[24, 35] Operation: 57-22=35 Exploring Operation: 24+57=81, Resulting Numbers: [22, 81] Generated Node #0,2,1: 12:[22, 81] Operation: 24+57=81 Exploring Operation: 57-24=33, Resulting Numbers: [22, 33] Generated Node #0,2,2: 12:[22, 33] Operation: 57-24=33 Exploring Operation: 24-22=2, Resulting Numbers: [57, 2] Generated Node #0,2,3: 12:[57, 2] Operation: 24-22=2 Exploring Operation: 24+22=46, Resulting Numbers: [57, 46] Generated Node #0,2,4: 12:[57, 46] Operation: 24+22=46 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[22, 33], Operations: ['27-5=22', '57-24=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,12 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[24, 35], Operations: ['27-5=22', '57-22=35'] Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,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:[57, 2], Operations: ['27-5=22', '24-22=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[22, 81], Operations: ['27-5=22', '24+57=81'] Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,12 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,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,4 Current State: 12:[57, 46], Operations: ['27-5=22', '24+22=46'] Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,12 unequal: No Solution Exploring Operation: 57*46=2622, Resulting Numbers: [2622] 2622,12 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,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
sum_heuristic
[ 15, 85, 4, 23 ]
87
[ "23-15=8", "8/4=2", "85+2=87" ]
Current State: 87:[15, 85, 4, 23], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [85, 4, 8] Generated Node #2: [85, 4, 8] from Operation: 23-15=8 Current State: 87:[85, 4, 8], Operations: ['23-15=8'] Exploring Operation: 8/4=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 8/4=2 Current State: 87:[85, 2], Operations: ['23-15=8', '8/4=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[15, 85, 4, 23], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [85, 4, 8] Generated Node #0,0: 87:[85, 4, 8] Operation: 23-15=8 Moving to Node #0,0 Current State: 87:[85, 4, 8], Operations: ['23-15=8'] Exploring Operation: 8-4=4, Resulting Numbers: [85, 4] Generated Node #0,0,0: 87:[85, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[85, 4], Operations: ['23-15=8', '8-4=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,87 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
[ 3, 30, 12, 25 ]
19
[ "3*12=36", "30+25=55", "55-36=19" ]
Current State: 19:[3, 30, 12, 25], Operations: [] Exploring Operation: 3*12=36, Resulting Numbers: [30, 25, 36] Generated Node #2: [30, 25, 36] from Operation: 3*12=36 Current State: 19:[30, 25, 36], Operations: ['3*12=36'] Exploring Operation: 30+25=55, Resulting Numbers: [36, 55] Generated Node #3: [36, 55] from Operation: 30+25=55 Current State: 19:[36, 55], Operations: ['3*12=36', '30+25=55'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[3, 30, 12, 25], Operations: [] Exploring Operation: 25-3=22, Resulting Numbers: [30, 12, 22] Generated Node #0,0: 19:[30, 12, 22] Operation: 25-3=22 Exploring Operation: 3+12=15, Resulting Numbers: [30, 25, 15] Generated Node #0,1: 19:[30, 25, 15] Operation: 3+12=15 Exploring Operation: 30-3=27, Resulting Numbers: [12, 25, 27] Generated Node #0,2: 19:[12, 25, 27] Operation: 30-3=27 Moving to Node #0,0 Current State: 19:[30, 12, 22], Operations: ['25-3=22'] Exploring Operation: 30-22=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 19:[12, 8] Operation: 30-22=8 Exploring Operation: 30-12=18, Resulting Numbers: [22, 18] Generated Node #0,0,1: 19:[22, 18] Operation: 30-12=18 Exploring Operation: 22-12=10, Resulting Numbers: [30, 10] Generated Node #0,0,2: 19:[30, 10] Operation: 22-12=10 Moving to Node #0,1 Current State: 19:[30, 25, 15], Operations: ['3+12=15'] Exploring Operation: 30-25=5, Resulting Numbers: [15, 5] Generated Node #0,1,0: 19:[15, 5] Operation: 30-25=5 Exploring Operation: 25-15=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 19:[30, 10] Operation: 25-15=10 Exploring Operation: 30-15=15, Resulting Numbers: [25, 15] Generated Node #0,1,2: 19:[25, 15] Operation: 30-15=15 Moving to Node #0,2 Current State: 19:[12, 25, 27], Operations: ['30-3=27'] Exploring Operation: 25-12=13, Resulting Numbers: [27, 13] Generated Node #0,2,0: 19:[27, 13] Operation: 25-12=13 Exploring Operation: 27-12=15, Resulting Numbers: [25, 15] Generated Node #0,2,1: 19:[25, 15] Operation: 27-12=15 Exploring Operation: 27-25=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 19:[12, 2] Operation: 27-25=2 Moving to Node #0,0,1 Current State: 19:[22, 18], Operations: ['25-3=22', '30-12=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[25, 15], Operations: ['30-3=27', '27-12=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[25, 15], Operations: ['3+12=15', '30-15=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,19 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[27, 13], Operations: ['30-3=27', '25-12=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[15, 5], Operations: ['3+12=15', '30-25=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[12, 8], Operations: ['25-3=22', '30-22=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[30, 10], Operations: ['25-3=22', '22-12=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[30, 10], Operations: ['3+12=15', '25-15=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[12, 2], Operations: ['30-3=27', '27-25=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 62, 43, 59, 64 ]
51
[ "64-62=2", "43+59=102", "102/2=51" ]
Current State: 51:[62, 43, 59, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [43, 59, 2] Generated Node #2: [43, 59, 2] from Operation: 64-62=2 Current State: 51:[43, 59, 2], Operations: ['64-62=2'] Exploring Operation: 43+59=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 43+59=102 Current State: 51:[2, 102], Operations: ['64-62=2', '43+59=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[62, 43, 59, 64], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [62, 43, 5] Generated Node #0,0: 51:[62, 43, 5] Operation: 64-59=5 Exploring Operation: 62-59=3, Resulting Numbers: [43, 64, 3] Generated Node #0,1: 51:[43, 64, 3] Operation: 62-59=3 Exploring Operation: 64-62=2, Resulting Numbers: [43, 59, 2] Generated Node #0,2: 51:[43, 59, 2] Operation: 64-62=2 Exploring Operation: 62-43=19, Resulting Numbers: [59, 64, 19] Generated Node #0,3: 51:[59, 64, 19] Operation: 62-43=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[43, 59, 2], Operations: ['64-62=2'] Exploring Operation: 43+2=45, Resulting Numbers: [59, 45] Generated Node #0,2,0: 51:[59, 45] Operation: 43+2=45 Exploring Operation: 43-2=41, Resulting Numbers: [59, 41] Generated Node #0,2,1: 51:[59, 41] Operation: 43-2=41 Exploring Operation: 59-43=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 51:[2, 16] Operation: 59-43=16 Exploring Operation: 59-2=57, Resulting Numbers: [43, 57] Generated Node #0,2,3: 51:[43, 57] Operation: 59-2=57 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[2, 16], Operations: ['64-62=2', '59-43=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,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,2,0 Current State: 51:[59, 45], Operations: ['64-62=2', '43+2=45'] Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,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,2,3 Current State: 51:[43, 57], Operations: ['64-62=2', '59-2=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,51 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,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,2,1 Current State: 51:[59, 41], Operations: ['64-62=2', '43-2=41'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,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,0 Current State: 51:[62, 43, 5], Operations: ['64-59=5'] Exploring Operation: 43+5=48, Resulting Numbers: [62, 48] Generated Node #0,0,0: 51:[62, 48] Operation: 43+5=48 Exploring Operation: 62-5=57, Resulting Numbers: [43, 57] Generated Node #0,0,1: 51:[43, 57] Operation: 62-5=57 Exploring Operation: 62+5=67, Resulting Numbers: [43, 67] Generated Node #0,0,2: 51:[43, 67] Operation: 62+5=67 Exploring Operation: 62-43=19, Resulting Numbers: [5, 19] Generated Node #0,0,3: 51:[5, 19] Operation: 62-43=19 Moving to Node #0,0,3 Current State: 51:[5, 19], Operations: ['64-59=5', '62-43=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,51 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[43, 57], Operations: ['64-59=5', '62-5=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,51 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[62, 48], Operations: ['64-59=5', '43+5=48'] Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[43, 67], Operations: ['64-59=5', '62+5=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,51 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,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,1 Current State: 51:[43, 64, 3], Operations: ['62-59=3'] Exploring Operation: 43-3=40, Resulting Numbers: [64, 40] Generated Node #0,1,0: 51:[64, 40] Operation: 43-3=40 Exploring Operation: 43+3=46, Resulting Numbers: [64, 46] Generated Node #0,1,1: 51:[64, 46] Operation: 43+3=46 Exploring Operation: 64-3=61, Resulting Numbers: [43, 61] Generated Node #0,1,2: 51:[43, 61] Operation: 64-3=61 Exploring Operation: 64-43=21, Resulting Numbers: [3, 21] Generated Node #0,1,3: 51:[3, 21] Operation: 64-43=21 Moving to Node #0,1,3 Current State: 51:[3, 21], Operations: ['62-59=3', '64-43=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[43, 61], Operations: ['62-59=3', '64-3=61'] Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[64, 46], Operations: ['62-59=3', '43+3=46'] Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,51 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[64, 40], Operations: ['62-59=3', '43-3=40'] Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,51 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,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:[59, 64, 19], Operations: ['62-43=19'] Exploring Operation: 59-19=40, Resulting Numbers: [64, 40] Generated Node #0,3,0: 51:[64, 40] Operation: 59-19=40 Exploring Operation: 64-59=5, Resulting Numbers: [19, 5] Generated Node #0,3,1: 51:[19, 5] Operation: 64-59=5 Exploring Operation: 64-19=45, Resulting Numbers: [59, 45] Generated Node #0,3,2: 51:[59, 45] Operation: 64-19=45 Exploring Operation: 59+19=78, Resulting Numbers: [64, 78] Generated Node #0,3,3: 51:[64, 78] Operation: 59+19=78 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[19, 5], Operations: ['62-43=19', '64-59=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,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,3,2 Current State: 51:[59, 45], Operations: ['62-43=19', '64-19=45'] Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,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,3,0 Current State: 51:[64, 40], Operations: ['62-43=19', '59-19=40'] Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,51 unequal: No Solution Exploring Operation: 64-40=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,3,3 Current State: 51:[64, 78], Operations: ['62-43=19', '59+19=78'] Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,51 unequal: No Solution Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,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 No solution found.
0
hs_4
sum_heuristic
[ 20, 54, 15, 15 ]
75
[ "20+54=74", "15/15=1", "74+1=75" ]
Current State: 75:[20, 54, 15, 15], Operations: [] Exploring Operation: 20+54=74, Resulting Numbers: [15, 15, 74] Generated Node #2: [15, 15, 74] from Operation: 20+54=74 Current State: 75:[15, 15, 74], Operations: ['20+54=74'] Exploring Operation: 15/15=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 15/15=1 Current State: 75:[74, 1], Operations: ['20+54=74', '15/15=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[20, 54, 15, 15], Operations: [] Exploring Operation: 20+54=74, Resulting Numbers: [15, 15, 74] Generated Node #0,0: 75:[15, 15, 74] Operation: 20+54=74 Exploring Operation: 54-20=34, Resulting Numbers: [15, 15, 34] Generated Node #0,1: 75:[15, 15, 34] Operation: 54-20=34 Moving to Node #0,0 Current State: 75:[15, 15, 74], Operations: ['20+54=74'] Exploring Operation: 15/15=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 75:[74, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [74, 0] Generated Node #0,0,1: 75:[74, 0] Operation: 15-15=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[74, 1], Operations: ['20+54=74', '15/15=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[20, 54, 15, 15], Operations: [] Exploring Operation: 20+54=74, Resulting Numbers: [15, 15, 74] Generated Node #0,0: 75:[15, 15, 74] Operation: 20+54=74 Moving to Node #0,0 Current State: 75:[15, 15, 74], Operations: ['20+54=74'] Exploring Operation: 15/15=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 75:[74, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 75:[74, 1], Operations: ['20+54=74', '15/15=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 30, 57, 17, 78 ]
51
[ "30-17=13", "78/13=6", "57-6=51" ]
Current State: 51:[30, 57, 17, 78], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [57, 78, 13] Generated Node #2: [57, 78, 13] from Operation: 30-17=13 Current State: 51:[57, 78, 13], Operations: ['30-17=13'] Exploring Operation: 78/13=6, Resulting Numbers: [57, 6] Generated Node #3: [57, 6] from Operation: 78/13=6 Current State: 51:[57, 6], Operations: ['30-17=13', '78/13=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[30, 57, 17, 78], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [57, 17, 48] Generated Node #0,0: 51:[57, 17, 48] Operation: 78-30=48 Exploring Operation: 57-30=27, Resulting Numbers: [17, 78, 27] Generated Node #0,1: 51:[17, 78, 27] Operation: 57-30=27 Exploring Operation: 78-17=61, Resulting Numbers: [30, 57, 61] Generated Node #0,2: 51:[30, 57, 61] Operation: 78-17=61 Exploring Operation: 30+17=47, Resulting Numbers: [57, 78, 47] Generated Node #0,3: 51:[57, 78, 47] Operation: 30+17=47 Exploring Operation: 78-57=21, Resulting Numbers: [30, 17, 21] Generated Node #0,4: 51:[30, 17, 21] Operation: 78-57=21 Moving to Node #0,0 Current State: 51:[57, 17, 48], Operations: ['78-30=48'] Exploring Operation: 57-48=9, Resulting Numbers: [17, 9] Generated Node #0,0,0: 51:[17, 9] Operation: 57-48=9 Exploring Operation: 17+48=65, Resulting Numbers: [57, 65] Generated Node #0,0,1: 51:[57, 65] Operation: 17+48=65 Exploring Operation: 57+17=74, Resulting Numbers: [48, 74] Generated Node #0,0,2: 51:[48, 74] Operation: 57+17=74 Exploring Operation: 57-17=40, Resulting Numbers: [48, 40] Generated Node #0,0,3: 51:[48, 40] Operation: 57-17=40 Exploring Operation: 48-17=31, Resulting Numbers: [57, 31] Generated Node #0,0,4: 51:[57, 31] Operation: 48-17=31 Moving to Node #0,4 Current State: 51:[30, 17, 21], Operations: ['78-57=21'] Exploring Operation: 21-17=4, Resulting Numbers: [30, 4] Generated Node #0,4,0: 51:[30, 4] Operation: 21-17=4 Exploring Operation: 30-21=9, Resulting Numbers: [17, 9] Generated Node #0,4,1: 51:[17, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [17, 51] Generated Node #0,4,2: 51:[17, 51] Operation: 30+21=51 Exploring Operation: 30-17=13, Resulting Numbers: [21, 13] Generated Node #0,4,3: 51:[21, 13] Operation: 30-17=13 Exploring Operation: 30+17=47, Resulting Numbers: [21, 47] Generated Node #0,4,4: 51:[21, 47] Operation: 30+17=47 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 51:[17, 51], Operations: ['78-57=21', '30+21=51'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 17*51=867, Resulting Numbers: [867] 867,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,1 Current State: 51:[17, 9], Operations: ['78-57=21', '30-21=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,51 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 17+9=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,4,3 Current State: 51:[21, 13], Operations: ['78-57=21', '30-17=13'] Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,51 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,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,4 Current State: 51:[21, 47], Operations: ['78-57=21', '30+17=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,51 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 47-21=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,4,0 Current State: 51:[30, 4], Operations: ['78-57=21', '21-17=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,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:[30, 57, 61], Operations: ['78-17=61'] Exploring Operation: 30+57=87, Resulting Numbers: [61, 87] Generated Node #0,2,0: 51:[61, 87] Operation: 30+57=87 Exploring Operation: 61-30=31, Resulting Numbers: [57, 31] Generated Node #0,2,1: 51:[57, 31] Operation: 61-30=31 Exploring Operation: 61-57=4, Resulting Numbers: [30, 4] Generated Node #0,2,2: 51:[30, 4] Operation: 61-57=4 Exploring Operation: 57-30=27, Resulting Numbers: [61, 27] Generated Node #0,2,3: 51:[61, 27] Operation: 57-30=27 Exploring Operation: 30+61=91, Resulting Numbers: [57, 91] Generated Node #0,2,4: 51:[57, 91] Operation: 30+61=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[30, 4], Operations: ['78-17=61', '61-57=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,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,2,1 Current State: 51:[57, 31], Operations: ['78-17=61', '61-30=31'] Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,51 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,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,2,3 Current State: 51:[61, 27], Operations: ['78-17=61', '57-30=27'] Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,51 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,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,2,0 Current State: 51:[61, 87], Operations: ['78-17=61', '30+57=87'] Exploring Operation: 61*87=5307, Resulting Numbers: [5307] 5307,51 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 61+87=148, Resulting Numbers: [148] 148,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,2,4 Current State: 51:[57, 91], Operations: ['78-17=61', '30+61=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,51 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,51 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: 51:[17, 78, 27], Operations: ['57-30=27'] Exploring Operation: 78-27=51, Resulting Numbers: [17, 51] Generated Node #0,1,0: 51:[17, 51] Operation: 78-27=51 Exploring Operation: 17+78=95, Resulting Numbers: [27, 95] Generated Node #0,1,1: 51:[27, 95] Operation: 17+78=95 Exploring Operation: 27-17=10, Resulting Numbers: [78, 10] Generated Node #0,1,2: 51:[78, 10] Operation: 27-17=10 Exploring Operation: 17+27=44, Resulting Numbers: [78, 44] Generated Node #0,1,3: 51:[78, 44] Operation: 17+27=44 Exploring Operation: 78-17=61, Resulting Numbers: [27, 61] Generated Node #0,1,4: 51:[27, 61] Operation: 78-17=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[17, 51], Operations: ['57-30=27', '78-27=51'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 17*51=867, Resulting Numbers: [867] 867,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,1,4 Current State: 51:[27, 61], Operations: ['57-30=27', '78-17=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,51 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,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,1,2 Current State: 51:[78, 10], Operations: ['57-30=27', '27-17=10'] Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,51 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,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,1,3 Current State: 51:[78, 44], Operations: ['57-30=27', '17+27=44'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,51 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,51 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,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,1,1 Current State: 51:[27, 95], Operations: ['57-30=27', '17+78=95'] Exploring Operation: 27+95=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 27*95=2565, Resulting Numbers: [2565] 2565,51 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: 51:[57, 78, 47], Operations: ['30+17=47'] Exploring Operation: 78-47=31, Resulting Numbers: [57, 31] Generated Node #0,3,0: 51:[57, 31] Operation: 78-47=31 Exploring Operation: 78+47=125, Resulting Numbers: [57, 125] Generated Node #0,3,1: 51:[57, 125] Operation: 78+47=125 Exploring Operation: 78-57=21, Resulting Numbers: [47, 21] Generated Node #0,3,2: 51:[47, 21] Operation: 78-57=21 Exploring Operation: 57-47=10, Resulting Numbers: [78, 10] Generated Node #0,3,3: 51:[78, 10] Operation: 57-47=10 Exploring Operation: 57+47=104, Resulting Numbers: [78, 104] Generated Node #0,3,4: 51:[78, 104] Operation: 57+47=104 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[47, 21], Operations: ['30+17=47', '78-57=21'] Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,51 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 47-21=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,0 Current State: 51:[57, 31], Operations: ['30+17=47', '78-47=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,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:[78, 10], Operations: ['30+17=47', '57-47=10'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,51 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,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,1 Current State: 51:[57, 125], Operations: ['30+17=47', '78+47=125'] Exploring Operation: 57*125=7125, Resulting Numbers: [7125] 7125,51 unequal: No Solution Exploring Operation: 125-57=68, Resulting Numbers: [68] 68,51 unequal: No Solution Exploring Operation: 57+125=182, Resulting Numbers: [182] 182,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:[78, 104], Operations: ['30+17=47', '57+47=104'] Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,51 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,51 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,51 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: 51:[17, 9], Operations: ['78-30=48', '57-48=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[48, 40], Operations: ['78-30=48', '57-17=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,51 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[57, 65], Operations: ['78-30=48', '17+48=65'] Exploring Operation: 57+65=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 57*65=3705, Resulting Numbers: [3705] 3705,51 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[57, 31], Operations: ['78-30=48', '48-17=31'] Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,51 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[48, 74], Operations: ['78-30=48', '57+17=74'] Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,51 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 48*74=3552, Resulting Numbers: [3552] 3552,51 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 27, 72, 2, 43 ]
80
[ "43-27=16", "16/2=8", "72+8=80" ]
Current State: 80:[27, 72, 2, 43], Operations: [] Exploring Operation: 43-27=16, Resulting Numbers: [72, 2, 16] Generated Node #2: [72, 2, 16] from Operation: 43-27=16 Current State: 80:[72, 2, 16], Operations: ['43-27=16'] Exploring Operation: 16/2=8, Resulting Numbers: [72, 8] Generated Node #3: [72, 8] from Operation: 16/2=8 Current State: 80:[72, 8], Operations: ['43-27=16', '16/2=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[27, 72, 2, 43], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [27, 43, 36] Generated Node #0,0: 80:[27, 43, 36] Operation: 72/2=36 Exploring Operation: 43-27=16, Resulting Numbers: [72, 2, 16] Generated Node #0,1: 80:[72, 2, 16] Operation: 43-27=16 Exploring Operation: 72-27=45, Resulting Numbers: [2, 43, 45] Generated Node #0,2: 80:[2, 43, 45] Operation: 72-27=45 Moving to Node #0,1 Current State: 80:[72, 2, 16], Operations: ['43-27=16'] Exploring Operation: 72+2=74, Resulting Numbers: [16, 74] Generated Node #0,1,0: 80:[16, 74] Operation: 72+2=74 Exploring Operation: 72/2=36, Resulting Numbers: [16, 36] Generated Node #0,1,1: 80:[16, 36] Operation: 72/2=36 Exploring Operation: 72+16=88, Resulting Numbers: [2, 88] Generated Node #0,1,2: 80:[2, 88] Operation: 72+16=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[16, 36], Operations: ['43-27=16', '72/2=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,80 unequal: No Solution No 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: 80:[16, 74], Operations: ['43-27=16', '72+2=74'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,80 unequal: No Solution No 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: 80:[2, 88], Operations: ['43-27=16', '72+16=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,80 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: 80:[2, 43, 45], Operations: ['72-27=45'] Exploring Operation: 43-2=41, Resulting Numbers: [45, 41] Generated Node #0,2,0: 80:[45, 41] Operation: 43-2=41 Exploring Operation: 45-2=43, Resulting Numbers: [43, 43] Generated Node #0,2,1: 80:[43, 43] Operation: 45-2=43 Exploring Operation: 45-43=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 80:[2, 2] Operation: 45-43=2 Moving to Node #0,0 Current State: 80:[27, 43, 36], Operations: ['72/2=36'] Exploring Operation: 43-27=16, Resulting Numbers: [36, 16] Generated Node #0,0,0: 80:[36, 16] Operation: 43-27=16 Exploring Operation: 43+36=79, Resulting Numbers: [27, 79] Generated Node #0,0,1: 80:[27, 79] Operation: 43+36=79 Exploring Operation: 36-27=9, Resulting Numbers: [43, 9] Generated Node #0,0,2: 80:[43, 9] Operation: 36-27=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[36, 16], Operations: ['72/2=36', '43-27=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,80 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,80 unequal: No Solution No 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: 80:[43, 9], Operations: ['72/2=36', '36-27=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,80 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,80 unequal: No Solution No 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: 80:[27, 79], Operations: ['72/2=36', '43+36=79'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 27*79=2133, Resulting Numbers: [2133] 2133,80 unequal: No Solution Exploring Operation: 27+79=106, Resulting Numbers: [106] 106,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 80:[2, 2], Operations: ['72-27=45', '45-43=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[45, 41], Operations: ['72-27=45', '43-2=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,80 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[43, 43], Operations: ['72-27=45', '45-2=43'] Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 93, 69, 27, 69 ]
27
[ "69-69=0", "93*0=0", "27+0=27" ]
Current State: 27:[93, 69, 27, 69], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [93, 27, 0] Generated Node #2: [93, 27, 0] from Operation: 69-69=0 Current State: 27:[93, 27, 0], Operations: ['69-69=0'] Exploring Operation: 93*0=0, Resulting Numbers: [27, 0] Generated Node #3: [27, 0] from Operation: 93*0=0 Current State: 27:[27, 0], Operations: ['69-69=0', '93*0=0'] Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[93, 69, 27, 69], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [27, 69, 24] Generated Node #0,0: 27:[27, 69, 24] Operation: 93-69=24 Moving to Node #0,0 Current State: 27:[27, 69, 24], Operations: ['93-69=24'] Exploring Operation: 69-27=42, Resulting Numbers: [24, 42] Generated Node #0,0,0: 27:[24, 42] Operation: 69-27=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[24, 42], Operations: ['93-69=24', '69-27=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,27 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
[ 23, 45, 87, 4 ]
15
[ "23+45=68", "87-4=83", "83-68=15" ]
Current State: 15:[23, 45, 87, 4], Operations: [] Exploring Operation: 23+45=68, Resulting Numbers: [87, 4, 68] Generated Node #2: [87, 4, 68] from Operation: 23+45=68 Current State: 15:[87, 4, 68], Operations: ['23+45=68'] Exploring Operation: 87-4=83, Resulting Numbers: [68, 83] Generated Node #3: [68, 83] from Operation: 87-4=83 Current State: 15:[68, 83], Operations: ['23+45=68', '87-4=83'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[23, 45, 87, 4], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [23, 4, 42] Generated Node #0,0: 15:[23, 4, 42] Operation: 87-45=42 Moving to Node #0,0 Current State: 15:[23, 4, 42], Operations: ['87-45=42'] Exploring Operation: 42-23=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 15:[4, 19] Operation: 42-23=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[4, 19], Operations: ['87-45=42', '42-23=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[23, 45, 87, 4], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [23, 4, 42] Generated Node #0,0: 15:[23, 4, 42] Operation: 87-45=42 Moving to Node #0,0 Current State: 15:[23, 4, 42], Operations: ['87-45=42'] Exploring Operation: 42-23=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 15:[4, 19] Operation: 42-23=19 Moving to Node #0,0,0 Current State: 15:[4, 19], Operations: ['87-45=42', '42-23=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 83, 35, 95, 22 ]
25
[ "83-35=48", "95-22=73", "73-48=25" ]
Current State: 25:[83, 35, 95, 22], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [95, 22, 48] Generated Node #2: [95, 22, 48] from Operation: 83-35=48 Current State: 25:[95, 22, 48], Operations: ['83-35=48'] Exploring Operation: 95-22=73, Resulting Numbers: [48, 73] Generated Node #3: [48, 73] from Operation: 95-22=73 Current State: 25:[48, 73], Operations: ['83-35=48', '95-22=73'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[83, 35, 95, 22], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [35, 22, 12] Generated Node #0,0: 25:[35, 22, 12] Operation: 95-83=12 Exploring Operation: 83-35=48, Resulting Numbers: [95, 22, 48] Generated Node #0,1: 25:[95, 22, 48] Operation: 83-35=48 Exploring Operation: 95-35=60, Resulting Numbers: [83, 22, 60] Generated Node #0,2: 25:[83, 22, 60] Operation: 95-35=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[35, 22, 12], Operations: ['95-83=12'] Exploring Operation: 35-22=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 25:[12, 13] Operation: 35-22=13 Exploring Operation: 35-12=23, Resulting Numbers: [22, 23] Generated Node #0,0,1: 25:[22, 23] Operation: 35-12=23 Exploring Operation: 22-12=10, Resulting Numbers: [35, 10] Generated Node #0,0,2: 25:[35, 10] Operation: 22-12=10 Moving to Node #0,0,1 Current State: 25:[22, 23], Operations: ['95-83=12', '35-12=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[12, 13], Operations: ['95-83=12', '35-22=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[83, 35, 95, 22], Operations: [] Exploring Operation: 95-83=12, Resulting Numbers: [35, 22, 12] Generated Node #0,0: 25:[35, 22, 12] Operation: 95-83=12 Moving to Node #0,0 Current State: 25:[35, 22, 12], Operations: ['95-83=12'] Exploring Operation: 35-22=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 25:[12, 13] Operation: 35-22=13 Moving to Node #0,0,0 Current State: 25:[12, 13], Operations: ['95-83=12', '35-22=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 81, 26, 74, 33 ]
52
[ "81-26=55", "74+33=107", "107-55=52" ]
Current State: 52:[81, 26, 74, 33], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [74, 33, 55] Generated Node #2: [74, 33, 55] from Operation: 81-26=55 Current State: 52:[74, 33, 55], Operations: ['81-26=55'] Exploring Operation: 74+33=107, Resulting Numbers: [55, 107] Generated Node #3: [55, 107] from Operation: 74+33=107 Current State: 52:[55, 107], Operations: ['81-26=55', '74+33=107'] Exploring Operation: 107-55=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[81, 26, 74, 33], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [74, 33, 55] Generated Node #0,0: 52:[74, 33, 55] Operation: 81-26=55 Exploring Operation: 74-26=48, Resulting Numbers: [81, 33, 48] Generated Node #0,1: 52:[81, 33, 48] Operation: 74-26=48 Exploring Operation: 81-33=48, Resulting Numbers: [26, 74, 48] Generated Node #0,2: 52:[26, 74, 48] Operation: 81-33=48 Exploring Operation: 81-74=7, Resulting Numbers: [26, 33, 7] Generated Node #0,3: 52:[26, 33, 7] Operation: 81-74=7 Moving to Node #0,3 Current State: 52:[26, 33, 7], Operations: ['81-74=7'] Exploring Operation: 33-26=7, Resulting Numbers: [7, 7] Generated Node #0,3,0: 52:[7, 7] Operation: 33-26=7 Exploring Operation: 33+7=40, Resulting Numbers: [26, 40] Generated Node #0,3,1: 52:[26, 40] Operation: 33+7=40 Exploring Operation: 26+33=59, Resulting Numbers: [7, 59] Generated Node #0,3,2: 52:[7, 59] Operation: 26+33=59 Exploring Operation: 33-7=26, Resulting Numbers: [26, 26] Generated Node #0,3,3: 52:[26, 26] Operation: 33-7=26 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[26, 26], Operations: ['81-74=7', '33-7=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,52 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[81, 26, 74, 33], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [26, 33, 7] Generated Node #0,3: 52:[26, 33, 7] Operation: 81-74=7 Moving to Node #0,3 Current State: 52:[26, 33, 7], Operations: ['81-74=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26, 26] Generated Node #0,3,3: 52:[26, 26] Operation: 33-7=26 Moving to Node #0,3,3 Current State: 52:[26, 26], Operations: ['81-74=7', '33-7=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 52, 27, 23, 40 ]
42
[ "52-27=25", "40-23=17", "25+17=42" ]
Current State: 42:[52, 27, 23, 40], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [23, 40, 25] Generated Node #2: [23, 40, 25] from Operation: 52-27=25 Current State: 42:[23, 40, 25], Operations: ['52-27=25'] Exploring Operation: 40-23=17, Resulting Numbers: [25, 17] Generated Node #3: [25, 17] from Operation: 40-23=17 Current State: 42:[25, 17], Operations: ['52-27=25', '40-23=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[52, 27, 23, 40], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [23, 40, 25] Generated Node #0,0: 42:[23, 40, 25] Operation: 52-27=25 Exploring Operation: 52-40=12, Resulting Numbers: [27, 23, 12] Generated Node #0,1: 42:[27, 23, 12] Operation: 52-40=12 Moving to Node #0,0 Current State: 42:[23, 40, 25], Operations: ['52-27=25'] Exploring Operation: 25-23=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 42:[40, 2] Operation: 25-23=2 Exploring Operation: 40-25=15, Resulting Numbers: [23, 15] Generated Node #0,0,1: 42:[23, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[40, 2], Operations: ['52-27=25', '25-23=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[52, 27, 23, 40], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [23, 40, 25] Generated Node #0,0: 42:[23, 40, 25] Operation: 52-27=25 Moving to Node #0,0 Current State: 42:[23, 40, 25], Operations: ['52-27=25'] Exploring Operation: 25-23=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 42:[40, 2] Operation: 25-23=2 Moving to Node #0,0,0 Current State: 42:[40, 2], Operations: ['52-27=25', '25-23=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 1, 47, 79, 64 ]
32
[ "1*47=47", "79-64=15", "47-15=32" ]
Current State: 32:[1, 47, 79, 64], Operations: [] Exploring Operation: 1*47=47, Resulting Numbers: [79, 64, 47] Generated Node #2: [79, 64, 47] from Operation: 1*47=47 Current State: 32:[79, 64, 47], Operations: ['1*47=47'] Exploring Operation: 79-64=15, Resulting Numbers: [47, 15] Generated Node #3: [47, 15] from Operation: 79-64=15 Current State: 32:[47, 15], Operations: ['1*47=47', '79-64=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[1, 47, 79, 64], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [1, 64, 32] Generated Node #0,0: 32:[1, 64, 32] Operation: 79-47=32 Exploring Operation: 79-64=15, Resulting Numbers: [1, 47, 15] Generated Node #0,1: 32:[1, 47, 15] Operation: 79-64=15 Moving to Node #0,1 Current State: 32:[1, 47, 15], Operations: ['79-64=15'] Exploring Operation: 47-15=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 32:[1, 32] Operation: 47-15=32 Exploring Operation: 47-1=46, Resulting Numbers: [15, 46] Generated Node #0,1,1: 32:[15, 46] Operation: 47-1=46 Moving to Node #0,0 Current State: 32:[1, 64, 32], Operations: ['79-47=32'] Exploring Operation: 64/32=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 32:[1, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [1, 32] Generated Node #0,0,1: 32:[1, 32] Operation: 64-32=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[1, 2], Operations: ['79-47=32', '64/32=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,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,0,1 Current State: 32:[1, 32], Operations: ['79-47=32', '64-32=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[1, 47, 79, 64], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [1, 64, 32] Generated Node #0,0: 32:[1, 64, 32] Operation: 79-47=32 Moving to Node #0,0 Current State: 32:[1, 64, 32], Operations: ['79-47=32'] Exploring Operation: 64-32=32, Resulting Numbers: [1, 32] Generated Node #0,0,1: 32:[1, 32] Operation: 64-32=32 Moving to Node #0,0,1 Current State: 32:[1, 32], Operations: ['79-47=32', '64-32=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
mult_heuristic
[ 74, 4, 37, 99 ]
97
[ "74/37=2", "99-4=95", "2+95=97" ]
Current State: 97:[74, 4, 37, 99], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [4, 99, 2] Generated Node #2: [4, 99, 2] from Operation: 74/37=2 Current State: 97:[4, 99, 2], Operations: ['74/37=2'] Exploring Operation: 99-4=95, Resulting Numbers: [2, 95] Generated Node #3: [2, 95] from Operation: 99-4=95 Current State: 97:[2, 95], Operations: ['74/37=2', '99-4=95'] Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[74, 4, 37, 99], Operations: [] Exploring Operation: 4+37=41, Resulting Numbers: [74, 99, 41] Generated Node #0,0: 97:[74, 99, 41] Operation: 4+37=41 Exploring Operation: 74+4=78, Resulting Numbers: [37, 99, 78] Generated Node #0,1: 97:[37, 99, 78] Operation: 74+4=78 Exploring Operation: 4*37=148, Resulting Numbers: [74, 99, 148] Generated Node #0,2: 97:[74, 99, 148] Operation: 4*37=148 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[74, 99, 148], Operations: ['4*37=148'] Exploring Operation: 148/74=2, Resulting Numbers: [99, 2] Generated Node #0,2,0: 97:[99, 2] Operation: 148/74=2 Exploring Operation: 148-99=49, Resulting Numbers: [74, 49] Generated Node #0,2,1: 97:[74, 49] Operation: 148-99=49 Exploring Operation: 148-74=74, Resulting Numbers: [99, 74] Generated Node #0,2,2: 97:[99, 74] Operation: 148-74=74 Moving to Node #0,2,2 Current State: 97:[99, 74], Operations: ['4*37=148', '148-74=74'] Exploring Operation: 99+74=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 99*74=7326, Resulting Numbers: [7326] 7326,97 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[74, 49], Operations: ['4*37=148', '148-99=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[99, 2], Operations: ['4*37=148', '148/74=2'] Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[74, 4, 37, 99], Operations: [] Exploring Operation: 4*37=148, Resulting Numbers: [74, 99, 148] Generated Node #0,2: 97:[74, 99, 148] Operation: 4*37=148 Moving to Node #0,2 Current State: 97:[74, 99, 148], Operations: ['4*37=148'] Exploring Operation: 148/74=2, Resulting Numbers: [99, 2] Generated Node #0,2,0: 97:[99, 2] Operation: 148/74=2 Moving to Node #0,2,0 Current State: 97:[99, 2], Operations: ['4*37=148', '148/74=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 32, 18, 78, 38 ]
75
[ "38-32=6", "18/6=3", "78-3=75" ]
Current State: 75:[32, 18, 78, 38], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [18, 78, 6] Generated Node #2: [18, 78, 6] from Operation: 38-32=6 Current State: 75:[18, 78, 6], Operations: ['38-32=6'] Exploring Operation: 18/6=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 18/6=3 Current State: 75:[78, 3], Operations: ['38-32=6', '18/6=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[32, 18, 78, 38], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [18, 78, 6] Generated Node #0,0: 75:[18, 78, 6] Operation: 38-32=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[18, 78, 6], Operations: ['38-32=6'] Exploring Operation: 18/6=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 18/6=3 Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['38-32=6', '18/6=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[32, 18, 78, 38], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [18, 78, 6] Generated Node #0,0: 75:[18, 78, 6] Operation: 38-32=6 Moving to Node #0,0 Current State: 75:[18, 78, 6], Operations: ['38-32=6'] Exploring Operation: 18/6=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 75:[78, 3] Operation: 18/6=3 Moving to Node #0,0,0 Current State: 75:[78, 3], Operations: ['38-32=6', '18/6=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 40, 79, 86, 2 ]
86
[ "40*2=80", "80-79=1", "86*1=86" ]
Current State: 86:[40, 79, 86, 2], Operations: [] Exploring Operation: 40*2=80, Resulting Numbers: [79, 86, 80] Generated Node #2: [79, 86, 80] from Operation: 40*2=80 Current State: 86:[79, 86, 80], Operations: ['40*2=80'] Exploring Operation: 80-79=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 80-79=1 Current State: 86:[86, 1], Operations: ['40*2=80', '80-79=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[40, 79, 86, 2], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [40, 2, 7] Generated Node #0,0: 86:[40, 2, 7] Operation: 86-79=7 Exploring Operation: 40+2=42, Resulting Numbers: [79, 86, 42] Generated Node #0,1: 86:[79, 86, 42] Operation: 40+2=42 Exploring Operation: 79-40=39, Resulting Numbers: [86, 2, 39] Generated Node #0,2: 86:[86, 2, 39] Operation: 79-40=39 Exploring Operation: 79+2=81, Resulting Numbers: [40, 86, 81] Generated Node #0,3: 86:[40, 86, 81] Operation: 79+2=81 Moving to Node #0,2 Current State: 86:[86, 2, 39], Operations: ['79-40=39'] Exploring Operation: 2+39=41, Resulting Numbers: [86, 41] Generated Node #0,2,0: 86:[86, 41] Operation: 2+39=41 Exploring Operation: 86+2=88, Resulting Numbers: [39, 88] Generated Node #0,2,1: 86:[39, 88] Operation: 86+2=88 Exploring Operation: 86/2=43, Resulting Numbers: [39, 43] Generated Node #0,2,2: 86:[39, 43] Operation: 86/2=43 Exploring Operation: 86-39=47, Resulting Numbers: [2, 47] Generated Node #0,2,3: 86:[2, 47] Operation: 86-39=47 Moving to Node #0,1 Current State: 86:[79, 86, 42], Operations: ['40+2=42'] Exploring Operation: 79+42=121, Resulting Numbers: [86, 121] Generated Node #0,1,0: 86:[86, 121] Operation: 79+42=121 Exploring Operation: 86-42=44, Resulting Numbers: [79, 44] Generated Node #0,1,1: 86:[79, 44] Operation: 86-42=44 Exploring Operation: 79-42=37, Resulting Numbers: [86, 37] Generated Node #0,1,2: 86:[86, 37] Operation: 79-42=37 Exploring Operation: 86-79=7, Resulting Numbers: [42, 7] Generated Node #0,1,3: 86:[42, 7] Operation: 86-79=7 Moving to Node #0,0 Current State: 86:[40, 2, 7], Operations: ['86-79=7'] Exploring Operation: 40+7=47, Resulting Numbers: [2, 47] Generated Node #0,0,0: 86:[2, 47] Operation: 40+7=47 Exploring Operation: 40-2=38, Resulting Numbers: [7, 38] Generated Node #0,0,1: 86:[7, 38] Operation: 40-2=38 Exploring Operation: 7-2=5, Resulting Numbers: [40, 5] Generated Node #0,0,2: 86:[40, 5] Operation: 7-2=5 Exploring Operation: 40+2=42, Resulting Numbers: [7, 42] Generated Node #0,0,3: 86:[7, 42] Operation: 40+2=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[2, 47], Operations: ['86-79=7', '40+7=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[40, 5], Operations: ['86-79=7', '7-2=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,86 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[7, 42], Operations: ['86-79=7', '40+2=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[7, 38], Operations: ['86-79=7', '40-2=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,86 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,86 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: 86:[40, 86, 81], Operations: ['79+2=81'] Exploring Operation: 40+81=121, Resulting Numbers: [86, 121] Generated Node #0,3,0: 86:[86, 121] Operation: 40+81=121 Exploring Operation: 81-40=41, Resulting Numbers: [86, 41] Generated Node #0,3,1: 86:[86, 41] Operation: 81-40=41 Exploring Operation: 86-40=46, Resulting Numbers: [81, 46] Generated Node #0,3,2: 86:[81, 46] Operation: 86-40=46 Exploring Operation: 86-81=5, Resulting Numbers: [40, 5] Generated Node #0,3,3: 86:[40, 5] Operation: 86-81=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[86, 41], Operations: ['79+2=81', '81-40=41'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[40, 5], Operations: ['79+2=81', '86-81=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,86 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[81, 46], Operations: ['79+2=81', '86-40=46'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,86 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[86, 121], Operations: ['79+2=81', '40+81=121'] Exploring Operation: 86*121=10406, Resulting Numbers: [10406] 10406,86 unequal: No Solution Exploring Operation: 86+121=207, Resulting Numbers: [207] 207,86 unequal: No Solution Exploring Operation: 121-86=35, Resulting Numbers: [35] 35,86 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: 86:[86, 41], Operations: ['79-40=39', '2+39=41'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[2, 47], Operations: ['79-40=39', '86-39=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[39, 43], Operations: ['79-40=39', '86/2=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[42, 7], Operations: ['40+2=42', '86-79=7'] Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,86 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[86, 37], Operations: ['40+2=42', '79-42=37'] Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[39, 88], Operations: ['79-40=39', '86+2=88'] Exploring Operation: 39+88=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 39*88=3432, Resulting Numbers: [3432] 3432,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[79, 44], Operations: ['40+2=42', '86-42=44'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,86 unequal: No Solution Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[86, 121], Operations: ['40+2=42', '79+42=121'] Exploring Operation: 121-86=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 86*121=10406, Resulting Numbers: [10406] 10406,86 unequal: No Solution Exploring Operation: 86+121=207, Resulting Numbers: [207] 207,86 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 72, 2, 38, 66 ]
20
[ "38+66=104", "104/2=52", "72-52=20" ]
Current State: 20:[72, 2, 38, 66], Operations: [] Exploring Operation: 38+66=104, Resulting Numbers: [72, 2, 104] Generated Node #2: [72, 2, 104] from Operation: 38+66=104 Current State: 20:[72, 2, 104], Operations: ['38+66=104'] Exploring Operation: 104/2=52, Resulting Numbers: [72, 52] Generated Node #3: [72, 52] from Operation: 104/2=52 Current State: 20:[72, 52], Operations: ['38+66=104', '104/2=52'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[72, 2, 38, 66], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [2, 38, 6] Generated Node #0,0: 20:[2, 38, 6] Operation: 72-66=6 Moving to Node #0,0 Current State: 20:[2, 38, 6], Operations: ['72-66=6'] Exploring Operation: 38/2=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 20:[6, 19] Operation: 38/2=19 Moving to Node #0,0,0 Current State: 20:[6, 19], Operations: ['72-66=6', '38/2=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,20 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 90, 69, 67, 22 ]
71
[ "67-22=45", "90/45=2", "69+2=71" ]
Current State: 71:[90, 69, 67, 22], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [90, 69, 45] Generated Node #2: [90, 69, 45] from Operation: 67-22=45 Current State: 71:[90, 69, 45], Operations: ['67-22=45'] Exploring Operation: 90/45=2, Resulting Numbers: [69, 2] Generated Node #3: [69, 2] from Operation: 90/45=2 Current State: 71:[69, 2], Operations: ['67-22=45', '90/45=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[90, 69, 67, 22], Operations: [] Exploring Operation: 69+22=91, Resulting Numbers: [90, 67, 91] Generated Node #0,0: 71:[90, 67, 91] Operation: 69+22=91 Exploring Operation: 90-22=68, Resulting Numbers: [69, 67, 68] Generated Node #0,1: 71:[69, 67, 68] Operation: 90-22=68 Exploring Operation: 67+22=89, Resulting Numbers: [90, 69, 89] Generated Node #0,2: 71:[90, 69, 89] Operation: 67+22=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[69, 67, 68], Operations: ['90-22=68'] Exploring Operation: 67+68=135, Resulting Numbers: [69, 135] Generated Node #0,1,0: 71:[69, 135] Operation: 67+68=135 Exploring Operation: 69+67=136, Resulting Numbers: [68, 136] Generated Node #0,1,1: 71:[68, 136] Operation: 69+67=136 Exploring Operation: 69+68=137, Resulting Numbers: [67, 137] Generated Node #0,1,2: 71:[67, 137] Operation: 69+68=137 Moving to Node #0,1,0 Current State: 71:[69, 135], Operations: ['90-22=68', '67+68=135'] Exploring Operation: 135-69=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 69+135=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 69*135=9315, Resulting Numbers: [9315] 9315,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[68, 136], Operations: ['90-22=68', '69+67=136'] Exploring Operation: 136-68=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 136/68=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 68+136=204, Resulting Numbers: [204] 204,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[67, 137], Operations: ['90-22=68', '69+68=137'] Exploring Operation: 67*137=9179, Resulting Numbers: [9179] 9179,71 unequal: No Solution Exploring Operation: 137-67=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 67+137=204, Resulting Numbers: [204] 204,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,2 Current State: 71:[90, 69, 89], Operations: ['67+22=89'] Exploring Operation: 90-89=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 71:[69, 1] Operation: 90-89=1 Exploring Operation: 90-69=21, Resulting Numbers: [89, 21] Generated Node #0,2,1: 71:[89, 21] Operation: 90-69=21 Exploring Operation: 89-69=20, Resulting Numbers: [90, 20] Generated Node #0,2,2: 71:[90, 20] Operation: 89-69=20 Moving to Node #0,2,1 Current State: 71:[89, 21], Operations: ['67+22=89', '90-69=21'] Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,71 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[90, 20], Operations: ['67+22=89', '89-69=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[69, 1], Operations: ['67+22=89', '90-89=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,71 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,71 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,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 Current State: 71:[90, 67, 91], Operations: ['69+22=91'] Exploring Operation: 90-67=23, Resulting Numbers: [91, 23] Generated Node #0,0,0: 71:[91, 23] Operation: 90-67=23 Exploring Operation: 91-67=24, Resulting Numbers: [90, 24] Generated Node #0,0,1: 71:[90, 24] Operation: 91-67=24 Exploring Operation: 91-90=1, Resulting Numbers: [67, 1] Generated Node #0,0,2: 71:[67, 1] Operation: 91-90=1 Moving to Node #0,0,1 Current State: 71:[90, 24], Operations: ['69+22=91', '91-67=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 90*24=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution Exploring Operation: 90+24=114, Resulting Numbers: [114] 114,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[91, 23], Operations: ['69+22=91', '90-67=23'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,71 unequal: No Solution Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[67, 1], Operations: ['69+22=91', '91-90=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,71 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
[ 98, 83, 97, 21 ]
91
[ "98-83=15", "97-21=76", "15+76=91" ]
Current State: 91:[98, 83, 97, 21], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [97, 21, 15] Generated Node #2: [97, 21, 15] from Operation: 98-83=15 Current State: 91:[97, 21, 15], Operations: ['98-83=15'] Exploring Operation: 97-21=76, Resulting Numbers: [15, 76] Generated Node #3: [15, 76] from Operation: 97-21=76 Current State: 91:[15, 76], Operations: ['98-83=15', '97-21=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[98, 83, 97, 21], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [97, 21, 15] Generated Node #0,0: 91:[97, 21, 15] Operation: 98-83=15 Exploring Operation: 97-83=14, Resulting Numbers: [98, 21, 14] Generated Node #0,1: 91:[98, 21, 14] Operation: 97-83=14 Exploring Operation: 98-97=1, Resulting Numbers: [83, 21, 1] Generated Node #0,2: 91:[83, 21, 1] Operation: 98-97=1 Exploring Operation: 83+21=104, Resulting Numbers: [98, 97, 104] Generated Node #0,3: 91:[98, 97, 104] Operation: 83+21=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[97, 21, 15], Operations: ['98-83=15'] Exploring Operation: 97+21=118, Resulting Numbers: [15, 118] Generated Node #0,0,0: 91:[15, 118] Operation: 97+21=118 Exploring Operation: 97-15=82, Resulting Numbers: [21, 82] Generated Node #0,0,1: 91:[21, 82] Operation: 97-15=82 Exploring Operation: 21-15=6, Resulting Numbers: [97, 6] Generated Node #0,0,2: 91:[97, 6] Operation: 21-15=6 Exploring Operation: 97-21=76, Resulting Numbers: [15, 76] Generated Node #0,0,3: 91:[15, 76] Operation: 97-21=76 Moving to Node #0,0,2 Current State: 91:[97, 6], Operations: ['98-83=15', '21-15=6'] Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[98, 83, 97, 21], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [97, 21, 15] Generated Node #0,0: 91:[97, 21, 15] Operation: 98-83=15 Moving to Node #0,0 Current State: 91:[97, 21, 15], Operations: ['98-83=15'] Exploring Operation: 21-15=6, Resulting Numbers: [97, 6] Generated Node #0,0,2: 91:[97, 6] Operation: 21-15=6 Moving to Node #0,0,2 Current State: 91:[97, 6], Operations: ['98-83=15', '21-15=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 74, 71, 37, 36 ]
77
[ "71+37=108", "108/36=3", "74+3=77" ]
Current State: 77:[74, 71, 37, 36], Operations: [] Exploring Operation: 71+37=108, Resulting Numbers: [74, 36, 108] Generated Node #2: [74, 36, 108] from Operation: 71+37=108 Current State: 77:[74, 36, 108], Operations: ['71+37=108'] Exploring Operation: 108/36=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 108/36=3 Current State: 77:[74, 3], Operations: ['71+37=108', '108/36=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[74, 71, 37, 36], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [74, 36, 34] Generated Node #0,0: 77:[74, 36, 34] Operation: 71-37=34 Exploring Operation: 74/37=2, Resulting Numbers: [71, 36, 2] Generated Node #0,1: 77:[71, 36, 2] Operation: 74/37=2 Exploring Operation: 37-36=1, Resulting Numbers: [74, 71, 1] Generated Node #0,2: 77:[74, 71, 1] Operation: 37-36=1 Exploring Operation: 37+36=73, Resulting Numbers: [74, 71, 73] Generated Node #0,3: 77:[74, 71, 73] Operation: 37+36=73 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[74, 71, 73], Operations: ['37+36=73'] Exploring Operation: 73-71=2, Resulting Numbers: [74, 2] Generated Node #0,3,0: 77:[74, 2] Operation: 73-71=2 Exploring Operation: 71+73=144, Resulting Numbers: [74, 144] Generated Node #0,3,1: 77:[74, 144] Operation: 71+73=144 Exploring Operation: 74-73=1, Resulting Numbers: [71, 1] Generated Node #0,3,2: 77:[71, 1] Operation: 74-73=1 Exploring Operation: 74-71=3, Resulting Numbers: [73, 3] Generated Node #0,3,3: 77:[73, 3] Operation: 74-71=3 Moving to Node #0,3,0 Current State: 77:[74, 2], Operations: ['37+36=73', '73-71=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,77 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[73, 3], Operations: ['37+36=73', '74-71=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[71, 1], Operations: ['37+36=73', '74-73=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[74, 144], Operations: ['37+36=73', '71+73=144'] Exploring Operation: 144-74=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 74*144=10656, Resulting Numbers: [10656] 10656,77 unequal: No Solution Exploring Operation: 74+144=218, Resulting Numbers: [218] 218,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,2 Current State: 77:[74, 71, 1], Operations: ['37-36=1'] Exploring Operation: 74*1=74, Resulting Numbers: [71, 74] Generated Node #0,2,0: 77:[71, 74] Operation: 74*1=74 Exploring Operation: 74/1=74, Resulting Numbers: [71, 74] Generated Node #0,2,1: 77:[71, 74] Operation: 74/1=74 Exploring Operation: 71+1=72, Resulting Numbers: [74, 72] Generated Node #0,2,2: 77:[74, 72] Operation: 71+1=72 Exploring Operation: 74+1=75, Resulting Numbers: [71, 75] Generated Node #0,2,3: 77:[71, 75] Operation: 74+1=75 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[74, 72], Operations: ['37-36=1', '71+1=72'] Exploring Operation: 74*72=5328, Resulting Numbers: [5328] 5328,77 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 74+72=146, Resulting Numbers: [146] 146,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,2,3 Current State: 77:[71, 75], Operations: ['37-36=1', '74+1=75'] Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,77 unequal: No Solution Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,77 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,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,2,0 Current State: 77:[71, 74], Operations: ['37-36=1', '74*1=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,77 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,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,2,1 Current State: 77:[71, 74], Operations: ['37-36=1', '74/1=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,77 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,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,1 Current State: 77:[71, 36, 2], Operations: ['74/37=2'] Exploring Operation: 36*2=72, Resulting Numbers: [71, 72] Generated Node #0,1,0: 77:[71, 72] Operation: 36*2=72 Exploring Operation: 71+2=73, Resulting Numbers: [36, 73] Generated Node #0,1,1: 77:[36, 73] Operation: 71+2=73 Exploring Operation: 71-36=35, Resulting Numbers: [2, 35] Generated Node #0,1,2: 77:[2, 35] Operation: 71-36=35 Exploring Operation: 36/2=18, Resulting Numbers: [71, 18] Generated Node #0,1,3: 77:[71, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[71, 72], Operations: ['74/37=2', '36*2=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,77 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,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:[71, 18], Operations: ['74/37=2', '36/2=18'] Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,77 unequal: No Solution Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,77 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,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:[36, 73], Operations: ['74/37=2', '71+2=73'] Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,77 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,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,2 Current State: 77:[2, 35], Operations: ['74/37=2', '71-36=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,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:[74, 36, 34], Operations: ['71-37=34'] Exploring Operation: 36+34=70, Resulting Numbers: [74, 70] Generated Node #0,0,0: 77:[74, 70] Operation: 36+34=70 Exploring Operation: 74-34=40, Resulting Numbers: [36, 40] Generated Node #0,0,1: 77:[36, 40] Operation: 74-34=40 Exploring Operation: 74-36=38, Resulting Numbers: [34, 38] Generated Node #0,0,2: 77:[34, 38] Operation: 74-36=38 Exploring Operation: 36-34=2, Resulting Numbers: [74, 2] Generated Node #0,0,3: 77:[74, 2] Operation: 36-34=2 Moving to Node #0,0,3 Current State: 77:[74, 2], Operations: ['71-37=34', '36-34=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,77 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[74, 70], Operations: ['71-37=34', '36+34=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,77 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[34, 38], Operations: ['71-37=34', '74-36=38'] Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,77 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[36, 40], Operations: ['71-37=34', '74-34=40'] Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,77 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,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
[ 85, 8, 24, 6 ]
89
[ "85+8=93", "24/6=4", "93-4=89" ]
Current State: 89:[85, 8, 24, 6], Operations: [] Exploring Operation: 85+8=93, Resulting Numbers: [24, 6, 93] Generated Node #2: [24, 6, 93] from Operation: 85+8=93 Current State: 89:[24, 6, 93], Operations: ['85+8=93'] Exploring Operation: 24/6=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 24/6=4 Current State: 89:[93, 4], Operations: ['85+8=93', '24/6=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[85, 8, 24, 6], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [85, 24, 48] Generated Node #0,0: 89:[85, 24, 48] Operation: 8*6=48 Exploring Operation: 24*6=144, Resulting Numbers: [85, 8, 144] Generated Node #0,1: 89:[85, 8, 144] Operation: 24*6=144 Exploring Operation: 8+6=14, Resulting Numbers: [85, 24, 14] Generated Node #0,2: 89:[85, 24, 14] Operation: 8+6=14 Exploring Operation: 8+24=32, Resulting Numbers: [85, 6, 32] Generated Node #0,3: 89:[85, 6, 32] Operation: 8+24=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[85, 24, 48], Operations: ['8*6=48'] Exploring Operation: 85-24=61, Resulting Numbers: [48, 61] Generated Node #0,0,0: 89:[48, 61] Operation: 85-24=61 Exploring Operation: 48-24=24, Resulting Numbers: [85, 24] Generated Node #0,0,1: 89:[85, 24] Operation: 48-24=24 Exploring Operation: 24+48=72, Resulting Numbers: [85, 72] Generated Node #0,0,2: 89:[85, 72] Operation: 24+48=72 Exploring Operation: 85+24=109, Resulting Numbers: [48, 109] Generated Node #0,0,3: 89:[48, 109] Operation: 85+24=109 Moving to Node #0,0,2 Current State: 89:[85, 72], Operations: ['8*6=48', '24+48=72'] Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[48, 109], Operations: ['8*6=48', '85+24=109'] Exploring Operation: 48+109=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 109-48=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 48*109=5232, Resulting Numbers: [5232] 5232,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[85, 24], Operations: ['8*6=48', '48-24=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[48, 61], Operations: ['8*6=48', '85-24=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,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,1 Current State: 89:[85, 8, 144], Operations: ['24*6=144'] Exploring Operation: 144-8=136, Resulting Numbers: [85, 136] Generated Node #0,1,0: 89:[85, 136] Operation: 144-8=136 Exploring Operation: 85+8=93, Resulting Numbers: [144, 93] Generated Node #0,1,1: 89:[144, 93] Operation: 85+8=93 Exploring Operation: 8+144=152, Resulting Numbers: [85, 152] Generated Node #0,1,2: 89:[85, 152] Operation: 8+144=152 Exploring Operation: 85-8=77, Resulting Numbers: [144, 77] Generated Node #0,1,3: 89:[144, 77] Operation: 85-8=77 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[85, 136], Operations: ['24*6=144', '144-8=136'] Exploring Operation: 85*136=11560, Resulting Numbers: [11560] 11560,89 unequal: No Solution Exploring Operation: 136-85=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 85+136=221, Resulting Numbers: [221] 221,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,1,1 Current State: 89:[144, 93], Operations: ['24*6=144', '85+8=93'] Exploring Operation: 144+93=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 144*93=13392, Resulting Numbers: [13392] 13392,89 unequal: No Solution Exploring Operation: 144-93=51, Resulting Numbers: [51] 51,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,1,2 Current State: 89:[85, 152], Operations: ['24*6=144', '8+144=152'] Exploring Operation: 152-85=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 85+152=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 85*152=12920, Resulting Numbers: [12920] 12920,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,1,3 Current State: 89:[144, 77], Operations: ['24*6=144', '85-8=77'] Exploring Operation: 144*77=11088, Resulting Numbers: [11088] 11088,89 unequal: No Solution Exploring Operation: 144+77=221, Resulting Numbers: [221] 221,89 unequal: No Solution Exploring Operation: 144-77=67, Resulting Numbers: [67] 67,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:[85, 24, 14], Operations: ['8+6=14'] Exploring Operation: 85-14=71, Resulting Numbers: [24, 71] Generated Node #0,2,0: 89:[24, 71] Operation: 85-14=71 Exploring Operation: 85+14=99, Resulting Numbers: [24, 99] Generated Node #0,2,1: 89:[24, 99] Operation: 85+14=99 Exploring Operation: 24+14=38, Resulting Numbers: [85, 38] Generated Node #0,2,2: 89:[85, 38] Operation: 24+14=38 Exploring Operation: 24-14=10, Resulting Numbers: [85, 10] Generated Node #0,2,3: 89:[85, 10] Operation: 24-14=10 Moving to Node #0,2,2 Current State: 89:[85, 38], Operations: ['8+6=14', '24+14=38'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,89 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[24, 99], Operations: ['8+6=14', '85+14=99'] Exploring Operation: 24*99=2376, Resulting Numbers: [2376] 2376,89 unequal: No Solution Exploring Operation: 24+99=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[85, 10], Operations: ['8+6=14', '24-14=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[24, 71], Operations: ['8+6=14', '85-14=71'] Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,89 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,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:[85, 6, 32], Operations: ['8+24=32'] Exploring Operation: 85+6=91, Resulting Numbers: [32, 91] Generated Node #0,3,0: 89:[32, 91] Operation: 85+6=91 Exploring Operation: 32-6=26, Resulting Numbers: [85, 26] Generated Node #0,3,1: 89:[85, 26] Operation: 32-6=26 Exploring Operation: 6+32=38, Resulting Numbers: [85, 38] Generated Node #0,3,2: 89:[85, 38] Operation: 6+32=38 Exploring Operation: 85-6=79, Resulting Numbers: [32, 79] Generated Node #0,3,3: 89:[32, 79] Operation: 85-6=79 Moving to Node #0,3,2 Current State: 89:[85, 38], Operations: ['8+24=32', '6+32=38'] Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,89 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[32, 91], Operations: ['8+24=32', '85+6=91'] Exploring Operation: 32*91=2912, Resulting Numbers: [2912] 2912,89 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 32+91=123, Resulting Numbers: [123] 123,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[32, 79], Operations: ['8+24=32', '85-6=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,89 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[85, 26], Operations: ['8+24=32', '32-6=26'] Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,89 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,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
mult_heuristic
[ 32, 50, 74, 8 ]
28
[ "32/8=4", "74-50=24", "4+24=28" ]
Current State: 28:[32, 50, 74, 8], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [50, 74, 4] Generated Node #2: [50, 74, 4] from Operation: 32/8=4 Current State: 28:[50, 74, 4], Operations: ['32/8=4'] Exploring Operation: 74-50=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 74-50=24 Current State: 28:[4, 24], Operations: ['32/8=4', '74-50=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[32, 50, 74, 8], Operations: [] Exploring Operation: 50-32=18, Resulting Numbers: [74, 8, 18] Generated Node #0,0: 28:[74, 8, 18] Operation: 50-32=18 Exploring Operation: 74-32=42, Resulting Numbers: [50, 8, 42] Generated Node #0,1: 28:[50, 8, 42] Operation: 74-32=42 Exploring Operation: 74-50=24, Resulting Numbers: [32, 8, 24] Generated Node #0,2: 28:[32, 8, 24] Operation: 74-50=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[32, 8, 24], Operations: ['74-50=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 28:[8, 8] Operation: 32-24=8 Exploring Operation: 32/8=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 28:[24, 4] Operation: 32/8=4 Exploring Operation: 24/8=3, Resulting Numbers: [32, 3] Generated Node #0,2,2: 28:[32, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[8, 8], Operations: ['74-50=24', '32-24=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[24, 4], Operations: ['74-50=24', '32/8=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[32, 50, 74, 8], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [32, 8, 24] Generated Node #0,2: 28:[32, 8, 24] Operation: 74-50=24 Moving to Node #0,2 Current State: 28:[32, 8, 24], Operations: ['74-50=24'] Exploring Operation: 32/8=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 28:[24, 4] Operation: 32/8=4 Moving to Node #0,2,1 Current State: 28:[24, 4], Operations: ['74-50=24', '32/8=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 34, 49, 93, 81 ]
91
[ "34+49=83", "93+81=174", "174-83=91" ]
Current State: 91:[34, 49, 93, 81], Operations: [] Exploring Operation: 34+49=83, Resulting Numbers: [93, 81, 83] Generated Node #2: [93, 81, 83] from Operation: 34+49=83 Current State: 91:[93, 81, 83], Operations: ['34+49=83'] Exploring Operation: 93+81=174, Resulting Numbers: [83, 174] Generated Node #3: [83, 174] from Operation: 93+81=174 Current State: 91:[83, 174], Operations: ['34+49=83', '93+81=174'] Exploring Operation: 174-83=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[34, 49, 93, 81], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [93, 81, 15] Generated Node #0,0: 91:[93, 81, 15] Operation: 49-34=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[93, 81, 15], Operations: ['49-34=15'] Exploring Operation: 93-81=12, Resulting Numbers: [15, 12] Generated Node #0,0,0: 91:[15, 12] Operation: 93-81=12 Moving to Node #0,0,0 Current State: 91:[15, 12], Operations: ['49-34=15', '93-81=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,91 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
[ 75, 29, 74, 80 ]
98
[ "75+29=104", "80-74=6", "104-6=98" ]
Current State: 98:[75, 29, 74, 80], Operations: [] Exploring Operation: 75+29=104, Resulting Numbers: [74, 80, 104] Generated Node #2: [74, 80, 104] from Operation: 75+29=104 Current State: 98:[74, 80, 104], Operations: ['75+29=104'] Exploring Operation: 80-74=6, Resulting Numbers: [104, 6] Generated Node #3: [104, 6] from Operation: 80-74=6 Current State: 98:[104, 6], Operations: ['75+29=104', '80-74=6'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[75, 29, 74, 80], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [29, 74, 5] Generated Node #0,0: 98:[29, 74, 5] Operation: 80-75=5 Exploring Operation: 80-74=6, Resulting Numbers: [75, 29, 6] Generated Node #0,1: 98:[75, 29, 6] Operation: 80-74=6 Exploring Operation: 74-29=45, Resulting Numbers: [75, 80, 45] Generated Node #0,2: 98:[75, 80, 45] Operation: 74-29=45 Exploring Operation: 75-74=1, Resulting Numbers: [29, 80, 1] Generated Node #0,3: 98:[29, 80, 1] Operation: 75-74=1 Exploring Operation: 75-29=46, Resulting Numbers: [74, 80, 46] Generated Node #0,4: 98:[74, 80, 46] Operation: 75-29=46 Moving to Node #0,3 Current State: 98:[29, 80, 1], Operations: ['75-74=1'] Exploring Operation: 29*1=29, Resulting Numbers: [80, 29] Generated Node #0,3,0: 98:[80, 29] Operation: 29*1=29 Exploring Operation: 80-29=51, Resulting Numbers: [1, 51] Generated Node #0,3,1: 98:[1, 51] Operation: 80-29=51 Exploring Operation: 29+80=109, Resulting Numbers: [1, 109] Generated Node #0,3,2: 98:[1, 109] Operation: 29+80=109 Exploring Operation: 80+1=81, Resulting Numbers: [29, 81] Generated Node #0,3,3: 98:[29, 81] Operation: 80+1=81 Exploring Operation: 29-1=28, Resulting Numbers: [80, 28] Generated Node #0,3,4: 98:[80, 28] Operation: 29-1=28 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[1, 51], Operations: ['75-74=1', '80-29=51'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[1, 109], Operations: ['75-74=1', '29+80=109'] Exploring Operation: 109-1=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 1*109=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 1+109=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 109/1=109, Resulting Numbers: [109] 109,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[29, 81], Operations: ['75-74=1', '80+1=81'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 98:[80, 28], Operations: ['75-74=1', '29-1=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,98 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[80, 29], Operations: ['75-74=1', '29*1=29'] Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,98 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,98 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: 98:[75, 29, 6], Operations: ['80-74=6'] Exploring Operation: 75+29=104, Resulting Numbers: [6, 104] Generated Node #0,1,0: 98:[6, 104] Operation: 75+29=104 Exploring Operation: 75-29=46, Resulting Numbers: [6, 46] Generated Node #0,1,1: 98:[6, 46] Operation: 75-29=46 Exploring Operation: 75+6=81, Resulting Numbers: [29, 81] Generated Node #0,1,2: 98:[29, 81] Operation: 75+6=81 Exploring Operation: 29-6=23, Resulting Numbers: [75, 23] Generated Node #0,1,3: 98:[75, 23] Operation: 29-6=23 Exploring Operation: 75-6=69, Resulting Numbers: [29, 69] Generated Node #0,1,4: 98:[29, 69] Operation: 75-6=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[6, 46], Operations: ['80-74=6', '75-29=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,98 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,98 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[6, 104], Operations: ['80-74=6', '75+29=104'] Exploring Operation: 6*104=624, Resulting Numbers: [624] 624,98 unequal: No Solution Exploring Operation: 6+104=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[75, 29, 74, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [75, 29, 6] Generated Node #0,1: 98:[75, 29, 6] Operation: 80-74=6 Moving to Node #0,1 Current State: 98:[75, 29, 6], Operations: ['80-74=6'] Exploring Operation: 75+29=104, Resulting Numbers: [6, 104] Generated Node #0,1,0: 98:[6, 104] Operation: 75+29=104 Moving to Node #0,1,0 Current State: 98:[6, 104], Operations: ['80-74=6', '75+29=104'] Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 7, 54, 93, 9 ]
84
[ "7*9=63", "54+93=147", "147-63=84" ]
Current State: 84:[7, 54, 93, 9], Operations: [] Exploring Operation: 7*9=63, Resulting Numbers: [54, 93, 63] Generated Node #2: [54, 93, 63] from Operation: 7*9=63 Current State: 84:[54, 93, 63], Operations: ['7*9=63'] Exploring Operation: 54+93=147, Resulting Numbers: [63, 147] Generated Node #3: [63, 147] from Operation: 54+93=147 Current State: 84:[63, 147], Operations: ['7*9=63', '54+93=147'] Exploring Operation: 147-63=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[7, 54, 93, 9], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [7, 93, 6] Generated Node #0,0: 84:[7, 93, 6] Operation: 54/9=6 Exploring Operation: 93-54=39, Resulting Numbers: [7, 9, 39] Generated Node #0,1: 84:[7, 9, 39] Operation: 93-54=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[7, 9, 39], Operations: ['93-54=39'] Exploring Operation: 9-7=2, Resulting Numbers: [39, 2] Generated Node #0,1,0: 84:[39, 2] Operation: 9-7=2 Exploring Operation: 39-9=30, Resulting Numbers: [7, 30] Generated Node #0,1,1: 84:[7, 30] Operation: 39-9=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[7, 30], Operations: ['93-54=39', '39-9=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,84 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,84 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: 84:[39, 2], Operations: ['93-54=39', '9-7=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,84 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: 84:[7, 93, 6], Operations: ['54/9=6'] Exploring Operation: 93-6=87, Resulting Numbers: [7, 87] Generated Node #0,0,0: 84:[7, 87] Operation: 93-6=87 Exploring Operation: 93-7=86, Resulting Numbers: [6, 86] Generated Node #0,0,1: 84:[6, 86] Operation: 93-7=86 Moving to Node #0,0,1 Current State: 84:[6, 86], Operations: ['54/9=6', '93-7=86'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 6+86=92, Resulting Numbers: [92] 92,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[7, 87], Operations: ['54/9=6', '93-6=87'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,84 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
[ 32, 39, 63, 26 ]
34
[ "32+39=71", "63-26=37", "71-37=34" ]
Current State: 34:[32, 39, 63, 26], Operations: [] Exploring Operation: 32+39=71, Resulting Numbers: [63, 26, 71] Generated Node #2: [63, 26, 71] from Operation: 32+39=71 Current State: 34:[63, 26, 71], Operations: ['32+39=71'] Exploring Operation: 63-26=37, Resulting Numbers: [71, 37] Generated Node #3: [71, 37] from Operation: 63-26=37 Current State: 34:[71, 37], Operations: ['32+39=71', '63-26=37'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[32, 39, 63, 26], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [39, 26, 31] Generated Node #0,0: 34:[39, 26, 31] Operation: 63-32=31 Exploring Operation: 39-26=13, Resulting Numbers: [32, 63, 13] Generated Node #0,1: 34:[32, 63, 13] Operation: 39-26=13 Exploring Operation: 63-39=24, Resulting Numbers: [32, 26, 24] Generated Node #0,2: 34:[32, 26, 24] Operation: 63-39=24 Exploring Operation: 63-26=37, Resulting Numbers: [32, 39, 37] Generated Node #0,3: 34:[32, 39, 37] Operation: 63-26=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[32, 39, 37], Operations: ['63-26=37'] Exploring Operation: 37-32=5, Resulting Numbers: [39, 5] Generated Node #0,3,0: 34:[39, 5] Operation: 37-32=5 Exploring Operation: 39-32=7, Resulting Numbers: [37, 7] Generated Node #0,3,1: 34:[37, 7] Operation: 39-32=7 Exploring Operation: 32+39=71, Resulting Numbers: [37, 71] Generated Node #0,3,2: 34:[37, 71] Operation: 32+39=71 Exploring Operation: 39-37=2, Resulting Numbers: [32, 2] Generated Node #0,3,3: 34:[32, 2] Operation: 39-37=2 Moving to Node #0,3,3 Current State: 34:[32, 2], Operations: ['63-26=37', '39-37=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[32, 39, 63, 26], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [32, 39, 37] Generated Node #0,3: 34:[32, 39, 37] Operation: 63-26=37 Moving to Node #0,3 Current State: 34:[32, 39, 37], Operations: ['63-26=37'] Exploring Operation: 39-37=2, Resulting Numbers: [32, 2] Generated Node #0,3,3: 34:[32, 2] Operation: 39-37=2 Moving to Node #0,3,3 Current State: 34:[32, 2], Operations: ['63-26=37', '39-37=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 43, 24, 56, 28 ]
65
[ "43+24=67", "56/28=2", "67-2=65" ]
Current State: 65:[43, 24, 56, 28], Operations: [] Exploring Operation: 43+24=67, Resulting Numbers: [56, 28, 67] Generated Node #2: [56, 28, 67] from Operation: 43+24=67 Current State: 65:[56, 28, 67], Operations: ['43+24=67'] Exploring Operation: 56/28=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 56/28=2 Current State: 65:[67, 2], Operations: ['43+24=67', '56/28=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[43, 24, 56, 28], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [24, 28, 13] Generated Node #0,0: 65:[24, 28, 13] Operation: 56-43=13 Exploring Operation: 43-28=15, Resulting Numbers: [24, 56, 15] Generated Node #0,1: 65:[24, 56, 15] Operation: 43-28=15 Exploring Operation: 43+24=67, Resulting Numbers: [56, 28, 67] Generated Node #0,2: 65:[56, 28, 67] Operation: 43+24=67 Moving to Node #0,1 Current State: 65:[24, 56, 15], Operations: ['43-28=15'] Exploring Operation: 24+56=80, Resulting Numbers: [15, 80] Generated Node #0,1,0: 65:[15, 80] Operation: 24+56=80 Exploring Operation: 56+15=71, Resulting Numbers: [24, 71] Generated Node #0,1,1: 65:[24, 71] Operation: 56+15=71 Exploring Operation: 24-15=9, Resulting Numbers: [56, 9] Generated Node #0,1,2: 65:[56, 9] Operation: 24-15=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[56, 9], Operations: ['43-28=15', '24-15=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[43, 24, 56, 28], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [24, 56, 15] Generated Node #0,1: 65:[24, 56, 15] Operation: 43-28=15 Moving to Node #0,1 Current State: 65:[24, 56, 15], Operations: ['43-28=15'] Exploring Operation: 24-15=9, Resulting Numbers: [56, 9] Generated Node #0,1,2: 65:[56, 9] Operation: 24-15=9 Moving to Node #0,1,2 Current State: 65:[56, 9], Operations: ['43-28=15', '24-15=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 16, 96, 3, 57 ]
87
[ "16*3=48", "96-57=39", "48+39=87" ]
Current State: 87:[16, 96, 3, 57], Operations: [] Exploring Operation: 16*3=48, Resulting Numbers: [96, 57, 48] Generated Node #2: [96, 57, 48] from Operation: 16*3=48 Current State: 87:[96, 57, 48], Operations: ['16*3=48'] Exploring Operation: 96-57=39, Resulting Numbers: [48, 39] Generated Node #3: [48, 39] from Operation: 96-57=39 Current State: 87:[48, 39], Operations: ['16*3=48', '96-57=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[16, 96, 3, 57], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [3, 57, 6] Generated Node #0,0: 87:[3, 57, 6] Operation: 96/16=6 Exploring Operation: 57-16=41, Resulting Numbers: [96, 3, 41] Generated Node #0,1: 87:[96, 3, 41] Operation: 57-16=41 Exploring Operation: 96-57=39, Resulting Numbers: [16, 3, 39] Generated Node #0,2: 87:[16, 3, 39] Operation: 96-57=39 Exploring Operation: 57/3=19, Resulting Numbers: [16, 96, 19] Generated Node #0,3: 87:[16, 96, 19] Operation: 57/3=19 Exploring Operation: 16+57=73, Resulting Numbers: [96, 3, 73] Generated Node #0,4: 87:[96, 3, 73] Operation: 16+57=73 Moving to Node #0,1 Current State: 87:[96, 3, 41], Operations: ['57-16=41'] Exploring Operation: 96/3=32, Resulting Numbers: [41, 32] Generated Node #0,1,0: 87:[41, 32] Operation: 96/3=32 Exploring Operation: 41-3=38, Resulting Numbers: [96, 38] Generated Node #0,1,1: 87:[96, 38] Operation: 41-3=38 Exploring Operation: 96+3=99, Resulting Numbers: [41, 99] Generated Node #0,1,2: 87:[41, 99] Operation: 96+3=99 Exploring Operation: 96-3=93, Resulting Numbers: [41, 93] Generated Node #0,1,3: 87:[41, 93] Operation: 96-3=93 Exploring Operation: 3+41=44, Resulting Numbers: [96, 44] Generated Node #0,1,4: 87:[96, 44] Operation: 3+41=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[41, 32], Operations: ['57-16=41', '96/3=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,87 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,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,1 Current State: 87:[96, 38], Operations: ['57-16=41', '41-3=38'] Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,87 unequal: No Solution Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,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,3 Current State: 87:[41, 93], Operations: ['57-16=41', '96-3=93'] Exploring Operation: 41+93=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 41*93=3813, Resulting Numbers: [3813] 3813,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,2 Current State: 87:[41, 99], Operations: ['57-16=41', '96+3=99'] Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,87 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,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,4 Current State: 87:[96, 44], Operations: ['57-16=41', '3+41=44'] Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,87 unequal: No Solution Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,87 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: 87:[96, 3, 73], Operations: ['16+57=73'] Exploring Operation: 96-3=93, Resulting Numbers: [73, 93] Generated Node #0,4,0: 87:[73, 93] Operation: 96-3=93 Exploring Operation: 96-73=23, Resulting Numbers: [3, 23] Generated Node #0,4,1: 87:[3, 23] Operation: 96-73=23 Exploring Operation: 96/3=32, Resulting Numbers: [73, 32] Generated Node #0,4,2: 87:[73, 32] Operation: 96/3=32 Exploring Operation: 96+3=99, Resulting Numbers: [73, 99] Generated Node #0,4,3: 87:[73, 99] Operation: 96+3=99 Exploring Operation: 3+73=76, Resulting Numbers: [96, 76] Generated Node #0,4,4: 87:[96, 76] Operation: 3+73=76 Moving to Node #0,2 Current State: 87:[16, 3, 39], Operations: ['96-57=39'] Exploring Operation: 16-3=13, Resulting Numbers: [39, 13] Generated Node #0,2,0: 87:[39, 13] Operation: 16-3=13 Exploring Operation: 39-3=36, Resulting Numbers: [16, 36] Generated Node #0,2,1: 87:[16, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [16, 13] Generated Node #0,2,2: 87:[16, 13] Operation: 39/3=13 Exploring Operation: 16+3=19, Resulting Numbers: [39, 19] Generated Node #0,2,3: 87:[39, 19] Operation: 16+3=19 Exploring Operation: 39-16=23, Resulting Numbers: [3, 23] Generated Node #0,2,4: 87:[3, 23] Operation: 39-16=23 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[3, 23], Operations: ['96-57=39', '39-16=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,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,2,0 Current State: 87:[39, 13], Operations: ['96-57=39', '16-3=13'] Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,87 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,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,2,1 Current State: 87:[16, 36], Operations: ['96-57=39', '39-3=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,87 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,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,2,3 Current State: 87:[39, 19], Operations: ['96-57=39', '16+3=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,87 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,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,2,2 Current State: 87:[16, 13], Operations: ['96-57=39', '39/3=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,87 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,87 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: 87:[3, 57, 6], Operations: ['96/16=6'] Exploring Operation: 6-3=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 87:[57, 3] Operation: 6-3=3 Exploring Operation: 57-3=54, Resulting Numbers: [6, 54] Generated Node #0,0,1: 87:[6, 54] Operation: 57-3=54 Exploring Operation: 57+6=63, Resulting Numbers: [3, 63] Generated Node #0,0,2: 87:[3, 63] Operation: 57+6=63 Exploring Operation: 57/3=19, Resulting Numbers: [6, 19] Generated Node #0,0,3: 87:[6, 19] Operation: 57/3=19 Exploring Operation: 57-6=51, Resulting Numbers: [3, 51] Generated Node #0,0,4: 87:[3, 51] Operation: 57-6=51 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[6, 19], Operations: ['96/16=6', '57/3=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,87 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,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,4 Current State: 87:[3, 51], Operations: ['96/16=6', '57-6=51'] Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,87 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,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:[3, 63], Operations: ['96/16=6', '57+6=63'] Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,87 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,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,0 Current State: 87:[57, 3], Operations: ['96/16=6', '6-3=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,87 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,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:[6, 54], Operations: ['96/16=6', '57-3=54'] Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,87 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,87 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: 87:[16, 96, 19], Operations: ['57/3=19'] Exploring Operation: 16+19=35, Resulting Numbers: [96, 35] Generated Node #0,3,0: 87:[96, 35] Operation: 16+19=35 Exploring Operation: 96/16=6, Resulting Numbers: [19, 6] Generated Node #0,3,1: 87:[19, 6] Operation: 96/16=6 Exploring Operation: 19-16=3, Resulting Numbers: [96, 3] Generated Node #0,3,2: 87:[96, 3] Operation: 19-16=3 Exploring Operation: 96-19=77, Resulting Numbers: [16, 77] Generated Node #0,3,3: 87:[16, 77] Operation: 96-19=77 Exploring Operation: 96-16=80, Resulting Numbers: [19, 80] Generated Node #0,3,4: 87:[19, 80] Operation: 96-16=80 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[96, 3], Operations: ['57/3=19', '19-16=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,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,1 Current State: 87:[19, 6], Operations: ['57/3=19', '96/16=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,87 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,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,0 Current State: 87:[96, 35], Operations: ['57/3=19', '16+19=35'] Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,87 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,87 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,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,4 Current State: 87:[19, 80], Operations: ['57/3=19', '96-16=80'] Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,87 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,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,3 Current State: 87:[16, 77], Operations: ['57/3=19', '96-19=77'] Exploring Operation: 16+77=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 16*77=1232, Resulting Numbers: [1232] 1232,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 87:[3, 23], Operations: ['16+57=73', '96-73=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,4,2 Current State: 87:[73, 32], Operations: ['16+57=73', '96/3=32'] Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,87 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,87 unequal: No Solution Moving to Node #0,4,0 Current State: 87:[73, 93], Operations: ['16+57=73', '96-3=93'] Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,87 unequal: No Solution Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[96, 76], Operations: ['16+57=73', '3+73=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,87 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[73, 99], Operations: ['16+57=73', '96+3=99'] Exploring Operation: 73*99=7227, Resulting Numbers: [7227] 7227,87 unequal: No Solution Exploring Operation: 99-73=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 73+99=172, Resulting Numbers: [172] 172,87 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 12, 19, 46 ]
83
[ "6+12=18", "19+46=65", "18+65=83" ]
Current State: 83:[6, 12, 19, 46], Operations: [] Exploring Operation: 6+12=18, Resulting Numbers: [19, 46, 18] Generated Node #2: [19, 46, 18] from Operation: 6+12=18 Current State: 83:[19, 46, 18], Operations: ['6+12=18'] Exploring Operation: 19+46=65, Resulting Numbers: [18, 65] Generated Node #3: [18, 65] from Operation: 19+46=65 Current State: 83:[18, 65], Operations: ['6+12=18', '19+46=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[6, 12, 19, 46], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [19, 46, 72] Generated Node #0,0: 83:[19, 46, 72] Operation: 6*12=72 Exploring Operation: 6*19=114, Resulting Numbers: [12, 46, 114] Generated Node #0,1: 83:[12, 46, 114] Operation: 6*19=114 Exploring Operation: 6+19=25, Resulting Numbers: [12, 46, 25] Generated Node #0,2: 83:[12, 46, 25] Operation: 6+19=25 Exploring Operation: 6+12=18, Resulting Numbers: [19, 46, 18] Generated Node #0,3: 83:[19, 46, 18] Operation: 6+12=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[19, 46, 72], Operations: ['6*12=72'] Exploring Operation: 19+72=91, Resulting Numbers: [46, 91] Generated Node #0,0,0: 83:[46, 91] Operation: 19+72=91 Exploring Operation: 72-19=53, Resulting Numbers: [46, 53] Generated Node #0,0,1: 83:[46, 53] Operation: 72-19=53 Exploring Operation: 19+46=65, Resulting Numbers: [72, 65] Generated Node #0,0,2: 83:[72, 65] Operation: 19+46=65 Exploring Operation: 46-19=27, Resulting Numbers: [72, 27] Generated Node #0,0,3: 83:[72, 27] Operation: 46-19=27 Moving to Node #0,0,2 Current State: 83:[72, 65], Operations: ['6*12=72', '19+46=65'] Exploring Operation: 72*65=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 72+65=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[46, 91], Operations: ['6*12=72', '19+72=91'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 46+91=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 46*91=4186, Resulting Numbers: [4186] 4186,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[72, 27], Operations: ['6*12=72', '46-19=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,83 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[46, 53], Operations: ['6*12=72', '72-19=53'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,83 unequal: No Solution Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,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 Current State: 83:[12, 46, 114], Operations: ['6*19=114'] Exploring Operation: 12+46=58, Resulting Numbers: [114, 58] Generated Node #0,1,0: 83:[114, 58] Operation: 12+46=58 Exploring Operation: 12+114=126, Resulting Numbers: [46, 126] Generated Node #0,1,1: 83:[46, 126] Operation: 12+114=126 Exploring Operation: 46-12=34, Resulting Numbers: [114, 34] Generated Node #0,1,2: 83:[114, 34] Operation: 46-12=34 Exploring Operation: 114-12=102, Resulting Numbers: [46, 102] Generated Node #0,1,3: 83:[46, 102] Operation: 114-12=102 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[114, 58], Operations: ['6*19=114', '12+46=58'] Exploring Operation: 114+58=172, Resulting Numbers: [172] 172,83 unequal: No Solution Exploring Operation: 114*58=6612, Resulting Numbers: [6612] 6612,83 unequal: No Solution Exploring Operation: 114-58=56, Resulting Numbers: [56] 56,83 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: 83:[46, 102], Operations: ['6*19=114', '114-12=102'] Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 46+102=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 46*102=4692, Resulting Numbers: [4692] 4692,83 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: 83:[46, 126], Operations: ['6*19=114', '12+114=126'] Exploring Operation: 126-46=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 46+126=172, Resulting Numbers: [172] 172,83 unequal: No Solution Exploring Operation: 46*126=5796, Resulting Numbers: [5796] 5796,83 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: 83:[114, 34], Operations: ['6*19=114', '46-12=34'] Exploring Operation: 114-34=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 114*34=3876, Resulting Numbers: [3876] 3876,83 unequal: No Solution Exploring Operation: 114+34=148, Resulting Numbers: [148] 148,83 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: 83:[12, 46, 25], Operations: ['6+19=25'] Exploring Operation: 12+25=37, Resulting Numbers: [46, 37] Generated Node #0,2,0: 83:[46, 37] Operation: 12+25=37 Exploring Operation: 46-12=34, Resulting Numbers: [25, 34] Generated Node #0,2,1: 83:[25, 34] Operation: 46-12=34 Exploring Operation: 46+25=71, Resulting Numbers: [12, 71] Generated Node #0,2,2: 83:[12, 71] Operation: 46+25=71 Exploring Operation: 12+46=58, Resulting Numbers: [25, 58] Generated Node #0,2,3: 83:[25, 58] Operation: 12+46=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[46, 37], Operations: ['6+19=25', '12+25=37'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,83 unequal: No Solution Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[6, 12, 19, 46], Operations: [] Exploring Operation: 6+19=25, Resulting Numbers: [12, 46, 25] Generated Node #0,2: 83:[12, 46, 25] Operation: 6+19=25 Moving to Node #0,2 Current State: 83:[12, 46, 25], Operations: ['6+19=25'] Exploring Operation: 12+25=37, Resulting Numbers: [46, 37] Generated Node #0,2,0: 83:[46, 37] Operation: 12+25=37 Moving to Node #0,2,0 Current State: 83:[46, 37], Operations: ['6+19=25', '12+25=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 9, 27, 75, 72 ]
73
[ "9+27=36", "72/36=2", "75-2=73" ]
Current State: 73:[9, 27, 75, 72], Operations: [] Exploring Operation: 9+27=36, Resulting Numbers: [75, 72, 36] Generated Node #2: [75, 72, 36] from Operation: 9+27=36 Current State: 73:[75, 72, 36], Operations: ['9+27=36'] Exploring Operation: 72/36=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 72/36=2 Current State: 73:[75, 2], Operations: ['9+27=36', '72/36=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[9, 27, 75, 72], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [27, 72, 66] Generated Node #0,0: 73:[27, 72, 66] Operation: 75-9=66 Exploring Operation: 9+72=81, Resulting Numbers: [27, 75, 81] Generated Node #0,1: 73:[27, 75, 81] Operation: 9+72=81 Exploring Operation: 9+27=36, Resulting Numbers: [75, 72, 36] Generated Node #0,2: 73:[75, 72, 36] Operation: 9+27=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[75, 72, 36], Operations: ['9+27=36'] Exploring Operation: 75-36=39, Resulting Numbers: [72, 39] Generated Node #0,2,0: 73:[72, 39] Operation: 75-36=39 Exploring Operation: 75+36=111, Resulting Numbers: [72, 111] Generated Node #0,2,1: 73:[72, 111] Operation: 75+36=111 Exploring Operation: 72+36=108, Resulting Numbers: [75, 108] Generated Node #0,2,2: 73:[75, 108] Operation: 72+36=108 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[72, 39], Operations: ['9+27=36', '75-36=39'] Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,73 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,73 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: 73:[75, 108], Operations: ['9+27=36', '72+36=108'] Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,73 unequal: No Solution Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,73 unequal: No Solution Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,73 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: 73:[72, 111], Operations: ['9+27=36', '75+36=111'] Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,73 unequal: No Solution Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,73 unequal: No Solution Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,73 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: 73:[27, 72, 66], Operations: ['75-9=66'] Exploring Operation: 72-27=45, Resulting Numbers: [66, 45] Generated Node #0,0,0: 73:[66, 45] Operation: 72-27=45 Exploring Operation: 27+66=93, Resulting Numbers: [72, 93] Generated Node #0,0,1: 73:[72, 93] Operation: 27+66=93 Exploring Operation: 27+72=99, Resulting Numbers: [66, 99] Generated Node #0,0,2: 73:[66, 99] Operation: 27+72=99 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[72, 93], Operations: ['75-9=66', '27+66=93'] Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,73 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,73 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: 73:[66, 99], Operations: ['75-9=66', '27+72=99'] Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,73 unequal: No Solution Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,73 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: 73:[66, 45], Operations: ['75-9=66', '72-27=45'] Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,73 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,73 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: 73:[27, 75, 81], Operations: ['9+72=81'] Exploring Operation: 75-27=48, Resulting Numbers: [81, 48] Generated Node #0,1,0: 73:[81, 48] Operation: 75-27=48 Exploring Operation: 27+75=102, Resulting Numbers: [81, 102] Generated Node #0,1,1: 73:[81, 102] Operation: 27+75=102 Exploring Operation: 81-27=54, Resulting Numbers: [75, 54] Generated Node #0,1,2: 73:[75, 54] Operation: 81-27=54 Moving to Node #0,1,2 Current State: 73:[75, 54], Operations: ['9+72=81', '81-27=54'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[81, 48], Operations: ['9+72=81', '75-27=48'] Exploring Operation: 81+48=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 81*48=3888, Resulting Numbers: [3888] 3888,73 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[81, 102], Operations: ['9+72=81', '27+75=102'] Exploring Operation: 81*102=8262, Resulting Numbers: [8262] 8262,73 unequal: No Solution Exploring Operation: 102-81=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 81+102=183, Resulting Numbers: [183] 183,73 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
[ 97, 33, 11, 16 ]
69
[ "97-33=64", "16-11=5", "64+5=69" ]
Current State: 69:[97, 33, 11, 16], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [11, 16, 64] Generated Node #2: [11, 16, 64] from Operation: 97-33=64 Current State: 69:[11, 16, 64], Operations: ['97-33=64'] Exploring Operation: 16-11=5, Resulting Numbers: [64, 5] Generated Node #3: [64, 5] from Operation: 16-11=5 Current State: 69:[64, 5], Operations: ['97-33=64', '16-11=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[97, 33, 11, 16], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [33, 16, 86] Generated Node #0,0: 69:[33, 16, 86] Operation: 97-11=86 Exploring Operation: 97-33=64, Resulting Numbers: [11, 16, 64] Generated Node #0,1: 69:[11, 16, 64] Operation: 97-33=64 Exploring Operation: 97-16=81, Resulting Numbers: [33, 11, 81] Generated Node #0,2: 69:[33, 11, 81] Operation: 97-16=81 Moving to Node #0,1 Current State: 69:[11, 16, 64], Operations: ['97-33=64'] Exploring Operation: 64/16=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 69:[11, 4] Operation: 64/16=4 Exploring Operation: 11+16=27, Resulting Numbers: [64, 27] Generated Node #0,1,1: 69:[64, 27] Operation: 11+16=27 Exploring Operation: 16-11=5, Resulting Numbers: [64, 5] Generated Node #0,1,2: 69:[64, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[64, 5], Operations: ['97-33=64', '16-11=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[97, 33, 11, 16], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [11, 16, 64] Generated Node #0,1: 69:[11, 16, 64] Operation: 97-33=64 Moving to Node #0,1 Current State: 69:[11, 16, 64], Operations: ['97-33=64'] Exploring Operation: 16-11=5, Resulting Numbers: [64, 5] Generated Node #0,1,2: 69:[64, 5] Operation: 16-11=5 Moving to Node #0,1,2 Current State: 69:[64, 5], Operations: ['97-33=64', '16-11=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 93, 76, 70, 15 ]
18
[ "93+15=108", "76-70=6", "108/6=18" ]
Current State: 18:[93, 76, 70, 15], Operations: [] Exploring Operation: 93+15=108, Resulting Numbers: [76, 70, 108] Generated Node #2: [76, 70, 108] from Operation: 93+15=108 Current State: 18:[76, 70, 108], Operations: ['93+15=108'] Exploring Operation: 76-70=6, Resulting Numbers: [108, 6] Generated Node #3: [108, 6] from Operation: 76-70=6 Current State: 18:[108, 6], Operations: ['93+15=108', '76-70=6'] Exploring Operation: 108/6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[93, 76, 70, 15], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [93, 15, 6] Generated Node #0,0: 18:[93, 15, 6] Operation: 76-70=6 Exploring Operation: 93-76=17, Resulting Numbers: [70, 15, 17] Generated Node #0,1: 18:[70, 15, 17] Operation: 93-76=17 Exploring Operation: 93-15=78, Resulting Numbers: [76, 70, 78] Generated Node #0,2: 18:[76, 70, 78] Operation: 93-15=78 Exploring Operation: 93-70=23, Resulting Numbers: [76, 15, 23] Generated Node #0,3: 18:[76, 15, 23] Operation: 93-70=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[70, 15, 17], Operations: ['93-76=17'] Exploring Operation: 15+17=32, Resulting Numbers: [70, 32] Generated Node #0,1,0: 18:[70, 32] Operation: 15+17=32 Exploring Operation: 17-15=2, Resulting Numbers: [70, 2] Generated Node #0,1,1: 18:[70, 2] Operation: 17-15=2 Exploring Operation: 70-15=55, Resulting Numbers: [17, 55] Generated Node #0,1,2: 18:[17, 55] Operation: 70-15=55 Exploring Operation: 70-17=53, Resulting Numbers: [15, 53] Generated Node #0,1,3: 18:[15, 53] Operation: 70-17=53 Moving to Node #0,1,2 Current State: 18:[17, 55], Operations: ['93-76=17', '70-15=55'] Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 17+55=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 17*55=935, Resulting Numbers: [935] 935,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[15, 53], Operations: ['93-76=17', '70-17=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[70, 2], Operations: ['93-76=17', '17-15=2'] Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,18 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[70, 32], Operations: ['93-76=17', '15+17=32'] Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,18 unequal: No Solution No 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: 18:[76, 15, 23], Operations: ['93-70=23'] Exploring Operation: 76+15=91, Resulting Numbers: [23, 91] Generated Node #0,3,0: 18:[23, 91] Operation: 76+15=91 Exploring Operation: 76-15=61, Resulting Numbers: [23, 61] Generated Node #0,3,1: 18:[23, 61] Operation: 76-15=61 Exploring Operation: 76-23=53, Resulting Numbers: [15, 53] Generated Node #0,3,2: 18:[15, 53] Operation: 76-23=53 Exploring Operation: 23-15=8, Resulting Numbers: [76, 8] Generated Node #0,3,3: 18:[76, 8] Operation: 23-15=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 18:[15, 53], Operations: ['93-70=23', '76-23=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,18 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: 18:[23, 61], Operations: ['93-70=23', '76-15=61'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,18 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,18 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: 18:[76, 8], Operations: ['93-70=23', '23-15=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,18 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: 18:[23, 91], Operations: ['93-70=23', '76+15=91'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[93, 15, 6], Operations: ['76-70=6'] Exploring Operation: 15-6=9, Resulting Numbers: [93, 9] Generated Node #0,0,0: 18:[93, 9] Operation: 15-6=9 Exploring Operation: 93-15=78, Resulting Numbers: [6, 78] Generated Node #0,0,1: 18:[6, 78] Operation: 93-15=78 Exploring Operation: 15+6=21, Resulting Numbers: [93, 21] Generated Node #0,0,2: 18:[93, 21] Operation: 15+6=21 Exploring Operation: 93-6=87, Resulting Numbers: [15, 87] Generated Node #0,0,3: 18:[15, 87] Operation: 93-6=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[6, 78], Operations: ['76-70=6', '93-15=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,18 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,18 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: 18:[15, 87], Operations: ['76-70=6', '93-6=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,18 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,18 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: 18:[93, 9], Operations: ['76-70=6', '15-6=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,18 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,18 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: 18:[93, 21], Operations: ['76-70=6', '15+6=21'] Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[76, 70, 78], Operations: ['93-15=78'] Exploring Operation: 78-70=8, Resulting Numbers: [76, 8] Generated Node #0,2,0: 18:[76, 8] Operation: 78-70=8 Exploring Operation: 76-70=6, Resulting Numbers: [78, 6] Generated Node #0,2,1: 18:[78, 6] Operation: 76-70=6 Exploring Operation: 76+70=146, Resulting Numbers: [78, 146] Generated Node #0,2,2: 18:[78, 146] Operation: 76+70=146 Exploring Operation: 78-76=2, Resulting Numbers: [70, 2] Generated Node #0,2,3: 18:[70, 2] Operation: 78-76=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 18:[70, 2], Operations: ['93-15=78', '78-76=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,18 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,18 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: 18:[76, 8], Operations: ['93-15=78', '78-70=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,18 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,18 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: 18:[78, 6], Operations: ['93-15=78', '76-70=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,18 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,18 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: 18:[78, 146], Operations: ['93-15=78', '76+70=146'] Exploring Operation: 146-78=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 78+146=224, Resulting Numbers: [224] 224,18 unequal: No Solution Exploring Operation: 78*146=11388, Resulting Numbers: [11388] 11388,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic