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
[ 15, 78, 81, 65 ]
77
[ "15+78=93", "81-65=16", "93-16=77" ]
Current State: 77:[15, 78, 81, 65], Operations: [] Exploring Operation: 15+78=93, Resulting Numbers: [81, 65, 93] Generated Node #2: [81, 65, 93] from Operation: 15+78=93 Current State: 77:[81, 65, 93], Operations: ['15+78=93'] Exploring Operation: 81-65=16, Resulting Numbers: [93, 16] Generated Node #3: [93, 16] from Operation: 81-65=16 Current State: 77:[93, 16], Operations: ['15+78=93', '81-65=16'] Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[15, 78, 81, 65], Operations: [] Exploring Operation: 15+65=80, Resulting Numbers: [78, 81, 80] Generated Node #0,0: 77:[78, 81, 80] Operation: 15+65=80 Moving to Node #0,0 Current State: 77:[78, 81, 80], Operations: ['15+65=80'] Exploring Operation: 81-78=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 77:[80, 3] Operation: 81-78=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[80, 3], Operations: ['15+65=80', '81-78=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[15, 78, 81, 65], Operations: [] Exploring Operation: 15+65=80, Resulting Numbers: [78, 81, 80] Generated Node #0,0: 77:[78, 81, 80] Operation: 15+65=80 Moving to Node #0,0 Current State: 77:[78, 81, 80], Operations: ['15+65=80'] Exploring Operation: 81-78=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 77:[80, 3] Operation: 81-78=3 Moving to Node #0,0,0 Current State: 77:[80, 3], Operations: ['15+65=80', '81-78=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 91, 4, 11, 59 ]
96
[ "59-4=55", "55/11=5", "91+5=96" ]
Current State: 96:[91, 4, 11, 59], Operations: [] Exploring Operation: 59-4=55, Resulting Numbers: [91, 11, 55] Generated Node #2: [91, 11, 55] from Operation: 59-4=55 Current State: 96:[91, 11, 55], Operations: ['59-4=55'] Exploring Operation: 55/11=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 55/11=5 Current State: 96:[91, 5], Operations: ['59-4=55', '55/11=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[91, 4, 11, 59], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [91, 4, 48] Generated Node #0,0: 96:[91, 4, 48] Operation: 59-11=48 Exploring Operation: 91-59=32, Resulting Numbers: [4, 11, 32] Generated Node #0,1: 96:[4, 11, 32] Operation: 91-59=32 Exploring Operation: 59-4=55, Resulting Numbers: [91, 11, 55] Generated Node #0,2: 96:[91, 11, 55] Operation: 59-4=55 Exploring Operation: 91+4=95, Resulting Numbers: [11, 59, 95] Generated Node #0,3: 96:[11, 59, 95] Operation: 91+4=95 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[4, 11, 32], Operations: ['91-59=32'] Exploring Operation: 32/4=8, Resulting Numbers: [11, 8] Generated Node #0,1,0: 96:[11, 8] Operation: 32/4=8 Exploring Operation: 11-4=7, Resulting Numbers: [32, 7] Generated Node #0,1,1: 96:[32, 7] Operation: 11-4=7 Exploring Operation: 32-11=21, Resulting Numbers: [4, 21] Generated Node #0,1,2: 96:[4, 21] Operation: 32-11=21 Exploring Operation: 4+11=15, Resulting Numbers: [32, 15] Generated Node #0,1,3: 96:[32, 15] Operation: 4+11=15 Moving to Node #0,1,0 Current State: 96:[11, 8], Operations: ['91-59=32', '32/4=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[32, 15], Operations: ['91-59=32', '4+11=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,96 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,96 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[32, 7], Operations: ['91-59=32', '11-4=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[4, 21], Operations: ['91-59=32', '32-11=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[91, 4, 48], Operations: ['59-11=48'] Exploring Operation: 48/4=12, Resulting Numbers: [91, 12] Generated Node #0,0,0: 96:[91, 12] Operation: 48/4=12 Exploring Operation: 91-48=43, Resulting Numbers: [4, 43] Generated Node #0,0,1: 96:[4, 43] Operation: 91-48=43 Exploring Operation: 91+4=95, Resulting Numbers: [48, 95] Generated Node #0,0,2: 96:[48, 95] Operation: 91+4=95 Exploring Operation: 91-4=87, Resulting Numbers: [48, 87] Generated Node #0,0,3: 96:[48, 87] Operation: 91-4=87 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[48, 95], Operations: ['59-11=48', '91+4=95'] Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,96 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,96 unequal: No Solution No 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: 96:[91, 12], Operations: ['59-11=48', '48/4=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,96 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,96 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,96 unequal: No Solution No 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: 96:[4, 43], Operations: ['59-11=48', '91-48=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,96 unequal: No Solution No 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: 96:[48, 87], Operations: ['59-11=48', '91-4=87'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,96 unequal: No Solution Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[91, 11, 55], Operations: ['59-4=55'] Exploring Operation: 55-11=44, Resulting Numbers: [91, 44] Generated Node #0,2,0: 96:[91, 44] Operation: 55-11=44 Exploring Operation: 91+11=102, Resulting Numbers: [55, 102] Generated Node #0,2,1: 96:[55, 102] Operation: 91+11=102 Exploring Operation: 91-55=36, Resulting Numbers: [11, 36] Generated Node #0,2,2: 96:[11, 36] Operation: 91-55=36 Exploring Operation: 55/11=5, Resulting Numbers: [91, 5] Generated Node #0,2,3: 96:[91, 5] Operation: 55/11=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[11, 36], Operations: ['59-4=55', '91-55=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,96 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,96 unequal: No Solution No 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: 96:[91, 5], Operations: ['59-4=55', '55/11=5'] Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,96 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[91, 4, 11, 59], Operations: [] Exploring Operation: 59-4=55, Resulting Numbers: [91, 11, 55] Generated Node #0,2: 96:[91, 11, 55] Operation: 59-4=55 Moving to Node #0,2 Current State: 96:[91, 11, 55], Operations: ['59-4=55'] Exploring Operation: 55/11=5, Resulting Numbers: [91, 5] Generated Node #0,2,3: 96:[91, 5] Operation: 55/11=5 Moving to Node #0,2,3 Current State: 96:[91, 5], Operations: ['59-4=55', '55/11=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 55, 60, 24, 11 ]
11
[ "55*24=1320", "1320/60=22", "22-11=11" ]
Current State: 11:[55, 60, 24, 11], Operations: [] Exploring Operation: 55*24=1320, Resulting Numbers: [60, 11, 1320] Generated Node #2: [60, 11, 1320] from Operation: 55*24=1320 Current State: 11:[60, 11, 1320], Operations: ['55*24=1320'] Exploring Operation: 1320/60=22, Resulting Numbers: [11, 22] Generated Node #3: [11, 22] from Operation: 1320/60=22 Current State: 11:[11, 22], Operations: ['55*24=1320', '1320/60=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[55, 60, 24, 11], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [24, 11, 5] Generated Node #0,0: 11:[24, 11, 5] Operation: 60-55=5 Exploring Operation: 60-24=36, Resulting Numbers: [55, 11, 36] Generated Node #0,1: 11:[55, 11, 36] Operation: 60-24=36 Exploring Operation: 55/11=5, Resulting Numbers: [60, 24, 5] Generated Node #0,2: 11:[60, 24, 5] Operation: 55/11=5 Exploring Operation: 55-24=31, Resulting Numbers: [60, 11, 31] Generated Node #0,3: 11:[60, 11, 31] Operation: 55-24=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[24, 11, 5], Operations: ['60-55=5'] Exploring Operation: 24-5=19, Resulting Numbers: [11, 19] Generated Node #0,0,0: 11:[11, 19] Operation: 24-5=19 Exploring Operation: 24+5=29, Resulting Numbers: [11, 29] Generated Node #0,0,1: 11:[11, 29] Operation: 24+5=29 Exploring Operation: 24-11=13, Resulting Numbers: [5, 13] Generated Node #0,0,2: 11:[5, 13] Operation: 24-11=13 Exploring Operation: 11+5=16, Resulting Numbers: [24, 16] Generated Node #0,0,3: 11:[24, 16] Operation: 11+5=16 Moving to Node #0,0,0 Current State: 11:[11, 19], Operations: ['60-55=5', '24-5=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,11 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[5, 13], Operations: ['60-55=5', '24-11=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[24, 16], Operations: ['60-55=5', '11+5=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[11, 29], Operations: ['60-55=5', '24+5=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,11 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,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,2 Current State: 11:[60, 24, 5], Operations: ['55/11=5'] Exploring Operation: 60-24=36, Resulting Numbers: [5, 36] Generated Node #0,2,0: 11:[5, 36] Operation: 60-24=36 Exploring Operation: 60/5=12, Resulting Numbers: [24, 12] Generated Node #0,2,1: 11:[24, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [24, 55] Generated Node #0,2,2: 11:[24, 55] Operation: 60-5=55 Exploring Operation: 24-5=19, Resulting Numbers: [60, 19] Generated Node #0,2,3: 11:[60, 19] Operation: 24-5=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[24, 12], Operations: ['55/11=5', '60/5=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,11 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,11 unequal: No Solution No 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: 11:[5, 36], Operations: ['55/11=5', '60-24=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,11 unequal: No Solution No 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: 11:[24, 55], Operations: ['55/11=5', '60-5=55'] Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,11 unequal: No Solution No 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: 11:[60, 19], Operations: ['55/11=5', '24-5=19'] Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,11 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[55, 11, 36], Operations: ['60-24=36'] Exploring Operation: 55-36=19, Resulting Numbers: [11, 19] Generated Node #0,1,0: 11:[11, 19] Operation: 55-36=19 Exploring Operation: 55-11=44, Resulting Numbers: [36, 44] Generated Node #0,1,1: 11:[36, 44] Operation: 55-11=44 Exploring Operation: 36-11=25, Resulting Numbers: [55, 25] Generated Node #0,1,2: 11:[55, 25] Operation: 36-11=25 Exploring Operation: 55/11=5, Resulting Numbers: [36, 5] Generated Node #0,1,3: 11:[36, 5] Operation: 55/11=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[11, 19], Operations: ['60-24=36', '55-36=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,11 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,11 unequal: No Solution No 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: 11:[36, 5], Operations: ['60-24=36', '55/11=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,11 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,11 unequal: No Solution No 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: 11:[36, 44], Operations: ['60-24=36', '55-11=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,11 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,11 unequal: No Solution No 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: 11:[55, 25], Operations: ['60-24=36', '36-11=25'] Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,11 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[60, 11, 31], Operations: ['55-24=31'] Exploring Operation: 60+11=71, Resulting Numbers: [31, 71] Generated Node #0,3,0: 11:[31, 71] Operation: 60+11=71 Exploring Operation: 31-11=20, Resulting Numbers: [60, 20] Generated Node #0,3,1: 11:[60, 20] Operation: 31-11=20 Exploring Operation: 60-31=29, Resulting Numbers: [11, 29] Generated Node #0,3,2: 11:[11, 29] Operation: 60-31=29 Exploring Operation: 60-11=49, Resulting Numbers: [31, 49] Generated Node #0,3,3: 11:[31, 49] Operation: 60-11=49 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 11:[11, 29], Operations: ['55-24=31', '60-31=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,11 unequal: No Solution No 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: 11:[60, 20], Operations: ['55-24=31', '31-11=20'] Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 60*20=1200, Resulting Numbers: [1200] 1200,11 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,11 unequal: No Solution No 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: 11:[31, 49], Operations: ['55-24=31', '60-11=49'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,11 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,11 unequal: No Solution No 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: 11:[31, 71], Operations: ['55-24=31', '60+11=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,11 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 49, 2, 4, 27 ]
95
[ "27-4=23", "2*23=46", "49+46=95" ]
Current State: 95:[49, 2, 4, 27], Operations: [] Exploring Operation: 27-4=23, Resulting Numbers: [49, 2, 23] Generated Node #2: [49, 2, 23] from Operation: 27-4=23 Current State: 95:[49, 2, 23], Operations: ['27-4=23'] Exploring Operation: 2*23=46, Resulting Numbers: [49, 46] Generated Node #3: [49, 46] from Operation: 2*23=46 Current State: 95:[49, 46], Operations: ['27-4=23', '2*23=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[49, 2, 4, 27], Operations: [] Exploring Operation: 49-27=22, Resulting Numbers: [2, 4, 22] Generated Node #0,0: 95:[2, 4, 22] Operation: 49-27=22 Exploring Operation: 49+27=76, Resulting Numbers: [2, 4, 76] Generated Node #0,1: 95:[2, 4, 76] Operation: 49+27=76 Exploring Operation: 49*2=98, Resulting Numbers: [4, 27, 98] Generated Node #0,2: 95:[4, 27, 98] Operation: 49*2=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[2, 4, 22], Operations: ['49-27=22'] Exploring Operation: 22-2=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 95:[4, 20] Operation: 22-2=20 Exploring Operation: 2+4=6, Resulting Numbers: [22, 6] Generated Node #0,0,1: 95:[22, 6] Operation: 2+4=6 Exploring Operation: 22-4=18, Resulting Numbers: [2, 18] Generated Node #0,0,2: 95:[2, 18] Operation: 22-4=18 Moving to Node #0,0,0 Current State: 95:[4, 20], Operations: ['49-27=22', '22-2=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[22, 6], Operations: ['49-27=22', '2+4=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[2, 18], Operations: ['49-27=22', '22-4=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[4, 27, 98], Operations: ['49*2=98'] Exploring Operation: 4+27=31, Resulting Numbers: [98, 31] Generated Node #0,2,0: 95:[98, 31] Operation: 4+27=31 Exploring Operation: 27-4=23, Resulting Numbers: [98, 23] Generated Node #0,2,1: 95:[98, 23] Operation: 27-4=23 Exploring Operation: 98-4=94, Resulting Numbers: [27, 94] Generated Node #0,2,2: 95:[27, 94] Operation: 98-4=94 Moving to Node #0,2,1 Current State: 95:[98, 23], Operations: ['49*2=98', '27-4=23'] Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,95 unequal: No Solution Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[27, 94], Operations: ['49*2=98', '98-4=94'] Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,95 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,95 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[98, 31], Operations: ['49*2=98', '4+27=31'] Exploring Operation: 98*31=3038, Resulting Numbers: [3038] 3038,95 unequal: No Solution Exploring Operation: 98+31=129, Resulting Numbers: [129] 129,95 unequal: No Solution Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[2, 4, 76], Operations: ['49+27=76'] Exploring Operation: 4+76=80, Resulting Numbers: [2, 80] Generated Node #0,1,0: 95:[2, 80] Operation: 4+76=80 Exploring Operation: 2+76=78, Resulting Numbers: [4, 78] Generated Node #0,1,1: 95:[4, 78] Operation: 2+76=78 Exploring Operation: 76/4=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 95:[2, 19] Operation: 76/4=19 Moving to Node #0,1,2 Current State: 95:[2, 19], Operations: ['49+27=76', '76/4=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[2, 80], Operations: ['49+27=76', '4+76=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,95 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[4, 78], Operations: ['49+27=76', '2+76=78'] Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,95 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,95 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
[ 76, 22, 61, 70 ]
24
[ "22*70=1540", "1540-76=1464", "1464/61=24" ]
Current State: 24:[76, 22, 61, 70], Operations: [] Exploring Operation: 22*70=1540, Resulting Numbers: [76, 61, 1540] Generated Node #2: [76, 61, 1540] from Operation: 22*70=1540 Current State: 24:[76, 61, 1540], Operations: ['22*70=1540'] Exploring Operation: 1540-76=1464, Resulting Numbers: [61, 1464] Generated Node #3: [61, 1464] from Operation: 1540-76=1464 Current State: 24:[61, 1464], Operations: ['22*70=1540', '1540-76=1464'] Exploring Operation: 1464/61=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[76, 22, 61, 70], Operations: [] Exploring Operation: 61-22=39, Resulting Numbers: [76, 70, 39] Generated Node #0,0: 24:[76, 70, 39] Operation: 61-22=39 Exploring Operation: 76-70=6, Resulting Numbers: [22, 61, 6] Generated Node #0,1: 24:[22, 61, 6] Operation: 76-70=6 Exploring Operation: 70-61=9, Resulting Numbers: [76, 22, 9] Generated Node #0,2: 24:[76, 22, 9] Operation: 70-61=9 Exploring Operation: 76-22=54, Resulting Numbers: [61, 70, 54] Generated Node #0,3: 24:[61, 70, 54] Operation: 76-22=54 Exploring Operation: 76-61=15, Resulting Numbers: [22, 70, 15] Generated Node #0,4: 24:[22, 70, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 24:[22, 61, 6], Operations: ['76-70=6'] Exploring Operation: 22-6=16, Resulting Numbers: [61, 16] Generated Node #0,1,0: 24:[61, 16] Operation: 22-6=16 Exploring Operation: 61-22=39, Resulting Numbers: [6, 39] Generated Node #0,1,1: 24:[6, 39] Operation: 61-22=39 Exploring Operation: 61+6=67, Resulting Numbers: [22, 67] Generated Node #0,1,2: 24:[22, 67] Operation: 61+6=67 Exploring Operation: 22+6=28, Resulting Numbers: [61, 28] Generated Node #0,1,3: 24:[61, 28] Operation: 22+6=28 Exploring Operation: 61-6=55, Resulting Numbers: [22, 55] Generated Node #0,1,4: 24:[22, 55] Operation: 61-6=55 Moving to Node #0,4 Current State: 24:[22, 70, 15], Operations: ['76-61=15'] Exploring Operation: 22-15=7, Resulting Numbers: [70, 7] Generated Node #0,4,0: 24:[70, 7] Operation: 22-15=7 Exploring Operation: 22+15=37, Resulting Numbers: [70, 37] Generated Node #0,4,1: 24:[70, 37] Operation: 22+15=37 Exploring Operation: 70-15=55, Resulting Numbers: [22, 55] Generated Node #0,4,2: 24:[22, 55] Operation: 70-15=55 Exploring Operation: 70+15=85, Resulting Numbers: [22, 85] Generated Node #0,4,3: 24:[22, 85] Operation: 70+15=85 Exploring Operation: 70-22=48, Resulting Numbers: [15, 48] Generated Node #0,4,4: 24:[15, 48] Operation: 70-22=48 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 24:[15, 48], Operations: ['76-61=15', '70-22=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,24 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 24:[22, 55], Operations: ['76-61=15', '70-15=55'] Exploring Operation: 22*55=1210, Resulting Numbers: [1210] 1210,24 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 24:[70, 7], Operations: ['76-61=15', '22-15=7'] Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,24 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 24:[70, 37], Operations: ['76-61=15', '22+15=37'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,24 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 24:[22, 85], Operations: ['76-61=15', '70+15=85'] Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,24 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,24 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: 24:[76, 22, 9], Operations: ['70-61=9'] Exploring Operation: 22-9=13, Resulting Numbers: [76, 13] Generated Node #0,2,0: 24:[76, 13] Operation: 22-9=13 Exploring Operation: 76-9=67, Resulting Numbers: [22, 67] Generated Node #0,2,1: 24:[22, 67] Operation: 76-9=67 Exploring Operation: 22+9=31, Resulting Numbers: [76, 31] Generated Node #0,2,2: 24:[76, 31] Operation: 22+9=31 Exploring Operation: 76-22=54, Resulting Numbers: [9, 54] Generated Node #0,2,3: 24:[9, 54] Operation: 76-22=54 Exploring Operation: 76+9=85, Resulting Numbers: [22, 85] Generated Node #0,2,4: 24:[22, 85] Operation: 76+9=85 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[9, 54], Operations: ['70-61=9', '76-22=54'] Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[22, 67], Operations: ['70-61=9', '76-9=67'] Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,24 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[76, 13], Operations: ['70-61=9', '22-9=13'] Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,24 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,24 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[76, 31], Operations: ['70-61=9', '22+9=31'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,24 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[22, 85], Operations: ['70-61=9', '76+9=85'] Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,24 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 24:[76, 70, 39], Operations: ['61-22=39'] Exploring Operation: 70-39=31, Resulting Numbers: [76, 31] Generated Node #0,0,0: 24:[76, 31] Operation: 70-39=31 Exploring Operation: 76-70=6, Resulting Numbers: [39, 6] Generated Node #0,0,1: 24:[39, 6] Operation: 76-70=6 Exploring Operation: 76-39=37, Resulting Numbers: [70, 37] Generated Node #0,0,2: 24:[70, 37] Operation: 76-39=37 Exploring Operation: 76+39=115, Resulting Numbers: [70, 115] Generated Node #0,0,3: 24:[70, 115] Operation: 76+39=115 Exploring Operation: 76+70=146, Resulting Numbers: [39, 146] Generated Node #0,0,4: 24:[39, 146] Operation: 76+70=146 Moving to Node #0,3 Current State: 24:[61, 70, 54], Operations: ['76-22=54'] Exploring Operation: 61+54=115, Resulting Numbers: [70, 115] Generated Node #0,3,0: 24:[70, 115] Operation: 61+54=115 Exploring Operation: 70-61=9, Resulting Numbers: [54, 9] Generated Node #0,3,1: 24:[54, 9] Operation: 70-61=9 Exploring Operation: 61-54=7, Resulting Numbers: [70, 7] Generated Node #0,3,2: 24:[70, 7] Operation: 61-54=7 Exploring Operation: 70-54=16, Resulting Numbers: [61, 16] Generated Node #0,3,3: 24:[61, 16] Operation: 70-54=16 Exploring Operation: 61+70=131, Resulting Numbers: [54, 131] Generated Node #0,3,4: 24:[54, 131] Operation: 61+70=131 Moving to Node #0,1,1 Current State: 24:[6, 39], Operations: ['76-70=6', '61-22=39'] Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,24 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[39, 6], Operations: ['61-22=39', '76-70=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[54, 9], Operations: ['76-22=54', '70-61=9'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,24 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[22, 55], Operations: ['76-70=6', '61-6=55'] Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 22*55=1210, Resulting Numbers: [1210] 1210,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[61, 16], Operations: ['76-70=6', '22-6=16'] Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,24 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[61, 16], Operations: ['76-22=54', '70-54=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,24 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[61, 28], Operations: ['76-70=6', '22+6=28'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,24 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[22, 67], Operations: ['76-70=6', '61+6=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,24 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[70, 7], Operations: ['76-22=54', '61-54=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,24 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[76, 31], Operations: ['61-22=39', '70-39=31'] Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,24 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[70, 37], Operations: ['61-22=39', '76-39=37'] Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,24 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,24 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[54, 131], Operations: ['76-22=54', '61+70=131'] Exploring Operation: 131-54=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 54*131=7074, Resulting Numbers: [7074] 7074,24 unequal: No Solution Exploring Operation: 54+131=185, Resulting Numbers: [185] 185,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[70, 115], Operations: ['76-22=54', '61+54=115'] Exploring Operation: 115-70=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 70+115=185, Resulting Numbers: [185] 185,24 unequal: No Solution Exploring Operation: 70*115=8050, Resulting Numbers: [8050] 8050,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[39, 146], Operations: ['61-22=39', '76+70=146'] Exploring Operation: 39+146=185, Resulting Numbers: [185] 185,24 unequal: No Solution Exploring Operation: 39*146=5694, Resulting Numbers: [5694] 5694,24 unequal: No Solution Exploring Operation: 146-39=107, Resulting Numbers: [107] 107,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[70, 115], Operations: ['61-22=39', '76+39=115'] Exploring Operation: 70+115=185, Resulting Numbers: [185] 185,24 unequal: No Solution Exploring Operation: 70*115=8050, Resulting Numbers: [8050] 8050,24 unequal: No Solution Exploring Operation: 115-70=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 67, 25, 98, 14 ]
49
[ "67-25=42", "98/14=7", "42+7=49" ]
Current State: 49:[67, 25, 98, 14], Operations: [] Exploring Operation: 67-25=42, Resulting Numbers: [98, 14, 42] Generated Node #2: [98, 14, 42] from Operation: 67-25=42 Current State: 49:[98, 14, 42], Operations: ['67-25=42'] Exploring Operation: 98/14=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 98/14=7 Current State: 49:[42, 7], Operations: ['67-25=42', '98/14=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[67, 25, 98, 14], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [25, 14, 31] Generated Node #0,0: 49:[25, 14, 31] Operation: 98-67=31 Exploring Operation: 98/14=7, Resulting Numbers: [67, 25, 7] Generated Node #0,1: 49:[67, 25, 7] Operation: 98/14=7 Moving to Node #0,1 Current State: 49:[67, 25, 7], Operations: ['98/14=7'] Exploring Operation: 67-7=60, Resulting Numbers: [25, 60] Generated Node #0,1,0: 49:[25, 60] Operation: 67-7=60 Exploring Operation: 67-25=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 49:[7, 42] Operation: 67-25=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[7, 42], Operations: ['98/14=7', '67-25=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[67, 25, 98, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [67, 25, 7] Generated Node #0,1: 49:[67, 25, 7] Operation: 98/14=7 Moving to Node #0,1 Current State: 49:[67, 25, 7], Operations: ['98/14=7'] Exploring Operation: 67-25=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 49:[7, 42] Operation: 67-25=42 Moving to Node #0,1,1 Current State: 49:[7, 42], Operations: ['98/14=7', '67-25=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 44, 9, 6, 4 ]
75
[ "44*6=264", "264/4=66", "9+66=75" ]
Current State: 75:[44, 9, 6, 4], Operations: [] Exploring Operation: 44*6=264, Resulting Numbers: [9, 4, 264] Generated Node #2: [9, 4, 264] from Operation: 44*6=264 Current State: 75:[9, 4, 264], Operations: ['44*6=264'] Exploring Operation: 264/4=66, Resulting Numbers: [9, 66] Generated Node #3: [9, 66] from Operation: 264/4=66 Current State: 75:[9, 66], Operations: ['44*6=264', '264/4=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[44, 9, 6, 4], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [9, 6, 11] Generated Node #0,0: 75:[9, 6, 11] Operation: 44/4=11 Exploring Operation: 44-6=38, Resulting Numbers: [9, 4, 38] Generated Node #0,1: 75:[9, 4, 38] Operation: 44-6=38 Exploring Operation: 44-9=35, Resulting Numbers: [6, 4, 35] Generated Node #0,2: 75:[6, 4, 35] Operation: 44-9=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[9, 6, 11], Operations: ['44/4=11'] Exploring Operation: 9+6=15, Resulting Numbers: [11, 15] Generated Node #0,0,0: 75:[11, 15] Operation: 9+6=15 Exploring Operation: 9-6=3, Resulting Numbers: [11, 3] Generated Node #0,0,1: 75:[11, 3] Operation: 9-6=3 Exploring Operation: 11-9=2, Resulting Numbers: [6, 2] Generated Node #0,0,2: 75:[6, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[6, 2], Operations: ['44/4=11', '11-9=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,75 unequal: No Solution No 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: 75:[11, 15], Operations: ['44/4=11', '9+6=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,75 unequal: No Solution No 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: 75:[11, 3], Operations: ['44/4=11', '9-6=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,75 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: 75:[6, 4, 35], Operations: ['44-9=35'] Exploring Operation: 35-6=29, Resulting Numbers: [4, 29] Generated Node #0,2,0: 75:[4, 29] Operation: 35-6=29 Exploring Operation: 35-4=31, Resulting Numbers: [6, 31] Generated Node #0,2,1: 75:[6, 31] Operation: 35-4=31 Exploring Operation: 6*4=24, Resulting Numbers: [35, 24] Generated Node #0,2,2: 75:[35, 24] Operation: 6*4=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[4, 29], Operations: ['44-9=35', '35-6=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,75 unequal: No Solution No 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: 75:[6, 31], Operations: ['44-9=35', '35-4=31'] Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,75 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,75 unequal: No Solution No 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: 75:[35, 24], Operations: ['44-9=35', '6*4=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,75 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,75 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: 75:[9, 4, 38], Operations: ['44-6=38'] Exploring Operation: 38-4=34, Resulting Numbers: [9, 34] Generated Node #0,1,0: 75:[9, 34] Operation: 38-4=34 Exploring Operation: 9-4=5, Resulting Numbers: [38, 5] Generated Node #0,1,1: 75:[38, 5] Operation: 9-4=5 Exploring Operation: 38-9=29, Resulting Numbers: [4, 29] Generated Node #0,1,2: 75:[4, 29] Operation: 38-9=29 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[4, 29], Operations: ['44-6=38', '38-9=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,75 unequal: No Solution No 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: 75:[9, 34], Operations: ['44-6=38', '38-4=34'] Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,75 unequal: No Solution No 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: 75:[38, 5], Operations: ['44-6=38', '9-4=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 32, 40, 68, 6 ]
50
[ "40+68=108", "108/6=18", "32+18=50" ]
Current State: 50:[32, 40, 68, 6], Operations: [] Exploring Operation: 40+68=108, Resulting Numbers: [32, 6, 108] Generated Node #2: [32, 6, 108] from Operation: 40+68=108 Current State: 50:[32, 6, 108], Operations: ['40+68=108'] Exploring Operation: 108/6=18, Resulting Numbers: [32, 18] Generated Node #3: [32, 18] from Operation: 108/6=18 Current State: 50:[32, 18], Operations: ['40+68=108', '108/6=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[32, 40, 68, 6], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [32, 6, 28] Generated Node #0,0: 50:[32, 6, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[32, 6, 28], Operations: ['68-40=28'] Exploring Operation: 32-28=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 50:[6, 4] Operation: 32-28=4 Moving to Node #0,0,0 Current State: 50:[6, 4], Operations: ['68-40=28', '32-28=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,50 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
[ 25, 2, 38, 72 ]
66
[ "72-25=47", "38/2=19", "47+19=66" ]
Current State: 66:[25, 2, 38, 72], Operations: [] Exploring Operation: 72-25=47, Resulting Numbers: [2, 38, 47] Generated Node #2: [2, 38, 47] from Operation: 72-25=47 Current State: 66:[2, 38, 47], Operations: ['72-25=47'] Exploring Operation: 38/2=19, Resulting Numbers: [47, 19] Generated Node #3: [47, 19] from Operation: 38/2=19 Current State: 66:[47, 19], Operations: ['72-25=47', '38/2=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[25, 2, 38, 72], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [2, 72, 13] Generated Node #0,0: 66:[2, 72, 13] Operation: 38-25=13 Exploring Operation: 72-38=34, Resulting Numbers: [25, 2, 34] Generated Node #0,1: 66:[25, 2, 34] Operation: 72-38=34 Exploring Operation: 25+38=63, Resulting Numbers: [2, 72, 63] Generated Node #0,2: 66:[2, 72, 63] Operation: 25+38=63 Moving to Node #0,1 Current State: 66:[25, 2, 34], Operations: ['72-38=34'] Exploring Operation: 34-25=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 66:[2, 9] Operation: 34-25=9 Exploring Operation: 34-2=32, Resulting Numbers: [25, 32] Generated Node #0,1,1: 66:[25, 32] Operation: 34-2=32 Exploring Operation: 25-2=23, Resulting Numbers: [34, 23] Generated Node #0,1,2: 66:[34, 23] Operation: 25-2=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[2, 9], Operations: ['72-38=34', '34-25=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,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,1,2 Current State: 66:[34, 23], Operations: ['72-38=34', '25-2=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,66 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,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,1,1 Current State: 66:[25, 32], Operations: ['72-38=34', '34-2=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,66 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 66:[2, 72, 13], Operations: ['38-25=13'] Exploring Operation: 72/2=36, Resulting Numbers: [13, 36] Generated Node #0,0,0: 66:[13, 36] Operation: 72/2=36 Exploring Operation: 13-2=11, Resulting Numbers: [72, 11] Generated Node #0,0,1: 66:[72, 11] Operation: 13-2=11 Exploring Operation: 72-2=70, Resulting Numbers: [13, 70] Generated Node #0,0,2: 66:[13, 70] Operation: 72-2=70 Moving to Node #0,2 Current State: 66:[2, 72, 63], Operations: ['25+38=63'] Exploring Operation: 72-63=9, Resulting Numbers: [2, 9] Generated Node #0,2,0: 66:[2, 9] Operation: 72-63=9 Exploring Operation: 72-2=70, Resulting Numbers: [63, 70] Generated Node #0,2,1: 66:[63, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [63, 36] Generated Node #0,2,2: 66:[63, 36] Operation: 72/2=36 Moving to Node #0,2,0 Current State: 66:[2, 9], Operations: ['25+38=63', '72-63=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[13, 36], Operations: ['38-25=13', '72/2=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,66 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[13, 70], Operations: ['38-25=13', '72-2=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,66 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[63, 36], Operations: ['25+38=63', '72/2=36'] Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,66 unequal: No Solution Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[72, 11], Operations: ['38-25=13', '13-2=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,66 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[63, 70], Operations: ['25+38=63', '72-2=70'] Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,66 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 52, 11, 46, 18 ]
100
[ "52+46=98", "11*18=198", "198-98=100" ]
Current State: 100:[52, 11, 46, 18], Operations: [] Exploring Operation: 52+46=98, Resulting Numbers: [11, 18, 98] Generated Node #2: [11, 18, 98] from Operation: 52+46=98 Current State: 100:[11, 18, 98], Operations: ['52+46=98'] Exploring Operation: 11*18=198, Resulting Numbers: [98, 198] Generated Node #3: [98, 198] from Operation: 11*18=198 Current State: 100:[98, 198], Operations: ['52+46=98', '11*18=198'] Exploring Operation: 198-98=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[52, 11, 46, 18], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [11, 18, 6] Generated Node #0,0: 100:[11, 18, 6] Operation: 52-46=6 Moving to Node #0,0 Current State: 100:[11, 18, 6], Operations: ['52-46=6'] Exploring Operation: 11-6=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 100:[18, 5] Operation: 11-6=5 Moving to Node #0,0,0 Current State: 100:[18, 5], Operations: ['52-46=6', '11-6=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,100 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 82, 90, 83 ]
93
[ "4+82=86", "90-83=7", "86+7=93" ]
Current State: 93:[4, 82, 90, 83], Operations: [] Exploring Operation: 4+82=86, Resulting Numbers: [90, 83, 86] Generated Node #2: [90, 83, 86] from Operation: 4+82=86 Current State: 93:[90, 83, 86], Operations: ['4+82=86'] Exploring Operation: 90-83=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 90-83=7 Current State: 93:[86, 7], Operations: ['4+82=86', '90-83=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[4, 82, 90, 83], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [4, 90, 1] Generated Node #0,0: 93:[4, 90, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 93:[4, 90, 1], Operations: ['83-82=1'] Exploring Operation: 4+90=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 93:[1, 94] Operation: 4+90=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[1, 94], Operations: ['83-82=1', '4+90=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[4, 82, 90, 83], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [4, 90, 1] Generated Node #0,0: 93:[4, 90, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 93:[4, 90, 1], Operations: ['83-82=1'] Exploring Operation: 4+90=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 93:[1, 94] Operation: 4+90=94 Moving to Node #0,0,0 Current State: 93:[1, 94], Operations: ['83-82=1', '4+90=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 85, 40, 13 ]
64
[ "40/5=8", "85-13=72", "72-8=64" ]
Current State: 64:[5, 85, 40, 13], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [85, 13, 8] Generated Node #2: [85, 13, 8] from Operation: 40/5=8 Current State: 64:[85, 13, 8], Operations: ['40/5=8'] Exploring Operation: 85-13=72, Resulting Numbers: [8, 72] Generated Node #3: [8, 72] from Operation: 85-13=72 Current State: 64:[8, 72], Operations: ['40/5=8', '85-13=72'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[5, 85, 40, 13], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [5, 13, 45] Generated Node #0,0: 64:[5, 13, 45] Operation: 85-40=45 Exploring Operation: 40/5=8, Resulting Numbers: [85, 13, 8] Generated Node #0,1: 64:[85, 13, 8] Operation: 40/5=8 Exploring Operation: 85-13=72, Resulting Numbers: [5, 40, 72] Generated Node #0,2: 64:[5, 40, 72] Operation: 85-13=72 Exploring Operation: 85/5=17, Resulting Numbers: [40, 13, 17] Generated Node #0,3: 64:[40, 13, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[40, 13, 17], Operations: ['85/5=17'] Exploring Operation: 40-13=27, Resulting Numbers: [17, 27] Generated Node #0,3,0: 64:[17, 27] Operation: 40-13=27 Exploring Operation: 17-13=4, Resulting Numbers: [40, 4] Generated Node #0,3,1: 64:[40, 4] Operation: 17-13=4 Exploring Operation: 40-17=23, Resulting Numbers: [13, 23] Generated Node #0,3,2: 64:[13, 23] Operation: 40-17=23 Exploring Operation: 40+17=57, Resulting Numbers: [13, 57] Generated Node #0,3,3: 64:[13, 57] Operation: 40+17=57 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[17, 27], Operations: ['85/5=17', '40-13=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,64 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,64 unequal: No Solution No 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: 64:[40, 4], Operations: ['85/5=17', '17-13=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,64 unequal: No Solution No 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: 64:[13, 23], Operations: ['85/5=17', '40-17=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,64 unequal: No Solution No 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: 64:[13, 57], Operations: ['85/5=17', '40+17=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,64 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: 64:[5, 13, 45], Operations: ['85-40=45'] Exploring Operation: 45-13=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 64:[5, 32] Operation: 45-13=32 Exploring Operation: 13+45=58, Resulting Numbers: [5, 58] Generated Node #0,0,1: 64:[5, 58] Operation: 13+45=58 Exploring Operation: 45/5=9, Resulting Numbers: [13, 9] Generated Node #0,0,2: 64:[13, 9] Operation: 45/5=9 Exploring Operation: 45-5=40, Resulting Numbers: [13, 40] Generated Node #0,0,3: 64:[13, 40] Operation: 45-5=40 Moving to Node #0,0,0 Current State: 64:[5, 32], Operations: ['85-40=45', '45-13=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[13, 9], Operations: ['85-40=45', '45/5=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[5, 58], Operations: ['85-40=45', '13+45=58'] Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,64 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[13, 40], Operations: ['85-40=45', '45-5=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[5, 40, 72], Operations: ['85-13=72'] Exploring Operation: 40-5=35, Resulting Numbers: [72, 35] Generated Node #0,2,0: 64:[72, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [72, 8] Generated Node #0,2,1: 64:[72, 8] Operation: 40/5=8 Exploring Operation: 72-40=32, Resulting Numbers: [5, 32] Generated Node #0,2,2: 64:[5, 32] Operation: 72-40=32 Exploring Operation: 72-5=67, Resulting Numbers: [40, 67] Generated Node #0,2,3: 64:[40, 67] Operation: 72-5=67 Moving to Node #0,2,2 Current State: 64:[5, 32], Operations: ['85-13=72', '72-40=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[72, 8], Operations: ['85-13=72', '40/5=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[5, 85, 40, 13], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [5, 40, 72] Generated Node #0,2: 64:[5, 40, 72] Operation: 85-13=72 Moving to Node #0,2 Current State: 64:[5, 40, 72], Operations: ['85-13=72'] Exploring Operation: 40/5=8, Resulting Numbers: [72, 8] Generated Node #0,2,1: 64:[72, 8] Operation: 40/5=8 Moving to Node #0,2,1 Current State: 64:[72, 8], Operations: ['85-13=72', '40/5=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 34, 78, 13, 24 ]
75
[ "34+78=112", "13+24=37", "112-37=75" ]
Current State: 75:[34, 78, 13, 24], Operations: [] Exploring Operation: 34+78=112, Resulting Numbers: [13, 24, 112] Generated Node #2: [13, 24, 112] from Operation: 34+78=112 Current State: 75:[13, 24, 112], Operations: ['34+78=112'] Exploring Operation: 13+24=37, Resulting Numbers: [112, 37] Generated Node #3: [112, 37] from Operation: 13+24=37 Current State: 75:[112, 37], Operations: ['34+78=112', '13+24=37'] Exploring Operation: 112-37=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 78, 13, 24], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [78, 13, 10] Generated Node #0,0: 75:[78, 13, 10] Operation: 34-24=10 Exploring Operation: 78/13=6, Resulting Numbers: [34, 24, 6] Generated Node #0,1: 75:[34, 24, 6] Operation: 78/13=6 Exploring Operation: 34-13=21, Resulting Numbers: [78, 24, 21] Generated Node #0,2: 75:[78, 24, 21] Operation: 34-13=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[78, 24, 21], Operations: ['34-13=21'] Exploring Operation: 78-21=57, Resulting Numbers: [24, 57] Generated Node #0,2,0: 75:[24, 57] Operation: 78-21=57 Exploring Operation: 24-21=3, Resulting Numbers: [78, 3] Generated Node #0,2,1: 75:[78, 3] Operation: 24-21=3 Exploring Operation: 24+21=45, Resulting Numbers: [78, 45] Generated Node #0,2,2: 75:[78, 45] Operation: 24+21=45 Moving to Node #0,2,1 Current State: 75:[78, 3], Operations: ['34-13=21', '24-21=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[34, 78, 13, 24], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [78, 24, 21] Generated Node #0,2: 75:[78, 24, 21] Operation: 34-13=21 Moving to Node #0,2 Current State: 75:[78, 24, 21], Operations: ['34-13=21'] Exploring Operation: 24-21=3, Resulting Numbers: [78, 3] Generated Node #0,2,1: 75:[78, 3] Operation: 24-21=3 Moving to Node #0,2,1 Current State: 75:[78, 3], Operations: ['34-13=21', '24-21=3'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 46, 8, 84, 15 ]
10
[ "46+84=130", "8*15=120", "130-120=10" ]
Current State: 10:[46, 8, 84, 15], Operations: [] Exploring Operation: 46+84=130, Resulting Numbers: [8, 15, 130] Generated Node #2: [8, 15, 130] from Operation: 46+84=130 Current State: 10:[8, 15, 130], Operations: ['46+84=130'] Exploring Operation: 8*15=120, Resulting Numbers: [130, 120] Generated Node #3: [130, 120] from Operation: 8*15=120 Current State: 10:[130, 120], Operations: ['46+84=130', '8*15=120'] Exploring Operation: 130-120=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[46, 8, 84, 15], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [8, 15, 38] Generated Node #0,0: 10:[8, 15, 38] Operation: 84-46=38 Moving to Node #0,0 Current State: 10:[8, 15, 38], Operations: ['84-46=38'] Exploring Operation: 38-15=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 10:[8, 23] Operation: 38-15=23 Moving to Node #0,0,0 Current State: 10:[8, 23], Operations: ['84-46=38', '38-15=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,10 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 12, 60, 96, 51 ]
75
[ "12+60=72", "96+51=147", "147-72=75" ]
Current State: 75:[12, 60, 96, 51], Operations: [] Exploring Operation: 12+60=72, Resulting Numbers: [96, 51, 72] Generated Node #2: [96, 51, 72] from Operation: 12+60=72 Current State: 75:[96, 51, 72], Operations: ['12+60=72'] Exploring Operation: 96+51=147, Resulting Numbers: [72, 147] Generated Node #3: [72, 147] from Operation: 96+51=147 Current State: 75:[72, 147], Operations: ['12+60=72', '96+51=147'] Exploring Operation: 147-72=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[12, 60, 96, 51], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [12, 60, 45] Generated Node #0,0: 75:[12, 60, 45] Operation: 96-51=45 Exploring Operation: 60-51=9, Resulting Numbers: [12, 96, 9] Generated Node #0,1: 75:[12, 96, 9] Operation: 60-51=9 Exploring Operation: 96-60=36, Resulting Numbers: [12, 51, 36] Generated Node #0,2: 75:[12, 51, 36] Operation: 96-60=36 Moving to Node #0,1 Current State: 75:[12, 96, 9], Operations: ['60-51=9'] Exploring Operation: 96-9=87, Resulting Numbers: [12, 87] Generated Node #0,1,0: 75:[12, 87] Operation: 96-9=87 Exploring Operation: 96/12=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 75:[9, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [9, 84] Generated Node #0,1,2: 75:[9, 84] Operation: 96-12=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[9, 8], Operations: ['60-51=9', '96/12=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,75 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[9, 84], Operations: ['60-51=9', '96-12=84'] Exploring Operation: 9+84=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 9*84=756, Resulting Numbers: [756] 756,75 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[12, 60, 96, 51], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [12, 96, 9] Generated Node #0,1: 75:[12, 96, 9] Operation: 60-51=9 Moving to Node #0,1 Current State: 75:[12, 96, 9], Operations: ['60-51=9'] Exploring Operation: 96-12=84, Resulting Numbers: [9, 84] Generated Node #0,1,2: 75:[9, 84] Operation: 96-12=84 Moving to Node #0,1,2 Current State: 75:[9, 84], Operations: ['60-51=9', '96-12=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 9, 84, 26, 90 ]
48
[ "90/9=10", "84-26=58", "58-10=48" ]
Current State: 48:[9, 84, 26, 90], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [84, 26, 10] Generated Node #2: [84, 26, 10] from Operation: 90/9=10 Current State: 48:[84, 26, 10], Operations: ['90/9=10'] Exploring Operation: 84-26=58, Resulting Numbers: [10, 58] Generated Node #3: [10, 58] from Operation: 84-26=58 Current State: 48:[10, 58], Operations: ['90/9=10', '84-26=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[9, 84, 26, 90], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [9, 90, 58] Generated Node #0,0: 48:[9, 90, 58] Operation: 84-26=58 Exploring Operation: 90/9=10, Resulting Numbers: [84, 26, 10] Generated Node #0,1: 48:[84, 26, 10] Operation: 90/9=10 Exploring Operation: 90-84=6, Resulting Numbers: [9, 26, 6] Generated Node #0,2: 48:[9, 26, 6] Operation: 90-84=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[9, 26, 6], Operations: ['90-84=6'] Exploring Operation: 9-6=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 48:[26, 3] Operation: 9-6=3 Exploring Operation: 26-9=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 48:[6, 17] Operation: 26-9=17 Exploring Operation: 9+6=15, Resulting Numbers: [26, 15] Generated Node #0,2,2: 48:[26, 15] Operation: 9+6=15 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[6, 17], Operations: ['90-84=6', '26-9=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,48 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,48 unequal: No Solution No 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: 48:[26, 3], Operations: ['90-84=6', '9-6=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,48 unequal: No Solution No 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: 48:[26, 15], Operations: ['90-84=6', '9+6=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,48 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: 48:[84, 26, 10], Operations: ['90/9=10'] Exploring Operation: 84-26=58, Resulting Numbers: [10, 58] Generated Node #0,1,0: 48:[10, 58] Operation: 84-26=58 Exploring Operation: 26-10=16, Resulting Numbers: [84, 16] Generated Node #0,1,1: 48:[84, 16] Operation: 26-10=16 Exploring Operation: 84-10=74, Resulting Numbers: [26, 74] Generated Node #0,1,2: 48:[26, 74] Operation: 84-10=74 Moving to Node #0,1,0 Current State: 48:[10, 58], Operations: ['90/9=10', '84-26=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[9, 84, 26, 90], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [84, 26, 10] Generated Node #0,1: 48:[84, 26, 10] Operation: 90/9=10 Moving to Node #0,1 Current State: 48:[84, 26, 10], Operations: ['90/9=10'] Exploring Operation: 84-26=58, Resulting Numbers: [10, 58] Generated Node #0,1,0: 48:[10, 58] Operation: 84-26=58 Moving to Node #0,1,0 Current State: 48:[10, 58], Operations: ['90/9=10', '84-26=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 71, 64, 6, 47 ]
82
[ "71+64=135", "6+47=53", "135-53=82" ]
Current State: 82:[71, 64, 6, 47], Operations: [] Exploring Operation: 71+64=135, Resulting Numbers: [6, 47, 135] Generated Node #2: [6, 47, 135] from Operation: 71+64=135 Current State: 82:[6, 47, 135], Operations: ['71+64=135'] Exploring Operation: 6+47=53, Resulting Numbers: [135, 53] Generated Node #3: [135, 53] from Operation: 6+47=53 Current State: 82:[135, 53], Operations: ['71+64=135', '6+47=53'] Exploring Operation: 135-53=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[71, 64, 6, 47], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [6, 47, 7] Generated Node #0,0: 82:[6, 47, 7] Operation: 71-64=7 Moving to Node #0,0 Current State: 82:[6, 47, 7], Operations: ['71-64=7'] Exploring Operation: 47-6=41, Resulting Numbers: [7, 41] Generated Node #0,0,0: 82:[7, 41] Operation: 47-6=41 Moving to Node #0,0,0 Current State: 82:[7, 41], Operations: ['71-64=7', '47-6=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 48, 36, 4, 17 ]
88
[ "48-17=31", "4*31=124", "124-36=88" ]
Current State: 88:[48, 36, 4, 17], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [36, 4, 31] Generated Node #2: [36, 4, 31] from Operation: 48-17=31 Current State: 88:[36, 4, 31], Operations: ['48-17=31'] Exploring Operation: 4*31=124, Resulting Numbers: [36, 124] Generated Node #3: [36, 124] from Operation: 4*31=124 Current State: 88:[36, 124], Operations: ['48-17=31', '4*31=124'] Exploring Operation: 124-36=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[48, 36, 4, 17], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [48, 4, 19] Generated Node #0,0: 88:[48, 4, 19] Operation: 36-17=19 Exploring Operation: 48+36=84, Resulting Numbers: [4, 17, 84] Generated Node #0,1: 88:[4, 17, 84] Operation: 48+36=84 Exploring Operation: 48-4=44, Resulting Numbers: [36, 17, 44] Generated Node #0,2: 88:[36, 17, 44] Operation: 48-4=44 Exploring Operation: 36/4=9, Resulting Numbers: [48, 17, 9] Generated Node #0,3: 88:[48, 17, 9] Operation: 36/4=9 Exploring Operation: 48-36=12, Resulting Numbers: [4, 17, 12] Generated Node #0,4: 88:[4, 17, 12] Operation: 48-36=12 Moving to Node #0,4 Current State: 88:[4, 17, 12], Operations: ['48-36=12'] Exploring Operation: 17-12=5, Resulting Numbers: [4, 5] Generated Node #0,4,0: 88:[4, 5] Operation: 17-12=5 Exploring Operation: 12/4=3, Resulting Numbers: [17, 3] Generated Node #0,4,1: 88:[17, 3] Operation: 12/4=3 Exploring Operation: 4+17=21, Resulting Numbers: [12, 21] Generated Node #0,4,2: 88:[12, 21] Operation: 4+17=21 Exploring Operation: 17-4=13, Resulting Numbers: [12, 13] Generated Node #0,4,3: 88:[12, 13] Operation: 17-4=13 Exploring Operation: 12-4=8, Resulting Numbers: [17, 8] Generated Node #0,4,4: 88:[17, 8] Operation: 12-4=8 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[4, 5], Operations: ['48-36=12', '17-12=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[12, 21], Operations: ['48-36=12', '4+17=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,88 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[12, 13], Operations: ['48-36=12', '17-4=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,88 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[17, 8], Operations: ['48-36=12', '12-4=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[17, 3], Operations: ['48-36=12', '12/4=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,88 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: 88:[48, 4, 19], Operations: ['36-17=19'] Exploring Operation: 48-19=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 88:[4, 29] Operation: 48-19=29 Exploring Operation: 48-4=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 88:[19, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [19, 12] Generated Node #0,0,2: 88:[19, 12] Operation: 48/4=12 Exploring Operation: 19-4=15, Resulting Numbers: [48, 15] Generated Node #0,0,3: 88:[48, 15] Operation: 19-4=15 Exploring Operation: 4+19=23, Resulting Numbers: [48, 23] Generated Node #0,0,4: 88:[48, 23] Operation: 4+19=23 Moving to Node #0,1 Current State: 88:[4, 17, 84], Operations: ['48+36=84'] Exploring Operation: 84-4=80, Resulting Numbers: [17, 80] Generated Node #0,1,0: 88:[17, 80] Operation: 84-4=80 Exploring Operation: 4+17=21, Resulting Numbers: [84, 21] Generated Node #0,1,1: 88:[84, 21] Operation: 4+17=21 Exploring Operation: 17-4=13, Resulting Numbers: [84, 13] Generated Node #0,1,2: 88:[84, 13] Operation: 17-4=13 Exploring Operation: 4+84=88, Resulting Numbers: [17, 88] Generated Node #0,1,3: 88:[17, 88] Operation: 4+84=88 Exploring Operation: 84/4=21, Resulting Numbers: [17, 21] Generated Node #0,1,4: 88:[17, 21] Operation: 84/4=21 Moving to Node #0,3 Current State: 88:[48, 17, 9], Operations: ['36/4=9'] Exploring Operation: 48-9=39, Resulting Numbers: [17, 39] Generated Node #0,3,0: 88:[17, 39] Operation: 48-9=39 Exploring Operation: 17-9=8, Resulting Numbers: [48, 8] Generated Node #0,3,1: 88:[48, 8] Operation: 17-9=8 Exploring Operation: 48-17=31, Resulting Numbers: [9, 31] Generated Node #0,3,2: 88:[9, 31] Operation: 48-17=31 Exploring Operation: 48+9=57, Resulting Numbers: [17, 57] Generated Node #0,3,3: 88:[17, 57] Operation: 48+9=57 Exploring Operation: 17+9=26, Resulting Numbers: [48, 26] Generated Node #0,3,4: 88:[48, 26] Operation: 17+9=26 Moving to Node #0,2 Current State: 88:[36, 17, 44], Operations: ['48-4=44'] Exploring Operation: 44-17=27, Resulting Numbers: [36, 27] Generated Node #0,2,0: 88:[36, 27] Operation: 44-17=27 Exploring Operation: 36+44=80, Resulting Numbers: [17, 80] Generated Node #0,2,1: 88:[17, 80] Operation: 36+44=80 Exploring Operation: 36+17=53, Resulting Numbers: [44, 53] Generated Node #0,2,2: 88:[44, 53] Operation: 36+17=53 Exploring Operation: 36-17=19, Resulting Numbers: [44, 19] Generated Node #0,2,3: 88:[44, 19] Operation: 36-17=19 Exploring Operation: 44-36=8, Resulting Numbers: [17, 8] Generated Node #0,2,4: 88:[17, 8] Operation: 44-36=8 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[44, 19], Operations: ['48-4=44', '36-17=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,88 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 88:[17, 8], Operations: ['48-4=44', '44-36=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,88 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[44, 53], Operations: ['48-4=44', '36+17=53'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 44*53=2332, Resulting Numbers: [2332] 2332,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[36, 27], Operations: ['48-4=44', '44-17=27'] Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,88 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[17, 80], Operations: ['48-4=44', '36+44=80'] Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,88 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,88 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: 88:[19, 44], Operations: ['36-17=19', '48-4=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,88 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[19, 12], Operations: ['36-17=19', '48/4=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,88 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[48, 8], Operations: ['36/4=9', '17-9=8'] Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,88 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[48, 23], Operations: ['36-17=19', '4+19=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[17, 88], Operations: ['48+36=84', '4+84=88'] Exploring Operation: 17+88=105, Resulting Numbers: [105] 105,88 unequal: No Solution Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 17*88=1496, Resulting Numbers: [1496] 1496,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[84, 21], Operations: ['48+36=84', '4+17=21'] Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,88 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[84, 13], Operations: ['48+36=84', '17-4=13'] Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[17, 21], Operations: ['48+36=84', '84/4=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,88 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[4, 29], Operations: ['36-17=19', '48-19=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[48, 26], Operations: ['36/4=9', '17+9=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,88 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[48, 15], Operations: ['36-17=19', '19-4=15'] Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[17, 39], Operations: ['36/4=9', '48-9=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,88 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[9, 31], Operations: ['36/4=9', '48-17=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[17, 80], Operations: ['48+36=84', '84-4=80'] Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,88 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[17, 57], Operations: ['36/4=9', '48+9=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,88 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 51, 65, 77 ]
95
[ "51-4=47", "65+77=142", "142-47=95" ]
Current State: 95:[4, 51, 65, 77], Operations: [] Exploring Operation: 51-4=47, Resulting Numbers: [65, 77, 47] Generated Node #2: [65, 77, 47] from Operation: 51-4=47 Current State: 95:[65, 77, 47], Operations: ['51-4=47'] Exploring Operation: 65+77=142, Resulting Numbers: [47, 142] Generated Node #3: [47, 142] from Operation: 65+77=142 Current State: 95:[47, 142], Operations: ['51-4=47', '65+77=142'] Exploring Operation: 142-47=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[4, 51, 65, 77], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [4, 51, 12] Generated Node #0,0: 95:[4, 51, 12] Operation: 77-65=12 Exploring Operation: 77-51=26, Resulting Numbers: [4, 65, 26] Generated Node #0,1: 95:[4, 65, 26] Operation: 77-51=26 Exploring Operation: 65-51=14, Resulting Numbers: [4, 77, 14] Generated Node #0,2: 95:[4, 77, 14] Operation: 65-51=14 Exploring Operation: 51+65=116, Resulting Numbers: [4, 77, 116] Generated Node #0,3: 95:[4, 77, 116] Operation: 51+65=116 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[4, 77, 14], Operations: ['65-51=14'] Exploring Operation: 77+14=91, Resulting Numbers: [4, 91] Generated Node #0,2,0: 95:[4, 91] Operation: 77+14=91 Exploring Operation: 14-4=10, Resulting Numbers: [77, 10] Generated Node #0,2,1: 95:[77, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [77, 18] Generated Node #0,2,2: 95:[77, 18] Operation: 4+14=18 Exploring Operation: 4+77=81, Resulting Numbers: [14, 81] Generated Node #0,2,3: 95:[14, 81] Operation: 4+77=81 Moving to Node #0,2,0 Current State: 95:[4, 91], Operations: ['65-51=14', '77+14=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[4, 51, 65, 77], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [4, 77, 14] Generated Node #0,2: 95:[4, 77, 14] Operation: 65-51=14 Moving to Node #0,2 Current State: 95:[4, 77, 14], Operations: ['65-51=14'] Exploring Operation: 77+14=91, Resulting Numbers: [4, 91] Generated Node #0,2,0: 95:[4, 91] Operation: 77+14=91 Moving to Node #0,2,0 Current State: 95:[4, 91], Operations: ['65-51=14', '77+14=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 3, 64, 32, 32 ]
13
[ "64/32=2", "32/2=16", "16-3=13" ]
Current State: 13:[3, 64, 32, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [3, 2] Generated Node #2: [3, 2] from Operation: 64/32=2 Current State: 13:[3, 2], Operations: ['64/32=2'] Exploring Operation: 32/2=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 32/2=16 Current State: 13:[3, 16], Operations: ['64/32=2', '32/2=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 64, 32, 32], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [3, 32, 32] Generated Node #0,0: 13:[3, 32, 32] Operation: 64-32=32 Exploring Operation: 64-32=32, Resulting Numbers: [3, 32, 32] Generated Node #0,1: 13:[3, 32, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [3, 32, 2] Generated Node #0,2: 13:[3, 32, 2] Operation: 64/32=2 Exploring Operation: 64/32=2, Resulting Numbers: [3, 32, 2] Generated Node #0,3: 13:[3, 32, 2] Operation: 64/32=2 Moving to Node #0,2 Current State: 13:[3, 32, 2], Operations: ['64/32=2'] Exploring Operation: 32/2=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 13:[3, 16] Operation: 32/2=16 Exploring Operation: 32-3=29, Resulting Numbers: [2, 29] Generated Node #0,2,1: 13:[2, 29] Operation: 32-3=29 Exploring Operation: 3+2=5, Resulting Numbers: [32, 5] Generated Node #0,2,2: 13:[32, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [32, 6] Generated Node #0,2,3: 13:[32, 6] Operation: 3*2=6 Moving to Node #0,3 Current State: 13:[3, 32, 2], Operations: ['64/32=2'] Exploring Operation: 3*2=6, Resulting Numbers: [32, 6] Generated Node #0,3,0: 13:[32, 6] Operation: 3*2=6 Exploring Operation: 32/2=16, Resulting Numbers: [3, 16] Generated Node #0,3,1: 13:[3, 16] Operation: 32/2=16 Exploring Operation: 3+2=5, Resulting Numbers: [32, 5] Generated Node #0,3,2: 13:[32, 5] Operation: 3+2=5 Exploring Operation: 32-3=29, Resulting Numbers: [2, 29] Generated Node #0,3,3: 13:[2, 29] Operation: 32-3=29 Moving to Node #0,1 Current State: 13:[3, 32, 32], Operations: ['64-32=32'] Exploring Operation: 32/32=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 13:[3, 1] Operation: 32/32=1 Exploring Operation: 32-3=29, Resulting Numbers: [32, 29] Generated Node #0,1,1: 13:[32, 29] Operation: 32-3=29 Exploring Operation: 32-3=29, Resulting Numbers: [32, 29] Generated Node #0,1,2: 13:[32, 29] Operation: 32-3=29 Exploring Operation: 32-32=0, Resulting Numbers: [3, 0] Generated Node #0,1,3: 13:[3, 0] Operation: 32-32=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[3, 1], Operations: ['64-32=32', '32/32=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,13 unequal: No Solution No 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: 13:[3, 0], Operations: ['64-32=32', '32-32=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution No 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: 13:[32, 29], Operations: ['64-32=32', '32-3=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,13 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,13 unequal: No Solution No 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: 13:[32, 29], Operations: ['64-32=32', '32-3=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,13 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,13 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: 13:[3, 32, 32], Operations: ['64-32=32'] Exploring Operation: 32-3=29, Resulting Numbers: [32, 29] Generated Node #0,0,0: 13:[32, 29] Operation: 32-3=29 Exploring Operation: 32-3=29, Resulting Numbers: [32, 29] Generated Node #0,0,1: 13:[32, 29] Operation: 32-3=29 Exploring Operation: 32-32=0, Resulting Numbers: [3, 0] Generated Node #0,0,2: 13:[3, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [3, 1] Generated Node #0,0,3: 13:[3, 1] Operation: 32/32=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[3, 1], Operations: ['64-32=32', '32/32=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,13 unequal: No Solution No 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: 13:[3, 0], Operations: ['64-32=32', '32-32=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,13 unequal: No Solution No 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: 13:[32, 29], Operations: ['64-32=32', '32-3=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,13 unequal: No Solution No 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: 13:[32, 29], Operations: ['64-32=32', '32-3=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,13 unequal: No Solution Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,13 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: 13:[3, 16], Operations: ['64/32=2', '32/2=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 64, 32, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [3, 32, 2] Generated Node #0,2: 13:[3, 32, 2] Operation: 64/32=2 Moving to Node #0,2 Current State: 13:[3, 32, 2], Operations: ['64/32=2'] Exploring Operation: 32/2=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 13:[3, 16] Operation: 32/2=16 Moving to Node #0,2,0 Current State: 13:[3, 16], Operations: ['64/32=2', '32/2=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 45, 86, 98, 44 ]
12
[ "45-44=1", "98-86=12", "1*12=12" ]
Current State: 12:[45, 86, 98, 44], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [86, 98, 1] Generated Node #2: [86, 98, 1] from Operation: 45-44=1 Current State: 12:[86, 98, 1], Operations: ['45-44=1'] Exploring Operation: 98-86=12, Resulting Numbers: [1, 12] Generated Node #3: [1, 12] from Operation: 98-86=12 Current State: 12:[1, 12], Operations: ['45-44=1', '98-86=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[45, 86, 98, 44], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [45, 44, 12] Generated Node #0,0: 12:[45, 44, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 12:[45, 44, 12], Operations: ['98-86=12'] Exploring Operation: 45-44=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 12:[12, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[12, 1], Operations: ['98-86=12', '45-44=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[45, 86, 98, 44], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [45, 44, 12] Generated Node #0,0: 12:[45, 44, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 12:[45, 44, 12], Operations: ['98-86=12'] Exploring Operation: 45-44=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 12:[12, 1] Operation: 45-44=1 Moving to Node #0,0,0 Current State: 12:[12, 1], Operations: ['98-86=12', '45-44=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 22, 3, 13, 65 ]
81
[ "65/13=5", "22+5=27", "3*27=81" ]
Current State: 81:[22, 3, 13, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [22, 3, 5] Generated Node #2: [22, 3, 5] from Operation: 65/13=5 Current State: 81:[22, 3, 5], Operations: ['65/13=5'] Exploring Operation: 22+5=27, Resulting Numbers: [3, 27] Generated Node #3: [3, 27] from Operation: 22+5=27 Current State: 81:[3, 27], Operations: ['65/13=5', '22+5=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[22, 3, 13, 65], Operations: [] Exploring Operation: 22+65=87, Resulting Numbers: [3, 13, 87] Generated Node #0,0: 81:[3, 13, 87] Operation: 22+65=87 Exploring Operation: 65/13=5, Resulting Numbers: [22, 3, 5] Generated Node #0,1: 81:[22, 3, 5] Operation: 65/13=5 Exploring Operation: 13+65=78, Resulting Numbers: [22, 3, 78] Generated Node #0,2: 81:[22, 3, 78] Operation: 13+65=78 Moving to Node #0,1 Current State: 81:[22, 3, 5], Operations: ['65/13=5'] Exploring Operation: 22+3=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 81:[5, 25] Operation: 22+3=25 Exploring Operation: 3+5=8, Resulting Numbers: [22, 8] Generated Node #0,1,1: 81:[22, 8] Operation: 3+5=8 Exploring Operation: 22+5=27, Resulting Numbers: [3, 27] Generated Node #0,1,2: 81:[3, 27] Operation: 22+5=27 Moving to Node #0,2 Current State: 81:[22, 3, 78], Operations: ['13+65=78'] Exploring Operation: 3+78=81, Resulting Numbers: [22, 81] Generated Node #0,2,0: 81:[22, 81] Operation: 3+78=81 Exploring Operation: 22+3=25, Resulting Numbers: [78, 25] Generated Node #0,2,1: 81:[78, 25] Operation: 22+3=25 Exploring Operation: 78/3=26, Resulting Numbers: [22, 26] Generated Node #0,2,2: 81:[22, 26] Operation: 78/3=26 Moving to Node #0,0 Current State: 81:[3, 13, 87], Operations: ['22+65=87'] Exploring Operation: 87-3=84, Resulting Numbers: [13, 84] Generated Node #0,0,0: 81:[13, 84] Operation: 87-3=84 Exploring Operation: 13-3=10, Resulting Numbers: [87, 10] Generated Node #0,0,1: 81:[87, 10] Operation: 13-3=10 Exploring Operation: 87/3=29, Resulting Numbers: [13, 29] Generated Node #0,0,2: 81:[13, 29] Operation: 87/3=29 Moving to Node #0,1,2 Current State: 81:[3, 27], Operations: ['65/13=5', '22+5=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[22, 3, 13, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [22, 3, 5] Generated Node #0,1: 81:[22, 3, 5] Operation: 65/13=5 Moving to Node #0,1 Current State: 81:[22, 3, 5], Operations: ['65/13=5'] Exploring Operation: 22+5=27, Resulting Numbers: [3, 27] Generated Node #0,1,2: 81:[3, 27] Operation: 22+5=27 Moving to Node #0,1,2 Current State: 81:[3, 27], Operations: ['65/13=5', '22+5=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 24, 26, 69, 80 ]
61
[ "24+26=50", "80-69=11", "50+11=61" ]
Current State: 61:[24, 26, 69, 80], Operations: [] Exploring Operation: 24+26=50, Resulting Numbers: [69, 80, 50] Generated Node #2: [69, 80, 50] from Operation: 24+26=50 Current State: 61:[69, 80, 50], Operations: ['24+26=50'] Exploring Operation: 80-69=11, Resulting Numbers: [50, 11] Generated Node #3: [50, 11] from Operation: 80-69=11 Current State: 61:[50, 11], Operations: ['24+26=50', '80-69=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[24, 26, 69, 80], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [26, 80, 45] Generated Node #0,0: 61:[26, 80, 45] Operation: 69-24=45 Exploring Operation: 80-24=56, Resulting Numbers: [26, 69, 56] Generated Node #0,1: 61:[26, 69, 56] Operation: 80-24=56 Exploring Operation: 24+26=50, Resulting Numbers: [69, 80, 50] Generated Node #0,2: 61:[69, 80, 50] Operation: 24+26=50 Exploring Operation: 80-26=54, Resulting Numbers: [24, 69, 54] Generated Node #0,3: 61:[24, 69, 54] Operation: 80-26=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[69, 80, 50], Operations: ['24+26=50'] Exploring Operation: 80-50=30, Resulting Numbers: [69, 30] Generated Node #0,2,0: 61:[69, 30] Operation: 80-50=30 Exploring Operation: 80-69=11, Resulting Numbers: [50, 11] Generated Node #0,2,1: 61:[50, 11] Operation: 80-69=11 Exploring Operation: 69-50=19, Resulting Numbers: [80, 19] Generated Node #0,2,2: 61:[80, 19] Operation: 69-50=19 Exploring Operation: 69+50=119, Resulting Numbers: [80, 119] Generated Node #0,2,3: 61:[80, 119] Operation: 69+50=119 Moving to Node #0,2,0 Current State: 61:[69, 30], Operations: ['24+26=50', '80-50=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[80, 19], Operations: ['24+26=50', '69-50=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[24, 26, 69, 80], Operations: [] Exploring Operation: 24+26=50, Resulting Numbers: [69, 80, 50] Generated Node #0,2: 61:[69, 80, 50] Operation: 24+26=50 Moving to Node #0,2 Current State: 61:[69, 80, 50], Operations: ['24+26=50'] Exploring Operation: 69-50=19, Resulting Numbers: [80, 19] Generated Node #0,2,2: 61:[80, 19] Operation: 69-50=19 Moving to Node #0,2,2 Current State: 61:[80, 19], Operations: ['24+26=50', '69-50=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 49, 44, 53, 50 ]
61
[ "53-49=4", "44/4=11", "50+11=61" ]
Current State: 61:[49, 44, 53, 50], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [44, 50, 4] Generated Node #2: [44, 50, 4] from Operation: 53-49=4 Current State: 61:[44, 50, 4], Operations: ['53-49=4'] Exploring Operation: 44/4=11, Resulting Numbers: [50, 11] Generated Node #3: [50, 11] from Operation: 44/4=11 Current State: 61:[50, 11], Operations: ['53-49=4', '44/4=11'] Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[49, 44, 53, 50], Operations: [] Exploring Operation: 49+44=93, Resulting Numbers: [53, 50, 93] Generated Node #0,0: 61:[53, 50, 93] Operation: 49+44=93 Exploring Operation: 49+50=99, Resulting Numbers: [44, 53, 99] Generated Node #0,1: 61:[44, 53, 99] Operation: 49+50=99 Exploring Operation: 44+50=94, Resulting Numbers: [49, 53, 94] Generated Node #0,2: 61:[49, 53, 94] Operation: 44+50=94 Exploring Operation: 44+53=97, Resulting Numbers: [49, 50, 97] Generated Node #0,3: 61:[49, 50, 97] Operation: 44+53=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[53, 50, 93], Operations: ['49+44=93'] Exploring Operation: 93-50=43, Resulting Numbers: [53, 43] Generated Node #0,0,0: 61:[53, 43] Operation: 93-50=43 Exploring Operation: 53+50=103, Resulting Numbers: [93, 103] Generated Node #0,0,1: 61:[93, 103] Operation: 53+50=103 Exploring Operation: 93-53=40, Resulting Numbers: [50, 40] Generated Node #0,0,2: 61:[50, 40] Operation: 93-53=40 Exploring Operation: 53-50=3, Resulting Numbers: [93, 3] Generated Node #0,0,3: 61:[93, 3] Operation: 53-50=3 Moving to Node #0,0,0 Current State: 61:[53, 43], Operations: ['49+44=93', '93-50=43'] Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 53*43=2279, Resulting Numbers: [2279] 2279,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[50, 40], Operations: ['49+44=93', '93-53=40'] Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,61 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[93, 103], Operations: ['49+44=93', '53+50=103'] Exploring Operation: 103-93=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 93*103=9579, Resulting Numbers: [9579] 9579,61 unequal: No Solution Exploring Operation: 93+103=196, Resulting Numbers: [196] 196,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[93, 3], Operations: ['49+44=93', '53-50=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,61 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[49, 53, 94], Operations: ['44+50=94'] Exploring Operation: 94-53=41, Resulting Numbers: [49, 41] Generated Node #0,2,0: 61:[49, 41] Operation: 94-53=41 Exploring Operation: 94-49=45, Resulting Numbers: [53, 45] Generated Node #0,2,1: 61:[53, 45] Operation: 94-49=45 Exploring Operation: 53-49=4, Resulting Numbers: [94, 4] Generated Node #0,2,2: 61:[94, 4] Operation: 53-49=4 Exploring Operation: 49+53=102, Resulting Numbers: [94, 102] Generated Node #0,2,3: 61:[94, 102] Operation: 49+53=102 Moving to Node #0,2,1 Current State: 61:[53, 45], Operations: ['44+50=94', '94-49=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[49, 41], Operations: ['44+50=94', '94-53=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,61 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[94, 102], Operations: ['44+50=94', '49+53=102'] Exploring Operation: 94+102=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 94*102=9588, Resulting Numbers: [9588] 9588,61 unequal: No Solution Exploring Operation: 102-94=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[94, 4], Operations: ['44+50=94', '53-49=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[49, 50, 97], Operations: ['44+53=97'] Exploring Operation: 97-50=47, Resulting Numbers: [49, 47] Generated Node #0,3,0: 61:[49, 47] Operation: 97-50=47 Exploring Operation: 97-49=48, Resulting Numbers: [50, 48] Generated Node #0,3,1: 61:[50, 48] Operation: 97-49=48 Exploring Operation: 49+50=99, Resulting Numbers: [97, 99] Generated Node #0,3,2: 61:[97, 99] Operation: 49+50=99 Exploring Operation: 50-49=1, Resulting Numbers: [97, 1] Generated Node #0,3,3: 61:[97, 1] Operation: 50-49=1 Moving to Node #0,3,1 Current State: 61:[50, 48], Operations: ['44+53=97', '97-49=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[49, 47], Operations: ['44+53=97', '97-50=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,61 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[97, 99], Operations: ['44+53=97', '49+50=99'] Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 97*99=9603, Resulting Numbers: [9603] 9603,61 unequal: No Solution Exploring Operation: 97+99=196, Resulting Numbers: [196] 196,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[97, 1], Operations: ['44+53=97', '50-49=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[44, 53, 99], Operations: ['49+50=99'] Exploring Operation: 99-53=46, Resulting Numbers: [44, 46] Generated Node #0,1,0: 61:[44, 46] Operation: 99-53=46 Exploring Operation: 53-44=9, Resulting Numbers: [99, 9] Generated Node #0,1,1: 61:[99, 9] Operation: 53-44=9 Exploring Operation: 44+53=97, Resulting Numbers: [99, 97] Generated Node #0,1,2: 61:[99, 97] Operation: 44+53=97 Exploring Operation: 99-44=55, Resulting Numbers: [53, 55] Generated Node #0,1,3: 61:[53, 55] Operation: 99-44=55 Moving to Node #0,1,3 Current State: 61:[53, 55], Operations: ['49+50=99', '99-44=55'] Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,61 unequal: No Solution Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[44, 46], Operations: ['49+50=99', '99-53=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[99, 97], Operations: ['49+50=99', '44+53=97'] Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 99*97=9603, Resulting Numbers: [9603] 9603,61 unequal: No Solution Exploring Operation: 99+97=196, Resulting Numbers: [196] 196,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[99, 9], Operations: ['49+50=99', '53-44=9'] Exploring Operation: 99*9=891, Resulting Numbers: [891] 891,61 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,61 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
[ 66, 20, 22, 10 ]
27
[ "66/22=3", "20+10=30", "30-3=27" ]
Current State: 27:[66, 20, 22, 10], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [20, 10, 3] Generated Node #2: [20, 10, 3] from Operation: 66/22=3 Current State: 27:[20, 10, 3], Operations: ['66/22=3'] Exploring Operation: 20+10=30, Resulting Numbers: [3, 30] Generated Node #3: [3, 30] from Operation: 20+10=30 Current State: 27:[3, 30], Operations: ['66/22=3', '20+10=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[66, 20, 22, 10], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [20, 22, 56] Generated Node #0,0: 27:[20, 22, 56] Operation: 66-10=56 Exploring Operation: 66/22=3, Resulting Numbers: [20, 10, 3] Generated Node #0,1: 27:[20, 10, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [20, 10, 44] Generated Node #0,2: 27:[20, 10, 44] Operation: 66-22=44 Exploring Operation: 66-20=46, Resulting Numbers: [22, 10, 46] Generated Node #0,3: 27:[22, 10, 46] Operation: 66-20=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[20, 10, 3], Operations: ['66/22=3'] Exploring Operation: 20-10=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 27:[3, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 27:[3, 2] Operation: 20/10=2 Exploring Operation: 20+3=23, Resulting Numbers: [10, 23] Generated Node #0,1,2: 27:[10, 23] Operation: 20+3=23 Exploring Operation: 20+10=30, Resulting Numbers: [3, 30] Generated Node #0,1,3: 27:[3, 30] Operation: 20+10=30 Moving to Node #0,1,0 Current State: 27:[3, 10], Operations: ['66/22=3', '20-10=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[3, 2], Operations: ['66/22=3', '20/10=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[3, 30], Operations: ['66/22=3', '20+10=30'] Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[66, 20, 22, 10], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [20, 10, 3] Generated Node #0,1: 27:[20, 10, 3] Operation: 66/22=3 Moving to Node #0,1 Current State: 27:[20, 10, 3], Operations: ['66/22=3'] Exploring Operation: 20+10=30, Resulting Numbers: [3, 30] Generated Node #0,1,3: 27:[3, 30] Operation: 20+10=30 Moving to Node #0,1,3 Current State: 27:[3, 30], Operations: ['66/22=3', '20+10=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 91, 89, 88, 99 ]
56
[ "91-88=3", "99/3=33", "89-33=56" ]
Current State: 56:[91, 89, 88, 99], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [89, 99, 3] Generated Node #2: [89, 99, 3] from Operation: 91-88=3 Current State: 56:[89, 99, 3], Operations: ['91-88=3'] Exploring Operation: 99/3=33, Resulting Numbers: [89, 33] Generated Node #3: [89, 33] from Operation: 99/3=33 Current State: 56:[89, 33], Operations: ['91-88=3', '99/3=33'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[91, 89, 88, 99], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [91, 88, 10] Generated Node #0,0: 56:[91, 88, 10] Operation: 99-89=10 Exploring Operation: 91-89=2, Resulting Numbers: [88, 99, 2] Generated Node #0,1: 56:[88, 99, 2] Operation: 91-89=2 Exploring Operation: 99-88=11, Resulting Numbers: [91, 89, 11] Generated Node #0,2: 56:[91, 89, 11] Operation: 99-88=11 Exploring Operation: 99-91=8, Resulting Numbers: [89, 88, 8] Generated Node #0,3: 56:[89, 88, 8] Operation: 99-91=8 Moving to Node #0,3 Current State: 56:[89, 88, 8], Operations: ['99-91=8'] Exploring Operation: 89-8=81, Resulting Numbers: [88, 81] Generated Node #0,3,0: 56:[88, 81] Operation: 89-8=81 Exploring Operation: 88/8=11, Resulting Numbers: [89, 11] Generated Node #0,3,1: 56:[89, 11] Operation: 88/8=11 Exploring Operation: 89-88=1, Resulting Numbers: [8, 1] Generated Node #0,3,2: 56:[8, 1] Operation: 89-88=1 Exploring Operation: 88-8=80, Resulting Numbers: [89, 80] Generated Node #0,3,3: 56:[89, 80] Operation: 88-8=80 Moving to Node #0,0 Current State: 56:[91, 88, 10], Operations: ['99-89=10'] Exploring Operation: 91-88=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 56:[10, 3] Operation: 91-88=3 Exploring Operation: 91+10=101, Resulting Numbers: [88, 101] Generated Node #0,0,1: 56:[88, 101] Operation: 91+10=101 Exploring Operation: 88-10=78, Resulting Numbers: [91, 78] Generated Node #0,0,2: 56:[91, 78] Operation: 88-10=78 Exploring Operation: 91-10=81, Resulting Numbers: [88, 81] Generated Node #0,0,3: 56:[88, 81] Operation: 91-10=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[10, 3], Operations: ['99-89=10', '91-88=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,56 unequal: No Solution No 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: 56:[91, 78], Operations: ['99-89=10', '88-10=78'] Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,56 unequal: No Solution Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,56 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,56 unequal: No Solution No 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: 56:[88, 81], Operations: ['99-89=10', '91-10=81'] Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,56 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,56 unequal: No Solution No 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: 56:[88, 101], Operations: ['99-89=10', '91+10=101'] Exploring Operation: 88+101=189, Resulting Numbers: [189] 189,56 unequal: No Solution Exploring Operation: 101-88=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 88*101=8888, Resulting Numbers: [8888] 8888,56 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: 56:[91, 89, 11], Operations: ['99-88=11'] Exploring Operation: 91-11=80, Resulting Numbers: [89, 80] Generated Node #0,2,0: 56:[89, 80] Operation: 91-11=80 Exploring Operation: 89-11=78, Resulting Numbers: [91, 78] Generated Node #0,2,1: 56:[91, 78] Operation: 89-11=78 Exploring Operation: 91+11=102, Resulting Numbers: [89, 102] Generated Node #0,2,2: 56:[89, 102] Operation: 91+11=102 Exploring Operation: 91-89=2, Resulting Numbers: [11, 2] Generated Node #0,2,3: 56:[11, 2] Operation: 91-89=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[11, 2], Operations: ['99-88=11', '91-89=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,56 unequal: No Solution No 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: 56:[89, 80], Operations: ['99-88=11', '91-11=80'] Exploring Operation: 89+80=169, Resulting Numbers: [169] 169,56 unequal: No Solution Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 89*80=7120, Resulting Numbers: [7120] 7120,56 unequal: No Solution No 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: 56:[91, 78], Operations: ['99-88=11', '89-11=78'] Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,56 unequal: No Solution Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,56 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,56 unequal: No Solution No 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: 56:[89, 102], Operations: ['99-88=11', '91+11=102'] Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,56 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,56 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: 56:[88, 99, 2], Operations: ['91-89=2'] Exploring Operation: 88/2=44, Resulting Numbers: [99, 44] Generated Node #0,1,0: 56:[99, 44] Operation: 88/2=44 Exploring Operation: 99-88=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 56:[2, 11] Operation: 99-88=11 Exploring Operation: 99-2=97, Resulting Numbers: [88, 97] Generated Node #0,1,2: 56:[88, 97] Operation: 99-2=97 Exploring Operation: 88-2=86, Resulting Numbers: [99, 86] Generated Node #0,1,3: 56:[99, 86] Operation: 88-2=86 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[2, 11], Operations: ['91-89=2', '99-88=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,56 unequal: No Solution No 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: 56:[99, 44], Operations: ['91-89=2', '88/2=44'] Exploring Operation: 99*44=4356, Resulting Numbers: [4356] 4356,56 unequal: No Solution Exploring Operation: 99+44=143, Resulting Numbers: [143] 143,56 unequal: No Solution Exploring Operation: 99-44=55, Resulting Numbers: [55] 55,56 unequal: No Solution No 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: 56:[88, 97], Operations: ['91-89=2', '99-2=97'] Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 88*97=8536, Resulting Numbers: [8536] 8536,56 unequal: No Solution Exploring Operation: 88+97=185, Resulting Numbers: [185] 185,56 unequal: No Solution No 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: 56:[99, 86], Operations: ['91-89=2', '88-2=86'] Exploring Operation: 99*86=8514, Resulting Numbers: [8514] 8514,56 unequal: No Solution Exploring Operation: 99+86=185, Resulting Numbers: [185] 185,56 unequal: No Solution Exploring Operation: 99-86=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 56:[8, 1], Operations: ['99-91=8', '89-88=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[89, 11], Operations: ['99-91=8', '88/8=11'] Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,56 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[89, 80], Operations: ['99-91=8', '88-8=80'] Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 89*80=7120, Resulting Numbers: [7120] 7120,56 unequal: No Solution Exploring Operation: 89+80=169, Resulting Numbers: [169] 169,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[88, 81], Operations: ['99-91=8', '89-8=81'] Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,56 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,56 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 51, 26, 39, 53 ]
19
[ "51*26=1326", "1326/39=34", "53-34=19" ]
Current State: 19:[51, 26, 39, 53], Operations: [] Exploring Operation: 51*26=1326, Resulting Numbers: [39, 53, 1326] Generated Node #2: [39, 53, 1326] from Operation: 51*26=1326 Current State: 19:[39, 53, 1326], Operations: ['51*26=1326'] Exploring Operation: 1326/39=34, Resulting Numbers: [53, 34] Generated Node #3: [53, 34] from Operation: 1326/39=34 Current State: 19:[53, 34], Operations: ['51*26=1326', '1326/39=34'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[51, 26, 39, 53], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [26, 53, 12] Generated Node #0,0: 19:[26, 53, 12] Operation: 51-39=12 Exploring Operation: 51-26=25, Resulting Numbers: [39, 53, 25] Generated Node #0,1: 19:[39, 53, 25] Operation: 51-26=25 Exploring Operation: 53-39=14, Resulting Numbers: [51, 26, 14] Generated Node #0,2: 19:[51, 26, 14] Operation: 53-39=14 Exploring Operation: 53-51=2, Resulting Numbers: [26, 39, 2] Generated Node #0,3: 19:[26, 39, 2] Operation: 53-51=2 Moving to Node #0,2 Current State: 19:[51, 26, 14], Operations: ['53-39=14'] Exploring Operation: 26-14=12, Resulting Numbers: [51, 12] Generated Node #0,2,0: 19:[51, 12] Operation: 26-14=12 Exploring Operation: 51-26=25, Resulting Numbers: [14, 25] Generated Node #0,2,1: 19:[14, 25] Operation: 51-26=25 Exploring Operation: 51-14=37, Resulting Numbers: [26, 37] Generated Node #0,2,2: 19:[26, 37] Operation: 51-14=37 Exploring Operation: 51+14=65, Resulting Numbers: [26, 65] Generated Node #0,2,3: 19:[26, 65] Operation: 51+14=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[14, 25], Operations: ['53-39=14', '51-26=25'] Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,19 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,19 unequal: No Solution No 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: 19:[26, 37], Operations: ['53-39=14', '51-14=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,19 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,19 unequal: No Solution No 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: 19:[51, 12], Operations: ['53-39=14', '26-14=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,19 unequal: No Solution No 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: 19:[26, 65], Operations: ['53-39=14', '51+14=65'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,19 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,19 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: 19:[26, 39, 2], Operations: ['53-51=2'] Exploring Operation: 26/2=13, Resulting Numbers: [39, 13] Generated Node #0,3,0: 19:[39, 13] Operation: 26/2=13 Exploring Operation: 39-2=37, Resulting Numbers: [26, 37] Generated Node #0,3,1: 19:[26, 37] Operation: 39-2=37 Exploring Operation: 39-26=13, Resulting Numbers: [2, 13] Generated Node #0,3,2: 19:[2, 13] Operation: 39-26=13 Exploring Operation: 26-2=24, Resulting Numbers: [39, 24] Generated Node #0,3,3: 19:[39, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[2, 13], Operations: ['53-51=2', '39-26=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,19 unequal: No Solution No 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: 19:[26, 37], Operations: ['53-51=2', '39-2=37'] Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,19 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,19 unequal: No Solution No 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: 19:[39, 24], Operations: ['53-51=2', '26-2=24'] Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,19 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,19 unequal: No Solution No 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: 19:[39, 13], Operations: ['53-51=2', '26/2=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,19 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: 19:[26, 53, 12], Operations: ['51-39=12'] Exploring Operation: 53-26=27, Resulting Numbers: [12, 27] Generated Node #0,0,0: 19:[12, 27] Operation: 53-26=27 Exploring Operation: 26+12=38, Resulting Numbers: [53, 38] Generated Node #0,0,1: 19:[53, 38] Operation: 26+12=38 Exploring Operation: 26-12=14, Resulting Numbers: [53, 14] Generated Node #0,0,2: 19:[53, 14] Operation: 26-12=14 Exploring Operation: 53-12=41, Resulting Numbers: [26, 41] Generated Node #0,0,3: 19:[26, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[12, 27], Operations: ['51-39=12', '53-26=27'] Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,19 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,19 unequal: No Solution No 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: 19:[26, 41], Operations: ['51-39=12', '53-12=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,19 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,19 unequal: No Solution No 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: 19:[53, 14], Operations: ['51-39=12', '26-12=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,19 unequal: No Solution No 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: 19:[53, 38], Operations: ['51-39=12', '26+12=38'] Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,19 unequal: No Solution Exploring Operation: 53*38=2014, Resulting Numbers: [2014] 2014,19 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,19 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: 19:[39, 53, 25], Operations: ['51-26=25'] Exploring Operation: 53-39=14, Resulting Numbers: [25, 14] Generated Node #0,1,0: 19:[25, 14] Operation: 53-39=14 Exploring Operation: 53-25=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 19:[39, 28] Operation: 53-25=28 Exploring Operation: 39+53=92, Resulting Numbers: [25, 92] Generated Node #0,1,2: 19:[25, 92] Operation: 39+53=92 Exploring Operation: 39-25=14, Resulting Numbers: [53, 14] Generated Node #0,1,3: 19:[53, 14] Operation: 39-25=14 Moving to Node #0,1,0 Current State: 19:[25, 14], Operations: ['51-26=25', '53-39=14'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[39, 28], Operations: ['51-26=25', '53-25=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,19 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[53, 14], Operations: ['51-26=25', '39-25=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,19 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[25, 92], Operations: ['51-26=25', '39+53=92'] Exploring Operation: 25*92=2300, Resulting Numbers: [2300] 2300,19 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 25+92=117, Resulting Numbers: [117] 117,19 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 9, 68, 80, 5 ]
51
[ "80-68=12", "5*12=60", "60-9=51" ]
Current State: 51:[9, 68, 80, 5], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [9, 5, 12] Generated Node #2: [9, 5, 12] from Operation: 80-68=12 Current State: 51:[9, 5, 12], Operations: ['80-68=12'] Exploring Operation: 5*12=60, Resulting Numbers: [9, 60] Generated Node #3: [9, 60] from Operation: 5*12=60 Current State: 51:[9, 60], Operations: ['80-68=12', '5*12=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[9, 68, 80, 5], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [9, 5, 12] Generated Node #0,0: 51:[9, 5, 12] Operation: 80-68=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[9, 5, 12], Operations: ['80-68=12'] Exploring Operation: 12-9=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 51:[5, 3] Operation: 12-9=3 Moving to Node #0,0,0 Current State: 51:[5, 3], Operations: ['80-68=12', '12-9=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,51 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
[ 11, 77, 27, 81 ]
63
[ "77-11=66", "81/27=3", "66-3=63" ]
Current State: 63:[11, 77, 27, 81], Operations: [] Exploring Operation: 77-11=66, Resulting Numbers: [27, 81, 66] Generated Node #2: [27, 81, 66] from Operation: 77-11=66 Current State: 63:[27, 81, 66], Operations: ['77-11=66'] Exploring Operation: 81/27=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 81/27=3 Current State: 63:[66, 3], Operations: ['77-11=66', '81/27=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[11, 77, 27, 81], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [11, 77, 54] Generated Node #0,0: 63:[11, 77, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [11, 77, 3] Generated Node #0,1: 63:[11, 77, 3] Operation: 81/27=3 Exploring Operation: 77/11=7, Resulting Numbers: [27, 81, 7] Generated Node #0,2: 63:[27, 81, 7] Operation: 77/11=7 Exploring Operation: 81-77=4, Resulting Numbers: [11, 27, 4] Generated Node #0,3: 63:[11, 27, 4] Operation: 81-77=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[11, 27, 4], Operations: ['81-77=4'] Exploring Operation: 11+4=15, Resulting Numbers: [27, 15] Generated Node #0,3,0: 63:[27, 15] Operation: 11+4=15 Exploring Operation: 11-4=7, Resulting Numbers: [27, 7] Generated Node #0,3,1: 63:[27, 7] Operation: 11-4=7 Exploring Operation: 27-4=23, Resulting Numbers: [11, 23] Generated Node #0,3,2: 63:[11, 23] Operation: 27-4=23 Exploring Operation: 27-11=16, Resulting Numbers: [4, 16] Generated Node #0,3,3: 63:[4, 16] Operation: 27-11=16 Moving to Node #0,3,2 Current State: 63:[11, 23], Operations: ['81-77=4', '27-4=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,63 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[4, 16], Operations: ['81-77=4', '27-11=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[27, 7], Operations: ['81-77=4', '11-4=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[27, 15], Operations: ['81-77=4', '11+4=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,63 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,63 unequal: No Solution No 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: 63:[11, 77, 3], Operations: ['81/27=3'] Exploring Operation: 77-3=74, Resulting Numbers: [11, 74] Generated Node #0,1,0: 63:[11, 74] Operation: 77-3=74 Exploring Operation: 77-11=66, Resulting Numbers: [3, 66] Generated Node #0,1,1: 63:[3, 66] Operation: 77-11=66 Exploring Operation: 11-3=8, Resulting Numbers: [77, 8] Generated Node #0,1,2: 63:[77, 8] Operation: 11-3=8 Exploring Operation: 77/11=7, Resulting Numbers: [3, 7] Generated Node #0,1,3: 63:[3, 7] Operation: 77/11=7 Moving to Node #0,1,3 Current State: 63:[3, 7], Operations: ['81/27=3', '77/11=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[3, 66], Operations: ['81/27=3', '77-11=66'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,63 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[11, 77, 27, 81], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [11, 77, 3] Generated Node #0,1: 63:[11, 77, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 63:[11, 77, 3], Operations: ['81/27=3'] Exploring Operation: 77-11=66, Resulting Numbers: [3, 66] Generated Node #0,1,1: 63:[3, 66] Operation: 77-11=66 Moving to Node #0,1,1 Current State: 63:[3, 66], Operations: ['81/27=3', '77-11=66'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 34, 81, 3, 97 ]
53
[ "81-34=47", "3+97=100", "100-47=53" ]
Current State: 53:[34, 81, 3, 97], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [3, 97, 47] Generated Node #2: [3, 97, 47] from Operation: 81-34=47 Current State: 53:[3, 97, 47], Operations: ['81-34=47'] Exploring Operation: 3+97=100, Resulting Numbers: [47, 100] Generated Node #3: [47, 100] from Operation: 3+97=100 Current State: 53:[47, 100], Operations: ['81-34=47', '3+97=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[34, 81, 3, 97], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [34, 97, 27] Generated Node #0,0: 53:[34, 97, 27] Operation: 81/3=27 Exploring Operation: 81-3=78, Resulting Numbers: [34, 97, 78] Generated Node #0,1: 53:[34, 97, 78] Operation: 81-3=78 Exploring Operation: 97-34=63, Resulting Numbers: [81, 3, 63] Generated Node #0,2: 53:[81, 3, 63] Operation: 97-34=63 Exploring Operation: 97-3=94, Resulting Numbers: [34, 81, 94] Generated Node #0,3: 53:[34, 81, 94] Operation: 97-3=94 Exploring Operation: 34+3=37, Resulting Numbers: [81, 97, 37] Generated Node #0,4: 53:[81, 97, 37] Operation: 34+3=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[34, 97, 78], Operations: ['81-3=78'] Exploring Operation: 34+97=131, Resulting Numbers: [78, 131] Generated Node #0,1,0: 53:[78, 131] Operation: 34+97=131 Exploring Operation: 78-34=44, Resulting Numbers: [97, 44] Generated Node #0,1,1: 53:[97, 44] Operation: 78-34=44 Exploring Operation: 34+78=112, Resulting Numbers: [97, 112] Generated Node #0,1,2: 53:[97, 112] Operation: 34+78=112 Exploring Operation: 97-34=63, Resulting Numbers: [78, 63] Generated Node #0,1,3: 53:[78, 63] Operation: 97-34=63 Exploring Operation: 97-78=19, Resulting Numbers: [34, 19] Generated Node #0,1,4: 53:[34, 19] Operation: 97-78=19 Moving to Node #0,1,3 Current State: 53:[78, 63], Operations: ['81-3=78', '97-34=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,53 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[34, 19], Operations: ['81-3=78', '97-78=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,53 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[34, 81, 3, 97], Operations: [] Exploring Operation: 81-3=78, Resulting Numbers: [34, 97, 78] Generated Node #0,1: 53:[34, 97, 78] Operation: 81-3=78 Moving to Node #0,1 Current State: 53:[34, 97, 78], Operations: ['81-3=78'] Exploring Operation: 97-78=19, Resulting Numbers: [34, 19] Generated Node #0,1,4: 53:[34, 19] Operation: 97-78=19 Moving to Node #0,1,4 Current State: 53:[34, 19], Operations: ['81-3=78', '97-78=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 87, 15, 66, 6 ]
91
[ "87+15=102", "66/6=11", "102-11=91" ]
Current State: 91:[87, 15, 66, 6], Operations: [] Exploring Operation: 87+15=102, Resulting Numbers: [66, 6, 102] Generated Node #2: [66, 6, 102] from Operation: 87+15=102 Current State: 91:[66, 6, 102], Operations: ['87+15=102'] Exploring Operation: 66/6=11, Resulting Numbers: [102, 11] Generated Node #3: [102, 11] from Operation: 66/6=11 Current State: 91:[102, 11], Operations: ['87+15=102', '66/6=11'] Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 15, 66, 6], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [15, 6, 21] Generated Node #0,0: 91:[15, 6, 21] Operation: 87-66=21 Exploring Operation: 66/6=11, Resulting Numbers: [87, 15, 11] Generated Node #0,1: 91:[87, 15, 11] Operation: 66/6=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[87, 15, 11], Operations: ['66/6=11'] Exploring Operation: 15-11=4, Resulting Numbers: [87, 4] Generated Node #0,1,0: 91:[87, 4] Operation: 15-11=4 Exploring Operation: 87+11=98, Resulting Numbers: [15, 98] Generated Node #0,1,1: 91:[15, 98] Operation: 87+11=98 Moving to Node #0,1,0 Current State: 91:[87, 4], Operations: ['66/6=11', '15-11=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[87, 15, 66, 6], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [87, 15, 11] Generated Node #0,1: 91:[87, 15, 11] Operation: 66/6=11 Moving to Node #0,1 Current State: 91:[87, 15, 11], Operations: ['66/6=11'] Exploring Operation: 15-11=4, Resulting Numbers: [87, 4] Generated Node #0,1,0: 91:[87, 4] Operation: 15-11=4 Moving to Node #0,1,0 Current State: 91:[87, 4], Operations: ['66/6=11', '15-11=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 40, 58, 37, 2 ]
52
[ "40-37=3", "2*3=6", "58-6=52" ]
Current State: 52:[40, 58, 37, 2], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [58, 2, 3] Generated Node #2: [58, 2, 3] from Operation: 40-37=3 Current State: 52:[58, 2, 3], Operations: ['40-37=3'] Exploring Operation: 2*3=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 2*3=6 Current State: 52:[58, 6], Operations: ['40-37=3', '2*3=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[40, 58, 37, 2], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [37, 2, 18] Generated Node #0,0: 52:[37, 2, 18] Operation: 58-40=18 Exploring Operation: 40-37=3, Resulting Numbers: [58, 2, 3] Generated Node #0,1: 52:[58, 2, 3] Operation: 40-37=3 Exploring Operation: 58-37=21, Resulting Numbers: [40, 2, 21] Generated Node #0,2: 52:[40, 2, 21] Operation: 58-37=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[58, 2, 3], Operations: ['40-37=3'] Exploring Operation: 58/2=29, Resulting Numbers: [3, 29] Generated Node #0,1,0: 52:[3, 29] Operation: 58/2=29 Exploring Operation: 58-3=55, Resulting Numbers: [2, 55] Generated Node #0,1,1: 52:[2, 55] Operation: 58-3=55 Exploring Operation: 58-2=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 52:[3, 56] Operation: 58-2=56 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[2, 55], Operations: ['40-37=3', '58-3=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[3, 29], Operations: ['40-37=3', '58/2=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[3, 56], Operations: ['40-37=3', '58-2=56'] Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,52 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[37, 2, 18], Operations: ['58-40=18'] Exploring Operation: 37-18=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 52:[2, 19] Operation: 37-18=19 Exploring Operation: 37+18=55, Resulting Numbers: [2, 55] Generated Node #0,0,1: 52:[2, 55] Operation: 37+18=55 Exploring Operation: 37-2=35, Resulting Numbers: [18, 35] Generated Node #0,0,2: 52:[18, 35] Operation: 37-2=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[2, 55], Operations: ['58-40=18', '37+18=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[2, 19], Operations: ['58-40=18', '37-18=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[18, 35], Operations: ['58-40=18', '37-2=35'] Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[40, 2, 21], Operations: ['58-37=21'] Exploring Operation: 40-21=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 52:[2, 19] Operation: 40-21=19 Exploring Operation: 40+21=61, Resulting Numbers: [2, 61] Generated Node #0,2,1: 52:[2, 61] Operation: 40+21=61 Exploring Operation: 40/2=20, Resulting Numbers: [21, 20] Generated Node #0,2,2: 52:[21, 20] Operation: 40/2=20 Moving to Node #0,2,0 Current State: 52:[2, 19], Operations: ['58-37=21', '40-21=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[2, 61], Operations: ['58-37=21', '40+21=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[21, 20], Operations: ['58-37=21', '40/2=20'] Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,52 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,52 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
[ 42, 16, 20, 18 ]
100
[ "20-18=2", "42*2=84", "16+84=100" ]
Current State: 100:[42, 16, 20, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [42, 16, 2] Generated Node #2: [42, 16, 2] from Operation: 20-18=2 Current State: 100:[42, 16, 2], Operations: ['20-18=2'] Exploring Operation: 42*2=84, Resulting Numbers: [16, 84] Generated Node #3: [16, 84] from Operation: 42*2=84 Current State: 100:[16, 84], Operations: ['20-18=2', '42*2=84'] Exploring Operation: 16+84=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[42, 16, 20, 18], Operations: [] Exploring Operation: 42-16=26, Resulting Numbers: [20, 18, 26] Generated Node #0,0: 100:[20, 18, 26] Operation: 42-16=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[20, 18, 26], Operations: ['42-16=26'] Exploring Operation: 20-18=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 100:[26, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 100:[26, 2], Operations: ['42-16=26', '20-18=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,100 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
[ 79, 11, 4, 12 ]
83
[ "79+4=83", "12-11=1", "83*1=83" ]
Current State: 83:[79, 11, 4, 12], Operations: [] Exploring Operation: 79+4=83, Resulting Numbers: [11, 12, 83] Generated Node #2: [11, 12, 83] from Operation: 79+4=83 Current State: 83:[11, 12, 83], Operations: ['79+4=83'] Exploring Operation: 12-11=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 12-11=1 Current State: 83:[83, 1], Operations: ['79+4=83', '12-11=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[79, 11, 4, 12], Operations: [] Exploring Operation: 11*4=44, Resulting Numbers: [79, 12, 44] Generated Node #0,0: 83:[79, 12, 44] Operation: 11*4=44 Exploring Operation: 4*12=48, Resulting Numbers: [79, 11, 48] Generated Node #0,1: 83:[79, 11, 48] Operation: 4*12=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[79, 11, 48], Operations: ['4*12=48'] Exploring Operation: 11+48=59, Resulting Numbers: [79, 59] Generated Node #0,1,0: 83:[79, 59] Operation: 11+48=59 Exploring Operation: 79+11=90, Resulting Numbers: [48, 90] Generated Node #0,1,1: 83:[48, 90] Operation: 79+11=90 Moving to Node #0,1,0 Current State: 83:[79, 59], Operations: ['4*12=48', '11+48=59'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[48, 90], Operations: ['4*12=48', '79+11=90'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,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:[79, 12, 44], Operations: ['11*4=44'] Exploring Operation: 79+12=91, Resulting Numbers: [44, 91] Generated Node #0,0,0: 83:[44, 91] Operation: 79+12=91 Exploring Operation: 12+44=56, Resulting Numbers: [79, 56] Generated Node #0,0,1: 83:[79, 56] Operation: 12+44=56 Moving to Node #0,0,1 Current State: 83:[79, 56], Operations: ['11*4=44', '12+44=56'] Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[44, 91], Operations: ['11*4=44', '79+12=91'] Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,83 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
[ 31, 7, 74, 80 ]
73
[ "80-74=6", "7*6=42", "31+42=73" ]
Current State: 73:[31, 7, 74, 80], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [31, 7, 6] Generated Node #2: [31, 7, 6] from Operation: 80-74=6 Current State: 73:[31, 7, 6], Operations: ['80-74=6'] Exploring Operation: 7*6=42, Resulting Numbers: [31, 42] Generated Node #3: [31, 42] from Operation: 7*6=42 Current State: 73:[31, 42], Operations: ['80-74=6', '7*6=42'] Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[31, 7, 74, 80], Operations: [] Exploring Operation: 31+7=38, Resulting Numbers: [74, 80, 38] Generated Node #0,0: 73:[74, 80, 38] Operation: 31+7=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[74, 80, 38], Operations: ['31+7=38'] Exploring Operation: 80-38=42, Resulting Numbers: [74, 42] Generated Node #0,0,0: 73:[74, 42] Operation: 80-38=42 Moving to Node #0,0,0 Current State: 73:[74, 42], Operations: ['31+7=38', '80-38=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 1, 5, 2 ]
79
[ "18-2=16", "5*16=80", "80-1=79" ]
Current State: 79:[18, 1, 5, 2], Operations: [] Exploring Operation: 18-2=16, Resulting Numbers: [1, 5, 16] Generated Node #2: [1, 5, 16] from Operation: 18-2=16 Current State: 79:[1, 5, 16], Operations: ['18-2=16'] Exploring Operation: 5*16=80, Resulting Numbers: [1, 80] Generated Node #3: [1, 80] from Operation: 5*16=80 Current State: 79:[1, 80], Operations: ['18-2=16', '5*16=80'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[18, 1, 5, 2], Operations: [] Exploring Operation: 18*5=90, Resulting Numbers: [1, 2, 90] Generated Node #0,0: 79:[1, 2, 90] Operation: 18*5=90 Exploring Operation: 5*2=10, Resulting Numbers: [18, 1, 10] Generated Node #0,1: 79:[18, 1, 10] Operation: 5*2=10 Exploring Operation: 18+5=23, Resulting Numbers: [1, 2, 23] Generated Node #0,2: 79:[1, 2, 23] Operation: 18+5=23 Exploring Operation: 18*2=36, Resulting Numbers: [1, 5, 36] Generated Node #0,3: 79:[1, 5, 36] Operation: 18*2=36 Exploring Operation: 18+1=19, Resulting Numbers: [5, 2, 19] Generated Node #0,4: 79:[5, 2, 19] Operation: 18+1=19 Moving to Node #0,0 Current State: 79:[1, 2, 90], Operations: ['18*5=90'] Exploring Operation: 1*2=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 79:[90, 2] Operation: 1*2=2 Exploring Operation: 90-2=88, Resulting Numbers: [1, 88] Generated Node #0,0,1: 79:[1, 88] Operation: 90-2=88 Exploring Operation: 1+2=3, Resulting Numbers: [90, 3] Generated Node #0,0,2: 79:[90, 3] Operation: 1+2=3 Exploring Operation: 90-1=89, Resulting Numbers: [2, 89] Generated Node #0,0,3: 79:[2, 89] Operation: 90-1=89 Exploring Operation: 2/1=2, Resulting Numbers: [90, 2] Generated Node #0,0,4: 79:[90, 2] Operation: 2/1=2 Moving to Node #0,3 Current State: 79:[1, 5, 36], Operations: ['18*2=36'] Exploring Operation: 1+36=37, Resulting Numbers: [5, 37] Generated Node #0,3,0: 79:[5, 37] Operation: 1+36=37 Exploring Operation: 5+36=41, Resulting Numbers: [1, 41] Generated Node #0,3,1: 79:[1, 41] Operation: 5+36=41 Exploring Operation: 5/1=5, Resulting Numbers: [36, 5] Generated Node #0,3,2: 79:[36, 5] Operation: 5/1=5 Exploring Operation: 1+5=6, Resulting Numbers: [36, 6] Generated Node #0,3,3: 79:[36, 6] Operation: 1+5=6 Exploring Operation: 1*5=5, Resulting Numbers: [36, 5] Generated Node #0,3,4: 79:[36, 5] Operation: 1*5=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[5, 37], Operations: ['18*2=36', '1+36=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,79 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,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,3,1 Current State: 79:[1, 41], Operations: ['18*2=36', '5+36=41'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,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,3,3 Current State: 79:[36, 6], Operations: ['18*2=36', '1+5=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,79 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,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,3,2 Current State: 79:[36, 5], Operations: ['18*2=36', '5/1=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,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,3,4 Current State: 79:[36, 5], Operations: ['18*2=36', '1*5=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[18, 1, 10], Operations: ['5*2=10'] Exploring Operation: 18+1=19, Resulting Numbers: [10, 19] Generated Node #0,1,0: 79:[10, 19] Operation: 18+1=19 Exploring Operation: 18*1=18, Resulting Numbers: [10, 18] Generated Node #0,1,1: 79:[10, 18] Operation: 18*1=18 Exploring Operation: 1+10=11, Resulting Numbers: [18, 11] Generated Node #0,1,2: 79:[18, 11] Operation: 1+10=11 Exploring Operation: 18/1=18, Resulting Numbers: [10, 18] Generated Node #0,1,3: 79:[10, 18] Operation: 18/1=18 Exploring Operation: 18+10=28, Resulting Numbers: [1, 28] Generated Node #0,1,4: 79:[1, 28] Operation: 18+10=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[10, 19], Operations: ['5*2=10', '18+1=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,79 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[18, 11], Operations: ['5*2=10', '1+10=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,79 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 79:[1, 28], Operations: ['5*2=10', '18+10=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,79 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[10, 18], Operations: ['5*2=10', '18*1=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 79:[10, 18], Operations: ['5*2=10', '18/1=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,79 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: 79:[1, 2, 23], Operations: ['18+5=23'] Exploring Operation: 1*2=2, Resulting Numbers: [23, 2] Generated Node #0,2,0: 79:[23, 2] Operation: 1*2=2 Exploring Operation: 1+23=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 79:[2, 24] Operation: 1+23=24 Exploring Operation: 2*23=46, Resulting Numbers: [1, 46] Generated Node #0,2,2: 79:[1, 46] Operation: 2*23=46 Exploring Operation: 1+2=3, Resulting Numbers: [23, 3] Generated Node #0,2,3: 79:[23, 3] Operation: 1+2=3 Exploring Operation: 2+23=25, Resulting Numbers: [1, 25] Generated Node #0,2,4: 79:[1, 25] Operation: 2+23=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[1, 46], Operations: ['18+5=23', '2*23=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,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,1 Current State: 79:[2, 24], Operations: ['18+5=23', '1+23=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[23, 3], Operations: ['18+5=23', '1+2=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[1, 25], Operations: ['18+5=23', '2+23=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[23, 2], Operations: ['18+5=23', '1*2=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,79 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: 79:[5, 2, 19], Operations: ['18+1=19'] Exploring Operation: 5+2=7, Resulting Numbers: [19, 7] Generated Node #0,4,0: 79:[19, 7] Operation: 5+2=7 Exploring Operation: 2*19=38, Resulting Numbers: [5, 38] Generated Node #0,4,1: 79:[5, 38] Operation: 2*19=38 Exploring Operation: 5+19=24, Resulting Numbers: [2, 24] Generated Node #0,4,2: 79:[2, 24] Operation: 5+19=24 Exploring Operation: 5*2=10, Resulting Numbers: [19, 10] Generated Node #0,4,3: 79:[19, 10] Operation: 5*2=10 Exploring Operation: 5*19=95, Resulting Numbers: [2, 95] Generated Node #0,4,4: 79:[2, 95] Operation: 5*19=95 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[2, 95], Operations: ['18+1=19', '5*19=95'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 2*95=190, Resulting Numbers: [190] 190,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[5, 38], Operations: ['18+1=19', '2*19=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[19, 10], Operations: ['18+1=19', '5*2=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,79 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[19, 7], Operations: ['18+1=19', '5+2=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[2, 24], Operations: ['18+1=19', '5+19=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,79 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,79 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: 79:[1, 88], Operations: ['18*5=90', '90-2=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,79 unequal: No Solution Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,79 unequal: No Solution Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[2, 89], Operations: ['18*5=90', '90-1=89'] Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[90, 3], Operations: ['18*5=90', '1+2=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,79 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[90, 2], Operations: ['18*5=90', '1*2=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,79 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[90, 2], Operations: ['18*5=90', '2/1=2'] Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,79 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,79 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,79 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 68, 2, 48 ]
74
[ "17+68=85", "85-48=37", "2*37=74" ]
Current State: 74:[17, 68, 2, 48], Operations: [] Exploring Operation: 17+68=85, Resulting Numbers: [2, 48, 85] Generated Node #2: [2, 48, 85] from Operation: 17+68=85 Current State: 74:[2, 48, 85], Operations: ['17+68=85'] Exploring Operation: 85-48=37, Resulting Numbers: [2, 37] Generated Node #3: [2, 37] from Operation: 85-48=37 Current State: 74:[2, 37], Operations: ['17+68=85', '85-48=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[17, 68, 2, 48], Operations: [] Exploring Operation: 17*2=34, Resulting Numbers: [68, 48, 34] Generated Node #0,0: 74:[68, 48, 34] Operation: 17*2=34 Exploring Operation: 17+48=65, Resulting Numbers: [68, 2, 65] Generated Node #0,1: 74:[68, 2, 65] Operation: 17+48=65 Exploring Operation: 68/17=4, Resulting Numbers: [2, 48, 4] Generated Node #0,2: 74:[2, 48, 4] Operation: 68/17=4 Exploring Operation: 48-17=31, Resulting Numbers: [68, 2, 31] Generated Node #0,3: 74:[68, 2, 31] Operation: 48-17=31 Exploring Operation: 17+68=85, Resulting Numbers: [2, 48, 85] Generated Node #0,4: 74:[2, 48, 85] Operation: 17+68=85 Moving to Node #0,3 Current State: 74:[68, 2, 31], Operations: ['48-17=31'] Exploring Operation: 68-2=66, Resulting Numbers: [31, 66] Generated Node #0,3,0: 74:[31, 66] Operation: 68-2=66 Exploring Operation: 2+31=33, Resulting Numbers: [68, 33] Generated Node #0,3,1: 74:[68, 33] Operation: 2+31=33 Exploring Operation: 68-31=37, Resulting Numbers: [2, 37] Generated Node #0,3,2: 74:[2, 37] Operation: 68-31=37 Exploring Operation: 68+2=70, Resulting Numbers: [31, 70] Generated Node #0,3,3: 74:[31, 70] Operation: 68+2=70 Exploring Operation: 68/2=34, Resulting Numbers: [31, 34] Generated Node #0,3,4: 74:[31, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[2, 37], Operations: ['48-17=31', '68-31=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[17, 68, 2, 48], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [68, 2, 31] Generated Node #0,3: 74:[68, 2, 31] Operation: 48-17=31 Moving to Node #0,3 Current State: 74:[68, 2, 31], Operations: ['48-17=31'] Exploring Operation: 68-31=37, Resulting Numbers: [2, 37] Generated Node #0,3,2: 74:[2, 37] Operation: 68-31=37 Moving to Node #0,3,2 Current State: 74:[2, 37], Operations: ['48-17=31', '68-31=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 1, 69, 31, 6 ]
86
[ "6-1=5", "31*5=155", "155-69=86" ]
Current State: 86:[1, 69, 31, 6], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [69, 31, 5] Generated Node #2: [69, 31, 5] from Operation: 6-1=5 Current State: 86:[69, 31, 5], Operations: ['6-1=5'] Exploring Operation: 31*5=155, Resulting Numbers: [69, 155] Generated Node #3: [69, 155] from Operation: 31*5=155 Current State: 86:[69, 155], Operations: ['6-1=5', '31*5=155'] Exploring Operation: 155-69=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 69, 31, 6], Operations: [] Exploring Operation: 69+6=75, Resulting Numbers: [1, 31, 75] Generated Node #0,0: 86:[1, 31, 75] Operation: 69+6=75 Exploring Operation: 69+31=100, Resulting Numbers: [1, 6, 100] Generated Node #0,1: 86:[1, 6, 100] Operation: 69+31=100 Exploring Operation: 69-31=38, Resulting Numbers: [1, 6, 38] Generated Node #0,2: 86:[1, 6, 38] Operation: 69-31=38 Moving to Node #0,2 Current State: 86:[1, 6, 38], Operations: ['69-31=38'] Exploring Operation: 6+38=44, Resulting Numbers: [1, 44] Generated Node #0,2,0: 86:[1, 44] Operation: 6+38=44 Exploring Operation: 1+38=39, Resulting Numbers: [6, 39] Generated Node #0,2,1: 86:[6, 39] Operation: 1+38=39 Exploring Operation: 6-1=5, Resulting Numbers: [38, 5] Generated Node #0,2,2: 86:[38, 5] Operation: 6-1=5 Moving to Node #0,1 Current State: 86:[1, 6, 100], Operations: ['69+31=100'] Exploring Operation: 100-6=94, Resulting Numbers: [1, 94] Generated Node #0,1,0: 86:[1, 94] Operation: 100-6=94 Exploring Operation: 6-1=5, Resulting Numbers: [100, 5] Generated Node #0,1,1: 86:[100, 5] Operation: 6-1=5 Exploring Operation: 100-1=99, Resulting Numbers: [6, 99] Generated Node #0,1,2: 86:[6, 99] Operation: 100-1=99 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[1, 94], Operations: ['69+31=100', '100-6=94'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 1*94=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[100, 5], Operations: ['69+31=100', '6-1=5'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 100+5=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[6, 99], Operations: ['69+31=100', '100-1=99'] Exploring Operation: 6+99=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 6*99=594, Resulting Numbers: [594] 594,86 unequal: No Solution Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,86 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: 86:[1, 31, 75], Operations: ['69+6=75'] Exploring Operation: 31+75=106, Resulting Numbers: [1, 106] Generated Node #0,0,0: 86:[1, 106] Operation: 31+75=106 Exploring Operation: 1+31=32, Resulting Numbers: [75, 32] Generated Node #0,0,1: 86:[75, 32] Operation: 1+31=32 Exploring Operation: 75-31=44, Resulting Numbers: [1, 44] Generated Node #0,0,2: 86:[1, 44] Operation: 75-31=44 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[1, 44], Operations: ['69+6=75', '75-31=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,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,0 Current State: 86:[1, 106], Operations: ['69+6=75', '31+75=106'] Exploring Operation: 106-1=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 1*106=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 106/1=106, Resulting Numbers: [106] 106,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:[75, 32], Operations: ['69+6=75', '1+31=32'] Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,86 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,86 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,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:[1, 44], Operations: ['69-31=38', '6+38=44'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[6, 39], Operations: ['69-31=38', '1+38=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,86 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[38, 5], Operations: ['69-31=38', '6-1=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,86 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,86 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 80, 2, 42 ]
82
[ "80-42=38", "2*38=76", "6+76=82" ]
Current State: 82:[6, 80, 2, 42], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [6, 2, 38] Generated Node #2: [6, 2, 38] from Operation: 80-42=38 Current State: 82:[6, 2, 38], Operations: ['80-42=38'] Exploring Operation: 2*38=76, Resulting Numbers: [6, 76] Generated Node #3: [6, 76] from Operation: 2*38=76 Current State: 82:[6, 76], Operations: ['80-42=38', '2*38=76'] Exploring Operation: 6+76=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[6, 80, 2, 42], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [80, 42, 3] Generated Node #0,0: 82:[80, 42, 3] Operation: 6/2=3 Exploring Operation: 6+80=86, Resulting Numbers: [2, 42, 86] Generated Node #0,1: 82:[2, 42, 86] Operation: 6+80=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[80, 42, 3], Operations: ['6/2=3'] Exploring Operation: 80+3=83, Resulting Numbers: [42, 83] Generated Node #0,0,0: 82:[42, 83] Operation: 80+3=83 Exploring Operation: 80-42=38, Resulting Numbers: [3, 38] Generated Node #0,0,1: 82:[3, 38] Operation: 80-42=38 Moving to Node #0,0,0 Current State: 82:[42, 83], Operations: ['6/2=3', '80+3=83'] Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[3, 38], Operations: ['6/2=3', '80-42=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,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 Current State: 82:[2, 42, 86], Operations: ['6+80=86'] Exploring Operation: 86/2=43, Resulting Numbers: [42, 43] Generated Node #0,1,0: 82:[42, 43] Operation: 86/2=43 Exploring Operation: 86-2=84, Resulting Numbers: [42, 84] Generated Node #0,1,1: 82:[42, 84] Operation: 86-2=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[42, 43], Operations: ['6+80=86', '86/2=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,82 unequal: No Solution No 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: 82:[42, 84], Operations: ['6+80=86', '86-2=84'] Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,82 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
[ 9, 66, 33, 55 ]
33
[ "66+55=121", "9*121=1089", "1089/33=33" ]
Current State: 33:[9, 66, 33, 55], Operations: [] Exploring Operation: 66+55=121, Resulting Numbers: [9, 33, 121] Generated Node #2: [9, 33, 121] from Operation: 66+55=121 Current State: 33:[9, 33, 121], Operations: ['66+55=121'] Exploring Operation: 9*121=1089, Resulting Numbers: [33, 1089] Generated Node #3: [33, 1089] from Operation: 9*121=1089 Current State: 33:[33, 1089], Operations: ['66+55=121', '9*121=1089'] Exploring Operation: 1089/33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[9, 66, 33, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [9, 33, 11] Generated Node #0,0: 33:[9, 33, 11] Operation: 66-55=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[9, 33, 11], Operations: ['66-55=11'] Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 33:[33, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 33:[33, 2], Operations: ['66-55=11', '11-9=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 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
[ 7, 49, 59, 79 ]
82
[ "7+49=56", "59+79=138", "138-56=82" ]
Current State: 82:[7, 49, 59, 79], Operations: [] Exploring Operation: 7+49=56, Resulting Numbers: [59, 79, 56] Generated Node #2: [59, 79, 56] from Operation: 7+49=56 Current State: 82:[59, 79, 56], Operations: ['7+49=56'] Exploring Operation: 59+79=138, Resulting Numbers: [56, 138] Generated Node #3: [56, 138] from Operation: 59+79=138 Current State: 82:[56, 138], Operations: ['7+49=56', '59+79=138'] Exploring Operation: 138-56=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[7, 49, 59, 79], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [49, 79, 52] Generated Node #0,0: 82:[49, 79, 52] Operation: 59-7=52 Exploring Operation: 49/7=7, Resulting Numbers: [59, 79, 7] Generated Node #0,1: 82:[59, 79, 7] Operation: 49/7=7 Exploring Operation: 7+59=66, Resulting Numbers: [49, 79, 66] Generated Node #0,2: 82:[49, 79, 66] Operation: 7+59=66 Exploring Operation: 59-49=10, Resulting Numbers: [7, 79, 10] Generated Node #0,3: 82:[7, 79, 10] Operation: 59-49=10 Exploring Operation: 49-7=42, Resulting Numbers: [59, 79, 42] Generated Node #0,4: 82:[59, 79, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[7, 79, 10], Operations: ['59-49=10'] Exploring Operation: 79-7=72, Resulting Numbers: [10, 72] Generated Node #0,3,0: 82:[10, 72] Operation: 79-7=72 Exploring Operation: 10-7=3, Resulting Numbers: [79, 3] Generated Node #0,3,1: 82:[79, 3] Operation: 10-7=3 Exploring Operation: 7*10=70, Resulting Numbers: [79, 70] Generated Node #0,3,2: 82:[79, 70] Operation: 7*10=70 Exploring Operation: 7+79=86, Resulting Numbers: [10, 86] Generated Node #0,3,3: 82:[10, 86] Operation: 7+79=86 Exploring Operation: 79+10=89, Resulting Numbers: [7, 89] Generated Node #0,3,4: 82:[7, 89] Operation: 79+10=89 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[79, 3], Operations: ['59-49=10', '10-7=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[7, 49, 59, 79], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [7, 79, 10] Generated Node #0,3: 82:[7, 79, 10] Operation: 59-49=10 Moving to Node #0,3 Current State: 82:[7, 79, 10], Operations: ['59-49=10'] Exploring Operation: 10-7=3, Resulting Numbers: [79, 3] Generated Node #0,3,1: 82:[79, 3] Operation: 10-7=3 Moving to Node #0,3,1 Current State: 82:[79, 3], Operations: ['59-49=10', '10-7=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 34, 49, 87, 27 ]
99
[ "49-34=15", "87+27=114", "114-15=99" ]
Current State: 99:[34, 49, 87, 27], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [87, 27, 15] Generated Node #2: [87, 27, 15] from Operation: 49-34=15 Current State: 99:[87, 27, 15], Operations: ['49-34=15'] Exploring Operation: 87+27=114, Resulting Numbers: [15, 114] Generated Node #3: [15, 114] from Operation: 87+27=114 Current State: 99:[15, 114], Operations: ['49-34=15', '87+27=114'] Exploring Operation: 114-15=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[34, 49, 87, 27], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [87, 27, 15] Generated Node #0,0: 99:[87, 27, 15] Operation: 49-34=15 Exploring Operation: 87-49=38, Resulting Numbers: [34, 27, 38] Generated Node #0,1: 99:[34, 27, 38] Operation: 87-49=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[34, 27, 38], Operations: ['87-49=38'] Exploring Operation: 34-27=7, Resulting Numbers: [38, 7] Generated Node #0,1,0: 99:[38, 7] Operation: 34-27=7 Exploring Operation: 38-27=11, Resulting Numbers: [34, 11] Generated Node #0,1,1: 99:[34, 11] Operation: 38-27=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[34, 11], Operations: ['87-49=38', '38-27=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[38, 7], Operations: ['87-49=38', '34-27=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[87, 27, 15], Operations: ['49-34=15'] Exploring Operation: 27-15=12, Resulting Numbers: [87, 12] Generated Node #0,0,0: 99:[87, 12] Operation: 27-15=12 Exploring Operation: 87+15=102, Resulting Numbers: [27, 102] Generated Node #0,0,1: 99:[27, 102] Operation: 87+15=102 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[27, 102], Operations: ['49-34=15', '87+15=102'] Exploring Operation: 102-27=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 27+102=129, Resulting Numbers: [129] 129,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[87, 12], Operations: ['49-34=15', '27-15=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[34, 49, 87, 27], Operations: [] Exploring Operation: 49-34=15, Resulting Numbers: [87, 27, 15] Generated Node #0,0: 99:[87, 27, 15] Operation: 49-34=15 Moving to Node #0,0 Current State: 99:[87, 27, 15], Operations: ['49-34=15'] Exploring Operation: 27-15=12, Resulting Numbers: [87, 12] Generated Node #0,0,0: 99:[87, 12] Operation: 27-15=12 Moving to Node #0,0,0 Current State: 99:[87, 12], Operations: ['49-34=15', '27-15=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 45, 60, 72, 73 ]
23
[ "60*72=4320", "4320/45=96", "96-73=23" ]
Current State: 23:[45, 60, 72, 73], Operations: [] Exploring Operation: 60*72=4320, Resulting Numbers: [45, 73, 4320] Generated Node #2: [45, 73, 4320] from Operation: 60*72=4320 Current State: 23:[45, 73, 4320], Operations: ['60*72=4320'] Exploring Operation: 4320/45=96, Resulting Numbers: [73, 96] Generated Node #3: [73, 96] from Operation: 4320/45=96 Current State: 23:[73, 96], Operations: ['60*72=4320', '4320/45=96'] Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[45, 60, 72, 73], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [45, 72, 13] Generated Node #0,0: 23:[45, 72, 13] Operation: 73-60=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[45, 72, 13], Operations: ['73-60=13'] Exploring Operation: 72-45=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 23:[13, 27] Operation: 72-45=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[13, 27], Operations: ['73-60=13', '72-45=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,23 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
[ 10, 97, 33, 22 ]
52
[ "10+97=107", "33+22=55", "107-55=52" ]
Current State: 52:[10, 97, 33, 22], Operations: [] Exploring Operation: 10+97=107, Resulting Numbers: [33, 22, 107] Generated Node #2: [33, 22, 107] from Operation: 10+97=107 Current State: 52:[33, 22, 107], Operations: ['10+97=107'] Exploring Operation: 33+22=55, Resulting Numbers: [107, 55] Generated Node #3: [107, 55] from Operation: 33+22=55 Current State: 52:[107, 55], Operations: ['10+97=107', '33+22=55'] Exploring Operation: 107-55=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[10, 97, 33, 22], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [33, 22, 87] Generated Node #0,0: 52:[33, 22, 87] Operation: 97-10=87 Exploring Operation: 97-33=64, Resulting Numbers: [10, 22, 64] Generated Node #0,1: 52:[10, 22, 64] Operation: 97-33=64 Exploring Operation: 97-22=75, Resulting Numbers: [10, 33, 75] Generated Node #0,2: 52:[10, 33, 75] Operation: 97-22=75 Exploring Operation: 33-22=11, Resulting Numbers: [10, 97, 11] Generated Node #0,3: 52:[10, 97, 11] Operation: 33-22=11 Moving to Node #0,1 Current State: 52:[10, 22, 64], Operations: ['97-33=64'] Exploring Operation: 22-10=12, Resulting Numbers: [64, 12] Generated Node #0,1,0: 52:[64, 12] Operation: 22-10=12 Exploring Operation: 64-22=42, Resulting Numbers: [10, 42] Generated Node #0,1,1: 52:[10, 42] Operation: 64-22=42 Exploring Operation: 64-10=54, Resulting Numbers: [22, 54] Generated Node #0,1,2: 52:[22, 54] Operation: 64-10=54 Exploring Operation: 10+22=32, Resulting Numbers: [64, 32] Generated Node #0,1,3: 52:[64, 32] Operation: 10+22=32 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[22, 54], Operations: ['97-33=64', '64-10=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,52 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[64, 12], Operations: ['97-33=64', '22-10=12'] Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,52 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[10, 97, 33, 22], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [10, 22, 64] Generated Node #0,1: 52:[10, 22, 64] Operation: 97-33=64 Moving to Node #0,1 Current State: 52:[10, 22, 64], Operations: ['97-33=64'] Exploring Operation: 22-10=12, Resulting Numbers: [64, 12] Generated Node #0,1,0: 52:[64, 12] Operation: 22-10=12 Moving to Node #0,1,0 Current State: 52:[64, 12], Operations: ['97-33=64', '22-10=12'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 43, 18, 8, 12 ]
35
[ "43+18=61", "8*12=96", "96-61=35" ]
Current State: 35:[43, 18, 8, 12], Operations: [] Exploring Operation: 43+18=61, Resulting Numbers: [8, 12, 61] Generated Node #2: [8, 12, 61] from Operation: 43+18=61 Current State: 35:[8, 12, 61], Operations: ['43+18=61'] Exploring Operation: 8*12=96, Resulting Numbers: [61, 96] Generated Node #3: [61, 96] from Operation: 8*12=96 Current State: 35:[61, 96], Operations: ['43+18=61', '8*12=96'] Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 18, 8, 12], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [43, 8, 6] Generated Node #0,0: 35:[43, 8, 6] Operation: 18-12=6 Exploring Operation: 43-12=31, Resulting Numbers: [18, 8, 31] Generated Node #0,1: 35:[18, 8, 31] Operation: 43-12=31 Exploring Operation: 43-8=35, Resulting Numbers: [18, 12, 35] Generated Node #0,2: 35:[18, 12, 35] Operation: 43-8=35 Exploring Operation: 43-18=25, Resulting Numbers: [8, 12, 25] Generated Node #0,3: 35:[8, 12, 25] Operation: 43-18=25 Exploring Operation: 18+12=30, Resulting Numbers: [43, 8, 30] Generated Node #0,4: 35:[43, 8, 30] Operation: 18+12=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[43, 8, 6], Operations: ['18-12=6'] Exploring Operation: 43-8=35, Resulting Numbers: [6, 35] Generated Node #0,0,0: 35:[6, 35] Operation: 43-8=35 Exploring Operation: 43-6=37, Resulting Numbers: [8, 37] Generated Node #0,0,1: 35:[8, 37] Operation: 43-6=37 Exploring Operation: 43+6=49, Resulting Numbers: [8, 49] Generated Node #0,0,2: 35:[8, 49] Operation: 43+6=49 Exploring Operation: 8-6=2, Resulting Numbers: [43, 2] Generated Node #0,0,3: 35:[43, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [43, 14] Generated Node #0,0,4: 35:[43, 14] Operation: 8+6=14 Moving to Node #0,0,0 Current State: 35:[6, 35], Operations: ['18-12=6', '43-8=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,35 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[8, 37], Operations: ['18-12=6', '43-6=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[43, 2], Operations: ['18-12=6', '8-6=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,35 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[8, 49], Operations: ['18-12=6', '43+6=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,35 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[43, 14], Operations: ['18-12=6', '8+6=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,35 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[43, 8, 30], Operations: ['18+12=30'] Exploring Operation: 43-30=13, Resulting Numbers: [8, 13] Generated Node #0,4,0: 35:[8, 13] Operation: 43-30=13 Exploring Operation: 30-8=22, Resulting Numbers: [43, 22] Generated Node #0,4,1: 35:[43, 22] Operation: 30-8=22 Exploring Operation: 8+30=38, Resulting Numbers: [43, 38] Generated Node #0,4,2: 35:[43, 38] Operation: 8+30=38 Exploring Operation: 43+8=51, Resulting Numbers: [30, 51] Generated Node #0,4,3: 35:[30, 51] Operation: 43+8=51 Exploring Operation: 43-8=35, Resulting Numbers: [30, 35] Generated Node #0,4,4: 35:[30, 35] Operation: 43-8=35 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[30, 35], Operations: ['18+12=30', '43-8=35'] Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,35 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,35 unequal: No Solution No 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: 35:[8, 13], Operations: ['18+12=30', '43-30=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,35 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[43, 38], Operations: ['18+12=30', '8+30=38'] Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,35 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,35 unequal: No Solution No 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: 35:[43, 22], Operations: ['18+12=30', '30-8=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,35 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,35 unequal: No Solution No 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: 35:[30, 51], Operations: ['18+12=30', '43+8=51'] Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,35 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,35 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: 35:[18, 8, 31], Operations: ['43-12=31'] Exploring Operation: 31-18=13, Resulting Numbers: [8, 13] Generated Node #0,1,0: 35:[8, 13] Operation: 31-18=13 Exploring Operation: 18-8=10, Resulting Numbers: [31, 10] Generated Node #0,1,1: 35:[31, 10] Operation: 18-8=10 Exploring Operation: 8+31=39, Resulting Numbers: [18, 39] Generated Node #0,1,2: 35:[18, 39] Operation: 8+31=39 Exploring Operation: 18+31=49, Resulting Numbers: [8, 49] Generated Node #0,1,3: 35:[8, 49] Operation: 18+31=49 Exploring Operation: 18+8=26, Resulting Numbers: [31, 26] Generated Node #0,1,4: 35:[31, 26] Operation: 18+8=26 Moving to Node #0,1,0 Current State: 35:[8, 13], Operations: ['43-12=31', '31-18=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[31, 10], Operations: ['43-12=31', '18-8=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[31, 26], Operations: ['43-12=31', '18+8=26'] Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,35 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[18, 39], Operations: ['43-12=31', '8+31=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[8, 49], Operations: ['43-12=31', '18+31=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[18, 12, 35], Operations: ['43-8=35'] Exploring Operation: 18+12=30, Resulting Numbers: [35, 30] Generated Node #0,2,0: 35:[35, 30] Operation: 18+12=30 Exploring Operation: 18+35=53, Resulting Numbers: [12, 53] Generated Node #0,2,1: 35:[12, 53] Operation: 18+35=53 Exploring Operation: 18-12=6, Resulting Numbers: [35, 6] Generated Node #0,2,2: 35:[35, 6] Operation: 18-12=6 Exploring Operation: 12+35=47, Resulting Numbers: [18, 47] Generated Node #0,2,3: 35:[18, 47] Operation: 12+35=47 Exploring Operation: 35-18=17, Resulting Numbers: [12, 17] Generated Node #0,2,4: 35:[12, 17] Operation: 35-18=17 Moving to Node #0,2,2 Current State: 35:[35, 6], Operations: ['43-8=35', '18-12=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,35 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[35, 30], Operations: ['43-8=35', '18+12=30'] Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,35 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[12, 17], Operations: ['43-8=35', '35-18=17'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[12, 53], Operations: ['43-8=35', '18+35=53'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 12*53=636, Resulting Numbers: [636] 636,35 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[18, 47], Operations: ['43-8=35', '12+35=47'] Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,35 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[8, 12, 25], Operations: ['43-18=25'] Exploring Operation: 25-12=13, Resulting Numbers: [8, 13] Generated Node #0,3,0: 35:[8, 13] Operation: 25-12=13 Exploring Operation: 12-8=4, Resulting Numbers: [25, 4] Generated Node #0,3,1: 35:[25, 4] Operation: 12-8=4 Exploring Operation: 12+25=37, Resulting Numbers: [8, 37] Generated Node #0,3,2: 35:[8, 37] Operation: 12+25=37 Exploring Operation: 8+25=33, Resulting Numbers: [12, 33] Generated Node #0,3,3: 35:[12, 33] Operation: 8+25=33 Exploring Operation: 25-8=17, Resulting Numbers: [12, 17] Generated Node #0,3,4: 35:[12, 17] Operation: 25-8=17 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[8, 37], Operations: ['43-18=25', '12+25=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,35 unequal: No Solution No 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: 35:[8, 13], Operations: ['43-18=25', '25-12=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,35 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,35 unequal: No Solution No 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: 35:[12, 33], Operations: ['43-18=25', '8+25=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,35 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,35 unequal: No Solution No 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: 35:[25, 4], Operations: ['43-18=25', '12-8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,35 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,35 unequal: No Solution No 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: 35:[12, 17], Operations: ['43-18=25', '25-8=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,35 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
[ 35, 48, 4, 62 ]
45
[ "48-35=13", "62-4=58", "58-13=45" ]
Current State: 45:[35, 48, 4, 62], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [4, 62, 13] Generated Node #2: [4, 62, 13] from Operation: 48-35=13 Current State: 45:[4, 62, 13], Operations: ['48-35=13'] Exploring Operation: 62-4=58, Resulting Numbers: [13, 58] Generated Node #3: [13, 58] from Operation: 62-4=58 Current State: 45:[13, 58], Operations: ['48-35=13', '62-4=58'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[35, 48, 4, 62], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [35, 4, 14] Generated Node #0,0: 45:[35, 4, 14] Operation: 62-48=14 Moving to Node #0,0 Current State: 45:[35, 4, 14], Operations: ['62-48=14'] Exploring Operation: 35+14=49, Resulting Numbers: [4, 49] Generated Node #0,0,0: 45:[4, 49] Operation: 35+14=49 Moving to Node #0,0,0 Current State: 45:[4, 49], Operations: ['62-48=14', '35+14=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[35, 48, 4, 62], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [35, 4, 14] Generated Node #0,0: 45:[35, 4, 14] Operation: 62-48=14 Moving to Node #0,0 Current State: 45:[35, 4, 14], Operations: ['62-48=14'] Exploring Operation: 35+14=49, Resulting Numbers: [4, 49] Generated Node #0,0,0: 45:[4, 49] Operation: 35+14=49 Moving to Node #0,0,0 Current State: 45:[4, 49], Operations: ['62-48=14', '35+14=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 28, 8, 6, 82 ]
65
[ "6*82=492", "28+492=520", "520/8=65" ]
Current State: 65:[28, 8, 6, 82], Operations: [] Exploring Operation: 6*82=492, Resulting Numbers: [28, 8, 492] Generated Node #2: [28, 8, 492] from Operation: 6*82=492 Current State: 65:[28, 8, 492], Operations: ['6*82=492'] Exploring Operation: 28+492=520, Resulting Numbers: [8, 520] Generated Node #3: [8, 520] from Operation: 28+492=520 Current State: 65:[8, 520], Operations: ['6*82=492', '28+492=520'] Exploring Operation: 520/8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[28, 8, 6, 82], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [6, 82, 20] Generated Node #0,0: 65:[6, 82, 20] Operation: 28-8=20 Exploring Operation: 28-6=22, Resulting Numbers: [8, 82, 22] Generated Node #0,1: 65:[8, 82, 22] Operation: 28-6=22 Exploring Operation: 82-28=54, Resulting Numbers: [8, 6, 54] Generated Node #0,2: 65:[8, 6, 54] Operation: 82-28=54 Exploring Operation: 82-8=74, Resulting Numbers: [28, 6, 74] Generated Node #0,3: 65:[28, 6, 74] Operation: 82-8=74 Moving to Node #0,2 Current State: 65:[8, 6, 54], Operations: ['82-28=54'] Exploring Operation: 8+6=14, Resulting Numbers: [54, 14] Generated Node #0,2,0: 65:[54, 14] Operation: 8+6=14 Exploring Operation: 8+54=62, Resulting Numbers: [6, 62] Generated Node #0,2,1: 65:[6, 62] Operation: 8+54=62 Exploring Operation: 54/6=9, Resulting Numbers: [8, 9] Generated Node #0,2,2: 65:[8, 9] Operation: 54/6=9 Exploring Operation: 6+54=60, Resulting Numbers: [8, 60] Generated Node #0,2,3: 65:[8, 60] Operation: 6+54=60 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[6, 62], Operations: ['82-28=54', '8+54=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,65 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,65 unequal: No Solution No 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: 65:[8, 9], Operations: ['82-28=54', '54/6=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,65 unequal: No Solution No 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: 65:[8, 60], Operations: ['82-28=54', '6+54=60'] Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,65 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,65 unequal: No Solution No 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: 65:[54, 14], Operations: ['82-28=54', '8+6=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,65 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,65 unequal: No Solution Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,65 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: 65:[28, 6, 74], Operations: ['82-8=74'] Exploring Operation: 74-6=68, Resulting Numbers: [28, 68] Generated Node #0,3,0: 65:[28, 68] Operation: 74-6=68 Exploring Operation: 74-28=46, Resulting Numbers: [6, 46] Generated Node #0,3,1: 65:[6, 46] Operation: 74-28=46 Exploring Operation: 28+6=34, Resulting Numbers: [74, 34] Generated Node #0,3,2: 65:[74, 34] Operation: 28+6=34 Exploring Operation: 28-6=22, Resulting Numbers: [74, 22] Generated Node #0,3,3: 65:[74, 22] Operation: 28-6=22 Moving to Node #0,0 Current State: 65:[6, 82, 20], Operations: ['28-8=20'] Exploring Operation: 6+82=88, Resulting Numbers: [20, 88] Generated Node #0,0,0: 65:[20, 88] Operation: 6+82=88 Exploring Operation: 82-20=62, Resulting Numbers: [6, 62] Generated Node #0,0,1: 65:[6, 62] Operation: 82-20=62 Exploring Operation: 82-6=76, Resulting Numbers: [20, 76] Generated Node #0,0,2: 65:[20, 76] Operation: 82-6=76 Exploring Operation: 20-6=14, Resulting Numbers: [82, 14] Generated Node #0,0,3: 65:[82, 14] Operation: 20-6=14 Moving to Node #0,1 Current State: 65:[8, 82, 22], Operations: ['28-6=22'] Exploring Operation: 82-8=74, Resulting Numbers: [22, 74] Generated Node #0,1,0: 65:[22, 74] Operation: 82-8=74 Exploring Operation: 8+82=90, Resulting Numbers: [22, 90] Generated Node #0,1,1: 65:[22, 90] Operation: 8+82=90 Exploring Operation: 22-8=14, Resulting Numbers: [82, 14] Generated Node #0,1,2: 65:[82, 14] Operation: 22-8=14 Exploring Operation: 82-22=60, Resulting Numbers: [8, 60] Generated Node #0,1,3: 65:[8, 60] Operation: 82-22=60 Moving to Node #0,0,1 Current State: 65:[6, 62], Operations: ['28-8=20', '82-20=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,65 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[8, 60], Operations: ['28-6=22', '82-22=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,65 unequal: No Solution Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[20, 76], Operations: ['28-8=20', '82-6=76'] Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,65 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[82, 14], Operations: ['28-8=20', '20-6=14'] Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,65 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[22, 74], Operations: ['28-6=22', '82-8=74'] Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,65 unequal: No Solution Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[74, 22], Operations: ['82-8=74', '28-6=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[82, 14], Operations: ['28-6=22', '22-8=14'] Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,65 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[28, 68], Operations: ['82-8=74', '74-6=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,65 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[6, 46], Operations: ['82-8=74', '74-28=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,65 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[74, 34], Operations: ['82-8=74', '28+6=34'] Exploring Operation: 74*34=2516, Resulting Numbers: [2516] 2516,65 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,65 unequal: No Solution Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[20, 88], Operations: ['28-8=20', '6+82=88'] Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,65 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[22, 90], Operations: ['28-6=22', '8+82=90'] Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,65 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,65 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 25, 18, 30, 22 ]
95
[ "25+18=43", "30+22=52", "43+52=95" ]
Current State: 95:[25, 18, 30, 22], Operations: [] Exploring Operation: 25+18=43, Resulting Numbers: [30, 22, 43] Generated Node #2: [30, 22, 43] from Operation: 25+18=43 Current State: 95:[30, 22, 43], Operations: ['25+18=43'] Exploring Operation: 30+22=52, Resulting Numbers: [43, 52] Generated Node #3: [43, 52] from Operation: 30+22=52 Current State: 95:[43, 52], Operations: ['25+18=43', '30+22=52'] Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[25, 18, 30, 22], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [25, 18, 8] Generated Node #0,0: 95:[25, 18, 8] Operation: 30-22=8 Exploring Operation: 25-18=7, Resulting Numbers: [30, 22, 7] Generated Node #0,1: 95:[30, 22, 7] Operation: 25-18=7 Exploring Operation: 25-22=3, Resulting Numbers: [18, 30, 3] Generated Node #0,2: 95:[18, 30, 3] Operation: 25-22=3 Exploring Operation: 30-25=5, Resulting Numbers: [18, 22, 5] Generated Node #0,3: 95:[18, 22, 5] Operation: 30-25=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[18, 22, 5], Operations: ['30-25=5'] Exploring Operation: 18+5=23, Resulting Numbers: [22, 23] Generated Node #0,3,0: 95:[22, 23] Operation: 18+5=23 Exploring Operation: 22-5=17, Resulting Numbers: [18, 17] Generated Node #0,3,1: 95:[18, 17] Operation: 22-5=17 Exploring Operation: 22-18=4, Resulting Numbers: [5, 4] Generated Node #0,3,2: 95:[5, 4] Operation: 22-18=4 Exploring Operation: 18*5=90, Resulting Numbers: [22, 90] Generated Node #0,3,3: 95:[22, 90] Operation: 18*5=90 Moving to Node #0,3,2 Current State: 95:[5, 4], Operations: ['30-25=5', '22-18=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[18, 17], Operations: ['30-25=5', '22-5=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,95 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[22, 23], Operations: ['30-25=5', '18+5=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,95 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[22, 90], Operations: ['30-25=5', '18*5=90'] Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,95 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[25, 18, 8], Operations: ['30-22=8'] Exploring Operation: 25-8=17, Resulting Numbers: [18, 17] Generated Node #0,0,0: 95:[18, 17] Operation: 25-8=17 Exploring Operation: 18+8=26, Resulting Numbers: [25, 26] Generated Node #0,0,1: 95:[25, 26] Operation: 18+8=26 Exploring Operation: 25-18=7, Resulting Numbers: [8, 7] Generated Node #0,0,2: 95:[8, 7] Operation: 25-18=7 Exploring Operation: 18-8=10, Resulting Numbers: [25, 10] Generated Node #0,0,3: 95:[25, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[18, 17], Operations: ['30-22=8', '25-8=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,95 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,95 unequal: No Solution No 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: 95:[8, 7], Operations: ['30-22=8', '25-18=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,95 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,95 unequal: No Solution No 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: 95:[25, 10], Operations: ['30-22=8', '18-8=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,95 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,95 unequal: No Solution No 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: 95:[25, 26], Operations: ['30-22=8', '18+8=26'] Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,95 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,95 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: 95:[18, 30, 3], Operations: ['25-22=3'] Exploring Operation: 30*3=90, Resulting Numbers: [18, 90] Generated Node #0,2,0: 95:[18, 90] Operation: 30*3=90 Exploring Operation: 30/3=10, Resulting Numbers: [18, 10] Generated Node #0,2,1: 95:[18, 10] Operation: 30/3=10 Exploring Operation: 30-3=27, Resulting Numbers: [18, 27] Generated Node #0,2,2: 95:[18, 27] Operation: 30-3=27 Exploring Operation: 30-18=12, Resulting Numbers: [3, 12] Generated Node #0,2,3: 95:[3, 12] Operation: 30-18=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[18, 90], Operations: ['25-22=3', '30*3=90'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 18*90=1620, Resulting Numbers: [1620] 1620,95 unequal: No Solution No 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: 95:[18, 10], Operations: ['25-22=3', '30/3=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,95 unequal: No Solution No 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: 95:[18, 27], Operations: ['25-22=3', '30-3=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,95 unequal: No Solution No 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: 95:[3, 12], Operations: ['25-22=3', '30-18=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,95 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: 95:[30, 22, 7], Operations: ['25-18=7'] Exploring Operation: 30-7=23, Resulting Numbers: [22, 23] Generated Node #0,1,0: 95:[22, 23] Operation: 30-7=23 Exploring Operation: 22-7=15, Resulting Numbers: [30, 15] Generated Node #0,1,1: 95:[30, 15] Operation: 22-7=15 Exploring Operation: 30+7=37, Resulting Numbers: [22, 37] Generated Node #0,1,2: 95:[22, 37] Operation: 30+7=37 Exploring Operation: 30-22=8, Resulting Numbers: [7, 8] Generated Node #0,1,3: 95:[7, 8] Operation: 30-22=8 Moving to Node #0,1,3 Current State: 95:[7, 8], Operations: ['25-18=7', '30-22=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[22, 23], Operations: ['25-18=7', '30-7=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[30, 15], Operations: ['25-18=7', '22-7=15'] Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,95 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[22, 37], Operations: ['25-18=7', '30+7=37'] Exploring Operation: 22*37=814, Resulting Numbers: [814] 814,95 unequal: No Solution Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,95 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,95 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
[ 12, 54, 30, 4 ]
92
[ "12+54=66", "30-4=26", "66+26=92" ]
Current State: 92:[12, 54, 30, 4], Operations: [] Exploring Operation: 12+54=66, Resulting Numbers: [30, 4, 66] Generated Node #2: [30, 4, 66] from Operation: 12+54=66 Current State: 92:[30, 4, 66], Operations: ['12+54=66'] Exploring Operation: 30-4=26, Resulting Numbers: [66, 26] Generated Node #3: [66, 26] from Operation: 30-4=26 Current State: 92:[66, 26], Operations: ['12+54=66', '30-4=26'] Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 54, 30, 4], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [12, 4, 24] Generated Node #0,0: 92:[12, 4, 24] Operation: 54-30=24 Exploring Operation: 54-12=42, Resulting Numbers: [30, 4, 42] Generated Node #0,1: 92:[30, 4, 42] Operation: 54-12=42 Moving to Node #0,0 Current State: 92:[12, 4, 24], Operations: ['54-30=24'] Exploring Operation: 12/4=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 92:[24, 3] Operation: 12/4=3 Exploring Operation: 24/12=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 92:[4, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[4, 2], Operations: ['54-30=24', '24/12=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[24, 3], Operations: ['54-30=24', '12/4=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,92 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: 92:[30, 4, 42], Operations: ['54-12=42'] Exploring Operation: 4+42=46, Resulting Numbers: [30, 46] Generated Node #0,1,0: 92:[30, 46] Operation: 4+42=46 Exploring Operation: 30-4=26, Resulting Numbers: [42, 26] Generated Node #0,1,1: 92:[42, 26] Operation: 30-4=26 Moving to Node #0,1,0 Current State: 92:[30, 46], Operations: ['54-12=42', '4+42=46'] Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[42, 26], Operations: ['54-12=42', '30-4=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 67, 25, 17, 4 ]
63
[ "67-25=42", "17+4=21", "42+21=63" ]
Current State: 63:[67, 25, 17, 4], Operations: [] Exploring Operation: 67-25=42, Resulting Numbers: [17, 4, 42] Generated Node #2: [17, 4, 42] from Operation: 67-25=42 Current State: 63:[17, 4, 42], Operations: ['67-25=42'] Exploring Operation: 17+4=21, Resulting Numbers: [42, 21] Generated Node #3: [42, 21] from Operation: 17+4=21 Current State: 63:[42, 21], Operations: ['67-25=42', '17+4=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[67, 25, 17, 4], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [67, 4, 8] Generated Node #0,0: 63:[67, 4, 8] Operation: 25-17=8 Exploring Operation: 67-4=63, Resulting Numbers: [25, 17, 63] Generated Node #0,1: 63:[25, 17, 63] Operation: 67-4=63 Moving to Node #0,0 Current State: 63:[67, 4, 8], Operations: ['25-17=8'] Exploring Operation: 67-4=63, Resulting Numbers: [8, 63] Generated Node #0,0,0: 63:[8, 63] Operation: 67-4=63 Exploring Operation: 67-8=59, Resulting Numbers: [4, 59] Generated Node #0,0,1: 63:[4, 59] Operation: 67-8=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[8, 63], Operations: ['25-17=8', '67-4=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,63 unequal: No Solution No 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: 63:[4, 59], Operations: ['25-17=8', '67-8=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[67, 25, 17, 4], Operations: [] Exploring Operation: 25-17=8, Resulting Numbers: [67, 4, 8] Generated Node #0,0: 63:[67, 4, 8] Operation: 25-17=8 Moving to Node #0,0 Current State: 63:[67, 4, 8], Operations: ['25-17=8'] Exploring Operation: 67-8=59, Resulting Numbers: [4, 59] Generated Node #0,0,1: 63:[4, 59] Operation: 67-8=59 Moving to Node #0,0,1 Current State: 63:[4, 59], Operations: ['25-17=8', '67-8=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 7, 79, 79, 96 ]
89
[ "7+79=86", "79+96=175", "175-86=89" ]
Current State: 89:[7, 79, 79, 96], Operations: [] Exploring Operation: 7+79=86, Resulting Numbers: [96, 86] Generated Node #2: [96, 86] from Operation: 7+79=86 Current State: 89:[96, 86], Operations: ['7+79=86'] Exploring Operation: 79+96=175, Resulting Numbers: [86, 175] Generated Node #3: [86, 175] from Operation: 79+96=175 Current State: 89:[86, 175], Operations: ['7+79=86', '79+96=175'] Exploring Operation: 175-86=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[7, 79, 79, 96], Operations: [] Exploring Operation: 7+79=86, Resulting Numbers: [79, 96, 86] Generated Node #0,0: 89:[79, 96, 86] Operation: 7+79=86 Exploring Operation: 79-7=72, Resulting Numbers: [79, 96, 72] Generated Node #0,1: 89:[79, 96, 72] Operation: 79-7=72 Exploring Operation: 79-7=72, Resulting Numbers: [79, 96, 72] Generated Node #0,2: 89:[79, 96, 72] Operation: 79-7=72 Exploring Operation: 96-7=89, Resulting Numbers: [79, 79, 89] Generated Node #0,3: 89:[79, 79, 89] Operation: 96-7=89 Exploring Operation: 7+79=86, Resulting Numbers: [79, 96, 86] Generated Node #0,4: 89:[79, 96, 86] Operation: 7+79=86 Moving to Node #0,0 Current State: 89:[79, 96, 86], Operations: ['7+79=86'] Exploring Operation: 96-79=17, Resulting Numbers: [86, 17] Generated Node #0,0,0: 89:[86, 17] Operation: 96-79=17 Exploring Operation: 79+96=175, Resulting Numbers: [86, 175] Generated Node #0,0,1: 89:[86, 175] Operation: 79+96=175 Exploring Operation: 79+86=165, Resulting Numbers: [96, 165] Generated Node #0,0,2: 89:[96, 165] Operation: 79+86=165 Exploring Operation: 96-86=10, Resulting Numbers: [79, 10] Generated Node #0,0,3: 89:[79, 10] Operation: 96-86=10 Exploring Operation: 86-79=7, Resulting Numbers: [96, 7] Generated Node #0,0,4: 89:[96, 7] Operation: 86-79=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[86, 17], Operations: ['7+79=86', '96-79=17'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[96, 165], Operations: ['7+79=86', '79+86=165'] Exploring Operation: 96*165=15840, Resulting Numbers: [15840] 15840,89 unequal: No Solution Exploring Operation: 96+165=261, Resulting Numbers: [261] 261,89 unequal: No Solution Exploring Operation: 165-96=69, Resulting Numbers: [69] 69,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[86, 175], Operations: ['7+79=86', '79+96=175'] Exploring Operation: 175-86=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[7, 79, 79, 96], Operations: [] Exploring Operation: 7+79=86, Resulting Numbers: [79, 96, 86] Generated Node #0,0: 89:[79, 96, 86] Operation: 7+79=86 Moving to Node #0,0 Current State: 89:[79, 96, 86], Operations: ['7+79=86'] Exploring Operation: 79+96=175, Resulting Numbers: [86, 175] Generated Node #0,0,1: 89:[86, 175] Operation: 79+96=175 Moving to Node #0,0,1 Current State: 89:[86, 175], Operations: ['7+79=86', '79+96=175'] Exploring Operation: 175-86=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 63, 42, 63, 83 ]
30
[ "83-63=20", "63*20=1260", "1260/42=30" ]
Current State: 30:[63, 42, 63, 83], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [42, 20] Generated Node #2: [42, 20] from Operation: 83-63=20 Current State: 30:[42, 20], Operations: ['83-63=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [42, 1260] Generated Node #3: [42, 1260] from Operation: 63*20=1260 Current State: 30:[42, 1260], Operations: ['83-63=20', '63*20=1260'] Exploring Operation: 1260/42=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[63, 42, 63, 83], Operations: [] Exploring Operation: 63/63=1, Resulting Numbers: [42, 83, 1] Generated Node #0,0: 30:[42, 83, 1] Operation: 63/63=1 Exploring Operation: 83-63=20, Resulting Numbers: [63, 42, 20] Generated Node #0,1: 30:[63, 42, 20] Operation: 83-63=20 Exploring Operation: 83-63=20, Resulting Numbers: [42, 63, 20] Generated Node #0,2: 30:[42, 63, 20] Operation: 83-63=20 Moving to Node #0,1 Current State: 30:[63, 42, 20], Operations: ['83-63=20'] Exploring Operation: 42-20=22, Resulting Numbers: [63, 22] Generated Node #0,1,0: 30:[63, 22] Operation: 42-20=22 Exploring Operation: 63-20=43, Resulting Numbers: [42, 43] Generated Node #0,1,1: 30:[42, 43] Operation: 63-20=43 Exploring Operation: 63-42=21, Resulting Numbers: [20, 21] Generated Node #0,1,2: 30:[20, 21] Operation: 63-42=21 Moving to Node #0,2 Current State: 30:[42, 63, 20], Operations: ['83-63=20'] Exploring Operation: 63-42=21, Resulting Numbers: [20, 21] Generated Node #0,2,0: 30:[20, 21] Operation: 63-42=21 Exploring Operation: 42-20=22, Resulting Numbers: [63, 22] Generated Node #0,2,1: 30:[63, 22] Operation: 42-20=22 Exploring Operation: 63-20=43, Resulting Numbers: [42, 43] Generated Node #0,2,2: 30:[42, 43] Operation: 63-20=43 Moving to Node #0,0 Current State: 30:[42, 83, 1], Operations: ['63/63=1'] Exploring Operation: 83-42=41, Resulting Numbers: [1, 41] Generated Node #0,0,0: 30:[1, 41] Operation: 83-42=41 Exploring Operation: 83-1=82, Resulting Numbers: [42, 82] Generated Node #0,0,1: 30:[42, 82] Operation: 83-1=82 Exploring Operation: 42-1=41, Resulting Numbers: [83, 41] Generated Node #0,0,2: 30:[83, 41] Operation: 42-1=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[1, 41], Operations: ['63/63=1', '83-42=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,30 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,30 unequal: No Solution No 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: 30:[42, 82], Operations: ['63/63=1', '83-1=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,30 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,30 unequal: No Solution No 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: 30:[83, 41], Operations: ['63/63=1', '42-1=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,30 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 30:[20, 21], Operations: ['83-63=20', '63-42=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,30 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[20, 21], Operations: ['83-63=20', '63-42=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[42, 43], Operations: ['83-63=20', '63-20=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[42, 43], Operations: ['83-63=20', '63-20=43'] Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,30 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[63, 22], Operations: ['83-63=20', '42-20=22'] Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,30 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[63, 22], Operations: ['83-63=20', '42-20=22'] Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,30 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,30 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 36, 18, 29, 32 ]
15
[ "36-18=18", "32-29=3", "18-3=15" ]
Current State: 15:[36, 18, 29, 32], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [29, 32, 18] Generated Node #2: [29, 32, 18] from Operation: 36-18=18 Current State: 15:[29, 32, 18], Operations: ['36-18=18'] Exploring Operation: 32-29=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 32-29=3 Current State: 15:[18, 3], Operations: ['36-18=18', '32-29=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[36, 18, 29, 32], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [29, 32, 2] Generated Node #0,0: 15:[29, 32, 2] Operation: 36/18=2 Exploring Operation: 36-29=7, Resulting Numbers: [18, 32, 7] Generated Node #0,1: 15:[18, 32, 7] Operation: 36-29=7 Exploring Operation: 32-29=3, Resulting Numbers: [36, 18, 3] Generated Node #0,2: 15:[36, 18, 3] Operation: 32-29=3 Exploring Operation: 36-32=4, Resulting Numbers: [18, 29, 4] Generated Node #0,3: 15:[18, 29, 4] Operation: 36-32=4 Exploring Operation: 36-18=18, Resulting Numbers: [29, 32, 18] Generated Node #0,4: 15:[29, 32, 18] Operation: 36-18=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[18, 29, 4], Operations: ['36-32=4'] Exploring Operation: 18+4=22, Resulting Numbers: [29, 22] Generated Node #0,3,0: 15:[29, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [29, 14] Generated Node #0,3,1: 15:[29, 14] Operation: 18-4=14 Exploring Operation: 29-18=11, Resulting Numbers: [4, 11] Generated Node #0,3,2: 15:[4, 11] Operation: 29-18=11 Exploring Operation: 29-4=25, Resulting Numbers: [18, 25] Generated Node #0,3,3: 15:[18, 25] Operation: 29-4=25 Exploring Operation: 29+4=33, Resulting Numbers: [18, 33] Generated Node #0,3,4: 15:[18, 33] Operation: 29+4=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[4, 11], Operations: ['36-32=4', '29-18=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[36, 18, 29, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [18, 29, 4] Generated Node #0,3: 15:[18, 29, 4] Operation: 36-32=4 Moving to Node #0,3 Current State: 15:[18, 29, 4], Operations: ['36-32=4'] Exploring Operation: 29-18=11, Resulting Numbers: [4, 11] Generated Node #0,3,2: 15:[4, 11] Operation: 29-18=11 Moving to Node #0,3,2 Current State: 15:[4, 11], Operations: ['36-32=4', '29-18=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 63, 40, 47, 80 ]
10
[ "63-40=23", "80-47=33", "33-23=10" ]
Current State: 10:[63, 40, 47, 80], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [47, 80, 23] Generated Node #2: [47, 80, 23] from Operation: 63-40=23 Current State: 10:[47, 80, 23], Operations: ['63-40=23'] Exploring Operation: 80-47=33, Resulting Numbers: [23, 33] Generated Node #3: [23, 33] from Operation: 80-47=33 Current State: 10:[23, 33], Operations: ['63-40=23', '80-47=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[63, 40, 47, 80], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [40, 47, 17] Generated Node #0,0: 10:[40, 47, 17] Operation: 80-63=17 Exploring Operation: 80/40=2, Resulting Numbers: [63, 47, 2] Generated Node #0,1: 10:[63, 47, 2] Operation: 80/40=2 Moving to Node #0,0 Current State: 10:[40, 47, 17], Operations: ['80-63=17'] Exploring Operation: 47-40=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 10:[17, 7] Operation: 47-40=7 Exploring Operation: 40-17=23, Resulting Numbers: [47, 23] Generated Node #0,0,1: 10:[47, 23] Operation: 40-17=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[17, 7], Operations: ['80-63=17', '47-40=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[63, 40, 47, 80], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [40, 47, 17] Generated Node #0,0: 10:[40, 47, 17] Operation: 80-63=17 Moving to Node #0,0 Current State: 10:[40, 47, 17], Operations: ['80-63=17'] Exploring Operation: 47-40=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 10:[17, 7] Operation: 47-40=7 Moving to Node #0,0,0 Current State: 10:[17, 7], Operations: ['80-63=17', '47-40=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 5, 73, 89 ]
10
[ "21+5=26", "89-73=16", "26-16=10" ]
Current State: 10:[21, 5, 73, 89], Operations: [] Exploring Operation: 21+5=26, Resulting Numbers: [73, 89, 26] Generated Node #2: [73, 89, 26] from Operation: 21+5=26 Current State: 10:[73, 89, 26], Operations: ['21+5=26'] Exploring Operation: 89-73=16, Resulting Numbers: [26, 16] Generated Node #3: [26, 16] from Operation: 89-73=16 Current State: 10:[26, 16], Operations: ['21+5=26', '89-73=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[21, 5, 73, 89], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [21, 5, 16] Generated Node #0,0: 10:[21, 5, 16] Operation: 89-73=16 Exploring Operation: 73-21=52, Resulting Numbers: [5, 89, 52] Generated Node #0,1: 10:[5, 89, 52] Operation: 73-21=52 Exploring Operation: 89-21=68, Resulting Numbers: [5, 73, 68] Generated Node #0,2: 10:[5, 73, 68] Operation: 89-21=68 Exploring Operation: 73-5=68, Resulting Numbers: [21, 89, 68] Generated Node #0,3: 10:[21, 89, 68] Operation: 73-5=68 Exploring Operation: 21-5=16, Resulting Numbers: [73, 89, 16] Generated Node #0,4: 10:[73, 89, 16] Operation: 21-5=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[21, 5, 16], Operations: ['89-73=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 10:[5, 5] Operation: 21-16=5 Exploring Operation: 16-5=11, Resulting Numbers: [21, 11] Generated Node #0,0,1: 10:[21, 11] Operation: 16-5=11 Exploring Operation: 5+16=21, Resulting Numbers: [21, 21] Generated Node #0,0,2: 10:[21, 21] Operation: 5+16=21 Exploring Operation: 21-5=16, Resulting Numbers: [16, 16] Generated Node #0,0,3: 10:[16, 16] Operation: 21-5=16 Exploring Operation: 21+5=26, Resulting Numbers: [16, 26] Generated Node #0,0,4: 10:[16, 26] Operation: 21+5=26 Moving to Node #0,0,0 Current State: 10:[5, 5], Operations: ['89-73=16', '21-16=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[21, 5, 73, 89], Operations: [] Exploring Operation: 89-73=16, Resulting Numbers: [21, 5, 16] Generated Node #0,0: 10:[21, 5, 16] Operation: 89-73=16 Moving to Node #0,0 Current State: 10:[21, 5, 16], Operations: ['89-73=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 10:[5, 5] Operation: 21-16=5 Moving to Node #0,0,0 Current State: 10:[5, 5], Operations: ['89-73=16', '21-16=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 24, 96, 22, 64 ]
46
[ "96/24=4", "64-22=42", "4+42=46" ]
Current State: 46:[24, 96, 22, 64], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [22, 64, 4] Generated Node #2: [22, 64, 4] from Operation: 96/24=4 Current State: 46:[22, 64, 4], Operations: ['96/24=4'] Exploring Operation: 64-22=42, Resulting Numbers: [4, 42] Generated Node #3: [4, 42] from Operation: 64-22=42 Current State: 46:[4, 42], Operations: ['96/24=4', '64-22=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[24, 96, 22, 64], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [24, 64, 74] Generated Node #0,0: 46:[24, 64, 74] Operation: 96-22=74 Exploring Operation: 96/24=4, Resulting Numbers: [22, 64, 4] Generated Node #0,1: 46:[22, 64, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [22, 64, 72] Generated Node #0,2: 46:[22, 64, 72] Operation: 96-24=72 Exploring Operation: 96-64=32, Resulting Numbers: [24, 22, 32] Generated Node #0,3: 46:[24, 22, 32] Operation: 96-64=32 Moving to Node #0,3 Current State: 46:[24, 22, 32], Operations: ['96-64=32'] Exploring Operation: 24-22=2, Resulting Numbers: [32, 2] Generated Node #0,3,0: 46:[32, 2] Operation: 24-22=2 Exploring Operation: 32-24=8, Resulting Numbers: [22, 8] Generated Node #0,3,1: 46:[22, 8] Operation: 32-24=8 Exploring Operation: 22+32=54, Resulting Numbers: [24, 54] Generated Node #0,3,2: 46:[24, 54] Operation: 22+32=54 Exploring Operation: 24+22=46, Resulting Numbers: [32, 46] Generated Node #0,3,3: 46:[32, 46] Operation: 24+22=46 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[22, 8], Operations: ['96-64=32', '32-24=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,46 unequal: No Solution No 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: 46:[32, 2], Operations: ['96-64=32', '24-22=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,46 unequal: No Solution No 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: 46:[24, 54], Operations: ['96-64=32', '22+32=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,46 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,46 unequal: No Solution No 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: 46:[32, 46], Operations: ['96-64=32', '24+22=46'] Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,46 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,46 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: 46:[22, 64, 4], Operations: ['96/24=4'] Exploring Operation: 64/4=16, Resulting Numbers: [22, 16] Generated Node #0,1,0: 46:[22, 16] Operation: 64/4=16 Exploring Operation: 22+4=26, Resulting Numbers: [64, 26] Generated Node #0,1,1: 46:[64, 26] Operation: 22+4=26 Exploring Operation: 64-22=42, Resulting Numbers: [4, 42] Generated Node #0,1,2: 46:[4, 42] Operation: 64-22=42 Exploring Operation: 64-4=60, Resulting Numbers: [22, 60] Generated Node #0,1,3: 46:[22, 60] Operation: 64-4=60 Moving to Node #0,2 Current State: 46:[22, 64, 72], Operations: ['96-24=72'] Exploring Operation: 72-64=8, Resulting Numbers: [22, 8] Generated Node #0,2,0: 46:[22, 8] Operation: 72-64=8 Exploring Operation: 22+64=86, Resulting Numbers: [72, 86] Generated Node #0,2,1: 46:[72, 86] Operation: 22+64=86 Exploring Operation: 72-22=50, Resulting Numbers: [64, 50] Generated Node #0,2,2: 46:[64, 50] Operation: 72-22=50 Exploring Operation: 64-22=42, Resulting Numbers: [72, 42] Generated Node #0,2,3: 46:[72, 42] Operation: 64-22=42 Moving to Node #0,0 Current State: 46:[24, 64, 74], Operations: ['96-22=74'] Exploring Operation: 64-24=40, Resulting Numbers: [74, 40] Generated Node #0,0,0: 46:[74, 40] Operation: 64-24=40 Exploring Operation: 74-24=50, Resulting Numbers: [64, 50] Generated Node #0,0,1: 46:[64, 50] Operation: 74-24=50 Exploring Operation: 24+64=88, Resulting Numbers: [74, 88] Generated Node #0,0,2: 46:[74, 88] Operation: 24+64=88 Exploring Operation: 74-64=10, Resulting Numbers: [24, 10] Generated Node #0,0,3: 46:[24, 10] Operation: 74-64=10 Moving to Node #0,1,2 Current State: 46:[4, 42], Operations: ['96/24=4', '64-22=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[24, 96, 22, 64], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [22, 64, 4] Generated Node #0,1: 46:[22, 64, 4] Operation: 96/24=4 Moving to Node #0,1 Current State: 46:[22, 64, 4], Operations: ['96/24=4'] Exploring Operation: 64-22=42, Resulting Numbers: [4, 42] Generated Node #0,1,2: 46:[4, 42] Operation: 64-22=42 Moving to Node #0,1,2 Current State: 46:[4, 42], Operations: ['96/24=4', '64-22=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 17, 69, 88, 17 ]
53
[ "69-17=52", "88+17=105", "105-52=53" ]
Current State: 53:[17, 69, 88, 17], Operations: [] Exploring Operation: 69-17=52, Resulting Numbers: [88, 52] Generated Node #2: [88, 52] from Operation: 69-17=52 Current State: 53:[88, 52], Operations: ['69-17=52'] Exploring Operation: 88+17=105, Resulting Numbers: [52, 105] Generated Node #3: [52, 105] from Operation: 88+17=105 Current State: 53:[52, 105], Operations: ['69-17=52', '88+17=105'] Exploring Operation: 105-52=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[17, 69, 88, 17], Operations: [] Exploring Operation: 88-17=71, Resulting Numbers: [69, 17, 71] Generated Node #0,0: 53:[69, 17, 71] Operation: 88-17=71 Exploring Operation: 17+17=34, Resulting Numbers: [69, 88, 34] Generated Node #0,1: 53:[69, 88, 34] Operation: 17+17=34 Exploring Operation: 69-17=52, Resulting Numbers: [88, 17, 52] Generated Node #0,2: 53:[88, 17, 52] Operation: 69-17=52 Exploring Operation: 88-17=71, Resulting Numbers: [17, 69, 71] Generated Node #0,3: 53:[17, 69, 71] Operation: 88-17=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[69, 17, 71], Operations: ['88-17=71'] Exploring Operation: 69-17=52, Resulting Numbers: [71, 52] Generated Node #0,0,0: 53:[71, 52] Operation: 69-17=52 Exploring Operation: 69+17=86, Resulting Numbers: [71, 86] Generated Node #0,0,1: 53:[71, 86] Operation: 69+17=86 Exploring Operation: 17+71=88, Resulting Numbers: [69, 88] Generated Node #0,0,2: 53:[69, 88] Operation: 17+71=88 Exploring Operation: 71-17=54, Resulting Numbers: [69, 54] Generated Node #0,0,3: 53:[69, 54] Operation: 71-17=54 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[69, 54], Operations: ['88-17=71', '71-17=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,53 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,53 unequal: No Solution No 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: 53:[71, 52], Operations: ['88-17=71', '69-17=52'] Exploring Operation: 71+52=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 71*52=3692, Resulting Numbers: [3692] 3692,53 unequal: No Solution Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,53 unequal: No Solution No 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: 53:[71, 86], Operations: ['88-17=71', '69+17=86'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,53 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,53 unequal: No Solution No 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: 53:[69, 88], Operations: ['88-17=71', '17+71=88'] Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,53 unequal: No Solution Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[69, 88, 34], Operations: ['17+17=34'] Exploring Operation: 88-69=19, Resulting Numbers: [34, 19] Generated Node #0,1,0: 53:[34, 19] Operation: 88-69=19 Exploring Operation: 69-34=35, Resulting Numbers: [88, 35] Generated Node #0,1,1: 53:[88, 35] Operation: 69-34=35 Exploring Operation: 69+34=103, Resulting Numbers: [88, 103] Generated Node #0,1,2: 53:[88, 103] Operation: 69+34=103 Exploring Operation: 88-34=54, Resulting Numbers: [69, 54] Generated Node #0,1,3: 53:[69, 54] Operation: 88-34=54 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[69, 54], Operations: ['17+17=34', '88-34=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,53 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,53 unequal: No Solution No 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: 53:[34, 19], Operations: ['17+17=34', '88-69=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[17, 69, 88, 17], Operations: [] Exploring Operation: 17+17=34, Resulting Numbers: [69, 88, 34] Generated Node #0,1: 53:[69, 88, 34] Operation: 17+17=34 Moving to Node #0,1 Current State: 53:[69, 88, 34], Operations: ['17+17=34'] Exploring Operation: 88-69=19, Resulting Numbers: [34, 19] Generated Node #0,1,0: 53:[34, 19] Operation: 88-69=19 Moving to Node #0,1,0 Current State: 53:[34, 19], Operations: ['17+17=34', '88-69=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 62, 31, 81, 80 ]
30
[ "62-31=31", "81-80=1", "31-1=30" ]
Current State: 30:[62, 31, 81, 80], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [81, 80, 31] Generated Node #2: [81, 80, 31] from Operation: 62-31=31 Current State: 30:[81, 80, 31], Operations: ['62-31=31'] Exploring Operation: 81-80=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 81-80=1 Current State: 30:[31, 1], Operations: ['62-31=31', '81-80=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[62, 31, 81, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [62, 31, 1] Generated Node #0,0: 30:[62, 31, 1] Operation: 81-80=1 Exploring Operation: 81-62=19, Resulting Numbers: [31, 80, 19] Generated Node #0,1: 30:[31, 80, 19] Operation: 81-62=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[62, 31, 1], Operations: ['81-80=1'] Exploring Operation: 62-31=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 62-31=31 Exploring Operation: 62/31=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 30:[1, 2] Operation: 62/31=2 Moving to Node #0,0,1 Current State: 30:[1, 2], Operations: ['81-80=1', '62/31=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['81-80=1', '62-31=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[62, 31, 81, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [62, 31, 1] Generated Node #0,0: 30:[62, 31, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 30:[62, 31, 1], Operations: ['81-80=1'] Exploring Operation: 62-31=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 62-31=31 Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['81-80=1', '62-31=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 45, 2, 79, 77 ]
45
[ "45+2=47", "79-77=2", "47-2=45" ]
Current State: 45:[45, 2, 79, 77], Operations: [] Exploring Operation: 45+2=47, Resulting Numbers: [79, 77, 47] Generated Node #2: [79, 77, 47] from Operation: 45+2=47 Current State: 45:[79, 77, 47], Operations: ['45+2=47'] Exploring Operation: 79-77=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 79-77=2 Current State: 45:[47, 2], Operations: ['45+2=47', '79-77=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[45, 2, 79, 77], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [2, 77, 34] Generated Node #0,0: 45:[2, 77, 34] Operation: 79-45=34 Exploring Operation: 77-45=32, Resulting Numbers: [2, 79, 32] Generated Node #0,1: 45:[2, 79, 32] Operation: 77-45=32 Exploring Operation: 79-77=2, Resulting Numbers: [45, 2, 2] Generated Node #0,2: 45:[45, 2, 2] Operation: 79-77=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[45, 2, 2], Operations: ['79-77=2'] Exploring Operation: 2+2=4, Resulting Numbers: [45, 4] Generated Node #0,2,0: 45:[45, 4] Operation: 2+2=4 Exploring Operation: 2/2=1, Resulting Numbers: [45, 1] Generated Node #0,2,1: 45:[45, 1] Operation: 2/2=1 Exploring Operation: 2*2=4, Resulting Numbers: [45, 4] Generated Node #0,2,2: 45:[45, 4] Operation: 2*2=4 Moving to Node #0,2,0 Current State: 45:[45, 4], Operations: ['79-77=2', '2+2=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,45 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[45, 4], Operations: ['79-77=2', '2*2=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,45 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[45, 1], Operations: ['79-77=2', '2/2=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[45, 2, 79, 77], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [45, 2, 2] Generated Node #0,2: 45:[45, 2, 2] Operation: 79-77=2 Moving to Node #0,2 Current State: 45:[45, 2, 2], Operations: ['79-77=2'] Exploring Operation: 2/2=1, Resulting Numbers: [45, 1] Generated Node #0,2,1: 45:[45, 1] Operation: 2/2=1 Moving to Node #0,2,1 Current State: 45:[45, 1], Operations: ['79-77=2', '2/2=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 26, 60, 66, 17 ]
76
[ "66-60=6", "17*6=102", "102-26=76" ]
Current State: 76:[26, 60, 66, 17], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [26, 17, 6] Generated Node #2: [26, 17, 6] from Operation: 66-60=6 Current State: 76:[26, 17, 6], Operations: ['66-60=6'] Exploring Operation: 17*6=102, Resulting Numbers: [26, 102] Generated Node #3: [26, 102] from Operation: 17*6=102 Current State: 76:[26, 102], Operations: ['66-60=6', '17*6=102'] Exploring Operation: 102-26=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[26, 60, 66, 17], Operations: [] Exploring Operation: 60-26=34, Resulting Numbers: [66, 17, 34] Generated Node #0,0: 76:[66, 17, 34] Operation: 60-26=34 Exploring Operation: 60+17=77, Resulting Numbers: [26, 66, 77] Generated Node #0,1: 76:[26, 66, 77] Operation: 60+17=77 Exploring Operation: 66-26=40, Resulting Numbers: [60, 17, 40] Generated Node #0,2: 76:[60, 17, 40] Operation: 66-26=40 Exploring Operation: 66-60=6, Resulting Numbers: [26, 17, 6] Generated Node #0,3: 76:[26, 17, 6] Operation: 66-60=6 Exploring Operation: 26+60=86, Resulting Numbers: [66, 17, 86] Generated Node #0,4: 76:[66, 17, 86] Operation: 26+60=86 Moving to Node #0,3 Current State: 76:[26, 17, 6], Operations: ['66-60=6'] Exploring Operation: 17+6=23, Resulting Numbers: [26, 23] Generated Node #0,3,0: 76:[26, 23] Operation: 17+6=23 Exploring Operation: 26+6=32, Resulting Numbers: [17, 32] Generated Node #0,3,1: 76:[17, 32] Operation: 26+6=32 Exploring Operation: 26-6=20, Resulting Numbers: [17, 20] Generated Node #0,3,2: 76:[17, 20] Operation: 26-6=20 Exploring Operation: 26-17=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 76:[6, 9] Operation: 26-17=9 Exploring Operation: 26+17=43, Resulting Numbers: [6, 43] Generated Node #0,3,4: 76:[6, 43] Operation: 26+17=43 Moving to Node #0,0 Current State: 76:[66, 17, 34], Operations: ['60-26=34'] Exploring Operation: 66-17=49, Resulting Numbers: [34, 49] Generated Node #0,0,0: 76:[34, 49] Operation: 66-17=49 Exploring Operation: 66-34=32, Resulting Numbers: [17, 32] Generated Node #0,0,1: 76:[17, 32] Operation: 66-34=32 Exploring Operation: 66+17=83, Resulting Numbers: [34, 83] Generated Node #0,0,2: 76:[34, 83] Operation: 66+17=83 Exploring Operation: 34/17=2, Resulting Numbers: [66, 2] Generated Node #0,0,3: 76:[66, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [66, 17] Generated Node #0,0,4: 76:[66, 17] Operation: 34-17=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[17, 32], Operations: ['60-26=34', '66-34=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[66, 2], Operations: ['60-26=34', '34/17=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,76 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[34, 83], Operations: ['60-26=34', '66+17=83'] Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,76 unequal: No Solution Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[66, 17], Operations: ['60-26=34', '34-17=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[34, 49], Operations: ['60-26=34', '66-17=49'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,76 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,76 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: 76:[26, 66, 77], Operations: ['60+17=77'] Exploring Operation: 26+77=103, Resulting Numbers: [66, 103] Generated Node #0,1,0: 76:[66, 103] Operation: 26+77=103 Exploring Operation: 66-26=40, Resulting Numbers: [77, 40] Generated Node #0,1,1: 76:[77, 40] Operation: 66-26=40 Exploring Operation: 77-66=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 76:[26, 11] Operation: 77-66=11 Exploring Operation: 77-26=51, Resulting Numbers: [66, 51] Generated Node #0,1,3: 76:[66, 51] Operation: 77-26=51 Exploring Operation: 26+66=92, Resulting Numbers: [77, 92] Generated Node #0,1,4: 76:[77, 92] Operation: 26+66=92 Moving to Node #0,2 Current State: 76:[60, 17, 40], Operations: ['66-26=40'] Exploring Operation: 60+40=100, Resulting Numbers: [17, 100] Generated Node #0,2,0: 76:[17, 100] Operation: 60+40=100 Exploring Operation: 60+17=77, Resulting Numbers: [40, 77] Generated Node #0,2,1: 76:[40, 77] Operation: 60+17=77 Exploring Operation: 60-40=20, Resulting Numbers: [17, 20] Generated Node #0,2,2: 76:[17, 20] Operation: 60-40=20 Exploring Operation: 60-17=43, Resulting Numbers: [40, 43] Generated Node #0,2,3: 76:[40, 43] Operation: 60-17=43 Exploring Operation: 40-17=23, Resulting Numbers: [60, 23] Generated Node #0,2,4: 76:[60, 23] Operation: 40-17=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[40, 77], Operations: ['66-26=40', '60+17=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,76 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[17, 20], Operations: ['66-26=40', '60-40=20'] Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[40, 43], Operations: ['66-26=40', '60-17=43'] Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[60, 23], Operations: ['66-26=40', '40-17=23'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[17, 100], Operations: ['66-26=40', '60+40=100'] Exploring Operation: 17*100=1700, Resulting Numbers: [1700] 1700,76 unequal: No Solution Exploring Operation: 17+100=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 100-17=83, Resulting Numbers: [83] 83,76 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: 76:[66, 17, 86], Operations: ['26+60=86'] Exploring Operation: 66+17=83, Resulting Numbers: [86, 83] Generated Node #0,4,0: 76:[86, 83] Operation: 66+17=83 Exploring Operation: 86-66=20, Resulting Numbers: [17, 20] Generated Node #0,4,1: 76:[17, 20] Operation: 86-66=20 Exploring Operation: 17+86=103, Resulting Numbers: [66, 103] Generated Node #0,4,2: 76:[66, 103] Operation: 17+86=103 Exploring Operation: 66-17=49, Resulting Numbers: [86, 49] Generated Node #0,4,3: 76:[86, 49] Operation: 66-17=49 Exploring Operation: 86-17=69, Resulting Numbers: [66, 69] Generated Node #0,4,4: 76:[66, 69] Operation: 86-17=69 Moving to Node #0,3,2 Current State: 76:[17, 20], Operations: ['66-60=6', '26-6=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,76 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[77, 40], Operations: ['60+17=77', '66-26=40'] Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,76 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,76 unequal: No Solution Moving to Node #0,4,1 Current State: 76:[17, 20], Operations: ['26+60=86', '86-66=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,76 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[6, 43], Operations: ['66-60=6', '26+17=43'] Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,76 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[6, 9], Operations: ['66-60=6', '26-17=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[17, 32], Operations: ['66-60=6', '26+6=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[26, 23], Operations: ['66-60=6', '17+6=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,76 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[26, 11], Operations: ['60+17=77', '77-66=11'] Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,76 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,4,4 Current State: 76:[66, 69], Operations: ['26+60=86', '86-17=69'] Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,76 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[77, 92], Operations: ['60+17=77', '26+66=92'] Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,76 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,76 unequal: No Solution Moving to Node #0,4,0 Current State: 76:[86, 83], Operations: ['26+60=86', '66+17=83'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 86*83=7138, Resulting Numbers: [7138] 7138,76 unequal: No Solution Exploring Operation: 86+83=169, Resulting Numbers: [169] 169,76 unequal: No Solution Moving to Node #0,4,3 Current State: 76:[86, 49], Operations: ['26+60=86', '66-17=49'] Exploring Operation: 86*49=4214, Resulting Numbers: [4214] 4214,76 unequal: No Solution Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 86+49=135, Resulting Numbers: [135] 135,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[66, 51], Operations: ['60+17=77', '77-26=51'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,76 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,76 unequal: No Solution Moving to Node #0,4,2 Current State: 76:[66, 103], Operations: ['26+60=86', '17+86=103'] Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 66*103=6798, Resulting Numbers: [6798] 6798,76 unequal: No Solution Exploring Operation: 66+103=169, Resulting Numbers: [169] 169,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[66, 103], Operations: ['60+17=77', '26+77=103'] Exploring Operation: 66*103=6798, Resulting Numbers: [6798] 6798,76 unequal: No Solution Exploring Operation: 66+103=169, Resulting Numbers: [169] 169,76 unequal: No Solution Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 84, 56, 35, 8 ]
32
[ "84+56=140", "140/35=4", "8*4=32" ]
Current State: 32:[84, 56, 35, 8], Operations: [] Exploring Operation: 84+56=140, Resulting Numbers: [35, 8, 140] Generated Node #2: [35, 8, 140] from Operation: 84+56=140 Current State: 32:[35, 8, 140], Operations: ['84+56=140'] Exploring Operation: 140/35=4, Resulting Numbers: [8, 4] Generated Node #3: [8, 4] from Operation: 140/35=4 Current State: 32:[8, 4], Operations: ['84+56=140', '140/35=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 56, 35, 8], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [35, 8, 28] Generated Node #0,0: 32:[35, 8, 28] Operation: 84-56=28 Exploring Operation: 56/8=7, Resulting Numbers: [84, 35, 7] Generated Node #0,1: 32:[84, 35, 7] Operation: 56/8=7 Exploring Operation: 84-35=49, Resulting Numbers: [56, 8, 49] Generated Node #0,2: 32:[56, 8, 49] Operation: 84-35=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[35, 8, 28], Operations: ['84-56=28'] Exploring Operation: 8+28=36, Resulting Numbers: [35, 36] Generated Node #0,0,0: 32:[35, 36] Operation: 8+28=36 Exploring Operation: 35-28=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 32:[8, 7] Operation: 35-28=7 Exploring Operation: 28-8=20, Resulting Numbers: [35, 20] Generated Node #0,0,2: 32:[35, 20] Operation: 28-8=20 Moving to Node #0,0,1 Current State: 32:[8, 7], Operations: ['84-56=28', '35-28=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[35, 36], Operations: ['84-56=28', '8+28=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,32 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[35, 20], Operations: ['84-56=28', '28-8=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,32 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[56, 8, 49], Operations: ['84-35=49'] Exploring Operation: 56/8=7, Resulting Numbers: [49, 7] Generated Node #0,2,0: 32:[49, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [49, 48] Generated Node #0,2,1: 32:[49, 48] Operation: 56-8=48 Exploring Operation: 56-49=7, Resulting Numbers: [8, 7] Generated Node #0,2,2: 32:[8, 7] Operation: 56-49=7 Moving to Node #0,2,2 Current State: 32:[8, 7], Operations: ['84-35=49', '56-49=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[49, 7], Operations: ['84-35=49', '56/8=7'] Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[49, 48], Operations: ['84-35=49', '56-8=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,32 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,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,1 Current State: 32:[84, 35, 7], Operations: ['56/8=7'] Exploring Operation: 84-7=77, Resulting Numbers: [35, 77] Generated Node #0,1,0: 32:[35, 77] Operation: 84-7=77 Exploring Operation: 84-35=49, Resulting Numbers: [7, 49] Generated Node #0,1,1: 32:[7, 49] Operation: 84-35=49 Exploring Operation: 84/7=12, Resulting Numbers: [35, 12] Generated Node #0,1,2: 32:[35, 12] Operation: 84/7=12 Moving to Node #0,1,2 Current State: 32:[35, 12], Operations: ['56/8=7', '84/7=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[7, 49], Operations: ['56/8=7', '84-35=49'] Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[35, 77], Operations: ['56/8=7', '84-7=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,32 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,32 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,32 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
[ 64, 14, 96, 71 ]
50
[ "14*96=1344", "1344/64=21", "71-21=50" ]
Current State: 50:[64, 14, 96, 71], Operations: [] Exploring Operation: 14*96=1344, Resulting Numbers: [64, 71, 1344] Generated Node #2: [64, 71, 1344] from Operation: 14*96=1344 Current State: 50:[64, 71, 1344], Operations: ['14*96=1344'] Exploring Operation: 1344/64=21, Resulting Numbers: [71, 21] Generated Node #3: [71, 21] from Operation: 1344/64=21 Current State: 50:[71, 21], Operations: ['14*96=1344', '1344/64=21'] Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[64, 14, 96, 71], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [64, 14, 25] Generated Node #0,0: 50:[64, 14, 25] Operation: 96-71=25 Exploring Operation: 96-64=32, Resulting Numbers: [14, 71, 32] Generated Node #0,1: 50:[14, 71, 32] Operation: 96-64=32 Moving to Node #0,0 Current State: 50:[64, 14, 25], Operations: ['96-71=25'] Exploring Operation: 64-14=50, Resulting Numbers: [25, 50] Generated Node #0,0,0: 50:[25, 50] Operation: 64-14=50 Exploring Operation: 64-25=39, Resulting Numbers: [14, 39] Generated Node #0,0,1: 50:[14, 39] Operation: 64-25=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[25, 50], Operations: ['96-71=25', '64-14=50'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[14, 39], Operations: ['96-71=25', '64-25=39'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,50 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: 50:[14, 71, 32], Operations: ['96-64=32'] Exploring Operation: 71-32=39, Resulting Numbers: [14, 39] Generated Node #0,1,0: 50:[14, 39] Operation: 71-32=39 Exploring Operation: 71-14=57, Resulting Numbers: [32, 57] Generated Node #0,1,1: 50:[32, 57] Operation: 71-14=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[32, 57], Operations: ['96-64=32', '71-14=57'] Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,50 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[14, 39], Operations: ['96-64=32', '71-32=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,50 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,50 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
[ 78, 20, 4, 28 ]
82
[ "78-20=58", "28-4=24", "58+24=82" ]
Current State: 82:[78, 20, 4, 28], Operations: [] Exploring Operation: 78-20=58, Resulting Numbers: [4, 28, 58] Generated Node #2: [4, 28, 58] from Operation: 78-20=58 Current State: 82:[4, 28, 58], Operations: ['78-20=58'] Exploring Operation: 28-4=24, Resulting Numbers: [58, 24] Generated Node #3: [58, 24] from Operation: 28-4=24 Current State: 82:[58, 24], Operations: ['78-20=58', '28-4=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[78, 20, 4, 28], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [78, 4, 8] Generated Node #0,0: 82:[78, 4, 8] Operation: 28-20=8 Exploring Operation: 20/4=5, Resulting Numbers: [78, 28, 5] Generated Node #0,1: 82:[78, 28, 5] Operation: 20/4=5 Exploring Operation: 20+28=48, Resulting Numbers: [78, 4, 48] Generated Node #0,2: 82:[78, 4, 48] Operation: 20+28=48 Exploring Operation: 20*4=80, Resulting Numbers: [78, 28, 80] Generated Node #0,3: 82:[78, 28, 80] Operation: 20*4=80 Moving to Node #0,0 Current State: 82:[78, 4, 8], Operations: ['28-20=8'] Exploring Operation: 8-4=4, Resulting Numbers: [78, 4] Generated Node #0,0,0: 82:[78, 4] Operation: 8-4=4 Exploring Operation: 78+8=86, Resulting Numbers: [4, 86] Generated Node #0,0,1: 82:[4, 86] Operation: 78+8=86 Exploring Operation: 8/4=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 82:[78, 2] Operation: 8/4=2 Exploring Operation: 78+4=82, Resulting Numbers: [8, 82] Generated Node #0,0,3: 82:[8, 82] Operation: 78+4=82 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[78, 2], Operations: ['28-20=8', '8/4=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,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,0,0 Current State: 82:[78, 4], Operations: ['28-20=8', '8-4=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,82 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[78, 20, 4, 28], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [78, 4, 8] Generated Node #0,0: 82:[78, 4, 8] Operation: 28-20=8 Moving to Node #0,0 Current State: 82:[78, 4, 8], Operations: ['28-20=8'] Exploring Operation: 8-4=4, Resulting Numbers: [78, 4] Generated Node #0,0,0: 82:[78, 4] Operation: 8-4=4 Moving to Node #0,0,0 Current State: 82:[78, 4], Operations: ['28-20=8', '8-4=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 26, 71, 4, 22 ]
43
[ "71-26=45", "4*22=88", "88-45=43" ]
Current State: 43:[26, 71, 4, 22], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [4, 22, 45] Generated Node #2: [4, 22, 45] from Operation: 71-26=45 Current State: 43:[4, 22, 45], Operations: ['71-26=45'] Exploring Operation: 4*22=88, Resulting Numbers: [45, 88] Generated Node #3: [45, 88] from Operation: 4*22=88 Current State: 43:[45, 88], Operations: ['71-26=45', '4*22=88'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[26, 71, 4, 22], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [4, 22, 45] Generated Node #0,0: 43:[4, 22, 45] Operation: 71-26=45 Exploring Operation: 4+22=26, Resulting Numbers: [26, 71, 26] Generated Node #0,1: 43:[26, 71, 26] Operation: 4+22=26 Exploring Operation: 71-22=49, Resulting Numbers: [26, 4, 49] Generated Node #0,2: 43:[26, 4, 49] Operation: 71-22=49 Exploring Operation: 71-4=67, Resulting Numbers: [26, 22, 67] Generated Node #0,3: 43:[26, 22, 67] Operation: 71-4=67 Exploring Operation: 26+4=30, Resulting Numbers: [71, 22, 30] Generated Node #0,4: 43:[71, 22, 30] Operation: 26+4=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[4, 22, 45], Operations: ['71-26=45'] Exploring Operation: 45-4=41, Resulting Numbers: [22, 41] Generated Node #0,0,0: 43:[22, 41] Operation: 45-4=41 Exploring Operation: 4+45=49, Resulting Numbers: [22, 49] Generated Node #0,0,1: 43:[22, 49] Operation: 4+45=49 Exploring Operation: 4+22=26, Resulting Numbers: [45, 26] Generated Node #0,0,2: 43:[45, 26] Operation: 4+22=26 Exploring Operation: 4*22=88, Resulting Numbers: [45, 88] Generated Node #0,0,3: 43:[45, 88] Operation: 4*22=88 Exploring Operation: 22-4=18, Resulting Numbers: [45, 18] Generated Node #0,0,4: 43:[45, 18] Operation: 22-4=18 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[45, 26], Operations: ['71-26=45', '4+22=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,43 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,43 unequal: No Solution No 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: 43:[22, 41], Operations: ['71-26=45', '45-4=41'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 22*41=902, Resulting Numbers: [902] 902,43 unequal: No Solution Exploring Operation: 22+41=63, Resulting Numbers: [63] 63,43 unequal: No Solution No 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: 43:[22, 49], Operations: ['71-26=45', '4+45=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,43 unequal: No Solution No 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: 43:[45, 18], Operations: ['71-26=45', '22-4=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,43 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,43 unequal: No Solution No 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: 43:[45, 88], Operations: ['71-26=45', '4*22=88'] Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,43 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[26, 71, 4, 22], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [4, 22, 45] Generated Node #0,0: 43:[4, 22, 45] Operation: 71-26=45 Moving to Node #0,0 Current State: 43:[4, 22, 45], Operations: ['71-26=45'] Exploring Operation: 4*22=88, Resulting Numbers: [45, 88] Generated Node #0,0,3: 43:[45, 88] Operation: 4*22=88 Moving to Node #0,0,3 Current State: 43:[45, 88], Operations: ['71-26=45', '4*22=88'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 70, 70, 8, 48 ]
48
[ "70-70=0", "8*0=0", "48+0=48" ]
Current State: 48:[70, 70, 8, 48], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [8, 48, 0] Generated Node #2: [8, 48, 0] from Operation: 70-70=0 Current State: 48:[8, 48, 0], Operations: ['70-70=0'] Exploring Operation: 8*0=0, Resulting Numbers: [48, 0] Generated Node #3: [48, 0] from Operation: 8*0=0 Current State: 48:[48, 0], Operations: ['70-70=0', '8*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[70, 70, 8, 48], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [70, 8, 22] Generated Node #0,0: 48:[70, 8, 22] Operation: 70-48=22 Exploring Operation: 70-70=0, Resulting Numbers: [8, 48, 0] Generated Node #0,1: 48:[8, 48, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [8, 48, 1] Generated Node #0,2: 48:[8, 48, 1] Operation: 70/70=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[8, 48, 1], Operations: ['70/70=1'] Exploring Operation: 48*1=48, Resulting Numbers: [8, 48] Generated Node #0,2,0: 48:[8, 48] Operation: 48*1=48 Exploring Operation: 8*1=8, Resulting Numbers: [48, 8] Generated Node #0,2,1: 48:[48, 8] Operation: 8*1=8 Exploring Operation: 8/1=8, Resulting Numbers: [48, 8] Generated Node #0,2,2: 48:[48, 8] Operation: 8/1=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[8, 48], Operations: ['70/70=1', '48*1=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution No 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: 48:[48, 8], Operations: ['70/70=1', '8*1=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution No 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: 48:[48, 8], Operations: ['70/70=1', '8/1=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,48 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: 48:[8, 48, 0], Operations: ['70-70=0'] Exploring Operation: 8+0=8, Resulting Numbers: [48, 8] Generated Node #0,1,0: 48:[48, 8] Operation: 8+0=8 Exploring Operation: 8-0=8, Resulting Numbers: [48, 8] Generated Node #0,1,1: 48:[48, 8] Operation: 8-0=8 Exploring Operation: 48+0=48, Resulting Numbers: [8, 48] Generated Node #0,1,2: 48:[8, 48] Operation: 48+0=48 Moving to Node #0,1,0 Current State: 48:[48, 8], Operations: ['70-70=0', '8+0=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[48, 8], Operations: ['70-70=0', '8-0=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[8, 48], Operations: ['70-70=0', '48+0=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48-8=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 Current State: 48:[70, 8, 22], Operations: ['70-48=22'] Exploring Operation: 70-8=62, Resulting Numbers: [22, 62] Generated Node #0,0,0: 48:[22, 62] Operation: 70-8=62 Exploring Operation: 70-22=48, Resulting Numbers: [8, 48] Generated Node #0,0,1: 48:[8, 48] Operation: 70-22=48 Exploring Operation: 22-8=14, Resulting Numbers: [70, 14] Generated Node #0,0,2: 48:[70, 14] Operation: 22-8=14 Moving to Node #0,0,1 Current State: 48:[8, 48], Operations: ['70-48=22', '70-22=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[22, 62], Operations: ['70-48=22', '70-8=62'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[70, 14], Operations: ['70-48=22', '22-8=14'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,48 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, 58, 10, 27 ]
77
[ "98-58=40", "10+27=37", "40+37=77" ]
Current State: 77:[98, 58, 10, 27], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [10, 27, 40] Generated Node #2: [10, 27, 40] from Operation: 98-58=40 Current State: 77:[10, 27, 40], Operations: ['98-58=40'] Exploring Operation: 10+27=37, Resulting Numbers: [40, 37] Generated Node #3: [40, 37] from Operation: 10+27=37 Current State: 77:[40, 37], Operations: ['98-58=40', '10+27=37'] Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[98, 58, 10, 27], Operations: [] Exploring Operation: 98-27=71, Resulting Numbers: [58, 10, 71] Generated Node #0,0: 77:[58, 10, 71] Operation: 98-27=71 Exploring Operation: 58+27=85, Resulting Numbers: [98, 10, 85] Generated Node #0,1: 77:[98, 10, 85] Operation: 58+27=85 Moving to Node #0,0 Current State: 77:[58, 10, 71], Operations: ['98-27=71'] Exploring Operation: 71-58=13, Resulting Numbers: [10, 13] Generated Node #0,0,0: 77:[10, 13] Operation: 71-58=13 Exploring Operation: 58+10=68, Resulting Numbers: [71, 68] Generated Node #0,0,1: 77:[71, 68] Operation: 58+10=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[10, 13], Operations: ['98-27=71', '71-58=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,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,0,1 Current State: 77:[71, 68], Operations: ['98-27=71', '58+10=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,77 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,77 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: 77:[98, 10, 85], Operations: ['58+27=85'] Exploring Operation: 98-85=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 77:[10, 13] Operation: 98-85=13 Exploring Operation: 98-10=88, Resulting Numbers: [85, 88] Generated Node #0,1,1: 77:[85, 88] Operation: 98-10=88 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[10, 13], Operations: ['58+27=85', '98-85=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[85, 88], Operations: ['58+27=85', '98-10=88'] Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,77 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
[ 9, 11, 50, 10 ]
94
[ "9*11=99", "50/10=5", "99-5=94" ]
Current State: 94:[9, 11, 50, 10], Operations: [] Exploring Operation: 9*11=99, Resulting Numbers: [50, 10, 99] Generated Node #2: [50, 10, 99] from Operation: 9*11=99 Current State: 94:[50, 10, 99], Operations: ['9*11=99'] Exploring Operation: 50/10=5, Resulting Numbers: [99, 5] Generated Node #3: [99, 5] from Operation: 50/10=5 Current State: 94:[99, 5], Operations: ['9*11=99', '50/10=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[9, 11, 50, 10], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [11, 50, 1] Generated Node #0,0: 94:[11, 50, 1] Operation: 10-9=1 Exploring Operation: 11-9=2, Resulting Numbers: [50, 10, 2] Generated Node #0,1: 94:[50, 10, 2] Operation: 11-9=2 Exploring Operation: 11-10=1, Resulting Numbers: [9, 50, 1] Generated Node #0,2: 94:[9, 50, 1] Operation: 11-10=1 Exploring Operation: 9*11=99, Resulting Numbers: [50, 10, 99] Generated Node #0,3: 94:[50, 10, 99] Operation: 9*11=99 Moving to Node #0,1 Current State: 94:[50, 10, 2], Operations: ['11-9=2'] Exploring Operation: 50-2=48, Resulting Numbers: [10, 48] Generated Node #0,1,0: 94:[10, 48] Operation: 50-2=48 Exploring Operation: 50-10=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 94:[2, 40] Operation: 50-10=40 Exploring Operation: 50/10=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 94:[2, 5] Operation: 50/10=5 Exploring Operation: 10/2=5, Resulting Numbers: [50, 5] Generated Node #0,1,3: 94:[50, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[2, 5], Operations: ['11-9=2', '50/10=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,1,3 Current State: 94:[50, 5], Operations: ['11-9=2', '10/2=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,94 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,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,1,1 Current State: 94:[2, 40], Operations: ['11-9=2', '50-10=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,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,1,0 Current State: 94:[10, 48], Operations: ['11-9=2', '50-2=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,94 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: 94:[9, 50, 1], Operations: ['11-10=1'] Exploring Operation: 9*1=9, Resulting Numbers: [50, 9] Generated Node #0,2,0: 94:[50, 9] Operation: 9*1=9 Exploring Operation: 50-1=49, Resulting Numbers: [9, 49] Generated Node #0,2,1: 94:[9, 49] Operation: 50-1=49 Exploring Operation: 50-9=41, Resulting Numbers: [1, 41] Generated Node #0,2,2: 94:[1, 41] Operation: 50-9=41 Exploring Operation: 9-1=8, Resulting Numbers: [50, 8] Generated Node #0,2,3: 94:[50, 8] Operation: 9-1=8 Moving to Node #0,0 Current State: 94:[11, 50, 1], Operations: ['10-9=1'] Exploring Operation: 50-11=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 94:[1, 39] Operation: 50-11=39 Exploring Operation: 50-1=49, Resulting Numbers: [11, 49] Generated Node #0,0,1: 94:[11, 49] Operation: 50-1=49 Exploring Operation: 11*1=11, Resulting Numbers: [50, 11] Generated Node #0,0,2: 94:[50, 11] Operation: 11*1=11 Exploring Operation: 11-1=10, Resulting Numbers: [50, 10] Generated Node #0,0,3: 94:[50, 10] Operation: 11-1=10 Moving to Node #0,3 Current State: 94:[50, 10, 99], Operations: ['9*11=99'] Exploring Operation: 99-50=49, Resulting Numbers: [10, 49] Generated Node #0,3,0: 94:[10, 49] Operation: 99-50=49 Exploring Operation: 99-10=89, Resulting Numbers: [50, 89] Generated Node #0,3,1: 94:[50, 89] Operation: 99-10=89 Exploring Operation: 50-10=40, Resulting Numbers: [99, 40] Generated Node #0,3,2: 94:[99, 40] Operation: 50-10=40 Exploring Operation: 50/10=5, Resulting Numbers: [99, 5] Generated Node #0,3,3: 94:[99, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[50, 89], Operations: ['9*11=99', '99-10=89'] Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,94 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,94 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,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,3,3 Current State: 94:[99, 5], Operations: ['9*11=99', '50/10=5'] Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,94 unequal: No Solution Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,94 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[9, 11, 50, 10], Operations: [] Exploring Operation: 9*11=99, Resulting Numbers: [50, 10, 99] Generated Node #0,3: 94:[50, 10, 99] Operation: 9*11=99 Moving to Node #0,3 Current State: 94:[50, 10, 99], Operations: ['9*11=99'] Exploring Operation: 50/10=5, Resulting Numbers: [99, 5] Generated Node #0,3,3: 94:[99, 5] Operation: 50/10=5 Moving to Node #0,3,3 Current State: 94:[99, 5], Operations: ['9*11=99', '50/10=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_4
sum_heuristic
[ 18, 7, 7, 3 ]
65
[ "7-3=4", "18*4=72", "72-7=65" ]
Current State: 65:[18, 7, 7, 3], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [18, 4] Generated Node #2: [18, 4] from Operation: 7-3=4 Current State: 65:[18, 4], Operations: ['7-3=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,65 equal: Goal Reached Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[18, 7, 7, 3], Operations: [] Exploring Operation: 7+7=14, Resulting Numbers: [18, 3, 14] Generated Node #0,0: 65:[18, 3, 14] Operation: 7+7=14 Exploring Operation: 18/3=6, Resulting Numbers: [7, 7, 6] Generated Node #0,1: 65:[7, 7, 6] Operation: 18/3=6 Exploring Operation: 18-7=11, Resulting Numbers: [7, 3, 11] Generated Node #0,2: 65:[7, 3, 11] Operation: 18-7=11 Exploring Operation: 18-7=11, Resulting Numbers: [7, 3, 11] Generated Node #0,3: 65:[7, 3, 11] Operation: 18-7=11 Exploring Operation: 18-3=15, Resulting Numbers: [7, 7, 15] Generated Node #0,4: 65:[7, 7, 15] Operation: 18-3=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[7, 7, 6], Operations: ['18/3=6'] Exploring Operation: 7+7=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 65:[6, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [6, 1] Generated Node #0,1,1: 65:[6, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [6, 0] Generated Node #0,1,2: 65:[6, 0] Operation: 7-7=0 Exploring Operation: 7+6=13, Resulting Numbers: [7, 13] Generated Node #0,1,3: 65:[7, 13] Operation: 7+6=13 Exploring Operation: 7+6=13, Resulting Numbers: [7, 13] Generated Node #0,1,4: 65:[7, 13] Operation: 7+6=13 Moving to Node #0,1,0 Current State: 65:[6, 14], Operations: ['18/3=6', '7+7=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[7, 13], Operations: ['18/3=6', '7+6=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,65 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[7, 13], Operations: ['18/3=6', '7+6=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,65 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[6, 1], Operations: ['18/3=6', '7/7=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[6, 0], Operations: ['18/3=6', '7-7=0'] Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution No 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: 65:[7, 3, 11], Operations: ['18-7=11'] Exploring Operation: 11-7=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 65:[3, 4] Operation: 11-7=4 Exploring Operation: 7+3=10, Resulting Numbers: [11, 10] Generated Node #0,2,1: 65:[11, 10] Operation: 7+3=10 Exploring Operation: 11-3=8, Resulting Numbers: [7, 8] Generated Node #0,2,2: 65:[7, 8] Operation: 11-3=8 Exploring Operation: 3+11=14, Resulting Numbers: [7, 14] Generated Node #0,2,3: 65:[7, 14] Operation: 3+11=14 Exploring Operation: 7-3=4, Resulting Numbers: [11, 4] Generated Node #0,2,4: 65:[11, 4] Operation: 7-3=4 Moving to Node #0,2,0 Current State: 65:[3, 4], Operations: ['18-7=11', '11-7=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[11, 4], Operations: ['18-7=11', '7-3=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[7, 14], Operations: ['18-7=11', '3+11=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,65 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[11, 10], Operations: ['18-7=11', '7+3=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,65 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[7, 8], Operations: ['18-7=11', '11-3=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution No 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: 65:[7, 3, 11], Operations: ['18-7=11'] Exploring Operation: 7-3=4, Resulting Numbers: [11, 4] Generated Node #0,3,0: 65:[11, 4] Operation: 7-3=4 Exploring Operation: 11-3=8, Resulting Numbers: [7, 8] Generated Node #0,3,1: 65:[7, 8] Operation: 11-3=8 Exploring Operation: 11-7=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 65:[3, 4] Operation: 11-7=4 Exploring Operation: 3+11=14, Resulting Numbers: [7, 14] Generated Node #0,3,3: 65:[7, 14] Operation: 3+11=14 Exploring Operation: 7+3=10, Resulting Numbers: [11, 10] Generated Node #0,3,4: 65:[11, 10] Operation: 7+3=10 Moving to Node #0,3,0 Current State: 65:[11, 4], Operations: ['18-7=11', '7-3=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[7, 14], Operations: ['18-7=11', '3+11=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,65 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[3, 4], Operations: ['18-7=11', '11-7=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[7, 8], Operations: ['18-7=11', '11-3=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[11, 10], Operations: ['18-7=11', '7+3=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,65 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,65 unequal: No Solution No 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: 65:[7, 7, 15], Operations: ['18-3=15'] Exploring Operation: 7+7=14, Resulting Numbers: [15, 14] Generated Node #0,4,0: 65:[15, 14] Operation: 7+7=14 Exploring Operation: 15-7=8, Resulting Numbers: [7, 8] Generated Node #0,4,1: 65:[7, 8] Operation: 15-7=8 Exploring Operation: 15-7=8, Resulting Numbers: [7, 8] Generated Node #0,4,2: 65:[7, 8] Operation: 15-7=8 Exploring Operation: 7-7=0, Resulting Numbers: [15, 0] Generated Node #0,4,3: 65:[15, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [15, 1] Generated Node #0,4,4: 65:[15, 1] Operation: 7/7=1 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 65:[15, 14], Operations: ['18-3=15', '7+7=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 65:[7, 8], Operations: ['18-3=15', '15-7=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 65:[7, 8], Operations: ['18-3=15', '15-7=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 65:[15, 1], Operations: ['18-3=15', '7/7=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 65:[15, 0], Operations: ['18-3=15', '7-7=0'] Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,65 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: 65:[18, 3, 14], Operations: ['7+7=14'] Exploring Operation: 14-3=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 65:[18, 11] Operation: 14-3=11 Exploring Operation: 18-14=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 65:[3, 4] Operation: 18-14=4 Exploring Operation: 18+3=21, Resulting Numbers: [14, 21] Generated Node #0,0,2: 65:[14, 21] Operation: 18+3=21 Exploring Operation: 18-3=15, Resulting Numbers: [14, 15] Generated Node #0,0,3: 65:[14, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [14, 6] Generated Node #0,0,4: 65:[14, 6] Operation: 18/3=6 Moving to Node #0,0,4 Current State: 65:[14, 6], Operations: ['7+7=14', '18/3=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[14, 15], Operations: ['7+7=14', '18-3=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[3, 4], Operations: ['7+7=14', '18-14=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[18, 11], Operations: ['7+7=14', '14-3=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,65 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[14, 21], Operations: ['7+7=14', '18+3=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,65 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
[ 35, 19, 33, 83 ]
62
[ "35+19=54", "33+83=116", "116-54=62" ]
Current State: 62:[35, 19, 33, 83], Operations: [] Exploring Operation: 35+19=54, Resulting Numbers: [33, 83, 54] Generated Node #2: [33, 83, 54] from Operation: 35+19=54 Current State: 62:[33, 83, 54], Operations: ['35+19=54'] Exploring Operation: 33+83=116, Resulting Numbers: [54, 116] Generated Node #3: [54, 116] from Operation: 33+83=116 Current State: 62:[54, 116], Operations: ['35+19=54', '33+83=116'] Exploring Operation: 116-54=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 19, 33, 83], Operations: [] Exploring Operation: 83-19=64, Resulting Numbers: [35, 33, 64] Generated Node #0,0: 62:[35, 33, 64] Operation: 83-19=64 Exploring Operation: 83-33=50, Resulting Numbers: [35, 19, 50] Generated Node #0,1: 62:[35, 19, 50] Operation: 83-33=50 Exploring Operation: 83-35=48, Resulting Numbers: [19, 33, 48] Generated Node #0,2: 62:[19, 33, 48] Operation: 83-35=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[35, 33, 64], Operations: ['83-19=64'] Exploring Operation: 35-33=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 62:[64, 2] Operation: 35-33=2 Exploring Operation: 64-33=31, Resulting Numbers: [35, 31] Generated Node #0,0,1: 62:[35, 31] Operation: 64-33=31 Exploring Operation: 64-35=29, Resulting Numbers: [33, 29] Generated Node #0,0,2: 62:[33, 29] Operation: 64-35=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[64, 2], Operations: ['83-19=64', '35-33=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[35, 19, 33, 83], Operations: [] Exploring Operation: 83-19=64, Resulting Numbers: [35, 33, 64] Generated Node #0,0: 62:[35, 33, 64] Operation: 83-19=64 Moving to Node #0,0 Current State: 62:[35, 33, 64], Operations: ['83-19=64'] Exploring Operation: 35-33=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 62:[64, 2] Operation: 35-33=2 Moving to Node #0,0,0 Current State: 62:[64, 2], Operations: ['83-19=64', '35-33=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 37, 60, 43, 39 ]
59
[ "60-37=23", "43+39=82", "82-23=59" ]
Current State: 59:[37, 60, 43, 39], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [43, 39, 23] Generated Node #2: [43, 39, 23] from Operation: 60-37=23 Current State: 59:[43, 39, 23], Operations: ['60-37=23'] Exploring Operation: 43+39=82, Resulting Numbers: [23, 82] Generated Node #3: [23, 82] from Operation: 43+39=82 Current State: 59:[23, 82], Operations: ['60-37=23', '43+39=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[37, 60, 43, 39], Operations: [] Exploring Operation: 37+39=76, Resulting Numbers: [60, 43, 76] Generated Node #0,0: 59:[60, 43, 76] Operation: 37+39=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[60, 43, 76], Operations: ['37+39=76'] Exploring Operation: 76-43=33, Resulting Numbers: [60, 33] Generated Node #0,0,0: 59:[60, 33] Operation: 76-43=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[60, 33], Operations: ['37+39=76', '76-43=33'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 31, 61, 57, 53 ]
71
[ "61-57=4", "31*4=124", "124-53=71" ]
Current State: 71:[31, 61, 57, 53], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [31, 53, 4] Generated Node #2: [31, 53, 4] from Operation: 61-57=4 Current State: 71:[31, 53, 4], Operations: ['61-57=4'] Exploring Operation: 31*4=124, Resulting Numbers: [53, 124] Generated Node #3: [53, 124] from Operation: 31*4=124 Current State: 71:[53, 124], Operations: ['61-57=4', '31*4=124'] Exploring Operation: 124-53=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[31, 61, 57, 53], Operations: [] Exploring Operation: 31+57=88, Resulting Numbers: [61, 53, 88] Generated Node #0,0: 71:[61, 53, 88] Operation: 31+57=88 Exploring Operation: 61-31=30, Resulting Numbers: [57, 53, 30] Generated Node #0,1: 71:[57, 53, 30] Operation: 61-31=30 Exploring Operation: 31+53=84, Resulting Numbers: [61, 57, 84] Generated Node #0,2: 71:[61, 57, 84] Operation: 31+53=84 Exploring Operation: 31+61=92, Resulting Numbers: [57, 53, 92] Generated Node #0,3: 71:[57, 53, 92] Operation: 31+61=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[61, 57, 84], Operations: ['31+53=84'] Exploring Operation: 84-61=23, Resulting Numbers: [57, 23] Generated Node #0,2,0: 71:[57, 23] Operation: 84-61=23 Exploring Operation: 61-57=4, Resulting Numbers: [84, 4] Generated Node #0,2,1: 71:[84, 4] Operation: 61-57=4 Exploring Operation: 84-57=27, Resulting Numbers: [61, 27] Generated Node #0,2,2: 71:[61, 27] Operation: 84-57=27 Exploring Operation: 61+57=118, Resulting Numbers: [84, 118] Generated Node #0,2,3: 71:[84, 118] Operation: 61+57=118 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[61, 27], Operations: ['31+53=84', '84-57=27'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,71 unequal: No Solution Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,71 unequal: No Solution No 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: 71:[84, 118], Operations: ['31+53=84', '61+57=118'] Exploring Operation: 84+118=202, Resulting Numbers: [202] 202,71 unequal: No Solution Exploring Operation: 118-84=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 84*118=9912, Resulting Numbers: [9912] 9912,71 unequal: No Solution No 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: 71:[57, 23], Operations: ['31+53=84', '84-61=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,71 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,71 unequal: No Solution No 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: 71:[84, 4], Operations: ['31+53=84', '61-57=4'] Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,71 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[61, 53, 88], Operations: ['31+57=88'] Exploring Operation: 88-53=35, Resulting Numbers: [61, 35] Generated Node #0,0,0: 71:[61, 35] Operation: 88-53=35 Exploring Operation: 61-53=8, Resulting Numbers: [88, 8] Generated Node #0,0,1: 71:[88, 8] Operation: 61-53=8 Exploring Operation: 88-61=27, Resulting Numbers: [53, 27] Generated Node #0,0,2: 71:[53, 27] Operation: 88-61=27 Exploring Operation: 61+53=114, Resulting Numbers: [88, 114] Generated Node #0,0,3: 71:[88, 114] Operation: 61+53=114 Moving to Node #0,0,0 Current State: 71:[61, 35], Operations: ['31+57=88', '88-53=35'] Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,71 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[88, 114], Operations: ['31+57=88', '61+53=114'] Exploring Operation: 88+114=202, Resulting Numbers: [202] 202,71 unequal: No Solution Exploring Operation: 88*114=10032, Resulting Numbers: [10032] 10032,71 unequal: No Solution Exploring Operation: 114-88=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[53, 27], Operations: ['31+57=88', '88-61=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[88, 8], Operations: ['31+57=88', '61-53=8'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 88*8=704, Resulting Numbers: [704] 704,71 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,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,3 Current State: 71:[57, 53, 92], Operations: ['31+61=92'] Exploring Operation: 92-57=35, Resulting Numbers: [53, 35] Generated Node #0,3,0: 71:[53, 35] Operation: 92-57=35 Exploring Operation: 92-53=39, Resulting Numbers: [57, 39] Generated Node #0,3,1: 71:[57, 39] Operation: 92-53=39 Exploring Operation: 57+53=110, Resulting Numbers: [92, 110] Generated Node #0,3,2: 71:[92, 110] Operation: 57+53=110 Exploring Operation: 57-53=4, Resulting Numbers: [92, 4] Generated Node #0,3,3: 71:[92, 4] Operation: 57-53=4 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[57, 39], Operations: ['31+61=92', '92-53=39'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,71 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,71 unequal: No Solution No 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: 71:[53, 35], Operations: ['31+61=92', '92-57=35'] Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,71 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,71 unequal: No Solution No 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: 71:[92, 110], Operations: ['31+61=92', '57+53=110'] Exploring Operation: 110-92=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 92+110=202, Resulting Numbers: [202] 202,71 unequal: No Solution Exploring Operation: 92*110=10120, Resulting Numbers: [10120] 10120,71 unequal: No Solution No 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: 71:[92, 4], Operations: ['31+61=92', '57-53=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,71 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[57, 53, 30], Operations: ['61-31=30'] Exploring Operation: 53-30=23, Resulting Numbers: [57, 23] Generated Node #0,1,0: 71:[57, 23] Operation: 53-30=23 Exploring Operation: 57-30=27, Resulting Numbers: [53, 27] Generated Node #0,1,1: 71:[53, 27] Operation: 57-30=27 Exploring Operation: 57+30=87, Resulting Numbers: [53, 87] Generated Node #0,1,2: 71:[53, 87] Operation: 57+30=87 Exploring Operation: 53+30=83, Resulting Numbers: [57, 83] Generated Node #0,1,3: 71:[57, 83] Operation: 53+30=83 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[57, 83], Operations: ['61-31=30', '53+30=83'] Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 57*83=4731, Resulting Numbers: [4731] 4731,71 unequal: No Solution Exploring Operation: 57+83=140, Resulting Numbers: [140] 140,71 unequal: No Solution No 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: 71:[53, 87], Operations: ['61-31=30', '57+30=87'] Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,71 unequal: No Solution Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,71 unequal: No Solution No 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: 71:[57, 23], Operations: ['61-31=30', '53-30=23'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,71 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,71 unequal: No Solution No 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: 71:[53, 27], Operations: ['61-31=30', '57-30=27'] Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,71 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 10, 74, 91, 96 ]
79
[ "10+74=84", "96-91=5", "84-5=79" ]
Current State: 79:[10, 74, 91, 96], Operations: [] Exploring Operation: 10+74=84, Resulting Numbers: [91, 96, 84] Generated Node #2: [91, 96, 84] from Operation: 10+74=84 Current State: 79:[91, 96, 84], Operations: ['10+74=84'] Exploring Operation: 96-91=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 96-91=5 Current State: 79:[84, 5], Operations: ['10+74=84', '96-91=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 74, 91, 96], Operations: [] Exploring Operation: 96-10=86, Resulting Numbers: [74, 91, 86] Generated Node #0,0: 79:[74, 91, 86] Operation: 96-10=86 Exploring Operation: 74-10=64, Resulting Numbers: [91, 96, 64] Generated Node #0,1: 79:[91, 96, 64] Operation: 74-10=64 Exploring Operation: 10+91=101, Resulting Numbers: [74, 96, 101] Generated Node #0,2: 79:[74, 96, 101] Operation: 10+91=101 Exploring Operation: 91-10=81, Resulting Numbers: [74, 96, 81] Generated Node #0,3: 79:[74, 96, 81] Operation: 91-10=81 Exploring Operation: 10+74=84, Resulting Numbers: [91, 96, 84] Generated Node #0,4: 79:[91, 96, 84] Operation: 10+74=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[74, 91, 86], Operations: ['96-10=86'] Exploring Operation: 91-74=17, Resulting Numbers: [86, 17] Generated Node #0,0,0: 79:[86, 17] Operation: 91-74=17 Exploring Operation: 74+86=160, Resulting Numbers: [91, 160] Generated Node #0,0,1: 79:[91, 160] Operation: 74+86=160 Exploring Operation: 91-86=5, Resulting Numbers: [74, 5] Generated Node #0,0,2: 79:[74, 5] Operation: 91-86=5 Exploring Operation: 74+91=165, Resulting Numbers: [86, 165] Generated Node #0,0,3: 79:[86, 165] Operation: 74+91=165 Exploring Operation: 86-74=12, Resulting Numbers: [91, 12] Generated Node #0,0,4: 79:[91, 12] Operation: 86-74=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[86, 17], Operations: ['96-10=86', '91-74=17'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,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:[74, 5], Operations: ['96-10=86', '91-86=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[10, 74, 91, 96], Operations: [] Exploring Operation: 96-10=86, Resulting Numbers: [74, 91, 86] Generated Node #0,0: 79:[74, 91, 86] Operation: 96-10=86 Moving to Node #0,0 Current State: 79:[74, 91, 86], Operations: ['96-10=86'] Exploring Operation: 91-86=5, Resulting Numbers: [74, 5] Generated Node #0,0,2: 79:[74, 5] Operation: 91-86=5 Moving to Node #0,0,2 Current State: 79:[74, 5], Operations: ['96-10=86', '91-86=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 91, 24, 87, 94 ]
11
[ "94-87=7", "91/7=13", "24-13=11" ]
Current State: 11:[91, 24, 87, 94], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [91, 24, 7] Generated Node #2: [91, 24, 7] from Operation: 94-87=7 Current State: 11:[91, 24, 7], Operations: ['94-87=7'] Exploring Operation: 91/7=13, Resulting Numbers: [24, 13] Generated Node #3: [24, 13] from Operation: 91/7=13 Current State: 11:[24, 13], Operations: ['94-87=7', '91/7=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[91, 24, 87, 94], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [24, 87, 3] Generated Node #0,0: 11:[24, 87, 3] Operation: 94-91=3 Exploring Operation: 94-87=7, Resulting Numbers: [91, 24, 7] Generated Node #0,1: 11:[91, 24, 7] Operation: 94-87=7 Exploring Operation: 91-87=4, Resulting Numbers: [24, 94, 4] Generated Node #0,2: 11:[24, 94, 4] Operation: 91-87=4 Exploring Operation: 91-24=67, Resulting Numbers: [87, 94, 67] Generated Node #0,3: 11:[87, 94, 67] Operation: 91-24=67 Exploring Operation: 87-24=63, Resulting Numbers: [91, 94, 63] Generated Node #0,4: 11:[91, 94, 63] Operation: 87-24=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[24, 87, 3], Operations: ['94-91=3'] Exploring Operation: 87/3=29, Resulting Numbers: [24, 29] Generated Node #0,0,0: 11:[24, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [24, 84] Generated Node #0,0,1: 11:[24, 84] Operation: 87-3=84 Exploring Operation: 24/3=8, Resulting Numbers: [87, 8] Generated Node #0,0,2: 11:[87, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [87, 21] Generated Node #0,0,3: 11:[87, 21] Operation: 24-3=21 Exploring Operation: 87-24=63, Resulting Numbers: [3, 63] Generated Node #0,0,4: 11:[3, 63] Operation: 87-24=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[24, 29], Operations: ['94-91=3', '87/3=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,11 unequal: No Solution No 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: 11:[3, 63], Operations: ['94-91=3', '87-24=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,11 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,11 unequal: No Solution No 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: 11:[87, 8], Operations: ['94-91=3', '24/3=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,11 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,11 unequal: No Solution No 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: 11:[24, 84], Operations: ['94-91=3', '87-3=84'] Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 24*84=2016, Resulting Numbers: [2016] 2016,11 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,11 unequal: No Solution No 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: 11:[87, 21], Operations: ['94-91=3', '24-3=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,11 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[91, 24, 7], Operations: ['94-87=7'] Exploring Operation: 24-7=17, Resulting Numbers: [91, 17] Generated Node #0,1,0: 11:[91, 17] Operation: 24-7=17 Exploring Operation: 91-7=84, Resulting Numbers: [24, 84] Generated Node #0,1,1: 11:[24, 84] Operation: 91-7=84 Exploring Operation: 91+7=98, Resulting Numbers: [24, 98] Generated Node #0,1,2: 11:[24, 98] Operation: 91+7=98 Exploring Operation: 91-24=67, Resulting Numbers: [7, 67] Generated Node #0,1,3: 11:[7, 67] Operation: 91-24=67 Exploring Operation: 91/7=13, Resulting Numbers: [24, 13] Generated Node #0,1,4: 11:[24, 13] Operation: 91/7=13 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 11:[24, 13], Operations: ['94-87=7', '91/7=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,11 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[91, 24, 87, 94], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [91, 24, 7] Generated Node #0,1: 11:[91, 24, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 11:[91, 24, 7], Operations: ['94-87=7'] Exploring Operation: 91/7=13, Resulting Numbers: [24, 13] Generated Node #0,1,4: 11:[24, 13] Operation: 91/7=13 Moving to Node #0,1,4 Current State: 11:[24, 13], Operations: ['94-87=7', '91/7=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 46, 26, 25, 23 ]
74
[ "46+26=72", "25-23=2", "72+2=74" ]
Current State: 74:[46, 26, 25, 23], Operations: [] Exploring Operation: 46+26=72, Resulting Numbers: [25, 23, 72] Generated Node #2: [25, 23, 72] from Operation: 46+26=72 Current State: 74:[25, 23, 72], Operations: ['46+26=72'] Exploring Operation: 25-23=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 25-23=2 Current State: 74:[72, 2], Operations: ['46+26=72', '25-23=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[46, 26, 25, 23], Operations: [] Exploring Operation: 46+26=72, Resulting Numbers: [25, 23, 72] Generated Node #0,0: 74:[25, 23, 72] Operation: 46+26=72 Exploring Operation: 46/23=2, Resulting Numbers: [26, 25, 2] Generated Node #0,1: 74:[26, 25, 2] Operation: 46/23=2 Exploring Operation: 25-23=2, Resulting Numbers: [46, 26, 2] Generated Node #0,2: 74:[46, 26, 2] Operation: 25-23=2 Exploring Operation: 26-23=3, Resulting Numbers: [46, 25, 3] Generated Node #0,3: 74:[46, 25, 3] Operation: 26-23=3 Exploring Operation: 26-25=1, Resulting Numbers: [46, 23, 1] Generated Node #0,4: 74:[46, 23, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[46, 26, 2], Operations: ['25-23=2'] Exploring Operation: 26/2=13, Resulting Numbers: [46, 13] Generated Node #0,2,0: 74:[46, 13] Operation: 26/2=13 Exploring Operation: 46+26=72, Resulting Numbers: [2, 72] Generated Node #0,2,1: 74:[2, 72] Operation: 46+26=72 Exploring Operation: 26+2=28, Resulting Numbers: [46, 28] Generated Node #0,2,2: 74:[46, 28] Operation: 26+2=28 Exploring Operation: 46-2=44, Resulting Numbers: [26, 44] Generated Node #0,2,3: 74:[26, 44] Operation: 46-2=44 Exploring Operation: 46-26=20, Resulting Numbers: [2, 20] Generated Node #0,2,4: 74:[2, 20] Operation: 46-26=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[2, 72], Operations: ['25-23=2', '46+26=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,74 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[46, 26, 25, 23], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [46, 26, 2] Generated Node #0,2: 74:[46, 26, 2] Operation: 25-23=2 Moving to Node #0,2 Current State: 74:[46, 26, 2], Operations: ['25-23=2'] Exploring Operation: 46+26=72, Resulting Numbers: [2, 72] Generated Node #0,2,1: 74:[2, 72] Operation: 46+26=72 Moving to Node #0,2,1 Current State: 74:[2, 72], Operations: ['25-23=2', '46+26=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 32, 28, 40, 18 ]
48
[ "32*18=576", "40-28=12", "576/12=48" ]
Current State: 48:[32, 28, 40, 18], Operations: [] Exploring Operation: 32*18=576, Resulting Numbers: [28, 40, 576] Generated Node #2: [28, 40, 576] from Operation: 32*18=576 Current State: 48:[28, 40, 576], Operations: ['32*18=576'] Exploring Operation: 40-28=12, Resulting Numbers: [576, 12] Generated Node #3: [576, 12] from Operation: 40-28=12 Current State: 48:[576, 12], Operations: ['32*18=576', '40-28=12'] Exploring Operation: 576/12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[32, 28, 40, 18], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [40, 18, 4] Generated Node #0,0: 48:[40, 18, 4] Operation: 32-28=4 Exploring Operation: 40-32=8, Resulting Numbers: [28, 18, 8] Generated Node #0,1: 48:[28, 18, 8] Operation: 40-32=8 Exploring Operation: 40-28=12, Resulting Numbers: [32, 18, 12] Generated Node #0,2: 48:[32, 18, 12] Operation: 40-28=12 Exploring Operation: 32+18=50, Resulting Numbers: [28, 40, 50] Generated Node #0,3: 48:[28, 40, 50] Operation: 32+18=50 Exploring Operation: 32-18=14, Resulting Numbers: [28, 40, 14] Generated Node #0,4: 48:[28, 40, 14] Operation: 32-18=14 Moving to Node #0,1 Current State: 48:[28, 18, 8], Operations: ['40-32=8'] Exploring Operation: 28-18=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 48:[8, 10] Operation: 28-18=10 Exploring Operation: 28+18=46, Resulting Numbers: [8, 46] Generated Node #0,1,1: 48:[8, 46] Operation: 28+18=46 Exploring Operation: 18-8=10, Resulting Numbers: [28, 10] Generated Node #0,1,2: 48:[28, 10] Operation: 18-8=10 Exploring Operation: 18+8=26, Resulting Numbers: [28, 26] Generated Node #0,1,3: 48:[28, 26] Operation: 18+8=26 Exploring Operation: 28-8=20, Resulting Numbers: [18, 20] Generated Node #0,1,4: 48:[18, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[8, 10], Operations: ['40-32=8', '28-18=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,48 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,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,1,1 Current State: 48:[8, 46], Operations: ['40-32=8', '28+18=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,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,1,2 Current State: 48:[28, 10], Operations: ['40-32=8', '18-8=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,48 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,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,1,3 Current State: 48:[28, 26], Operations: ['40-32=8', '18+8=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,48 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,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,1,4 Current State: 48:[18, 20], Operations: ['40-32=8', '28-8=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,48 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,48 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: 48:[32, 18, 12], Operations: ['40-28=12'] Exploring Operation: 32-18=14, Resulting Numbers: [12, 14] Generated Node #0,2,0: 48:[12, 14] Operation: 32-18=14 Exploring Operation: 32+12=44, Resulting Numbers: [18, 44] Generated Node #0,2,1: 48:[18, 44] Operation: 32+12=44 Exploring Operation: 32+18=50, Resulting Numbers: [12, 50] Generated Node #0,2,2: 48:[12, 50] Operation: 32+18=50 Exploring Operation: 18-12=6, Resulting Numbers: [32, 6] Generated Node #0,2,3: 48:[32, 6] Operation: 18-12=6 Exploring Operation: 32-12=20, Resulting Numbers: [18, 20] Generated Node #0,2,4: 48:[18, 20] Operation: 32-12=20 Moving to Node #0,0 Current State: 48:[40, 18, 4], Operations: ['32-28=4'] Exploring Operation: 40+4=44, Resulting Numbers: [18, 44] Generated Node #0,0,0: 48:[18, 44] Operation: 40+4=44 Exploring Operation: 18+4=22, Resulting Numbers: [40, 22] Generated Node #0,0,1: 48:[40, 22] Operation: 18+4=22 Exploring Operation: 40+18=58, Resulting Numbers: [4, 58] Generated Node #0,0,2: 48:[4, 58] Operation: 40+18=58 Exploring Operation: 40/4=10, Resulting Numbers: [18, 10] Generated Node #0,0,3: 48:[18, 10] Operation: 40/4=10 Exploring Operation: 40-18=22, Resulting Numbers: [4, 22] Generated Node #0,0,4: 48:[4, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[4, 22], Operations: ['32-28=4', '40-18=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,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:[18, 10], Operations: ['32-28=4', '40/4=10'] Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,48 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,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,0 Current State: 48:[18, 44], Operations: ['32-28=4', '40+4=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,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,1 Current State: 48:[40, 22], Operations: ['32-28=4', '18+4=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,48 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,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,2 Current State: 48:[4, 58], Operations: ['32-28=4', '40+18=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,48 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,48 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: 48:[28, 40, 50], Operations: ['32+18=50'] Exploring Operation: 28+50=78, Resulting Numbers: [40, 78] Generated Node #0,3,0: 48:[40, 78] Operation: 28+50=78 Exploring Operation: 40-28=12, Resulting Numbers: [50, 12] Generated Node #0,3,1: 48:[50, 12] Operation: 40-28=12 Exploring Operation: 50-28=22, Resulting Numbers: [40, 22] Generated Node #0,3,2: 48:[40, 22] Operation: 50-28=22 Exploring Operation: 50-40=10, Resulting Numbers: [28, 10] Generated Node #0,3,3: 48:[28, 10] Operation: 50-40=10 Exploring Operation: 28+40=68, Resulting Numbers: [50, 68] Generated Node #0,3,4: 48:[50, 68] Operation: 28+40=68 Moving to Node #0,4 Current State: 48:[28, 40, 14], Operations: ['32-18=14'] Exploring Operation: 40-28=12, Resulting Numbers: [14, 12] Generated Node #0,4,0: 48:[14, 12] Operation: 40-28=12 Exploring Operation: 28-14=14, Resulting Numbers: [40, 14] Generated Node #0,4,1: 48:[40, 14] Operation: 28-14=14 Exploring Operation: 40+14=54, Resulting Numbers: [28, 54] Generated Node #0,4,2: 48:[28, 54] Operation: 40+14=54 Exploring Operation: 28/14=2, Resulting Numbers: [40, 2] Generated Node #0,4,3: 48:[40, 2] Operation: 28/14=2 Exploring Operation: 40-14=26, Resulting Numbers: [28, 26] Generated Node #0,4,4: 48:[28, 26] Operation: 40-14=26 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 48:[14, 12], Operations: ['32-18=14', '40-28=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,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,4,4 Current State: 48:[28, 26], Operations: ['32-18=14', '40-14=26'] Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,48 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,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,4,3 Current State: 48:[40, 2], Operations: ['32-18=14', '28/14=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,48 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,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,4,1 Current State: 48:[40, 14], Operations: ['32-18=14', '28-14=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,48 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,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,4,2 Current State: 48:[28, 54], Operations: ['32-18=14', '40+14=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,48 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,48 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: 48:[12, 14], Operations: ['40-28=12', '32-18=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[50, 12], Operations: ['32+18=50', '40-28=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,48 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[12, 50], Operations: ['40-28=12', '32+18=50'] Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,48 unequal: No Solution Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[28, 10], Operations: ['32+18=50', '50-40=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[18, 44], Operations: ['40-28=12', '32+12=44'] Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,48 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,48 unequal: No Solution Moving to Node #0,2,4 Current State: 48:[18, 20], Operations: ['40-28=12', '32-12=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[32, 6], Operations: ['40-28=12', '18-12=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[40, 22], Operations: ['32+18=50', '50-28=22'] Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,48 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[50, 68], Operations: ['32+18=50', '28+40=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,48 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[40, 78], Operations: ['32+18=50', '28+50=78'] Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,48 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,48 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,48 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 6, 68, 83 ]
87
[ "17*6=102", "83-68=15", "102-15=87" ]
Current State: 87:[17, 6, 68, 83], Operations: [] Exploring Operation: 17*6=102, Resulting Numbers: [68, 83, 102] Generated Node #2: [68, 83, 102] from Operation: 17*6=102 Current State: 87:[68, 83, 102], Operations: ['17*6=102'] Exploring Operation: 83-68=15, Resulting Numbers: [102, 15] Generated Node #3: [102, 15] from Operation: 83-68=15 Current State: 87:[102, 15], Operations: ['17*6=102', '83-68=15'] Exploring Operation: 102-15=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[17, 6, 68, 83], Operations: [] Exploring Operation: 17+68=85, Resulting Numbers: [6, 83, 85] Generated Node #0,0: 87:[6, 83, 85] Operation: 17+68=85 Exploring Operation: 68/17=4, Resulting Numbers: [6, 83, 4] Generated Node #0,1: 87:[6, 83, 4] Operation: 68/17=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[6, 83, 4], Operations: ['68/17=4'] Exploring Operation: 6+83=89, Resulting Numbers: [4, 89] Generated Node #0,1,0: 87:[4, 89] Operation: 6+83=89 Exploring Operation: 83+4=87, Resulting Numbers: [6, 87] Generated Node #0,1,1: 87:[6, 87] Operation: 83+4=87 Moving to Node #0,1,0 Current State: 87:[4, 89], Operations: ['68/17=4', '6+83=89'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[6, 87], Operations: ['68/17=4', '83+4=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[6, 83, 85], Operations: ['17+68=85'] Exploring Operation: 6+83=89, Resulting Numbers: [85, 89] Generated Node #0,0,0: 87:[85, 89] Operation: 6+83=89 Exploring Operation: 85-83=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 87:[6, 2] Operation: 85-83=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[85, 89], Operations: ['17+68=85', '6+83=89'] Exploring Operation: 85+89=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,87 unequal: No Solution No 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: 87:[6, 2], Operations: ['17+68=85', '85-83=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 24, 44, 95 ]
100
[ "25+24=49", "95-44=51", "49+51=100" ]
Current State: 100:[25, 24, 44, 95], Operations: [] Exploring Operation: 25+24=49, Resulting Numbers: [44, 95, 49] Generated Node #2: [44, 95, 49] from Operation: 25+24=49 Current State: 100:[44, 95, 49], Operations: ['25+24=49'] Exploring Operation: 95-44=51, Resulting Numbers: [49, 51] Generated Node #3: [49, 51] from Operation: 95-44=51 Current State: 100:[49, 51], Operations: ['25+24=49', '95-44=51'] Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[25, 24, 44, 95], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [25, 24, 51] Generated Node #0,0: 100:[25, 24, 51] Operation: 95-44=51 Exploring Operation: 44-24=20, Resulting Numbers: [25, 95, 20] Generated Node #0,1: 100:[25, 95, 20] Operation: 44-24=20 Moving to Node #0,0 Current State: 100:[25, 24, 51], Operations: ['95-44=51'] Exploring Operation: 25-24=1, Resulting Numbers: [51, 1] Generated Node #0,0,0: 100:[51, 1] Operation: 25-24=1 Exploring Operation: 25+24=49, Resulting Numbers: [51, 49] Generated Node #0,0,1: 100:[51, 49] Operation: 25+24=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[51, 1], Operations: ['95-44=51', '25-24=1'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,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:[51, 49], Operations: ['95-44=51', '25+24=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[25, 24, 44, 95], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [25, 24, 51] Generated Node #0,0: 100:[25, 24, 51] Operation: 95-44=51 Moving to Node #0,0 Current State: 100:[25, 24, 51], Operations: ['95-44=51'] Exploring Operation: 25+24=49, Resulting Numbers: [51, 49] Generated Node #0,0,1: 100:[51, 49] Operation: 25+24=49 Moving to Node #0,0,1 Current State: 100:[51, 49], Operations: ['95-44=51', '25+24=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 38, 94, 5, 41 ]
79
[ "41-38=3", "5*3=15", "94-15=79" ]
Current State: 79:[38, 94, 5, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [94, 5, 3] Generated Node #2: [94, 5, 3] from Operation: 41-38=3 Current State: 79:[94, 5, 3], Operations: ['41-38=3'] Exploring Operation: 5*3=15, Resulting Numbers: [94, 15] Generated Node #3: [94, 15] from Operation: 5*3=15 Current State: 79:[94, 15], Operations: ['41-38=3', '5*3=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[38, 94, 5, 41], Operations: [] Exploring Operation: 5+41=46, Resulting Numbers: [38, 94, 46] Generated Node #0,0: 79:[38, 94, 46] Operation: 5+41=46 Exploring Operation: 38+41=79, Resulting Numbers: [94, 5, 79] Generated Node #0,1: 79:[94, 5, 79] Operation: 38+41=79 Exploring Operation: 94-5=89, Resulting Numbers: [38, 41, 89] Generated Node #0,2: 79:[38, 41, 89] Operation: 94-5=89 Exploring Operation: 38+5=43, Resulting Numbers: [94, 41, 43] Generated Node #0,3: 79:[94, 41, 43] Operation: 38+5=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[38, 94, 46], Operations: ['5+41=46'] Exploring Operation: 94-38=56, Resulting Numbers: [46, 56] Generated Node #0,0,0: 79:[46, 56] Operation: 94-38=56 Exploring Operation: 38+46=84, Resulting Numbers: [94, 84] Generated Node #0,0,1: 79:[94, 84] Operation: 38+46=84 Exploring Operation: 38+94=132, Resulting Numbers: [46, 132] Generated Node #0,0,2: 79:[46, 132] Operation: 38+94=132 Exploring Operation: 94-46=48, Resulting Numbers: [38, 48] Generated Node #0,0,3: 79:[38, 48] Operation: 94-46=48 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[94, 84], Operations: ['5+41=46', '38+46=84'] Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 94+84=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 94*84=7896, Resulting Numbers: [7896] 7896,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,0 Current State: 79:[46, 56], Operations: ['5+41=46', '94-38=56'] Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,79 unequal: No Solution Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,79 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,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:[38, 48], Operations: ['5+41=46', '94-46=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,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:[46, 132], Operations: ['5+41=46', '38+94=132'] Exploring Operation: 46*132=6072, Resulting Numbers: [6072] 6072,79 unequal: No Solution Exploring Operation: 46+132=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 132-46=86, Resulting Numbers: [86] 86,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,1 Current State: 79:[94, 5, 79], Operations: ['38+41=79'] Exploring Operation: 94-5=89, Resulting Numbers: [79, 89] Generated Node #0,1,0: 79:[79, 89] Operation: 94-5=89 Exploring Operation: 94+5=99, Resulting Numbers: [79, 99] Generated Node #0,1,1: 79:[79, 99] Operation: 94+5=99 Exploring Operation: 5+79=84, Resulting Numbers: [94, 84] Generated Node #0,1,2: 79:[94, 84] Operation: 5+79=84 Exploring Operation: 79-5=74, Resulting Numbers: [94, 74] Generated Node #0,1,3: 79:[94, 74] Operation: 79-5=74 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[79, 89], Operations: ['38+41=79', '94-5=89'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 79*89=7031, Resulting Numbers: [7031] 7031,79 unequal: No Solution Exploring Operation: 79+89=168, Resulting Numbers: [168] 168,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:[79, 99], Operations: ['38+41=79', '94+5=99'] Exploring Operation: 79+99=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 79*99=7821, Resulting Numbers: [7821] 7821,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,2 Current State: 79:[94, 84], Operations: ['38+41=79', '5+79=84'] Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 94*84=7896, Resulting Numbers: [7896] 7896,79 unequal: No Solution Exploring Operation: 94+84=178, Resulting Numbers: [178] 178,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,3 Current State: 79:[94, 74], Operations: ['38+41=79', '79-5=74'] Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 94*74=6956, Resulting Numbers: [6956] 6956,79 unequal: No Solution Exploring Operation: 94+74=168, Resulting Numbers: [168] 168,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,2 Current State: 79:[38, 41, 89], Operations: ['94-5=89'] Exploring Operation: 89-38=51, Resulting Numbers: [41, 51] Generated Node #0,2,0: 79:[41, 51] Operation: 89-38=51 Exploring Operation: 38+41=79, Resulting Numbers: [89, 79] Generated Node #0,2,1: 79:[89, 79] Operation: 38+41=79 Exploring Operation: 41-38=3, Resulting Numbers: [89, 3] Generated Node #0,2,2: 79:[89, 3] Operation: 41-38=3 Exploring Operation: 89-41=48, Resulting Numbers: [38, 48] Generated Node #0,2,3: 79:[38, 48] Operation: 89-41=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[89, 79], Operations: ['94-5=89', '38+41=79'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 89*79=7031, Resulting Numbers: [7031] 7031,79 unequal: No Solution Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,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,2,0 Current State: 79:[41, 51], Operations: ['94-5=89', '89-38=51'] Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,79 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,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,2,3 Current State: 79:[38, 48], Operations: ['94-5=89', '89-41=48'] Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,79 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,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,2,2 Current State: 79:[89, 3], Operations: ['94-5=89', '41-38=3'] Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,79 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,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:[94, 41, 43], Operations: ['38+5=43'] Exploring Operation: 94-43=51, Resulting Numbers: [41, 51] Generated Node #0,3,0: 79:[41, 51] Operation: 94-43=51 Exploring Operation: 94+41=135, Resulting Numbers: [43, 135] Generated Node #0,3,1: 79:[43, 135] Operation: 94+41=135 Exploring Operation: 94-41=53, Resulting Numbers: [43, 53] Generated Node #0,3,2: 79:[43, 53] Operation: 94-41=53 Exploring Operation: 41+43=84, Resulting Numbers: [94, 84] Generated Node #0,3,3: 79:[94, 84] Operation: 41+43=84 Moving to Node #0,3,3 Current State: 79:[94, 84], Operations: ['38+5=43', '41+43=84'] Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 94+84=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 94*84=7896, Resulting Numbers: [7896] 7896,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[43, 53], Operations: ['38+5=43', '94-41=53'] Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,79 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[41, 51], Operations: ['38+5=43', '94-43=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[43, 135], Operations: ['38+5=43', '94+41=135'] Exploring Operation: 135-43=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 43+135=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 43*135=5805, Resulting Numbers: [5805] 5805,79 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
[ 84, 31, 73, 15 ]
35
[ "84-31=53", "73+15=88", "88-53=35" ]
Current State: 35:[84, 31, 73, 15], Operations: [] Exploring Operation: 84-31=53, Resulting Numbers: [73, 15, 53] Generated Node #2: [73, 15, 53] from Operation: 84-31=53 Current State: 35:[73, 15, 53], Operations: ['84-31=53'] Exploring Operation: 73+15=88, Resulting Numbers: [53, 88] Generated Node #3: [53, 88] from Operation: 73+15=88 Current State: 35:[53, 88], Operations: ['84-31=53', '73+15=88'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[84, 31, 73, 15], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [31, 15, 11] Generated Node #0,0: 35:[31, 15, 11] Operation: 84-73=11 Exploring Operation: 84-31=53, Resulting Numbers: [73, 15, 53] Generated Node #0,1: 35:[73, 15, 53] Operation: 84-31=53 Exploring Operation: 73-15=58, Resulting Numbers: [84, 31, 58] Generated Node #0,2: 35:[84, 31, 58] Operation: 73-15=58 Exploring Operation: 73-31=42, Resulting Numbers: [84, 15, 42] Generated Node #0,3: 35:[84, 15, 42] Operation: 73-31=42 Exploring Operation: 84-15=69, Resulting Numbers: [31, 73, 69] Generated Node #0,4: 35:[31, 73, 69] Operation: 84-15=69 Moving to Node #0,0 Current State: 35:[31, 15, 11], Operations: ['84-73=11'] Exploring Operation: 15+11=26, Resulting Numbers: [31, 26] Generated Node #0,0,0: 35:[31, 26] Operation: 15+11=26 Exploring Operation: 31-15=16, Resulting Numbers: [11, 16] Generated Node #0,0,1: 35:[11, 16] Operation: 31-15=16 Exploring Operation: 31+11=42, Resulting Numbers: [15, 42] Generated Node #0,0,2: 35:[15, 42] Operation: 31+11=42 Exploring Operation: 31+15=46, Resulting Numbers: [11, 46] Generated Node #0,0,3: 35:[11, 46] Operation: 31+15=46 Exploring Operation: 15-11=4, Resulting Numbers: [31, 4] Generated Node #0,0,4: 35:[31, 4] Operation: 15-11=4 Moving to Node #0,3 Current State: 35:[84, 15, 42], Operations: ['73-31=42'] Exploring Operation: 84-15=69, Resulting Numbers: [42, 69] Generated Node #0,3,0: 35:[42, 69] Operation: 84-15=69 Exploring Operation: 84/42=2, Resulting Numbers: [15, 2] Generated Node #0,3,1: 35:[15, 2] Operation: 84/42=2 Exploring Operation: 42-15=27, Resulting Numbers: [84, 27] Generated Node #0,3,2: 35:[84, 27] Operation: 42-15=27 Exploring Operation: 84+15=99, Resulting Numbers: [42, 99] Generated Node #0,3,3: 35:[42, 99] Operation: 84+15=99 Exploring Operation: 84-42=42, Resulting Numbers: [15, 42] Generated Node #0,3,4: 35:[15, 42] Operation: 84-42=42 Moving to Node #0,1 Current State: 35:[73, 15, 53], Operations: ['84-31=53'] Exploring Operation: 73-53=20, Resulting Numbers: [15, 20] Generated Node #0,1,0: 35:[15, 20] Operation: 73-53=20 Exploring Operation: 15+53=68, Resulting Numbers: [73, 68] Generated Node #0,1,1: 35:[73, 68] Operation: 15+53=68 Exploring Operation: 73+15=88, Resulting Numbers: [53, 88] Generated Node #0,1,2: 35:[53, 88] Operation: 73+15=88 Exploring Operation: 53-15=38, Resulting Numbers: [73, 38] Generated Node #0,1,3: 35:[73, 38] Operation: 53-15=38 Exploring Operation: 73-15=58, Resulting Numbers: [53, 58] Generated Node #0,1,4: 35:[53, 58] Operation: 73-15=58 Moving to Node #0,2 Current State: 35:[84, 31, 58], Operations: ['73-15=58'] Exploring Operation: 58-31=27, Resulting Numbers: [84, 27] Generated Node #0,2,0: 35:[84, 27] Operation: 58-31=27 Exploring Operation: 31+58=89, Resulting Numbers: [84, 89] Generated Node #0,2,1: 35:[84, 89] Operation: 31+58=89 Exploring Operation: 84-31=53, Resulting Numbers: [58, 53] Generated Node #0,2,2: 35:[58, 53] Operation: 84-31=53 Exploring Operation: 84+31=115, Resulting Numbers: [58, 115] Generated Node #0,2,3: 35:[58, 115] Operation: 84+31=115 Exploring Operation: 84-58=26, Resulting Numbers: [31, 26] Generated Node #0,2,4: 35:[31, 26] Operation: 84-58=26 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 35:[31, 26], Operations: ['73-15=58', '84-58=26'] Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,35 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[58, 53], Operations: ['73-15=58', '84-31=53'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,35 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[84, 27], Operations: ['73-15=58', '58-31=27'] Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,35 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[84, 89], Operations: ['73-15=58', '31+58=89'] Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,35 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[58, 115], Operations: ['73-15=58', '84+31=115'] Exploring Operation: 58*115=6670, Resulting Numbers: [6670] 6670,35 unequal: No Solution Exploring Operation: 58+115=173, Resulting Numbers: [173] 173,35 unequal: No Solution Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,35 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: 35:[31, 73, 69], Operations: ['84-15=69'] Exploring Operation: 73-31=42, Resulting Numbers: [69, 42] Generated Node #0,4,0: 35:[69, 42] Operation: 73-31=42 Exploring Operation: 31+69=100, Resulting Numbers: [73, 100] Generated Node #0,4,1: 35:[73, 100] Operation: 31+69=100 Exploring Operation: 31+73=104, Resulting Numbers: [69, 104] Generated Node #0,4,2: 35:[69, 104] Operation: 31+73=104 Exploring Operation: 69-31=38, Resulting Numbers: [73, 38] Generated Node #0,4,3: 35:[73, 38] Operation: 69-31=38 Exploring Operation: 73-69=4, Resulting Numbers: [31, 4] Generated Node #0,4,4: 35:[31, 4] Operation: 73-69=4 Moving to Node #0,0,4 Current State: 35:[31, 4], Operations: ['84-73=11', '15-11=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[84, 31, 73, 15], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [31, 15, 11] Generated Node #0,0: 35:[31, 15, 11] Operation: 84-73=11 Moving to Node #0,0 Current State: 35:[31, 15, 11], Operations: ['84-73=11'] Exploring Operation: 15-11=4, Resulting Numbers: [31, 4] Generated Node #0,0,4: 35:[31, 4] Operation: 15-11=4 Moving to Node #0,0,4 Current State: 35:[31, 4], Operations: ['84-73=11', '15-11=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 95, 25, 8, 10 ]
45
[ "10-8=2", "25*2=50", "95-50=45" ]
Current State: 45:[95, 25, 8, 10], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [95, 25, 2] Generated Node #2: [95, 25, 2] from Operation: 10-8=2 Current State: 45:[95, 25, 2], Operations: ['10-8=2'] Exploring Operation: 25*2=50, Resulting Numbers: [95, 50] Generated Node #3: [95, 50] from Operation: 25*2=50 Current State: 45:[95, 50], Operations: ['10-8=2', '25*2=50'] Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[95, 25, 8, 10], Operations: [] Exploring Operation: 25-10=15, Resulting Numbers: [95, 8, 15] Generated Node #0,0: 45:[95, 8, 15] Operation: 25-10=15 Exploring Operation: 95-25=70, Resulting Numbers: [8, 10, 70] Generated Node #0,1: 45:[8, 10, 70] Operation: 95-25=70 Exploring Operation: 95-8=87, Resulting Numbers: [25, 10, 87] Generated Node #0,2: 45:[25, 10, 87] Operation: 95-8=87 Exploring Operation: 25-8=17, Resulting Numbers: [95, 10, 17] Generated Node #0,3: 45:[95, 10, 17] Operation: 25-8=17 Exploring Operation: 95-10=85, Resulting Numbers: [25, 8, 85] Generated Node #0,4: 45:[25, 8, 85] Operation: 95-10=85 Moving to Node #0,1 Current State: 45:[8, 10, 70], Operations: ['95-25=70'] Exploring Operation: 8+10=18, Resulting Numbers: [70, 18] Generated Node #0,1,0: 45:[70, 18] Operation: 8+10=18 Exploring Operation: 70/10=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 45:[8, 7] Operation: 70/10=7 Exploring Operation: 10-8=2, Resulting Numbers: [70, 2] Generated Node #0,1,2: 45:[70, 2] Operation: 10-8=2 Exploring Operation: 70-10=60, Resulting Numbers: [8, 60] Generated Node #0,1,3: 45:[8, 60] Operation: 70-10=60 Exploring Operation: 70-8=62, Resulting Numbers: [10, 62] Generated Node #0,1,4: 45:[10, 62] Operation: 70-8=62 Moving to Node #0,4 Current State: 45:[25, 8, 85], Operations: ['95-10=85'] Exploring Operation: 8+85=93, Resulting Numbers: [25, 93] Generated Node #0,4,0: 45:[25, 93] Operation: 8+85=93 Exploring Operation: 85-8=77, Resulting Numbers: [25, 77] Generated Node #0,4,1: 45:[25, 77] Operation: 85-8=77 Exploring Operation: 25-8=17, Resulting Numbers: [85, 17] Generated Node #0,4,2: 45:[85, 17] Operation: 25-8=17 Exploring Operation: 25+8=33, Resulting Numbers: [85, 33] Generated Node #0,4,3: 45:[85, 33] Operation: 25+8=33 Exploring Operation: 85-25=60, Resulting Numbers: [8, 60] Generated Node #0,4,4: 45:[8, 60] Operation: 85-25=60 Moving to Node #0,0 Current State: 45:[95, 8, 15], Operations: ['25-10=15'] Exploring Operation: 95-15=80, Resulting Numbers: [8, 80] Generated Node #0,0,0: 45:[8, 80] Operation: 95-15=80 Exploring Operation: 95-8=87, Resulting Numbers: [15, 87] Generated Node #0,0,1: 45:[15, 87] Operation: 95-8=87 Exploring Operation: 8+15=23, Resulting Numbers: [95, 23] Generated Node #0,0,2: 45:[95, 23] Operation: 8+15=23 Exploring Operation: 95+8=103, Resulting Numbers: [15, 103] Generated Node #0,0,3: 45:[15, 103] Operation: 95+8=103 Exploring Operation: 15-8=7, Resulting Numbers: [95, 7] Generated Node #0,0,4: 45:[95, 7] Operation: 15-8=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[8, 80], Operations: ['25-10=15', '95-15=80'] Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,45 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,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,1 Current State: 45:[15, 87], Operations: ['25-10=15', '95-8=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,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,4 Current State: 45:[95, 7], Operations: ['25-10=15', '15-8=7'] Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,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,2 Current State: 45:[95, 23], Operations: ['25-10=15', '8+15=23'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 95*23=2185, Resulting Numbers: [2185] 2185,45 unequal: No Solution Exploring Operation: 95+23=118, Resulting Numbers: [118] 118,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,3 Current State: 45:[15, 103], Operations: ['25-10=15', '95+8=103'] Exploring Operation: 15*103=1545, Resulting Numbers: [1545] 1545,45 unequal: No Solution Exploring Operation: 103-15=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 15+103=118, Resulting Numbers: [118] 118,45 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: 45:[25, 10, 87], Operations: ['95-8=87'] Exploring Operation: 10+87=97, Resulting Numbers: [25, 97] Generated Node #0,2,0: 45:[25, 97] Operation: 10+87=97 Exploring Operation: 25+10=35, Resulting Numbers: [87, 35] Generated Node #0,2,1: 45:[87, 35] Operation: 25+10=35 Exploring Operation: 25-10=15, Resulting Numbers: [87, 15] Generated Node #0,2,2: 45:[87, 15] Operation: 25-10=15 Exploring Operation: 87-25=62, Resulting Numbers: [10, 62] Generated Node #0,2,3: 45:[10, 62] Operation: 87-25=62 Exploring Operation: 87-10=77, Resulting Numbers: [25, 77] Generated Node #0,2,4: 45:[25, 77] Operation: 87-10=77 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[10, 62], Operations: ['95-8=87', '87-25=62'] Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,45 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[87, 15], Operations: ['95-8=87', '25-10=15'] Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[25, 77], Operations: ['95-8=87', '87-10=77'] Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,45 unequal: No Solution Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[87, 35], Operations: ['95-8=87', '25+10=35'] Exploring Operation: 87*35=3045, Resulting Numbers: [3045] 3045,45 unequal: No Solution Exploring Operation: 87+35=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[25, 97], Operations: ['95-8=87', '10+87=97'] Exploring Operation: 25*97=2425, Resulting Numbers: [2425] 2425,45 unequal: No Solution Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 25+97=122, Resulting Numbers: [122] 122,45 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: 45:[95, 10, 17], Operations: ['25-8=17'] Exploring Operation: 10+17=27, Resulting Numbers: [95, 27] Generated Node #0,3,0: 45:[95, 27] Operation: 10+17=27 Exploring Operation: 17-10=7, Resulting Numbers: [95, 7] Generated Node #0,3,1: 45:[95, 7] Operation: 17-10=7 Exploring Operation: 95-17=78, Resulting Numbers: [10, 78] Generated Node #0,3,2: 45:[10, 78] Operation: 95-17=78 Exploring Operation: 95-10=85, Resulting Numbers: [17, 85] Generated Node #0,3,3: 45:[17, 85] Operation: 95-10=85 Exploring Operation: 95+10=105, Resulting Numbers: [17, 105] Generated Node #0,3,4: 45:[17, 105] Operation: 95+10=105 Moving to Node #0,1,1 Current State: 45:[8, 7], Operations: ['95-25=70', '70/10=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[8, 60], Operations: ['95-10=85', '85-25=60'] Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,45 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[8, 60], Operations: ['95-25=70', '70-10=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[10, 62], Operations: ['95-25=70', '70-8=62'] Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,45 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[70, 2], Operations: ['95-25=70', '10-8=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[70, 18], Operations: ['95-25=70', '8+10=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,45 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[10, 78], Operations: ['25-8=17', '95-17=78'] Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[25, 77], Operations: ['95-10=85', '85-8=77'] Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,45 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[17, 85], Operations: ['25-8=17', '95-10=85'] Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 17*85=1445, Resulting Numbers: [1445] 1445,45 unequal: No Solution Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[85, 17], Operations: ['95-10=85', '25-8=17'] Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 85+17=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 85*17=1445, Resulting Numbers: [1445] 1445,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[95, 7], Operations: ['25-8=17', '17-10=7'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,45 unequal: No Solution Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[85, 33], Operations: ['95-10=85', '25+8=33'] Exploring Operation: 85+33=118, Resulting Numbers: [118] 118,45 unequal: No Solution Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,45 unequal: No Solution Exploring Operation: 85*33=2805, Resulting Numbers: [2805] 2805,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[25, 93], Operations: ['95-10=85', '8+85=93'] Exploring Operation: 25*93=2325, Resulting Numbers: [2325] 2325,45 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 25+93=118, Resulting Numbers: [118] 118,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[95, 27], Operations: ['25-8=17', '10+17=27'] Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,45 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[17, 105], Operations: ['25-8=17', '95+10=105'] Exploring Operation: 17*105=1785, Resulting Numbers: [1785] 1785,45 unequal: No Solution Exploring Operation: 17+105=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 105-17=88, Resulting Numbers: [88] 88,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 53, 18, 51, 72 ]
63
[ "53-51=2", "18/2=9", "72-9=63" ]
Current State: 63:[53, 18, 51, 72], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [18, 72, 2] Generated Node #2: [18, 72, 2] from Operation: 53-51=2 Current State: 63:[18, 72, 2], Operations: ['53-51=2'] Exploring Operation: 18/2=9, Resulting Numbers: [72, 9] Generated Node #3: [72, 9] from Operation: 18/2=9 Current State: 63:[72, 9], Operations: ['53-51=2', '18/2=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[53, 18, 51, 72], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [18, 72, 2] Generated Node #0,0: 63:[18, 72, 2] Operation: 53-51=2 Exploring Operation: 72-51=21, Resulting Numbers: [53, 18, 21] Generated Node #0,1: 63:[53, 18, 21] Operation: 72-51=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[18, 72, 2], Operations: ['53-51=2'] Exploring Operation: 72/18=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 63:[2, 4] Operation: 72/18=4 Exploring Operation: 18/2=9, Resulting Numbers: [72, 9] Generated Node #0,0,1: 63:[72, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[2, 4], Operations: ['53-51=2', '72/18=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,63 unequal: No Solution No 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: 63:[72, 9], Operations: ['53-51=2', '18/2=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[53, 18, 51, 72], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [18, 72, 2] Generated Node #0,0: 63:[18, 72, 2] Operation: 53-51=2 Moving to Node #0,0 Current State: 63:[18, 72, 2], Operations: ['53-51=2'] Exploring Operation: 18/2=9, Resulting Numbers: [72, 9] Generated Node #0,0,1: 63:[72, 9] Operation: 18/2=9 Moving to Node #0,0,1 Current State: 63:[72, 9], Operations: ['53-51=2', '18/2=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 3, 6, 51, 71 ]
63
[ "51-3=48", "48/6=8", "71-8=63" ]
Current State: 63:[3, 6, 51, 71], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [6, 71, 48] Generated Node #2: [6, 71, 48] from Operation: 51-3=48 Current State: 63:[6, 71, 48], Operations: ['51-3=48'] Exploring Operation: 48/6=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 48/6=8 Current State: 63:[71, 8], Operations: ['51-3=48', '48/6=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[3, 6, 51, 71], Operations: [] Exploring Operation: 6+51=57, Resulting Numbers: [3, 71, 57] Generated Node #0,0: 63:[3, 71, 57] Operation: 6+51=57 Exploring Operation: 71-51=20, Resulting Numbers: [3, 6, 20] Generated Node #0,1: 63:[3, 6, 20] Operation: 71-51=20 Exploring Operation: 51/3=17, Resulting Numbers: [6, 71, 17] Generated Node #0,2: 63:[6, 71, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[3, 6, 20], Operations: ['71-51=20'] Exploring Operation: 3+6=9, Resulting Numbers: [20, 9] Generated Node #0,1,0: 63:[20, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 63:[20, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [20, 2] Generated Node #0,1,2: 63:[20, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[20, 9], Operations: ['71-51=20', '3+6=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,63 unequal: No Solution No 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: 63:[20, 3], Operations: ['71-51=20', '6-3=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,63 unequal: No Solution No 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: 63:[20, 2], Operations: ['71-51=20', '6/3=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[6, 71, 17], Operations: ['51/3=17'] Exploring Operation: 6+17=23, Resulting Numbers: [71, 23] Generated Node #0,2,0: 63:[71, 23] Operation: 6+17=23 Exploring Operation: 71-6=65, Resulting Numbers: [17, 65] Generated Node #0,2,1: 63:[17, 65] Operation: 71-6=65 Exploring Operation: 17-6=11, Resulting Numbers: [71, 11] Generated Node #0,2,2: 63:[71, 11] Operation: 17-6=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[17, 65], Operations: ['51/3=17', '71-6=65'] Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 17*65=1105, Resulting Numbers: [1105] 1105,63 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,63 unequal: No Solution No 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: 63:[71, 23], Operations: ['51/3=17', '6+17=23'] Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,63 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,63 unequal: No Solution No 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: 63:[71, 11], Operations: ['51/3=17', '17-6=11'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[3, 71, 57], Operations: ['6+51=57'] Exploring Operation: 71-57=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 63:[3, 14] Operation: 71-57=14 Exploring Operation: 57/3=19, Resulting Numbers: [71, 19] Generated Node #0,0,1: 63:[71, 19] Operation: 57/3=19 Exploring Operation: 71-3=68, Resulting Numbers: [57, 68] Generated Node #0,0,2: 63:[57, 68] Operation: 71-3=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[3, 14], Operations: ['6+51=57', '71-57=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,63 unequal: No Solution No 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: 63:[71, 19], Operations: ['6+51=57', '57/3=19'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,63 unequal: No Solution Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,63 unequal: No Solution No 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: 63:[57, 68], Operations: ['6+51=57', '71-3=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,63 unequal: No Solution Exploring Operation: 57*68=3876, Resulting Numbers: [3876] 3876,63 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 14, 10, 55 ]
19
[ "32+14=46", "10+55=65", "65-46=19" ]
Current State: 19:[32, 14, 10, 55], Operations: [] Exploring Operation: 32+14=46, Resulting Numbers: [10, 55, 46] Generated Node #2: [10, 55, 46] from Operation: 32+14=46 Current State: 19:[10, 55, 46], Operations: ['32+14=46'] Exploring Operation: 10+55=65, Resulting Numbers: [46, 65] Generated Node #3: [46, 65] from Operation: 10+55=65 Current State: 19:[46, 65], Operations: ['32+14=46', '10+55=65'] Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[32, 14, 10, 55], Operations: [] Exploring Operation: 55-32=23, Resulting Numbers: [14, 10, 23] Generated Node #0,0: 19:[14, 10, 23] Operation: 55-32=23 Exploring Operation: 32-10=22, Resulting Numbers: [14, 55, 22] Generated Node #0,1: 19:[14, 55, 22] Operation: 32-10=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[14, 10, 23], Operations: ['55-32=23'] Exploring Operation: 23-10=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 19:[14, 13] Operation: 23-10=13 Exploring Operation: 14+10=24, Resulting Numbers: [23, 24] Generated Node #0,0,1: 19:[23, 24] Operation: 14+10=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[23, 24], Operations: ['55-32=23', '14+10=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,19 unequal: No Solution No 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: 19:[14, 13], Operations: ['55-32=23', '23-10=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,19 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: 19:[14, 55, 22], Operations: ['32-10=22'] Exploring Operation: 55-22=33, Resulting Numbers: [14, 33] Generated Node #0,1,0: 19:[14, 33] Operation: 55-22=33 Exploring Operation: 55-14=41, Resulting Numbers: [22, 41] Generated Node #0,1,1: 19:[22, 41] Operation: 55-14=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[14, 33], Operations: ['32-10=22', '55-22=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[32, 14, 10, 55], Operations: [] Exploring Operation: 32-10=22, Resulting Numbers: [14, 55, 22] Generated Node #0,1: 19:[14, 55, 22] Operation: 32-10=22 Moving to Node #0,1 Current State: 19:[14, 55, 22], Operations: ['32-10=22'] Exploring Operation: 55-22=33, Resulting Numbers: [14, 33] Generated Node #0,1,0: 19:[14, 33] Operation: 55-22=33 Moving to Node #0,1,0 Current State: 19:[14, 33], Operations: ['32-10=22', '55-22=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 89, 97, 58, 2 ]
64
[ "89+97=186", "186-58=128", "128/2=64" ]
Current State: 64:[89, 97, 58, 2], Operations: [] Exploring Operation: 89+97=186, Resulting Numbers: [58, 2, 186] Generated Node #2: [58, 2, 186] from Operation: 89+97=186 Current State: 64:[58, 2, 186], Operations: ['89+97=186'] Exploring Operation: 186-58=128, Resulting Numbers: [2, 128] Generated Node #3: [2, 128] from Operation: 186-58=128 Current State: 64:[2, 128], Operations: ['89+97=186', '186-58=128'] Exploring Operation: 128/2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[89, 97, 58, 2], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [58, 2, 8] Generated Node #0,0: 64:[58, 2, 8] Operation: 97-89=8 Exploring Operation: 97-58=39, Resulting Numbers: [89, 2, 39] Generated Node #0,1: 64:[89, 2, 39] Operation: 97-58=39 Exploring Operation: 89-58=31, Resulting Numbers: [97, 2, 31] Generated Node #0,2: 64:[97, 2, 31] Operation: 89-58=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[58, 2, 8], Operations: ['97-89=8'] Exploring Operation: 58+2=60, Resulting Numbers: [8, 60] Generated Node #0,0,0: 64:[8, 60] Operation: 58+2=60 Exploring Operation: 58/2=29, Resulting Numbers: [8, 29] Generated Node #0,0,1: 64:[8, 29] Operation: 58/2=29 Exploring Operation: 58+8=66, Resulting Numbers: [2, 66] Generated Node #0,0,2: 64:[2, 66] Operation: 58+8=66 Moving to Node #0,0,2 Current State: 64:[2, 66], Operations: ['97-89=8', '58+8=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[89, 97, 58, 2], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [58, 2, 8] Generated Node #0,0: 64:[58, 2, 8] Operation: 97-89=8 Moving to Node #0,0 Current State: 64:[58, 2, 8], Operations: ['97-89=8'] Exploring Operation: 58+8=66, Resulting Numbers: [2, 66] Generated Node #0,0,2: 64:[2, 66] Operation: 58+8=66 Moving to Node #0,0,2 Current State: 64:[2, 66], Operations: ['97-89=8', '58+8=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 80, 73, 38, 30 ]
83
[ "38-30=8", "80/8=10", "73+10=83" ]
Current State: 83:[80, 73, 38, 30], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [80, 73, 8] Generated Node #2: [80, 73, 8] from Operation: 38-30=8 Current State: 83:[80, 73, 8], Operations: ['38-30=8'] Exploring Operation: 80/8=10, Resulting Numbers: [73, 10] Generated Node #3: [73, 10] from Operation: 80/8=10 Current State: 83:[73, 10], Operations: ['38-30=8', '80/8=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[80, 73, 38, 30], Operations: [] Exploring Operation: 73+38=111, Resulting Numbers: [80, 30, 111] Generated Node #0,0: 83:[80, 30, 111] Operation: 73+38=111 Exploring Operation: 80+30=110, Resulting Numbers: [73, 38, 110] Generated Node #0,1: 83:[73, 38, 110] Operation: 80+30=110 Exploring Operation: 38+30=68, Resulting Numbers: [80, 73, 68] Generated Node #0,2: 83:[80, 73, 68] Operation: 38+30=68 Exploring Operation: 73+30=103, Resulting Numbers: [80, 38, 103] Generated Node #0,3: 83:[80, 38, 103] Operation: 73+30=103 Moving to Node #0,2 Current State: 83:[80, 73, 68], Operations: ['38+30=68'] Exploring Operation: 80-68=12, Resulting Numbers: [73, 12] Generated Node #0,2,0: 83:[73, 12] Operation: 80-68=12 Exploring Operation: 73+68=141, Resulting Numbers: [80, 141] Generated Node #0,2,1: 83:[80, 141] Operation: 73+68=141 Exploring Operation: 73-68=5, Resulting Numbers: [80, 5] Generated Node #0,2,2: 83:[80, 5] Operation: 73-68=5 Exploring Operation: 80+68=148, Resulting Numbers: [73, 148] Generated Node #0,2,3: 83:[73, 148] Operation: 80+68=148 Moving to Node #0,3 Current State: 83:[80, 38, 103], Operations: ['73+30=103'] Exploring Operation: 103-38=65, Resulting Numbers: [80, 65] Generated Node #0,3,0: 83:[80, 65] Operation: 103-38=65 Exploring Operation: 80-38=42, Resulting Numbers: [103, 42] Generated Node #0,3,1: 83:[103, 42] Operation: 80-38=42 Exploring Operation: 38+103=141, Resulting Numbers: [80, 141] Generated Node #0,3,2: 83:[80, 141] Operation: 38+103=141 Exploring Operation: 80+38=118, Resulting Numbers: [103, 118] Generated Node #0,3,3: 83:[103, 118] Operation: 80+38=118 Moving to Node #0,1 Current State: 83:[73, 38, 110], Operations: ['80+30=110'] Exploring Operation: 73+38=111, Resulting Numbers: [110, 111] Generated Node #0,1,0: 83:[110, 111] Operation: 73+38=111 Exploring Operation: 38+110=148, Resulting Numbers: [73, 148] Generated Node #0,1,1: 83:[73, 148] Operation: 38+110=148 Exploring Operation: 73-38=35, Resulting Numbers: [110, 35] Generated Node #0,1,2: 83:[110, 35] Operation: 73-38=35 Exploring Operation: 110-38=72, Resulting Numbers: [73, 72] Generated Node #0,1,3: 83:[73, 72] Operation: 110-38=72 Moving to Node #0,0 Current State: 83:[80, 30, 111], Operations: ['73+38=111'] Exploring Operation: 30+111=141, Resulting Numbers: [80, 141] Generated Node #0,0,0: 83:[80, 141] Operation: 30+111=141 Exploring Operation: 80+30=110, Resulting Numbers: [111, 110] Generated Node #0,0,1: 83:[111, 110] Operation: 80+30=110 Exploring Operation: 111-30=81, Resulting Numbers: [80, 81] Generated Node #0,0,2: 83:[80, 81] Operation: 111-30=81 Exploring Operation: 80-30=50, Resulting Numbers: [111, 50] Generated Node #0,0,3: 83:[111, 50] Operation: 80-30=50 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[80, 81], Operations: ['73+38=111', '111-30=81'] Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,83 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,83 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[111, 110], Operations: ['73+38=111', '80+30=110'] Exploring Operation: 111*110=12210, Resulting Numbers: [12210] 12210,83 unequal: No Solution Exploring Operation: 111-110=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 111+110=221, Resulting Numbers: [221] 221,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[80, 141], Operations: ['73+38=111', '30+111=141'] Exploring Operation: 141-80=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 80*141=11280, Resulting Numbers: [11280] 11280,83 unequal: No Solution Exploring Operation: 80+141=221, Resulting Numbers: [221] 221,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[111, 50], Operations: ['73+38=111', '80-30=50'] Exploring Operation: 111+50=161, Resulting Numbers: [161] 161,83 unequal: No Solution Exploring Operation: 111-50=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 111*50=5550, Resulting Numbers: [5550] 5550,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 83:[80, 65], Operations: ['73+30=103', '103-38=65'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[73, 72], Operations: ['80+30=110', '110-38=72'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,83 unequal: No Solution Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[103, 118], Operations: ['73+30=103', '80+38=118'] Exploring Operation: 103*118=12154, Resulting Numbers: [12154] 12154,83 unequal: No Solution Exploring Operation: 103+118=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 118-103=15, Resulting Numbers: [15] 15,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[110, 111], Operations: ['80+30=110', '73+38=111'] Exploring Operation: 111-110=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 110*111=12210, Resulting Numbers: [12210] 12210,83 unequal: No Solution Exploring Operation: 110+111=221, Resulting Numbers: [221] 221,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[103, 42], Operations: ['73+30=103', '80-38=42'] Exploring Operation: 103-42=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 103+42=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 103*42=4326, Resulting Numbers: [4326] 4326,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[80, 141], Operations: ['38+30=68', '73+68=141'] Exploring Operation: 141-80=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 80+141=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 80*141=11280, Resulting Numbers: [11280] 11280,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[80, 141], Operations: ['73+30=103', '38+103=141'] Exploring Operation: 80*141=11280, Resulting Numbers: [11280] 11280,83 unequal: No Solution Exploring Operation: 141-80=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 80+141=221, Resulting Numbers: [221] 221,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[110, 35], Operations: ['80+30=110', '73-38=35'] Exploring Operation: 110+35=145, Resulting Numbers: [145] 145,83 unequal: No Solution Exploring Operation: 110-35=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 110*35=3850, Resulting Numbers: [3850] 3850,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[73, 148], Operations: ['38+30=68', '80+68=148'] Exploring Operation: 73*148=10804, Resulting Numbers: [10804] 10804,83 unequal: No Solution Exploring Operation: 148-73=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 73+148=221, Resulting Numbers: [221] 221,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[73, 148], Operations: ['80+30=110', '38+110=148'] Exploring Operation: 73*148=10804, Resulting Numbers: [10804] 10804,83 unequal: No Solution Exploring Operation: 73+148=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 148-73=75, Resulting Numbers: [75] 75,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[80, 5], Operations: ['38+30=68', '73-68=5'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,83 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[73, 12], Operations: ['38+30=68', '80-68=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,83 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 88, 46, 15 ]
46
[ "88-88=0", "15*0=0", "46+0=46" ]
Current State: 46:[88, 88, 46, 15], Operations: [] Exploring Operation: 88-88=0, Resulting Numbers: [46, 15, 0] Generated Node #2: [46, 15, 0] from Operation: 88-88=0 Current State: 46:[46, 15, 0], Operations: ['88-88=0'] Exploring Operation: 15*0=0, Resulting Numbers: [46, 0] Generated Node #3: [46, 0] from Operation: 15*0=0 Current State: 46:[46, 0], Operations: ['88-88=0', '15*0=0'] Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[88, 88, 46, 15], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [46, 15, 1] Generated Node #0,0: 46:[46, 15, 1] Operation: 88/88=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[46, 15, 1], Operations: ['88/88=1'] Exploring Operation: 15+1=16, Resulting Numbers: [46, 16] Generated Node #0,0,0: 46:[46, 16] Operation: 15+1=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[46, 16], Operations: ['88/88=1', '15+1=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,46 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
[ 64, 27, 62, 96 ]
67
[ "64+27=91", "62+96=158", "158-91=67" ]
Current State: 67:[64, 27, 62, 96], Operations: [] Exploring Operation: 64+27=91, Resulting Numbers: [62, 96, 91] Generated Node #2: [62, 96, 91] from Operation: 64+27=91 Current State: 67:[62, 96, 91], Operations: ['64+27=91'] Exploring Operation: 62+96=158, Resulting Numbers: [91, 158] Generated Node #3: [91, 158] from Operation: 62+96=158 Current State: 67:[91, 158], Operations: ['64+27=91', '62+96=158'] Exploring Operation: 158-91=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[64, 27, 62, 96], Operations: [] Exploring Operation: 64+27=91, Resulting Numbers: [62, 96, 91] Generated Node #0,0: 67:[62, 96, 91] Operation: 64+27=91 Exploring Operation: 27+62=89, Resulting Numbers: [64, 96, 89] Generated Node #0,1: 67:[64, 96, 89] Operation: 27+62=89 Exploring Operation: 96-27=69, Resulting Numbers: [64, 62, 69] Generated Node #0,2: 67:[64, 62, 69] Operation: 96-27=69 Moving to Node #0,2 Current State: 67:[64, 62, 69], Operations: ['96-27=69'] Exploring Operation: 64-62=2, Resulting Numbers: [69, 2] Generated Node #0,2,0: 67:[69, 2] Operation: 64-62=2 Exploring Operation: 64+62=126, Resulting Numbers: [69, 126] Generated Node #0,2,1: 67:[69, 126] Operation: 64+62=126 Exploring Operation: 69-62=7, Resulting Numbers: [64, 7] Generated Node #0,2,2: 67:[64, 7] Operation: 69-62=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[69, 126], Operations: ['96-27=69', '64+62=126'] Exploring Operation: 69+126=195, Resulting Numbers: [195] 195,67 unequal: No Solution Exploring Operation: 69*126=8694, Resulting Numbers: [8694] 8694,67 unequal: No Solution Exploring Operation: 126-69=57, Resulting Numbers: [57] 57,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[64, 7], Operations: ['96-27=69', '69-62=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,67 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[69, 2], Operations: ['96-27=69', '64-62=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[64, 27, 62, 96], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [64, 62, 69] Generated Node #0,2: 67:[64, 62, 69] Operation: 96-27=69 Moving to Node #0,2 Current State: 67:[64, 62, 69], Operations: ['96-27=69'] Exploring Operation: 64-62=2, Resulting Numbers: [69, 2] Generated Node #0,2,0: 67:[69, 2] Operation: 64-62=2 Moving to Node #0,2,0 Current State: 67:[69, 2], Operations: ['96-27=69', '64-62=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 59, 65, 71, 66 ]
42
[ "66-59=7", "71-65=6", "7*6=42" ]
Current State: 42:[59, 65, 71, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [65, 71, 7] Generated Node #2: [65, 71, 7] from Operation: 66-59=7 Current State: 42:[65, 71, 7], Operations: ['66-59=7'] Exploring Operation: 71-65=6, Resulting Numbers: [7, 6] Generated Node #3: [7, 6] from Operation: 71-65=6 Current State: 42:[7, 6], Operations: ['66-59=7', '71-65=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[59, 65, 71, 66], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [59, 66, 6] Generated Node #0,0: 42:[59, 66, 6] Operation: 71-65=6 Exploring Operation: 71-66=5, Resulting Numbers: [59, 65, 5] Generated Node #0,1: 42:[59, 65, 5] Operation: 71-66=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[59, 66, 6], Operations: ['71-65=6'] Exploring Operation: 66-59=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 42:[6, 7] Operation: 66-59=7 Exploring Operation: 66/6=11, Resulting Numbers: [59, 11] Generated Node #0,0,1: 42:[59, 11] Operation: 66/6=11 Moving to Node #0,0,0 Current State: 42:[6, 7], Operations: ['71-65=6', '66-59=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[59, 65, 71, 66], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [59, 66, 6] Generated Node #0,0: 42:[59, 66, 6] Operation: 71-65=6 Moving to Node #0,0 Current State: 42:[59, 66, 6], Operations: ['71-65=6'] Exploring Operation: 66-59=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 42:[6, 7] Operation: 66-59=7 Moving to Node #0,0,0 Current State: 42:[6, 7], Operations: ['71-65=6', '66-59=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 44, 80, 96, 18 ]
46
[ "44+80=124", "96-18=78", "124-78=46" ]
Current State: 46:[44, 80, 96, 18], Operations: [] Exploring Operation: 44+80=124, Resulting Numbers: [96, 18, 124] Generated Node #2: [96, 18, 124] from Operation: 44+80=124 Current State: 46:[96, 18, 124], Operations: ['44+80=124'] Exploring Operation: 96-18=78, Resulting Numbers: [124, 78] Generated Node #3: [124, 78] from Operation: 96-18=78 Current State: 46:[124, 78], Operations: ['44+80=124', '96-18=78'] Exploring Operation: 124-78=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[44, 80, 96, 18], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [44, 18, 16] Generated Node #0,0: 46:[44, 18, 16] Operation: 96-80=16 Exploring Operation: 80-44=36, Resulting Numbers: [96, 18, 36] Generated Node #0,1: 46:[96, 18, 36] Operation: 80-44=36 Exploring Operation: 96-44=52, Resulting Numbers: [80, 18, 52] Generated Node #0,2: 46:[80, 18, 52] Operation: 96-44=52 Exploring Operation: 80-18=62, Resulting Numbers: [44, 96, 62] Generated Node #0,3: 46:[44, 96, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[44, 18, 16], Operations: ['96-80=16'] Exploring Operation: 44-16=28, Resulting Numbers: [18, 28] Generated Node #0,0,0: 46:[18, 28] Operation: 44-16=28 Exploring Operation: 18+16=34, Resulting Numbers: [44, 34] Generated Node #0,0,1: 46:[44, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 46:[44, 2] Operation: 18-16=2 Exploring Operation: 44-18=26, Resulting Numbers: [16, 26] Generated Node #0,0,3: 46:[16, 26] Operation: 44-18=26 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[44, 2], Operations: ['96-80=16', '18-16=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[44, 80, 96, 18], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [44, 18, 16] Generated Node #0,0: 46:[44, 18, 16] Operation: 96-80=16 Moving to Node #0,0 Current State: 46:[44, 18, 16], Operations: ['96-80=16'] Exploring Operation: 18-16=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 46:[44, 2] Operation: 18-16=2 Moving to Node #0,0,2 Current State: 46:[44, 2], Operations: ['96-80=16', '18-16=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 75, 71, 16, 53 ]
57
[ "75-71=4", "16/4=4", "53+4=57" ]
Current State: 57:[75, 71, 16, 53], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [16, 53, 4] Generated Node #2: [16, 53, 4] from Operation: 75-71=4 Current State: 57:[16, 53, 4], Operations: ['75-71=4'] Exploring Operation: 16/4=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 16/4=4 Current State: 57:[53, 4], Operations: ['75-71=4', '16/4=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[75, 71, 16, 53], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [16, 53, 4] Generated Node #0,0: 57:[16, 53, 4] Operation: 75-71=4 Exploring Operation: 75-16=59, Resulting Numbers: [71, 53, 59] Generated Node #0,1: 57:[71, 53, 59] Operation: 75-16=59 Moving to Node #0,0 Current State: 57:[16, 53, 4], Operations: ['75-71=4'] Exploring Operation: 53+4=57, Resulting Numbers: [16, 57] Generated Node #0,0,0: 57:[16, 57] Operation: 53+4=57 Exploring Operation: 16+4=20, Resulting Numbers: [53, 20] Generated Node #0,0,1: 57:[53, 20] Operation: 16+4=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[16, 57], Operations: ['75-71=4', '53+4=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,57 unequal: No Solution No 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: 57:[53, 20], Operations: ['75-71=4', '16+4=20'] Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,57 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: 57:[71, 53, 59], Operations: ['75-16=59'] Exploring Operation: 71-59=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 57:[53, 12] Operation: 71-59=12 Exploring Operation: 71-53=18, Resulting Numbers: [59, 18] Generated Node #0,1,1: 57:[59, 18] Operation: 71-53=18 Moving to Node #0,1,1 Current State: 57:[59, 18], Operations: ['75-16=59', '71-53=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[53, 12], Operations: ['75-16=59', '71-59=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,57 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 96, 40, 36, 46 ]
45
[ "96-46=50", "36*50=1800", "1800/40=45" ]
Current State: 45:[96, 40, 36, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [40, 36, 50] Generated Node #2: [40, 36, 50] from Operation: 96-46=50 Current State: 45:[40, 36, 50], Operations: ['96-46=50'] Exploring Operation: 36*50=1800, Resulting Numbers: [40, 1800] Generated Node #3: [40, 1800] from Operation: 36*50=1800 Current State: 45:[40, 1800], Operations: ['96-46=50', '36*50=1800'] Exploring Operation: 1800/40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[96, 40, 36, 46], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [36, 46, 56] Generated Node #0,0: 45:[36, 46, 56] Operation: 96-40=56 Exploring Operation: 40-36=4, Resulting Numbers: [96, 46, 4] Generated Node #0,1: 45:[96, 46, 4] Operation: 40-36=4 Exploring Operation: 46-36=10, Resulting Numbers: [96, 40, 10] Generated Node #0,2: 45:[96, 40, 10] Operation: 46-36=10 Exploring Operation: 96-46=50, Resulting Numbers: [40, 36, 50] Generated Node #0,3: 45:[40, 36, 50] Operation: 96-46=50 Exploring Operation: 96-36=60, Resulting Numbers: [40, 46, 60] Generated Node #0,4: 45:[40, 46, 60] Operation: 96-36=60 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[40, 36, 50], Operations: ['96-46=50'] Exploring Operation: 50-36=14, Resulting Numbers: [40, 14] Generated Node #0,3,0: 45:[40, 14] Operation: 50-36=14 Exploring Operation: 50-40=10, Resulting Numbers: [36, 10] Generated Node #0,3,1: 45:[36, 10] Operation: 50-40=10 Exploring Operation: 40+36=76, Resulting Numbers: [50, 76] Generated Node #0,3,2: 45:[50, 76] Operation: 40+36=76 Exploring Operation: 40-36=4, Resulting Numbers: [50, 4] Generated Node #0,3,3: 45:[50, 4] Operation: 40-36=4 Exploring Operation: 36+50=86, Resulting Numbers: [40, 86] Generated Node #0,3,4: 45:[40, 86] Operation: 36+50=86 Moving to Node #0,3,0 Current State: 45:[40, 14], Operations: ['96-46=50', '50-36=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,45 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[50, 4], Operations: ['96-46=50', '40-36=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,45 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[36, 10], Operations: ['96-46=50', '50-40=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,45 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[50, 76], Operations: ['96-46=50', '40+36=76'] Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 50+76=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 50*76=3800, Resulting Numbers: [3800] 3800,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[40, 86], Operations: ['96-46=50', '36+50=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,45 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,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:[36, 46, 56], Operations: ['96-40=56'] Exploring Operation: 56-36=20, Resulting Numbers: [46, 20] Generated Node #0,0,0: 45:[46, 20] Operation: 56-36=20 Exploring Operation: 36+46=82, Resulting Numbers: [56, 82] Generated Node #0,0,1: 45:[56, 82] Operation: 36+46=82 Exploring Operation: 56-46=10, Resulting Numbers: [36, 10] Generated Node #0,0,2: 45:[36, 10] Operation: 56-46=10 Exploring Operation: 46-36=10, Resulting Numbers: [56, 10] Generated Node #0,0,3: 45:[56, 10] Operation: 46-36=10 Exploring Operation: 36+56=92, Resulting Numbers: [46, 92] Generated Node #0,0,4: 45:[46, 92] Operation: 36+56=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[46, 20], Operations: ['96-40=56', '56-36=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,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,0,2 Current State: 45:[36, 10], Operations: ['96-40=56', '56-46=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,45 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,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,0,3 Current State: 45:[56, 10], Operations: ['96-40=56', '46-36=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,45 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,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,0,1 Current State: 45:[56, 82], Operations: ['96-40=56', '36+46=82'] Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,45 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,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,0,4 Current State: 45:[46, 92], Operations: ['96-40=56', '36+56=92'] Exploring Operation: 92/46=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 46*92=4232, Resulting Numbers: [4232] 4232,45 unequal: No Solution Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 46+92=138, Resulting Numbers: [138] 138,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[40, 46, 60], Operations: ['96-36=60'] Exploring Operation: 60-40=20, Resulting Numbers: [46, 20] Generated Node #0,4,0: 45:[46, 20] Operation: 60-40=20 Exploring Operation: 60-46=14, Resulting Numbers: [40, 14] Generated Node #0,4,1: 45:[40, 14] Operation: 60-46=14 Exploring Operation: 46-40=6, Resulting Numbers: [60, 6] Generated Node #0,4,2: 45:[60, 6] Operation: 46-40=6 Exploring Operation: 40+46=86, Resulting Numbers: [60, 86] Generated Node #0,4,3: 45:[60, 86] Operation: 40+46=86 Exploring Operation: 40+60=100, Resulting Numbers: [46, 100] Generated Node #0,4,4: 45:[46, 100] Operation: 40+60=100 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 45:[46, 20], Operations: ['96-36=60', '60-40=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,45 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,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,4,1 Current State: 45:[40, 14], Operations: ['96-36=60', '60-46=14'] Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,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,4,2 Current State: 45:[60, 6], Operations: ['96-36=60', '46-40=6'] Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,45 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,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,4,3 Current State: 45:[60, 86], Operations: ['96-36=60', '40+46=86'] Exploring Operation: 60*86=5160, Resulting Numbers: [5160] 5160,45 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 60+86=146, Resulting Numbers: [146] 146,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,4,4 Current State: 45:[46, 100], Operations: ['96-36=60', '40+60=100'] Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,45 unequal: No Solution Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[96, 46, 4], Operations: ['40-36=4'] Exploring Operation: 96+4=100, Resulting Numbers: [46, 100] Generated Node #0,1,0: 45:[46, 100] Operation: 96+4=100 Exploring Operation: 96-46=50, Resulting Numbers: [4, 50] Generated Node #0,1,1: 45:[4, 50] Operation: 96-46=50 Exploring Operation: 96/4=24, Resulting Numbers: [46, 24] Generated Node #0,1,2: 45:[46, 24] Operation: 96/4=24 Exploring Operation: 46-4=42, Resulting Numbers: [96, 42] Generated Node #0,1,3: 45:[96, 42] Operation: 46-4=42 Exploring Operation: 96-4=92, Resulting Numbers: [46, 92] Generated Node #0,1,4: 45:[46, 92] Operation: 96-4=92 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[4, 50], Operations: ['40-36=4', '96-46=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,45 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,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:[46, 24], Operations: ['40-36=4', '96/4=24'] Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,45 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,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,4 Current State: 45:[46, 92], Operations: ['40-36=4', '96-4=92'] Exploring Operation: 46+92=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 46*92=4232, Resulting Numbers: [4232] 4232,45 unequal: No Solution Exploring Operation: 92/46=2, Resulting Numbers: [2] 2,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,3 Current State: 45:[96, 42], Operations: ['40-36=4', '46-4=42'] Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,45 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,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,0 Current State: 45:[46, 100], Operations: ['40-36=4', '96+4=100'] Exploring Operation: 100-46=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 46+100=146, Resulting Numbers: [146] 146,45 unequal: No Solution Exploring Operation: 46*100=4600, Resulting Numbers: [4600] 4600,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[96, 40, 10], Operations: ['46-36=10'] Exploring Operation: 40+10=50, Resulting Numbers: [96, 50] Generated Node #0,2,0: 45:[96, 50] Operation: 40+10=50 Exploring Operation: 96+10=106, Resulting Numbers: [40, 106] Generated Node #0,2,1: 45:[40, 106] Operation: 96+10=106 Exploring Operation: 40/10=4, Resulting Numbers: [96, 4] Generated Node #0,2,2: 45:[96, 4] Operation: 40/10=4 Exploring Operation: 96-40=56, Resulting Numbers: [10, 56] Generated Node #0,2,3: 45:[10, 56] Operation: 96-40=56 Exploring Operation: 96-10=86, Resulting Numbers: [40, 86] Generated Node #0,2,4: 45:[40, 86] Operation: 96-10=86 Moving to Node #0,2,3 Current State: 45:[10, 56], Operations: ['46-36=10', '96-40=56'] Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,45 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[40, 86], Operations: ['46-36=10', '96-10=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[96, 4], Operations: ['46-36=10', '40/10=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,45 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,45 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[96, 50], Operations: ['46-36=10', '40+10=50'] Exploring Operation: 96+50=146, Resulting Numbers: [146] 146,45 unequal: No Solution Exploring Operation: 96*50=4800, Resulting Numbers: [4800] 4800,45 unequal: No Solution Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[40, 106], Operations: ['46-36=10', '96+10=106'] Exploring Operation: 40+106=146, Resulting Numbers: [146] 146,45 unequal: No Solution Exploring Operation: 106-40=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 40*106=4240, Resulting Numbers: [4240] 4240,45 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
[ 57, 62, 20, 50 ]
49
[ "57+62=119", "20+50=70", "119-70=49" ]
Current State: 49:[57, 62, 20, 50], Operations: [] Exploring Operation: 57+62=119, Resulting Numbers: [20, 50, 119] Generated Node #2: [20, 50, 119] from Operation: 57+62=119 Current State: 49:[20, 50, 119], Operations: ['57+62=119'] Exploring Operation: 20+50=70, Resulting Numbers: [119, 70] Generated Node #3: [119, 70] from Operation: 20+50=70 Current State: 49:[119, 70], Operations: ['57+62=119', '20+50=70'] Exploring Operation: 119-70=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[57, 62, 20, 50], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [20, 50, 5] Generated Node #0,0: 49:[20, 50, 5] Operation: 62-57=5 Exploring Operation: 62-20=42, Resulting Numbers: [57, 50, 42] Generated Node #0,1: 49:[57, 50, 42] Operation: 62-20=42 Moving to Node #0,0 Current State: 49:[20, 50, 5], Operations: ['62-57=5'] Exploring Operation: 20-5=15, Resulting Numbers: [50, 15] Generated Node #0,0,0: 49:[50, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [50, 4] Generated Node #0,0,1: 49:[50, 4] Operation: 20/5=4 Moving to Node #0,1 Current State: 49:[57, 50, 42], Operations: ['62-20=42'] Exploring Operation: 57-50=7, Resulting Numbers: [42, 7] Generated Node #0,1,0: 49:[42, 7] Operation: 57-50=7 Exploring Operation: 57-42=15, Resulting Numbers: [50, 15] Generated Node #0,1,1: 49:[50, 15] Operation: 57-42=15 Moving to Node #0,0,1 Current State: 49:[50, 4], Operations: ['62-57=5', '20/5=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[42, 7], Operations: ['62-20=42', '57-50=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[57, 62, 20, 50], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [57, 50, 42] Generated Node #0,1: 49:[57, 50, 42] Operation: 62-20=42 Moving to Node #0,1 Current State: 49:[57, 50, 42], Operations: ['62-20=42'] Exploring Operation: 57-50=7, Resulting Numbers: [42, 7] Generated Node #0,1,0: 49:[42, 7] Operation: 57-50=7 Moving to Node #0,1,0 Current State: 49:[42, 7], Operations: ['62-20=42', '57-50=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 96, 48, 6, 75 ]
63
[ "96+48=144", "6+75=81", "144-81=63" ]
Current State: 63:[96, 48, 6, 75], Operations: [] Exploring Operation: 96+48=144, Resulting Numbers: [6, 75, 144] Generated Node #2: [6, 75, 144] from Operation: 96+48=144 Current State: 63:[6, 75, 144], Operations: ['96+48=144'] Exploring Operation: 6+75=81, Resulting Numbers: [144, 81] Generated Node #3: [144, 81] from Operation: 6+75=81 Current State: 63:[144, 81], Operations: ['96+48=144', '6+75=81'] Exploring Operation: 144-81=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[96, 48, 6, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [48, 6, 21] Generated Node #0,0: 63:[48, 6, 21] Operation: 96-75=21 Exploring Operation: 96/48=2, Resulting Numbers: [6, 75, 2] Generated Node #0,1: 63:[6, 75, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [6, 75, 48] Generated Node #0,2: 63:[6, 75, 48] Operation: 96-48=48 Exploring Operation: 96/6=16, Resulting Numbers: [48, 75, 16] Generated Node #0,3: 63:[48, 75, 16] Operation: 96/6=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[6, 75, 2], Operations: ['96/48=2'] Exploring Operation: 6/2=3, Resulting Numbers: [75, 3] Generated Node #0,1,0: 63:[75, 3] Operation: 6/2=3 Exploring Operation: 6+2=8, Resulting Numbers: [75, 8] Generated Node #0,1,1: 63:[75, 8] Operation: 6+2=8 Exploring Operation: 75-2=73, Resulting Numbers: [6, 73] Generated Node #0,1,2: 63:[6, 73] Operation: 75-2=73 Exploring Operation: 75-6=69, Resulting Numbers: [2, 69] Generated Node #0,1,3: 63:[2, 69] Operation: 75-6=69 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[2, 69], Operations: ['96/48=2', '75-6=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,63 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,63 unequal: No Solution No 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: 63:[6, 73], Operations: ['96/48=2', '75-2=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,63 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,63 unequal: No Solution No 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: 63:[75, 3], Operations: ['96/48=2', '6/2=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,63 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,63 unequal: No Solution No 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: 63:[75, 8], Operations: ['96/48=2', '6+2=8'] Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,63 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[48, 6, 21], Operations: ['96-75=21'] Exploring Operation: 48/6=8, Resulting Numbers: [21, 8] Generated Node #0,0,0: 63:[21, 8] Operation: 48/6=8 Exploring Operation: 48+21=69, Resulting Numbers: [6, 69] Generated Node #0,0,1: 63:[6, 69] Operation: 48+21=69 Exploring Operation: 48-21=27, Resulting Numbers: [6, 27] Generated Node #0,0,2: 63:[6, 27] Operation: 48-21=27 Exploring Operation: 48+6=54, Resulting Numbers: [21, 54] Generated Node #0,0,3: 63:[21, 54] Operation: 48+6=54 Moving to Node #0,0,0 Current State: 63:[21, 8], Operations: ['96-75=21', '48/6=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,63 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[6, 27], Operations: ['96-75=21', '48-21=27'] Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,63 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[6, 69], Operations: ['96-75=21', '48+21=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,63 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[96, 48, 6, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [48, 6, 21] Generated Node #0,0: 63:[48, 6, 21] Operation: 96-75=21 Moving to Node #0,0 Current State: 63:[48, 6, 21], Operations: ['96-75=21'] Exploring Operation: 48+21=69, Resulting Numbers: [6, 69] Generated Node #0,0,1: 63:[6, 69] Operation: 48+21=69 Moving to Node #0,0,1 Current State: 63:[6, 69], Operations: ['96-75=21', '48+21=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 57, 59, 47, 32 ]
81
[ "59-57=2", "47+32=79", "2+79=81" ]
Current State: 81:[57, 59, 47, 32], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [47, 32, 2] Generated Node #2: [47, 32, 2] from Operation: 59-57=2 Current State: 81:[47, 32, 2], Operations: ['59-57=2'] Exploring Operation: 47+32=79, Resulting Numbers: [2, 79] Generated Node #3: [2, 79] from Operation: 47+32=79 Current State: 81:[2, 79], Operations: ['59-57=2', '47+32=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[57, 59, 47, 32], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [47, 32, 2] Generated Node #0,0: 81:[47, 32, 2] Operation: 59-57=2 Exploring Operation: 57-47=10, Resulting Numbers: [59, 32, 10] Generated Node #0,1: 81:[59, 32, 10] Operation: 57-47=10 Moving to Node #0,0 Current State: 81:[47, 32, 2], Operations: ['59-57=2'] Exploring Operation: 47+32=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 47+32=79 Exploring Operation: 47-32=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 81:[2, 15] Operation: 47-32=15 Moving to Node #0,1 Current State: 81:[59, 32, 10], Operations: ['57-47=10'] Exploring Operation: 59+32=91, Resulting Numbers: [10, 91] Generated Node #0,1,0: 81:[10, 91] Operation: 59+32=91 Exploring Operation: 59-32=27, Resulting Numbers: [10, 27] Generated Node #0,1,1: 81:[10, 27] Operation: 59-32=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[10, 27], Operations: ['57-47=10', '59-32=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,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,1,0 Current State: 81:[10, 91], Operations: ['57-47=10', '59+32=91'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[57, 59, 47, 32], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [59, 32, 10] Generated Node #0,1: 81:[59, 32, 10] Operation: 57-47=10 Moving to Node #0,1 Current State: 81:[59, 32, 10], Operations: ['57-47=10'] Exploring Operation: 59+32=91, Resulting Numbers: [10, 91] Generated Node #0,1,0: 81:[10, 91] Operation: 59+32=91 Moving to Node #0,1,0 Current State: 81:[10, 91], Operations: ['57-47=10', '59+32=91'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 56, 90, 11, 17 ]
92
[ "11+17=28", "56/28=2", "90+2=92" ]
Current State: 92:[56, 90, 11, 17], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [56, 90, 28] Generated Node #2: [56, 90, 28] from Operation: 11+17=28 Current State: 92:[56, 90, 28], Operations: ['11+17=28'] Exploring Operation: 56/28=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 56/28=2 Current State: 92:[90, 2], Operations: ['11+17=28', '56/28=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[56, 90, 11, 17], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [11, 17, 34] Generated Node #0,0: 92:[11, 17, 34] Operation: 90-56=34 Exploring Operation: 56-17=39, Resulting Numbers: [90, 11, 39] Generated Node #0,1: 92:[90, 11, 39] Operation: 56-17=39 Exploring Operation: 17-11=6, Resulting Numbers: [56, 90, 6] Generated Node #0,2: 92:[56, 90, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [56, 90, 28] Generated Node #0,3: 92:[56, 90, 28] Operation: 11+17=28 Exploring Operation: 56-11=45, Resulting Numbers: [90, 17, 45] Generated Node #0,4: 92:[90, 17, 45] Operation: 56-11=45 Moving to Node #0,4 Current State: 92:[90, 17, 45], Operations: ['56-11=45'] Exploring Operation: 45-17=28, Resulting Numbers: [90, 28] Generated Node #0,4,0: 92:[90, 28] Operation: 45-17=28 Exploring Operation: 17+45=62, Resulting Numbers: [90, 62] Generated Node #0,4,1: 92:[90, 62] Operation: 17+45=62 Exploring Operation: 90/45=2, Resulting Numbers: [17, 2] Generated Node #0,4,2: 92:[17, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [17, 45] Generated Node #0,4,3: 92:[17, 45] Operation: 90-45=45 Exploring Operation: 90+17=107, Resulting Numbers: [45, 107] Generated Node #0,4,4: 92:[45, 107] Operation: 90+17=107 Moving to Node #0,2 Current State: 92:[56, 90, 6], Operations: ['17-11=6'] Exploring Operation: 90+6=96, Resulting Numbers: [56, 96] Generated Node #0,2,0: 92:[56, 96] Operation: 90+6=96 Exploring Operation: 56+6=62, Resulting Numbers: [90, 62] Generated Node #0,2,1: 92:[90, 62] Operation: 56+6=62 Exploring Operation: 56-6=50, Resulting Numbers: [90, 50] Generated Node #0,2,2: 92:[90, 50] Operation: 56-6=50 Exploring Operation: 90-56=34, Resulting Numbers: [6, 34] Generated Node #0,2,3: 92:[6, 34] Operation: 90-56=34 Exploring Operation: 90-6=84, Resulting Numbers: [56, 84] Generated Node #0,2,4: 92:[56, 84] Operation: 90-6=84 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[90, 50], Operations: ['17-11=6', '56-6=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,92 unequal: No Solution Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[6, 34], Operations: ['17-11=6', '90-56=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[56, 96], Operations: ['17-11=6', '90+6=96'] Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 56+96=152, Resulting Numbers: [152] 152,92 unequal: No Solution Exploring Operation: 56*96=5376, Resulting Numbers: [5376] 5376,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[90, 62], Operations: ['17-11=6', '56+6=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,92 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 92:[56, 84], Operations: ['17-11=6', '90-6=84'] Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,92 unequal: No Solution Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,92 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: 92:[90, 11, 39], Operations: ['56-17=39'] Exploring Operation: 90+11=101, Resulting Numbers: [39, 101] Generated Node #0,1,0: 92:[39, 101] Operation: 90+11=101 Exploring Operation: 90-39=51, Resulting Numbers: [11, 51] Generated Node #0,1,1: 92:[11, 51] Operation: 90-39=51 Exploring Operation: 90-11=79, Resulting Numbers: [39, 79] Generated Node #0,1,2: 92:[39, 79] Operation: 90-11=79 Exploring Operation: 11+39=50, Resulting Numbers: [90, 50] Generated Node #0,1,3: 92:[90, 50] Operation: 11+39=50 Exploring Operation: 39-11=28, Resulting Numbers: [90, 28] Generated Node #0,1,4: 92:[90, 28] Operation: 39-11=28 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[90, 50], Operations: ['56-17=39', '11+39=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 92:[90, 28], Operations: ['56-17=39', '39-11=28'] Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,92 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,92 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[11, 51], Operations: ['56-17=39', '90-39=51'] Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,92 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[39, 101], Operations: ['56-17=39', '90+11=101'] Exploring Operation: 39+101=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 39*101=3939, Resulting Numbers: [3939] 3939,92 unequal: No Solution Exploring Operation: 101-39=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[39, 79], Operations: ['56-17=39', '90-11=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,92 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,92 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,92 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: 92:[56, 90, 28], Operations: ['11+17=28'] Exploring Operation: 90-56=34, Resulting Numbers: [28, 34] Generated Node #0,3,0: 92:[28, 34] Operation: 90-56=34 Exploring Operation: 56/28=2, Resulting Numbers: [90, 2] Generated Node #0,3,1: 92:[90, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [90, 28] Generated Node #0,3,2: 92:[90, 28] Operation: 56-28=28 Exploring Operation: 90-28=62, Resulting Numbers: [56, 62] Generated Node #0,3,3: 92:[56, 62] Operation: 90-28=62 Exploring Operation: 56+28=84, Resulting Numbers: [90, 84] Generated Node #0,3,4: 92:[90, 84] Operation: 56+28=84 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[90, 2], Operations: ['11+17=28', '56/28=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[56, 90, 11, 17], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [56, 90, 28] Generated Node #0,3: 92:[56, 90, 28] Operation: 11+17=28 Moving to Node #0,3 Current State: 92:[56, 90, 28], Operations: ['11+17=28'] Exploring Operation: 56/28=2, Resulting Numbers: [90, 2] Generated Node #0,3,1: 92:[90, 2] Operation: 56/28=2 Moving to Node #0,3,1 Current State: 92:[90, 2], Operations: ['11+17=28', '56/28=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 92, 63, 65, 94 ]
48
[ "65-63=2", "92/2=46", "94-46=48" ]
Current State: 48:[92, 63, 65, 94], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [92, 94, 2] Generated Node #2: [92, 94, 2] from Operation: 65-63=2 Current State: 48:[92, 94, 2], Operations: ['65-63=2'] Exploring Operation: 92/2=46, Resulting Numbers: [94, 46] Generated Node #3: [94, 46] from Operation: 92/2=46 Current State: 48:[94, 46], Operations: ['65-63=2', '92/2=46'] Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[92, 63, 65, 94], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [63, 65, 2] Generated Node #0,0: 48:[63, 65, 2] Operation: 94-92=2 Exploring Operation: 94-65=29, Resulting Numbers: [92, 63, 29] Generated Node #0,1: 48:[92, 63, 29] Operation: 94-65=29 Exploring Operation: 92-65=27, Resulting Numbers: [63, 94, 27] Generated Node #0,2: 48:[63, 94, 27] Operation: 92-65=27 Exploring Operation: 92-63=29, Resulting Numbers: [65, 94, 29] Generated Node #0,3: 48:[65, 94, 29] Operation: 92-63=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[63, 65, 2], Operations: ['94-92=2'] Exploring Operation: 65-63=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 48:[2, 2] Operation: 65-63=2 Exploring Operation: 63+2=65, Resulting Numbers: [65, 65] Generated Node #0,0,1: 48:[65, 65] Operation: 63+2=65 Exploring Operation: 63-2=61, Resulting Numbers: [65, 61] Generated Node #0,0,2: 48:[65, 61] Operation: 63-2=61 Exploring Operation: 65-2=63, Resulting Numbers: [63, 63] Generated Node #0,0,3: 48:[63, 63] Operation: 65-2=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[2, 2], Operations: ['94-92=2', '65-63=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,48 unequal: No Solution No 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: 48:[65, 61], Operations: ['94-92=2', '63-2=61'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,48 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,48 unequal: No Solution No 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: 48:[63, 63], Operations: ['94-92=2', '65-2=63'] Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,48 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,48 unequal: No Solution No 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: 48:[65, 65], Operations: ['94-92=2', '63+2=65'] Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,48 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: 48:[92, 63, 29], Operations: ['94-65=29'] Exploring Operation: 92+29=121, Resulting Numbers: [63, 121] Generated Node #0,1,0: 48:[63, 121] Operation: 92+29=121 Exploring Operation: 92-63=29, Resulting Numbers: [29, 29] Generated Node #0,1,1: 48:[29, 29] Operation: 92-63=29 Exploring Operation: 63-29=34, Resulting Numbers: [92, 34] Generated Node #0,1,2: 48:[92, 34] Operation: 63-29=34 Exploring Operation: 92-29=63, Resulting Numbers: [63, 63] Generated Node #0,1,3: 48:[63, 63] Operation: 92-29=63 Moving to Node #0,1,1 Current State: 48:[29, 29], Operations: ['94-65=29', '92-63=29'] Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,48 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[63, 63], Operations: ['94-65=29', '92-29=63'] Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,48 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[92, 34], Operations: ['94-65=29', '63-29=34'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 92+34=126, Resulting Numbers: [126] 126,48 unequal: No Solution Exploring Operation: 92*34=3128, Resulting Numbers: [3128] 3128,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[63, 121], Operations: ['94-65=29', '92+29=121'] Exploring Operation: 63*121=7623, Resulting Numbers: [7623] 7623,48 unequal: No Solution Exploring Operation: 121-63=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 63+121=184, Resulting Numbers: [184] 184,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,2 Current State: 48:[63, 94, 27], Operations: ['92-65=27'] Exploring Operation: 94-27=67, Resulting Numbers: [63, 67] Generated Node #0,2,0: 48:[63, 67] Operation: 94-27=67 Exploring Operation: 94-63=31, Resulting Numbers: [27, 31] Generated Node #0,2,1: 48:[27, 31] Operation: 94-63=31 Exploring Operation: 63-27=36, Resulting Numbers: [94, 36] Generated Node #0,2,2: 48:[94, 36] Operation: 63-27=36 Exploring Operation: 63+27=90, Resulting Numbers: [94, 90] Generated Node #0,2,3: 48:[94, 90] Operation: 63+27=90 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[27, 31], Operations: ['92-65=27', '94-63=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,48 unequal: No Solution No 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: 48:[63, 67], Operations: ['92-65=27', '94-27=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,48 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,48 unequal: No Solution No 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: 48:[94, 36], Operations: ['92-65=27', '63-27=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,48 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,48 unequal: No Solution No 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: 48:[94, 90], Operations: ['92-65=27', '63+27=90'] Exploring Operation: 94*90=8460, Resulting Numbers: [8460] 8460,48 unequal: No Solution Exploring Operation: 94+90=184, Resulting Numbers: [184] 184,48 unequal: No Solution Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,48 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: 48:[65, 94, 29], Operations: ['92-63=29'] Exploring Operation: 94-65=29, Resulting Numbers: [29, 29] Generated Node #0,3,0: 48:[29, 29] Operation: 94-65=29 Exploring Operation: 65-29=36, Resulting Numbers: [94, 36] Generated Node #0,3,1: 48:[94, 36] Operation: 65-29=36 Exploring Operation: 65+29=94, Resulting Numbers: [94, 94] Generated Node #0,3,2: 48:[94, 94] Operation: 65+29=94 Exploring Operation: 94-29=65, Resulting Numbers: [65, 65] Generated Node #0,3,3: 48:[65, 65] Operation: 94-29=65 Moving to Node #0,3,0 Current State: 48:[29, 29], Operations: ['92-63=29', '94-65=29'] Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,48 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[65, 65], Operations: ['92-63=29', '94-29=65'] Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,48 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[94, 36], Operations: ['92-63=29', '65-29=36'] Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[94, 94], Operations: ['92-63=29', '65+29=94'] Exploring Operation: 94-94=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 94+94=188, Resulting Numbers: [188] 188,48 unequal: No Solution Exploring Operation: 94*94=8836, Resulting Numbers: [8836] 8836,48 unequal: No Solution Exploring Operation: 94/94=1, Resulting Numbers: [1] 1,48 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
[ 73, 10, 42, 39 ]
21
[ "73-10=63", "42-39=3", "63/3=21" ]
Current State: 21:[73, 10, 42, 39], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [42, 39, 63] Generated Node #2: [42, 39, 63] from Operation: 73-10=63 Current State: 21:[42, 39, 63], Operations: ['73-10=63'] Exploring Operation: 42-39=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 42-39=3 Current State: 21:[63, 3], Operations: ['73-10=63', '42-39=3'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[73, 10, 42, 39], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [73, 10, 3] Generated Node #0,0: 21:[73, 10, 3] Operation: 42-39=3 Exploring Operation: 73-10=63, Resulting Numbers: [42, 39, 63] Generated Node #0,1: 21:[42, 39, 63] Operation: 73-10=63 Exploring Operation: 73-39=34, Resulting Numbers: [10, 42, 34] Generated Node #0,2: 21:[10, 42, 34] Operation: 73-39=34 Exploring Operation: 42-10=32, Resulting Numbers: [73, 39, 32] Generated Node #0,3: 21:[73, 39, 32] Operation: 42-10=32 Exploring Operation: 73-42=31, Resulting Numbers: [10, 39, 31] Generated Node #0,4: 21:[10, 39, 31] Operation: 73-42=31 Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[10, 39, 31], Operations: ['73-42=31'] Exploring Operation: 10+39=49, Resulting Numbers: [31, 49] Generated Node #0,4,0: 21:[31, 49] Operation: 10+39=49 Exploring Operation: 10+31=41, Resulting Numbers: [39, 41] Generated Node #0,4,1: 21:[39, 41] Operation: 10+31=41 Exploring Operation: 39-10=29, Resulting Numbers: [31, 29] Generated Node #0,4,2: 21:[31, 29] Operation: 39-10=29 Exploring Operation: 39-31=8, Resulting Numbers: [10, 8] Generated Node #0,4,3: 21:[10, 8] Operation: 39-31=8 Exploring Operation: 31-10=21, Resulting Numbers: [39, 21] Generated Node #0,4,4: 21:[39, 21] Operation: 31-10=21 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 21:[10, 8], Operations: ['73-42=31', '39-31=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 21:[31, 29], Operations: ['73-42=31', '39-10=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,21 unequal: No Solution No 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: 21:[39, 21], Operations: ['73-42=31', '31-10=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,21 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,21 unequal: No Solution No 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: 21:[31, 49], Operations: ['73-42=31', '10+39=49'] Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,21 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,21 unequal: No Solution No 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: 21:[39, 41], Operations: ['73-42=31', '10+31=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,21 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,21 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: 21:[10, 42, 34], Operations: ['73-39=34'] Exploring Operation: 10+34=44, Resulting Numbers: [42, 44] Generated Node #0,2,0: 21:[42, 44] Operation: 10+34=44 Exploring Operation: 42-34=8, Resulting Numbers: [10, 8] Generated Node #0,2,1: 21:[10, 8] Operation: 42-34=8 Exploring Operation: 42-10=32, Resulting Numbers: [34, 32] Generated Node #0,2,2: 21:[34, 32] Operation: 42-10=32 Exploring Operation: 10+42=52, Resulting Numbers: [34, 52] Generated Node #0,2,3: 21:[34, 52] Operation: 10+42=52 Exploring Operation: 34-10=24, Resulting Numbers: [42, 24] Generated Node #0,2,4: 21:[42, 24] Operation: 34-10=24 Moving to Node #0,2,1 Current State: 21:[10, 8], Operations: ['73-39=34', '42-34=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,2,4 Current State: 21:[42, 24], Operations: ['73-39=34', '34-10=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,21 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,21 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[34, 32], Operations: ['73-39=34', '42-10=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,21 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[42, 44], Operations: ['73-39=34', '10+34=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,21 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[34, 52], Operations: ['73-39=34', '10+42=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,21 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[73, 10, 3], Operations: ['42-39=3'] Exploring Operation: 10+3=13, Resulting Numbers: [73, 13] Generated Node #0,0,0: 21:[73, 13] Operation: 10+3=13 Exploring Operation: 10-3=7, Resulting Numbers: [73, 7] Generated Node #0,0,1: 21:[73, 7] Operation: 10-3=7 Exploring Operation: 73-3=70, Resulting Numbers: [10, 70] Generated Node #0,0,2: 21:[10, 70] Operation: 73-3=70 Exploring Operation: 73-10=63, Resulting Numbers: [3, 63] Generated Node #0,0,3: 21:[3, 63] Operation: 73-10=63 Exploring Operation: 73+3=76, Resulting Numbers: [10, 76] Generated Node #0,0,4: 21:[10, 76] Operation: 73+3=76 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[3, 63], Operations: ['42-39=3', '73-10=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,21 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,21 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[73, 10, 42, 39], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [73, 10, 3] Generated Node #0,0: 21:[73, 10, 3] Operation: 42-39=3 Moving to Node #0,0 Current State: 21:[73, 10, 3], Operations: ['42-39=3'] Exploring Operation: 73-10=63, Resulting Numbers: [3, 63] Generated Node #0,0,3: 21:[3, 63] Operation: 73-10=63 Moving to Node #0,0,3 Current State: 21:[3, 63], Operations: ['42-39=3', '73-10=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 6, 38, 86, 61 ]
57
[ "38-6=32", "86-61=25", "32+25=57" ]
Current State: 57:[6, 38, 86, 61], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [86, 61, 32] Generated Node #2: [86, 61, 32] from Operation: 38-6=32 Current State: 57:[86, 61, 32], Operations: ['38-6=32'] Exploring Operation: 86-61=25, Resulting Numbers: [32, 25] Generated Node #3: [32, 25] from Operation: 86-61=25 Current State: 57:[32, 25], Operations: ['38-6=32', '86-61=25'] Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[6, 38, 86, 61], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [6, 38, 25] Generated Node #0,0: 57:[6, 38, 25] Operation: 86-61=25 Exploring Operation: 86-38=48, Resulting Numbers: [6, 61, 48] Generated Node #0,1: 57:[6, 61, 48] Operation: 86-38=48 Moving to Node #0,1 Current State: 57:[6, 61, 48], Operations: ['86-38=48'] Exploring Operation: 48/6=8, Resulting Numbers: [61, 8] Generated Node #0,1,0: 57:[61, 8] Operation: 48/6=8 Exploring Operation: 6+48=54, Resulting Numbers: [61, 54] Generated Node #0,1,1: 57:[61, 54] Operation: 6+48=54 Moving to Node #0,0 Current State: 57:[6, 38, 25], Operations: ['86-61=25'] Exploring Operation: 38+25=63, Resulting Numbers: [6, 63] Generated Node #0,0,0: 57:[6, 63] Operation: 38+25=63 Exploring Operation: 38-25=13, Resulting Numbers: [6, 13] Generated Node #0,0,1: 57:[6, 13] Operation: 38-25=13 Moving to Node #0,1,1 Current State: 57:[61, 54], Operations: ['86-38=48', '6+48=54'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[6, 63], Operations: ['86-61=25', '38+25=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[6, 38, 86, 61], Operations: [] Exploring Operation: 86-61=25, Resulting Numbers: [6, 38, 25] Generated Node #0,0: 57:[6, 38, 25] Operation: 86-61=25 Moving to Node #0,0 Current State: 57:[6, 38, 25], Operations: ['86-61=25'] Exploring Operation: 38+25=63, Resulting Numbers: [6, 63] Generated Node #0,0,0: 57:[6, 63] Operation: 38+25=63 Moving to Node #0,0,0 Current State: 57:[6, 63], Operations: ['86-61=25', '38+25=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 22, 4, 94, 37 ]
66
[ "22+94=116", "116/4=29", "37+29=66" ]
Current State: 66:[22, 4, 94, 37], Operations: [] Exploring Operation: 22+94=116, Resulting Numbers: [4, 37, 116] Generated Node #2: [4, 37, 116] from Operation: 22+94=116 Current State: 66:[4, 37, 116], Operations: ['22+94=116'] Exploring Operation: 116/4=29, Resulting Numbers: [37, 29] Generated Node #3: [37, 29] from Operation: 116/4=29 Current State: 66:[37, 29], Operations: ['22+94=116', '116/4=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[22, 4, 94, 37], Operations: [] Exploring Operation: 94-37=57, Resulting Numbers: [22, 4, 57] Generated Node #0,0: 66:[22, 4, 57] Operation: 94-37=57 Exploring Operation: 94-22=72, Resulting Numbers: [4, 37, 72] Generated Node #0,1: 66:[4, 37, 72] Operation: 94-22=72 Exploring Operation: 37-4=33, Resulting Numbers: [22, 94, 33] Generated Node #0,2: 66:[22, 94, 33] Operation: 37-4=33 Exploring Operation: 94-4=90, Resulting Numbers: [22, 37, 90] Generated Node #0,3: 66:[22, 37, 90] Operation: 94-4=90 Exploring Operation: 37-22=15, Resulting Numbers: [4, 94, 15] Generated Node #0,4: 66:[4, 94, 15] Operation: 37-22=15 Moving to Node #0,0 Current State: 66:[22, 4, 57], Operations: ['94-37=57'] Exploring Operation: 4+57=61, Resulting Numbers: [22, 61] Generated Node #0,0,0: 66:[22, 61] Operation: 4+57=61 Exploring Operation: 57-4=53, Resulting Numbers: [22, 53] Generated Node #0,0,1: 66:[22, 53] Operation: 57-4=53 Exploring Operation: 22-4=18, Resulting Numbers: [57, 18] Generated Node #0,0,2: 66:[57, 18] Operation: 22-4=18 Exploring Operation: 22+4=26, Resulting Numbers: [57, 26] Generated Node #0,0,3: 66:[57, 26] Operation: 22+4=26 Exploring Operation: 57-22=35, Resulting Numbers: [4, 35] Generated Node #0,0,4: 66:[4, 35] Operation: 57-22=35 Moving to Node #0,1 Current State: 66:[4, 37, 72], Operations: ['94-22=72'] Exploring Operation: 72/4=18, Resulting Numbers: [37, 18] Generated Node #0,1,0: 66:[37, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [37, 68] Generated Node #0,1,1: 66:[37, 68] Operation: 72-4=68 Exploring Operation: 72-37=35, Resulting Numbers: [4, 35] Generated Node #0,1,2: 66:[4, 35] Operation: 72-37=35 Exploring Operation: 4+37=41, Resulting Numbers: [72, 41] Generated Node #0,1,3: 66:[72, 41] Operation: 4+37=41 Exploring Operation: 37-4=33, Resulting Numbers: [72, 33] Generated Node #0,1,4: 66:[72, 33] Operation: 37-4=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[4, 35], Operations: ['94-22=72', '72-37=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,66 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,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,1,1 Current State: 66:[37, 68], Operations: ['94-22=72', '72-4=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,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,1,4 Current State: 66:[72, 33], Operations: ['94-22=72', '37-4=33'] Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,66 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,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,1,0 Current State: 66:[37, 18], Operations: ['94-22=72', '72/4=18'] Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,66 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,66 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,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,1,3 Current State: 66:[72, 41], Operations: ['94-22=72', '4+37=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,66 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,66 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: 66:[22, 94, 33], Operations: ['37-4=33'] Exploring Operation: 94-33=61, Resulting Numbers: [22, 61] Generated Node #0,2,0: 66:[22, 61] Operation: 94-33=61 Exploring Operation: 94-22=72, Resulting Numbers: [33, 72] Generated Node #0,2,1: 66:[33, 72] Operation: 94-22=72 Exploring Operation: 33-22=11, Resulting Numbers: [94, 11] Generated Node #0,2,2: 66:[94, 11] Operation: 33-22=11 Exploring Operation: 22+94=116, Resulting Numbers: [33, 116] Generated Node #0,2,3: 66:[33, 116] Operation: 22+94=116 Exploring Operation: 22+33=55, Resulting Numbers: [94, 55] Generated Node #0,2,4: 66:[94, 55] Operation: 22+33=55 Moving to Node #0,3 Current State: 66:[22, 37, 90], Operations: ['94-4=90'] Exploring Operation: 90-37=53, Resulting Numbers: [22, 53] Generated Node #0,3,0: 66:[22, 53] Operation: 90-37=53 Exploring Operation: 90-22=68, Resulting Numbers: [37, 68] Generated Node #0,3,1: 66:[37, 68] Operation: 90-22=68 Exploring Operation: 37-22=15, Resulting Numbers: [90, 15] Generated Node #0,3,2: 66:[90, 15] Operation: 37-22=15 Exploring Operation: 22+90=112, Resulting Numbers: [37, 112] Generated Node #0,3,3: 66:[37, 112] Operation: 22+90=112 Exploring Operation: 22+37=59, Resulting Numbers: [90, 59] Generated Node #0,3,4: 66:[90, 59] Operation: 22+37=59 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[37, 68], Operations: ['94-4=90', '90-22=68'] Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,66 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,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,3,0 Current State: 66:[22, 53], Operations: ['94-4=90', '90-37=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,66 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,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,3,2 Current State: 66:[90, 15], Operations: ['94-4=90', '37-22=15'] Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,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,3,4 Current State: 66:[90, 59], Operations: ['94-4=90', '22+37=59'] Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,66 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,66 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,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,3,3 Current State: 66:[37, 112], Operations: ['94-4=90', '22+90=112'] Exploring Operation: 37*112=4144, Resulting Numbers: [4144] 4144,66 unequal: No Solution Exploring Operation: 37+112=149, Resulting Numbers: [149] 149,66 unequal: No Solution Exploring Operation: 112-37=75, Resulting Numbers: [75] 75,66 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: 66:[4, 94, 15], Operations: ['37-22=15'] Exploring Operation: 4*15=60, Resulting Numbers: [94, 60] Generated Node #0,4,0: 66:[94, 60] Operation: 4*15=60 Exploring Operation: 15-4=11, Resulting Numbers: [94, 11] Generated Node #0,4,1: 66:[94, 11] Operation: 15-4=11 Exploring Operation: 94-15=79, Resulting Numbers: [4, 79] Generated Node #0,4,2: 66:[4, 79] Operation: 94-15=79 Exploring Operation: 4+15=19, Resulting Numbers: [94, 19] Generated Node #0,4,3: 66:[94, 19] Operation: 4+15=19 Exploring Operation: 94-4=90, Resulting Numbers: [15, 90] Generated Node #0,4,4: 66:[15, 90] Operation: 94-4=90 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 66:[4, 79], Operations: ['37-22=15', '94-15=79'] Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,66 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,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,4,1 Current State: 66:[94, 11], Operations: ['37-22=15', '15-4=11'] Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,66 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,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,4,4 Current State: 66:[15, 90], Operations: ['37-22=15', '94-4=90'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 15+90=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 15*90=1350, Resulting Numbers: [1350] 1350,66 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,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,4,3 Current State: 66:[94, 19], Operations: ['37-22=15', '4+15=19'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,66 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,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,4,0 Current State: 66:[94, 60], Operations: ['37-22=15', '4*15=60'] Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,66 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 66:[4, 35], Operations: ['94-37=57', '57-22=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,66 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[22, 61], Operations: ['37-4=33', '94-33=61'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[22, 61], Operations: ['94-37=57', '4+57=61'] Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,66 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[33, 72], Operations: ['37-4=33', '94-22=72'] Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,66 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[22, 53], Operations: ['94-37=57', '57-4=53'] Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,66 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[57, 26], Operations: ['94-37=57', '22+4=26'] Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,66 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[57, 18], Operations: ['94-37=57', '22-4=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[94, 11], Operations: ['37-4=33', '33-22=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,66 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[94, 55], Operations: ['37-4=33', '22+33=55'] Exploring Operation: 94+55=149, Resulting Numbers: [149] 149,66 unequal: No Solution Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 94*55=5170, Resulting Numbers: [5170] 5170,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[33, 116], Operations: ['37-4=33', '22+94=116'] Exploring Operation: 33+116=149, Resulting Numbers: [149] 149,66 unequal: No Solution Exploring Operation: 116-33=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 33*116=3828, Resulting Numbers: [3828] 3828,66 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 56, 96, 48, 42 ]
30
[ "56-48=8", "96/8=12", "42-12=30" ]
Current State: 30:[56, 96, 48, 42], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [96, 42, 8] Generated Node #2: [96, 42, 8] from Operation: 56-48=8 Current State: 30:[96, 42, 8], Operations: ['56-48=8'] Exploring Operation: 96/8=12, Resulting Numbers: [42, 12] Generated Node #3: [42, 12] from Operation: 96/8=12 Current State: 30:[42, 12], Operations: ['56-48=8', '96/8=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[56, 96, 48, 42], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [56, 48, 54] Generated Node #0,0: 30:[56, 48, 54] Operation: 96-42=54 Exploring Operation: 96-48=48, Resulting Numbers: [56, 42, 48] Generated Node #0,1: 30:[56, 42, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [56, 42, 2] Generated Node #0,2: 30:[56, 42, 2] Operation: 96/48=2 Exploring Operation: 96-56=40, Resulting Numbers: [48, 42, 40] Generated Node #0,3: 30:[48, 42, 40] Operation: 96-56=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[56, 42, 2], Operations: ['96/48=2'] Exploring Operation: 56-2=54, Resulting Numbers: [42, 54] Generated Node #0,2,0: 30:[42, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [42, 28] Generated Node #0,2,1: 30:[42, 28] Operation: 56/2=28 Exploring Operation: 42/2=21, Resulting Numbers: [56, 21] Generated Node #0,2,2: 30:[56, 21] Operation: 42/2=21 Exploring Operation: 56-42=14, Resulting Numbers: [2, 14] Generated Node #0,2,3: 30:[2, 14] Operation: 56-42=14 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[2, 14], Operations: ['96/48=2', '56-42=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[42, 28], Operations: ['96/48=2', '56/2=28'] Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,30 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 30:[56, 21], Operations: ['96/48=2', '42/2=21'] Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,30 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[42, 54], Operations: ['96/48=2', '56-2=54'] Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,30 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,30 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: 30:[48, 42, 40], Operations: ['96-56=40'] Exploring Operation: 48-40=8, Resulting Numbers: [42, 8] Generated Node #0,3,0: 30:[42, 8] Operation: 48-40=8 Exploring Operation: 42-40=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 30:[48, 2] Operation: 42-40=2 Exploring Operation: 48-42=6, Resulting Numbers: [40, 6] Generated Node #0,3,2: 30:[40, 6] Operation: 48-42=6 Exploring Operation: 48+42=90, Resulting Numbers: [40, 90] Generated Node #0,3,3: 30:[40, 90] Operation: 48+42=90 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 30:[40, 6], Operations: ['96-56=40', '48-42=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,30 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 30:[42, 8], Operations: ['96-56=40', '48-40=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,30 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 30:[48, 2], Operations: ['96-56=40', '42-40=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,30 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 30:[40, 90], Operations: ['96-56=40', '48+42=90'] Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 40*90=3600, Resulting Numbers: [3600] 3600,30 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,30 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: 30:[56, 42, 48], Operations: ['96-48=48'] Exploring Operation: 48-42=6, Resulting Numbers: [56, 6] Generated Node #0,1,0: 30:[56, 6] Operation: 48-42=6 Exploring Operation: 56-48=8, Resulting Numbers: [42, 8] Generated Node #0,1,1: 30:[42, 8] Operation: 56-48=8 Exploring Operation: 56+42=98, Resulting Numbers: [48, 98] Generated Node #0,1,2: 30:[48, 98] Operation: 56+42=98 Exploring Operation: 56-42=14, Resulting Numbers: [48, 14] Generated Node #0,1,3: 30:[48, 14] Operation: 56-42=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[42, 8], Operations: ['96-48=48', '56-48=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 30:[48, 14], Operations: ['96-48=48', '56-42=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,30 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[56, 6], Operations: ['96-48=48', '48-42=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,30 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[48, 98], Operations: ['96-48=48', '56+42=98'] Exploring Operation: 48*98=4704, Resulting Numbers: [4704] 4704,30 unequal: No Solution Exploring Operation: 48+98=146, Resulting Numbers: [146] 146,30 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,30 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: 30:[56, 48, 54], Operations: ['96-42=54'] Exploring Operation: 56-48=8, Resulting Numbers: [54, 8] Generated Node #0,0,0: 30:[54, 8] Operation: 56-48=8 Exploring Operation: 56+48=104, Resulting Numbers: [54, 104] Generated Node #0,0,1: 30:[54, 104] Operation: 56+48=104 Exploring Operation: 56-54=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 30:[48, 2] Operation: 56-54=2 Exploring Operation: 54-48=6, Resulting Numbers: [56, 6] Generated Node #0,0,3: 30:[56, 6] Operation: 54-48=6 Moving to Node #0,0,2 Current State: 30:[48, 2], Operations: ['96-42=54', '56-54=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,30 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[56, 6], Operations: ['96-42=54', '54-48=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[54, 8], Operations: ['96-42=54', '56-48=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,30 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[54, 104], Operations: ['96-42=54', '56+48=104'] Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,30 unequal: No Solution Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,30 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