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
[ 85, 78, 67, 15 ]
80
[ "78-67=11", "15*11=165", "165-85=80" ]
Current State: 80:[85, 78, 67, 15], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [85, 15, 11] Generated Node #2: [85, 15, 11] from Operation: 78-67=11 Current State: 80:[85, 15, 11], Operations: ['78-67=11'] Exploring Operation: 15*11=165, Resulting Numbers: [85, 165] Generated Node #3: [85, 165] from Operation: 15*11=165 Current State: 80:[85, 165], Operations: ['78-67=11', '15*11=165'] Exploring Operation: 165-85=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[85, 78, 67, 15], Operations: [] Exploring Operation: 67+15=82, Resulting Numbers: [85, 78, 82] Generated Node #0,0: 80:[85, 78, 82] Operation: 67+15=82 Exploring Operation: 85-67=18, Resulting Numbers: [78, 15, 18] Generated Node #0,1: 80:[78, 15, 18] Operation: 85-67=18 Exploring Operation: 85-78=7, Resulting Numbers: [67, 15, 7] Generated Node #0,2: 80:[67, 15, 7] Operation: 85-78=7 Exploring Operation: 78-67=11, Resulting Numbers: [85, 15, 11] Generated Node #0,3: 80:[85, 15, 11] Operation: 78-67=11 Moving to Node #0,1 Current State: 80:[78, 15, 18], Operations: ['85-67=18'] Exploring Operation: 18-15=3, Resulting Numbers: [78, 3] Generated Node #0,1,0: 80:[78, 3] Operation: 18-15=3 Exploring Operation: 15+18=33, Resulting Numbers: [78, 33] Generated Node #0,1,1: 80:[78, 33] Operation: 15+18=33 Exploring Operation: 78+15=93, Resulting Numbers: [18, 93] Generated Node #0,1,2: 80:[18, 93] Operation: 78+15=93 Exploring Operation: 78+18=96, Resulting Numbers: [15, 96] Generated Node #0,1,3: 80:[15, 96] Operation: 78+18=96 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[78, 3], Operations: ['85-67=18', '18-15=3'] Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,80 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[78, 33], Operations: ['85-67=18', '15+18=33'] Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 78*33=2574, Resulting Numbers: [2574] 2574,80 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[18, 93], Operations: ['85-67=18', '78+15=93'] Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,80 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[15, 96], Operations: ['85-67=18', '78+18=96'] Exploring Operation: 15*96=1440, Resulting Numbers: [1440] 1440,80 unequal: No Solution Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,80 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: 80:[85, 15, 11], Operations: ['78-67=11'] Exploring Operation: 15-11=4, Resulting Numbers: [85, 4] Generated Node #0,3,0: 80:[85, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [85, 26] Generated Node #0,3,1: 80:[85, 26] Operation: 15+11=26 Exploring Operation: 85-11=74, Resulting Numbers: [15, 74] Generated Node #0,3,2: 80:[15, 74] Operation: 85-11=74 Exploring Operation: 85-15=70, Resulting Numbers: [11, 70] Generated Node #0,3,3: 80:[11, 70] Operation: 85-15=70 Moving to Node #0,0 Current State: 80:[85, 78, 82], Operations: ['67+15=82'] Exploring Operation: 85+78=163, Resulting Numbers: [82, 163] Generated Node #0,0,0: 80:[82, 163] Operation: 85+78=163 Exploring Operation: 85-82=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 80:[78, 3] Operation: 85-82=3 Exploring Operation: 82-78=4, Resulting Numbers: [85, 4] Generated Node #0,0,2: 80:[85, 4] Operation: 82-78=4 Exploring Operation: 85-78=7, Resulting Numbers: [82, 7] Generated Node #0,0,3: 80:[82, 7] Operation: 85-78=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[78, 3], Operations: ['67+15=82', '85-82=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,80 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[82, 7], Operations: ['67+15=82', '85-78=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[85, 4], Operations: ['67+15=82', '82-78=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[82, 163], Operations: ['67+15=82', '85+78=163'] Exploring Operation: 82+163=245, Resulting Numbers: [245] 245,80 unequal: No Solution Exploring Operation: 82*163=13366, Resulting Numbers: [13366] 13366,80 unequal: No Solution Exploring Operation: 163-82=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[67, 15, 7], Operations: ['85-78=7'] Exploring Operation: 67+15=82, Resulting Numbers: [7, 82] Generated Node #0,2,0: 80:[7, 82] Operation: 67+15=82 Exploring Operation: 15-7=8, Resulting Numbers: [67, 8] Generated Node #0,2,1: 80:[67, 8] Operation: 15-7=8 Exploring Operation: 67-15=52, Resulting Numbers: [7, 52] Generated Node #0,2,2: 80:[7, 52] Operation: 67-15=52 Exploring Operation: 67+7=74, Resulting Numbers: [15, 74] Generated Node #0,2,3: 80:[15, 74] Operation: 67+7=74 Moving to Node #0,2,0 Current State: 80:[7, 82], Operations: ['85-78=7', '67+15=82'] Exploring Operation: 7+82=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 7*82=574, Resulting Numbers: [574] 574,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[85, 4], Operations: ['78-67=11', '15-11=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,80 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[15, 74], Operations: ['85-78=7', '67+7=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,80 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[15, 74], Operations: ['78-67=11', '85-11=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,80 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[85, 26], Operations: ['78-67=11', '15+11=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,80 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[11, 70], Operations: ['78-67=11', '85-15=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,80 unequal: No Solution Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[67, 8], Operations: ['85-78=7', '15-7=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,80 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[7, 52], Operations: ['85-78=7', '67-15=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,80 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 17, 14, 92, 21 ]
50
[ "92-17=75", "14*75=1050", "1050/21=50" ]
Current State: 50:[17, 14, 92, 21], Operations: [] Exploring Operation: 92-17=75, Resulting Numbers: [14, 21, 75] Generated Node #2: [14, 21, 75] from Operation: 92-17=75 Current State: 50:[14, 21, 75], Operations: ['92-17=75'] Exploring Operation: 14*75=1050, Resulting Numbers: [21, 1050] Generated Node #3: [21, 1050] from Operation: 14*75=1050 Current State: 50:[21, 1050], Operations: ['92-17=75', '14*75=1050'] Exploring Operation: 1050/21=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[17, 14, 92, 21], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [17, 14, 71] Generated Node #0,0: 50:[17, 14, 71] Operation: 92-21=71 Exploring Operation: 17-14=3, Resulting Numbers: [92, 21, 3] Generated Node #0,1: 50:[92, 21, 3] Operation: 17-14=3 Exploring Operation: 92-17=75, Resulting Numbers: [14, 21, 75] Generated Node #0,2: 50:[14, 21, 75] Operation: 92-17=75 Exploring Operation: 92-14=78, Resulting Numbers: [17, 21, 78] Generated Node #0,3: 50:[17, 21, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 50:[17, 14, 71], Operations: ['92-21=71'] Exploring Operation: 71-17=54, Resulting Numbers: [14, 54] Generated Node #0,0,0: 50:[14, 54] Operation: 71-17=54 Exploring Operation: 17-14=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 50:[71, 3] Operation: 17-14=3 Exploring Operation: 17+14=31, Resulting Numbers: [71, 31] Generated Node #0,0,2: 50:[71, 31] Operation: 17+14=31 Exploring Operation: 71-14=57, Resulting Numbers: [17, 57] Generated Node #0,0,3: 50:[17, 57] Operation: 71-14=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[14, 54], Operations: ['92-21=71', '71-17=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,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,3 Current State: 50:[17, 57], Operations: ['92-21=71', '71-14=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,50 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,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:[71, 3], Operations: ['92-21=71', '17-14=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,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,2 Current State: 50:[71, 31], Operations: ['92-21=71', '17+14=31'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 71*31=2201, Resulting Numbers: [2201] 2201,50 unequal: No Solution Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[14, 21, 75], Operations: ['92-17=75'] Exploring Operation: 75-21=54, Resulting Numbers: [14, 54] Generated Node #0,2,0: 50:[14, 54] Operation: 75-21=54 Exploring Operation: 14+21=35, Resulting Numbers: [75, 35] Generated Node #0,2,1: 50:[75, 35] Operation: 14+21=35 Exploring Operation: 21-14=7, Resulting Numbers: [75, 7] Generated Node #0,2,2: 50:[75, 7] Operation: 21-14=7 Exploring Operation: 75-14=61, Resulting Numbers: [21, 61] Generated Node #0,2,3: 50:[21, 61] Operation: 75-14=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[14, 54], Operations: ['92-17=75', '75-21=54'] Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[21, 61], Operations: ['92-17=75', '75-14=61'] Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[75, 7], Operations: ['92-17=75', '21-14=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,50 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[75, 35], Operations: ['92-17=75', '14+21=35'] Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,50 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,50 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[17, 21, 78], Operations: ['92-14=78'] Exploring Operation: 78-17=61, Resulting Numbers: [21, 61] Generated Node #0,3,0: 50:[21, 61] Operation: 78-17=61 Exploring Operation: 78-21=57, Resulting Numbers: [17, 57] Generated Node #0,3,1: 50:[17, 57] Operation: 78-21=57 Exploring Operation: 17+21=38, Resulting Numbers: [78, 38] Generated Node #0,3,2: 50:[78, 38] Operation: 17+21=38 Exploring Operation: 21-17=4, Resulting Numbers: [78, 4] Generated Node #0,3,3: 50:[78, 4] Operation: 21-17=4 Moving to Node #0,1 Current State: 50:[92, 21, 3], Operations: ['17-14=3'] Exploring Operation: 21/3=7, Resulting Numbers: [92, 7] Generated Node #0,1,0: 50:[92, 7] Operation: 21/3=7 Exploring Operation: 92-21=71, Resulting Numbers: [3, 71] Generated Node #0,1,1: 50:[3, 71] Operation: 92-21=71 Exploring Operation: 21+3=24, Resulting Numbers: [92, 24] Generated Node #0,1,2: 50:[92, 24] Operation: 21+3=24 Exploring Operation: 92-3=89, Resulting Numbers: [21, 89] Generated Node #0,1,3: 50:[21, 89] Operation: 92-3=89 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[3, 71], Operations: ['17-14=3', '92-21=71'] Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,50 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[92, 24], Operations: ['17-14=3', '21+3=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,50 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[21, 89], Operations: ['17-14=3', '92-3=89'] Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 21+89=110, Resulting Numbers: [110] 110,50 unequal: No Solution Exploring Operation: 21*89=1869, Resulting Numbers: [1869] 1869,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:[92, 7], Operations: ['17-14=3', '21/3=7'] Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,50 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,50 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 50:[17, 57], Operations: ['92-14=78', '78-21=57'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,50 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[21, 61], Operations: ['92-14=78', '78-17=61'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[78, 4], Operations: ['92-14=78', '21-17=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,50 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[78, 38], Operations: ['92-14=78', '17+21=38'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,50 unequal: No Solution Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,50 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 60, 91, 74 ]
50
[ "7+60=67", "91-74=17", "67-17=50" ]
Current State: 50:[7, 60, 91, 74], Operations: [] Exploring Operation: 7+60=67, Resulting Numbers: [91, 74, 67] Generated Node #2: [91, 74, 67] from Operation: 7+60=67 Current State: 50:[91, 74, 67], Operations: ['7+60=67'] Exploring Operation: 91-74=17, Resulting Numbers: [67, 17] Generated Node #3: [67, 17] from Operation: 91-74=17 Current State: 50:[67, 17], Operations: ['7+60=67', '91-74=17'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 60, 91, 74], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [7, 74, 31] Generated Node #0,0: 50:[7, 74, 31] Operation: 91-60=31 Exploring Operation: 91/7=13, Resulting Numbers: [60, 74, 13] Generated Node #0,1: 50:[60, 74, 13] Operation: 91/7=13 Exploring Operation: 91-74=17, Resulting Numbers: [7, 60, 17] Generated Node #0,2: 50:[7, 60, 17] Operation: 91-74=17 Exploring Operation: 74-60=14, Resulting Numbers: [7, 91, 14] Generated Node #0,3: 50:[7, 91, 14] Operation: 74-60=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[7, 60, 17], Operations: ['91-74=17'] Exploring Operation: 60-17=43, Resulting Numbers: [7, 43] Generated Node #0,2,0: 50:[7, 43] Operation: 60-17=43 Exploring Operation: 60-7=53, Resulting Numbers: [17, 53] Generated Node #0,2,1: 50:[17, 53] Operation: 60-7=53 Exploring Operation: 7+17=24, Resulting Numbers: [60, 24] Generated Node #0,2,2: 50:[60, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [60, 10] Generated Node #0,2,3: 50:[60, 10] Operation: 17-7=10 Moving to Node #0,2,0 Current State: 50:[7, 43], Operations: ['91-74=17', '60-17=43'] Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,50 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[7, 60, 91, 74], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [7, 60, 17] Generated Node #0,2: 50:[7, 60, 17] Operation: 91-74=17 Moving to Node #0,2 Current State: 50:[7, 60, 17], Operations: ['91-74=17'] Exploring Operation: 60-17=43, Resulting Numbers: [7, 43] Generated Node #0,2,0: 50:[7, 43] Operation: 60-17=43 Moving to Node #0,2,0 Current State: 50:[7, 43], Operations: ['91-74=17', '60-17=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 2, 3, 27, 9 ]
39
[ "27-3=24", "2*24=48", "48-9=39" ]
Current State: 39:[2, 3, 27, 9], Operations: [] Exploring Operation: 27-3=24, Resulting Numbers: [2, 9, 24] Generated Node #2: [2, 9, 24] from Operation: 27-3=24 Current State: 39:[2, 9, 24], Operations: ['27-3=24'] Exploring Operation: 2*24=48, Resulting Numbers: [9, 48] Generated Node #3: [9, 48] from Operation: 2*24=48 Current State: 39:[9, 48], Operations: ['27-3=24', '2*24=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[2, 3, 27, 9], Operations: [] Exploring Operation: 27-9=18, Resulting Numbers: [2, 3, 18] Generated Node #0,0: 39:[2, 3, 18] Operation: 27-9=18 Exploring Operation: 27/3=9, Resulting Numbers: [2, 9, 9] Generated Node #0,1: 39:[2, 9, 9] Operation: 27/3=9 Exploring Operation: 27/9=3, Resulting Numbers: [2, 3, 3] Generated Node #0,2: 39:[2, 3, 3] Operation: 27/9=3 Exploring Operation: 27+9=36, Resulting Numbers: [2, 3, 36] Generated Node #0,3: 39:[2, 3, 36] Operation: 27+9=36 Moving to Node #0,2 Current State: 39:[2, 3, 3], Operations: ['27/9=3'] Exploring Operation: 3-2=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 39:[3, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 39:[3, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [3, 1] Generated Node #0,2,2: 39:[3, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [3, 5] Generated Node #0,2,3: 39:[3, 5] Operation: 2+3=5 Moving to Node #0,3 Current State: 39:[2, 3, 36], Operations: ['27+9=36'] Exploring Operation: 36/3=12, Resulting Numbers: [2, 12] Generated Node #0,3,0: 39:[2, 12] Operation: 36/3=12 Exploring Operation: 2+36=38, Resulting Numbers: [3, 38] Generated Node #0,3,1: 39:[3, 38] Operation: 2+36=38 Exploring Operation: 2+3=5, Resulting Numbers: [36, 5] Generated Node #0,3,2: 39:[36, 5] Operation: 2+3=5 Exploring Operation: 3+36=39, Resulting Numbers: [2, 39] Generated Node #0,3,3: 39:[2, 39] Operation: 3+36=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[3, 38], Operations: ['27+9=36', '2+36=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 39:[2, 39], Operations: ['27+9=36', '3+36=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[2, 12], Operations: ['27+9=36', '36/3=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[36, 5], Operations: ['27+9=36', '2+3=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,39 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,39 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: 39:[2, 3, 18], Operations: ['27-9=18'] Exploring Operation: 18/2=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 39:[3, 9] Operation: 18/2=9 Exploring Operation: 18-3=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 39:[2, 15] Operation: 18-3=15 Exploring Operation: 2*18=36, Resulting Numbers: [3, 36] Generated Node #0,0,2: 39:[3, 36] Operation: 2*18=36 Exploring Operation: 18-2=16, Resulting Numbers: [3, 16] Generated Node #0,0,3: 39:[3, 16] Operation: 18-2=16 Moving to Node #0,1 Current State: 39:[2, 9, 9], Operations: ['27/3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 39:[9, 11] Operation: 2+9=11 Exploring Operation: 9-9=0, Resulting Numbers: [2, 0] Generated Node #0,1,1: 39:[2, 0] Operation: 9-9=0 Exploring Operation: 2+9=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 39:[9, 11] Operation: 2+9=11 Exploring Operation: 9/9=1, Resulting Numbers: [2, 1] Generated Node #0,1,3: 39:[2, 1] Operation: 9/9=1 Moving to Node #0,2,0 Current State: 39:[3, 1], Operations: ['27/9=3', '3-2=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[3, 1], Operations: ['27/9=3', '3-2=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[3, 5], Operations: ['27/9=3', '2+3=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[3, 5], Operations: ['27/9=3', '2+3=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[3, 16], Operations: ['27-9=18', '18-2=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[3, 36], Operations: ['27-9=18', '2*18=36'] Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[2, 3, 27, 9], Operations: [] Exploring Operation: 27-9=18, Resulting Numbers: [2, 3, 18] Generated Node #0,0: 39:[2, 3, 18] Operation: 27-9=18 Moving to Node #0,0 Current State: 39:[2, 3, 18], Operations: ['27-9=18'] Exploring Operation: 2*18=36, Resulting Numbers: [3, 36] Generated Node #0,0,2: 39:[3, 36] Operation: 2*18=36 Moving to Node #0,0,2 Current State: 39:[3, 36], Operations: ['27-9=18', '2*18=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.949653
hs_4
sum_heuristic
[ 14, 70, 59, 57 ]
28
[ "70-14=56", "59-57=2", "56/2=28" ]
Current State: 28:[14, 70, 59, 57], Operations: [] Exploring Operation: 70-14=56, Resulting Numbers: [59, 57, 56] Generated Node #2: [59, 57, 56] from Operation: 70-14=56 Current State: 28:[59, 57, 56], Operations: ['70-14=56'] Exploring Operation: 59-57=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 59-57=2 Current State: 28:[56, 2], Operations: ['70-14=56', '59-57=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[14, 70, 59, 57], Operations: [] Exploring Operation: 70-57=13, Resulting Numbers: [14, 59, 13] Generated Node #0,0: 28:[14, 59, 13] Operation: 70-57=13 Exploring Operation: 59-57=2, Resulting Numbers: [14, 70, 2] Generated Node #0,1: 28:[14, 70, 2] Operation: 59-57=2 Exploring Operation: 70-59=11, Resulting Numbers: [14, 57, 11] Generated Node #0,2: 28:[14, 57, 11] Operation: 70-59=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[14, 59, 13], Operations: ['70-57=13'] Exploring Operation: 59-13=46, Resulting Numbers: [14, 46] Generated Node #0,0,0: 28:[14, 46] Operation: 59-13=46 Exploring Operation: 14+13=27, Resulting Numbers: [59, 27] Generated Node #0,0,1: 28:[59, 27] Operation: 14+13=27 Exploring Operation: 59-14=45, Resulting Numbers: [13, 45] Generated Node #0,0,2: 28:[13, 45] Operation: 59-14=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[14, 46], Operations: ['70-57=13', '59-13=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,28 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[13, 45], Operations: ['70-57=13', '59-14=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[59, 27], Operations: ['70-57=13', '14+13=27'] Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,28 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[14, 57, 11], Operations: ['70-59=11'] Exploring Operation: 57-11=46, Resulting Numbers: [14, 46] Generated Node #0,2,0: 28:[14, 46] Operation: 57-11=46 Exploring Operation: 14-11=3, Resulting Numbers: [57, 3] Generated Node #0,2,1: 28:[57, 3] Operation: 14-11=3 Exploring Operation: 57-14=43, Resulting Numbers: [11, 43] Generated Node #0,2,2: 28:[11, 43] Operation: 57-14=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[14, 46], Operations: ['70-59=11', '57-11=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,28 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[11, 43], Operations: ['70-59=11', '57-14=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,28 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[57, 3], Operations: ['70-59=11', '14-11=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[14, 70, 2], Operations: ['59-57=2'] Exploring Operation: 70-14=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 70-14=56 Exploring Operation: 70/2=35, Resulting Numbers: [14, 35] Generated Node #0,1,1: 28:[14, 35] Operation: 70/2=35 Exploring Operation: 70/14=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 28:[2, 5] Operation: 70/14=5 Moving to Node #0,1,2 Current State: 28:[2, 5], Operations: ['59-57=2', '70/14=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[14, 35], Operations: ['59-57=2', '70/2=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['59-57=2', '70-14=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[14, 70, 59, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [14, 70, 2] Generated Node #0,1: 28:[14, 70, 2] Operation: 59-57=2 Moving to Node #0,1 Current State: 28:[14, 70, 2], Operations: ['59-57=2'] Exploring Operation: 70-14=56, Resulting Numbers: [2, 56] Generated Node #0,1,0: 28:[2, 56] Operation: 70-14=56 Moving to Node #0,1,0 Current State: 28:[2, 56], Operations: ['59-57=2', '70-14=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
sum_heuristic
[ 11, 37, 22, 16 ]
73
[ "16-11=5", "22*5=110", "110-37=73" ]
Current State: 73:[11, 37, 22, 16], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [37, 22, 5] Generated Node #2: [37, 22, 5] from Operation: 16-11=5 Current State: 73:[37, 22, 5], Operations: ['16-11=5'] Exploring Operation: 22*5=110, Resulting Numbers: [37, 110] Generated Node #3: [37, 110] from Operation: 22*5=110 Current State: 73:[37, 110], Operations: ['16-11=5', '22*5=110'] Exploring Operation: 110-37=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[11, 37, 22, 16], Operations: [] Exploring Operation: 11+16=27, Resulting Numbers: [37, 22, 27] Generated Node #0,0: 73:[37, 22, 27] Operation: 11+16=27 Exploring Operation: 37+22=59, Resulting Numbers: [11, 16, 59] Generated Node #0,1: 73:[11, 16, 59] Operation: 37+22=59 Exploring Operation: 11+37=48, Resulting Numbers: [22, 16, 48] Generated Node #0,2: 73:[22, 16, 48] Operation: 11+37=48 Exploring Operation: 11+22=33, Resulting Numbers: [37, 16, 33] Generated Node #0,3: 73:[37, 16, 33] Operation: 11+22=33 Moving to Node #0,0 Current State: 73:[37, 22, 27], Operations: ['11+16=27'] Exploring Operation: 37+22=59, Resulting Numbers: [27, 59] Generated Node #0,0,0: 73:[27, 59] Operation: 37+22=59 Exploring Operation: 37-22=15, Resulting Numbers: [27, 15] Generated Node #0,0,1: 73:[27, 15] Operation: 37-22=15 Exploring Operation: 37+27=64, Resulting Numbers: [22, 64] Generated Node #0,0,2: 73:[22, 64] Operation: 37+27=64 Exploring Operation: 22+27=49, Resulting Numbers: [37, 49] Generated Node #0,0,3: 73:[37, 49] Operation: 22+27=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[27, 59], Operations: ['11+16=27', '37+22=59'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[22, 64], Operations: ['11+16=27', '37+27=64'] Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,73 unequal: No Solution Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[37, 49], Operations: ['11+16=27', '22+27=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[27, 15], Operations: ['11+16=27', '37-22=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,73 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: 73:[22, 16, 48], Operations: ['11+37=48'] Exploring Operation: 22+48=70, Resulting Numbers: [16, 70] Generated Node #0,2,0: 73:[16, 70] Operation: 22+48=70 Exploring Operation: 22-16=6, Resulting Numbers: [48, 6] Generated Node #0,2,1: 73:[48, 6] Operation: 22-16=6 Exploring Operation: 22+16=38, Resulting Numbers: [48, 38] Generated Node #0,2,2: 73:[48, 38] Operation: 22+16=38 Exploring Operation: 16+48=64, Resulting Numbers: [22, 64] Generated Node #0,2,3: 73:[22, 64] Operation: 16+48=64 Moving to Node #0,1 Current State: 73:[11, 16, 59], Operations: ['37+22=59'] Exploring Operation: 16+59=75, Resulting Numbers: [11, 75] Generated Node #0,1,0: 73:[11, 75] Operation: 16+59=75 Exploring Operation: 11+59=70, Resulting Numbers: [16, 70] Generated Node #0,1,1: 73:[16, 70] Operation: 11+59=70 Exploring Operation: 16-11=5, Resulting Numbers: [59, 5] Generated Node #0,1,2: 73:[59, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [59, 27] Generated Node #0,1,3: 73:[59, 27] Operation: 11+16=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[16, 70], Operations: ['37+22=59', '11+59=70'] Exploring Operation: 16*70=1120, Resulting Numbers: [1120] 1120,73 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[59, 27], Operations: ['37+22=59', '11+16=27'] Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,73 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[11, 75], Operations: ['37+22=59', '16+59=75'] Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,73 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[59, 5], Operations: ['37+22=59', '16-11=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,73 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,73 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: 73:[37, 16, 33], Operations: ['11+22=33'] Exploring Operation: 37+16=53, Resulting Numbers: [33, 53] Generated Node #0,3,0: 73:[33, 53] Operation: 37+16=53 Exploring Operation: 37+33=70, Resulting Numbers: [16, 70] Generated Node #0,3,1: 73:[16, 70] Operation: 37+33=70 Exploring Operation: 37-16=21, Resulting Numbers: [33, 21] Generated Node #0,3,2: 73:[33, 21] Operation: 37-16=21 Exploring Operation: 16+33=49, Resulting Numbers: [37, 49] Generated Node #0,3,3: 73:[37, 49] Operation: 16+33=49 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[33, 53], Operations: ['11+22=33', '37+16=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,73 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[16, 70], Operations: ['11+22=33', '37+33=70'] Exploring Operation: 16*70=1120, Resulting Numbers: [1120] 1120,73 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[37, 49], Operations: ['11+22=33', '16+33=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[33, 21], Operations: ['11+22=33', '37-16=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,73 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,73 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: 73:[16, 70], Operations: ['11+37=48', '22+48=70'] Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 16*70=1120, Resulting Numbers: [1120] 1120,73 unequal: No Solution Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[22, 64], Operations: ['11+37=48', '16+48=64'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[48, 38], Operations: ['11+37=48', '22+16=38'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[48, 6], Operations: ['11+37=48', '22-16=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,73 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 9, 93, 17 ]
61
[ "40+9=49", "93+17=110", "110-49=61" ]
Current State: 61:[40, 9, 93, 17], Operations: [] Exploring Operation: 40+9=49, Resulting Numbers: [93, 17, 49] Generated Node #2: [93, 17, 49] from Operation: 40+9=49 Current State: 61:[93, 17, 49], Operations: ['40+9=49'] Exploring Operation: 93+17=110, Resulting Numbers: [49, 110] Generated Node #3: [49, 110] from Operation: 93+17=110 Current State: 61:[49, 110], Operations: ['40+9=49', '93+17=110'] Exploring Operation: 110-49=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[40, 9, 93, 17], Operations: [] Exploring Operation: 9+17=26, Resulting Numbers: [40, 93, 26] Generated Node #0,0: 61:[40, 93, 26] Operation: 9+17=26 Exploring Operation: 93-17=76, Resulting Numbers: [40, 9, 76] Generated Node #0,1: 61:[40, 9, 76] Operation: 93-17=76 Exploring Operation: 93-9=84, Resulting Numbers: [40, 17, 84] Generated Node #0,2: 61:[40, 17, 84] Operation: 93-9=84 Exploring Operation: 40+9=49, Resulting Numbers: [93, 17, 49] Generated Node #0,3: 61:[93, 17, 49] Operation: 40+9=49 Exploring Operation: 40+17=57, Resulting Numbers: [9, 93, 57] Generated Node #0,4: 61:[9, 93, 57] Operation: 40+17=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[40, 93, 26], Operations: ['9+17=26'] Exploring Operation: 93+26=119, Resulting Numbers: [40, 119] Generated Node #0,0,0: 61:[40, 119] Operation: 93+26=119 Exploring Operation: 40+26=66, Resulting Numbers: [93, 66] Generated Node #0,0,1: 61:[93, 66] Operation: 40+26=66 Exploring Operation: 93-26=67, Resulting Numbers: [40, 67] Generated Node #0,0,2: 61:[40, 67] Operation: 93-26=67 Exploring Operation: 93-40=53, Resulting Numbers: [26, 53] Generated Node #0,0,3: 61:[26, 53] Operation: 93-40=53 Exploring Operation: 40-26=14, Resulting Numbers: [93, 14] Generated Node #0,0,4: 61:[93, 14] Operation: 40-26=14 Moving to Node #0,0,2 Current State: 61:[40, 67], Operations: ['9+17=26', '93-26=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[93, 66], Operations: ['9+17=26', '40+26=66'] Exploring Operation: 93+66=159, Resulting Numbers: [159] 159,61 unequal: No Solution Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 93*66=6138, Resulting Numbers: [6138] 6138,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[26, 53], Operations: ['9+17=26', '93-40=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[40, 119], Operations: ['9+17=26', '93+26=119'] Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,61 unequal: No Solution Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,61 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[93, 14], Operations: ['9+17=26', '40-26=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 93*14=1302, Resulting Numbers: [1302] 1302,61 unequal: No Solution Exploring Operation: 93+14=107, Resulting Numbers: [107] 107,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:[40, 9, 76], Operations: ['93-17=76'] Exploring Operation: 40-9=31, Resulting Numbers: [76, 31] Generated Node #0,1,0: 61:[76, 31] Operation: 40-9=31 Exploring Operation: 40+9=49, Resulting Numbers: [76, 49] Generated Node #0,1,1: 61:[76, 49] Operation: 40+9=49 Exploring Operation: 76-9=67, Resulting Numbers: [40, 67] Generated Node #0,1,2: 61:[40, 67] Operation: 76-9=67 Exploring Operation: 76-40=36, Resulting Numbers: [9, 36] Generated Node #0,1,3: 61:[9, 36] Operation: 76-40=36 Exploring Operation: 9+76=85, Resulting Numbers: [40, 85] Generated Node #0,1,4: 61:[40, 85] Operation: 9+76=85 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[76, 49], Operations: ['93-17=76', '40+9=49'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,61 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,61 unequal: No Solution No 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: 61:[40, 67], Operations: ['93-17=76', '76-9=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,61 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,61 unequal: No Solution No 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: 61:[76, 31], Operations: ['93-17=76', '40-9=31'] Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,61 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,61 unequal: No Solution No 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: 61:[40, 85], Operations: ['93-17=76', '9+76=85'] Exploring Operation: 40+85=125, Resulting Numbers: [125] 125,61 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 40*85=3400, Resulting Numbers: [3400] 3400,61 unequal: No Solution No 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: 61:[9, 36], Operations: ['93-17=76', '76-40=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,61 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,61 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: 61:[40, 17, 84], Operations: ['93-9=84'] Exploring Operation: 84-40=44, Resulting Numbers: [17, 44] Generated Node #0,2,0: 61:[17, 44] Operation: 84-40=44 Exploring Operation: 84-17=67, Resulting Numbers: [40, 67] Generated Node #0,2,1: 61:[40, 67] Operation: 84-17=67 Exploring Operation: 40+17=57, Resulting Numbers: [84, 57] Generated Node #0,2,2: 61:[84, 57] Operation: 40+17=57 Exploring Operation: 17+84=101, Resulting Numbers: [40, 101] Generated Node #0,2,3: 61:[40, 101] Operation: 17+84=101 Exploring Operation: 40-17=23, Resulting Numbers: [84, 23] Generated Node #0,2,4: 61:[84, 23] Operation: 40-17=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[40, 67], Operations: ['93-9=84', '84-17=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,61 unequal: No Solution No 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: 61:[84, 57], Operations: ['93-9=84', '40+17=57'] Exploring Operation: 84*57=4788, Resulting Numbers: [4788] 4788,61 unequal: No Solution Exploring Operation: 84+57=141, Resulting Numbers: [141] 141,61 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,61 unequal: No Solution No 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: 61:[17, 44], Operations: ['93-9=84', '84-40=44'] Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,61 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[40, 9, 93, 17], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [40, 17, 84] Generated Node #0,2: 61:[40, 17, 84] Operation: 93-9=84 Moving to Node #0,2 Current State: 61:[40, 17, 84], Operations: ['93-9=84'] Exploring Operation: 84-40=44, Resulting Numbers: [17, 44] Generated Node #0,2,0: 61:[17, 44] Operation: 84-40=44 Moving to Node #0,2,0 Current State: 61:[17, 44], Operations: ['93-9=84', '84-40=44'] Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
mult_heuristic
[ 96, 25, 58, 95 ]
82
[ "96-25=71", "58+95=153", "153-71=82" ]
Current State: 82:[96, 25, 58, 95], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [58, 95, 71] Generated Node #2: [58, 95, 71] from Operation: 96-25=71 Current State: 82:[58, 95, 71], Operations: ['96-25=71'] Exploring Operation: 58+95=153, Resulting Numbers: [71, 153] Generated Node #3: [71, 153] from Operation: 58+95=153 Current State: 82:[71, 153], Operations: ['96-25=71', '58+95=153'] Exploring Operation: 153-71=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[96, 25, 58, 95], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [25, 58, 1] Generated Node #0,0: 82:[25, 58, 1] Operation: 96-95=1 Exploring Operation: 96-58=38, Resulting Numbers: [25, 95, 38] Generated Node #0,1: 82:[25, 95, 38] Operation: 96-58=38 Exploring Operation: 25+58=83, Resulting Numbers: [96, 95, 83] Generated Node #0,2: 82:[96, 95, 83] Operation: 25+58=83 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[96, 95, 83], Operations: ['25+58=83'] Exploring Operation: 95-83=12, Resulting Numbers: [96, 12] Generated Node #0,2,0: 82:[96, 12] Operation: 95-83=12 Exploring Operation: 96-95=1, Resulting Numbers: [83, 1] Generated Node #0,2,1: 82:[83, 1] Operation: 96-95=1 Exploring Operation: 96-83=13, Resulting Numbers: [95, 13] Generated Node #0,2,2: 82:[95, 13] Operation: 96-83=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[83, 1], Operations: ['25+58=83', '96-95=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[96, 25, 58, 95], Operations: [] Exploring Operation: 25+58=83, Resulting Numbers: [96, 95, 83] Generated Node #0,2: 82:[96, 95, 83] Operation: 25+58=83 Moving to Node #0,2 Current State: 82:[96, 95, 83], Operations: ['25+58=83'] Exploring Operation: 96-95=1, Resulting Numbers: [83, 1] Generated Node #0,2,1: 82:[83, 1] Operation: 96-95=1 Moving to Node #0,2,1 Current State: 82:[83, 1], Operations: ['25+58=83', '96-95=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 68, 16, 32, 66 ]
80
[ "68-66=2", "32*2=64", "16+64=80" ]
Current State: 80:[68, 16, 32, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [16, 32, 2] Generated Node #2: [16, 32, 2] from Operation: 68-66=2 Current State: 80:[16, 32, 2], Operations: ['68-66=2'] Exploring Operation: 32*2=64, Resulting Numbers: [16, 64] Generated Node #3: [16, 64] from Operation: 32*2=64 Current State: 80:[16, 64], Operations: ['68-66=2', '32*2=64'] Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[68, 16, 32, 66], Operations: [] Exploring Operation: 16+66=82, Resulting Numbers: [68, 32, 82] Generated Node #0,0: 80:[68, 32, 82] Operation: 16+66=82 Exploring Operation: 68-32=36, Resulting Numbers: [16, 66, 36] Generated Node #0,1: 80:[16, 66, 36] Operation: 68-32=36 Exploring Operation: 68+16=84, Resulting Numbers: [32, 66, 84] Generated Node #0,2: 80:[32, 66, 84] Operation: 68+16=84 Exploring Operation: 68-66=2, Resulting Numbers: [16, 32, 2] Generated Node #0,3: 80:[16, 32, 2] Operation: 68-66=2 Exploring Operation: 66-32=34, Resulting Numbers: [68, 16, 34] Generated Node #0,4: 80:[68, 16, 34] Operation: 66-32=34 Moving to Node #0,3 Current State: 80:[16, 32, 2], Operations: ['68-66=2'] Exploring Operation: 32-16=16, Resulting Numbers: [2, 16] Generated Node #0,3,0: 80:[2, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 80:[2, 2] Operation: 32/16=2 Exploring Operation: 32/2=16, Resulting Numbers: [16, 16] Generated Node #0,3,2: 80:[16, 16] Operation: 32/2=16 Exploring Operation: 16+32=48, Resulting Numbers: [2, 48] Generated Node #0,3,3: 80:[2, 48] Operation: 16+32=48 Exploring Operation: 32+2=34, Resulting Numbers: [16, 34] Generated Node #0,3,4: 80:[16, 34] Operation: 32+2=34 Moving to Node #0,4 Current State: 80:[68, 16, 34], Operations: ['66-32=34'] Exploring Operation: 68-34=34, Resulting Numbers: [16, 34] Generated Node #0,4,0: 80:[16, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [16, 2] Generated Node #0,4,1: 80:[16, 2] Operation: 68/34=2 Exploring Operation: 34-16=18, Resulting Numbers: [68, 18] Generated Node #0,4,2: 80:[68, 18] Operation: 34-16=18 Exploring Operation: 68+16=84, Resulting Numbers: [34, 84] Generated Node #0,4,3: 80:[34, 84] Operation: 68+16=84 Exploring Operation: 68-16=52, Resulting Numbers: [34, 52] Generated Node #0,4,4: 80:[34, 52] Operation: 68-16=52 Moving to Node #0,1 Current State: 80:[16, 66, 36], Operations: ['68-32=36'] Exploring Operation: 66-36=30, Resulting Numbers: [16, 30] Generated Node #0,1,0: 80:[16, 30] Operation: 66-36=30 Exploring Operation: 66+36=102, Resulting Numbers: [16, 102] Generated Node #0,1,1: 80:[16, 102] Operation: 66+36=102 Exploring Operation: 16+66=82, Resulting Numbers: [36, 82] Generated Node #0,1,2: 80:[36, 82] Operation: 16+66=82 Exploring Operation: 36-16=20, Resulting Numbers: [66, 20] Generated Node #0,1,3: 80:[66, 20] Operation: 36-16=20 Exploring Operation: 66-16=50, Resulting Numbers: [36, 50] Generated Node #0,1,4: 80:[36, 50] Operation: 66-16=50 Moving to Node #0,0 Current State: 80:[68, 32, 82], Operations: ['16+66=82'] Exploring Operation: 32+82=114, Resulting Numbers: [68, 114] Generated Node #0,0,0: 80:[68, 114] Operation: 32+82=114 Exploring Operation: 68-32=36, Resulting Numbers: [82, 36] Generated Node #0,0,1: 80:[82, 36] Operation: 68-32=36 Exploring Operation: 68+32=100, Resulting Numbers: [82, 100] Generated Node #0,0,2: 80:[82, 100] Operation: 68+32=100 Exploring Operation: 82-32=50, Resulting Numbers: [68, 50] Generated Node #0,0,3: 80:[68, 50] Operation: 82-32=50 Exploring Operation: 82-68=14, Resulting Numbers: [32, 14] Generated Node #0,0,4: 80:[32, 14] Operation: 82-68=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[82, 36], Operations: ['16+66=82', '68-32=36'] Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[32, 14], Operations: ['16+66=82', '82-68=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[82, 100], Operations: ['16+66=82', '68+32=100'] Exploring Operation: 82*100=8200, Resulting Numbers: [8200] 8200,80 unequal: No Solution Exploring Operation: 100-82=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 82+100=182, Resulting Numbers: [182] 182,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[68, 50], Operations: ['16+66=82', '82-32=50'] Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,80 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[68, 114], Operations: ['16+66=82', '32+82=114'] Exploring Operation: 68*114=7752, Resulting Numbers: [7752] 7752,80 unequal: No Solution Exploring Operation: 114-68=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 68+114=182, Resulting Numbers: [182] 182,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[32, 66, 84], Operations: ['68+16=84'] Exploring Operation: 66-32=34, Resulting Numbers: [84, 34] Generated Node #0,2,0: 80:[84, 34] Operation: 66-32=34 Exploring Operation: 84-66=18, Resulting Numbers: [32, 18] Generated Node #0,2,1: 80:[32, 18] Operation: 84-66=18 Exploring Operation: 84-32=52, Resulting Numbers: [66, 52] Generated Node #0,2,2: 80:[66, 52] Operation: 84-32=52 Exploring Operation: 32+84=116, Resulting Numbers: [66, 116] Generated Node #0,2,3: 80:[66, 116] Operation: 32+84=116 Exploring Operation: 32+66=98, Resulting Numbers: [84, 98] Generated Node #0,2,4: 80:[84, 98] Operation: 32+66=98 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[84, 34], Operations: ['68+16=84', '66-32=34'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[32, 18], Operations: ['68+16=84', '84-66=18'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,80 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 80:[84, 98], Operations: ['68+16=84', '32+66=98'] Exploring Operation: 84+98=182, Resulting Numbers: [182] 182,80 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 84*98=8232, Resulting Numbers: [8232] 8232,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[66, 52], Operations: ['68+16=84', '84-32=52'] Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,80 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[66, 116], Operations: ['68+16=84', '32+84=116'] Exploring Operation: 66+116=182, Resulting Numbers: [182] 182,80 unequal: No Solution Exploring Operation: 116-66=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 66*116=7656, Resulting Numbers: [7656] 7656,80 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: 80:[2, 16], Operations: ['68-66=2', '32-16=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[16, 16], Operations: ['68-66=2', '32/2=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[16, 2], Operations: ['66-32=34', '68/34=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[2, 2], Operations: ['68-66=2', '32/16=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[16, 34], Operations: ['66-32=34', '68-34=34'] Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,80 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[36, 82], Operations: ['68-32=36', '16+66=82'] Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,80 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[16, 34], Operations: ['68-66=2', '32+2=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[2, 48], Operations: ['68-66=2', '16+32=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[16, 30], Operations: ['68-32=36', '66-36=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,80 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[34, 84], Operations: ['66-32=34', '68+16=84'] Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[36, 50], Operations: ['68-32=36', '66-16=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[66, 20], Operations: ['68-32=36', '36-16=20'] Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,80 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[68, 18], Operations: ['66-32=34', '34-16=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,80 unequal: No Solution Moving to Node #0,4,4 Current State: 80:[34, 52], Operations: ['66-32=34', '68-16=52'] Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,80 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[16, 102], Operations: ['68-32=36', '66+36=102'] Exploring Operation: 16*102=1632, Resulting Numbers: [1632] 1632,80 unequal: No Solution Exploring Operation: 16+102=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 102-16=86, Resulting Numbers: [86] 86,80 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 87, 13, 75, 73 ]
75
[ "87-13=74", "74-73=1", "75*1=75" ]
Current State: 75:[87, 13, 75, 73], Operations: [] Exploring Operation: 87-13=74, Resulting Numbers: [75, 73, 74] Generated Node #2: [75, 73, 74] from Operation: 87-13=74 Current State: 75:[75, 73, 74], Operations: ['87-13=74'] Exploring Operation: 74-73=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 74-73=1 Current State: 75:[75, 1], Operations: ['87-13=74', '74-73=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[87, 13, 75, 73], Operations: [] Exploring Operation: 87-13=74, Resulting Numbers: [75, 73, 74] Generated Node #0,0: 75:[75, 73, 74] Operation: 87-13=74 Exploring Operation: 87-73=14, Resulting Numbers: [13, 75, 14] Generated Node #0,1: 75:[13, 75, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 75:[75, 73, 74], Operations: ['87-13=74'] Exploring Operation: 74-73=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 75:[75, 1] Operation: 74-73=1 Exploring Operation: 75-73=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 75:[74, 2] Operation: 75-73=2 Moving to Node #0,1 Current State: 75:[13, 75, 14], Operations: ['87-73=14'] Exploring Operation: 14-13=1, Resulting Numbers: [75, 1] Generated Node #0,1,0: 75:[75, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [75, 27] Generated Node #0,1,1: 75:[75, 27] Operation: 13+14=27 Moving to Node #0,0,0 Current State: 75:[75, 1], Operations: ['87-13=74', '74-73=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[87, 13, 75, 73], Operations: [] Exploring Operation: 87-13=74, Resulting Numbers: [75, 73, 74] Generated Node #0,0: 75:[75, 73, 74] Operation: 87-13=74 Moving to Node #0,0 Current State: 75:[75, 73, 74], Operations: ['87-13=74'] Exploring Operation: 74-73=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 75:[75, 1] Operation: 74-73=1 Moving to Node #0,0,0 Current State: 75:[75, 1], Operations: ['87-13=74', '74-73=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 13, 65, 96, 85 ]
89
[ "13+65=78", "96-85=11", "78+11=89" ]
Current State: 89:[13, 65, 96, 85], Operations: [] Exploring Operation: 13+65=78, Resulting Numbers: [96, 85, 78] Generated Node #2: [96, 85, 78] from Operation: 13+65=78 Current State: 89:[96, 85, 78], Operations: ['13+65=78'] Exploring Operation: 96-85=11, Resulting Numbers: [78, 11] Generated Node #3: [78, 11] from Operation: 96-85=11 Current State: 89:[78, 11], Operations: ['13+65=78', '96-85=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[13, 65, 96, 85], Operations: [] Exploring Operation: 96-13=83, Resulting Numbers: [65, 85, 83] Generated Node #0,0: 89:[65, 85, 83] Operation: 96-13=83 Exploring Operation: 13+85=98, Resulting Numbers: [65, 96, 98] Generated Node #0,1: 89:[65, 96, 98] Operation: 13+85=98 Exploring Operation: 13+65=78, Resulting Numbers: [96, 85, 78] Generated Node #0,2: 89:[96, 85, 78] Operation: 13+65=78 Moving to Node #0,2 Current State: 89:[96, 85, 78], Operations: ['13+65=78'] Exploring Operation: 85+78=163, Resulting Numbers: [96, 163] Generated Node #0,2,0: 89:[96, 163] Operation: 85+78=163 Exploring Operation: 96-85=11, Resulting Numbers: [78, 11] Generated Node #0,2,1: 89:[78, 11] Operation: 96-85=11 Exploring Operation: 96-78=18, Resulting Numbers: [85, 18] Generated Node #0,2,2: 89:[85, 18] Operation: 96-78=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[85, 18], Operations: ['13+65=78', '96-78=18'] Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,89 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,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,2,0 Current State: 89:[96, 163], Operations: ['13+65=78', '85+78=163'] Exploring Operation: 96+163=259, Resulting Numbers: [259] 259,89 unequal: No Solution Exploring Operation: 163-96=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 96*163=15648, Resulting Numbers: [15648] 15648,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,2,1 Current State: 89:[78, 11], Operations: ['13+65=78', '96-85=11'] Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,89 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[13, 65, 96, 85], Operations: [] Exploring Operation: 13+65=78, Resulting Numbers: [96, 85, 78] Generated Node #0,2: 89:[96, 85, 78] Operation: 13+65=78 Moving to Node #0,2 Current State: 89:[96, 85, 78], Operations: ['13+65=78'] Exploring Operation: 96-85=11, Resulting Numbers: [78, 11] Generated Node #0,2,1: 89:[78, 11] Operation: 96-85=11 Moving to Node #0,2,1 Current State: 89:[78, 11], Operations: ['13+65=78', '96-85=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 67, 8, 4, 66 ]
65
[ "8/4=2", "66*2=132", "132-67=65" ]
Current State: 65:[67, 8, 4, 66], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [67, 66, 2] Generated Node #2: [67, 66, 2] from Operation: 8/4=2 Current State: 65:[67, 66, 2], Operations: ['8/4=2'] Exploring Operation: 66*2=132, Resulting Numbers: [67, 132] Generated Node #3: [67, 132] from Operation: 66*2=132 Current State: 65:[67, 132], Operations: ['8/4=2', '66*2=132'] Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[67, 8, 4, 66], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [67, 66, 4] Generated Node #0,0: 65:[67, 66, 4] Operation: 8-4=4 Exploring Operation: 8+4=12, Resulting Numbers: [67, 66, 12] Generated Node #0,1: 65:[67, 66, 12] Operation: 8+4=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[67, 66, 4], Operations: ['8-4=4'] Exploring Operation: 67-66=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 65:[4, 1] Operation: 67-66=1 Exploring Operation: 67-4=63, Resulting Numbers: [66, 63] Generated Node #0,0,1: 65:[66, 63] Operation: 67-4=63 Moving to Node #0,0,1 Current State: 65:[66, 63], Operations: ['8-4=4', '67-4=63'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 66+63=129, Resulting Numbers: [129] 129,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[4, 1], Operations: ['8-4=4', '67-66=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,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,1 Current State: 65:[67, 66, 12], Operations: ['8+4=12'] Exploring Operation: 67-12=55, Resulting Numbers: [66, 55] Generated Node #0,1,0: 65:[66, 55] Operation: 67-12=55 Exploring Operation: 67-66=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 65:[12, 1] Operation: 67-66=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[12, 1], Operations: ['8+4=12', '67-66=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,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,1,0 Current State: 65:[66, 55], Operations: ['8+4=12', '67-12=55'] Exploring Operation: 66+55=121, Resulting Numbers: [121] 121,65 unequal: No Solution Exploring Operation: 66-55=11, Resulting Numbers: [11] 11,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 No solution found.
0
hs_2
mult_heuristic
[ 9, 3, 62, 90 ]
92
[ "9/3=3", "90/3=30", "62+30=92" ]
Current State: 92:[9, 3, 62, 90], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [62, 90, 3] Generated Node #2: [62, 90, 3] from Operation: 9/3=3 Current State: 92:[62, 90, 3], Operations: ['9/3=3'] Exploring Operation: 90/3=30, Resulting Numbers: [62, 30] Generated Node #3: [62, 30] from Operation: 90/3=30 Current State: 92:[62, 30], Operations: ['9/3=3', '90/3=30'] Exploring Operation: 62+30=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 3, 62, 90], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [62, 90, 3] Generated Node #0,0: 92:[62, 90, 3] Operation: 9/3=3 Exploring Operation: 62-9=53, Resulting Numbers: [3, 90, 53] Generated Node #0,1: 92:[3, 90, 53] Operation: 62-9=53 Exploring Operation: 9-3=6, Resulting Numbers: [62, 90, 6] Generated Node #0,2: 92:[62, 90, 6] Operation: 9-3=6 Exploring Operation: 90-62=28, Resulting Numbers: [9, 3, 28] Generated Node #0,3: 92:[9, 3, 28] Operation: 90-62=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[3, 90, 53], Operations: ['62-9=53'] Exploring Operation: 3+90=93, Resulting Numbers: [53, 93] Generated Node #0,1,0: 92:[53, 93] Operation: 3+90=93 Exploring Operation: 90-3=87, Resulting Numbers: [53, 87] Generated Node #0,1,1: 92:[53, 87] Operation: 90-3=87 Exploring Operation: 90-53=37, Resulting Numbers: [3, 37] Generated Node #0,1,2: 92:[3, 37] Operation: 90-53=37 Exploring Operation: 53-3=50, Resulting Numbers: [90, 50] Generated Node #0,1,3: 92:[90, 50] Operation: 53-3=50 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[90, 50], Operations: ['62-9=53', '53-3=50'] Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,92 unequal: No Solution 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 No 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: 92:[53, 93], Operations: ['62-9=53', '3+90=93'] Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 53+93=146, Resulting Numbers: [146] 146,92 unequal: No Solution Exploring Operation: 53*93=4929, Resulting Numbers: [4929] 4929,92 unequal: No Solution No 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: 92:[3, 37], Operations: ['62-9=53', '90-53=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,92 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,92 unequal: No Solution No 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: 92:[53, 87], Operations: ['62-9=53', '90-3=87'] Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,92 unequal: No Solution Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[9, 3, 28], Operations: ['90-62=28'] Exploring Operation: 9-3=6, Resulting Numbers: [28, 6] Generated Node #0,3,0: 92:[28, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [28, 3] Generated Node #0,3,1: 92:[28, 3] Operation: 9/3=3 Exploring Operation: 28-3=25, Resulting Numbers: [9, 25] Generated Node #0,3,2: 92:[9, 25] Operation: 28-3=25 Exploring Operation: 28-9=19, Resulting Numbers: [3, 19] Generated Node #0,3,3: 92:[3, 19] Operation: 28-9=19 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[3, 19], Operations: ['90-62=28', '28-9=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,92 unequal: No Solution No 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: 92:[28, 3], Operations: ['90-62=28', '9/3=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,92 unequal: No Solution No 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: 92:[28, 6], Operations: ['90-62=28', '9-3=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,92 unequal: No Solution No 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: 92:[9, 25], Operations: ['90-62=28', '28-3=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,92 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[62, 90, 3], Operations: ['9/3=3'] Exploring Operation: 90+3=93, Resulting Numbers: [62, 93] Generated Node #0,0,0: 92:[62, 93] Operation: 90+3=93 Exploring Operation: 90-62=28, Resulting Numbers: [3, 28] Generated Node #0,0,1: 92:[3, 28] Operation: 90-62=28 Exploring Operation: 62+3=65, Resulting Numbers: [90, 65] Generated Node #0,0,2: 92:[90, 65] Operation: 62+3=65 Exploring Operation: 62-3=59, Resulting Numbers: [90, 59] Generated Node #0,0,3: 92:[90, 59] Operation: 62-3=59 Moving to Node #0,0,1 Current State: 92:[3, 28], Operations: ['9/3=3', '90-62=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[90, 59], Operations: ['9/3=3', '62-3=59'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 90+59=149, Resulting Numbers: [149] 149,92 unequal: No Solution Exploring Operation: 90*59=5310, Resulting Numbers: [5310] 5310,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[62, 93], Operations: ['9/3=3', '90+3=93'] Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 62+93=155, Resulting Numbers: [155] 155,92 unequal: No Solution Exploring Operation: 62*93=5766, Resulting Numbers: [5766] 5766,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[90, 65], Operations: ['9/3=3', '62+3=65'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,92 unequal: No Solution Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,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 Current State: 92:[62, 90, 6], Operations: ['9-3=6'] Exploring Operation: 62+6=68, Resulting Numbers: [90, 68] Generated Node #0,2,0: 92:[90, 68] Operation: 62+6=68 Exploring Operation: 90-62=28, Resulting Numbers: [6, 28] Generated Node #0,2,1: 92:[6, 28] Operation: 90-62=28 Exploring Operation: 90+6=96, Resulting Numbers: [62, 96] Generated Node #0,2,2: 92:[62, 96] Operation: 90+6=96 Exploring Operation: 62-6=56, Resulting Numbers: [90, 56] Generated Node #0,2,3: 92:[90, 56] Operation: 62-6=56 Moving to Node #0,2,1 Current State: 92:[6, 28], Operations: ['9-3=6', '90-62=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,92 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[90, 56], Operations: ['9-3=6', '62-6=56'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,92 unequal: No Solution Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[62, 96], Operations: ['9-3=6', '90+6=96'] Exploring Operation: 62*96=5952, Resulting Numbers: [5952] 5952,92 unequal: No Solution Exploring Operation: 96-62=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 62+96=158, Resulting Numbers: [158] 158,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[90, 68], Operations: ['9-3=6', '62+6=68'] Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,92 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,92 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,92 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
[ 38, 89, 4, 99 ]
12
[ "89-38=51", "99-51=48", "48/4=12" ]
Current State: 12:[38, 89, 4, 99], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [4, 99, 51] Generated Node #2: [4, 99, 51] from Operation: 89-38=51 Current State: 12:[4, 99, 51], Operations: ['89-38=51'] Exploring Operation: 99-51=48, Resulting Numbers: [4, 48] Generated Node #3: [4, 48] from Operation: 99-51=48 Current State: 12:[4, 48], Operations: ['89-38=51', '99-51=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[38, 89, 4, 99], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [4, 99, 51] Generated Node #0,0: 12:[4, 99, 51] Operation: 89-38=51 Exploring Operation: 99-38=61, Resulting Numbers: [89, 4, 61] Generated Node #0,1: 12:[89, 4, 61] Operation: 99-38=61 Exploring Operation: 99-89=10, Resulting Numbers: [38, 4, 10] Generated Node #0,2: 12:[38, 4, 10] Operation: 99-89=10 Exploring Operation: 38-4=34, Resulting Numbers: [89, 99, 34] Generated Node #0,3: 12:[89, 99, 34] Operation: 38-4=34 Exploring Operation: 89-4=85, Resulting Numbers: [38, 99, 85] Generated Node #0,4: 12:[38, 99, 85] Operation: 89-4=85 Moving to Node #0,2 Current State: 12:[38, 4, 10], Operations: ['99-89=10'] Exploring Operation: 4+10=14, Resulting Numbers: [38, 14] Generated Node #0,2,0: 12:[38, 14] Operation: 4+10=14 Exploring Operation: 38-4=34, Resulting Numbers: [10, 34] Generated Node #0,2,1: 12:[10, 34] Operation: 38-4=34 Exploring Operation: 10-4=6, Resulting Numbers: [38, 6] Generated Node #0,2,2: 12:[38, 6] Operation: 10-4=6 Exploring Operation: 38-10=28, Resulting Numbers: [4, 28] Generated Node #0,2,3: 12:[4, 28] Operation: 38-10=28 Exploring Operation: 38+4=42, Resulting Numbers: [10, 42] Generated Node #0,2,4: 12:[10, 42] Operation: 38+4=42 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[4, 28], Operations: ['99-89=10', '38-10=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[10, 34], Operations: ['99-89=10', '38-4=34'] Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,12 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[38, 6], Operations: ['99-89=10', '10-4=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,12 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[38, 14], Operations: ['99-89=10', '4+10=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,12 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[10, 42], Operations: ['99-89=10', '38+4=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,12 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,12 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: 12:[89, 4, 61], Operations: ['99-38=61'] Exploring Operation: 61-4=57, Resulting Numbers: [89, 57] Generated Node #0,1,0: 12:[89, 57] Operation: 61-4=57 Exploring Operation: 4+61=65, Resulting Numbers: [89, 65] Generated Node #0,1,1: 12:[89, 65] Operation: 4+61=65 Exploring Operation: 89+4=93, Resulting Numbers: [61, 93] Generated Node #0,1,2: 12:[61, 93] Operation: 89+4=93 Exploring Operation: 89-61=28, Resulting Numbers: [4, 28] Generated Node #0,1,3: 12:[4, 28] Operation: 89-61=28 Exploring Operation: 89-4=85, Resulting Numbers: [61, 85] Generated Node #0,1,4: 12:[61, 85] Operation: 89-4=85 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[4, 28], Operations: ['99-38=61', '89-61=28'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,12 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[89, 57], Operations: ['99-38=61', '61-4=57'] Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,12 unequal: No Solution Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 12:[61, 85], Operations: ['99-38=61', '89-4=85'] Exploring Operation: 61+85=146, Resulting Numbers: [146] 146,12 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 61*85=5185, Resulting Numbers: [5185] 5185,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[89, 65], Operations: ['99-38=61', '4+61=65'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 89*65=5785, Resulting Numbers: [5785] 5785,12 unequal: No Solution Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[61, 93], Operations: ['99-38=61', '89+4=93'] Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 61*93=5673, Resulting Numbers: [5673] 5673,12 unequal: No Solution Exploring Operation: 61+93=154, Resulting Numbers: [154] 154,12 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: 12:[4, 99, 51], Operations: ['89-38=51'] Exploring Operation: 4+51=55, Resulting Numbers: [99, 55] Generated Node #0,0,0: 12:[99, 55] Operation: 4+51=55 Exploring Operation: 4+99=103, Resulting Numbers: [51, 103] Generated Node #0,0,1: 12:[51, 103] Operation: 4+99=103 Exploring Operation: 51-4=47, Resulting Numbers: [99, 47] Generated Node #0,0,2: 12:[99, 47] Operation: 51-4=47 Exploring Operation: 99-4=95, Resulting Numbers: [51, 95] Generated Node #0,0,3: 12:[51, 95] Operation: 99-4=95 Exploring Operation: 99-51=48, Resulting Numbers: [4, 48] Generated Node #0,0,4: 12:[4, 48] Operation: 99-51=48 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 12:[4, 48], Operations: ['89-38=51', '99-51=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[38, 89, 4, 99], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [4, 99, 51] Generated Node #0,0: 12:[4, 99, 51] Operation: 89-38=51 Moving to Node #0,0 Current State: 12:[4, 99, 51], Operations: ['89-38=51'] Exploring Operation: 99-51=48, Resulting Numbers: [4, 48] Generated Node #0,0,4: 12:[4, 48] Operation: 99-51=48 Moving to Node #0,0,4 Current State: 12:[4, 48], Operations: ['89-38=51', '99-51=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 90, 12, 72, 25 ]
10
[ "90*12=1080", "1080/72=15", "25-15=10" ]
Current State: 10:[90, 12, 72, 25], Operations: [] Exploring Operation: 90*12=1080, Resulting Numbers: [72, 25, 1080] Generated Node #2: [72, 25, 1080] from Operation: 90*12=1080 Current State: 10:[72, 25, 1080], Operations: ['90*12=1080'] Exploring Operation: 1080/72=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 1080/72=15 Current State: 10:[25, 15], Operations: ['90*12=1080', '1080/72=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[90, 12, 72, 25], Operations: [] Exploring Operation: 90-72=18, Resulting Numbers: [12, 25, 18] Generated Node #0,0: 10:[12, 25, 18] Operation: 90-72=18 Exploring Operation: 72/12=6, Resulting Numbers: [90, 25, 6] Generated Node #0,1: 10:[90, 25, 6] Operation: 72/12=6 Moving to Node #0,0 Current State: 10:[12, 25, 18], Operations: ['90-72=18'] Exploring Operation: 25-18=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 10:[12, 7] Operation: 25-18=7 Exploring Operation: 25-12=13, Resulting Numbers: [18, 13] Generated Node #0,0,1: 10:[18, 13] Operation: 25-12=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[12, 7], Operations: ['90-72=18', '25-18=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[18, 13], Operations: ['90-72=18', '25-12=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[90, 25, 6], Operations: ['72/12=6'] Exploring Operation: 90/6=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 10:[25, 15] Operation: 90/6=15 Exploring Operation: 90-25=65, Resulting Numbers: [6, 65] Generated Node #0,1,1: 10:[6, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[25, 15], Operations: ['72/12=6', '90/6=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[90, 12, 72, 25], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [90, 25, 6] Generated Node #0,1: 10:[90, 25, 6] Operation: 72/12=6 Moving to Node #0,1 Current State: 10:[90, 25, 6], Operations: ['72/12=6'] Exploring Operation: 90/6=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 10:[25, 15] Operation: 90/6=15 Moving to Node #0,1,0 Current State: 10:[25, 15], Operations: ['72/12=6', '90/6=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 91, 17, 86, 42 ]
43
[ "91-86=5", "17*5=85", "85-42=43" ]
Current State: 43:[91, 17, 86, 42], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [17, 42, 5] Generated Node #2: [17, 42, 5] from Operation: 91-86=5 Current State: 43:[17, 42, 5], Operations: ['91-86=5'] Exploring Operation: 17*5=85, Resulting Numbers: [42, 85] Generated Node #3: [42, 85] from Operation: 17*5=85 Current State: 43:[42, 85], Operations: ['91-86=5', '17*5=85'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[91, 17, 86, 42], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [17, 42, 5] Generated Node #0,0: 43:[17, 42, 5] Operation: 91-86=5 Exploring Operation: 91-17=74, Resulting Numbers: [86, 42, 74] Generated Node #0,1: 43:[86, 42, 74] Operation: 91-17=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[17, 42, 5], Operations: ['91-86=5'] Exploring Operation: 42+5=47, Resulting Numbers: [17, 47] Generated Node #0,0,0: 43:[17, 47] Operation: 42+5=47 Exploring Operation: 17+5=22, Resulting Numbers: [42, 22] Generated Node #0,0,1: 43:[42, 22] Operation: 17+5=22 Moving to Node #0,0,1 Current State: 43:[42, 22], Operations: ['91-86=5', '17+5=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[17, 47], Operations: ['91-86=5', '42+5=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[86, 42, 74], Operations: ['91-17=74'] Exploring Operation: 86-42=44, Resulting Numbers: [74, 44] Generated Node #0,1,0: 43:[74, 44] Operation: 86-42=44 Exploring Operation: 86-74=12, Resulting Numbers: [42, 12] Generated Node #0,1,1: 43:[42, 12] Operation: 86-74=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[74, 44], Operations: ['91-17=74', '86-42=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,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,1,1 Current State: 43:[42, 12], Operations: ['91-17=74', '86-74=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,43 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
[ 45, 55, 86, 42 ]
36
[ "86-42=44", "45*44=1980", "1980/55=36" ]
Current State: 36:[45, 55, 86, 42], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [45, 55, 44] Generated Node #2: [45, 55, 44] from Operation: 86-42=44 Current State: 36:[45, 55, 44], Operations: ['86-42=44'] Exploring Operation: 45*44=1980, Resulting Numbers: [55, 1980] Generated Node #3: [55, 1980] from Operation: 45*44=1980 Current State: 36:[55, 1980], Operations: ['86-42=44', '45*44=1980'] Exploring Operation: 1980/55=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[45, 55, 86, 42], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [45, 86, 13] Generated Node #0,0: 36:[45, 86, 13] Operation: 55-42=13 Exploring Operation: 86-45=41, Resulting Numbers: [55, 42, 41] Generated Node #0,1: 36:[55, 42, 41] Operation: 86-45=41 Exploring Operation: 55-45=10, Resulting Numbers: [86, 42, 10] Generated Node #0,2: 36:[86, 42, 10] Operation: 55-45=10 Exploring Operation: 86-55=31, Resulting Numbers: [45, 42, 31] Generated Node #0,3: 36:[45, 42, 31] Operation: 86-55=31 Exploring Operation: 86-42=44, Resulting Numbers: [45, 55, 44] Generated Node #0,4: 36:[45, 55, 44] Operation: 86-42=44 Moving to Node #0,3 Current State: 36:[45, 42, 31], Operations: ['86-55=31'] Exploring Operation: 45+31=76, Resulting Numbers: [42, 76] Generated Node #0,3,0: 36:[42, 76] Operation: 45+31=76 Exploring Operation: 45-42=3, Resulting Numbers: [31, 3] Generated Node #0,3,1: 36:[31, 3] Operation: 45-42=3 Exploring Operation: 42+31=73, Resulting Numbers: [45, 73] Generated Node #0,3,2: 36:[45, 73] Operation: 42+31=73 Exploring Operation: 42-31=11, Resulting Numbers: [45, 11] Generated Node #0,3,3: 36:[45, 11] Operation: 42-31=11 Exploring Operation: 45-31=14, Resulting Numbers: [42, 14] Generated Node #0,3,4: 36:[42, 14] Operation: 45-31=14 Moving to Node #0,1 Current State: 36:[55, 42, 41], Operations: ['86-45=41'] Exploring Operation: 42-41=1, Resulting Numbers: [55, 1] Generated Node #0,1,0: 36:[55, 1] Operation: 42-41=1 Exploring Operation: 55-41=14, Resulting Numbers: [42, 14] Generated Node #0,1,1: 36:[42, 14] Operation: 55-41=14 Exploring Operation: 55+41=96, Resulting Numbers: [42, 96] Generated Node #0,1,2: 36:[42, 96] Operation: 55+41=96 Exploring Operation: 55+42=97, Resulting Numbers: [41, 97] Generated Node #0,1,3: 36:[41, 97] Operation: 55+42=97 Exploring Operation: 55-42=13, Resulting Numbers: [41, 13] Generated Node #0,1,4: 36:[41, 13] Operation: 55-42=13 Moving to Node #0,4 Current State: 36:[45, 55, 44], Operations: ['86-42=44'] Exploring Operation: 55-44=11, Resulting Numbers: [45, 11] Generated Node #0,4,0: 36:[45, 11] Operation: 55-44=11 Exploring Operation: 45+44=89, Resulting Numbers: [55, 89] Generated Node #0,4,1: 36:[55, 89] Operation: 45+44=89 Exploring Operation: 55-45=10, Resulting Numbers: [44, 10] Generated Node #0,4,2: 36:[44, 10] Operation: 55-45=10 Exploring Operation: 45+55=100, Resulting Numbers: [44, 100] Generated Node #0,4,3: 36:[44, 100] Operation: 45+55=100 Exploring Operation: 45-44=1, Resulting Numbers: [55, 1] Generated Node #0,4,4: 36:[55, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 36:[44, 10], Operations: ['86-42=44', '55-45=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[45, 11], Operations: ['86-42=44', '55-44=11'] Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,36 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 36:[55, 1], Operations: ['86-42=44', '45-44=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[55, 89], Operations: ['86-42=44', '45+44=89'] Exploring Operation: 55+89=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 55*89=4895, Resulting Numbers: [4895] 4895,36 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[44, 100], Operations: ['86-42=44', '45+55=100'] Exploring Operation: 44+100=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 100-44=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 44*100=4400, Resulting Numbers: [4400] 4400,36 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: 36:[86, 42, 10], Operations: ['55-45=10'] Exploring Operation: 42+10=52, Resulting Numbers: [86, 52] Generated Node #0,2,0: 36:[86, 52] Operation: 42+10=52 Exploring Operation: 86+10=96, Resulting Numbers: [42, 96] Generated Node #0,2,1: 36:[42, 96] Operation: 86+10=96 Exploring Operation: 86-42=44, Resulting Numbers: [10, 44] Generated Node #0,2,2: 36:[10, 44] Operation: 86-42=44 Exploring Operation: 86-10=76, Resulting Numbers: [42, 76] Generated Node #0,2,3: 36:[42, 76] Operation: 86-10=76 Exploring Operation: 42-10=32, Resulting Numbers: [86, 32] Generated Node #0,2,4: 36:[86, 32] Operation: 42-10=32 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[10, 44], Operations: ['55-45=10', '86-42=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,36 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[42, 76], Operations: ['55-45=10', '86-10=76'] Exploring Operation: 42*76=3192, Resulting Numbers: [3192] 3192,36 unequal: No Solution Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[86, 32], Operations: ['55-45=10', '42-10=32'] Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[86, 52], Operations: ['55-45=10', '42+10=52'] Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,36 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,36 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[42, 96], Operations: ['55-45=10', '86+10=96'] Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,36 unequal: No Solution Exploring Operation: 42*96=4032, Resulting Numbers: [4032] 4032,36 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 36:[45, 86, 13], Operations: ['55-42=13'] Exploring Operation: 86+13=99, Resulting Numbers: [45, 99] Generated Node #0,0,0: 36:[45, 99] Operation: 86+13=99 Exploring Operation: 86-45=41, Resulting Numbers: [13, 41] Generated Node #0,0,1: 36:[13, 41] Operation: 86-45=41 Exploring Operation: 86-13=73, Resulting Numbers: [45, 73] Generated Node #0,0,2: 36:[45, 73] Operation: 86-13=73 Exploring Operation: 45-13=32, Resulting Numbers: [86, 32] Generated Node #0,0,3: 36:[86, 32] Operation: 45-13=32 Exploring Operation: 45+13=58, Resulting Numbers: [86, 58] Generated Node #0,0,4: 36:[86, 58] Operation: 45+13=58 Moving to Node #0,3,1 Current State: 36:[31, 3], Operations: ['86-55=31', '45-42=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[41, 13], Operations: ['86-45=41', '55-42=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,36 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[13, 41], Operations: ['55-42=13', '86-45=41'] Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,36 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[42, 14], Operations: ['86-45=41', '55-41=14'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[42, 14], Operations: ['86-55=31', '45-31=14'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,36 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[45, 11], Operations: ['86-55=31', '42-31=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,36 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[55, 1], Operations: ['86-45=41', '42-41=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[45, 73], Operations: ['55-42=13', '86-13=73'] Exploring Operation: 45+73=118, Resulting Numbers: [118] 118,36 unequal: No Solution Exploring Operation: 45*73=3285, Resulting Numbers: [3285] 3285,36 unequal: No Solution Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[45, 73], Operations: ['86-55=31', '42+31=73'] Exploring Operation: 45*73=3285, Resulting Numbers: [3285] 3285,36 unequal: No Solution Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 45+73=118, Resulting Numbers: [118] 118,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[42, 76], Operations: ['86-55=31', '45+31=76'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 42*76=3192, Resulting Numbers: [3192] 3192,36 unequal: No Solution Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[86, 32], Operations: ['55-42=13', '45-13=32'] Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,36 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[42, 96], Operations: ['86-45=41', '55+41=96'] Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,36 unequal: No Solution Exploring Operation: 42*96=4032, Resulting Numbers: [4032] 4032,36 unequal: No Solution Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[41, 97], Operations: ['86-45=41', '55+42=97'] Exploring Operation: 41*97=3977, Resulting Numbers: [3977] 3977,36 unequal: No Solution Exploring Operation: 41+97=138, Resulting Numbers: [138] 138,36 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[45, 99], Operations: ['55-42=13', '86+13=99'] Exploring Operation: 45*99=4455, Resulting Numbers: [4455] 4455,36 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 45+99=144, Resulting Numbers: [144] 144,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[86, 58], Operations: ['55-42=13', '45+13=58'] Exploring Operation: 86*58=4988, Resulting Numbers: [4988] 4988,36 unequal: No Solution Exploring Operation: 86+58=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 27, 28, 13 ]
33
[ "27-13=14", "70/14=5", "28+5=33" ]
Current State: 33:[70, 27, 28, 13], Operations: [] Exploring Operation: 27-13=14, Resulting Numbers: [70, 28, 14] Generated Node #2: [70, 28, 14] from Operation: 27-13=14 Current State: 33:[70, 28, 14], Operations: ['27-13=14'] Exploring Operation: 70/14=5, Resulting Numbers: [28, 5] Generated Node #3: [28, 5] from Operation: 70/14=5 Current State: 33:[28, 5], Operations: ['27-13=14', '70/14=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[70, 27, 28, 13], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [27, 13, 42] Generated Node #0,0: 33:[27, 13, 42] Operation: 70-28=42 Exploring Operation: 28-27=1, Resulting Numbers: [70, 13, 1] Generated Node #0,1: 33:[70, 13, 1] Operation: 28-27=1 Exploring Operation: 70-13=57, Resulting Numbers: [27, 28, 57] Generated Node #0,2: 33:[27, 28, 57] Operation: 70-13=57 Exploring Operation: 70-27=43, Resulting Numbers: [28, 13, 43] Generated Node #0,3: 33:[28, 13, 43] Operation: 70-27=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[27, 13, 42], Operations: ['70-28=42'] Exploring Operation: 27-13=14, Resulting Numbers: [42, 14] Generated Node #0,0,0: 33:[42, 14] Operation: 27-13=14 Exploring Operation: 42-13=29, Resulting Numbers: [27, 29] Generated Node #0,0,1: 33:[27, 29] Operation: 42-13=29 Exploring Operation: 27+13=40, Resulting Numbers: [42, 40] Generated Node #0,0,2: 33:[42, 40] Operation: 27+13=40 Exploring Operation: 42-27=15, Resulting Numbers: [13, 15] Generated Node #0,0,3: 33:[13, 15] Operation: 42-27=15 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[13, 15], Operations: ['70-28=42', '42-27=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,33 unequal: No Solution No 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: 33:[27, 29], Operations: ['70-28=42', '42-13=29'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 27*29=783, Resulting Numbers: [783] 783,33 unequal: No Solution No 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: 33:[42, 14], Operations: ['70-28=42', '27-13=14'] Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,33 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,33 unequal: No Solution No 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: 33:[42, 40], Operations: ['70-28=42', '27+13=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,33 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: 33:[28, 13, 43], Operations: ['70-27=43'] Exploring Operation: 43-28=15, Resulting Numbers: [13, 15] Generated Node #0,3,0: 33:[13, 15] Operation: 43-28=15 Exploring Operation: 28-13=15, Resulting Numbers: [43, 15] Generated Node #0,3,1: 33:[43, 15] Operation: 28-13=15 Exploring Operation: 43-13=30, Resulting Numbers: [28, 30] Generated Node #0,3,2: 33:[28, 30] Operation: 43-13=30 Exploring Operation: 28+13=41, Resulting Numbers: [43, 41] Generated Node #0,3,3: 33:[43, 41] Operation: 28+13=41 Moving to Node #0,3,0 Current State: 33:[13, 15], Operations: ['70-27=43', '43-28=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,33 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[28, 30], Operations: ['70-27=43', '43-13=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,33 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[43, 15], Operations: ['70-27=43', '28-13=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[43, 41], Operations: ['70-27=43', '28+13=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[27, 28, 57], Operations: ['70-13=57'] Exploring Operation: 57-27=30, Resulting Numbers: [28, 30] Generated Node #0,2,0: 33:[28, 30] Operation: 57-27=30 Exploring Operation: 27+28=55, Resulting Numbers: [57, 55] Generated Node #0,2,1: 33:[57, 55] Operation: 27+28=55 Exploring Operation: 57-28=29, Resulting Numbers: [27, 29] Generated Node #0,2,2: 33:[27, 29] Operation: 57-28=29 Exploring Operation: 28-27=1, Resulting Numbers: [57, 1] Generated Node #0,2,3: 33:[57, 1] Operation: 28-27=1 Moving to Node #0,2,0 Current State: 33:[28, 30], Operations: ['70-13=57', '57-27=30'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[27, 29], Operations: ['70-13=57', '57-28=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 27*29=783, Resulting Numbers: [783] 783,33 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[57, 1], Operations: ['70-13=57', '28-27=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[57, 55], Operations: ['70-13=57', '27+28=55'] Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,33 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,33 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[70, 13, 1], Operations: ['28-27=1'] Exploring Operation: 13-1=12, Resulting Numbers: [70, 12] Generated Node #0,1,0: 33:[70, 12] Operation: 13-1=12 Exploring Operation: 70*1=70, Resulting Numbers: [13, 70] Generated Node #0,1,1: 33:[13, 70] Operation: 70*1=70 Exploring Operation: 70-13=57, Resulting Numbers: [1, 57] Generated Node #0,1,2: 33:[1, 57] Operation: 70-13=57 Exploring Operation: 70-1=69, Resulting Numbers: [13, 69] Generated Node #0,1,3: 33:[13, 69] Operation: 70-1=69 Moving to Node #0,1,2 Current State: 33:[1, 57], Operations: ['28-27=1', '70-13=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[13, 69], Operations: ['28-27=1', '70-1=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,33 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[70, 12], Operations: ['28-27=1', '13-1=12'] Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[13, 70], Operations: ['28-27=1', '70*1=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,33 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 85, 87, 29, 50 ]
38
[ "85-50=35", "87/29=3", "35+3=38" ]
Current State: 38:[85, 87, 29, 50], Operations: [] Exploring Operation: 85-50=35, Resulting Numbers: [87, 29, 35] Generated Node #2: [87, 29, 35] from Operation: 85-50=35 Current State: 38:[87, 29, 35], Operations: ['85-50=35'] Exploring Operation: 87/29=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 87/29=3 Current State: 38:[35, 3], Operations: ['85-50=35', '87/29=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[85, 87, 29, 50], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [29, 50, 2] Generated Node #0,0: 38:[29, 50, 2] Operation: 87-85=2 Moving to Node #0,0 Current State: 38:[29, 50, 2], Operations: ['87-85=2'] Exploring Operation: 50-29=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 38:[2, 21] Operation: 50-29=21 Moving to Node #0,0,0 Current State: 38:[2, 21], Operations: ['87-85=2', '50-29=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 9, 20, 88 ]
96
[ "20/20=1", "9+88=97", "97-1=96" ]
Current State: 96:[20, 9, 20, 88], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [9, 88, 1] Generated Node #2: [9, 88, 1] from Operation: 20/20=1 Current State: 96:[9, 88, 1], Operations: ['20/20=1'] Exploring Operation: 9+88=97, Resulting Numbers: [1, 97] Generated Node #3: [1, 97] from Operation: 9+88=97 Current State: 96:[1, 97], Operations: ['20/20=1', '9+88=97'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 9, 20, 88], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [9, 88, 1] Generated Node #0,0: 96:[9, 88, 1] Operation: 20/20=1 Exploring Operation: 9+88=97, Resulting Numbers: [20, 20, 97] Generated Node #0,1: 96:[20, 20, 97] Operation: 9+88=97 Exploring Operation: 20-20=0, Resulting Numbers: [9, 88, 0] Generated Node #0,2: 96:[9, 88, 0] Operation: 20-20=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[20, 20, 97], Operations: ['9+88=97'] Exploring Operation: 20-20=0, Resulting Numbers: [97, 0] Generated Node #0,1,0: 96:[97, 0] Operation: 20-20=0 Exploring Operation: 20+20=40, Resulting Numbers: [97, 40] Generated Node #0,1,1: 96:[97, 40] Operation: 20+20=40 Exploring Operation: 20/20=1, Resulting Numbers: [97, 1] Generated Node #0,1,2: 96:[97, 1] Operation: 20/20=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[97, 1], Operations: ['9+88=97', '20/20=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[20, 9, 20, 88], Operations: [] Exploring Operation: 9+88=97, Resulting Numbers: [20, 20, 97] Generated Node #0,1: 96:[20, 20, 97] Operation: 9+88=97 Moving to Node #0,1 Current State: 96:[20, 20, 97], Operations: ['9+88=97'] Exploring Operation: 20/20=1, Resulting Numbers: [97, 1] Generated Node #0,1,2: 96:[97, 1] Operation: 20/20=1 Moving to Node #0,1,2 Current State: 96:[97, 1], Operations: ['9+88=97', '20/20=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 3, 68, 93, 78 ]
23
[ "93-78=15", "3*15=45", "68-45=23" ]
Current State: 23:[3, 68, 93, 78], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [3, 68, 15] Generated Node #2: [3, 68, 15] from Operation: 93-78=15 Current State: 23:[3, 68, 15], Operations: ['93-78=15'] Exploring Operation: 3*15=45, Resulting Numbers: [68, 45] Generated Node #3: [68, 45] from Operation: 3*15=45 Current State: 23:[68, 45], Operations: ['93-78=15', '3*15=45'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 68, 93, 78], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [3, 68, 15] Generated Node #0,0: 23:[3, 68, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[3, 68, 15], Operations: ['93-78=15'] Exploring Operation: 68-3=65, Resulting Numbers: [15, 65] Generated Node #0,0,0: 23:[15, 65] Operation: 68-3=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[15, 65], Operations: ['93-78=15', '68-3=65'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,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
[ 72, 62, 45, 42 ]
86
[ "45-42=3", "72/3=24", "62+24=86" ]
Current State: 86:[72, 62, 45, 42], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [72, 62, 3] Generated Node #2: [72, 62, 3] from Operation: 45-42=3 Current State: 86:[72, 62, 3], Operations: ['45-42=3'] Exploring Operation: 72/3=24, Resulting Numbers: [62, 24] Generated Node #3: [62, 24] from Operation: 72/3=24 Current State: 86:[62, 24], Operations: ['45-42=3', '72/3=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[72, 62, 45, 42], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [72, 42, 17] Generated Node #0,0: 86:[72, 42, 17] Operation: 62-45=17 Exploring Operation: 72-62=10, Resulting Numbers: [45, 42, 10] Generated Node #0,1: 86:[45, 42, 10] Operation: 72-62=10 Moving to Node #0,1 Current State: 86:[45, 42, 10], Operations: ['72-62=10'] Exploring Operation: 45-42=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 86:[10, 3] Operation: 45-42=3 Exploring Operation: 45+42=87, Resulting Numbers: [10, 87] Generated Node #0,1,1: 86:[10, 87] Operation: 45+42=87 Moving to Node #0,0 Current State: 86:[72, 42, 17], Operations: ['62-45=17'] Exploring Operation: 72-17=55, Resulting Numbers: [42, 55] Generated Node #0,0,0: 86:[42, 55] Operation: 72-17=55 Exploring Operation: 72+17=89, Resulting Numbers: [42, 89] Generated Node #0,0,1: 86:[42, 89] Operation: 72+17=89 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[42, 89], Operations: ['62-45=17', '72+17=89'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,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:[42, 55], Operations: ['62-45=17', '72-17=55'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 86:[10, 3], Operations: ['72-62=10', '45-42=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[10, 87], Operations: ['72-62=10', '45+42=87'] Exploring Operation: 10+87=97, Resulting Numbers: [97] 97,86 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 81, 15, 61 ]
27
[ "22+81=103", "15+61=76", "103-76=27" ]
Current State: 27:[22, 81, 15, 61], Operations: [] Exploring Operation: 22+81=103, Resulting Numbers: [15, 61, 103] Generated Node #2: [15, 61, 103] from Operation: 22+81=103 Current State: 27:[15, 61, 103], Operations: ['22+81=103'] Exploring Operation: 15+61=76, Resulting Numbers: [103, 76] Generated Node #3: [103, 76] from Operation: 15+61=76 Current State: 27:[103, 76], Operations: ['22+81=103', '15+61=76'] Exploring Operation: 103-76=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[22, 81, 15, 61], Operations: [] Exploring Operation: 61-22=39, Resulting Numbers: [81, 15, 39] Generated Node #0,0: 27:[81, 15, 39] Operation: 61-22=39 Exploring Operation: 61-15=46, Resulting Numbers: [22, 81, 46] Generated Node #0,1: 27:[22, 81, 46] Operation: 61-15=46 Exploring Operation: 81-61=20, Resulting Numbers: [22, 15, 20] Generated Node #0,2: 27:[22, 15, 20] Operation: 81-61=20 Exploring Operation: 81-15=66, Resulting Numbers: [22, 61, 66] Generated Node #0,3: 27:[22, 61, 66] Operation: 81-15=66 Exploring Operation: 81-22=59, Resulting Numbers: [15, 61, 59] Generated Node #0,4: 27:[15, 61, 59] Operation: 81-22=59 Moving to Node #0,2 Current State: 27:[22, 15, 20], Operations: ['81-61=20'] Exploring Operation: 20-15=5, Resulting Numbers: [22, 5] Generated Node #0,2,0: 27:[22, 5] Operation: 20-15=5 Exploring Operation: 22-15=7, Resulting Numbers: [20, 7] Generated Node #0,2,1: 27:[20, 7] Operation: 22-15=7 Exploring Operation: 22+15=37, Resulting Numbers: [20, 37] Generated Node #0,2,2: 27:[20, 37] Operation: 22+15=37 Exploring Operation: 15+20=35, Resulting Numbers: [22, 35] Generated Node #0,2,3: 27:[22, 35] Operation: 15+20=35 Exploring Operation: 22-20=2, Resulting Numbers: [15, 2] Generated Node #0,2,4: 27:[15, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[22, 5], Operations: ['81-61=20', '20-15=5'] Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[22, 81, 15, 61], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [22, 15, 20] Generated Node #0,2: 27:[22, 15, 20] Operation: 81-61=20 Moving to Node #0,2 Current State: 27:[22, 15, 20], Operations: ['81-61=20'] Exploring Operation: 20-15=5, Resulting Numbers: [22, 5] Generated Node #0,2,0: 27:[22, 5] Operation: 20-15=5 Moving to Node #0,2,0 Current State: 27:[22, 5], Operations: ['81-61=20', '20-15=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 34, 38, 2, 14 ]
78
[ "34-14=20", "2*20=40", "38+40=78" ]
Current State: 78:[34, 38, 2, 14], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [38, 2, 20] Generated Node #2: [38, 2, 20] from Operation: 34-14=20 Current State: 78:[38, 2, 20], Operations: ['34-14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [38, 40] Generated Node #3: [38, 40] from Operation: 2*20=40 Current State: 78:[38, 40], Operations: ['34-14=20', '2*20=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[34, 38, 2, 14], Operations: [] Exploring Operation: 34+38=72, Resulting Numbers: [2, 14, 72] Generated Node #0,0: 78:[2, 14, 72] Operation: 34+38=72 Exploring Operation: 34-14=20, Resulting Numbers: [38, 2, 20] Generated Node #0,1: 78:[38, 2, 20] Operation: 34-14=20 Exploring Operation: 34/2=17, Resulting Numbers: [38, 14, 17] Generated Node #0,2: 78:[38, 14, 17] Operation: 34/2=17 Exploring Operation: 38-34=4, Resulting Numbers: [2, 14, 4] Generated Node #0,3: 78:[2, 14, 4] Operation: 38-34=4 Exploring Operation: 34+2=36, Resulting Numbers: [38, 14, 36] Generated Node #0,4: 78:[38, 14, 36] Operation: 34+2=36 Moving to Node #0,3 Current State: 78:[2, 14, 4], Operations: ['38-34=4'] Exploring Operation: 4/2=2, Resulting Numbers: [14, 2] Generated Node #0,3,0: 78:[14, 2] Operation: 4/2=2 Exploring Operation: 14-2=12, Resulting Numbers: [4, 12] Generated Node #0,3,1: 78:[4, 12] Operation: 14-2=12 Exploring Operation: 4-2=2, Resulting Numbers: [14, 2] Generated Node #0,3,2: 78:[14, 2] Operation: 4-2=2 Exploring Operation: 2+4=6, Resulting Numbers: [14, 6] Generated Node #0,3,3: 78:[14, 6] Operation: 2+4=6 Exploring Operation: 14/2=7, Resulting Numbers: [4, 7] Generated Node #0,3,4: 78:[4, 7] Operation: 14/2=7 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[14, 2], Operations: ['38-34=4', '4/2=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[14, 2], Operations: ['38-34=4', '4-2=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[14, 6], Operations: ['38-34=4', '2+4=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[4, 12], Operations: ['38-34=4', '14-2=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 78:[4, 7], Operations: ['38-34=4', '14/2=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,78 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: 78:[38, 14, 36], Operations: ['34+2=36'] Exploring Operation: 38+36=74, Resulting Numbers: [14, 74] Generated Node #0,4,0: 78:[14, 74] Operation: 38+36=74 Exploring Operation: 14+36=50, Resulting Numbers: [38, 50] Generated Node #0,4,1: 78:[38, 50] Operation: 14+36=50 Exploring Operation: 38-14=24, Resulting Numbers: [36, 24] Generated Node #0,4,2: 78:[36, 24] Operation: 38-14=24 Exploring Operation: 36-14=22, Resulting Numbers: [38, 22] Generated Node #0,4,3: 78:[38, 22] Operation: 36-14=22 Exploring Operation: 38-36=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 78:[14, 2] Operation: 38-36=2 Moving to Node #0,2 Current State: 78:[38, 14, 17], Operations: ['34/2=17'] Exploring Operation: 14+17=31, Resulting Numbers: [38, 31] Generated Node #0,2,0: 78:[38, 31] Operation: 14+17=31 Exploring Operation: 17-14=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 78:[38, 3] Operation: 17-14=3 Exploring Operation: 38-14=24, Resulting Numbers: [17, 24] Generated Node #0,2,2: 78:[17, 24] Operation: 38-14=24 Exploring Operation: 38+14=52, Resulting Numbers: [17, 52] Generated Node #0,2,3: 78:[17, 52] Operation: 38+14=52 Exploring Operation: 38-17=21, Resulting Numbers: [14, 21] Generated Node #0,2,4: 78:[14, 21] Operation: 38-17=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[38, 3], Operations: ['34/2=17', '17-14=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,78 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[38, 31], Operations: ['34/2=17', '14+17=31'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,78 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[17, 24], Operations: ['34/2=17', '38-14=24'] Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 78:[14, 21], Operations: ['34/2=17', '38-17=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,78 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[17, 52], Operations: ['34/2=17', '38+14=52'] Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,78 unequal: No Solution Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 78:[2, 14, 72], Operations: ['34+38=72'] Exploring Operation: 14/2=7, Resulting Numbers: [72, 7] Generated Node #0,0,0: 78:[72, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [72, 12] Generated Node #0,0,1: 78:[72, 12] Operation: 14-2=12 Exploring Operation: 2*14=28, Resulting Numbers: [72, 28] Generated Node #0,0,2: 78:[72, 28] Operation: 2*14=28 Exploring Operation: 2+72=74, Resulting Numbers: [14, 74] Generated Node #0,0,3: 78:[14, 74] Operation: 2+72=74 Exploring Operation: 72/2=36, Resulting Numbers: [14, 36] Generated Node #0,0,4: 78:[14, 36] Operation: 72/2=36 Moving to Node #0,1 Current State: 78:[38, 2, 20], Operations: ['34-14=20'] Exploring Operation: 38-20=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 78:[2, 18] Operation: 38-20=18 Exploring Operation: 20-2=18, Resulting Numbers: [38, 18] Generated Node #0,1,1: 78:[38, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [38, 10] Generated Node #0,1,2: 78:[38, 10] Operation: 20/2=10 Exploring Operation: 2+20=22, Resulting Numbers: [38, 22] Generated Node #0,1,3: 78:[38, 22] Operation: 2+20=22 Exploring Operation: 2*20=40, Resulting Numbers: [38, 40] Generated Node #0,1,4: 78:[38, 40] Operation: 2*20=40 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[38, 40], Operations: ['34-14=20', '2*20=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[34, 38, 2, 14], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [38, 2, 20] Generated Node #0,1: 78:[38, 2, 20] Operation: 34-14=20 Moving to Node #0,1 Current State: 78:[38, 2, 20], Operations: ['34-14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [38, 40] Generated Node #0,1,4: 78:[38, 40] Operation: 2*20=40 Moving to Node #0,1,4 Current State: 78:[38, 40], Operations: ['34-14=20', '2*20=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_5
sum_heuristic
[ 28, 6, 26, 33 ]
95
[ "28+33=61", "6*26=156", "156-61=95" ]
Current State: 95:[28, 6, 26, 33], Operations: [] Exploring Operation: 28+33=61, Resulting Numbers: [6, 26, 61] Generated Node #2: [6, 26, 61] from Operation: 28+33=61 Current State: 95:[6, 26, 61], Operations: ['28+33=61'] Exploring Operation: 6*26=156, Resulting Numbers: [61, 156] Generated Node #3: [61, 156] from Operation: 6*26=156 Current State: 95:[61, 156], Operations: ['28+33=61', '6*26=156'] Exploring Operation: 156-61=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[28, 6, 26, 33], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [6, 26, 5] Generated Node #0,0: 95:[6, 26, 5] Operation: 33-28=5 Exploring Operation: 28-6=22, Resulting Numbers: [26, 33, 22] Generated Node #0,1: 95:[26, 33, 22] Operation: 28-6=22 Exploring Operation: 33-26=7, Resulting Numbers: [28, 6, 7] Generated Node #0,2: 95:[28, 6, 7] Operation: 33-26=7 Exploring Operation: 28-26=2, Resulting Numbers: [6, 33, 2] Generated Node #0,3: 95:[6, 33, 2] Operation: 28-26=2 Moving to Node #0,0 Current State: 95:[6, 26, 5], Operations: ['33-28=5'] Exploring Operation: 6+26=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 95:[5, 32] Operation: 6+26=32 Exploring Operation: 6-5=1, Resulting Numbers: [26, 1] Generated Node #0,0,1: 95:[26, 1] Operation: 6-5=1 Exploring Operation: 26-6=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 95:[5, 20] Operation: 26-6=20 Exploring Operation: 26-5=21, Resulting Numbers: [6, 21] Generated Node #0,0,3: 95:[6, 21] Operation: 26-5=21 Moving to Node #0,2 Current State: 95:[28, 6, 7], Operations: ['33-26=7'] Exploring Operation: 28-6=22, Resulting Numbers: [7, 22] Generated Node #0,2,0: 95:[7, 22] Operation: 28-6=22 Exploring Operation: 28/7=4, Resulting Numbers: [6, 4] Generated Node #0,2,1: 95:[6, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [6, 21] Generated Node #0,2,2: 95:[6, 21] Operation: 28-7=21 Exploring Operation: 7-6=1, Resulting Numbers: [28, 1] Generated Node #0,2,3: 95:[28, 1] Operation: 7-6=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[6, 4], Operations: ['33-26=7', '28/7=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,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,2 Current State: 95:[6, 21], Operations: ['33-26=7', '28-7=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,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,0 Current State: 95:[7, 22], Operations: ['33-26=7', '28-6=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,95 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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,3 Current State: 95:[28, 1], Operations: ['33-26=7', '7-6=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,95 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: 95:[6, 33, 2], Operations: ['28-26=2'] Exploring Operation: 33-6=27, Resulting Numbers: [2, 27] Generated Node #0,3,0: 95:[2, 27] Operation: 33-6=27 Exploring Operation: 6-2=4, Resulting Numbers: [33, 4] Generated Node #0,3,1: 95:[33, 4] Operation: 6-2=4 Exploring Operation: 33-2=31, Resulting Numbers: [6, 31] Generated Node #0,3,2: 95:[6, 31] Operation: 33-2=31 Exploring Operation: 6/2=3, Resulting Numbers: [33, 3] Generated Node #0,3,3: 95:[33, 3] Operation: 6/2=3 Moving to Node #0,1 Current State: 95:[26, 33, 22], Operations: ['28-6=22'] Exploring Operation: 33-26=7, Resulting Numbers: [22, 7] Generated Node #0,1,0: 95:[22, 7] Operation: 33-26=7 Exploring Operation: 33-22=11, Resulting Numbers: [26, 11] Generated Node #0,1,1: 95:[26, 11] Operation: 33-22=11 Exploring Operation: 26+33=59, Resulting Numbers: [22, 59] Generated Node #0,1,2: 95:[22, 59] Operation: 26+33=59 Exploring Operation: 26-22=4, Resulting Numbers: [33, 4] Generated Node #0,1,3: 95:[33, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[22, 7], Operations: ['28-6=22', '33-26=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[26, 11], Operations: ['28-6=22', '33-22=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,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,3 Current State: 95:[33, 4], Operations: ['28-6=22', '26-22=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,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,2 Current State: 95:[22, 59], Operations: ['28-6=22', '26+33=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,95 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 95:[5, 20], Operations: ['33-28=5', '26-6=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[6, 21], Operations: ['33-28=5', '26-5=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[26, 1], Operations: ['33-28=5', '6-5=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[2, 27], Operations: ['28-26=2', '33-6=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[6, 31], Operations: ['28-26=2', '33-2=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[5, 32], Operations: ['33-28=5', '6+26=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,95 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[33, 4], Operations: ['28-26=2', '6-2=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,95 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[33, 3], Operations: ['28-26=2', '6/2=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 96, 76, 52, 58 ]
90
[ "96-76=20", "52+58=110", "110-20=90" ]
Current State: 90:[96, 76, 52, 58], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [52, 58, 20] Generated Node #2: [52, 58, 20] from Operation: 96-76=20 Current State: 90:[52, 58, 20], Operations: ['96-76=20'] Exploring Operation: 52+58=110, Resulting Numbers: [20, 110] Generated Node #3: [20, 110] from Operation: 52+58=110 Current State: 90:[20, 110], Operations: ['96-76=20', '52+58=110'] Exploring Operation: 110-20=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[96, 76, 52, 58], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [96, 52, 18] Generated Node #0,0: 90:[96, 52, 18] Operation: 76-58=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[96, 52, 18], Operations: ['76-58=18'] Exploring Operation: 96-52=44, Resulting Numbers: [18, 44] Generated Node #0,0,0: 90:[18, 44] Operation: 96-52=44 Moving to Node #0,0,0 Current State: 90:[18, 44], Operations: ['76-58=18', '96-52=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 73, 12, 19 ]
37
[ "19-16=3", "12*3=36", "73-36=37" ]
Current State: 37:[16, 73, 12, 19], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [73, 12, 3] Generated Node #2: [73, 12, 3] from Operation: 19-16=3 Current State: 37:[73, 12, 3], Operations: ['19-16=3'] Exploring Operation: 12*3=36, Resulting Numbers: [73, 36] Generated Node #3: [73, 36] from Operation: 12*3=36 Current State: 37:[73, 36], Operations: ['19-16=3', '12*3=36'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[16, 73, 12, 19], Operations: [] Exploring Operation: 73-16=57, Resulting Numbers: [12, 19, 57] Generated Node #0,0: 37:[12, 19, 57] Operation: 73-16=57 Moving to Node #0,0 Current State: 37:[12, 19, 57], Operations: ['73-16=57'] Exploring Operation: 12+19=31, Resulting Numbers: [57, 31] Generated Node #0,0,0: 37:[57, 31] Operation: 12+19=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[57, 31], Operations: ['73-16=57', '12+19=31'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 90, 65, 42 ]
25
[ "92-90=2", "65-42=23", "2+23=25" ]
Current State: 25:[92, 90, 65, 42], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [65, 42, 2] Generated Node #2: [65, 42, 2] from Operation: 92-90=2 Current State: 25:[65, 42, 2], Operations: ['92-90=2'] Exploring Operation: 65-42=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 65-42=23 Current State: 25:[2, 23], Operations: ['92-90=2', '65-42=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[92, 90, 65, 42], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [92, 65, 48] Generated Node #0,0: 25:[92, 65, 48] Operation: 90-42=48 Exploring Operation: 90-65=25, Resulting Numbers: [92, 42, 25] Generated Node #0,1: 25:[92, 42, 25] Operation: 90-65=25 Exploring Operation: 92-65=27, Resulting Numbers: [90, 42, 27] Generated Node #0,2: 25:[90, 42, 27] Operation: 92-65=27 Exploring Operation: 92-90=2, Resulting Numbers: [65, 42, 2] Generated Node #0,3: 25:[65, 42, 2] Operation: 92-90=2 Exploring Operation: 92-42=50, Resulting Numbers: [90, 65, 50] Generated Node #0,4: 25:[90, 65, 50] Operation: 92-42=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[65, 42, 2], Operations: ['92-90=2'] Exploring Operation: 65-42=23, Resulting Numbers: [2, 23] Generated Node #0,3,0: 25:[2, 23] Operation: 65-42=23 Exploring Operation: 42-2=40, Resulting Numbers: [65, 40] Generated Node #0,3,1: 25:[65, 40] Operation: 42-2=40 Exploring Operation: 65+2=67, Resulting Numbers: [42, 67] Generated Node #0,3,2: 25:[42, 67] Operation: 65+2=67 Exploring Operation: 65-2=63, Resulting Numbers: [42, 63] Generated Node #0,3,3: 25:[42, 63] Operation: 65-2=63 Exploring Operation: 42/2=21, Resulting Numbers: [65, 21] Generated Node #0,3,4: 25:[65, 21] Operation: 42/2=21 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 25:[2, 23], Operations: ['92-90=2', '65-42=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[92, 90, 65, 42], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [65, 42, 2] Generated Node #0,3: 25:[65, 42, 2] Operation: 92-90=2 Moving to Node #0,3 Current State: 25:[65, 42, 2], Operations: ['92-90=2'] Exploring Operation: 65-42=23, Resulting Numbers: [2, 23] Generated Node #0,3,0: 25:[2, 23] Operation: 65-42=23 Moving to Node #0,3,0 Current State: 25:[2, 23], Operations: ['92-90=2', '65-42=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 38, 3, 73, 85 ]
40
[ "73-38=35", "85+35=120", "120/3=40" ]
Current State: 40:[38, 3, 73, 85], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [3, 85, 35] Generated Node #2: [3, 85, 35] from Operation: 73-38=35 Current State: 40:[3, 85, 35], Operations: ['73-38=35'] Exploring Operation: 85+35=120, Resulting Numbers: [3, 120] Generated Node #3: [3, 120] from Operation: 85+35=120 Current State: 40:[3, 120], Operations: ['73-38=35', '85+35=120'] Exploring Operation: 120/3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[38, 3, 73, 85], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [38, 85, 70] Generated Node #0,0: 40:[38, 85, 70] Operation: 73-3=70 Exploring Operation: 85-38=47, Resulting Numbers: [3, 73, 47] Generated Node #0,1: 40:[3, 73, 47] Operation: 85-38=47 Exploring Operation: 85-3=82, Resulting Numbers: [38, 73, 82] Generated Node #0,2: 40:[38, 73, 82] Operation: 85-3=82 Exploring Operation: 73-38=35, Resulting Numbers: [3, 85, 35] Generated Node #0,3: 40:[3, 85, 35] Operation: 73-38=35 Exploring Operation: 85-73=12, Resulting Numbers: [38, 3, 12] Generated Node #0,4: 40:[38, 3, 12] Operation: 85-73=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[38, 3, 12], Operations: ['85-73=12'] Exploring Operation: 12/3=4, Resulting Numbers: [38, 4] Generated Node #0,4,0: 40:[38, 4] Operation: 12/3=4 Exploring Operation: 3*12=36, Resulting Numbers: [38, 36] Generated Node #0,4,1: 40:[38, 36] Operation: 3*12=36 Exploring Operation: 38-3=35, Resulting Numbers: [12, 35] Generated Node #0,4,2: 40:[12, 35] Operation: 38-3=35 Exploring Operation: 12-3=9, Resulting Numbers: [38, 9] Generated Node #0,4,3: 40:[38, 9] Operation: 12-3=9 Exploring Operation: 38+3=41, Resulting Numbers: [12, 41] Generated Node #0,4,4: 40:[12, 41] Operation: 38+3=41 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 40:[38, 4], Operations: ['85-73=12', '12/3=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,40 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 40:[38, 9], Operations: ['85-73=12', '12-3=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[12, 41], Operations: ['85-73=12', '38+3=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,40 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[38, 36], Operations: ['85-73=12', '3*12=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,40 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[12, 35], Operations: ['85-73=12', '38-3=35'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[3, 73, 47], Operations: ['85-38=47'] Exploring Operation: 3+47=50, Resulting Numbers: [73, 50] Generated Node #0,1,0: 40:[73, 50] Operation: 3+47=50 Exploring Operation: 73-47=26, Resulting Numbers: [3, 26] Generated Node #0,1,1: 40:[3, 26] Operation: 73-47=26 Exploring Operation: 73-3=70, Resulting Numbers: [47, 70] Generated Node #0,1,2: 40:[47, 70] Operation: 73-3=70 Exploring Operation: 3+73=76, Resulting Numbers: [47, 76] Generated Node #0,1,3: 40:[47, 76] Operation: 3+73=76 Exploring Operation: 47-3=44, Resulting Numbers: [73, 44] Generated Node #0,1,4: 40:[73, 44] Operation: 47-3=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[3, 26], Operations: ['85-38=47', '73-47=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[47, 70], Operations: ['85-38=47', '73-3=70'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 47*70=3290, Resulting Numbers: [3290] 3290,40 unequal: No Solution Exploring Operation: 47+70=117, Resulting Numbers: [117] 117,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 40:[73, 44], Operations: ['85-38=47', '47-3=44'] Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 73*44=3212, Resulting Numbers: [3212] 3212,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[73, 50], Operations: ['85-38=47', '3+47=50'] Exploring Operation: 73*50=3650, Resulting Numbers: [3650] 3650,40 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 73+50=123, Resulting Numbers: [123] 123,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 40:[47, 76], Operations: ['85-38=47', '3+73=76'] Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,40 unequal: No Solution Exploring Operation: 47*76=3572, Resulting Numbers: [3572] 3572,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[3, 85, 35], Operations: ['73-38=35'] Exploring Operation: 3+85=88, Resulting Numbers: [35, 88] Generated Node #0,3,0: 40:[35, 88] Operation: 3+85=88 Exploring Operation: 35-3=32, Resulting Numbers: [85, 32] Generated Node #0,3,1: 40:[85, 32] Operation: 35-3=32 Exploring Operation: 3+35=38, Resulting Numbers: [85, 38] Generated Node #0,3,2: 40:[85, 38] Operation: 3+35=38 Exploring Operation: 85-3=82, Resulting Numbers: [35, 82] Generated Node #0,3,3: 40:[35, 82] Operation: 85-3=82 Exploring Operation: 85-35=50, Resulting Numbers: [3, 50] Generated Node #0,3,4: 40:[3, 50] Operation: 85-35=50 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[3, 50], Operations: ['73-38=35', '85-35=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[85, 38], Operations: ['73-38=35', '3+35=38'] Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,40 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,40 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[35, 82], Operations: ['73-38=35', '85-3=82'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,40 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[35, 88], Operations: ['73-38=35', '3+85=88'] Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,40 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[85, 32], Operations: ['73-38=35', '35-3=32'] Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,40 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[38, 85, 70], Operations: ['73-3=70'] Exploring Operation: 38+85=123, Resulting Numbers: [70, 123] Generated Node #0,0,0: 40:[70, 123] Operation: 38+85=123 Exploring Operation: 38+70=108, Resulting Numbers: [85, 108] Generated Node #0,0,1: 40:[85, 108] Operation: 38+70=108 Exploring Operation: 85-70=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 40:[38, 15] Operation: 85-70=15 Exploring Operation: 85-38=47, Resulting Numbers: [70, 47] Generated Node #0,0,3: 40:[70, 47] Operation: 85-38=47 Exploring Operation: 70-38=32, Resulting Numbers: [85, 32] Generated Node #0,0,4: 40:[85, 32] Operation: 70-38=32 Moving to Node #0,0,2 Current State: 40:[38, 15], Operations: ['73-3=70', '85-70=15'] Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,40 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[70, 47], Operations: ['73-3=70', '85-38=47'] Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,40 unequal: No Solution Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[85, 32], Operations: ['73-3=70', '70-38=32'] Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,40 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[70, 123], Operations: ['73-3=70', '38+85=123'] Exploring Operation: 123-70=53, Resulting Numbers: [53] 53,40 unequal: No Solution Exploring Operation: 70*123=8610, Resulting Numbers: [8610] 8610,40 unequal: No Solution Exploring Operation: 70+123=193, Resulting Numbers: [193] 193,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[85, 108], Operations: ['73-3=70', '38+70=108'] Exploring Operation: 108-85=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 85*108=9180, Resulting Numbers: [9180] 9180,40 unequal: No Solution Exploring Operation: 85+108=193, Resulting Numbers: [193] 193,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[38, 73, 82], Operations: ['85-3=82'] Exploring Operation: 73-38=35, Resulting Numbers: [82, 35] Generated Node #0,2,0: 40:[82, 35] Operation: 73-38=35 Exploring Operation: 82-73=9, Resulting Numbers: [38, 9] Generated Node #0,2,1: 40:[38, 9] Operation: 82-73=9 Exploring Operation: 38+73=111, Resulting Numbers: [82, 111] Generated Node #0,2,2: 40:[82, 111] Operation: 38+73=111 Exploring Operation: 82-38=44, Resulting Numbers: [73, 44] Generated Node #0,2,3: 40:[73, 44] Operation: 82-38=44 Exploring Operation: 38+82=120, Resulting Numbers: [73, 120] Generated Node #0,2,4: 40:[73, 120] Operation: 38+82=120 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[38, 9], Operations: ['85-3=82', '82-73=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[73, 44], Operations: ['85-3=82', '82-38=44'] Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 73*44=3212, Resulting Numbers: [3212] 3212,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[82, 35], Operations: ['85-3=82', '73-38=35'] Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,40 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[82, 111], Operations: ['85-3=82', '38+73=111'] Exploring Operation: 111-82=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 82+111=193, Resulting Numbers: [193] 193,40 unequal: No Solution Exploring Operation: 82*111=9102, Resulting Numbers: [9102] 9102,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[73, 120], Operations: ['85-3=82', '38+82=120'] Exploring Operation: 73+120=193, Resulting Numbers: [193] 193,40 unequal: No Solution Exploring Operation: 73*120=8760, Resulting Numbers: [8760] 8760,40 unequal: No Solution Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 90, 52, 34, 46 ]
73
[ "52*46=2392", "90+2392=2482", "2482/34=73" ]
Current State: 73:[90, 52, 34, 46], Operations: [] Exploring Operation: 52*46=2392, Resulting Numbers: [90, 34, 2392] Generated Node #2: [90, 34, 2392] from Operation: 52*46=2392 Current State: 73:[90, 34, 2392], Operations: ['52*46=2392'] Exploring Operation: 90+2392=2482, Resulting Numbers: [34, 2482] Generated Node #3: [34, 2482] from Operation: 90+2392=2482 Current State: 73:[34, 2482], Operations: ['52*46=2392', '90+2392=2482'] Exploring Operation: 2482/34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[90, 52, 34, 46], Operations: [] Exploring Operation: 34+46=80, Resulting Numbers: [90, 52, 80] Generated Node #0,0: 73:[90, 52, 80] Operation: 34+46=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[90, 52, 80], Operations: ['34+46=80'] Exploring Operation: 90-52=38, Resulting Numbers: [80, 38] Generated Node #0,0,0: 73:[80, 38] Operation: 90-52=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[80, 38], Operations: ['34+46=80', '90-52=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 58, 68, 8, 34 ]
20
[ "58+68=126", "34+126=160", "160/8=20" ]
Current State: 20:[58, 68, 8, 34], Operations: [] Exploring Operation: 58+68=126, Resulting Numbers: [8, 34, 126] Generated Node #2: [8, 34, 126] from Operation: 58+68=126 Current State: 20:[8, 34, 126], Operations: ['58+68=126'] Exploring Operation: 34+126=160, Resulting Numbers: [8, 160] Generated Node #3: [8, 160] from Operation: 34+126=160 Current State: 20:[8, 160], Operations: ['58+68=126', '34+126=160'] Exploring Operation: 160/8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[58, 68, 8, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [58, 8, 2] Generated Node #0,0: 20:[58, 8, 2] Operation: 68/34=2 Exploring Operation: 58-8=50, Resulting Numbers: [68, 34, 50] Generated Node #0,1: 20:[68, 34, 50] Operation: 58-8=50 Exploring Operation: 68-34=34, Resulting Numbers: [58, 8, 34] Generated Node #0,2: 20:[58, 8, 34] Operation: 68-34=34 Exploring Operation: 68-58=10, Resulting Numbers: [8, 34, 10] Generated Node #0,3: 20:[8, 34, 10] Operation: 68-58=10 Exploring Operation: 58-34=24, Resulting Numbers: [68, 8, 24] Generated Node #0,4: 20:[68, 8, 24] Operation: 58-34=24 Moving to Node #0,3 Current State: 20:[8, 34, 10], Operations: ['68-58=10'] Exploring Operation: 34-10=24, Resulting Numbers: [8, 24] Generated Node #0,3,0: 20:[8, 24] Operation: 34-10=24 Exploring Operation: 34-8=26, Resulting Numbers: [10, 26] Generated Node #0,3,1: 20:[10, 26] Operation: 34-8=26 Exploring Operation: 8+10=18, Resulting Numbers: [34, 18] Generated Node #0,3,2: 20:[34, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [34, 2] Generated Node #0,3,3: 20:[34, 2] Operation: 10-8=2 Exploring Operation: 8+34=42, Resulting Numbers: [10, 42] Generated Node #0,3,4: 20:[10, 42] Operation: 8+34=42 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[8, 24], Operations: ['68-58=10', '34-10=24'] Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,20 unequal: No Solution No 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: 20:[10, 26], Operations: ['68-58=10', '34-8=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,20 unequal: No Solution No 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: 20:[34, 2], Operations: ['68-58=10', '10-8=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,20 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,20 unequal: No Solution No 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: 20:[34, 18], Operations: ['68-58=10', '8+10=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,20 unequal: No Solution No 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: 20:[10, 42], Operations: ['68-58=10', '8+34=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,20 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,20 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: 20:[58, 8, 2], Operations: ['68/34=2'] Exploring Operation: 8/2=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 20:[58, 4] Operation: 8/2=4 Exploring Operation: 58-8=50, Resulting Numbers: [2, 50] Generated Node #0,0,1: 20:[2, 50] Operation: 58-8=50 Exploring Operation: 58-2=56, Resulting Numbers: [8, 56] Generated Node #0,0,2: 20:[8, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [8, 29] Generated Node #0,0,3: 20:[8, 29] Operation: 58/2=29 Exploring Operation: 8+2=10, Resulting Numbers: [58, 10] Generated Node #0,0,4: 20:[58, 10] Operation: 8+2=10 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[8, 29], Operations: ['68/34=2', '58/2=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,20 unequal: No Solution No 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: 20:[2, 50], Operations: ['68/34=2', '58-8=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,20 unequal: No Solution No 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: 20:[58, 4], Operations: ['68/34=2', '8/2=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,20 unequal: No Solution No 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: 20:[8, 56], Operations: ['68/34=2', '58-2=56'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,20 unequal: No Solution No 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: 20:[58, 10], Operations: ['68/34=2', '8+2=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,20 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,20 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,20 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: 20:[58, 8, 34], Operations: ['68-34=34'] Exploring Operation: 58-8=50, Resulting Numbers: [34, 50] Generated Node #0,2,0: 20:[34, 50] Operation: 58-8=50 Exploring Operation: 8+34=42, Resulting Numbers: [58, 42] Generated Node #0,2,1: 20:[58, 42] Operation: 8+34=42 Exploring Operation: 34-8=26, Resulting Numbers: [58, 26] Generated Node #0,2,2: 20:[58, 26] Operation: 34-8=26 Exploring Operation: 58+8=66, Resulting Numbers: [34, 66] Generated Node #0,2,3: 20:[34, 66] Operation: 58+8=66 Exploring Operation: 58-34=24, Resulting Numbers: [8, 24] Generated Node #0,2,4: 20:[8, 24] Operation: 58-34=24 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 20:[8, 24], Operations: ['68-34=34', '58-34=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,20 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,20 unequal: No Solution No 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: 20:[34, 50], Operations: ['68-34=34', '58-8=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,20 unequal: No Solution No 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: 20:[58, 26], Operations: ['68-34=34', '34-8=26'] Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,20 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,20 unequal: No Solution No 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: 20:[58, 42], Operations: ['68-34=34', '8+34=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,20 unequal: No Solution No 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: 20:[34, 66], Operations: ['68-34=34', '58+8=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,20 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,20 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: 20:[68, 8, 24], Operations: ['58-34=24'] Exploring Operation: 24-8=16, Resulting Numbers: [68, 16] Generated Node #0,4,0: 20:[68, 16] Operation: 24-8=16 Exploring Operation: 68-8=60, Resulting Numbers: [24, 60] Generated Node #0,4,1: 20:[24, 60] Operation: 68-8=60 Exploring Operation: 68-24=44, Resulting Numbers: [8, 44] Generated Node #0,4,2: 20:[8, 44] Operation: 68-24=44 Exploring Operation: 68+8=76, Resulting Numbers: [24, 76] Generated Node #0,4,3: 20:[24, 76] Operation: 68+8=76 Exploring Operation: 24/8=3, Resulting Numbers: [68, 3] Generated Node #0,4,4: 20:[68, 3] Operation: 24/8=3 Moving to Node #0,1 Current State: 20:[68, 34, 50], Operations: ['58-8=50'] Exploring Operation: 68-50=18, Resulting Numbers: [34, 18] Generated Node #0,1,0: 20:[34, 18] Operation: 68-50=18 Exploring Operation: 68-34=34, Resulting Numbers: [50, 34] Generated Node #0,1,1: 20:[50, 34] Operation: 68-34=34 Exploring Operation: 50-34=16, Resulting Numbers: [68, 16] Generated Node #0,1,2: 20:[68, 16] Operation: 50-34=16 Exploring Operation: 68/34=2, Resulting Numbers: [50, 2] Generated Node #0,1,3: 20:[50, 2] Operation: 68/34=2 Exploring Operation: 68+34=102, Resulting Numbers: [50, 102] Generated Node #0,1,4: 20:[50, 102] Operation: 68+34=102 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[34, 18], Operations: ['58-8=50', '68-50=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,20 unequal: No Solution No 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: 20:[50, 2], Operations: ['58-8=50', '68/34=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,20 unequal: No Solution No 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: 20:[50, 34], Operations: ['58-8=50', '68-34=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,20 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,20 unequal: No Solution No 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: 20:[68, 16], Operations: ['58-8=50', '50-34=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,20 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,20 unequal: No Solution No 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: 20:[50, 102], Operations: ['58-8=50', '68+34=102'] Exploring Operation: 102-50=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 50*102=5100, Resulting Numbers: [5100] 5100,20 unequal: No Solution Exploring Operation: 50+102=152, Resulting Numbers: [152] 152,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 20:[8, 44], Operations: ['58-34=24', '68-24=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[24, 60], Operations: ['58-34=24', '68-8=60'] Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,20 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[68, 3], Operations: ['58-34=24', '24/8=3'] Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,20 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[68, 16], Operations: ['58-34=24', '24-8=16'] Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,20 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[24, 76], Operations: ['58-34=24', '68+8=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,20 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,20 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 98, 34, 9, 74 ]
86
[ "34+74=108", "108/9=12", "98-12=86" ]
Current State: 86:[98, 34, 9, 74], Operations: [] Exploring Operation: 34+74=108, Resulting Numbers: [98, 9, 108] Generated Node #2: [98, 9, 108] from Operation: 34+74=108 Current State: 86:[98, 9, 108], Operations: ['34+74=108'] Exploring Operation: 108/9=12, Resulting Numbers: [98, 12] Generated Node #3: [98, 12] from Operation: 108/9=12 Current State: 86:[98, 12], Operations: ['34+74=108', '108/9=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[98, 34, 9, 74], Operations: [] Exploring Operation: 98-9=89, Resulting Numbers: [34, 74, 89] Generated Node #0,0: 86:[34, 74, 89] Operation: 98-9=89 Exploring Operation: 74-34=40, Resulting Numbers: [98, 9, 40] Generated Node #0,1: 86:[98, 9, 40] Operation: 74-34=40 Exploring Operation: 34+9=43, Resulting Numbers: [98, 74, 43] Generated Node #0,2: 86:[98, 74, 43] Operation: 34+9=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[98, 9, 40], Operations: ['74-34=40'] Exploring Operation: 98-40=58, Resulting Numbers: [9, 58] Generated Node #0,1,0: 86:[9, 58] Operation: 98-40=58 Exploring Operation: 98-9=89, Resulting Numbers: [40, 89] Generated Node #0,1,1: 86:[40, 89] Operation: 98-9=89 Exploring Operation: 9+40=49, Resulting Numbers: [98, 49] Generated Node #0,1,2: 86:[98, 49] Operation: 9+40=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[40, 89], Operations: ['74-34=40', '98-9=89'] Exploring Operation: 40*89=3560, Resulting Numbers: [3560] 3560,86 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 40+89=129, Resulting Numbers: [129] 129,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[98, 49], Operations: ['74-34=40', '9+40=49'] Exploring Operation: 98+49=147, Resulting Numbers: [147] 147,86 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[9, 58], Operations: ['74-34=40', '98-40=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,86 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[34, 74, 89], Operations: ['98-9=89'] Exploring Operation: 89-34=55, Resulting Numbers: [74, 55] Generated Node #0,0,0: 86:[74, 55] Operation: 89-34=55 Exploring Operation: 74-34=40, Resulting Numbers: [89, 40] Generated Node #0,0,1: 86:[89, 40] Operation: 74-34=40 Exploring Operation: 89-74=15, Resulting Numbers: [34, 15] Generated Node #0,0,2: 86:[34, 15] Operation: 89-74=15 Moving to Node #0,0,1 Current State: 86:[89, 40], Operations: ['98-9=89', '74-34=40'] Exploring Operation: 89*40=3560, Resulting Numbers: [3560] 3560,86 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 89+40=129, Resulting Numbers: [129] 129,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[34, 15], Operations: ['98-9=89', '89-74=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,86 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[74, 55], Operations: ['98-9=89', '89-34=55'] Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,86 unequal: No Solution Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,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,2 Current State: 86:[98, 74, 43], Operations: ['34+9=43'] Exploring Operation: 74-43=31, Resulting Numbers: [98, 31] Generated Node #0,2,0: 86:[98, 31] Operation: 74-43=31 Exploring Operation: 98-74=24, Resulting Numbers: [43, 24] Generated Node #0,2,1: 86:[43, 24] Operation: 98-74=24 Exploring Operation: 98-43=55, Resulting Numbers: [74, 55] Generated Node #0,2,2: 86:[74, 55] Operation: 98-43=55 Moving to Node #0,2,1 Current State: 86:[43, 24], Operations: ['34+9=43', '98-74=24'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[98, 31], Operations: ['34+9=43', '74-43=31'] Exploring Operation: 98+31=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 98*31=3038, Resulting Numbers: [3038] 3038,86 unequal: No Solution Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[74, 55], Operations: ['34+9=43', '98-43=55'] Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,86 unequal: No Solution Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,86 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,86 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
[ 16, 19, 85, 38 ]
44
[ "19-16=3", "85-38=47", "47-3=44" ]
Current State: 44:[16, 19, 85, 38], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [85, 38, 3] Generated Node #2: [85, 38, 3] from Operation: 19-16=3 Current State: 44:[85, 38, 3], Operations: ['19-16=3'] Exploring Operation: 85-38=47, Resulting Numbers: [3, 47] Generated Node #3: [3, 47] from Operation: 85-38=47 Current State: 44:[3, 47], Operations: ['19-16=3', '85-38=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[16, 19, 85, 38], Operations: [] Exploring Operation: 85-38=47, Resulting Numbers: [16, 19, 47] Generated Node #0,0: 44:[16, 19, 47] Operation: 85-38=47 Moving to Node #0,0 Current State: 44:[16, 19, 47], Operations: ['85-38=47'] Exploring Operation: 19-16=3, Resulting Numbers: [47, 3] Generated Node #0,0,0: 44:[47, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[47, 3], Operations: ['85-38=47', '19-16=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[16, 19, 85, 38], Operations: [] Exploring Operation: 85-38=47, Resulting Numbers: [16, 19, 47] Generated Node #0,0: 44:[16, 19, 47] Operation: 85-38=47 Moving to Node #0,0 Current State: 44:[16, 19, 47], Operations: ['85-38=47'] Exploring Operation: 19-16=3, Resulting Numbers: [47, 3] Generated Node #0,0,0: 44:[47, 3] Operation: 19-16=3 Moving to Node #0,0,0 Current State: 44:[47, 3], Operations: ['85-38=47', '19-16=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 2, 91, 94 ]
84
[ "91-71=20", "20/2=10", "94-10=84" ]
Current State: 84:[71, 2, 91, 94], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [2, 94, 20] Generated Node #2: [2, 94, 20] from Operation: 91-71=20 Current State: 84:[2, 94, 20], Operations: ['91-71=20'] Exploring Operation: 20/2=10, Resulting Numbers: [94, 10] Generated Node #3: [94, 10] from Operation: 20/2=10 Current State: 84:[94, 10], Operations: ['91-71=20', '20/2=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[71, 2, 91, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [2, 91, 23] Generated Node #0,0: 84:[2, 91, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 84:[2, 91, 23], Operations: ['94-71=23'] Exploring Operation: 91-2=89, Resulting Numbers: [23, 89] Generated Node #0,0,0: 84:[23, 89] Operation: 91-2=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[23, 89], Operations: ['94-71=23', '91-2=89'] Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 46, 1, 44, 73 ]
16
[ "46-1=45", "73-44=29", "45-29=16" ]
Current State: 16:[46, 1, 44, 73], Operations: [] Exploring Operation: 46-1=45, Resulting Numbers: [44, 73, 45] Generated Node #2: [44, 73, 45] from Operation: 46-1=45 Current State: 16:[44, 73, 45], Operations: ['46-1=45'] Exploring Operation: 73-44=29, Resulting Numbers: [45, 29] Generated Node #3: [45, 29] from Operation: 73-44=29 Current State: 16:[45, 29], Operations: ['46-1=45', '73-44=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[46, 1, 44, 73], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [1, 44, 27] Generated Node #0,0: 16:[1, 44, 27] Operation: 73-46=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[1, 44, 27], Operations: ['73-46=27'] Exploring Operation: 44-27=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 16:[1, 17] Operation: 44-27=17 Moving to Node #0,0,0 Current State: 16:[1, 17], Operations: ['73-46=27', '44-27=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[46, 1, 44, 73], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [1, 44, 27] Generated Node #0,0: 16:[1, 44, 27] Operation: 73-46=27 Moving to Node #0,0 Current State: 16:[1, 44, 27], Operations: ['73-46=27'] Exploring Operation: 44-27=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 16:[1, 17] Operation: 44-27=17 Moving to Node #0,0,0 Current State: 16:[1, 17], Operations: ['73-46=27', '44-27=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 49, 98, 25 ]
84
[ "49-25=24", "98*24=2352", "2352/28=84" ]
Current State: 84:[28, 49, 98, 25], Operations: [] Exploring Operation: 49-25=24, Resulting Numbers: [28, 98, 24] Generated Node #2: [28, 98, 24] from Operation: 49-25=24 Current State: 84:[28, 98, 24], Operations: ['49-25=24'] Exploring Operation: 98*24=2352, Resulting Numbers: [28, 2352] Generated Node #3: [28, 2352] from Operation: 98*24=2352 Current State: 84:[28, 2352], Operations: ['49-25=24', '98*24=2352'] Exploring Operation: 2352/28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[28, 49, 98, 25], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [98, 25, 21] Generated Node #0,0: 84:[98, 25, 21] Operation: 49-28=21 Exploring Operation: 98/49=2, Resulting Numbers: [28, 25, 2] Generated Node #0,1: 84:[28, 25, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [28, 25, 49] Generated Node #0,2: 84:[28, 25, 49] Operation: 98-49=49 Moving to Node #0,1 Current State: 84:[28, 25, 2], Operations: ['98/49=2'] Exploring Operation: 25-2=23, Resulting Numbers: [28, 23] Generated Node #0,1,0: 84:[28, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [28, 27] Generated Node #0,1,1: 84:[28, 27] Operation: 25+2=27 Exploring Operation: 28-25=3, Resulting Numbers: [2, 3] Generated Node #0,1,2: 84:[2, 3] Operation: 28-25=3 Moving to Node #0,2 Current State: 84:[28, 25, 49], Operations: ['98-49=49'] Exploring Operation: 49-28=21, Resulting Numbers: [25, 21] Generated Node #0,2,0: 84:[25, 21] Operation: 49-28=21 Exploring Operation: 28-25=3, Resulting Numbers: [49, 3] Generated Node #0,2,1: 84:[49, 3] Operation: 28-25=3 Exploring Operation: 49-25=24, Resulting Numbers: [28, 24] Generated Node #0,2,2: 84:[28, 24] Operation: 49-25=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[25, 21], Operations: ['98-49=49', '49-28=21'] Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,84 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[28, 24], Operations: ['98-49=49', '49-25=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[49, 3], Operations: ['98-49=49', '28-25=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,84 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: 84:[98, 25, 21], Operations: ['49-28=21'] Exploring Operation: 98-21=77, Resulting Numbers: [25, 77] Generated Node #0,0,0: 84:[25, 77] Operation: 98-21=77 Exploring Operation: 25-21=4, Resulting Numbers: [98, 4] Generated Node #0,0,1: 84:[98, 4] Operation: 25-21=4 Exploring Operation: 98-25=73, Resulting Numbers: [21, 73] Generated Node #0,0,2: 84:[21, 73] Operation: 98-25=73 Moving to Node #0,1,2 Current State: 84:[2, 3], Operations: ['98/49=2', '28-25=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[28, 27], Operations: ['98/49=2', '25+2=27'] Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,84 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[28, 23], Operations: ['98/49=2', '25-2=23'] Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[25, 77], Operations: ['49-28=21', '98-21=77'] Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,84 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[21, 73], Operations: ['49-28=21', '98-25=73'] Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 21*73=1533, Resulting Numbers: [1533] 1533,84 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[98, 4], Operations: ['49-28=21', '25-21=4'] Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,84 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,84 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 43, 65, 30, 43 ]
35
[ "43+65=108", "30+43=73", "108-73=35" ]
Current State: 35:[43, 65, 30, 43], Operations: [] Exploring Operation: 43+65=108, Resulting Numbers: [30, 108] Generated Node #2: [30, 108] from Operation: 43+65=108 Current State: 35:[30, 108], Operations: ['43+65=108'] Exploring Operation: 30+43=73, Resulting Numbers: [108, 73] Generated Node #3: [108, 73] from Operation: 30+43=73 Current State: 35:[108, 73], Operations: ['43+65=108', '30+43=73'] Exploring Operation: 108-73=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 65, 30, 43], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [43, 43, 35] Generated Node #0,0: 35:[43, 43, 35] Operation: 65-30=35 Exploring Operation: 65-43=22, Resulting Numbers: [30, 43, 22] Generated Node #0,1: 35:[30, 43, 22] Operation: 65-43=22 Exploring Operation: 65-43=22, Resulting Numbers: [43, 30, 22] Generated Node #0,2: 35:[43, 30, 22] Operation: 65-43=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[43, 43, 35], Operations: ['65-30=35'] Exploring Operation: 43-35=8, Resulting Numbers: [43, 8] Generated Node #0,0,0: 35:[43, 8] Operation: 43-35=8 Exploring Operation: 43-43=0, Resulting Numbers: [35, 0] Generated Node #0,0,1: 35:[35, 0] Operation: 43-43=0 Exploring Operation: 43/43=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 35:[35, 1] Operation: 43/43=1 Moving to Node #0,0,2 Current State: 35:[35, 1], Operations: ['65-30=35', '43/43=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[43, 65, 30, 43], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [43, 43, 35] Generated Node #0,0: 35:[43, 43, 35] Operation: 65-30=35 Moving to Node #0,0 Current State: 35:[43, 43, 35], Operations: ['65-30=35'] Exploring Operation: 43/43=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 35:[35, 1] Operation: 43/43=1 Moving to Node #0,0,2 Current State: 35:[35, 1], Operations: ['65-30=35', '43/43=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 38, 6, 56, 92 ]
80
[ "38+6=44", "92-56=36", "44+36=80" ]
Current State: 80:[38, 6, 56, 92], Operations: [] Exploring Operation: 38+6=44, Resulting Numbers: [56, 92, 44] Generated Node #2: [56, 92, 44] from Operation: 38+6=44 Current State: 80:[56, 92, 44], Operations: ['38+6=44'] Exploring Operation: 92-56=36, Resulting Numbers: [44, 36] Generated Node #3: [44, 36] from Operation: 92-56=36 Current State: 80:[44, 36], Operations: ['38+6=44', '92-56=36'] Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[38, 6, 56, 92], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [38, 56, 86] Generated Node #0,0: 80:[38, 56, 86] Operation: 92-6=86 Exploring Operation: 38+56=94, Resulting Numbers: [6, 92, 94] Generated Node #0,1: 80:[6, 92, 94] Operation: 38+56=94 Exploring Operation: 56-38=18, Resulting Numbers: [6, 92, 18] Generated Node #0,2: 80:[6, 92, 18] Operation: 56-38=18 Exploring Operation: 56-6=50, Resulting Numbers: [38, 92, 50] Generated Node #0,3: 80:[38, 92, 50] Operation: 56-6=50 Exploring Operation: 92-56=36, Resulting Numbers: [38, 6, 36] Generated Node #0,4: 80:[38, 6, 36] Operation: 92-56=36 Moving to Node #0,4 Current State: 80:[38, 6, 36], Operations: ['92-56=36'] Exploring Operation: 38+36=74, Resulting Numbers: [6, 74] Generated Node #0,4,0: 80:[6, 74] Operation: 38+36=74 Exploring Operation: 6+36=42, Resulting Numbers: [38, 42] Generated Node #0,4,1: 80:[38, 42] Operation: 6+36=42 Exploring Operation: 36/6=6, Resulting Numbers: [38, 6] Generated Node #0,4,2: 80:[38, 6] Operation: 36/6=6 Exploring Operation: 38-36=2, Resulting Numbers: [6, 2] Generated Node #0,4,3: 80:[6, 2] Operation: 38-36=2 Exploring Operation: 38+6=44, Resulting Numbers: [36, 44] Generated Node #0,4,4: 80:[36, 44] Operation: 38+6=44 Moving to Node #0,2 Current State: 80:[6, 92, 18], Operations: ['56-38=18'] Exploring Operation: 92-6=86, Resulting Numbers: [18, 86] Generated Node #0,2,0: 80:[18, 86] Operation: 92-6=86 Exploring Operation: 18/6=3, Resulting Numbers: [92, 3] Generated Node #0,2,1: 80:[92, 3] Operation: 18/6=3 Exploring Operation: 92-18=74, Resulting Numbers: [6, 74] Generated Node #0,2,2: 80:[6, 74] Operation: 92-18=74 Exploring Operation: 18-6=12, Resulting Numbers: [92, 12] Generated Node #0,2,3: 80:[92, 12] Operation: 18-6=12 Exploring Operation: 6+18=24, Resulting Numbers: [92, 24] Generated Node #0,2,4: 80:[92, 24] Operation: 6+18=24 Moving to Node #0,0 Current State: 80:[38, 56, 86], Operations: ['92-6=86'] Exploring Operation: 38+56=94, Resulting Numbers: [86, 94] Generated Node #0,0,0: 80:[86, 94] Operation: 38+56=94 Exploring Operation: 38+86=124, Resulting Numbers: [56, 124] Generated Node #0,0,1: 80:[56, 124] Operation: 38+86=124 Exploring Operation: 86-38=48, Resulting Numbers: [56, 48] Generated Node #0,0,2: 80:[56, 48] Operation: 86-38=48 Exploring Operation: 56-38=18, Resulting Numbers: [86, 18] Generated Node #0,0,3: 80:[86, 18] Operation: 56-38=18 Exploring Operation: 86-56=30, Resulting Numbers: [38, 30] Generated Node #0,0,4: 80:[38, 30] Operation: 86-56=30 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[86, 18], Operations: ['92-6=86', '56-38=18'] Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,80 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[38, 30], Operations: ['92-6=86', '86-56=30'] Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,80 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[86, 94], Operations: ['92-6=86', '38+56=94'] Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,80 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[56, 48], Operations: ['92-6=86', '86-38=48'] Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,80 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[56, 124], Operations: ['92-6=86', '38+86=124'] Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,80 unequal: No Solution Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,80 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: 80:[38, 92, 50], Operations: ['56-6=50'] Exploring Operation: 92-38=54, Resulting Numbers: [50, 54] Generated Node #0,3,0: 80:[50, 54] Operation: 92-38=54 Exploring Operation: 50-38=12, Resulting Numbers: [92, 12] Generated Node #0,3,1: 80:[92, 12] Operation: 50-38=12 Exploring Operation: 38+50=88, Resulting Numbers: [92, 88] Generated Node #0,3,2: 80:[92, 88] Operation: 38+50=88 Exploring Operation: 92-50=42, Resulting Numbers: [38, 42] Generated Node #0,3,3: 80:[38, 42] Operation: 92-50=42 Exploring Operation: 38+92=130, Resulting Numbers: [50, 130] Generated Node #0,3,4: 80:[50, 130] Operation: 38+92=130 Moving to Node #0,1 Current State: 80:[6, 92, 94], Operations: ['38+56=94'] Exploring Operation: 94-92=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 80:[6, 2] Operation: 94-92=2 Exploring Operation: 92-6=86, Resulting Numbers: [94, 86] Generated Node #0,1,1: 80:[94, 86] Operation: 92-6=86 Exploring Operation: 94-6=88, Resulting Numbers: [92, 88] Generated Node #0,1,2: 80:[92, 88] Operation: 94-6=88 Exploring Operation: 6+92=98, Resulting Numbers: [94, 98] Generated Node #0,1,3: 80:[94, 98] Operation: 6+92=98 Exploring Operation: 6+94=100, Resulting Numbers: [92, 100] Generated Node #0,1,4: 80:[92, 100] Operation: 6+94=100 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[6, 2], Operations: ['38+56=94', '94-92=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[94, 86], Operations: ['38+56=94', '92-6=86'] Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,80 unequal: No Solution Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,80 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[92, 88], Operations: ['38+56=94', '94-6=88'] Exploring Operation: 92*88=8096, Resulting Numbers: [8096] 8096,80 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 92+88=180, Resulting Numbers: [180] 180,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[94, 98], Operations: ['38+56=94', '6+92=98'] Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 94+98=192, Resulting Numbers: [192] 192,80 unequal: No Solution Exploring Operation: 94*98=9212, Resulting Numbers: [9212] 9212,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 80:[92, 100], Operations: ['38+56=94', '6+94=100'] Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 92*100=9200, Resulting Numbers: [9200] 9200,80 unequal: No Solution Exploring Operation: 92+100=192, Resulting Numbers: [192] 192,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 80:[6, 2], Operations: ['92-56=36', '38-36=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[38, 6], Operations: ['92-56=36', '36/6=6'] Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,80 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[38, 42], Operations: ['92-56=36', '6+36=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,80 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[38, 6, 56, 92], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [38, 6, 36] Generated Node #0,4: 80:[38, 6, 36] Operation: 92-56=36 Moving to Node #0,4 Current State: 80:[38, 6, 36], Operations: ['92-56=36'] Exploring Operation: 6+36=42, Resulting Numbers: [38, 42] Generated Node #0,4,1: 80:[38, 42] Operation: 6+36=42 Moving to Node #0,4,1 Current State: 80:[38, 42], Operations: ['92-56=36', '6+36=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.934896
hs_5
sum_heuristic
[ 8, 29, 49, 9 ]
88
[ "49-29=20", "20-9=11", "8*11=88" ]
Current State: 88:[8, 29, 49, 9], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [8, 9, 20] Generated Node #2: [8, 9, 20] from Operation: 49-29=20 Current State: 88:[8, 9, 20], Operations: ['49-29=20'] Exploring Operation: 20-9=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 20-9=11 Current State: 88:[8, 11], Operations: ['49-29=20', '20-9=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[8, 29, 49, 9], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [49, 9, 21] Generated Node #0,0: 88:[49, 9, 21] Operation: 29-8=21 Exploring Operation: 49-29=20, Resulting Numbers: [8, 9, 20] Generated Node #0,1: 88:[8, 9, 20] Operation: 49-29=20 Moving to Node #0,1 Current State: 88:[8, 9, 20], Operations: ['49-29=20'] Exploring Operation: 20-9=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 20-9=11 Exploring Operation: 20-8=12, Resulting Numbers: [9, 12] Generated Node #0,1,1: 88:[9, 12] Operation: 20-8=12 Moving to Node #0,0 Current State: 88:[49, 9, 21], Operations: ['29-8=21'] Exploring Operation: 21-9=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 88:[49, 12] Operation: 21-9=12 Exploring Operation: 49-9=40, Resulting Numbers: [21, 40] Generated Node #0,0,1: 88:[21, 40] Operation: 49-9=40 Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['49-29=20', '20-9=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[8, 29, 49, 9], Operations: [] Exploring Operation: 49-29=20, Resulting Numbers: [8, 9, 20] Generated Node #0,1: 88:[8, 9, 20] Operation: 49-29=20 Moving to Node #0,1 Current State: 88:[8, 9, 20], Operations: ['49-29=20'] Exploring Operation: 20-9=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 88:[8, 11] Operation: 20-9=11 Moving to Node #0,1,0 Current State: 88:[8, 11], Operations: ['49-29=20', '20-9=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 42, 51, 43, 57 ]
23
[ "51-42=9", "57-43=14", "9+14=23" ]
Current State: 23:[42, 51, 43, 57], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [43, 57, 9] Generated Node #2: [43, 57, 9] from Operation: 51-42=9 Current State: 23:[43, 57, 9], Operations: ['51-42=9'] Exploring Operation: 57-43=14, Resulting Numbers: [9, 14] Generated Node #3: [9, 14] from Operation: 57-43=14 Current State: 23:[9, 14], Operations: ['51-42=9', '57-43=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[42, 51, 43, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [42, 51, 14] Generated Node #0,0: 23:[42, 51, 14] Operation: 57-43=14 Exploring Operation: 51-42=9, Resulting Numbers: [43, 57, 9] Generated Node #0,1: 23:[43, 57, 9] Operation: 51-42=9 Exploring Operation: 57-42=15, Resulting Numbers: [51, 43, 15] Generated Node #0,2: 23:[51, 43, 15] Operation: 57-42=15 Exploring Operation: 57-51=6, Resulting Numbers: [42, 43, 6] Generated Node #0,3: 23:[42, 43, 6] Operation: 57-51=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[42, 51, 14], Operations: ['57-43=14'] Exploring Operation: 51-14=37, Resulting Numbers: [42, 37] Generated Node #0,0,0: 23:[42, 37] Operation: 51-14=37 Exploring Operation: 51-42=9, Resulting Numbers: [14, 9] Generated Node #0,0,1: 23:[14, 9] Operation: 51-42=9 Exploring Operation: 42-14=28, Resulting Numbers: [51, 28] Generated Node #0,0,2: 23:[51, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [51, 3] Generated Node #0,0,3: 23:[51, 3] Operation: 42/14=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[14, 9], Operations: ['57-43=14', '51-42=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[42, 51, 43, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [42, 51, 14] Generated Node #0,0: 23:[42, 51, 14] Operation: 57-43=14 Moving to Node #0,0 Current State: 23:[42, 51, 14], Operations: ['57-43=14'] Exploring Operation: 51-42=9, Resulting Numbers: [14, 9] Generated Node #0,0,1: 23:[14, 9] Operation: 51-42=9 Moving to Node #0,0,1 Current State: 23:[14, 9], Operations: ['57-43=14', '51-42=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 94, 34, 96, 4 ]
36
[ "94+34=128", "96-4=92", "128-92=36" ]
Current State: 36:[94, 34, 96, 4], Operations: [] Exploring Operation: 94+34=128, Resulting Numbers: [96, 4, 128] Generated Node #2: [96, 4, 128] from Operation: 94+34=128 Current State: 36:[96, 4, 128], Operations: ['94+34=128'] Exploring Operation: 96-4=92, Resulting Numbers: [128, 92] Generated Node #3: [128, 92] from Operation: 96-4=92 Current State: 36:[128, 92], Operations: ['94+34=128', '96-4=92'] Exploring Operation: 128-92=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[94, 34, 96, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [94, 34, 24] Generated Node #0,0: 36:[94, 34, 24] Operation: 96/4=24 Exploring Operation: 96-94=2, Resulting Numbers: [34, 4, 2] Generated Node #0,1: 36:[34, 4, 2] Operation: 96-94=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[34, 4, 2], Operations: ['96-94=2'] Exploring Operation: 34/2=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 36:[4, 17] Operation: 34/2=17 Exploring Operation: 34+2=36, Resulting Numbers: [4, 36] Generated Node #0,1,1: 36:[4, 36] Operation: 34+2=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[4, 36], Operations: ['96-94=2', '34+2=36'] Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[4, 17], Operations: ['96-94=2', '34/2=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[94, 34, 24], Operations: ['96/4=24'] Exploring Operation: 94-24=70, Resulting Numbers: [34, 70] Generated Node #0,0,0: 36:[34, 70] Operation: 94-24=70 Exploring Operation: 94-34=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 36:[24, 60] Operation: 94-34=60 Moving to Node #0,0,1 Current State: 36:[24, 60], Operations: ['96/4=24', '94-34=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[94, 34, 96, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [94, 34, 24] Generated Node #0,0: 36:[94, 34, 24] Operation: 96/4=24 Moving to Node #0,0 Current State: 36:[94, 34, 24], Operations: ['96/4=24'] Exploring Operation: 94-34=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 36:[24, 60] Operation: 94-34=60 Moving to Node #0,0,1 Current State: 36:[24, 60], Operations: ['96/4=24', '94-34=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 55, 82, 71, 12 ]
14
[ "71*12=852", "852-82=770", "770/55=14" ]
Current State: 14:[55, 82, 71, 12], Operations: [] Exploring Operation: 71*12=852, Resulting Numbers: [55, 82, 852] Generated Node #2: [55, 82, 852] from Operation: 71*12=852 Current State: 14:[55, 82, 852], Operations: ['71*12=852'] Exploring Operation: 852-82=770, Resulting Numbers: [55, 770] Generated Node #3: [55, 770] from Operation: 852-82=770 Current State: 14:[55, 770], Operations: ['71*12=852', '852-82=770'] Exploring Operation: 770/55=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[55, 82, 71, 12], Operations: [] Exploring Operation: 82-71=11, Resulting Numbers: [55, 12, 11] Generated Node #0,0: 14:[55, 12, 11] Operation: 82-71=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[55, 12, 11], Operations: ['82-71=11'] Exploring Operation: 55/11=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 14:[12, 5] Operation: 55/11=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[12, 5], Operations: ['82-71=11', '55/11=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,14 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
[ 51, 4, 22, 14 ]
17
[ "51+22=73", "4*14=56", "73-56=17" ]
Current State: 17:[51, 4, 22, 14], Operations: [] Exploring Operation: 51+22=73, Resulting Numbers: [4, 14, 73] Generated Node #2: [4, 14, 73] from Operation: 51+22=73 Current State: 17:[4, 14, 73], Operations: ['51+22=73'] Exploring Operation: 4*14=56, Resulting Numbers: [73, 56] Generated Node #3: [73, 56] from Operation: 4*14=56 Current State: 17:[73, 56], Operations: ['51+22=73', '4*14=56'] Exploring Operation: 73-56=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[51, 4, 22, 14], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [4, 14, 29] Generated Node #0,0: 17:[4, 14, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 17:[4, 14, 29], Operations: ['51-22=29'] Exploring Operation: 29-4=25, Resulting Numbers: [14, 25] Generated Node #0,0,0: 17:[14, 25] Operation: 29-4=25 Moving to Node #0,0,0 Current State: 17:[14, 25], Operations: ['51-22=29', '29-4=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,17 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 88, 96, 49, 53 ]
74
[ "53-49=4", "88/4=22", "96-22=74" ]
Current State: 74:[88, 96, 49, 53], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [88, 96, 4] Generated Node #2: [88, 96, 4] from Operation: 53-49=4 Current State: 74:[88, 96, 4], Operations: ['53-49=4'] Exploring Operation: 88/4=22, Resulting Numbers: [96, 22] Generated Node #3: [96, 22] from Operation: 88/4=22 Current State: 74:[96, 22], Operations: ['53-49=4', '88/4=22'] Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[88, 96, 49, 53], Operations: [] Exploring Operation: 96-88=8, Resulting Numbers: [49, 53, 8] Generated Node #0,0: 74:[49, 53, 8] Operation: 96-88=8 Exploring Operation: 96-53=43, Resulting Numbers: [88, 49, 43] Generated Node #0,1: 74:[88, 49, 43] Operation: 96-53=43 Exploring Operation: 88-53=35, Resulting Numbers: [96, 49, 35] Generated Node #0,2: 74:[96, 49, 35] Operation: 88-53=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[88, 49, 43], Operations: ['96-53=43'] Exploring Operation: 88-43=45, Resulting Numbers: [49, 45] Generated Node #0,1,0: 74:[49, 45] Operation: 88-43=45 Exploring Operation: 88-49=39, Resulting Numbers: [43, 39] Generated Node #0,1,1: 74:[43, 39] Operation: 88-49=39 Exploring Operation: 49-43=6, Resulting Numbers: [88, 6] Generated Node #0,1,2: 74:[88, 6] Operation: 49-43=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[43, 39], Operations: ['96-53=43', '88-49=39'] Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,74 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,74 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,74 unequal: No Solution No 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: 74:[88, 6], Operations: ['96-53=43', '49-43=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,74 unequal: No Solution Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,74 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,74 unequal: No Solution No 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: 74:[49, 45], Operations: ['96-53=43', '88-43=45'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,74 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,74 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: 74:[49, 53, 8], Operations: ['96-88=8'] Exploring Operation: 53-8=45, Resulting Numbers: [49, 45] Generated Node #0,0,0: 74:[49, 45] Operation: 53-8=45 Exploring Operation: 53-49=4, Resulting Numbers: [8, 4] Generated Node #0,0,1: 74:[8, 4] Operation: 53-49=4 Exploring Operation: 49-8=41, Resulting Numbers: [53, 41] Generated Node #0,0,2: 74:[53, 41] Operation: 49-8=41 Moving to Node #0,0,1 Current State: 74:[8, 4], Operations: ['96-88=8', '53-49=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[49, 45], Operations: ['96-88=8', '53-8=45'] Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,74 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[53, 41], Operations: ['96-88=8', '49-8=41'] Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,74 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[96, 49, 35], Operations: ['88-53=35'] Exploring Operation: 96-49=47, Resulting Numbers: [35, 47] Generated Node #0,2,0: 74:[35, 47] Operation: 96-49=47 Exploring Operation: 96-35=61, Resulting Numbers: [49, 61] Generated Node #0,2,1: 74:[49, 61] Operation: 96-35=61 Exploring Operation: 49+35=84, Resulting Numbers: [96, 84] Generated Node #0,2,2: 74:[96, 84] Operation: 49+35=84 Moving to Node #0,2,0 Current State: 74:[35, 47], Operations: ['88-53=35', '96-49=47'] Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,74 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[49, 61], Operations: ['88-53=35', '96-35=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,74 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[96, 84], Operations: ['88-53=35', '49+35=84'] Exploring Operation: 96*84=8064, Resulting Numbers: [8064] 8064,74 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 96+84=180, Resulting Numbers: [180] 180,74 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
[ 92, 93, 90, 49 ]
47
[ "92+49=141", "93-90=3", "141/3=47" ]
Current State: 47:[92, 93, 90, 49], Operations: [] Exploring Operation: 92+49=141, Resulting Numbers: [93, 90, 141] Generated Node #2: [93, 90, 141] from Operation: 92+49=141 Current State: 47:[93, 90, 141], Operations: ['92+49=141'] Exploring Operation: 93-90=3, Resulting Numbers: [141, 3] Generated Node #3: [141, 3] from Operation: 93-90=3 Current State: 47:[141, 3], Operations: ['92+49=141', '93-90=3'] Exploring Operation: 141/3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[92, 93, 90, 49], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [90, 49, 1] Generated Node #0,0: 47:[90, 49, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 47:[90, 49, 1], Operations: ['93-92=1'] Exploring Operation: 90-1=89, Resulting Numbers: [49, 89] Generated Node #0,0,0: 47:[49, 89] Operation: 90-1=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[49, 89], Operations: ['93-92=1', '90-1=89'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,47 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
[ 6, 58, 79, 36 ]
95
[ "58-6=52", "79-36=43", "52+43=95" ]
Current State: 95:[6, 58, 79, 36], Operations: [] Exploring Operation: 58-6=52, Resulting Numbers: [79, 36, 52] Generated Node #2: [79, 36, 52] from Operation: 58-6=52 Current State: 95:[79, 36, 52], Operations: ['58-6=52'] Exploring Operation: 79-36=43, Resulting Numbers: [52, 43] Generated Node #3: [52, 43] from Operation: 79-36=43 Current State: 95:[52, 43], Operations: ['58-6=52', '79-36=43'] Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[6, 58, 79, 36], Operations: [] Exploring Operation: 58+36=94, Resulting Numbers: [6, 79, 94] Generated Node #0,0: 95:[6, 79, 94] Operation: 58+36=94 Exploring Operation: 79-58=21, Resulting Numbers: [6, 36, 21] Generated Node #0,1: 95:[6, 36, 21] Operation: 79-58=21 Exploring Operation: 58-36=22, Resulting Numbers: [6, 79, 22] Generated Node #0,2: 95:[6, 79, 22] Operation: 58-36=22 Exploring Operation: 36/6=6, Resulting Numbers: [58, 79, 6] Generated Node #0,3: 95:[58, 79, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[6, 79, 94], Operations: ['58+36=94'] Exploring Operation: 6+94=100, Resulting Numbers: [79, 100] Generated Node #0,0,0: 95:[79, 100] Operation: 6+94=100 Exploring Operation: 6+79=85, Resulting Numbers: [94, 85] Generated Node #0,0,1: 95:[94, 85] Operation: 6+79=85 Exploring Operation: 94-79=15, Resulting Numbers: [6, 15] Generated Node #0,0,2: 95:[6, 15] Operation: 94-79=15 Exploring Operation: 79-6=73, Resulting Numbers: [94, 73] Generated Node #0,0,3: 95:[94, 73] Operation: 79-6=73 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[6, 15], Operations: ['58+36=94', '94-79=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,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:[94, 85], Operations: ['58+36=94', '6+79=85'] Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,95 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,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,0 Current State: 95:[79, 100], Operations: ['58+36=94', '6+94=100'] Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,95 unequal: No Solution Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,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:[94, 73], Operations: ['58+36=94', '79-6=73'] Exploring Operation: 94+73=167, Resulting Numbers: [167] 167,95 unequal: No Solution Exploring Operation: 94*73=6862, Resulting Numbers: [6862] 6862,95 unequal: No Solution Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,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:[6, 36, 21], Operations: ['79-58=21'] Exploring Operation: 36-21=15, Resulting Numbers: [6, 15] Generated Node #0,1,0: 95:[6, 15] Operation: 36-21=15 Exploring Operation: 36/6=6, Resulting Numbers: [21, 6] Generated Node #0,1,1: 95:[21, 6] Operation: 36/6=6 Exploring Operation: 21-6=15, Resulting Numbers: [36, 15] Generated Node #0,1,2: 95:[36, 15] Operation: 21-6=15 Exploring Operation: 36-6=30, Resulting Numbers: [21, 30] Generated Node #0,1,3: 95:[21, 30] Operation: 36-6=30 Moving to Node #0,1,1 Current State: 95:[21, 6], Operations: ['79-58=21', '36/6=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[6, 15], Operations: ['79-58=21', '36-21=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[21, 30], Operations: ['79-58=21', '36-6=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,95 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[36, 15], Operations: ['79-58=21', '21-6=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,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:[6, 79, 22], Operations: ['58-36=22'] Exploring Operation: 6+79=85, Resulting Numbers: [22, 85] Generated Node #0,2,0: 95:[22, 85] Operation: 6+79=85 Exploring Operation: 79+22=101, Resulting Numbers: [6, 101] Generated Node #0,2,1: 95:[6, 101] Operation: 79+22=101 Exploring Operation: 22-6=16, Resulting Numbers: [79, 16] Generated Node #0,2,2: 95:[79, 16] Operation: 22-6=16 Exploring Operation: 79-6=73, Resulting Numbers: [22, 73] Generated Node #0,2,3: 95:[22, 73] Operation: 79-6=73 Moving to Node #0,2,1 Current State: 95:[6, 101], Operations: ['58-36=22', '79+22=101'] Exploring Operation: 6+101=107, Resulting Numbers: [107] 107,95 unequal: No Solution Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[6, 58, 79, 36], Operations: [] Exploring Operation: 58-36=22, Resulting Numbers: [6, 79, 22] Generated Node #0,2: 95:[6, 79, 22] Operation: 58-36=22 Moving to Node #0,2 Current State: 95:[6, 79, 22], Operations: ['58-36=22'] Exploring Operation: 79+22=101, Resulting Numbers: [6, 101] Generated Node #0,2,1: 95:[6, 101] Operation: 79+22=101 Moving to Node #0,2,1 Current State: 95:[6, 101], Operations: ['58-36=22', '79+22=101'] Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 64, 21, 17, 63 ]
39
[ "64+21=85", "63-17=46", "85-46=39" ]
Current State: 39:[64, 21, 17, 63], Operations: [] Exploring Operation: 64+21=85, Resulting Numbers: [17, 63, 85] Generated Node #2: [17, 63, 85] from Operation: 64+21=85 Current State: 39:[17, 63, 85], Operations: ['64+21=85'] Exploring Operation: 63-17=46, Resulting Numbers: [85, 46] Generated Node #3: [85, 46] from Operation: 63-17=46 Current State: 39:[85, 46], Operations: ['64+21=85', '63-17=46'] Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[64, 21, 17, 63], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [17, 63, 43] Generated Node #0,0: 39:[17, 63, 43] Operation: 64-21=43 Exploring Operation: 63/21=3, Resulting Numbers: [64, 17, 3] Generated Node #0,1: 39:[64, 17, 3] Operation: 63/21=3 Exploring Operation: 64-63=1, Resulting Numbers: [21, 17, 1] Generated Node #0,2: 39:[21, 17, 1] Operation: 64-63=1 Exploring Operation: 63-21=42, Resulting Numbers: [64, 17, 42] Generated Node #0,3: 39:[64, 17, 42] Operation: 63-21=42 Moving to Node #0,2 Current State: 39:[21, 17, 1], Operations: ['64-63=1'] Exploring Operation: 17-1=16, Resulting Numbers: [21, 16] Generated Node #0,2,0: 39:[21, 16] Operation: 17-1=16 Exploring Operation: 21-17=4, Resulting Numbers: [1, 4] Generated Node #0,2,1: 39:[1, 4] Operation: 21-17=4 Exploring Operation: 21+17=38, Resulting Numbers: [1, 38] Generated Node #0,2,2: 39:[1, 38] Operation: 21+17=38 Exploring Operation: 21-1=20, Resulting Numbers: [17, 20] Generated Node #0,2,3: 39:[17, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[1, 4], Operations: ['64-63=1', '21-17=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[1, 38], Operations: ['64-63=1', '21+17=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[64, 21, 17, 63], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [21, 17, 1] Generated Node #0,2: 39:[21, 17, 1] Operation: 64-63=1 Moving to Node #0,2 Current State: 39:[21, 17, 1], Operations: ['64-63=1'] Exploring Operation: 21+17=38, Resulting Numbers: [1, 38] Generated Node #0,2,2: 39:[1, 38] Operation: 21+17=38 Moving to Node #0,2,2 Current State: 39:[1, 38], Operations: ['64-63=1', '21+17=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 6, 17, 7, 23 ]
84
[ "17-6=11", "23-11=12", "7*12=84" ]
Current State: 84:[6, 17, 7, 23], Operations: [] Exploring Operation: 17-6=11, Resulting Numbers: [7, 23, 11] Generated Node #2: [7, 23, 11] from Operation: 17-6=11 Current State: 84:[7, 23, 11], Operations: ['17-6=11'] Exploring Operation: 23-11=12, Resulting Numbers: [7, 12] Generated Node #3: [7, 12] from Operation: 23-11=12 Current State: 84:[7, 12], Operations: ['17-6=11', '23-11=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[6, 17, 7, 23], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [6, 7, 6] Generated Node #0,0: 84:[6, 7, 6] Operation: 23-17=6 Moving to Node #0,0 Current State: 84:[6, 7, 6], Operations: ['23-17=6'] Exploring Operation: 6*7=42, Resulting Numbers: [6, 42] Generated Node #0,0,0: 84:[6, 42] Operation: 6*7=42 Moving to Node #0,0,0 Current State: 84:[6, 42], Operations: ['23-17=6', '6*7=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 21, 5, 91 ]
100
[ "6*5=30", "91-21=70", "30+70=100" ]
Current State: 100:[6, 21, 5, 91], Operations: [] Exploring Operation: 6*5=30, Resulting Numbers: [21, 91, 30] Generated Node #2: [21, 91, 30] from Operation: 6*5=30 Current State: 100:[21, 91, 30], Operations: ['6*5=30'] Exploring Operation: 91-21=70, Resulting Numbers: [30, 70] Generated Node #3: [30, 70] from Operation: 91-21=70 Current State: 100:[30, 70], Operations: ['6*5=30', '91-21=70'] Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 21, 5, 91], Operations: [] Exploring Operation: 5+91=96, Resulting Numbers: [6, 21, 96] Generated Node #0,0: 100:[6, 21, 96] Operation: 5+91=96 Exploring Operation: 6+91=97, Resulting Numbers: [21, 5, 97] Generated Node #0,1: 100:[21, 5, 97] Operation: 6+91=97 Moving to Node #0,1 Current State: 100:[21, 5, 97], Operations: ['6+91=97'] Exploring Operation: 21+5=26, Resulting Numbers: [97, 26] Generated Node #0,1,0: 100:[97, 26] Operation: 21+5=26 Exploring Operation: 5+97=102, Resulting Numbers: [21, 102] Generated Node #0,1,1: 100:[21, 102] Operation: 5+97=102 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[21, 102], Operations: ['6+91=97', '5+97=102'] Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 21+102=123, Resulting Numbers: [123] 123,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,1,0 Current State: 100:[97, 26], Operations: ['6+91=97', '21+5=26'] Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 97+26=123, Resulting Numbers: [123] 123,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[6, 21, 96], Operations: ['5+91=96'] Exploring Operation: 6+96=102, Resulting Numbers: [21, 102] Generated Node #0,0,0: 100:[21, 102] Operation: 6+96=102 Exploring Operation: 96/6=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 100:[21, 16] Operation: 96/6=16 Moving to Node #0,0,0 Current State: 100:[21, 102], Operations: ['5+91=96', '6+96=102'] Exploring Operation: 21+102=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[21, 16], Operations: ['5+91=96', '96/6=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 77, 32, 40 ]
17
[ "77-22=55", "32+40=72", "72-55=17" ]
Current State: 17:[22, 77, 32, 40], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [32, 40, 55] Generated Node #2: [32, 40, 55] from Operation: 77-22=55 Current State: 17:[32, 40, 55], Operations: ['77-22=55'] Exploring Operation: 32+40=72, Resulting Numbers: [55, 72] Generated Node #3: [55, 72] from Operation: 32+40=72 Current State: 17:[55, 72], Operations: ['77-22=55', '32+40=72'] Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[22, 77, 32, 40], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [22, 40, 45] Generated Node #0,0: 17:[22, 40, 45] Operation: 77-32=45 Exploring Operation: 77-40=37, Resulting Numbers: [22, 32, 37] Generated Node #0,1: 17:[22, 32, 37] Operation: 77-40=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[22, 32, 37], Operations: ['77-40=37'] Exploring Operation: 37-32=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 17:[22, 5] Operation: 37-32=5 Exploring Operation: 37-22=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 17:[32, 15] Operation: 37-22=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[22, 5], Operations: ['77-40=37', '37-32=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[22, 77, 32, 40], Operations: [] Exploring Operation: 77-40=37, Resulting Numbers: [22, 32, 37] Generated Node #0,1: 17:[22, 32, 37] Operation: 77-40=37 Moving to Node #0,1 Current State: 17:[22, 32, 37], Operations: ['77-40=37'] Exploring Operation: 37-32=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 17:[22, 5] Operation: 37-32=5 Moving to Node #0,1,0 Current State: 17:[22, 5], Operations: ['77-40=37', '37-32=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 14, 53, 19, 91 ]
16
[ "91-53=38", "38/19=2", "14+2=16" ]
Current State: 16:[14, 53, 19, 91], Operations: [] Exploring Operation: 91-53=38, Resulting Numbers: [14, 19, 38] Generated Node #2: [14, 19, 38] from Operation: 91-53=38 Current State: 16:[14, 19, 38], Operations: ['91-53=38'] Exploring Operation: 38/19=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 38/19=2 Current State: 16:[14, 2], Operations: ['91-53=38', '38/19=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[14, 53, 19, 91], Operations: [] Exploring Operation: 91-53=38, Resulting Numbers: [14, 19, 38] Generated Node #0,0: 16:[14, 19, 38] Operation: 91-53=38 Exploring Operation: 53-19=34, Resulting Numbers: [14, 91, 34] Generated Node #0,1: 16:[14, 91, 34] Operation: 53-19=34 Moving to Node #0,0 Current State: 16:[14, 19, 38], Operations: ['91-53=38'] Exploring Operation: 38-19=19, Resulting Numbers: [14, 19] Generated Node #0,0,0: 16:[14, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [14, 2] Generated Node #0,0,1: 16:[14, 2] Operation: 38/19=2 Moving to Node #0,1 Current State: 16:[14, 91, 34], Operations: ['53-19=34'] Exploring Operation: 91-14=77, Resulting Numbers: [34, 77] Generated Node #0,1,0: 16:[34, 77] Operation: 91-14=77 Exploring Operation: 91-34=57, Resulting Numbers: [14, 57] Generated Node #0,1,1: 16:[14, 57] Operation: 91-34=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[14, 57], Operations: ['53-19=34', '91-34=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[34, 77], Operations: ['53-19=34', '91-14=77'] Exploring Operation: 34+77=111, Resulting Numbers: [111] 111,16 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,16 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: 16:[14, 2], Operations: ['91-53=38', '38/19=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[14, 53, 19, 91], Operations: [] Exploring Operation: 91-53=38, Resulting Numbers: [14, 19, 38] Generated Node #0,0: 16:[14, 19, 38] Operation: 91-53=38 Moving to Node #0,0 Current State: 16:[14, 19, 38], Operations: ['91-53=38'] Exploring Operation: 38/19=2, Resulting Numbers: [14, 2] Generated Node #0,0,1: 16:[14, 2] Operation: 38/19=2 Moving to Node #0,0,1 Current State: 16:[14, 2], Operations: ['91-53=38', '38/19=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 48, 75, 17, 43 ]
60
[ "48*75=3600", "17+43=60", "3600/60=60" ]
Current State: 60:[48, 75, 17, 43], Operations: [] Exploring Operation: 48*75=3600, Resulting Numbers: [17, 43, 3600] Generated Node #2: [17, 43, 3600] from Operation: 48*75=3600 Current State: 60:[17, 43, 3600], Operations: ['48*75=3600'] Exploring Operation: 17+43=60, Resulting Numbers: [3600, 60] Generated Node #3: [3600, 60] from Operation: 17+43=60 Current State: 60:[3600, 60], Operations: ['48*75=3600', '17+43=60'] Exploring Operation: 3600/60=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[48, 75, 17, 43], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [48, 17, 32] Generated Node #0,0: 60:[48, 17, 32] Operation: 75-43=32 Exploring Operation: 75-48=27, Resulting Numbers: [17, 43, 27] Generated Node #0,1: 60:[17, 43, 27] Operation: 75-48=27 Exploring Operation: 48-43=5, Resulting Numbers: [75, 17, 5] Generated Node #0,2: 60:[75, 17, 5] Operation: 48-43=5 Moving to Node #0,0 Current State: 60:[48, 17, 32], Operations: ['75-43=32'] Exploring Operation: 48+17=65, Resulting Numbers: [32, 65] Generated Node #0,0,0: 60:[32, 65] Operation: 48+17=65 Exploring Operation: 48-17=31, Resulting Numbers: [32, 31] Generated Node #0,0,1: 60:[32, 31] Operation: 48-17=31 Exploring Operation: 48-32=16, Resulting Numbers: [17, 16] Generated Node #0,0,2: 60:[17, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[32, 31], Operations: ['75-43=32', '48-17=31'] Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,60 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[17, 16], Operations: ['75-43=32', '48-32=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,60 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[32, 65], Operations: ['75-43=32', '48+17=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,60 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,60 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: 60:[75, 17, 5], Operations: ['48-43=5'] Exploring Operation: 75/5=15, Resulting Numbers: [17, 15] Generated Node #0,2,0: 60:[17, 15] Operation: 75/5=15 Exploring Operation: 75-17=58, Resulting Numbers: [5, 58] Generated Node #0,2,1: 60:[5, 58] Operation: 75-17=58 Exploring Operation: 75-5=70, Resulting Numbers: [17, 70] Generated Node #0,2,2: 60:[17, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[17, 15], Operations: ['48-43=5', '75/5=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,60 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[5, 58], Operations: ['48-43=5', '75-17=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,60 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[17, 70], Operations: ['48-43=5', '75-5=70'] Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,60 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: 60:[17, 43, 27], Operations: ['75-48=27'] Exploring Operation: 43-17=26, Resulting Numbers: [27, 26] Generated Node #0,1,0: 60:[27, 26] Operation: 43-17=26 Exploring Operation: 43-27=16, Resulting Numbers: [17, 16] Generated Node #0,1,1: 60:[17, 16] Operation: 43-27=16 Exploring Operation: 17+43=60, Resulting Numbers: [27, 60] Generated Node #0,1,2: 60:[27, 60] Operation: 17+43=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[17, 16], Operations: ['75-48=27', '43-27=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[27, 60], Operations: ['75-48=27', '17+43=60'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 27*60=1620, Resulting Numbers: [1620] 1620,60 unequal: No Solution Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[27, 26], Operations: ['75-48=27', '43-17=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,60 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,60 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
[ 8, 18, 27, 30 ]
24
[ "18-8=10", "30/10=3", "27-3=24" ]
Current State: 24:[8, 18, 27, 30], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [27, 30, 10] Generated Node #2: [27, 30, 10] from Operation: 18-8=10 Current State: 24:[27, 30, 10], Operations: ['18-8=10'] Exploring Operation: 30/10=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 30/10=3 Current State: 24:[27, 3], Operations: ['18-8=10', '30/10=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[8, 18, 27, 30], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [8, 27, 12] Generated Node #0,0: 24:[8, 27, 12] Operation: 30-18=12 Exploring Operation: 30-27=3, Resulting Numbers: [8, 18, 3] Generated Node #0,1: 24:[8, 18, 3] Operation: 30-27=3 Exploring Operation: 8+18=26, Resulting Numbers: [27, 30, 26] Generated Node #0,2: 24:[27, 30, 26] Operation: 8+18=26 Exploring Operation: 27-18=9, Resulting Numbers: [8, 30, 9] Generated Node #0,3: 24:[8, 30, 9] Operation: 27-18=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[8, 27, 12], Operations: ['30-18=12'] Exploring Operation: 27-8=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 24:[12, 19] Operation: 27-8=19 Exploring Operation: 27-12=15, Resulting Numbers: [8, 15] Generated Node #0,0,1: 24:[8, 15] Operation: 27-12=15 Exploring Operation: 12-8=4, Resulting Numbers: [27, 4] Generated Node #0,0,2: 24:[27, 4] Operation: 12-8=4 Exploring Operation: 8+12=20, Resulting Numbers: [27, 20] Generated Node #0,0,3: 24:[27, 20] Operation: 8+12=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[8, 15], Operations: ['30-18=12', '27-12=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,24 unequal: No Solution No 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: 24:[27, 4], Operations: ['30-18=12', '12-8=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,24 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,24 unequal: No Solution No 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: 24:[12, 19], Operations: ['30-18=12', '27-8=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,24 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,24 unequal: No Solution No 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: 24:[27, 20], Operations: ['30-18=12', '8+12=20'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[8, 18, 3], Operations: ['30-27=3'] Exploring Operation: 8+18=26, Resulting Numbers: [3, 26] Generated Node #0,1,0: 24:[3, 26] Operation: 8+18=26 Exploring Operation: 18-8=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 24:[3, 10] Operation: 18-8=10 Exploring Operation: 18/3=6, Resulting Numbers: [8, 6] Generated Node #0,1,2: 24:[8, 6] Operation: 18/3=6 Exploring Operation: 18+3=21, Resulting Numbers: [8, 21] Generated Node #0,1,3: 24:[8, 21] Operation: 18+3=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 24:[8, 6], Operations: ['30-27=3', '18/3=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,24 unequal: No Solution No 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: 24:[3, 26], Operations: ['30-27=3', '8+18=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,24 unequal: No Solution No 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: 24:[3, 10], Operations: ['30-27=3', '18-8=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,24 unequal: No Solution No 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: 24:[8, 21], Operations: ['30-27=3', '18+3=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,24 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[8, 30, 9], Operations: ['27-18=9'] Exploring Operation: 8+9=17, Resulting Numbers: [30, 17] Generated Node #0,3,0: 24:[30, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [30, 1] Generated Node #0,3,1: 24:[30, 1] Operation: 9-8=1 Exploring Operation: 30-8=22, Resulting Numbers: [9, 22] Generated Node #0,3,2: 24:[9, 22] Operation: 30-8=22 Exploring Operation: 30-9=21, Resulting Numbers: [8, 21] Generated Node #0,3,3: 24:[8, 21] Operation: 30-9=21 Moving to Node #0,3,2 Current State: 24:[9, 22], Operations: ['27-18=9', '30-8=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,24 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[8, 21], Operations: ['27-18=9', '30-9=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,24 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[30, 1], Operations: ['27-18=9', '9-8=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[30, 17], Operations: ['27-18=9', '8+9=17'] Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,24 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,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 Current State: 24:[27, 30, 26], Operations: ['8+18=26'] Exploring Operation: 30-26=4, Resulting Numbers: [27, 4] Generated Node #0,2,0: 24:[27, 4] Operation: 30-26=4 Exploring Operation: 27+30=57, Resulting Numbers: [26, 57] Generated Node #0,2,1: 24:[26, 57] Operation: 27+30=57 Exploring Operation: 27-26=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 24:[30, 1] Operation: 27-26=1 Exploring Operation: 30-27=3, Resulting Numbers: [26, 3] Generated Node #0,2,3: 24:[26, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 24:[26, 3], Operations: ['8+18=26', '30-27=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,24 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,24 unequal: No Solution No 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: 24:[27, 4], Operations: ['8+18=26', '30-26=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,24 unequal: No Solution No 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: 24:[30, 1], Operations: ['8+18=26', '27-26=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,24 unequal: No Solution No 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: 24:[26, 57], Operations: ['8+18=26', '27+30=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,24 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 89, 4, 93, 55 ]
38
[ "89+93=182", "4*55=220", "220-182=38" ]
Current State: 38:[89, 4, 93, 55], Operations: [] Exploring Operation: 89+93=182, Resulting Numbers: [4, 55, 182] Generated Node #2: [4, 55, 182] from Operation: 89+93=182 Current State: 38:[4, 55, 182], Operations: ['89+93=182'] Exploring Operation: 4*55=220, Resulting Numbers: [182, 220] Generated Node #3: [182, 220] from Operation: 4*55=220 Current State: 38:[182, 220], Operations: ['89+93=182', '4*55=220'] Exploring Operation: 220-182=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[89, 4, 93, 55], Operations: [] Exploring Operation: 93-55=38, Resulting Numbers: [89, 4, 38] Generated Node #0,0: 38:[89, 4, 38] Operation: 93-55=38 Exploring Operation: 93-89=4, Resulting Numbers: [4, 55, 4] Generated Node #0,1: 38:[4, 55, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 38:[4, 55, 4], Operations: ['93-89=4'] Exploring Operation: 55-4=51, Resulting Numbers: [4, 51] Generated Node #0,1,0: 38:[4, 51] Operation: 55-4=51 Exploring Operation: 55-4=51, Resulting Numbers: [4, 51] Generated Node #0,1,1: 38:[4, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[4, 51], Operations: ['93-89=4', '55-4=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[4, 51], Operations: ['93-89=4', '55-4=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,38 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: 38:[89, 4, 38], Operations: ['93-55=38'] Exploring Operation: 89-4=85, Resulting Numbers: [38, 85] Generated Node #0,0,0: 38:[38, 85] Operation: 89-4=85 Exploring Operation: 89-38=51, Resulting Numbers: [4, 51] Generated Node #0,0,1: 38:[4, 51] Operation: 89-38=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[4, 51], Operations: ['93-55=38', '89-38=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[38, 85], Operations: ['93-55=38', '89-4=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,38 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
[ 27, 85, 84, 73 ]
20
[ "85-73=12", "84/12=7", "27-7=20" ]
Current State: 20:[27, 85, 84, 73], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [27, 84, 12] Generated Node #2: [27, 84, 12] from Operation: 85-73=12 Current State: 20:[27, 84, 12], Operations: ['85-73=12'] Exploring Operation: 84/12=7, Resulting Numbers: [27, 7] Generated Node #3: [27, 7] from Operation: 84/12=7 Current State: 20:[27, 7], Operations: ['85-73=12', '84/12=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[27, 85, 84, 73], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [27, 73, 1] Generated Node #0,0: 20:[27, 73, 1] Operation: 85-84=1 Exploring Operation: 85-73=12, Resulting Numbers: [27, 84, 12] Generated Node #0,1: 20:[27, 84, 12] Operation: 85-73=12 Moving to Node #0,0 Current State: 20:[27, 73, 1], Operations: ['85-84=1'] Exploring Operation: 27-1=26, Resulting Numbers: [73, 26] Generated Node #0,0,0: 20:[73, 26] Operation: 27-1=26 Exploring Operation: 73-27=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 20:[1, 46] Operation: 73-27=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[1, 46], Operations: ['85-84=1', '73-27=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,20 unequal: No Solution No 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: 20:[73, 26], Operations: ['85-84=1', '27-1=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,20 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,20 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: 20:[27, 84, 12], Operations: ['85-73=12'] Exploring Operation: 84/12=7, Resulting Numbers: [27, 7] Generated Node #0,1,0: 20:[27, 7] Operation: 84/12=7 Exploring Operation: 84-27=57, Resulting Numbers: [12, 57] Generated Node #0,1,1: 20:[12, 57] Operation: 84-27=57 Moving to Node #0,1,0 Current State: 20:[27, 7], Operations: ['85-73=12', '84/12=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[27, 85, 84, 73], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [27, 84, 12] Generated Node #0,1: 20:[27, 84, 12] Operation: 85-73=12 Moving to Node #0,1 Current State: 20:[27, 84, 12], Operations: ['85-73=12'] Exploring Operation: 84/12=7, Resulting Numbers: [27, 7] Generated Node #0,1,0: 20:[27, 7] Operation: 84/12=7 Moving to Node #0,1,0 Current State: 20:[27, 7], Operations: ['85-73=12', '84/12=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 77, 27, 83, 90 ]
42
[ "83-77=6", "90/6=15", "27+15=42" ]
Current State: 42:[77, 27, 83, 90], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [27, 90, 6] Generated Node #2: [27, 90, 6] from Operation: 83-77=6 Current State: 42:[27, 90, 6], Operations: ['83-77=6'] Exploring Operation: 90/6=15, Resulting Numbers: [27, 15] Generated Node #3: [27, 15] from Operation: 90/6=15 Current State: 42:[27, 15], Operations: ['83-77=6', '90/6=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[77, 27, 83, 90], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [27, 90, 6] Generated Node #0,0: 42:[27, 90, 6] Operation: 83-77=6 Exploring Operation: 90-83=7, Resulting Numbers: [77, 27, 7] Generated Node #0,1: 42:[77, 27, 7] Operation: 90-83=7 Exploring Operation: 90-77=13, Resulting Numbers: [27, 83, 13] Generated Node #0,2: 42:[27, 83, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 42:[77, 27, 7], Operations: ['90-83=7'] Exploring Operation: 77-27=50, Resulting Numbers: [7, 50] Generated Node #0,1,0: 42:[7, 50] Operation: 77-27=50 Exploring Operation: 77-7=70, Resulting Numbers: [27, 70] Generated Node #0,1,1: 42:[27, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [27, 11] Generated Node #0,1,2: 42:[27, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[7, 50], Operations: ['90-83=7', '77-27=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,42 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,42 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,42 unequal: No Solution No 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: 42:[27, 11], Operations: ['90-83=7', '77/7=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,42 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,42 unequal: No Solution No 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: 42:[27, 70], Operations: ['90-83=7', '77-7=70'] Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,42 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: 42:[27, 83, 13], Operations: ['90-77=13'] Exploring Operation: 83-27=56, Resulting Numbers: [13, 56] Generated Node #0,2,0: 42:[13, 56] Operation: 83-27=56 Exploring Operation: 83-13=70, Resulting Numbers: [27, 70] Generated Node #0,2,1: 42:[27, 70] Operation: 83-13=70 Exploring Operation: 27-13=14, Resulting Numbers: [83, 14] Generated Node #0,2,2: 42:[83, 14] Operation: 27-13=14 Moving to Node #0,0 Current State: 42:[27, 90, 6], Operations: ['83-77=6'] Exploring Operation: 27-6=21, Resulting Numbers: [90, 21] Generated Node #0,0,0: 42:[90, 21] Operation: 27-6=21 Exploring Operation: 90/6=15, Resulting Numbers: [27, 15] Generated Node #0,0,1: 42:[27, 15] Operation: 90/6=15 Exploring Operation: 90-27=63, Resulting Numbers: [6, 63] Generated Node #0,0,2: 42:[6, 63] Operation: 90-27=63 Moving to Node #0,0,1 Current State: 42:[27, 15], Operations: ['83-77=6', '90/6=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[77, 27, 83, 90], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [27, 90, 6] Generated Node #0,0: 42:[27, 90, 6] Operation: 83-77=6 Moving to Node #0,0 Current State: 42:[27, 90, 6], Operations: ['83-77=6'] Exploring Operation: 90/6=15, Resulting Numbers: [27, 15] Generated Node #0,0,1: 42:[27, 15] Operation: 90/6=15 Moving to Node #0,0,1 Current State: 42:[27, 15], Operations: ['83-77=6', '90/6=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 3, 8, 69, 16 ]
29
[ "3*8=24", "69-16=53", "53-24=29" ]
Current State: 29:[3, 8, 69, 16], Operations: [] Exploring Operation: 3*8=24, Resulting Numbers: [69, 16, 24] Generated Node #2: [69, 16, 24] from Operation: 3*8=24 Current State: 29:[69, 16, 24], Operations: ['3*8=24'] Exploring Operation: 69-16=53, Resulting Numbers: [24, 53] Generated Node #3: [24, 53] from Operation: 69-16=53 Current State: 29:[24, 53], Operations: ['3*8=24', '69-16=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 8, 69, 16], Operations: [] Exploring Operation: 69-3=66, Resulting Numbers: [8, 16, 66] Generated Node #0,0: 29:[8, 16, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [8, 16, 23] Generated Node #0,1: 29:[8, 16, 23] Operation: 69/3=23 Exploring Operation: 3+16=19, Resulting Numbers: [8, 69, 19] Generated Node #0,2: 29:[8, 69, 19] Operation: 3+16=19 Exploring Operation: 3*8=24, Resulting Numbers: [69, 16, 24] Generated Node #0,3: 29:[69, 16, 24] Operation: 3*8=24 Exploring Operation: 3+8=11, Resulting Numbers: [69, 16, 11] Generated Node #0,4: 29:[69, 16, 11] Operation: 3+8=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[8, 16, 23], Operations: ['69/3=23'] Exploring Operation: 16-8=8, Resulting Numbers: [23, 8] Generated Node #0,1,0: 29:[23, 8] Operation: 16-8=8 Exploring Operation: 16+23=39, Resulting Numbers: [8, 39] Generated Node #0,1,1: 29:[8, 39] Operation: 16+23=39 Exploring Operation: 8+23=31, Resulting Numbers: [16, 31] Generated Node #0,1,2: 29:[16, 31] Operation: 8+23=31 Exploring Operation: 23-8=15, Resulting Numbers: [16, 15] Generated Node #0,1,3: 29:[16, 15] Operation: 23-8=15 Exploring Operation: 8+16=24, Resulting Numbers: [23, 24] Generated Node #0,1,4: 29:[23, 24] Operation: 8+16=24 Moving to Node #0,1,4 Current State: 29:[23, 24], Operations: ['69/3=23', '8+16=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,29 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[16, 31], Operations: ['69/3=23', '8+23=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[23, 8], Operations: ['69/3=23', '16-8=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[16, 15], Operations: ['69/3=23', '23-8=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[8, 39], Operations: ['69/3=23', '16+23=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,29 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,29 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,29 unequal: No Solution No 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: 29:[69, 16, 24], Operations: ['3*8=24'] Exploring Operation: 69+16=85, Resulting Numbers: [24, 85] Generated Node #0,3,0: 29:[24, 85] Operation: 69+16=85 Exploring Operation: 16+24=40, Resulting Numbers: [69, 40] Generated Node #0,3,1: 29:[69, 40] Operation: 16+24=40 Exploring Operation: 69-16=53, Resulting Numbers: [24, 53] Generated Node #0,3,2: 29:[24, 53] Operation: 69-16=53 Exploring Operation: 69-24=45, Resulting Numbers: [16, 45] Generated Node #0,3,3: 29:[16, 45] Operation: 69-24=45 Exploring Operation: 24-16=8, Resulting Numbers: [69, 8] Generated Node #0,3,4: 29:[69, 8] Operation: 24-16=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[24, 53], Operations: ['3*8=24', '69-16=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[3, 8, 69, 16], Operations: [] Exploring Operation: 3*8=24, Resulting Numbers: [69, 16, 24] Generated Node #0,3: 29:[69, 16, 24] Operation: 3*8=24 Moving to Node #0,3 Current State: 29:[69, 16, 24], Operations: ['3*8=24'] Exploring Operation: 69-16=53, Resulting Numbers: [24, 53] Generated Node #0,3,2: 29:[24, 53] Operation: 69-16=53 Moving to Node #0,3,2 Current State: 29:[24, 53], Operations: ['3*8=24', '69-16=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 46, 34, 32, 16 ]
32
[ "46+34=80", "32+16=48", "80-48=32" ]
Current State: 32:[46, 34, 32, 16], Operations: [] Exploring Operation: 46+34=80, Resulting Numbers: [32, 16, 80] Generated Node #2: [32, 16, 80] from Operation: 46+34=80 Current State: 32:[32, 16, 80], Operations: ['46+34=80'] Exploring Operation: 32+16=48, Resulting Numbers: [80, 48] Generated Node #3: [80, 48] from Operation: 32+16=48 Current State: 32:[80, 48], Operations: ['46+34=80', '32+16=48'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[46, 34, 32, 16], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [32, 16, 12] Generated Node #0,0: 32:[32, 16, 12] Operation: 46-34=12 Exploring Operation: 46-32=14, Resulting Numbers: [34, 16, 14] Generated Node #0,1: 32:[34, 16, 14] Operation: 46-32=14 Exploring Operation: 46-16=30, Resulting Numbers: [34, 32, 30] Generated Node #0,2: 32:[34, 32, 30] Operation: 46-16=30 Moving to Node #0,0 Current State: 32:[32, 16, 12], Operations: ['46-34=12'] Exploring Operation: 32-16=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 32:[12, 16] Operation: 32-16=16 Exploring Operation: 16-12=4, Resulting Numbers: [32, 4] Generated Node #0,0,1: 32:[32, 4] Operation: 16-12=4 Exploring Operation: 32/16=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 32:[12, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[32, 4], Operations: ['46-34=12', '16-12=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[12, 16], Operations: ['46-34=12', '32-16=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,32 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[12, 2], Operations: ['46-34=12', '32/16=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,32 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: 32:[34, 16, 14], Operations: ['46-32=14'] Exploring Operation: 16-14=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 32:[34, 2] Operation: 16-14=2 Exploring Operation: 34-14=20, Resulting Numbers: [16, 20] Generated Node #0,1,1: 32:[16, 20] Operation: 34-14=20 Exploring Operation: 34-16=18, Resulting Numbers: [14, 18] Generated Node #0,1,2: 32:[14, 18] Operation: 34-16=18 Moving to Node #0,2 Current State: 32:[34, 32, 30], Operations: ['46-16=30'] Exploring Operation: 32-30=2, Resulting Numbers: [34, 2] Generated Node #0,2,0: 32:[34, 2] Operation: 32-30=2 Exploring Operation: 34-32=2, Resulting Numbers: [30, 2] Generated Node #0,2,1: 32:[30, 2] Operation: 34-32=2 Exploring Operation: 34-30=4, Resulting Numbers: [32, 4] Generated Node #0,2,2: 32:[32, 4] Operation: 34-30=4 Moving to Node #0,2,2 Current State: 32:[32, 4], Operations: ['46-16=30', '34-30=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[30, 2], Operations: ['46-16=30', '34-32=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[46, 34, 32, 16], Operations: [] Exploring Operation: 46-16=30, Resulting Numbers: [34, 32, 30] Generated Node #0,2: 32:[34, 32, 30] Operation: 46-16=30 Moving to Node #0,2 Current State: 32:[34, 32, 30], Operations: ['46-16=30'] Exploring Operation: 34-32=2, Resulting Numbers: [30, 2] Generated Node #0,2,1: 32:[30, 2] Operation: 34-32=2 Moving to Node #0,2,1 Current State: 32:[30, 2], Operations: ['46-16=30', '34-32=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 89, 90, 81, 83 ]
66
[ "89-83=6", "90/6=15", "81-15=66" ]
Current State: 66:[89, 90, 81, 83], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [90, 81, 6] Generated Node #2: [90, 81, 6] from Operation: 89-83=6 Current State: 66:[90, 81, 6], Operations: ['89-83=6'] Exploring Operation: 90/6=15, Resulting Numbers: [81, 15] Generated Node #3: [81, 15] from Operation: 90/6=15 Current State: 66:[81, 15], Operations: ['89-83=6', '90/6=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[89, 90, 81, 83], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [89, 81, 7] Generated Node #0,0: 66:[89, 81, 7] Operation: 90-83=7 Exploring Operation: 90-81=9, Resulting Numbers: [89, 83, 9] Generated Node #0,1: 66:[89, 83, 9] Operation: 90-81=9 Exploring Operation: 89-83=6, Resulting Numbers: [90, 81, 6] Generated Node #0,2: 66:[90, 81, 6] Operation: 89-83=6 Exploring Operation: 90-89=1, Resulting Numbers: [81, 83, 1] Generated Node #0,3: 66:[81, 83, 1] Operation: 90-89=1 Moving to Node #0,3 Current State: 66:[81, 83, 1], Operations: ['90-89=1'] Exploring Operation: 81*1=81, Resulting Numbers: [83, 81] Generated Node #0,3,0: 66:[83, 81] Operation: 81*1=81 Exploring Operation: 83-81=2, Resulting Numbers: [1, 2] Generated Node #0,3,1: 66:[1, 2] Operation: 83-81=2 Exploring Operation: 81-1=80, Resulting Numbers: [83, 80] Generated Node #0,3,2: 66:[83, 80] Operation: 81-1=80 Exploring Operation: 83-1=82, Resulting Numbers: [81, 82] Generated Node #0,3,3: 66:[81, 82] Operation: 83-1=82 Moving to Node #0,2 Current State: 66:[90, 81, 6], Operations: ['89-83=6'] Exploring Operation: 90/6=15, Resulting Numbers: [81, 15] Generated Node #0,2,0: 66:[81, 15] Operation: 90/6=15 Exploring Operation: 81-6=75, Resulting Numbers: [90, 75] Generated Node #0,2,1: 66:[90, 75] Operation: 81-6=75 Exploring Operation: 90-6=84, Resulting Numbers: [81, 84] Generated Node #0,2,2: 66:[81, 84] Operation: 90-6=84 Exploring Operation: 90-81=9, Resulting Numbers: [6, 9] Generated Node #0,2,3: 66:[6, 9] Operation: 90-81=9 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[6, 9], Operations: ['89-83=6', '90-81=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[81, 15], Operations: ['89-83=6', '90/6=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[89, 90, 81, 83], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [90, 81, 6] Generated Node #0,2: 66:[90, 81, 6] Operation: 89-83=6 Moving to Node #0,2 Current State: 66:[90, 81, 6], Operations: ['89-83=6'] Exploring Operation: 90/6=15, Resulting Numbers: [81, 15] Generated Node #0,2,0: 66:[81, 15] Operation: 90/6=15 Moving to Node #0,2,0 Current State: 66:[81, 15], Operations: ['89-83=6', '90/6=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 64, 42, 5, 49 ]
14
[ "64-49=15", "42*5=210", "210/15=14" ]
Current State: 14:[64, 42, 5, 49], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [42, 5, 15] Generated Node #2: [42, 5, 15] from Operation: 64-49=15 Current State: 14:[42, 5, 15], Operations: ['64-49=15'] Exploring Operation: 42*5=210, Resulting Numbers: [15, 210] Generated Node #3: [15, 210] from Operation: 42*5=210 Current State: 14:[15, 210], Operations: ['64-49=15', '42*5=210'] Exploring Operation: 210/15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[64, 42, 5, 49], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [5, 49, 22] Generated Node #0,0: 14:[5, 49, 22] Operation: 64-42=22 Exploring Operation: 64-49=15, Resulting Numbers: [42, 5, 15] Generated Node #0,1: 14:[42, 5, 15] Operation: 64-49=15 Exploring Operation: 49-42=7, Resulting Numbers: [64, 5, 7] Generated Node #0,2: 14:[64, 5, 7] Operation: 49-42=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[42, 5, 15], Operations: ['64-49=15'] Exploring Operation: 42-5=37, Resulting Numbers: [15, 37] Generated Node #0,1,0: 14:[15, 37] Operation: 42-5=37 Exploring Operation: 15/5=3, Resulting Numbers: [42, 3] Generated Node #0,1,1: 14:[42, 3] Operation: 15/5=3 Exploring Operation: 42-15=27, Resulting Numbers: [5, 27] Generated Node #0,1,2: 14:[5, 27] Operation: 42-15=27 Moving to Node #0,1,2 Current State: 14:[5, 27], Operations: ['64-49=15', '42-15=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[15, 37], Operations: ['64-49=15', '42-5=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,14 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[42, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[64, 42, 5, 49], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [42, 5, 15] Generated Node #0,1: 14:[42, 5, 15] Operation: 64-49=15 Moving to Node #0,1 Current State: 14:[42, 5, 15], Operations: ['64-49=15'] Exploring Operation: 15/5=3, Resulting Numbers: [42, 3] Generated Node #0,1,1: 14:[42, 3] Operation: 15/5=3 Moving to Node #0,1,1 Current State: 14:[42, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 61, 4, 24, 72 ]
49
[ "24/4=6", "72/6=12", "61-12=49" ]
Current State: 49:[61, 4, 24, 72], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [61, 72, 6] Generated Node #2: [61, 72, 6] from Operation: 24/4=6 Current State: 49:[61, 72, 6], Operations: ['24/4=6'] Exploring Operation: 72/6=12, Resulting Numbers: [61, 12] Generated Node #3: [61, 12] from Operation: 72/6=12 Current State: 49:[61, 12], Operations: ['24/4=6', '72/6=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 4, 24, 72], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [61, 4, 48] Generated Node #0,0: 49:[61, 4, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [61, 4, 3] Generated Node #0,1: 49:[61, 4, 3] Operation: 72/24=3 Exploring Operation: 72-61=11, Resulting Numbers: [4, 24, 11] Generated Node #0,2: 49:[4, 24, 11] Operation: 72-61=11 Moving to Node #0,0 Current State: 49:[61, 4, 48], Operations: ['72-24=48'] Exploring Operation: 61-4=57, Resulting Numbers: [48, 57] Generated Node #0,0,0: 49:[48, 57] Operation: 61-4=57 Exploring Operation: 4+48=52, Resulting Numbers: [61, 52] Generated Node #0,0,1: 49:[61, 52] Operation: 4+48=52 Exploring Operation: 61-48=13, Resulting Numbers: [4, 13] Generated Node #0,0,2: 49:[4, 13] Operation: 61-48=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[48, 57], Operations: ['72-24=48', '61-4=57'] Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[4, 13], Operations: ['72-24=48', '61-48=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[61, 52], Operations: ['72-24=48', '4+48=52'] Exploring Operation: 61*52=3172, Resulting Numbers: [3172] 3172,49 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,49 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: 49:[61, 4, 3], Operations: ['72/24=3'] Exploring Operation: 61-4=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 49:[3, 57] Operation: 61-4=57 Exploring Operation: 61-3=58, Resulting Numbers: [4, 58] Generated Node #0,1,1: 49:[4, 58] Operation: 61-3=58 Exploring Operation: 4+3=7, Resulting Numbers: [61, 7] Generated Node #0,1,2: 49:[61, 7] Operation: 4+3=7 Moving to Node #0,2 Current State: 49:[4, 24, 11], Operations: ['72-61=11'] Exploring Operation: 24-11=13, Resulting Numbers: [4, 13] Generated Node #0,2,0: 49:[4, 13] Operation: 24-11=13 Exploring Operation: 24-4=20, Resulting Numbers: [11, 20] Generated Node #0,2,1: 49:[11, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [11, 6] Generated Node #0,2,2: 49:[11, 6] Operation: 24/4=6 Moving to Node #0,2,2 Current State: 49:[11, 6], Operations: ['72-61=11', '24/4=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[4, 13], Operations: ['72-61=11', '24-11=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[61, 7], Operations: ['72/24=3', '4+3=7'] Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,49 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[3, 57], Operations: ['72/24=3', '61-4=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[4, 58], Operations: ['72/24=3', '61-3=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,49 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[11, 20], Operations: ['72-61=11', '24-4=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,49 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 57, 3, 80, 22 ]
83
[ "57/3=19", "80+22=102", "102-19=83" ]
Current State: 83:[57, 3, 80, 22], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [80, 22, 19] Generated Node #2: [80, 22, 19] from Operation: 57/3=19 Current State: 83:[80, 22, 19], Operations: ['57/3=19'] Exploring Operation: 80+22=102, Resulting Numbers: [19, 102] Generated Node #3: [19, 102] from Operation: 80+22=102 Current State: 83:[19, 102], Operations: ['57/3=19', '80+22=102'] Exploring Operation: 102-19=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[57, 3, 80, 22], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [57, 80, 66] Generated Node #0,0: 83:[57, 80, 66] Operation: 3*22=66 Exploring Operation: 57+22=79, Resulting Numbers: [3, 80, 79] Generated Node #0,1: 83:[3, 80, 79] Operation: 57+22=79 Exploring Operation: 57+3=60, Resulting Numbers: [80, 22, 60] Generated Node #0,2: 83:[80, 22, 60] Operation: 57+3=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[57, 80, 66], Operations: ['3*22=66'] Exploring Operation: 80-57=23, Resulting Numbers: [66, 23] Generated Node #0,0,0: 83:[66, 23] Operation: 80-57=23 Exploring Operation: 57+66=123, Resulting Numbers: [80, 123] Generated Node #0,0,1: 83:[80, 123] Operation: 57+66=123 Exploring Operation: 57+80=137, Resulting Numbers: [66, 137] Generated Node #0,0,2: 83:[66, 137] Operation: 57+80=137 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[80, 123], Operations: ['3*22=66', '57+66=123'] Exploring Operation: 123-80=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 80+123=203, Resulting Numbers: [203] 203,83 unequal: No Solution Exploring Operation: 80*123=9840, Resulting Numbers: [9840] 9840,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[66, 137], Operations: ['3*22=66', '57+80=137'] Exploring Operation: 137-66=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 66*137=9042, Resulting Numbers: [9042] 9042,83 unequal: No Solution Exploring Operation: 66+137=203, Resulting Numbers: [203] 203,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[66, 23], Operations: ['3*22=66', '80-57=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[3, 80, 79], Operations: ['57+22=79'] Exploring Operation: 3+80=83, Resulting Numbers: [79, 83] Generated Node #0,1,0: 83:[79, 83] Operation: 3+80=83 Exploring Operation: 3+79=82, Resulting Numbers: [80, 82] Generated Node #0,1,1: 83:[80, 82] Operation: 3+79=82 Exploring Operation: 80-3=77, Resulting Numbers: [79, 77] Generated Node #0,1,2: 83:[79, 77] Operation: 80-3=77 Moving to Node #0,1,0 Current State: 83:[79, 83], Operations: ['57+22=79', '3+80=83'] Exploring Operation: 79*83=6557, Resulting Numbers: [6557] 6557,83 unequal: No Solution Exploring Operation: 79+83=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 83-79=4, Resulting Numbers: [4] 4,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[80, 82], Operations: ['57+22=79', '3+79=82'] Exploring Operation: 80*82=6560, Resulting Numbers: [6560] 6560,83 unequal: No Solution Exploring Operation: 80+82=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[79, 77], Operations: ['57+22=79', '80-3=77'] Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 79*77=6083, Resulting Numbers: [6083] 6083,83 unequal: No Solution Exploring Operation: 79+77=156, Resulting Numbers: [156] 156,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,2 Current State: 83:[80, 22, 60], Operations: ['57+3=60'] Exploring Operation: 80-22=58, Resulting Numbers: [60, 58] Generated Node #0,2,0: 83:[60, 58] Operation: 80-22=58 Exploring Operation: 80+22=102, Resulting Numbers: [60, 102] Generated Node #0,2,1: 83:[60, 102] Operation: 80+22=102 Exploring Operation: 22+60=82, Resulting Numbers: [80, 82] Generated Node #0,2,2: 83:[80, 82] Operation: 22+60=82 Moving to Node #0,2,2 Current State: 83:[80, 82], Operations: ['57+3=60', '22+60=82'] Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 80+82=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 80*82=6560, Resulting Numbers: [6560] 6560,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[60, 102], Operations: ['57+3=60', '80+22=102'] Exploring Operation: 60+102=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 102-60=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 60*102=6120, Resulting Numbers: [6120] 6120,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[60, 58], Operations: ['57+3=60', '80-22=58'] Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 86, 61, 49 ]
95
[ "86-3=83", "61-49=12", "83+12=95" ]
Current State: 95:[3, 86, 61, 49], Operations: [] Exploring Operation: 86-3=83, Resulting Numbers: [61, 49, 83] Generated Node #2: [61, 49, 83] from Operation: 86-3=83 Current State: 95:[61, 49, 83], Operations: ['86-3=83'] Exploring Operation: 61-49=12, Resulting Numbers: [83, 12] Generated Node #3: [83, 12] from Operation: 61-49=12 Current State: 95:[83, 12], Operations: ['86-3=83', '61-49=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[3, 86, 61, 49], Operations: [] Exploring Operation: 61+49=110, Resulting Numbers: [3, 86, 110] Generated Node #0,0: 95:[3, 86, 110] Operation: 61+49=110 Exploring Operation: 61-49=12, Resulting Numbers: [3, 86, 12] Generated Node #0,1: 95:[3, 86, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[3, 86, 12], Operations: ['61-49=12'] Exploring Operation: 12/3=4, Resulting Numbers: [86, 4] Generated Node #0,1,0: 95:[86, 4] Operation: 12/3=4 Exploring Operation: 86+12=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 95:[3, 98] Operation: 86+12=98 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[3, 98], Operations: ['61-49=12', '86+12=98'] Exploring Operation: 3+98=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[3, 86, 61, 49], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [3, 86, 12] Generated Node #0,1: 95:[3, 86, 12] Operation: 61-49=12 Moving to Node #0,1 Current State: 95:[3, 86, 12], Operations: ['61-49=12'] Exploring Operation: 86+12=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 95:[3, 98] Operation: 86+12=98 Moving to Node #0,1,1 Current State: 95:[3, 98], Operations: ['61-49=12', '86+12=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 26, 75, 37, 25 ]
33
[ "37-26=11", "75/25=3", "11*3=33" ]
Current State: 33:[26, 75, 37, 25], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [75, 25, 11] Generated Node #2: [75, 25, 11] from Operation: 37-26=11 Current State: 33:[75, 25, 11], Operations: ['37-26=11'] Exploring Operation: 75/25=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 75/25=3 Current State: 33:[11, 3], Operations: ['37-26=11', '75/25=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 75, 37, 25], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [26, 37, 3] Generated Node #0,0: 33:[26, 37, 3] Operation: 75/25=3 Exploring Operation: 75-37=38, Resulting Numbers: [26, 25, 38] Generated Node #0,1: 33:[26, 25, 38] Operation: 75-37=38 Exploring Operation: 75-26=49, Resulting Numbers: [37, 25, 49] Generated Node #0,2: 33:[37, 25, 49] Operation: 75-26=49 Moving to Node #0,0 Current State: 33:[26, 37, 3], Operations: ['75/25=3'] Exploring Operation: 37-26=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 33:[3, 11] Operation: 37-26=11 Exploring Operation: 37-3=34, Resulting Numbers: [26, 34] Generated Node #0,0,1: 33:[26, 34] Operation: 37-3=34 Exploring Operation: 26+3=29, Resulting Numbers: [37, 29] Generated Node #0,0,2: 33:[37, 29] Operation: 26+3=29 Moving to Node #0,1 Current State: 33:[26, 25, 38], Operations: ['75-37=38'] Exploring Operation: 38-26=12, Resulting Numbers: [25, 12] Generated Node #0,1,0: 33:[25, 12] Operation: 38-26=12 Exploring Operation: 38-25=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 33:[26, 13] Operation: 38-25=13 Exploring Operation: 26-25=1, Resulting Numbers: [38, 1] Generated Node #0,1,2: 33:[38, 1] Operation: 26-25=1 Moving to Node #0,2 Current State: 33:[37, 25, 49], Operations: ['75-26=49'] Exploring Operation: 49-25=24, Resulting Numbers: [37, 24] Generated Node #0,2,0: 33:[37, 24] Operation: 49-25=24 Exploring Operation: 49-37=12, Resulting Numbers: [25, 12] Generated Node #0,2,1: 33:[25, 12] Operation: 49-37=12 Exploring Operation: 37-25=12, Resulting Numbers: [49, 12] Generated Node #0,2,2: 33:[49, 12] Operation: 37-25=12 Moving to Node #0,0,0 Current State: 33:[3, 11], Operations: ['75/25=3', '37-26=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[26, 75, 37, 25], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [26, 37, 3] Generated Node #0,0: 33:[26, 37, 3] Operation: 75/25=3 Moving to Node #0,0 Current State: 33:[26, 37, 3], Operations: ['75/25=3'] Exploring Operation: 37-26=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 33:[3, 11] Operation: 37-26=11 Moving to Node #0,0,0 Current State: 33:[3, 11], Operations: ['75/25=3', '37-26=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 3, 8, 41, 82 ]
15
[ "41-3=38", "82+38=120", "120/8=15" ]
Current State: 15:[3, 8, 41, 82], Operations: [] Exploring Operation: 41-3=38, Resulting Numbers: [8, 82, 38] Generated Node #2: [8, 82, 38] from Operation: 41-3=38 Current State: 15:[8, 82, 38], Operations: ['41-3=38'] Exploring Operation: 82+38=120, Resulting Numbers: [8, 120] Generated Node #3: [8, 120] from Operation: 82+38=120 Current State: 15:[8, 120], Operations: ['41-3=38', '82+38=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[3, 8, 41, 82], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [3, 8, 41] Generated Node #0,0: 15:[3, 8, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [3, 8, 2] Generated Node #0,1: 15:[3, 8, 2] Operation: 82/41=2 Exploring Operation: 41-8=33, Resulting Numbers: [3, 82, 33] Generated Node #0,2: 15:[3, 82, 33] Operation: 41-8=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[3, 8, 2], Operations: ['82/41=2'] Exploring Operation: 8-2=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 15:[3, 6] Operation: 8-2=6 Exploring Operation: 8*2=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 15:[3, 16] Operation: 8*2=16 Exploring Operation: 8-3=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 15:[2, 5] Operation: 8-3=5 Moving to Node #0,1,0 Current State: 15:[3, 6], Operations: ['82/41=2', '8-2=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[3, 16], Operations: ['82/41=2', '8*2=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[2, 5], Operations: ['82/41=2', '8-3=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[3, 8, 41], Operations: ['82-41=41'] Exploring Operation: 8-3=5, Resulting Numbers: [41, 5] Generated Node #0,0,0: 15:[41, 5] Operation: 8-3=5 Exploring Operation: 41-8=33, Resulting Numbers: [3, 33] Generated Node #0,0,1: 15:[3, 33] Operation: 41-8=33 Exploring Operation: 41-3=38, Resulting Numbers: [8, 38] Generated Node #0,0,2: 15:[8, 38] Operation: 41-3=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[3, 33], Operations: ['82-41=41', '41-8=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[41, 5], Operations: ['82-41=41', '8-3=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,15 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[8, 38], Operations: ['82-41=41', '41-3=38'] Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,15 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[3, 82, 33], Operations: ['41-8=33'] Exploring Operation: 33/3=11, Resulting Numbers: [82, 11] Generated Node #0,2,0: 15:[82, 11] Operation: 33/3=11 Exploring Operation: 82-33=49, Resulting Numbers: [3, 49] Generated Node #0,2,1: 15:[3, 49] Operation: 82-33=49 Exploring Operation: 82-3=79, Resulting Numbers: [33, 79] Generated Node #0,2,2: 15:[33, 79] Operation: 82-3=79 Moving to Node #0,2,1 Current State: 15:[3, 49], Operations: ['41-8=33', '82-33=49'] Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,15 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[82, 11], Operations: ['41-8=33', '33/3=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,15 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[33, 79], Operations: ['41-8=33', '82-3=79'] Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,15 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,15 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
[ 44, 32, 4, 59 ]
13
[ "44+32=76", "4+59=63", "76-63=13" ]
Current State: 13:[44, 32, 4, 59], Operations: [] Exploring Operation: 44+32=76, Resulting Numbers: [4, 59, 76] Generated Node #2: [4, 59, 76] from Operation: 44+32=76 Current State: 13:[4, 59, 76], Operations: ['44+32=76'] Exploring Operation: 4+59=63, Resulting Numbers: [76, 63] Generated Node #3: [76, 63] from Operation: 4+59=63 Current State: 13:[76, 63], Operations: ['44+32=76', '4+59=63'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[44, 32, 4, 59], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [32, 4, 15] Generated Node #0,0: 13:[32, 4, 15] Operation: 59-44=15 Exploring Operation: 59-32=27, Resulting Numbers: [44, 4, 27] Generated Node #0,1: 13:[44, 4, 27] Operation: 59-32=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[32, 4, 15], Operations: ['59-44=15'] Exploring Operation: 32/4=8, Resulting Numbers: [15, 8] Generated Node #0,0,0: 13:[15, 8] Operation: 32/4=8 Exploring Operation: 32-15=17, Resulting Numbers: [4, 17] Generated Node #0,0,1: 13:[4, 17] Operation: 32-15=17 Moving to Node #0,0,0 Current State: 13:[15, 8], Operations: ['59-44=15', '32/4=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[4, 17], Operations: ['59-44=15', '32-15=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[44, 32, 4, 59], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [32, 4, 15] Generated Node #0,0: 13:[32, 4, 15] Operation: 59-44=15 Moving to Node #0,0 Current State: 13:[32, 4, 15], Operations: ['59-44=15'] Exploring Operation: 32-15=17, Resulting Numbers: [4, 17] Generated Node #0,0,1: 13:[4, 17] Operation: 32-15=17 Moving to Node #0,0,1 Current State: 13:[4, 17], Operations: ['59-44=15', '32-15=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 16, 37, 24, 42 ]
100
[ "24*42=1008", "1008/16=63", "37+63=100" ]
Current State: 100:[16, 37, 24, 42], Operations: [] Exploring Operation: 24*42=1008, Resulting Numbers: [16, 37, 1008] Generated Node #2: [16, 37, 1008] from Operation: 24*42=1008 Current State: 100:[16, 37, 1008], Operations: ['24*42=1008'] Exploring Operation: 1008/16=63, Resulting Numbers: [37, 63] Generated Node #3: [37, 63] from Operation: 1008/16=63 Current State: 100:[37, 63], Operations: ['24*42=1008', '1008/16=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[16, 37, 24, 42], Operations: [] Exploring Operation: 16+37=53, Resulting Numbers: [24, 42, 53] Generated Node #0,0: 100:[24, 42, 53] Operation: 16+37=53 Exploring Operation: 42-16=26, Resulting Numbers: [37, 24, 26] Generated Node #0,1: 100:[37, 24, 26] Operation: 42-16=26 Exploring Operation: 37-16=21, Resulting Numbers: [24, 42, 21] Generated Node #0,2: 100:[24, 42, 21] Operation: 37-16=21 Exploring Operation: 42-37=5, Resulting Numbers: [16, 24, 5] Generated Node #0,3: 100:[16, 24, 5] Operation: 42-37=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[16, 24, 5], Operations: ['42-37=5'] Exploring Operation: 16-5=11, Resulting Numbers: [24, 11] Generated Node #0,3,0: 100:[24, 11] Operation: 16-5=11 Exploring Operation: 24-16=8, Resulting Numbers: [5, 8] Generated Node #0,3,1: 100:[5, 8] Operation: 24-16=8 Exploring Operation: 24-5=19, Resulting Numbers: [16, 19] Generated Node #0,3,2: 100:[16, 19] Operation: 24-5=19 Exploring Operation: 16+5=21, Resulting Numbers: [24, 21] Generated Node #0,3,3: 100:[24, 21] Operation: 16+5=21 Moving to Node #0,3,0 Current State: 100:[24, 11], Operations: ['42-37=5', '16-5=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,100 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[24, 21], Operations: ['42-37=5', '16+5=21'] Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,100 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[5, 8], Operations: ['42-37=5', '24-16=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[16, 19], Operations: ['42-37=5', '24-5=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,100 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[24, 42, 21], Operations: ['37-16=21'] Exploring Operation: 42/21=2, Resulting Numbers: [24, 2] Generated Node #0,2,0: 100:[24, 2] Operation: 42/21=2 Exploring Operation: 24-21=3, Resulting Numbers: [42, 3] Generated Node #0,2,1: 100:[42, 3] Operation: 24-21=3 Exploring Operation: 42-24=18, Resulting Numbers: [21, 18] Generated Node #0,2,2: 100:[21, 18] Operation: 42-24=18 Exploring Operation: 42-21=21, Resulting Numbers: [24, 21] Generated Node #0,2,3: 100:[24, 21] Operation: 42-21=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[24, 2], Operations: ['37-16=21', '42/21=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,100 unequal: No Solution No 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: 100:[24, 21], Operations: ['37-16=21', '42-21=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,100 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,100 unequal: No Solution No 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: 100:[21, 18], Operations: ['37-16=21', '42-24=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,100 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,100 unequal: No Solution No 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: 100:[42, 3], Operations: ['37-16=21', '24-21=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,100 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,100 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: 100:[24, 42, 53], Operations: ['16+37=53'] Exploring Operation: 42+53=95, Resulting Numbers: [24, 95] Generated Node #0,0,0: 100:[24, 95] Operation: 42+53=95 Exploring Operation: 53-24=29, Resulting Numbers: [42, 29] Generated Node #0,0,1: 100:[42, 29] Operation: 53-24=29 Exploring Operation: 42-24=18, Resulting Numbers: [53, 18] Generated Node #0,0,2: 100:[53, 18] Operation: 42-24=18 Exploring Operation: 53-42=11, Resulting Numbers: [24, 11] Generated Node #0,0,3: 100:[24, 11] Operation: 53-42=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[24, 11], Operations: ['16+37=53', '53-42=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,100 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,100 unequal: No Solution No 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: 100:[53, 18], Operations: ['16+37=53', '42-24=18'] Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,100 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,100 unequal: No Solution No 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: 100:[24, 95], Operations: ['16+37=53', '42+53=95'] Exploring Operation: 24*95=2280, Resulting Numbers: [2280] 2280,100 unequal: No Solution Exploring Operation: 24+95=119, Resulting Numbers: [119] 119,100 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,100 unequal: No Solution No 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: 100:[42, 29], Operations: ['16+37=53', '53-24=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,100 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,100 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: 100:[37, 24, 26], Operations: ['42-16=26'] Exploring Operation: 24+26=50, Resulting Numbers: [37, 50] Generated Node #0,1,0: 100:[37, 50] Operation: 24+26=50 Exploring Operation: 37-26=11, Resulting Numbers: [24, 11] Generated Node #0,1,1: 100:[24, 11] Operation: 37-26=11 Exploring Operation: 37-24=13, Resulting Numbers: [26, 13] Generated Node #0,1,2: 100:[26, 13] Operation: 37-24=13 Exploring Operation: 37+24=61, Resulting Numbers: [26, 61] Generated Node #0,1,3: 100:[26, 61] Operation: 37+24=61 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[24, 11], Operations: ['42-16=26', '37-26=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,100 unequal: No Solution No 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: 100:[26, 13], Operations: ['42-16=26', '37-24=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,100 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,100 unequal: No Solution No 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: 100:[37, 50], Operations: ['42-16=26', '24+26=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,100 unequal: No Solution No 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: 100:[26, 61], Operations: ['42-16=26', '37+24=61'] Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,100 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,100 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
[ 51, 21, 67, 64 ]
24
[ "51+21=72", "67-64=3", "72/3=24" ]
Current State: 24:[51, 21, 67, 64], Operations: [] Exploring Operation: 51+21=72, Resulting Numbers: [67, 64, 72] Generated Node #2: [67, 64, 72] from Operation: 51+21=72 Current State: 24:[67, 64, 72], Operations: ['51+21=72'] Exploring Operation: 67-64=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 67-64=3 Current State: 24:[72, 3], Operations: ['51+21=72', '67-64=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[51, 21, 67, 64], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [21, 64, 16] Generated Node #0,0: 24:[21, 64, 16] Operation: 67-51=16 Exploring Operation: 67-64=3, Resulting Numbers: [51, 21, 3] Generated Node #0,1: 24:[51, 21, 3] Operation: 67-64=3 Exploring Operation: 64-51=13, Resulting Numbers: [21, 67, 13] Generated Node #0,2: 24:[21, 67, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[51, 21, 3], Operations: ['67-64=3'] Exploring Operation: 51-21=30, Resulting Numbers: [3, 30] Generated Node #0,1,0: 24:[3, 30] Operation: 51-21=30 Exploring Operation: 51/3=17, Resulting Numbers: [21, 17] Generated Node #0,1,1: 24:[21, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [21, 48] Generated Node #0,1,2: 24:[21, 48] Operation: 51-3=48 Moving to Node #0,1,0 Current State: 24:[3, 30], Operations: ['67-64=3', '51-21=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[21, 17], Operations: ['67-64=3', '51/3=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[21, 48], Operations: ['67-64=3', '51-3=48'] Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,24 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[21, 64, 16], Operations: ['67-51=16'] Exploring Operation: 64-16=48, Resulting Numbers: [21, 48] Generated Node #0,0,0: 24:[21, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 24:[21, 4] Operation: 64/16=4 Exploring Operation: 64-21=43, Resulting Numbers: [16, 43] Generated Node #0,0,2: 24:[16, 43] Operation: 64-21=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[21, 4], Operations: ['67-51=16', '64/16=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,24 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,24 unequal: No Solution No 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: 24:[16, 43], Operations: ['67-51=16', '64-21=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,24 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,24 unequal: No Solution No 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: 24:[21, 48], Operations: ['67-51=16', '64-16=48'] Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,24 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[21, 67, 13], Operations: ['64-51=13'] Exploring Operation: 67-13=54, Resulting Numbers: [21, 54] Generated Node #0,2,0: 24:[21, 54] Operation: 67-13=54 Exploring Operation: 67-21=46, Resulting Numbers: [13, 46] Generated Node #0,2,1: 24:[13, 46] Operation: 67-21=46 Exploring Operation: 21-13=8, Resulting Numbers: [67, 8] Generated Node #0,2,2: 24:[67, 8] Operation: 21-13=8 Moving to Node #0,2,1 Current State: 24:[13, 46], Operations: ['64-51=13', '67-21=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[21, 54], Operations: ['64-51=13', '67-13=54'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,24 unequal: No Solution Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[67, 8], Operations: ['64-51=13', '21-13=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,24 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
[ 34, 98, 1, 17 ]
81
[ "98-34=64", "1*17=17", "64+17=81" ]
Current State: 81:[34, 98, 1, 17], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [1, 17, 64] Generated Node #2: [1, 17, 64] from Operation: 98-34=64 Current State: 81:[1, 17, 64], Operations: ['98-34=64'] Exploring Operation: 1*17=17, Resulting Numbers: [64, 17] Generated Node #3: [64, 17] from Operation: 1*17=17 Current State: 81:[64, 17], Operations: ['98-34=64', '1*17=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[34, 98, 1, 17], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [1, 17, 64] Generated Node #0,0: 81:[1, 17, 64] Operation: 98-34=64 Exploring Operation: 34-17=17, Resulting Numbers: [98, 1, 17] Generated Node #0,1: 81:[98, 1, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [98, 1, 2] Generated Node #0,2: 81:[98, 1, 2] Operation: 34/17=2 Exploring Operation: 98-17=81, Resulting Numbers: [34, 1, 81] Generated Node #0,3: 81:[34, 1, 81] Operation: 98-17=81 Moving to Node #0,3 Current State: 81:[34, 1, 81], Operations: ['98-17=81'] Exploring Operation: 1*81=81, Resulting Numbers: [34, 81] Generated Node #0,3,0: 81:[34, 81] Operation: 1*81=81 Exploring Operation: 34/1=34, Resulting Numbers: [81, 34] Generated Node #0,3,1: 81:[81, 34] Operation: 34/1=34 Exploring Operation: 34-1=33, Resulting Numbers: [81, 33] Generated Node #0,3,2: 81:[81, 33] Operation: 34-1=33 Exploring Operation: 34*1=34, Resulting Numbers: [81, 34] Generated Node #0,3,3: 81:[81, 34] Operation: 34*1=34 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[81, 33], Operations: ['98-17=81', '34-1=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,81 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[34, 81], Operations: ['98-17=81', '1*81=81'] Exploring Operation: 34*81=2754, Resulting Numbers: [2754] 2754,81 unequal: No Solution Exploring Operation: 34+81=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[81, 34], Operations: ['98-17=81', '34/1=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,81 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,81 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[81, 34], Operations: ['98-17=81', '34*1=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,81 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,81 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,81 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: 81:[98, 1, 2], Operations: ['34/17=2'] Exploring Operation: 98-1=97, Resulting Numbers: [2, 97] Generated Node #0,2,0: 81:[2, 97] Operation: 98-1=97 Exploring Operation: 1+2=3, Resulting Numbers: [98, 3] Generated Node #0,2,1: 81:[98, 3] Operation: 1+2=3 Exploring Operation: 98*1=98, Resulting Numbers: [2, 98] Generated Node #0,2,2: 81:[2, 98] Operation: 98*1=98 Exploring Operation: 98-2=96, Resulting Numbers: [1, 96] Generated Node #0,2,3: 81:[1, 96] Operation: 98-2=96 Moving to Node #0,1 Current State: 81:[98, 1, 17], Operations: ['34-17=17'] Exploring Operation: 98-17=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 81:[1, 81] Operation: 98-17=81 Exploring Operation: 98*1=98, Resulting Numbers: [17, 98] Generated Node #0,1,1: 81:[17, 98] Operation: 98*1=98 Exploring Operation: 17-1=16, Resulting Numbers: [98, 16] Generated Node #0,1,2: 81:[98, 16] Operation: 17-1=16 Exploring Operation: 98-1=97, Resulting Numbers: [17, 97] Generated Node #0,1,3: 81:[17, 97] Operation: 98-1=97 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[1, 81], Operations: ['34-17=17', '98-17=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[34, 98, 1, 17], Operations: [] Exploring Operation: 34-17=17, Resulting Numbers: [98, 1, 17] Generated Node #0,1: 81:[98, 1, 17] Operation: 34-17=17 Moving to Node #0,1 Current State: 81:[98, 1, 17], Operations: ['34-17=17'] Exploring Operation: 98-17=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 81:[1, 81] Operation: 98-17=81 Moving to Node #0,1,0 Current State: 81:[1, 81], Operations: ['34-17=17', '98-17=81'] Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 33, 53, 92, 19 ]
92
[ "53-33=20", "20-19=1", "92*1=92" ]
Current State: 92:[33, 53, 92, 19], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [92, 19, 20] Generated Node #2: [92, 19, 20] from Operation: 53-33=20 Current State: 92:[92, 19, 20], Operations: ['53-33=20'] Exploring Operation: 20-19=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 20-19=1 Current State: 92:[92, 1], Operations: ['53-33=20', '20-19=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[33, 53, 92, 19], Operations: [] Exploring Operation: 33+53=86, Resulting Numbers: [92, 19, 86] Generated Node #0,0: 92:[92, 19, 86] Operation: 33+53=86 Exploring Operation: 53-33=20, Resulting Numbers: [92, 19, 20] Generated Node #0,1: 92:[92, 19, 20] Operation: 53-33=20 Moving to Node #0,1 Current State: 92:[92, 19, 20], Operations: ['53-33=20'] Exploring Operation: 20-19=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 92:[92, 1] Operation: 20-19=1 Exploring Operation: 19+20=39, Resulting Numbers: [92, 39] Generated Node #0,1,1: 92:[92, 39] Operation: 19+20=39 Moving to Node #0,0 Current State: 92:[92, 19, 86], Operations: ['33+53=86'] Exploring Operation: 19+86=105, Resulting Numbers: [92, 105] Generated Node #0,0,0: 92:[92, 105] Operation: 19+86=105 Exploring Operation: 92-86=6, Resulting Numbers: [19, 6] Generated Node #0,0,1: 92:[19, 6] Operation: 92-86=6 Moving to Node #0,1,0 Current State: 92:[92, 1], Operations: ['53-33=20', '20-19=1'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[33, 53, 92, 19], Operations: [] Exploring Operation: 53-33=20, Resulting Numbers: [92, 19, 20] Generated Node #0,1: 92:[92, 19, 20] Operation: 53-33=20 Moving to Node #0,1 Current State: 92:[92, 19, 20], Operations: ['53-33=20'] Exploring Operation: 20-19=1, Resulting Numbers: [92, 1] Generated Node #0,1,0: 92:[92, 1] Operation: 20-19=1 Moving to Node #0,1,0 Current State: 92:[92, 1], Operations: ['53-33=20', '20-19=1'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 83, 59, 5, 79 ]
16
[ "83-79=4", "59+5=64", "64/4=16" ]
Current State: 16:[83, 59, 5, 79], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [59, 5, 4] Generated Node #2: [59, 5, 4] from Operation: 83-79=4 Current State: 16:[59, 5, 4], Operations: ['83-79=4'] Exploring Operation: 59+5=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 59+5=64 Current State: 16:[4, 64], Operations: ['83-79=4', '59+5=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[83, 59, 5, 79], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [59, 5, 4] Generated Node #0,0: 16:[59, 5, 4] Operation: 83-79=4 Exploring Operation: 79-59=20, Resulting Numbers: [83, 5, 20] Generated Node #0,1: 16:[83, 5, 20] Operation: 79-59=20 Exploring Operation: 83-59=24, Resulting Numbers: [5, 79, 24] Generated Node #0,2: 16:[5, 79, 24] Operation: 83-59=24 Moving to Node #0,0 Current State: 16:[59, 5, 4], Operations: ['83-79=4'] Exploring Operation: 59-4=55, Resulting Numbers: [5, 55] Generated Node #0,0,0: 16:[5, 55] Operation: 59-4=55 Exploring Operation: 5+4=9, Resulting Numbers: [59, 9] Generated Node #0,0,1: 16:[59, 9] Operation: 5+4=9 Exploring Operation: 59-5=54, Resulting Numbers: [4, 54] Generated Node #0,0,2: 16:[4, 54] Operation: 59-5=54 Moving to Node #0,1 Current State: 16:[83, 5, 20], Operations: ['79-59=20'] Exploring Operation: 20/5=4, Resulting Numbers: [83, 4] Generated Node #0,1,0: 16:[83, 4] Operation: 20/5=4 Exploring Operation: 83-5=78, Resulting Numbers: [20, 78] Generated Node #0,1,1: 16:[20, 78] Operation: 83-5=78 Exploring Operation: 83-20=63, Resulting Numbers: [5, 63] Generated Node #0,1,2: 16:[5, 63] Operation: 83-20=63 Moving to Node #0,2 Current State: 16:[5, 79, 24], Operations: ['83-59=24'] Exploring Operation: 24-5=19, Resulting Numbers: [79, 19] Generated Node #0,2,0: 16:[79, 19] Operation: 24-5=19 Exploring Operation: 79-24=55, Resulting Numbers: [5, 55] Generated Node #0,2,1: 16:[5, 55] Operation: 79-24=55 Exploring Operation: 79-5=74, Resulting Numbers: [24, 74] Generated Node #0,2,2: 16:[24, 74] Operation: 79-5=74 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[5, 55], Operations: ['83-59=24', '79-24=55'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[79, 19], Operations: ['83-59=24', '24-5=19'] Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,16 unequal: No Solution Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[24, 74], Operations: ['83-59=24', '79-5=74'] Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,16 unequal: No Solution Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 16:[4, 54], Operations: ['83-79=4', '59-5=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,16 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[5, 55], Operations: ['83-79=4', '59-4=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[59, 9], Operations: ['83-79=4', '5+4=9'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,16 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[5, 63], Operations: ['79-59=20', '83-20=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,16 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,16 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[20, 78], Operations: ['79-59=20', '83-5=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,16 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[83, 4], Operations: ['79-59=20', '20/5=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,16 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 68, 34, 71 ]
75
[ "51-34=17", "68/17=4", "71+4=75" ]
Current State: 75:[51, 68, 34, 71], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [68, 71, 17] Generated Node #2: [68, 71, 17] from Operation: 51-34=17 Current State: 75:[68, 71, 17], Operations: ['51-34=17'] Exploring Operation: 68/17=4, Resulting Numbers: [71, 4] Generated Node #3: [71, 4] from Operation: 68/17=4 Current State: 75:[71, 4], Operations: ['51-34=17', '68/17=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[51, 68, 34, 71], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [68, 71, 17] Generated Node #0,0: 75:[68, 71, 17] Operation: 51-34=17 Exploring Operation: 71-51=20, Resulting Numbers: [68, 34, 20] Generated Node #0,1: 75:[68, 34, 20] Operation: 71-51=20 Exploring Operation: 51+34=85, Resulting Numbers: [68, 71, 85] Generated Node #0,2: 75:[68, 71, 85] Operation: 51+34=85 Exploring Operation: 68-51=17, Resulting Numbers: [34, 71, 17] Generated Node #0,3: 75:[34, 71, 17] Operation: 68-51=17 Moving to Node #0,0 Current State: 75:[68, 71, 17], Operations: ['51-34=17'] Exploring Operation: 71-68=3, Resulting Numbers: [17, 3] Generated Node #0,0,0: 75:[17, 3] Operation: 71-68=3 Exploring Operation: 68+17=85, Resulting Numbers: [71, 85] Generated Node #0,0,1: 75:[71, 85] Operation: 68+17=85 Exploring Operation: 68/17=4, Resulting Numbers: [71, 4] Generated Node #0,0,2: 75:[71, 4] Operation: 68/17=4 Exploring Operation: 71+17=88, Resulting Numbers: [68, 88] Generated Node #0,0,3: 75:[68, 88] Operation: 71+17=88 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[17, 3], Operations: ['51-34=17', '71-68=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,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,0,2 Current State: 75:[71, 4], Operations: ['51-34=17', '68/17=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[51, 68, 34, 71], Operations: [] Exploring Operation: 51-34=17, Resulting Numbers: [68, 71, 17] Generated Node #0,0: 75:[68, 71, 17] Operation: 51-34=17 Moving to Node #0,0 Current State: 75:[68, 71, 17], Operations: ['51-34=17'] Exploring Operation: 68/17=4, Resulting Numbers: [71, 4] Generated Node #0,0,2: 75:[71, 4] Operation: 68/17=4 Moving to Node #0,0,2 Current State: 75:[71, 4], Operations: ['51-34=17', '68/17=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 87, 33, 35, 28 ]
80
[ "33-28=5", "35/5=7", "87-7=80" ]
Current State: 80:[87, 33, 35, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [87, 35, 5] Generated Node #2: [87, 35, 5] from Operation: 33-28=5 Current State: 80:[87, 35, 5], Operations: ['33-28=5'] Exploring Operation: 35/5=7, Resulting Numbers: [87, 7] Generated Node #3: [87, 7] from Operation: 35/5=7 Current State: 80:[87, 7], Operations: ['33-28=5', '35/5=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[87, 33, 35, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [87, 35, 5] Generated Node #0,0: 80:[87, 35, 5] Operation: 33-28=5 Exploring Operation: 87-33=54, Resulting Numbers: [35, 28, 54] Generated Node #0,1: 80:[35, 28, 54] Operation: 87-33=54 Exploring Operation: 35-33=2, Resulting Numbers: [87, 28, 2] Generated Node #0,2: 80:[87, 28, 2] Operation: 35-33=2 Exploring Operation: 35-28=7, Resulting Numbers: [87, 33, 7] Generated Node #0,3: 80:[87, 33, 7] Operation: 35-28=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[87, 35, 5], Operations: ['33-28=5'] Exploring Operation: 35+5=40, Resulting Numbers: [87, 40] Generated Node #0,0,0: 80:[87, 40] Operation: 35+5=40 Exploring Operation: 87-35=52, Resulting Numbers: [5, 52] Generated Node #0,0,1: 80:[5, 52] Operation: 87-35=52 Exploring Operation: 87-5=82, Resulting Numbers: [35, 82] Generated Node #0,0,2: 80:[35, 82] Operation: 87-5=82 Exploring Operation: 35/5=7, Resulting Numbers: [87, 7] Generated Node #0,0,3: 80:[87, 7] Operation: 35/5=7 Moving to Node #0,0,0 Current State: 80:[87, 40], Operations: ['33-28=5', '35+5=40'] Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,80 unequal: No Solution Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,80 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[35, 82], Operations: ['33-28=5', '87-5=82'] Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,80 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[87, 7], Operations: ['33-28=5', '35/5=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[87, 33, 35, 28], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [87, 35, 5] Generated Node #0,0: 80:[87, 35, 5] Operation: 33-28=5 Moving to Node #0,0 Current State: 80:[87, 35, 5], Operations: ['33-28=5'] Exploring Operation: 35/5=7, Resulting Numbers: [87, 7] Generated Node #0,0,3: 80:[87, 7] Operation: 35/5=7 Moving to Node #0,0,3 Current State: 80:[87, 7], Operations: ['33-28=5', '35/5=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 90, 23, 55, 9 ]
92
[ "55-9=46", "46/23=2", "90+2=92" ]
Current State: 92:[90, 23, 55, 9], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [90, 23, 46] Generated Node #2: [90, 23, 46] from Operation: 55-9=46 Current State: 92:[90, 23, 46], Operations: ['55-9=46'] Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 46/23=2 Current State: 92:[90, 2], Operations: ['55-9=46', '46/23=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[90, 23, 55, 9], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [90, 23, 46] Generated Node #0,0: 92:[90, 23, 46] Operation: 55-9=46 Exploring Operation: 90/9=10, Resulting Numbers: [23, 55, 10] Generated Node #0,1: 92:[23, 55, 10] Operation: 90/9=10 Exploring Operation: 90-55=35, Resulting Numbers: [23, 9, 35] Generated Node #0,2: 92:[23, 9, 35] Operation: 90-55=35 Moving to Node #0,0 Current State: 92:[90, 23, 46], Operations: ['55-9=46'] Exploring Operation: 46-23=23, Resulting Numbers: [90, 23] Generated Node #0,0,0: 92:[90, 23] Operation: 46-23=23 Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 92:[90, 2] Operation: 46/23=2 Exploring Operation: 90-46=44, Resulting Numbers: [23, 44] Generated Node #0,0,2: 92:[23, 44] Operation: 90-46=44 Moving to Node #0,1 Current State: 92:[23, 55, 10], Operations: ['90/9=10'] Exploring Operation: 23-10=13, Resulting Numbers: [55, 13] Generated Node #0,1,0: 92:[55, 13] Operation: 23-10=13 Exploring Operation: 55-10=45, Resulting Numbers: [23, 45] Generated Node #0,1,1: 92:[23, 45] Operation: 55-10=45 Exploring Operation: 55-23=32, Resulting Numbers: [10, 32] Generated Node #0,1,2: 92:[10, 32] Operation: 55-23=32 Moving to Node #0,2 Current State: 92:[23, 9, 35], Operations: ['90-55=35'] Exploring Operation: 9+35=44, Resulting Numbers: [23, 44] Generated Node #0,2,0: 92:[23, 44] Operation: 9+35=44 Exploring Operation: 35-23=12, Resulting Numbers: [9, 12] Generated Node #0,2,1: 92:[9, 12] Operation: 35-23=12 Exploring Operation: 35-9=26, Resulting Numbers: [23, 26] Generated Node #0,2,2: 92:[23, 26] Operation: 35-9=26 Moving to Node #0,1,1 Current State: 92:[23, 45], Operations: ['90/9=10', '55-10=45'] Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,92 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[23, 44], Operations: ['55-9=46', '90-46=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[23, 44], Operations: ['90-55=35', '9+35=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[90, 23], Operations: ['55-9=46', '46-23=23'] Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,92 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[90, 2], Operations: ['55-9=46', '46/23=2'] 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:[90, 23, 55, 9], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [90, 23, 46] Generated Node #0,0: 92:[90, 23, 46] Operation: 55-9=46 Moving to Node #0,0 Current State: 92:[90, 23, 46], Operations: ['55-9=46'] Exploring Operation: 46/23=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 92:[90, 2] Operation: 46/23=2 Moving to Node #0,0,1 Current State: 92:[90, 2], Operations: ['55-9=46', '46/23=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 75, 16, 36, 45 ]
55
[ "16*45=720", "720/36=20", "75-20=55" ]
Current State: 55:[75, 16, 36, 45], Operations: [] Exploring Operation: 16*45=720, Resulting Numbers: [75, 36, 720] Generated Node #2: [75, 36, 720] from Operation: 16*45=720 Current State: 55:[75, 36, 720], Operations: ['16*45=720'] Exploring Operation: 720/36=20, Resulting Numbers: [75, 20] Generated Node #3: [75, 20] from Operation: 720/36=20 Current State: 55:[75, 20], Operations: ['16*45=720', '720/36=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[75, 16, 36, 45], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [75, 16, 9] Generated Node #0,0: 55:[75, 16, 9] Operation: 45-36=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[75, 16, 9], Operations: ['45-36=9'] Exploring Operation: 75-16=59, Resulting Numbers: [9, 59] Generated Node #0,0,0: 55:[9, 59] Operation: 75-16=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[9, 59], Operations: ['45-36=9', '75-16=59'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 52, 41, 2 ]
66
[ "39+52=91", "41+91=132", "132/2=66" ]
Current State: 66:[39, 52, 41, 2], Operations: [] Exploring Operation: 39+52=91, Resulting Numbers: [41, 2, 91] Generated Node #2: [41, 2, 91] from Operation: 39+52=91 Current State: 66:[41, 2, 91], Operations: ['39+52=91'] Exploring Operation: 41+91=132, Resulting Numbers: [2, 132] Generated Node #3: [2, 132] from Operation: 41+91=132 Current State: 66:[2, 132], Operations: ['39+52=91', '41+91=132'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[39, 52, 41, 2], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [39, 41, 26] Generated Node #0,0: 66:[39, 41, 26] Operation: 52/2=26 Exploring Operation: 52-41=11, Resulting Numbers: [39, 2, 11] Generated Node #0,1: 66:[39, 2, 11] Operation: 52-41=11 Exploring Operation: 41-39=2, Resulting Numbers: [52, 2, 2] Generated Node #0,2: 66:[52, 2, 2] Operation: 41-39=2 Exploring Operation: 39-2=37, Resulting Numbers: [52, 41, 37] Generated Node #0,3: 66:[52, 41, 37] Operation: 39-2=37 Exploring Operation: 52-39=13, Resulting Numbers: [41, 2, 13] Generated Node #0,4: 66:[41, 2, 13] Operation: 52-39=13 Moving to Node #0,1 Current State: 66:[39, 2, 11], Operations: ['52-41=11'] Exploring Operation: 39-2=37, Resulting Numbers: [11, 37] Generated Node #0,1,0: 66:[11, 37] Operation: 39-2=37 Exploring Operation: 2*11=22, Resulting Numbers: [39, 22] Generated Node #0,1,1: 66:[39, 22] Operation: 2*11=22 Exploring Operation: 39-11=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 66:[2, 28] Operation: 39-11=28 Exploring Operation: 2+11=13, Resulting Numbers: [39, 13] Generated Node #0,1,3: 66:[39, 13] Operation: 2+11=13 Exploring Operation: 39+2=41, Resulting Numbers: [11, 41] Generated Node #0,1,4: 66:[11, 41] Operation: 39+2=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[11, 37], Operations: ['52-41=11', '39-2=37'] Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,66 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,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:[2, 28], Operations: ['52-41=11', '39-11=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,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:[39, 22], Operations: ['52-41=11', '2*11=22'] Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,66 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,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:[39, 13], Operations: ['52-41=11', '2+11=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,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:[11, 41], Operations: ['52-41=11', '39+2=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,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:[41, 2, 13], Operations: ['52-39=13'] Exploring Operation: 41-2=39, Resulting Numbers: [13, 39] Generated Node #0,4,0: 66:[13, 39] Operation: 41-2=39 Exploring Operation: 41-13=28, Resulting Numbers: [2, 28] Generated Node #0,4,1: 66:[2, 28] Operation: 41-13=28 Exploring Operation: 41+2=43, Resulting Numbers: [13, 43] Generated Node #0,4,2: 66:[13, 43] Operation: 41+2=43 Exploring Operation: 13-2=11, Resulting Numbers: [41, 11] Generated Node #0,4,3: 66:[41, 11] Operation: 13-2=11 Exploring Operation: 41+13=54, Resulting Numbers: [2, 54] Generated Node #0,4,4: 66:[2, 54] Operation: 41+13=54 Moving to Node #0,2 Current State: 66:[52, 2, 2], Operations: ['41-39=2'] Exploring Operation: 52/2=26, Resulting Numbers: [2, 26] Generated Node #0,2,0: 66:[2, 26] Operation: 52/2=26 Exploring Operation: 52+2=54, Resulting Numbers: [2, 54] Generated Node #0,2,1: 66:[2, 54] Operation: 52+2=54 Exploring Operation: 2+2=4, Resulting Numbers: [52, 4] Generated Node #0,2,2: 66:[52, 4] Operation: 2+2=4 Exploring Operation: 52+2=54, Resulting Numbers: [2, 54] Generated Node #0,2,3: 66:[2, 54] Operation: 52+2=54 Exploring Operation: 52/2=26, Resulting Numbers: [2, 26] Generated Node #0,2,4: 66:[2, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[2, 26], Operations: ['41-39=2', '52/2=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 66:[2, 26], Operations: ['41-39=2', '52/2=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[2, 54], Operations: ['41-39=2', '52+2=54'] Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[2, 54], Operations: ['41-39=2', '52+2=54'] Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[52, 4], Operations: ['41-39=2', '2+2=4'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,66 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,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:[39, 41, 26], Operations: ['52/2=26'] Exploring Operation: 41-26=15, Resulting Numbers: [39, 15] Generated Node #0,0,0: 66:[39, 15] Operation: 41-26=15 Exploring Operation: 41+26=67, Resulting Numbers: [39, 67] Generated Node #0,0,1: 66:[39, 67] Operation: 41+26=67 Exploring Operation: 39-26=13, Resulting Numbers: [41, 13] Generated Node #0,0,2: 66:[41, 13] Operation: 39-26=13 Exploring Operation: 41-39=2, Resulting Numbers: [26, 2] Generated Node #0,0,3: 66:[26, 2] Operation: 41-39=2 Exploring Operation: 39+26=65, Resulting Numbers: [41, 65] Generated Node #0,0,4: 66:[41, 65] Operation: 39+26=65 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[26, 2], Operations: ['52/2=26', '41-39=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[39, 67], Operations: ['52/2=26', '41+26=67'] Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 39+67=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 39*67=2613, Resulting Numbers: [2613] 2613,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[41, 65], Operations: ['52/2=26', '39+26=65'] Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,66 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[39, 15], Operations: ['52/2=26', '41-26=15'] Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,66 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[41, 13], Operations: ['52/2=26', '39-26=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,66 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,66 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: 66:[52, 41, 37], Operations: ['39-2=37'] Exploring Operation: 52-37=15, Resulting Numbers: [41, 15] Generated Node #0,3,0: 66:[41, 15] Operation: 52-37=15 Exploring Operation: 41+37=78, Resulting Numbers: [52, 78] Generated Node #0,3,1: 66:[52, 78] Operation: 41+37=78 Exploring Operation: 52-41=11, Resulting Numbers: [37, 11] Generated Node #0,3,2: 66:[37, 11] Operation: 52-41=11 Exploring Operation: 52+41=93, Resulting Numbers: [37, 93] Generated Node #0,3,3: 66:[37, 93] Operation: 52+41=93 Exploring Operation: 41-37=4, Resulting Numbers: [52, 4] Generated Node #0,3,4: 66:[52, 4] Operation: 41-37=4 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[37, 11], Operations: ['39-2=37', '52-41=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,66 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,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:[41, 15], Operations: ['39-2=37', '52-37=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,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:[52, 4], Operations: ['39-2=37', '41-37=4'] Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,66 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,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,1 Current State: 66:[52, 78], Operations: ['39-2=37', '41+37=78'] Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,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, 93], Operations: ['39-2=37', '52+41=93'] Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,66 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 66:[2, 28], Operations: ['52-39=13', '41-13=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[41, 11], Operations: ['52-39=13', '13-2=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[13, 39], Operations: ['52-39=13', '41-2=39'] Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,66 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[13, 43], Operations: ['52-39=13', '41+2=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[2, 54], Operations: ['52-39=13', '41+13=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,66 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 9, 52, 53, 25 ]
89
[ "9+52=61", "53-25=28", "61+28=89" ]
Current State: 89:[9, 52, 53, 25], Operations: [] Exploring Operation: 9+52=61, Resulting Numbers: [53, 25, 61] Generated Node #2: [53, 25, 61] from Operation: 9+52=61 Current State: 89:[53, 25, 61], Operations: ['9+52=61'] Exploring Operation: 53-25=28, Resulting Numbers: [61, 28] Generated Node #3: [61, 28] from Operation: 53-25=28 Current State: 89:[61, 28], Operations: ['9+52=61', '53-25=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[9, 52, 53, 25], Operations: [] Exploring Operation: 9+52=61, Resulting Numbers: [53, 25, 61] Generated Node #0,0: 89:[53, 25, 61] Operation: 9+52=61 Exploring Operation: 52+25=77, Resulting Numbers: [9, 53, 77] Generated Node #0,1: 89:[9, 53, 77] Operation: 52+25=77 Exploring Operation: 53+25=78, Resulting Numbers: [9, 52, 78] Generated Node #0,2: 89:[9, 52, 78] Operation: 53+25=78 Exploring Operation: 9+25=34, Resulting Numbers: [52, 53, 34] Generated Node #0,3: 89:[52, 53, 34] Operation: 9+25=34 Exploring Operation: 9+53=62, Resulting Numbers: [52, 25, 62] Generated Node #0,4: 89:[52, 25, 62] Operation: 9+53=62 Moving to Node #0,0 Current State: 89:[53, 25, 61], Operations: ['9+52=61'] Exploring Operation: 53-25=28, Resulting Numbers: [61, 28] Generated Node #0,0,0: 89:[61, 28] Operation: 53-25=28 Exploring Operation: 53+61=114, Resulting Numbers: [25, 114] Generated Node #0,0,1: 89:[25, 114] Operation: 53+61=114 Exploring Operation: 25+61=86, Resulting Numbers: [53, 86] Generated Node #0,0,2: 89:[53, 86] Operation: 25+61=86 Exploring Operation: 61-25=36, Resulting Numbers: [53, 36] Generated Node #0,0,3: 89:[53, 36] Operation: 61-25=36 Exploring Operation: 53+25=78, Resulting Numbers: [61, 78] Generated Node #0,0,4: 89:[61, 78] Operation: 53+25=78 Moving to Node #0,2 Current State: 89:[9, 52, 78], Operations: ['53+25=78'] Exploring Operation: 52+78=130, Resulting Numbers: [9, 130] Generated Node #0,2,0: 89:[9, 130] Operation: 52+78=130 Exploring Operation: 9+78=87, Resulting Numbers: [52, 87] Generated Node #0,2,1: 89:[52, 87] Operation: 9+78=87 Exploring Operation: 52-9=43, Resulting Numbers: [78, 43] Generated Node #0,2,2: 89:[78, 43] Operation: 52-9=43 Exploring Operation: 78-9=69, Resulting Numbers: [52, 69] Generated Node #0,2,3: 89:[52, 69] Operation: 78-9=69 Exploring Operation: 9+52=61, Resulting Numbers: [78, 61] Generated Node #0,2,4: 89:[78, 61] Operation: 9+52=61 Moving to Node #0,4 Current State: 89:[52, 25, 62], Operations: ['9+53=62'] Exploring Operation: 52-25=27, Resulting Numbers: [62, 27] Generated Node #0,4,0: 89:[62, 27] Operation: 52-25=27 Exploring Operation: 52+25=77, Resulting Numbers: [62, 77] Generated Node #0,4,1: 89:[62, 77] Operation: 52+25=77 Exploring Operation: 25+62=87, Resulting Numbers: [52, 87] Generated Node #0,4,2: 89:[52, 87] Operation: 25+62=87 Exploring Operation: 62-25=37, Resulting Numbers: [52, 37] Generated Node #0,4,3: 89:[52, 37] Operation: 62-25=37 Exploring Operation: 52+62=114, Resulting Numbers: [25, 114] Generated Node #0,4,4: 89:[25, 114] Operation: 52+62=114 Moving to Node #0,1 Current State: 89:[9, 53, 77], Operations: ['52+25=77'] Exploring Operation: 9+77=86, Resulting Numbers: [53, 86] Generated Node #0,1,0: 89:[53, 86] Operation: 9+77=86 Exploring Operation: 77-9=68, Resulting Numbers: [53, 68] Generated Node #0,1,1: 89:[53, 68] Operation: 77-9=68 Exploring Operation: 53-9=44, Resulting Numbers: [77, 44] Generated Node #0,1,2: 89:[77, 44] Operation: 53-9=44 Exploring Operation: 9+53=62, Resulting Numbers: [77, 62] Generated Node #0,1,3: 89:[77, 62] Operation: 9+53=62 Exploring Operation: 53+77=130, Resulting Numbers: [9, 130] Generated Node #0,1,4: 89:[9, 130] Operation: 53+77=130 Moving to Node #0,3 Current State: 89:[52, 53, 34], Operations: ['9+25=34'] Exploring Operation: 52+53=105, Resulting Numbers: [34, 105] Generated Node #0,3,0: 89:[34, 105] Operation: 52+53=105 Exploring Operation: 52+34=86, Resulting Numbers: [53, 86] Generated Node #0,3,1: 89:[53, 86] Operation: 52+34=86 Exploring Operation: 53+34=87, Resulting Numbers: [52, 87] Generated Node #0,3,2: 89:[52, 87] Operation: 53+34=87 Exploring Operation: 53-34=19, Resulting Numbers: [52, 19] Generated Node #0,3,3: 89:[52, 19] Operation: 53-34=19 Exploring Operation: 52-34=18, Resulting Numbers: [53, 18] Generated Node #0,3,4: 89:[53, 18] Operation: 52-34=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[53, 86], Operations: ['9+25=34', '52+34=86'] Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,89 unequal: No Solution Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[52, 87], Operations: ['9+25=34', '53+34=87'] Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[34, 105], Operations: ['9+25=34', '52+53=105'] Exploring Operation: 34*105=3570, Resulting Numbers: [3570] 3570,89 unequal: No Solution Exploring Operation: 34+105=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 105-34=71, Resulting Numbers: [71] 71,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[52, 19], Operations: ['9+25=34', '53-34=19'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 89:[53, 18], Operations: ['9+25=34', '52-34=18'] Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,89 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 89:[53, 86], Operations: ['9+52=61', '25+61=86'] Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,89 unequal: No Solution Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[52, 87], Operations: ['53+25=78', '9+78=87'] Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,89 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[78, 61], Operations: ['53+25=78', '9+52=61'] Exploring Operation: 78*61=4758, Resulting Numbers: [4758] 4758,89 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 78+61=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[52, 87], Operations: ['9+53=62', '25+62=87'] Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,89 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[61, 78], Operations: ['9+52=61', '53+25=78'] Exploring Operation: 61+78=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 61*78=4758, Resulting Numbers: [4758] 4758,89 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[62, 77], Operations: ['9+53=62', '52+25=77'] Exploring Operation: 62*77=4774, Resulting Numbers: [4774] 4774,89 unequal: No Solution Exploring Operation: 62+77=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[53, 86], Operations: ['52+25=77', '9+77=86'] Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[77, 62], Operations: ['52+25=77', '9+53=62'] Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,89 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[77, 44], Operations: ['52+25=77', '53-9=44'] Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[53, 68], Operations: ['52+25=77', '77-9=68'] Exploring Operation: 53*68=3604, Resulting Numbers: [3604] 3604,89 unequal: No Solution Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 53+68=121, Resulting Numbers: [121] 121,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[78, 43], Operations: ['53+25=78', '52-9=43'] Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[52, 69], Operations: ['53+25=78', '78-9=69'] Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,89 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[25, 114], Operations: ['9+53=62', '52+62=114'] Exploring Operation: 25+114=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 25*114=2850, Resulting Numbers: [2850] 2850,89 unequal: No Solution Exploring Operation: 114-25=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[9, 52, 53, 25], Operations: [] Exploring Operation: 9+53=62, Resulting Numbers: [52, 25, 62] Generated Node #0,4: 89:[52, 25, 62] Operation: 9+53=62 Moving to Node #0,4 Current State: 89:[52, 25, 62], Operations: ['9+53=62'] Exploring Operation: 52+62=114, Resulting Numbers: [25, 114] Generated Node #0,4,4: 89:[25, 114] Operation: 52+62=114 Moving to Node #0,4,4 Current State: 89:[25, 114], Operations: ['9+53=62', '52+62=114'] Exploring Operation: 114-25=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.923611
hs_5
mult_heuristic
[ 2, 51, 23, 86 ]
30
[ "51-23=28", "2*28=56", "86-56=30" ]
Current State: 30:[2, 51, 23, 86], Operations: [] Exploring Operation: 51-23=28, Resulting Numbers: [2, 86, 28] Generated Node #2: [2, 86, 28] from Operation: 51-23=28 Current State: 30:[2, 86, 28], Operations: ['51-23=28'] Exploring Operation: 2*28=56, Resulting Numbers: [86, 56] Generated Node #3: [86, 56] from Operation: 2*28=56 Current State: 30:[86, 56], Operations: ['51-23=28', '2*28=56'] Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 51, 23, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [51, 23, 43] Generated Node #0,0: 30:[51, 23, 43] Operation: 86/2=43 Exploring Operation: 86-51=35, Resulting Numbers: [2, 23, 35] Generated Node #0,1: 30:[2, 23, 35] Operation: 86-51=35 Exploring Operation: 86-23=63, Resulting Numbers: [2, 51, 63] Generated Node #0,2: 30:[2, 51, 63] Operation: 86-23=63 Moving to Node #0,1 Current State: 30:[2, 23, 35], Operations: ['86-51=35'] Exploring Operation: 35-2=33, Resulting Numbers: [23, 33] Generated Node #0,1,0: 30:[23, 33] Operation: 35-2=33 Exploring Operation: 2+23=25, Resulting Numbers: [35, 25] Generated Node #0,1,1: 30:[35, 25] Operation: 2+23=25 Exploring Operation: 35-23=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 30:[2, 12] Operation: 35-23=12 Moving to Node #0,0 Current State: 30:[51, 23, 43], Operations: ['86/2=43'] Exploring Operation: 51-23=28, Resulting Numbers: [43, 28] Generated Node #0,0,0: 30:[43, 28] Operation: 51-23=28 Exploring Operation: 51-43=8, Resulting Numbers: [23, 8] Generated Node #0,0,1: 30:[23, 8] Operation: 51-43=8 Exploring Operation: 43-23=20, Resulting Numbers: [51, 20] Generated Node #0,0,2: 30:[51, 20] Operation: 43-23=20 Moving to Node #0,2 Current State: 30:[2, 51, 63], Operations: ['86-23=63'] Exploring Operation: 63-51=12, Resulting Numbers: [2, 12] Generated Node #0,2,0: 30:[2, 12] Operation: 63-51=12 Exploring Operation: 63-2=61, Resulting Numbers: [51, 61] Generated Node #0,2,1: 30:[51, 61] Operation: 63-2=61 Exploring Operation: 51-2=49, Resulting Numbers: [63, 49] Generated Node #0,2,2: 30:[63, 49] Operation: 51-2=49 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[2, 12], Operations: ['86-23=63', '63-51=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,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,2,1 Current State: 30:[51, 61], Operations: ['86-23=63', '63-2=61'] Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,30 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,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,2,2 Current State: 30:[63, 49], Operations: ['86-23=63', '51-2=49'] Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,30 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,30 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,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:[2, 12], Operations: ['86-51=35', '35-23=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[23, 8], Operations: ['86/2=43', '51-43=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,30 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[35, 25], Operations: ['86-51=35', '2+23=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,30 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[23, 33], Operations: ['86-51=35', '35-2=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,30 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[43, 28], Operations: ['86/2=43', '51-23=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,30 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[51, 20], Operations: ['86/2=43', '43-23=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,30 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 47, 3, 75 ]
81
[ "5+47=52", "3*52=156", "156-75=81" ]
Current State: 81:[5, 47, 3, 75], Operations: [] Exploring Operation: 5+47=52, Resulting Numbers: [3, 75, 52] Generated Node #2: [3, 75, 52] from Operation: 5+47=52 Current State: 81:[3, 75, 52], Operations: ['5+47=52'] Exploring Operation: 3*52=156, Resulting Numbers: [75, 156] Generated Node #3: [75, 156] from Operation: 3*52=156 Current State: 81:[75, 156], Operations: ['5+47=52', '3*52=156'] Exploring Operation: 156-75=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[5, 47, 3, 75], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [5, 3, 28] Generated Node #0,0: 81:[5, 3, 28] Operation: 75-47=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[5, 3, 28], Operations: ['75-47=28'] Exploring Operation: 5+3=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 81:[28, 8] Operation: 5+3=8 Moving to Node #0,0,0 Current State: 81:[28, 8], Operations: ['75-47=28', '5+3=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 17, 21, 45 ]
77
[ "84+17=101", "45-21=24", "101-24=77" ]
Current State: 77:[84, 17, 21, 45], Operations: [] Exploring Operation: 84+17=101, Resulting Numbers: [21, 45, 101] Generated Node #2: [21, 45, 101] from Operation: 84+17=101 Current State: 77:[21, 45, 101], Operations: ['84+17=101'] Exploring Operation: 45-21=24, Resulting Numbers: [101, 24] Generated Node #3: [101, 24] from Operation: 45-21=24 Current State: 77:[101, 24], Operations: ['84+17=101', '45-21=24'] Exploring Operation: 101-24=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[84, 17, 21, 45], Operations: [] Exploring Operation: 45-17=28, Resulting Numbers: [84, 21, 28] Generated Node #0,0: 77:[84, 21, 28] Operation: 45-17=28 Exploring Operation: 45-21=24, Resulting Numbers: [84, 17, 24] Generated Node #0,1: 77:[84, 17, 24] Operation: 45-21=24 Exploring Operation: 84/21=4, Resulting Numbers: [17, 45, 4] Generated Node #0,2: 77:[17, 45, 4] Operation: 84/21=4 Exploring Operation: 21+45=66, Resulting Numbers: [84, 17, 66] Generated Node #0,3: 77:[84, 17, 66] Operation: 21+45=66 Exploring Operation: 17+45=62, Resulting Numbers: [84, 21, 62] Generated Node #0,4: 77:[84, 21, 62] Operation: 17+45=62 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[84, 17, 66], Operations: ['21+45=66'] Exploring Operation: 84+17=101, Resulting Numbers: [66, 101] Generated Node #0,3,0: 77:[66, 101] Operation: 84+17=101 Exploring Operation: 84-66=18, Resulting Numbers: [17, 18] Generated Node #0,3,1: 77:[17, 18] Operation: 84-66=18 Exploring Operation: 84-17=67, Resulting Numbers: [66, 67] Generated Node #0,3,2: 77:[66, 67] Operation: 84-17=67 Exploring Operation: 66-17=49, Resulting Numbers: [84, 49] Generated Node #0,3,3: 77:[84, 49] Operation: 66-17=49 Exploring Operation: 17+66=83, Resulting Numbers: [84, 83] Generated Node #0,3,4: 77:[84, 83] Operation: 17+66=83 Moving to Node #0,3,1 Current State: 77:[17, 18], Operations: ['21+45=66', '84-66=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[84, 83], Operations: ['21+45=66', '17+66=83'] Exploring Operation: 84+83=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 84*83=6972, Resulting Numbers: [6972] 6972,77 unequal: No Solution Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[66, 67], Operations: ['21+45=66', '84-17=67'] Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,77 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[66, 101], Operations: ['21+45=66', '84+17=101'] Exploring Operation: 66*101=6666, Resulting Numbers: [6666] 6666,77 unequal: No Solution Exploring Operation: 66+101=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 101-66=35, Resulting Numbers: [35] 35,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[84, 49], Operations: ['21+45=66', '66-17=49'] Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,77 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[84, 17, 24], Operations: ['45-21=24'] Exploring Operation: 84+17=101, Resulting Numbers: [24, 101] Generated Node #0,1,0: 77:[24, 101] Operation: 84+17=101 Exploring Operation: 84-24=60, Resulting Numbers: [17, 60] Generated Node #0,1,1: 77:[17, 60] Operation: 84-24=60 Exploring Operation: 84+24=108, Resulting Numbers: [17, 108] Generated Node #0,1,2: 77:[17, 108] Operation: 84+24=108 Exploring Operation: 84-17=67, Resulting Numbers: [24, 67] Generated Node #0,1,3: 77:[24, 67] Operation: 84-17=67 Exploring Operation: 24-17=7, Resulting Numbers: [84, 7] Generated Node #0,1,4: 77:[84, 7] Operation: 24-17=7 Moving to Node #0,1,4 Current State: 77:[84, 7], Operations: ['45-21=24', '24-17=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[84, 17, 21, 45], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [84, 17, 24] Generated Node #0,1: 77:[84, 17, 24] Operation: 45-21=24 Moving to Node #0,1 Current State: 77:[84, 17, 24], Operations: ['45-21=24'] Exploring Operation: 24-17=7, Resulting Numbers: [84, 7] Generated Node #0,1,4: 77:[84, 7] Operation: 24-17=7 Moving to Node #0,1,4 Current State: 77:[84, 7], Operations: ['45-21=24', '24-17=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 41, 29, 14, 11 ]
24
[ "41+14=55", "55/11=5", "29-5=24" ]
Current State: 24:[41, 29, 14, 11], Operations: [] Exploring Operation: 41+14=55, Resulting Numbers: [29, 11, 55] Generated Node #2: [29, 11, 55] from Operation: 41+14=55 Current State: 24:[29, 11, 55], Operations: ['41+14=55'] Exploring Operation: 55/11=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 55/11=5 Current State: 24:[29, 5], Operations: ['41+14=55', '55/11=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[41, 29, 14, 11], Operations: [] Exploring Operation: 41-14=27, Resulting Numbers: [29, 11, 27] Generated Node #0,0: 24:[29, 11, 27] Operation: 41-14=27 Exploring Operation: 41-11=30, Resulting Numbers: [29, 14, 30] Generated Node #0,1: 24:[29, 14, 30] Operation: 41-11=30 Exploring Operation: 41-29=12, Resulting Numbers: [14, 11, 12] Generated Node #0,2: 24:[14, 11, 12] Operation: 41-29=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[14, 11, 12], Operations: ['41-29=12'] Exploring Operation: 14+11=25, Resulting Numbers: [12, 25] Generated Node #0,2,0: 24:[12, 25] Operation: 14+11=25 Exploring Operation: 14-12=2, Resulting Numbers: [11, 2] Generated Node #0,2,1: 24:[11, 2] Operation: 14-12=2 Exploring Operation: 14-11=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 24:[12, 3] Operation: 14-11=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[12, 3], Operations: ['41-29=12', '14-11=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,24 unequal: No Solution No 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: 24:[12, 25], Operations: ['41-29=12', '14+11=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,24 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,24 unequal: No Solution No 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: 24:[11, 2], Operations: ['41-29=12', '14-12=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[29, 11, 27], Operations: ['41-14=27'] Exploring Operation: 27-11=16, Resulting Numbers: [29, 16] Generated Node #0,0,0: 24:[29, 16] Operation: 27-11=16 Exploring Operation: 29-11=18, Resulting Numbers: [27, 18] Generated Node #0,0,1: 24:[27, 18] Operation: 29-11=18 Exploring Operation: 29-27=2, Resulting Numbers: [11, 2] Generated Node #0,0,2: 24:[11, 2] Operation: 29-27=2 Moving to Node #0,0,2 Current State: 24:[11, 2], Operations: ['41-14=27', '29-27=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[29, 16], Operations: ['41-14=27', '27-11=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[27, 18], Operations: ['41-14=27', '29-11=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,24 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,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,1 Current State: 24:[29, 14, 30], Operations: ['41-11=30'] Exploring Operation: 30-14=16, Resulting Numbers: [29, 16] Generated Node #0,1,0: 24:[29, 16] Operation: 30-14=16 Exploring Operation: 29-14=15, Resulting Numbers: [30, 15] Generated Node #0,1,1: 24:[30, 15] Operation: 29-14=15 Exploring Operation: 30-29=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 24:[14, 1] Operation: 30-29=1 Moving to Node #0,1,2 Current State: 24:[14, 1], Operations: ['41-11=30', '30-29=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[29, 16], Operations: ['41-11=30', '30-14=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[30, 15], Operations: ['41-11=30', '29-14=15'] Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,24 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
[ 4, 36, 78, 2 ]
53
[ "36+78=114", "114/2=57", "57-4=53" ]
Current State: 53:[4, 36, 78, 2], Operations: [] Exploring Operation: 36+78=114, Resulting Numbers: [4, 2, 114] Generated Node #2: [4, 2, 114] from Operation: 36+78=114 Current State: 53:[4, 2, 114], Operations: ['36+78=114'] Exploring Operation: 114/2=57, Resulting Numbers: [4, 57] Generated Node #3: [4, 57] from Operation: 114/2=57 Current State: 53:[4, 57], Operations: ['36+78=114', '114/2=57'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[4, 36, 78, 2], Operations: [] Exploring Operation: 4+36=40, Resulting Numbers: [78, 2, 40] Generated Node #0,0: 53:[78, 2, 40] Operation: 4+36=40 Exploring Operation: 4*2=8, Resulting Numbers: [36, 78, 8] Generated Node #0,1: 53:[36, 78, 8] Operation: 4*2=8 Exploring Operation: 78/2=39, Resulting Numbers: [4, 36, 39] Generated Node #0,2: 53:[4, 36, 39] Operation: 78/2=39 Moving to Node #0,2 Current State: 53:[4, 36, 39], Operations: ['78/2=39'] Exploring Operation: 36-4=32, Resulting Numbers: [39, 32] Generated Node #0,2,0: 53:[39, 32] Operation: 36-4=32 Exploring Operation: 4+39=43, Resulting Numbers: [36, 43] Generated Node #0,2,1: 53:[36, 43] Operation: 4+39=43 Exploring Operation: 4+36=40, Resulting Numbers: [39, 40] Generated Node #0,2,2: 53:[39, 40] Operation: 4+36=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[36, 43], Operations: ['78/2=39', '4+39=43'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,53 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,53 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[39, 40], Operations: ['78/2=39', '4+36=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,53 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[39, 32], Operations: ['78/2=39', '36-4=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,53 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,53 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: 53:[36, 78, 8], Operations: ['4*2=8'] Exploring Operation: 36+8=44, Resulting Numbers: [78, 44] Generated Node #0,1,0: 53:[78, 44] Operation: 36+8=44 Exploring Operation: 36-8=28, Resulting Numbers: [78, 28] Generated Node #0,1,1: 53:[78, 28] Operation: 36-8=28 Exploring Operation: 78-8=70, Resulting Numbers: [36, 70] Generated Node #0,1,2: 53:[36, 70] Operation: 78-8=70 Moving to Node #0,0 Current State: 53:[78, 2, 40], Operations: ['4+36=40'] Exploring Operation: 78/2=39, Resulting Numbers: [40, 39] Generated Node #0,0,0: 53:[40, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [40, 76] Generated Node #0,0,1: 53:[40, 76] Operation: 78-2=76 Exploring Operation: 2+40=42, Resulting Numbers: [78, 42] Generated Node #0,0,2: 53:[78, 42] Operation: 2+40=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[40, 39], Operations: ['4+36=40', '78/2=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,53 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[40, 76], Operations: ['4+36=40', '78-2=76'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,53 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[78, 42], Operations: ['4+36=40', '2+40=42'] Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,53 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 53:[78, 44], Operations: ['4*2=8', '36+8=44'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,53 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[36, 70], Operations: ['4*2=8', '78-8=70'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,53 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[78, 28], Operations: ['4*2=8', '36-8=28'] Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,53 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 7, 22, 14 ]
52
[ "24+22=46", "7*14=98", "98-46=52" ]
Current State: 52:[24, 7, 22, 14], Operations: [] Exploring Operation: 24+22=46, Resulting Numbers: [7, 14, 46] Generated Node #2: [7, 14, 46] from Operation: 24+22=46 Current State: 52:[7, 14, 46], Operations: ['24+22=46'] Exploring Operation: 7*14=98, Resulting Numbers: [46, 98] Generated Node #3: [46, 98] from Operation: 7*14=98 Current State: 52:[46, 98], Operations: ['24+22=46', '7*14=98'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[24, 7, 22, 14], Operations: [] Exploring Operation: 22-7=15, Resulting Numbers: [24, 14, 15] Generated Node #0,0: 52:[24, 14, 15] Operation: 22-7=15 Exploring Operation: 24-22=2, Resulting Numbers: [7, 14, 2] Generated Node #0,1: 52:[7, 14, 2] Operation: 24-22=2 Moving to Node #0,1 Current State: 52:[7, 14, 2], Operations: ['24-22=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14, 14] Generated Node #0,1,0: 52:[14, 14] Operation: 7*2=14 Exploring Operation: 14/7=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 52:[2, 2] Operation: 14/7=2 Moving to Node #0,0 Current State: 52:[24, 14, 15], Operations: ['22-7=15'] Exploring Operation: 24-14=10, Resulting Numbers: [15, 10] Generated Node #0,0,0: 52:[15, 10] Operation: 24-14=10 Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 52:[24, 1] Operation: 15-14=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[24, 1], Operations: ['22-7=15', '15-14=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[15, 10], Operations: ['22-7=15', '24-14=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 52:[2, 2], Operations: ['24-22=2', '14/7=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[14, 14], Operations: ['24-22=2', '7*2=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,52 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 7, 28, 56 ]
17
[ "8+7=15", "56/28=2", "15+2=17" ]
Current State: 17:[8, 7, 28, 56], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [28, 56, 15] Generated Node #2: [28, 56, 15] from Operation: 8+7=15 Current State: 17:[28, 56, 15], Operations: ['8+7=15'] Exploring Operation: 56/28=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 56/28=2 Current State: 17:[15, 2], Operations: ['8+7=15', '56/28=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[8, 7, 28, 56], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [8, 28, 8] Generated Node #0,0: 17:[8, 28, 8] Operation: 56/7=8 Exploring Operation: 56/8=7, Resulting Numbers: [7, 28, 7] Generated Node #0,1: 17:[7, 28, 7] Operation: 56/8=7 Exploring Operation: 56-28=28, Resulting Numbers: [8, 7, 28] Generated Node #0,2: 17:[8, 7, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [8, 7, 2] Generated Node #0,3: 17:[8, 7, 2] Operation: 56/28=2 Moving to Node #0,0 Current State: 17:[8, 28, 8], Operations: ['56/7=8'] Exploring Operation: 28-8=20, Resulting Numbers: [8, 20] Generated Node #0,0,0: 17:[8, 20] Operation: 28-8=20 Exploring Operation: 8+8=16, Resulting Numbers: [28, 16] Generated Node #0,0,1: 17:[28, 16] Operation: 8+8=16 Exploring Operation: 28-8=20, Resulting Numbers: [8, 20] Generated Node #0,0,2: 17:[8, 20] Operation: 28-8=20 Exploring Operation: 8/8=1, Resulting Numbers: [28, 1] Generated Node #0,0,3: 17:[28, 1] Operation: 8/8=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[8, 20], Operations: ['56/7=8', '28-8=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[28, 16], Operations: ['56/7=8', '8+8=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[8, 20], Operations: ['56/7=8', '28-8=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[28, 1], Operations: ['56/7=8', '8/8=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,17 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: 17:[8, 7, 28], Operations: ['56-28=28'] Exploring Operation: 28-7=21, Resulting Numbers: [8, 21] Generated Node #0,2,0: 17:[8, 21] Operation: 28-7=21 Exploring Operation: 8+7=15, Resulting Numbers: [28, 15] Generated Node #0,2,1: 17:[28, 15] Operation: 8+7=15 Exploring Operation: 28-8=20, Resulting Numbers: [7, 20] Generated Node #0,2,2: 17:[7, 20] Operation: 28-8=20 Exploring Operation: 28/7=4, Resulting Numbers: [8, 4] Generated Node #0,2,3: 17:[8, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[8, 21], Operations: ['56-28=28', '28-7=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,17 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[28, 15], Operations: ['56-28=28', '8+7=15'] Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,17 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[7, 20], Operations: ['56-28=28', '28-8=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,17 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[8, 4], Operations: ['56-28=28', '28/7=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 17:[7, 28, 7], Operations: ['56/8=7'] Exploring Operation: 28-7=21, Resulting Numbers: [7, 21] Generated Node #0,1,0: 17:[7, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 17:[7, 4] Operation: 28/7=4 Exploring Operation: 7+7=14, Resulting Numbers: [28, 14] Generated Node #0,1,2: 17:[28, 14] Operation: 7+7=14 Exploring Operation: 28-7=21, Resulting Numbers: [7, 21] Generated Node #0,1,3: 17:[7, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[7, 21], Operations: ['56/8=7', '28-7=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,17 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[28, 14], Operations: ['56/8=7', '7+7=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,17 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,17 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[7, 21], Operations: ['56/8=7', '28-7=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,17 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[7, 4], Operations: ['56/8=7', '28/7=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,17 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: 17:[8, 7, 2], Operations: ['56/28=2'] Exploring Operation: 8+7=15, Resulting Numbers: [2, 15] Generated Node #0,3,0: 17:[2, 15] Operation: 8+7=15 Exploring Operation: 8+2=10, Resulting Numbers: [7, 10] Generated Node #0,3,1: 17:[7, 10] Operation: 8+2=10 Exploring Operation: 8*2=16, Resulting Numbers: [7, 16] Generated Node #0,3,2: 17:[7, 16] Operation: 8*2=16 Exploring Operation: 7*2=14, Resulting Numbers: [8, 14] Generated Node #0,3,3: 17:[8, 14] Operation: 7*2=14 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[7, 16], Operations: ['56/28=2', '8*2=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[8, 14], Operations: ['56/28=2', '7*2=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[2, 15], Operations: ['56/28=2', '8+7=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[8, 7, 28, 56], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [8, 7, 2] Generated Node #0,3: 17:[8, 7, 2] Operation: 56/28=2 Moving to Node #0,3 Current State: 17:[8, 7, 2], Operations: ['56/28=2'] Exploring Operation: 8+7=15, Resulting Numbers: [2, 15] Generated Node #0,3,0: 17:[2, 15] Operation: 8+7=15 Moving to Node #0,3,0 Current State: 17:[2, 15], Operations: ['56/28=2', '8+7=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.936632
hs_4
sum_heuristic
[ 25, 65, 45, 80 ]
47
[ "65-25=40", "80/40=2", "45+2=47" ]
Current State: 47:[25, 65, 45, 80], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [45, 80, 40] Generated Node #2: [45, 80, 40] from Operation: 65-25=40 Current State: 47:[45, 80, 40], Operations: ['65-25=40'] Exploring Operation: 80/40=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 80/40=2 Current State: 47:[45, 2], Operations: ['65-25=40', '80/40=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 65, 45, 80], Operations: [] Exploring Operation: 80-25=55, Resulting Numbers: [65, 45, 55] Generated Node #0,0: 47:[65, 45, 55] Operation: 80-25=55 Moving to Node #0,0 Current State: 47:[65, 45, 55], Operations: ['80-25=55'] Exploring Operation: 65-45=20, Resulting Numbers: [55, 20] Generated Node #0,0,0: 47:[55, 20] Operation: 65-45=20 Moving to Node #0,0,0 Current State: 47:[55, 20], Operations: ['80-25=55', '65-45=20'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 46, 21, 89 ]
91
[ "46-4=42", "42/21=2", "89+2=91" ]
Current State: 91:[4, 46, 21, 89], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [21, 89, 42] Generated Node #2: [21, 89, 42] from Operation: 46-4=42 Current State: 91:[21, 89, 42], Operations: ['46-4=42'] Exploring Operation: 42/21=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 42/21=2 Current State: 91:[89, 2], Operations: ['46-4=42', '42/21=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 46, 21, 89], Operations: [] Exploring Operation: 46-21=25, Resulting Numbers: [4, 89, 25] Generated Node #0,0: 91:[4, 89, 25] Operation: 46-21=25 Exploring Operation: 46-4=42, Resulting Numbers: [21, 89, 42] Generated Node #0,1: 91:[21, 89, 42] Operation: 46-4=42 Exploring Operation: 46+21=67, Resulting Numbers: [4, 89, 67] Generated Node #0,2: 91:[4, 89, 67] Operation: 46+21=67 Moving to Node #0,0 Current State: 91:[4, 89, 25], Operations: ['46-21=25'] Exploring Operation: 25-4=21, Resulting Numbers: [89, 21] Generated Node #0,0,0: 91:[89, 21] Operation: 25-4=21 Exploring Operation: 4+89=93, Resulting Numbers: [25, 93] Generated Node #0,0,1: 91:[25, 93] Operation: 4+89=93 Exploring Operation: 4*25=100, Resulting Numbers: [89, 100] Generated Node #0,0,2: 91:[89, 100] Operation: 4*25=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[89, 21], Operations: ['46-21=25', '25-4=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,91 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[89, 100], Operations: ['46-21=25', '4*25=100'] Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,91 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[25, 93], Operations: ['46-21=25', '4+89=93'] Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 25*93=2325, Resulting Numbers: [2325] 2325,91 unequal: No Solution Exploring Operation: 25+93=118, Resulting Numbers: [118] 118,91 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: 91:[4, 89, 67], Operations: ['46+21=67'] Exploring Operation: 89-67=22, Resulting Numbers: [4, 22] Generated Node #0,2,0: 91:[4, 22] Operation: 89-67=22 Exploring Operation: 4+67=71, Resulting Numbers: [89, 71] Generated Node #0,2,1: 91:[89, 71] Operation: 4+67=71 Exploring Operation: 4+89=93, Resulting Numbers: [67, 93] Generated Node #0,2,2: 91:[67, 93] Operation: 4+89=93 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[4, 22], Operations: ['46+21=67', '89-67=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[89, 71], Operations: ['46+21=67', '4+67=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,91 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,91 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[67, 93], Operations: ['46+21=67', '4+89=93'] Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 67*93=6231, Resulting Numbers: [6231] 6231,91 unequal: No Solution Exploring Operation: 67+93=160, Resulting Numbers: [160] 160,91 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: 91:[21, 89, 42], Operations: ['46-4=42'] Exploring Operation: 42-21=21, Resulting Numbers: [89, 21] Generated Node #0,1,0: 91:[89, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 42/21=2 Exploring Operation: 21+42=63, Resulting Numbers: [89, 63] Generated Node #0,1,2: 91:[89, 63] Operation: 21+42=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['46-4=42', '42/21=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[4, 46, 21, 89], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [21, 89, 42] Generated Node #0,1: 91:[21, 89, 42] Operation: 46-4=42 Moving to Node #0,1 Current State: 91:[21, 89, 42], Operations: ['46-4=42'] Exploring Operation: 42/21=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 42/21=2 Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['46-4=42', '42/21=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 2, 92, 87, 84 ]
47
[ "84/2=42", "92-87=5", "42+5=47" ]
Current State: 47:[2, 92, 87, 84], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [92, 87, 42] Generated Node #2: [92, 87, 42] from Operation: 84/2=42 Current State: 47:[92, 87, 42], Operations: ['84/2=42'] Exploring Operation: 92-87=5, Resulting Numbers: [42, 5] Generated Node #3: [42, 5] from Operation: 92-87=5 Current State: 47:[42, 5], Operations: ['84/2=42', '92-87=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[2, 92, 87, 84], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [92, 87, 42] Generated Node #0,0: 47:[92, 87, 42] Operation: 84/2=42 Exploring Operation: 92/2=46, Resulting Numbers: [87, 84, 46] Generated Node #0,1: 47:[87, 84, 46] Operation: 92/2=46 Exploring Operation: 87-2=85, Resulting Numbers: [92, 84, 85] Generated Node #0,2: 47:[92, 84, 85] Operation: 87-2=85 Exploring Operation: 92-2=90, Resulting Numbers: [87, 84, 90] Generated Node #0,3: 47:[87, 84, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[87, 84, 46], Operations: ['92/2=46'] Exploring Operation: 87-84=3, Resulting Numbers: [46, 3] Generated Node #0,1,0: 47:[46, 3] Operation: 87-84=3 Exploring Operation: 84-46=38, Resulting Numbers: [87, 38] Generated Node #0,1,1: 47:[87, 38] Operation: 84-46=38 Exploring Operation: 87+46=133, Resulting Numbers: [84, 133] Generated Node #0,1,2: 47:[84, 133] Operation: 87+46=133 Exploring Operation: 87-46=41, Resulting Numbers: [84, 41] Generated Node #0,1,3: 47:[84, 41] Operation: 87-46=41 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[84, 41], Operations: ['92/2=46', '87-46=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[46, 3], Operations: ['92/2=46', '87-84=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[87, 38], Operations: ['92/2=46', '84-46=38'] Exploring Operation: 87*38=3306, Resulting Numbers: [3306] 3306,47 unequal: No Solution Exploring Operation: 87+38=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[84, 133], Operations: ['92/2=46', '87+46=133'] Exploring Operation: 84+133=217, Resulting Numbers: [217] 217,47 unequal: No Solution Exploring Operation: 133-84=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 84*133=11172, Resulting Numbers: [11172] 11172,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[92, 87, 42], Operations: ['84/2=42'] Exploring Operation: 92-87=5, Resulting Numbers: [42, 5] Generated Node #0,0,0: 47:[42, 5] Operation: 92-87=5 Exploring Operation: 92-42=50, Resulting Numbers: [87, 50] Generated Node #0,0,1: 47:[87, 50] Operation: 92-42=50 Exploring Operation: 87-42=45, Resulting Numbers: [92, 45] Generated Node #0,0,2: 47:[92, 45] Operation: 87-42=45 Exploring Operation: 92+42=134, Resulting Numbers: [87, 134] Generated Node #0,0,3: 47:[87, 134] Operation: 92+42=134 Moving to Node #0,0,1 Current State: 47:[87, 50], Operations: ['84/2=42', '92-42=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,47 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[92, 45], Operations: ['84/2=42', '87-42=45'] Exploring Operation: 92*45=4140, Resulting Numbers: [4140] 4140,47 unequal: No Solution Exploring Operation: 92+45=137, Resulting Numbers: [137] 137,47 unequal: No Solution Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[2, 92, 87, 84], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [92, 87, 42] Generated Node #0,0: 47:[92, 87, 42] Operation: 84/2=42 Moving to Node #0,0 Current State: 47:[92, 87, 42], Operations: ['84/2=42'] Exploring Operation: 87-42=45, Resulting Numbers: [92, 45] Generated Node #0,0,2: 47:[92, 45] Operation: 87-42=45 Moving to Node #0,0,2 Current State: 47:[92, 45], Operations: ['84/2=42', '87-42=45'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 3, 42, 9, 82 ]
77
[ "3+42=45", "45/9=5", "82-5=77" ]
Current State: 77:[3, 42, 9, 82], Operations: [] Exploring Operation: 3+42=45, Resulting Numbers: [9, 82, 45] Generated Node #2: [9, 82, 45] from Operation: 3+42=45 Current State: 77:[9, 82, 45], Operations: ['3+42=45'] Exploring Operation: 45/9=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 45/9=5 Current State: 77:[82, 5], Operations: ['3+42=45', '45/9=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[3, 42, 9, 82], Operations: [] Exploring Operation: 42-9=33, Resulting Numbers: [3, 82, 33] Generated Node #0,0: 77:[3, 82, 33] Operation: 42-9=33 Exploring Operation: 42-3=39, Resulting Numbers: [9, 82, 39] Generated Node #0,1: 77:[9, 82, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [9, 82, 14] Generated Node #0,2: 77:[9, 82, 14] Operation: 42/3=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[9, 82, 14], Operations: ['42/3=14'] Exploring Operation: 82-14=68, Resulting Numbers: [9, 68] Generated Node #0,2,0: 77:[9, 68] Operation: 82-14=68 Exploring Operation: 14-9=5, Resulting Numbers: [82, 5] Generated Node #0,2,1: 77:[82, 5] Operation: 14-9=5 Exploring Operation: 82-9=73, Resulting Numbers: [14, 73] Generated Node #0,2,2: 77:[14, 73] Operation: 82-9=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 77:[82, 5], Operations: ['42/3=14', '14-9=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,77 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[3, 42, 9, 82], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [9, 82, 14] Generated Node #0,2: 77:[9, 82, 14] Operation: 42/3=14 Moving to Node #0,2 Current State: 77:[9, 82, 14], Operations: ['42/3=14'] Exploring Operation: 14-9=5, Resulting Numbers: [82, 5] Generated Node #0,2,1: 77:[82, 5] Operation: 14-9=5 Moving to Node #0,2,1 Current State: 77:[82, 5], Operations: ['42/3=14', '14-9=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 62, 17, 44, 22 ]
21
[ "62-17=45", "44+22=66", "66-45=21" ]
Current State: 21:[62, 17, 44, 22], Operations: [] Exploring Operation: 62-17=45, Resulting Numbers: [44, 22, 45] Generated Node #2: [44, 22, 45] from Operation: 62-17=45 Current State: 21:[44, 22, 45], Operations: ['62-17=45'] Exploring Operation: 44+22=66, Resulting Numbers: [45, 66] Generated Node #3: [45, 66] from Operation: 44+22=66 Current State: 21:[45, 66], Operations: ['62-17=45', '44+22=66'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[62, 17, 44, 22], Operations: [] Exploring Operation: 62-22=40, Resulting Numbers: [17, 44, 40] Generated Node #0,0: 21:[17, 44, 40] Operation: 62-22=40 Exploring Operation: 62-44=18, Resulting Numbers: [17, 22, 18] Generated Node #0,1: 21:[17, 22, 18] Operation: 62-44=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[17, 22, 18], Operations: ['62-44=18'] Exploring Operation: 18-17=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 18-17=1 Exploring Operation: 22-17=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 21:[18, 5] Operation: 22-17=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['62-44=18', '18-17=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[62, 17, 44, 22], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [17, 22, 18] Generated Node #0,1: 21:[17, 22, 18] Operation: 62-44=18 Moving to Node #0,1 Current State: 21:[17, 22, 18], Operations: ['62-44=18'] Exploring Operation: 18-17=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 21:[22, 1] Operation: 18-17=1 Moving to Node #0,1,0 Current State: 21:[22, 1], Operations: ['62-44=18', '18-17=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 55, 50, 41, 10 ]
54
[ "55+50=105", "41+10=51", "105-51=54" ]
Current State: 54:[55, 50, 41, 10], Operations: [] Exploring Operation: 55+50=105, Resulting Numbers: [41, 10, 105] Generated Node #2: [41, 10, 105] from Operation: 55+50=105 Current State: 54:[41, 10, 105], Operations: ['55+50=105'] Exploring Operation: 41+10=51, Resulting Numbers: [105, 51] Generated Node #3: [105, 51] from Operation: 41+10=51 Current State: 54:[105, 51], Operations: ['55+50=105', '41+10=51'] Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[55, 50, 41, 10], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [50, 10, 14] Generated Node #0,0: 54:[50, 10, 14] Operation: 55-41=14 Exploring Operation: 41+10=51, Resulting Numbers: [55, 50, 51] Generated Node #0,1: 54:[55, 50, 51] Operation: 41+10=51 Exploring Operation: 50-41=9, Resulting Numbers: [55, 10, 9] Generated Node #0,2: 54:[55, 10, 9] Operation: 50-41=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[55, 10, 9], Operations: ['50-41=9'] Exploring Operation: 10+9=19, Resulting Numbers: [55, 19] Generated Node #0,2,0: 54:[55, 19] Operation: 10+9=19 Exploring Operation: 10-9=1, Resulting Numbers: [55, 1] Generated Node #0,2,1: 54:[55, 1] Operation: 10-9=1 Exploring Operation: 55-10=45, Resulting Numbers: [9, 45] Generated Node #0,2,2: 54:[9, 45] Operation: 55-10=45 Moving to Node #0,2,0 Current State: 54:[55, 19], Operations: ['50-41=9', '10+9=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,54 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[55, 1], Operations: ['50-41=9', '10-9=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[55, 50, 41, 10], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [55, 10, 9] Generated Node #0,2: 54:[55, 10, 9] Operation: 50-41=9 Moving to Node #0,2 Current State: 54:[55, 10, 9], Operations: ['50-41=9'] Exploring Operation: 10-9=1, Resulting Numbers: [55, 1] Generated Node #0,2,1: 54:[55, 1] Operation: 10-9=1 Moving to Node #0,2,1 Current State: 54:[55, 1], Operations: ['50-41=9', '10-9=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 7, 80, 88, 4 ]
74
[ "7*88=616", "616/4=154", "154-80=74" ]
Current State: 74:[7, 80, 88, 4], Operations: [] Exploring Operation: 7*88=616, Resulting Numbers: [80, 4, 616] Generated Node #2: [80, 4, 616] from Operation: 7*88=616 Current State: 74:[80, 4, 616], Operations: ['7*88=616'] Exploring Operation: 616/4=154, Resulting Numbers: [80, 154] Generated Node #3: [80, 154] from Operation: 616/4=154 Current State: 74:[80, 154], Operations: ['7*88=616', '616/4=154'] Exploring Operation: 154-80=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[7, 80, 88, 4], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [80, 4, 81] Generated Node #0,0: 74:[80, 4, 81] Operation: 88-7=81 Exploring Operation: 88-80=8, Resulting Numbers: [7, 4, 8] Generated Node #0,1: 74:[7, 4, 8] Operation: 88-80=8 Exploring Operation: 7-4=3, Resulting Numbers: [80, 88, 3] Generated Node #0,2: 74:[80, 88, 3] Operation: 7-4=3 Exploring Operation: 80-7=73, Resulting Numbers: [88, 4, 73] Generated Node #0,3: 74:[88, 4, 73] Operation: 80-7=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[7, 4, 8], Operations: ['88-80=8'] Exploring Operation: 7-4=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 74:[8, 3] Operation: 7-4=3 Exploring Operation: 8-7=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 74:[4, 1] Operation: 8-7=1 Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 74:[7, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [7, 2] Generated Node #0,1,3: 74:[7, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[4, 1], Operations: ['88-80=8', '8-7=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,74 unequal: No Solution No 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: 74:[7, 2], Operations: ['88-80=8', '8/4=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,74 unequal: No Solution No 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: 74:[8, 3], Operations: ['88-80=8', '7-4=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,74 unequal: No Solution No 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: 74:[7, 4], Operations: ['88-80=8', '8-4=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,74 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: 74:[80, 4, 81], Operations: ['88-7=81'] Exploring Operation: 81-80=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 74:[4, 1] Operation: 81-80=1 Exploring Operation: 80-4=76, Resulting Numbers: [81, 76] Generated Node #0,0,1: 74:[81, 76] Operation: 80-4=76 Exploring Operation: 80+4=84, Resulting Numbers: [81, 84] Generated Node #0,0,2: 74:[81, 84] Operation: 80+4=84 Exploring Operation: 81-4=77, Resulting Numbers: [80, 77] Generated Node #0,0,3: 74:[80, 77] Operation: 81-4=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[4, 1], Operations: ['88-7=81', '81-80=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,74 unequal: No Solution No 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: 74:[81, 76], Operations: ['88-7=81', '80-4=76'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,74 unequal: No Solution Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,74 unequal: No Solution No 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: 74:[80, 77], Operations: ['88-7=81', '81-4=77'] Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,74 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,74 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,74 unequal: No Solution No 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: 74:[81, 84], Operations: ['88-7=81', '80+4=84'] Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,74 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,74 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: 74:[88, 4, 73], Operations: ['80-7=73'] Exploring Operation: 88-73=15, Resulting Numbers: [4, 15] Generated Node #0,3,0: 74:[4, 15] Operation: 88-73=15 Exploring Operation: 4+73=77, Resulting Numbers: [88, 77] Generated Node #0,3,1: 74:[88, 77] Operation: 4+73=77 Exploring Operation: 88/4=22, Resulting Numbers: [73, 22] Generated Node #0,3,2: 74:[73, 22] Operation: 88/4=22 Exploring Operation: 88-4=84, Resulting Numbers: [73, 84] Generated Node #0,3,3: 74:[73, 84] Operation: 88-4=84 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 74:[73, 84], Operations: ['80-7=73', '88-4=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,74 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,74 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,74 unequal: No Solution No 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: 74:[4, 15], Operations: ['80-7=73', '88-73=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,74 unequal: No Solution No 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: 74:[73, 22], Operations: ['80-7=73', '88/4=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,74 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,74 unequal: No Solution No 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: 74:[88, 77], Operations: ['80-7=73', '4+73=77'] Exploring Operation: 88*77=6776, Resulting Numbers: [6776] 6776,74 unequal: No Solution Exploring Operation: 88+77=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,74 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: 74:[80, 88, 3], Operations: ['7-4=3'] Exploring Operation: 88-80=8, Resulting Numbers: [3, 8] Generated Node #0,2,0: 74:[3, 8] Operation: 88-80=8 Exploring Operation: 80+3=83, Resulting Numbers: [88, 83] Generated Node #0,2,1: 74:[88, 83] Operation: 80+3=83 Exploring Operation: 80-3=77, Resulting Numbers: [88, 77] Generated Node #0,2,2: 74:[88, 77] Operation: 80-3=77 Exploring Operation: 88-3=85, Resulting Numbers: [80, 85] Generated Node #0,2,3: 74:[80, 85] Operation: 88-3=85 Moving to Node #0,2,0 Current State: 74:[3, 8], Operations: ['7-4=3', '88-80=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[80, 85], Operations: ['7-4=3', '88-3=85'] Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[88, 77], Operations: ['7-4=3', '80-3=77'] Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 88*77=6776, Resulting Numbers: [6776] 6776,74 unequal: No Solution Exploring Operation: 88+77=165, Resulting Numbers: [165] 165,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[88, 83], Operations: ['7-4=3', '80+3=83'] Exploring Operation: 88*83=7304, Resulting Numbers: [7304] 7304,74 unequal: No Solution Exploring Operation: 88+83=171, Resulting Numbers: [171] 171,74 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 33, 96, 15, 93 ]
91
[ "33+15=48", "96/48=2", "93-2=91" ]
Current State: 91:[33, 96, 15, 93], Operations: [] Exploring Operation: 33+15=48, Resulting Numbers: [96, 93, 48] Generated Node #2: [96, 93, 48] from Operation: 33+15=48 Current State: 91:[96, 93, 48], Operations: ['33+15=48'] Exploring Operation: 96/48=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 96/48=2 Current State: 91:[93, 2], Operations: ['33+15=48', '96/48=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[33, 96, 15, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [33, 15, 3] Generated Node #0,0: 91:[33, 15, 3] Operation: 96-93=3 Exploring Operation: 96-15=81, Resulting Numbers: [33, 93, 81] Generated Node #0,1: 91:[33, 93, 81] Operation: 96-15=81 Exploring Operation: 33-15=18, Resulting Numbers: [96, 93, 18] Generated Node #0,2: 91:[96, 93, 18] Operation: 33-15=18 Exploring Operation: 96-33=63, Resulting Numbers: [15, 93, 63] Generated Node #0,3: 91:[15, 93, 63] Operation: 96-33=63 Exploring Operation: 93-33=60, Resulting Numbers: [96, 15, 60] Generated Node #0,4: 91:[96, 15, 60] Operation: 93-33=60 Moving to Node #0,2 Current State: 91:[96, 93, 18], Operations: ['33-15=18'] Exploring Operation: 96-93=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 91:[18, 3] Operation: 96-93=3 Exploring Operation: 93-18=75, Resulting Numbers: [96, 75] Generated Node #0,2,1: 91:[96, 75] Operation: 93-18=75 Exploring Operation: 96-18=78, Resulting Numbers: [93, 78] Generated Node #0,2,2: 91:[93, 78] Operation: 96-18=78 Exploring Operation: 93+18=111, Resulting Numbers: [96, 111] Generated Node #0,2,3: 91:[96, 111] Operation: 93+18=111 Exploring Operation: 96+18=114, Resulting Numbers: [93, 114] Generated Node #0,2,4: 91:[93, 114] Operation: 96+18=114 Moving to Node #0,0 Current State: 91:[33, 15, 3], Operations: ['96-93=3'] Exploring Operation: 33-15=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 91:[3, 18] Operation: 33-15=18 Exploring Operation: 33-3=30, Resulting Numbers: [15, 30] Generated Node #0,0,1: 91:[15, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [15, 11] Generated Node #0,0,2: 91:[15, 11] Operation: 33/3=11 Exploring Operation: 33*3=99, Resulting Numbers: [15, 99] Generated Node #0,0,3: 91:[15, 99] Operation: 33*3=99 Exploring Operation: 15-3=12, Resulting Numbers: [33, 12] Generated Node #0,0,4: 91:[33, 12] Operation: 15-3=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[15, 11], Operations: ['96-93=3', '33/3=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,91 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[3, 18], Operations: ['96-93=3', '33-15=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[15, 99], Operations: ['96-93=3', '33*3=99'] Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[15, 30], Operations: ['96-93=3', '33-3=30'] Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,91 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[33, 12], Operations: ['96-93=3', '15-3=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,91 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,91 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: 91:[33, 93, 81], Operations: ['96-15=81'] Exploring Operation: 33+93=126, Resulting Numbers: [81, 126] Generated Node #0,1,0: 91:[81, 126] Operation: 33+93=126 Exploring Operation: 93-81=12, Resulting Numbers: [33, 12] Generated Node #0,1,1: 91:[33, 12] Operation: 93-81=12 Exploring Operation: 93-33=60, Resulting Numbers: [81, 60] Generated Node #0,1,2: 91:[81, 60] Operation: 93-33=60 Exploring Operation: 81-33=48, Resulting Numbers: [93, 48] Generated Node #0,1,3: 91:[93, 48] Operation: 81-33=48 Exploring Operation: 33+81=114, Resulting Numbers: [93, 114] Generated Node #0,1,4: 91:[93, 114] Operation: 33+81=114 Moving to Node #0,3 Current State: 91:[15, 93, 63], Operations: ['96-33=63'] Exploring Operation: 93-63=30, Resulting Numbers: [15, 30] Generated Node #0,3,0: 91:[15, 30] Operation: 93-63=30 Exploring Operation: 15+63=78, Resulting Numbers: [93, 78] Generated Node #0,3,1: 91:[93, 78] Operation: 15+63=78 Exploring Operation: 63-15=48, Resulting Numbers: [93, 48] Generated Node #0,3,2: 91:[93, 48] Operation: 63-15=48 Exploring Operation: 93-15=78, Resulting Numbers: [63, 78] Generated Node #0,3,3: 91:[63, 78] Operation: 93-15=78 Exploring Operation: 15+93=108, Resulting Numbers: [63, 108] Generated Node #0,3,4: 91:[63, 108] Operation: 15+93=108 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[93, 78], Operations: ['96-33=63', '15+63=78'] Exploring Operation: 93+78=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 93*78=7254, Resulting Numbers: [7254] 7254,91 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[15, 30], Operations: ['96-33=63', '93-63=30'] Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,91 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[93, 48], Operations: ['96-33=63', '63-15=48'] Exploring Operation: 93*48=4464, Resulting Numbers: [4464] 4464,91 unequal: No Solution Exploring Operation: 93+48=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[63, 78], Operations: ['96-33=63', '93-15=78'] Exploring Operation: 63*78=4914, Resulting Numbers: [4914] 4914,91 unequal: No Solution Exploring Operation: 63+78=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 91:[63, 108], Operations: ['96-33=63', '15+93=108'] Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,91 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,91 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: 91:[96, 15, 60], Operations: ['93-33=60'] Exploring Operation: 15+60=75, Resulting Numbers: [96, 75] Generated Node #0,4,0: 91:[96, 75] Operation: 15+60=75 Exploring Operation: 60/15=4, Resulting Numbers: [96, 4] Generated Node #0,4,1: 91:[96, 4] Operation: 60/15=4 Exploring Operation: 60-15=45, Resulting Numbers: [96, 45] Generated Node #0,4,2: 91:[96, 45] Operation: 60-15=45 Exploring Operation: 96-15=81, Resulting Numbers: [60, 81] Generated Node #0,4,3: 91:[60, 81] Operation: 96-15=81 Exploring Operation: 96-60=36, Resulting Numbers: [15, 36] Generated Node #0,4,4: 91:[15, 36] Operation: 96-60=36 Moving to Node #0,4,1 Current State: 91:[96, 4], Operations: ['93-33=60', '60/15=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[18, 3], Operations: ['33-15=18', '96-93=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[93, 78], Operations: ['33-15=18', '96-18=78'] Exploring Operation: 93+78=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 93*78=7254, Resulting Numbers: [7254] 7254,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[96, 75], Operations: ['33-15=18', '93-18=75'] Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,91 unequal: No Solution Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[33, 12], Operations: ['96-15=81', '93-81=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,91 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[96, 75], Operations: ['93-33=60', '15+60=75'] Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[93, 114], Operations: ['96-15=81', '33+81=114'] Exploring Operation: 93+114=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 93*114=10602, Resulting Numbers: [10602] 10602,91 unequal: No Solution Exploring Operation: 114-93=21, Resulting Numbers: [21] 21,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[15, 36], Operations: ['93-33=60', '96-60=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,91 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,91 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[93, 114], Operations: ['33-15=18', '96+18=114'] Exploring Operation: 93*114=10602, Resulting Numbers: [10602] 10602,91 unequal: No Solution Exploring Operation: 114-93=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 93+114=207, Resulting Numbers: [207] 207,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[96, 111], Operations: ['33-15=18', '93+18=111'] Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[96, 45], Operations: ['93-33=60', '60-15=45'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,91 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,91 unequal: No Solution Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[93, 48], Operations: ['96-15=81', '81-33=48'] Exploring Operation: 93*48=4464, Resulting Numbers: [4464] 4464,91 unequal: No Solution Exploring Operation: 93+48=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[60, 81], Operations: ['93-33=60', '96-15=81'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[81, 60], Operations: ['96-15=81', '93-33=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[81, 126], Operations: ['96-15=81', '33+93=126'] Exploring Operation: 81*126=10206, Resulting Numbers: [10206] 10206,91 unequal: No Solution Exploring Operation: 81+126=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 126-81=45, Resulting Numbers: [45] 45,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 4, 99, 16 ]
82
[ "37-4=33", "99+16=115", "115-33=82" ]
Current State: 82:[37, 4, 99, 16], Operations: [] Exploring Operation: 37-4=33, Resulting Numbers: [99, 16, 33] Generated Node #2: [99, 16, 33] from Operation: 37-4=33 Current State: 82:[99, 16, 33], Operations: ['37-4=33'] Exploring Operation: 99+16=115, Resulting Numbers: [33, 115] Generated Node #3: [33, 115] from Operation: 99+16=115 Current State: 82:[33, 115], Operations: ['37-4=33', '99+16=115'] Exploring Operation: 115-33=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[37, 4, 99, 16], Operations: [] Exploring Operation: 37+4=41, Resulting Numbers: [99, 16, 41] Generated Node #0,0: 82:[99, 16, 41] Operation: 37+4=41 Exploring Operation: 16/4=4, Resulting Numbers: [37, 99, 4] Generated Node #0,1: 82:[37, 99, 4] Operation: 16/4=4 Exploring Operation: 99-16=83, Resulting Numbers: [37, 4, 83] Generated Node #0,2: 82:[37, 4, 83] Operation: 99-16=83 Exploring Operation: 37+16=53, Resulting Numbers: [4, 99, 53] Generated Node #0,3: 82:[4, 99, 53] Operation: 37+16=53 Exploring Operation: 99-4=95, Resulting Numbers: [37, 16, 95] Generated Node #0,4: 82:[37, 16, 95] Operation: 99-4=95 Moving to Node #0,2 Current State: 82:[37, 4, 83], Operations: ['99-16=83'] Exploring Operation: 83-37=46, Resulting Numbers: [4, 46] Generated Node #0,2,0: 82:[4, 46] Operation: 83-37=46 Exploring Operation: 4+83=87, Resulting Numbers: [37, 87] Generated Node #0,2,1: 82:[37, 87] Operation: 4+83=87 Exploring Operation: 83-4=79, Resulting Numbers: [37, 79] Generated Node #0,2,2: 82:[37, 79] Operation: 83-4=79 Exploring Operation: 37-4=33, Resulting Numbers: [83, 33] Generated Node #0,2,3: 82:[83, 33] Operation: 37-4=33 Exploring Operation: 37+4=41, Resulting Numbers: [83, 41] Generated Node #0,2,4: 82:[83, 41] Operation: 37+4=41 Moving to Node #0,1 Current State: 82:[37, 99, 4], Operations: ['16/4=4'] Exploring Operation: 99-4=95, Resulting Numbers: [37, 95] Generated Node #0,1,0: 82:[37, 95] Operation: 99-4=95 Exploring Operation: 99-37=62, Resulting Numbers: [4, 62] Generated Node #0,1,1: 82:[4, 62] Operation: 99-37=62 Exploring Operation: 37-4=33, Resulting Numbers: [99, 33] Generated Node #0,1,2: 82:[99, 33] Operation: 37-4=33 Exploring Operation: 99+4=103, Resulting Numbers: [37, 103] Generated Node #0,1,3: 82:[37, 103] Operation: 99+4=103 Exploring Operation: 37+4=41, Resulting Numbers: [99, 41] Generated Node #0,1,4: 82:[99, 41] Operation: 37+4=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[37, 95], Operations: ['16/4=4', '99-4=95'] Exploring Operation: 37+95=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 37*95=3515, Resulting Numbers: [3515] 3515,82 unequal: No Solution Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,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,4 Current State: 82:[99, 41], Operations: ['16/4=4', '37+4=41'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,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,1 Current State: 82:[4, 62], Operations: ['16/4=4', '99-37=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,82 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,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,2 Current State: 82:[99, 33], Operations: ['16/4=4', '37-4=33'] Exploring Operation: 99+33=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 99/33=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 99*33=3267, Resulting Numbers: [3267] 3267,82 unequal: No Solution Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,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,3 Current State: 82:[37, 103], Operations: ['16/4=4', '99+4=103'] Exploring Operation: 37*103=3811, Resulting Numbers: [3811] 3811,82 unequal: No Solution Exploring Operation: 37+103=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 82:[99, 16, 41], Operations: ['37+4=41'] Exploring Operation: 41-16=25, Resulting Numbers: [99, 25] Generated Node #0,0,0: 82:[99, 25] Operation: 41-16=25 Exploring Operation: 99-16=83, Resulting Numbers: [41, 83] Generated Node #0,0,1: 82:[41, 83] Operation: 99-16=83 Exploring Operation: 99+16=115, Resulting Numbers: [41, 115] Generated Node #0,0,2: 82:[41, 115] Operation: 99+16=115 Exploring Operation: 99-41=58, Resulting Numbers: [16, 58] Generated Node #0,0,3: 82:[16, 58] Operation: 99-41=58 Exploring Operation: 16+41=57, Resulting Numbers: [99, 57] Generated Node #0,0,4: 82:[99, 57] Operation: 16+41=57 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[41, 83], Operations: ['37+4=41', '99-16=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,82 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,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,3 Current State: 82:[16, 58], Operations: ['37+4=41', '99-41=58'] Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,82 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,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:[99, 25], Operations: ['37+4=41', '41-16=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,82 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,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,2 Current State: 82:[41, 115], Operations: ['37+4=41', '99+16=115'] Exploring Operation: 41*115=4715, Resulting Numbers: [4715] 4715,82 unequal: No Solution Exploring Operation: 115-41=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 41+115=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,4 Current State: 82:[99, 57], Operations: ['37+4=41', '16+41=57'] Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,82 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,82 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,82 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: 82:[4, 99, 53], Operations: ['37+16=53'] Exploring Operation: 4+53=57, Resulting Numbers: [99, 57] Generated Node #0,3,0: 82:[99, 57] Operation: 4+53=57 Exploring Operation: 53-4=49, Resulting Numbers: [99, 49] Generated Node #0,3,1: 82:[99, 49] Operation: 53-4=49 Exploring Operation: 99-53=46, Resulting Numbers: [4, 46] Generated Node #0,3,2: 82:[4, 46] Operation: 99-53=46 Exploring Operation: 4+99=103, Resulting Numbers: [53, 103] Generated Node #0,3,3: 82:[53, 103] Operation: 4+99=103 Exploring Operation: 99-4=95, Resulting Numbers: [53, 95] Generated Node #0,3,4: 82:[53, 95] Operation: 99-4=95 Moving to Node #0,4 Current State: 82:[37, 16, 95], Operations: ['99-4=95'] Exploring Operation: 37+16=53, Resulting Numbers: [95, 53] Generated Node #0,4,0: 82:[95, 53] Operation: 37+16=53 Exploring Operation: 16+95=111, Resulting Numbers: [37, 111] Generated Node #0,4,1: 82:[37, 111] Operation: 16+95=111 Exploring Operation: 95-37=58, Resulting Numbers: [16, 58] Generated Node #0,4,2: 82:[16, 58] Operation: 95-37=58 Exploring Operation: 37-16=21, Resulting Numbers: [95, 21] Generated Node #0,4,3: 82:[95, 21] Operation: 37-16=21 Exploring Operation: 95-16=79, Resulting Numbers: [37, 79] Generated Node #0,4,4: 82:[37, 79] Operation: 95-16=79 Moving to Node #0,2,4 Current State: 82:[83, 41], Operations: ['99-16=83', '37+4=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,82 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[37, 79], Operations: ['99-16=83', '83-4=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,82 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[4, 46], Operations: ['37+16=53', '99-53=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,82 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[4, 46], Operations: ['99-16=83', '83-37=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[37, 79], Operations: ['99-4=95', '95-16=79'] Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,82 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[83, 33], Operations: ['99-16=83', '37-4=33'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[37, 87], Operations: ['99-16=83', '4+83=87'] Exploring Operation: 37*87=3219, Resulting Numbers: [3219] 3219,82 unequal: No Solution Exploring Operation: 37+87=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[99, 49], Operations: ['37+16=53', '53-4=49'] Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 99*49=4851, Resulting Numbers: [4851] 4851,82 unequal: No Solution Exploring Operation: 99+49=148, Resulting Numbers: [148] 148,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[95, 53], Operations: ['99-4=95', '37+16=53'] Exploring Operation: 95*53=5035, Resulting Numbers: [5035] 5035,82 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 95+53=148, Resulting Numbers: [148] 148,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[53, 95], Operations: ['37+16=53', '99-4=95'] Exploring Operation: 53+95=148, Resulting Numbers: [148] 148,82 unequal: No Solution Exploring Operation: 53*95=5035, Resulting Numbers: [5035] 5035,82 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[16, 58], Operations: ['99-4=95', '95-37=58'] Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[95, 21], Operations: ['99-4=95', '37-16=21'] Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,82 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[53, 103], Operations: ['37+16=53', '4+99=103'] Exploring Operation: 53*103=5459, Resulting Numbers: [5459] 5459,82 unequal: No Solution Exploring Operation: 103-53=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 53+103=156, Resulting Numbers: [156] 156,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[37, 111], Operations: ['99-4=95', '16+95=111'] Exploring Operation: 111-37=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 37+111=148, Resulting Numbers: [148] 148,82 unequal: No Solution Exploring Operation: 111/37=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 37*111=4107, Resulting Numbers: [4107] 4107,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[99, 57], Operations: ['37+16=53', '4+53=57'] Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,82 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 7, 7, 73, 23 ]
50
[ "7-7=0", "73-23=50", "0+50=50" ]
Current State: 50:[7, 7, 73, 23], Operations: [] Exploring Operation: 7-7=0, Resulting Numbers: [73, 23, 0] Generated Node #2: [73, 23, 0] from Operation: 7-7=0 Current State: 50:[73, 23, 0], Operations: ['7-7=0'] Exploring Operation: 73-23=50, Resulting Numbers: [0, 50] Generated Node #3: [0, 50] from Operation: 73-23=50 Current State: 50:[0, 50], Operations: ['7-7=0', '73-23=50'] Exploring Operation: 0+50=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 7, 73, 23], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [7, 23, 66] Generated Node #0,0: 50:[7, 23, 66] Operation: 73-7=66 Exploring Operation: 73-23=50, Resulting Numbers: [7, 7, 50] Generated Node #0,1: 50:[7, 7, 50] Operation: 73-23=50 Exploring Operation: 73-7=66, Resulting Numbers: [7, 23, 66] Generated Node #0,2: 50:[7, 23, 66] Operation: 73-7=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[7, 7, 50], Operations: ['73-23=50'] Exploring Operation: 7-7=0, Resulting Numbers: [50, 0] Generated Node #0,1,0: 50:[50, 0] Operation: 7-7=0 Exploring Operation: 7*7=49, Resulting Numbers: [50, 49] Generated Node #0,1,1: 50:[50, 49] Operation: 7*7=49 Exploring Operation: 7/7=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 50:[50, 1] Operation: 7/7=1 Moving to Node #0,1,1 Current State: 50:[50, 49], Operations: ['73-23=50', '7*7=49'] Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[50, 1], Operations: ['73-23=50', '7/7=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[7, 7, 73, 23], Operations: [] Exploring Operation: 73-23=50, Resulting Numbers: [7, 7, 50] Generated Node #0,1: 50:[7, 7, 50] Operation: 73-23=50 Moving to Node #0,1 Current State: 50:[7, 7, 50], Operations: ['73-23=50'] Exploring Operation: 7/7=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 50:[50, 1] Operation: 7/7=1 Moving to Node #0,1,2 Current State: 50:[50, 1], Operations: ['73-23=50', '7/7=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 15, 69, 68, 88 ]
34
[ "69-15=54", "88-68=20", "54-20=34" ]
Current State: 34:[15, 69, 68, 88], Operations: [] Exploring Operation: 69-15=54, Resulting Numbers: [68, 88, 54] Generated Node #2: [68, 88, 54] from Operation: 69-15=54 Current State: 34:[68, 88, 54], Operations: ['69-15=54'] Exploring Operation: 88-68=20, Resulting Numbers: [54, 20] Generated Node #3: [54, 20] from Operation: 88-68=20 Current State: 34:[54, 20], Operations: ['69-15=54', '88-68=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 69, 68, 88], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [15, 68, 19] Generated Node #0,0: 34:[15, 68, 19] Operation: 88-69=19 Exploring Operation: 69-15=54, Resulting Numbers: [68, 88, 54] Generated Node #0,1: 34:[68, 88, 54] Operation: 69-15=54 Exploring Operation: 69-68=1, Resulting Numbers: [15, 88, 1] Generated Node #0,2: 34:[15, 88, 1] Operation: 69-68=1 Exploring Operation: 88-68=20, Resulting Numbers: [15, 69, 20] Generated Node #0,3: 34:[15, 69, 20] Operation: 88-68=20 Exploring Operation: 68-15=53, Resulting Numbers: [69, 88, 53] Generated Node #0,4: 34:[69, 88, 53] Operation: 68-15=53 Moving to Node #0,0 Current State: 34:[15, 68, 19], Operations: ['88-69=19'] Exploring Operation: 15+68=83, Resulting Numbers: [19, 83] Generated Node #0,0,0: 34:[19, 83] Operation: 15+68=83 Exploring Operation: 68-15=53, Resulting Numbers: [19, 53] Generated Node #0,0,1: 34:[19, 53] Operation: 68-15=53 Exploring Operation: 19-15=4, Resulting Numbers: [68, 4] Generated Node #0,0,2: 34:[68, 4] Operation: 19-15=4 Exploring Operation: 68-19=49, Resulting Numbers: [15, 49] Generated Node #0,0,3: 34:[15, 49] Operation: 68-19=49 Exploring Operation: 15+19=34, Resulting Numbers: [68, 34] Generated Node #0,0,4: 34:[68, 34] Operation: 15+19=34 Moving to Node #0,3 Current State: 34:[15, 69, 20], Operations: ['88-68=20'] Exploring Operation: 15+20=35, Resulting Numbers: [69, 35] Generated Node #0,3,0: 34:[69, 35] Operation: 15+20=35 Exploring Operation: 69-15=54, Resulting Numbers: [20, 54] Generated Node #0,3,1: 34:[20, 54] Operation: 69-15=54 Exploring Operation: 69-20=49, Resulting Numbers: [15, 49] Generated Node #0,3,2: 34:[15, 49] Operation: 69-20=49 Exploring Operation: 20-15=5, Resulting Numbers: [69, 5] Generated Node #0,3,3: 34:[69, 5] Operation: 20-15=5 Exploring Operation: 15+69=84, Resulting Numbers: [20, 84] Generated Node #0,3,4: 34:[20, 84] Operation: 15+69=84 Moving to Node #0,2 Current State: 34:[15, 88, 1], Operations: ['69-68=1'] Exploring Operation: 88-15=73, Resulting Numbers: [1, 73] Generated Node #0,2,0: 34:[1, 73] Operation: 88-15=73 Exploring Operation: 88-1=87, Resulting Numbers: [15, 87] Generated Node #0,2,1: 34:[15, 87] Operation: 88-1=87 Exploring Operation: 15+1=16, Resulting Numbers: [88, 16] Generated Node #0,2,2: 34:[88, 16] Operation: 15+1=16 Exploring Operation: 15*1=15, Resulting Numbers: [88, 15] Generated Node #0,2,3: 34:[88, 15] Operation: 15*1=15 Exploring Operation: 15/1=15, Resulting Numbers: [88, 15] Generated Node #0,2,4: 34:[88, 15] Operation: 15/1=15 Moving to Node #0,1 Current State: 34:[68, 88, 54], Operations: ['69-15=54'] Exploring Operation: 88-68=20, Resulting Numbers: [54, 20] Generated Node #0,1,0: 34:[54, 20] Operation: 88-68=20 Exploring Operation: 68+88=156, Resulting Numbers: [54, 156] Generated Node #0,1,1: 34:[54, 156] Operation: 68+88=156 Exploring Operation: 68-54=14, Resulting Numbers: [88, 14] Generated Node #0,1,2: 34:[88, 14] Operation: 68-54=14 Exploring Operation: 88-54=34, Resulting Numbers: [68, 34] Generated Node #0,1,3: 34:[68, 34] Operation: 88-54=34 Exploring Operation: 68+54=122, Resulting Numbers: [88, 122] Generated Node #0,1,4: 34:[88, 122] Operation: 68+54=122 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[54, 20], Operations: ['69-15=54', '88-68=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[15, 69, 68, 88], Operations: [] Exploring Operation: 69-15=54, Resulting Numbers: [68, 88, 54] Generated Node #0,1: 34:[68, 88, 54] Operation: 69-15=54 Moving to Node #0,1 Current State: 34:[68, 88, 54], Operations: ['69-15=54'] Exploring Operation: 88-68=20, Resulting Numbers: [54, 20] Generated Node #0,1,0: 34:[54, 20] Operation: 88-68=20 Moving to Node #0,1,0 Current State: 34:[54, 20], Operations: ['69-15=54', '88-68=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 20, 3, 73, 9 ]
40
[ "20+73=93", "93/3=31", "9+31=40" ]
Current State: 40:[20, 3, 73, 9], Operations: [] Exploring Operation: 20+73=93, Resulting Numbers: [3, 9, 93] Generated Node #2: [3, 9, 93] from Operation: 20+73=93 Current State: 40:[3, 9, 93], Operations: ['20+73=93'] Exploring Operation: 93/3=31, Resulting Numbers: [9, 31] Generated Node #3: [9, 31] from Operation: 93/3=31 Current State: 40:[9, 31], Operations: ['20+73=93', '93/3=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 3, 73, 9], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [20, 9, 70] Generated Node #0,0: 40:[20, 9, 70] Operation: 73-3=70 Exploring Operation: 9-3=6, Resulting Numbers: [20, 73, 6] Generated Node #0,1: 40:[20, 73, 6] Operation: 9-3=6 Exploring Operation: 73-9=64, Resulting Numbers: [20, 3, 64] Generated Node #0,2: 40:[20, 3, 64] Operation: 73-9=64 Exploring Operation: 9/3=3, Resulting Numbers: [20, 73, 3] Generated Node #0,3: 40:[20, 73, 3] Operation: 9/3=3 Exploring Operation: 73-20=53, Resulting Numbers: [3, 9, 53] Generated Node #0,4: 40:[3, 9, 53] Operation: 73-20=53 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[3, 9, 53], Operations: ['73-20=53'] Exploring Operation: 3+9=12, Resulting Numbers: [53, 12] Generated Node #0,4,0: 40:[53, 12] Operation: 3+9=12 Exploring Operation: 9/3=3, Resulting Numbers: [53, 3] Generated Node #0,4,1: 40:[53, 3] Operation: 9/3=3 Exploring Operation: 53-3=50, Resulting Numbers: [9, 50] Generated Node #0,4,2: 40:[9, 50] Operation: 53-3=50 Exploring Operation: 9-3=6, Resulting Numbers: [53, 6] Generated Node #0,4,3: 40:[53, 6] Operation: 9-3=6 Exploring Operation: 53-9=44, Resulting Numbers: [3, 44] Generated Node #0,4,4: 40:[3, 44] Operation: 53-9=44 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[3, 44], Operations: ['73-20=53', '53-9=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[9, 50], Operations: ['73-20=53', '53-3=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,40 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[53, 3], Operations: ['73-20=53', '9/3=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,40 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 40:[53, 6], Operations: ['73-20=53', '9-3=6'] Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,40 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 40:[53, 12], Operations: ['73-20=53', '3+9=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,40 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[20, 3, 64], Operations: ['73-9=64'] Exploring Operation: 20+3=23, Resulting Numbers: [64, 23] Generated Node #0,2,0: 40:[64, 23] Operation: 20+3=23 Exploring Operation: 3+64=67, Resulting Numbers: [20, 67] Generated Node #0,2,1: 40:[20, 67] Operation: 3+64=67 Exploring Operation: 64-3=61, Resulting Numbers: [20, 61] Generated Node #0,2,2: 40:[20, 61] Operation: 64-3=61 Exploring Operation: 20-3=17, Resulting Numbers: [64, 17] Generated Node #0,2,3: 40:[64, 17] Operation: 20-3=17 Exploring Operation: 64-20=44, Resulting Numbers: [3, 44] Generated Node #0,2,4: 40:[3, 44] Operation: 64-20=44 Moving to Node #0,2,4 Current State: 40:[3, 44], Operations: ['73-9=64', '64-20=44'] Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[20, 61], Operations: ['73-9=64', '64-3=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,40 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[64, 23], Operations: ['73-9=64', '20+3=23'] Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,40 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[20, 67], Operations: ['73-9=64', '3+64=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,40 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[64, 17], Operations: ['73-9=64', '20-3=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,40 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[20, 9, 70], Operations: ['73-3=70'] Exploring Operation: 70-9=61, Resulting Numbers: [20, 61] Generated Node #0,0,0: 40:[20, 61] Operation: 70-9=61 Exploring Operation: 20+9=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 40:[70, 29] Operation: 20+9=29 Exploring Operation: 20-9=11, Resulting Numbers: [70, 11] Generated Node #0,0,2: 40:[70, 11] Operation: 20-9=11 Exploring Operation: 70-20=50, Resulting Numbers: [9, 50] Generated Node #0,0,3: 40:[9, 50] Operation: 70-20=50 Exploring Operation: 9+70=79, Resulting Numbers: [20, 79] Generated Node #0,0,4: 40:[20, 79] Operation: 9+70=79 Moving to Node #0,0,3 Current State: 40:[9, 50], Operations: ['73-3=70', '70-20=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,40 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[20, 61], Operations: ['73-3=70', '70-9=61'] Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,40 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[70, 11], Operations: ['73-3=70', '20-9=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[70, 29], Operations: ['73-3=70', '20+9=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,40 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[20, 79], Operations: ['73-3=70', '9+70=79'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,40 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[20, 73, 6], Operations: ['9-3=6'] Exploring Operation: 73-6=67, Resulting Numbers: [20, 67] Generated Node #0,1,0: 40:[20, 67] Operation: 73-6=67 Exploring Operation: 20+6=26, Resulting Numbers: [73, 26] Generated Node #0,1,1: 40:[73, 26] Operation: 20+6=26 Exploring Operation: 20-6=14, Resulting Numbers: [73, 14] Generated Node #0,1,2: 40:[73, 14] Operation: 20-6=14 Exploring Operation: 73-20=53, Resulting Numbers: [6, 53] Generated Node #0,1,3: 40:[6, 53] Operation: 73-20=53 Exploring Operation: 73+6=79, Resulting Numbers: [20, 79] Generated Node #0,1,4: 40:[20, 79] Operation: 73+6=79 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 40:[6, 53], Operations: ['9-3=6', '73-20=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[20, 67], Operations: ['9-3=6', '73-6=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,40 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[73, 14], Operations: ['9-3=6', '20-6=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[73, 26], Operations: ['9-3=6', '20+6=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,40 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 40:[20, 79], Operations: ['9-3=6', '73+6=79'] Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,40 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,40 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[20, 73, 3], Operations: ['9/3=3'] Exploring Operation: 73+3=76, Resulting Numbers: [20, 76] Generated Node #0,3,0: 40:[20, 76] Operation: 73+3=76 Exploring Operation: 73-3=70, Resulting Numbers: [20, 70] Generated Node #0,3,1: 40:[20, 70] Operation: 73-3=70 Exploring Operation: 73-20=53, Resulting Numbers: [3, 53] Generated Node #0,3,2: 40:[3, 53] Operation: 73-20=53 Exploring Operation: 20+3=23, Resulting Numbers: [73, 23] Generated Node #0,3,3: 40:[73, 23] Operation: 20+3=23 Exploring Operation: 20-3=17, Resulting Numbers: [73, 17] Generated Node #0,3,4: 40:[73, 17] Operation: 20-3=17 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[3, 53], Operations: ['9/3=3', '73-20=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[20, 70], Operations: ['9/3=3', '73-3=70'] Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,40 unequal: No Solution Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[20, 76], Operations: ['9/3=3', '73+3=76'] Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,40 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[73, 23], Operations: ['9/3=3', '20+3=23'] Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,40 unequal: No Solution Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[73, 17], Operations: ['9/3=3', '20-3=17'] Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,40 unequal: No Solution Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 29, 78, 43, 26 ]
38
[ "29+78=107", "43+26=69", "107-69=38" ]
Current State: 38:[29, 78, 43, 26], Operations: [] Exploring Operation: 29+78=107, Resulting Numbers: [43, 26, 107] Generated Node #2: [43, 26, 107] from Operation: 29+78=107 Current State: 38:[43, 26, 107], Operations: ['29+78=107'] Exploring Operation: 43+26=69, Resulting Numbers: [107, 69] Generated Node #3: [107, 69] from Operation: 43+26=69 Current State: 38:[107, 69], Operations: ['29+78=107', '43+26=69'] Exploring Operation: 107-69=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[29, 78, 43, 26], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [29, 26, 35] Generated Node #0,0: 38:[29, 26, 35] Operation: 78-43=35 Exploring Operation: 78/26=3, Resulting Numbers: [29, 43, 3] Generated Node #0,1: 38:[29, 43, 3] Operation: 78/26=3 Exploring Operation: 78-29=49, Resulting Numbers: [43, 26, 49] Generated Node #0,2: 38:[43, 26, 49] Operation: 78-29=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[29, 43, 3], Operations: ['78/26=3'] Exploring Operation: 43-29=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 38:[3, 14] Operation: 43-29=14 Exploring Operation: 29+3=32, Resulting Numbers: [43, 32] Generated Node #0,1,1: 38:[43, 32] Operation: 29+3=32 Exploring Operation: 43-3=40, Resulting Numbers: [29, 40] Generated Node #0,1,2: 38:[29, 40] Operation: 43-3=40 Moving to Node #0,1,0 Current State: 38:[3, 14], Operations: ['78/26=3', '43-29=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[43, 32], Operations: ['78/26=3', '29+3=32'] Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[29, 40], Operations: ['78/26=3', '43-3=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,38 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,38 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[29, 26, 35], Operations: ['78-43=35'] Exploring Operation: 29-26=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 38:[35, 3] Operation: 29-26=3 Exploring Operation: 35-29=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 38:[26, 6] Operation: 35-29=6 Exploring Operation: 35-26=9, Resulting Numbers: [29, 9] Generated Node #0,0,2: 38:[29, 9] Operation: 35-26=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[35, 3], Operations: ['78-43=35', '29-26=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,38 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[29, 78, 43, 26], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [29, 26, 35] Generated Node #0,0: 38:[29, 26, 35] Operation: 78-43=35 Moving to Node #0,0 Current State: 38:[29, 26, 35], Operations: ['78-43=35'] Exploring Operation: 29-26=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 38:[35, 3] Operation: 29-26=3 Moving to Node #0,0,0 Current State: 38:[35, 3], Operations: ['78-43=35', '29-26=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 28, 5, 14, 43 ]
62
[ "28+5=33", "43-14=29", "33+29=62" ]
Current State: 62:[28, 5, 14, 43], Operations: [] Exploring Operation: 28+5=33, Resulting Numbers: [14, 43, 33] Generated Node #2: [14, 43, 33] from Operation: 28+5=33 Current State: 62:[14, 43, 33], Operations: ['28+5=33'] Exploring Operation: 43-14=29, Resulting Numbers: [33, 29] Generated Node #3: [33, 29] from Operation: 43-14=29 Current State: 62:[33, 29], Operations: ['28+5=33', '43-14=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[28, 5, 14, 43], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [28, 5, 29] Generated Node #0,0: 62:[28, 5, 29] Operation: 43-14=29 Moving to Node #0,0 Current State: 62:[28, 5, 29], Operations: ['43-14=29'] Exploring Operation: 28+5=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 62:[29, 33] Operation: 28+5=33 Moving to Node #0,0,0 Current State: 62:[29, 33], Operations: ['43-14=29', '28+5=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[28, 5, 14, 43], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [28, 5, 29] Generated Node #0,0: 62:[28, 5, 29] Operation: 43-14=29 Moving to Node #0,0 Current State: 62:[28, 5, 29], Operations: ['43-14=29'] Exploring Operation: 28+5=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 62:[29, 33] Operation: 28+5=33 Moving to Node #0,0,0 Current State: 62:[29, 33], Operations: ['43-14=29', '28+5=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 59, 42, 58, 29 ]
80
[ "42*29=1218", "1218/58=21", "59+21=80" ]
Current State: 80:[59, 42, 58, 29], Operations: [] Exploring Operation: 42*29=1218, Resulting Numbers: [59, 58, 1218] Generated Node #2: [59, 58, 1218] from Operation: 42*29=1218 Current State: 80:[59, 58, 1218], Operations: ['42*29=1218'] Exploring Operation: 1218/58=21, Resulting Numbers: [59, 21] Generated Node #3: [59, 21] from Operation: 1218/58=21 Current State: 80:[59, 21], Operations: ['42*29=1218', '1218/58=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[59, 42, 58, 29], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [42, 29, 1] Generated Node #0,0: 80:[42, 29, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 80:[42, 29, 1], Operations: ['59-58=1'] Exploring Operation: 42-29=13, Resulting Numbers: [1, 13] Generated Node #0,0,0: 80:[1, 13] Operation: 42-29=13 Moving to Node #0,0,0 Current State: 80:[1, 13], Operations: ['59-58=1', '42-29=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 77, 85, 16, 20 ]
18
[ "85-77=8", "16/8=2", "20-2=18" ]
Current State: 18:[77, 85, 16, 20], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [16, 20, 8] Generated Node #2: [16, 20, 8] from Operation: 85-77=8 Current State: 18:[16, 20, 8], Operations: ['85-77=8'] Exploring Operation: 16/8=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 16/8=2 Current State: 18:[20, 2], Operations: ['85-77=8', '16/8=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[77, 85, 16, 20], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [16, 20, 8] Generated Node #0,0: 18:[16, 20, 8] Operation: 85-77=8 Exploring Operation: 77-20=57, Resulting Numbers: [85, 16, 57] Generated Node #0,1: 18:[85, 16, 57] Operation: 77-20=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[16, 20, 8], Operations: ['85-77=8'] Exploring Operation: 20-16=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 18:[8, 4] Operation: 20-16=4 Exploring Operation: 16/8=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 18:[20, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[8, 4], Operations: ['85-77=8', '20-16=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[20, 2], Operations: ['85-77=8', '16/8=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[77, 85, 16, 20], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [16, 20, 8] Generated Node #0,0: 18:[16, 20, 8] Operation: 85-77=8 Moving to Node #0,0 Current State: 18:[16, 20, 8], Operations: ['85-77=8'] Exploring Operation: 16/8=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 18:[20, 2] Operation: 16/8=2 Moving to Node #0,0,1 Current State: 18:[20, 2], Operations: ['85-77=8', '16/8=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic