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
[ 24, 84, 12, 28 ]
84
[ "24*84=2016", "2016/28=72", "12+72=84" ]
Current State: 84:[24, 84, 12, 28], Operations: [] Exploring Operation: 24*84=2016, Resulting Numbers: [12, 28, 2016] Generated Node #2: [12, 28, 2016] from Operation: 24*84=2016 Current State: 84:[12, 28, 2016], Operations: ['24*84=2016'] Exploring Operation: 2016/28=72, Resulting Numbers: [12, 72] Generated Node #3: [12, 72] from Operation: 2016/28=72 Current State: 84:[12, 72], Operations: ['24*84=2016', '2016/28=72'] Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 84, 12, 28], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [84, 28, 2] Generated Node #0,0: 84:[84, 28, 2] Operation: 24/12=2 Exploring Operation: 84/12=7, Resulting Numbers: [24, 28, 7] Generated Node #0,1: 84:[24, 28, 7] Operation: 84/12=7 Exploring Operation: 24-12=12, Resulting Numbers: [84, 28, 12] Generated Node #0,2: 84:[84, 28, 12] Operation: 24-12=12 Exploring Operation: 28-24=4, Resulting Numbers: [84, 12, 4] Generated Node #0,3: 84:[84, 12, 4] Operation: 28-24=4 Exploring Operation: 84/28=3, Resulting Numbers: [24, 12, 3] Generated Node #0,4: 84:[24, 12, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[84, 28, 2], Operations: ['24/12=2'] Exploring Operation: 84/28=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 84:[2, 3] Operation: 84/28=3 Exploring Operation: 84-2=82, Resulting Numbers: [28, 82] Generated Node #0,0,1: 84:[28, 82] Operation: 84-2=82 Exploring Operation: 84+2=86, Resulting Numbers: [28, 86] Generated Node #0,0,2: 84:[28, 86] Operation: 84+2=86 Exploring Operation: 28/2=14, Resulting Numbers: [84, 14] Generated Node #0,0,3: 84:[84, 14] Operation: 28/2=14 Exploring Operation: 84/2=42, Resulting Numbers: [28, 42] Generated Node #0,0,4: 84:[28, 42] Operation: 84/2=42 Moving to Node #0,0,0 Current State: 84:[2, 3], Operations: ['24/12=2', '84/28=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,0,4 Current State: 84:[28, 42], Operations: ['24/12=2', '84/2=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,84 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[84, 14], Operations: ['24/12=2', '28/2=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,84 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[28, 82], Operations: ['24/12=2', '84-2=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,84 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[28, 86], Operations: ['24/12=2', '84+2=86'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 28+86=114, Resulting Numbers: [114] 114,84 unequal: No Solution Exploring Operation: 28*86=2408, Resulting Numbers: [2408] 2408,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 Current State: 84:[84, 28, 12], Operations: ['24-12=12'] Exploring Operation: 84/12=7, Resulting Numbers: [28, 7] Generated Node #0,2,0: 84:[28, 7] Operation: 84/12=7 Exploring Operation: 84+12=96, Resulting Numbers: [28, 96] Generated Node #0,2,1: 84:[28, 96] Operation: 84+12=96 Exploring Operation: 28+12=40, Resulting Numbers: [84, 40] Generated Node #0,2,2: 84:[84, 40] Operation: 28+12=40 Exploring Operation: 28-12=16, Resulting Numbers: [84, 16] Generated Node #0,2,3: 84:[84, 16] Operation: 28-12=16 Exploring Operation: 84/28=3, Resulting Numbers: [12, 3] Generated Node #0,2,4: 84:[12, 3] Operation: 84/28=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[28, 7], Operations: ['24-12=12', '84/12=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,84 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[12, 3], Operations: ['24-12=12', '84/28=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[84, 40], Operations: ['24-12=12', '28+12=40'] Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,84 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[84, 16], Operations: ['24-12=12', '28-12=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,84 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,84 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[28, 96], Operations: ['24-12=12', '84+12=96'] Exploring Operation: 28+96=124, Resulting Numbers: [124] 124,84 unequal: No Solution Exploring Operation: 28*96=2688, Resulting Numbers: [2688] 2688,84 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[84, 12, 4], Operations: ['28-24=4'] Exploring Operation: 84/12=7, Resulting Numbers: [4, 7] Generated Node #0,3,0: 84:[4, 7] Operation: 84/12=7 Exploring Operation: 12-4=8, Resulting Numbers: [84, 8] Generated Node #0,3,1: 84:[84, 8] Operation: 12-4=8 Exploring Operation: 84/4=21, Resulting Numbers: [12, 21] Generated Node #0,3,2: 84:[12, 21] Operation: 84/4=21 Exploring Operation: 12/4=3, Resulting Numbers: [84, 3] Generated Node #0,3,3: 84:[84, 3] Operation: 12/4=3 Exploring Operation: 12+4=16, Resulting Numbers: [84, 16] Generated Node #0,3,4: 84:[84, 16] Operation: 12+4=16 Moving to Node #0,3,0 Current State: 84:[4, 7], Operations: ['28-24=4', '84/12=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[84, 3], Operations: ['28-24=4', '12/4=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,84 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[12, 21], Operations: ['28-24=4', '84/4=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[84, 8], Operations: ['28-24=4', '12-4=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,84 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[84, 16], Operations: ['28-24=4', '12+4=16'] Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,84 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,84 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[24, 28, 7], Operations: ['84/12=7'] Exploring Operation: 28-7=21, Resulting Numbers: [24, 21] Generated Node #0,1,0: 84:[24, 21] Operation: 28-7=21 Exploring Operation: 24+7=31, Resulting Numbers: [28, 31] Generated Node #0,1,1: 84:[28, 31] Operation: 24+7=31 Exploring Operation: 28-24=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 84:[7, 4] Operation: 28-24=4 Exploring Operation: 24-7=17, Resulting Numbers: [28, 17] Generated Node #0,1,3: 84:[28, 17] Operation: 24-7=17 Exploring Operation: 28/7=4, Resulting Numbers: [24, 4] Generated Node #0,1,4: 84:[24, 4] Operation: 28/7=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[7, 4], Operations: ['84/12=7', '28-24=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[24, 21], Operations: ['84/12=7', '28-7=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[28, 31], Operations: ['84/12=7', '24+7=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 84:[28, 17], Operations: ['84/12=7', '24-7=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 84:[24, 4], Operations: ['84/12=7', '28/7=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[24, 12, 3], Operations: ['84/28=3'] Exploring Operation: 24-3=21, Resulting Numbers: [12, 21] Generated Node #0,4,0: 84:[12, 21] Operation: 24-3=21 Exploring Operation: 24+3=27, Resulting Numbers: [12, 27] Generated Node #0,4,1: 84:[12, 27] Operation: 24+3=27 Exploring Operation: 24/3=8, Resulting Numbers: [12, 8] Generated Node #0,4,2: 84:[12, 8] Operation: 24/3=8 Exploring Operation: 24-12=12, Resulting Numbers: [3, 12] Generated Node #0,4,3: 84:[3, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [3, 2] Generated Node #0,4,4: 84:[3, 2] Operation: 24/12=2 Moving to Node #0,4,0 Current State: 84:[12, 21], Operations: ['84/28=3', '24-3=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,84 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[3, 2], Operations: ['84/28=3', '24/12=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[3, 12], Operations: ['84/28=3', '24-12=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[12, 27], Operations: ['84/28=3', '24+3=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,84 unequal: No Solution Moving to Node #0,4,2 Current State: 84:[12, 8], Operations: ['84/28=3', '24/3=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 38, 4, 7, 15 ]
40
[ "15-7=8", "8/4=2", "38+2=40" ]
Current State: 40:[38, 4, 7, 15], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [38, 4, 8] Generated Node #2: [38, 4, 8] from Operation: 15-7=8 Current State: 40:[38, 4, 8], Operations: ['15-7=8'] Exploring Operation: 8/4=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 8/4=2 Current State: 40:[38, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[38, 4, 7, 15], Operations: [] Exploring Operation: 38-15=23, Resulting Numbers: [4, 7, 23] Generated Node #0,0: 40:[4, 7, 23] Operation: 38-15=23 Exploring Operation: 15-4=11, Resulting Numbers: [38, 7, 11] Generated Node #0,1: 40:[38, 7, 11] Operation: 15-4=11 Exploring Operation: 7+15=22, Resulting Numbers: [38, 4, 22] Generated Node #0,2: 40:[38, 4, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [38, 4, 8] Generated Node #0,3: 40:[38, 4, 8] Operation: 15-7=8 Exploring Operation: 4+15=19, Resulting Numbers: [38, 7, 19] Generated Node #0,4: 40:[38, 7, 19] Operation: 4+15=19 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[38, 4, 8], Operations: ['15-7=8'] Exploring Operation: 38+4=42, Resulting Numbers: [8, 42] Generated Node #0,3,0: 40:[8, 42] Operation: 38+4=42 Exploring Operation: 8-4=4, Resulting Numbers: [38, 4] Generated Node #0,3,1: 40:[38, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 40:[38, 2] Operation: 8/4=2 Exploring Operation: 4+8=12, Resulting Numbers: [38, 12] Generated Node #0,3,3: 40:[38, 12] Operation: 4+8=12 Exploring Operation: 38-4=34, Resulting Numbers: [8, 34] Generated Node #0,3,4: 40:[8, 34] Operation: 38-4=34 Moving to Node #0,3,0 Current State: 40:[8, 42], Operations: ['15-7=8', '38+4=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,40 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[38, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[38, 4, 7, 15], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [38, 4, 8] Generated Node #0,3: 40:[38, 4, 8] Operation: 15-7=8 Moving to Node #0,3 Current State: 40:[38, 4, 8], Operations: ['15-7=8'] Exploring Operation: 8/4=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 40:[38, 2] Operation: 8/4=2 Moving to Node #0,3,2 Current State: 40:[38, 2], Operations: ['15-7=8', '8/4=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 30, 92, 66, 60 ]
59
[ "30*66=1980", "1980/60=33", "92-33=59" ]
Current State: 59:[30, 92, 66, 60], Operations: [] Exploring Operation: 30*66=1980, Resulting Numbers: [92, 60, 1980] Generated Node #2: [92, 60, 1980] from Operation: 30*66=1980 Current State: 59:[92, 60, 1980], Operations: ['30*66=1980'] Exploring Operation: 1980/60=33, Resulting Numbers: [92, 33] Generated Node #3: [92, 33] from Operation: 1980/60=33 Current State: 59:[92, 33], Operations: ['30*66=1980', '1980/60=33'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[30, 92, 66, 60], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [66, 60, 62] Generated Node #0,0: 59:[66, 60, 62] Operation: 92-30=62 Exploring Operation: 92-66=26, Resulting Numbers: [30, 60, 26] Generated Node #0,1: 59:[30, 60, 26] Operation: 92-66=26 Exploring Operation: 66-30=36, Resulting Numbers: [92, 60, 36] Generated Node #0,2: 59:[92, 60, 36] Operation: 66-30=36 Exploring Operation: 92-60=32, Resulting Numbers: [30, 66, 32] Generated Node #0,3: 59:[30, 66, 32] Operation: 92-60=32 Moving to Node #0,0 Current State: 59:[66, 60, 62], Operations: ['92-30=62'] Exploring Operation: 66-62=4, Resulting Numbers: [60, 4] Generated Node #0,0,0: 59:[60, 4] Operation: 66-62=4 Exploring Operation: 66-60=6, Resulting Numbers: [62, 6] Generated Node #0,0,1: 59:[62, 6] Operation: 66-60=6 Exploring Operation: 62-60=2, Resulting Numbers: [66, 2] Generated Node #0,0,2: 59:[66, 2] Operation: 62-60=2 Exploring Operation: 66+60=126, Resulting Numbers: [62, 126] Generated Node #0,0,3: 59:[62, 126] Operation: 66+60=126 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[60, 4], Operations: ['92-30=62', '66-62=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,59 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[62, 6], Operations: ['92-30=62', '66-60=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,59 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[66, 2], Operations: ['92-30=62', '62-60=2'] Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[62, 126], Operations: ['92-30=62', '66+60=126'] Exploring Operation: 126-62=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 62*126=7812, Resulting Numbers: [7812] 7812,59 unequal: No Solution Exploring Operation: 62+126=188, Resulting Numbers: [188] 188,59 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: 59:[92, 60, 36], Operations: ['66-30=36'] Exploring Operation: 60-36=24, Resulting Numbers: [92, 24] Generated Node #0,2,0: 59:[92, 24] Operation: 60-36=24 Exploring Operation: 92+36=128, Resulting Numbers: [60, 128] Generated Node #0,2,1: 59:[60, 128] Operation: 92+36=128 Exploring Operation: 92-36=56, Resulting Numbers: [60, 56] Generated Node #0,2,2: 59:[60, 56] Operation: 92-36=56 Exploring Operation: 92-60=32, Resulting Numbers: [36, 32] Generated Node #0,2,3: 59:[36, 32] Operation: 92-60=32 Moving to Node #0,3 Current State: 59:[30, 66, 32], Operations: ['92-60=32'] Exploring Operation: 30+32=62, Resulting Numbers: [66, 62] Generated Node #0,3,0: 59:[66, 62] Operation: 30+32=62 Exploring Operation: 30+66=96, Resulting Numbers: [32, 96] Generated Node #0,3,1: 59:[32, 96] Operation: 30+66=96 Exploring Operation: 66-30=36, Resulting Numbers: [32, 36] Generated Node #0,3,2: 59:[32, 36] Operation: 66-30=36 Exploring Operation: 66-32=34, Resulting Numbers: [30, 34] Generated Node #0,3,3: 59:[30, 34] Operation: 66-32=34 Moving to Node #0,1 Current State: 59:[30, 60, 26], Operations: ['92-66=26'] Exploring Operation: 30+26=56, Resulting Numbers: [60, 56] Generated Node #0,1,0: 59:[60, 56] Operation: 30+26=56 Exploring Operation: 30-26=4, Resulting Numbers: [60, 4] Generated Node #0,1,1: 59:[60, 4] Operation: 30-26=4 Exploring Operation: 60+26=86, Resulting Numbers: [30, 86] Generated Node #0,1,2: 59:[30, 86] Operation: 60+26=86 Exploring Operation: 60-26=34, Resulting Numbers: [30, 34] Generated Node #0,1,3: 59:[30, 34] Operation: 60-26=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[60, 56], Operations: ['92-66=26', '30+26=56'] Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[30, 34], Operations: ['92-66=26', '60-26=34'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[60, 4], Operations: ['92-66=26', '30-26=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,59 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[30, 86], Operations: ['92-66=26', '60+26=86'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 59:[60, 56], Operations: ['66-30=36', '92-36=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[66, 62], Operations: ['92-60=32', '30+32=62'] Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,59 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[32, 36], Operations: ['92-60=32', '66-30=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,59 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[36, 32], Operations: ['66-30=36', '92-60=32'] Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,59 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[30, 34], Operations: ['92-60=32', '66-32=34'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[32, 96], Operations: ['92-60=32', '30+66=96'] Exploring Operation: 32+96=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 32*96=3072, Resulting Numbers: [3072] 3072,59 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[92, 24], Operations: ['66-30=36', '60-36=24'] Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,59 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[60, 128], Operations: ['66-30=36', '92+36=128'] Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,59 unequal: No Solution Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,59 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 38, 80, 50 ]
81
[ "12+38=50", "50/50=1", "80+1=81" ]
Current State: 81:[12, 38, 80, 50], Operations: [] Exploring Operation: 12+38=50, Resulting Numbers: [80, 50, 50] Generated Node #2: [80, 50, 50] from Operation: 12+38=50 Current State: 81:[80, 50, 50], Operations: ['12+38=50'] Exploring Operation: 50/50=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 50/50=1 Current State: 81:[80, 1], Operations: ['12+38=50', '50/50=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[12, 38, 80, 50], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [12, 80, 12] Generated Node #0,0: 81:[12, 80, 12] Operation: 50-38=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[12, 80, 12], Operations: ['50-38=12'] Exploring Operation: 12/12=1, Resulting Numbers: [80, 1] Generated Node #0,0,0: 81:[80, 1] Operation: 12/12=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[80, 1], Operations: ['50-38=12', '12/12=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[12, 38, 80, 50], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [12, 80, 12] Generated Node #0,0: 81:[12, 80, 12] Operation: 50-38=12 Moving to Node #0,0 Current State: 81:[12, 80, 12], Operations: ['50-38=12'] Exploring Operation: 12/12=1, Resulting Numbers: [80, 1] Generated Node #0,0,0: 81:[80, 1] Operation: 12/12=1 Moving to Node #0,0,0 Current State: 81:[80, 1], Operations: ['50-38=12', '12/12=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 35, 62, 73, 50 ]
96
[ "62-35=27", "73+50=123", "123-27=96" ]
Current State: 96:[35, 62, 73, 50], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [73, 50, 27] Generated Node #2: [73, 50, 27] from Operation: 62-35=27 Current State: 96:[73, 50, 27], Operations: ['62-35=27'] Exploring Operation: 73+50=123, Resulting Numbers: [27, 123] Generated Node #3: [27, 123] from Operation: 73+50=123 Current State: 96:[27, 123], Operations: ['62-35=27', '73+50=123'] Exploring Operation: 123-27=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[35, 62, 73, 50], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [35, 50, 11] Generated Node #0,0: 96:[35, 50, 11] Operation: 73-62=11 Exploring Operation: 73-35=38, Resulting Numbers: [62, 50, 38] Generated Node #0,1: 96:[62, 50, 38] Operation: 73-35=38 Exploring Operation: 62-50=12, Resulting Numbers: [35, 73, 12] Generated Node #0,2: 96:[35, 73, 12] Operation: 62-50=12 Exploring Operation: 35+62=97, Resulting Numbers: [73, 50, 97] Generated Node #0,3: 96:[73, 50, 97] Operation: 35+62=97 Exploring Operation: 73-50=23, Resulting Numbers: [35, 62, 23] Generated Node #0,4: 96:[35, 62, 23] Operation: 73-50=23 Moving to Node #0,0 Current State: 96:[35, 50, 11], Operations: ['73-62=11'] Exploring Operation: 35-11=24, Resulting Numbers: [50, 24] Generated Node #0,0,0: 96:[50, 24] Operation: 35-11=24 Exploring Operation: 50-35=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 96:[11, 15] Operation: 50-35=15 Exploring Operation: 35+11=46, Resulting Numbers: [50, 46] Generated Node #0,0,2: 96:[50, 46] Operation: 35+11=46 Exploring Operation: 35+50=85, Resulting Numbers: [11, 85] Generated Node #0,0,3: 96:[11, 85] Operation: 35+50=85 Exploring Operation: 50-11=39, Resulting Numbers: [35, 39] Generated Node #0,0,4: 96:[35, 39] Operation: 50-11=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[50, 24], Operations: ['73-62=11', '35-11=24'] Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,96 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[11, 15], Operations: ['73-62=11', '50-35=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[50, 46], Operations: ['73-62=11', '35+11=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[35, 62, 73, 50], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [35, 50, 11] Generated Node #0,0: 96:[35, 50, 11] Operation: 73-62=11 Moving to Node #0,0 Current State: 96:[35, 50, 11], Operations: ['73-62=11'] Exploring Operation: 35+11=46, Resulting Numbers: [50, 46] Generated Node #0,0,2: 96:[50, 46] Operation: 35+11=46 Moving to Node #0,0,2 Current State: 96:[50, 46], Operations: ['73-62=11', '35+11=46'] Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 79, 65, 23, 47 ]
74
[ "79+65=144", "23+47=70", "144-70=74" ]
Current State: 74:[79, 65, 23, 47], Operations: [] Exploring Operation: 79+65=144, Resulting Numbers: [23, 47, 144] Generated Node #2: [23, 47, 144] from Operation: 79+65=144 Current State: 74:[23, 47, 144], Operations: ['79+65=144'] Exploring Operation: 23+47=70, Resulting Numbers: [144, 70] Generated Node #3: [144, 70] from Operation: 23+47=70 Current State: 74:[144, 70], Operations: ['79+65=144', '23+47=70'] Exploring Operation: 144-70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 65, 23, 47], Operations: [] Exploring Operation: 65+23=88, Resulting Numbers: [79, 47, 88] Generated Node #0,0: 74:[79, 47, 88] Operation: 65+23=88 Exploring Operation: 23+47=70, Resulting Numbers: [79, 65, 70] Generated Node #0,1: 74:[79, 65, 70] Operation: 23+47=70 Exploring Operation: 79-47=32, Resulting Numbers: [65, 23, 32] Generated Node #0,2: 74:[65, 23, 32] Operation: 79-47=32 Exploring Operation: 65-23=42, Resulting Numbers: [79, 47, 42] Generated Node #0,3: 74:[79, 47, 42] Operation: 65-23=42 Exploring Operation: 47-23=24, Resulting Numbers: [79, 65, 24] Generated Node #0,4: 74:[79, 65, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[79, 65, 70], Operations: ['23+47=70'] Exploring Operation: 65+70=135, Resulting Numbers: [79, 135] Generated Node #0,1,0: 74:[79, 135] Operation: 65+70=135 Exploring Operation: 79-65=14, Resulting Numbers: [70, 14] Generated Node #0,1,1: 74:[70, 14] Operation: 79-65=14 Exploring Operation: 79-70=9, Resulting Numbers: [65, 9] Generated Node #0,1,2: 74:[65, 9] Operation: 79-70=9 Exploring Operation: 70-65=5, Resulting Numbers: [79, 5] Generated Node #0,1,3: 74:[79, 5] Operation: 70-65=5 Exploring Operation: 79+65=144, Resulting Numbers: [70, 144] Generated Node #0,1,4: 74:[70, 144] Operation: 79+65=144 Moving to Node #0,1,3 Current State: 74:[79, 5], Operations: ['23+47=70', '70-65=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[79, 65, 23, 47], Operations: [] Exploring Operation: 23+47=70, Resulting Numbers: [79, 65, 70] Generated Node #0,1: 74:[79, 65, 70] Operation: 23+47=70 Moving to Node #0,1 Current State: 74:[79, 65, 70], Operations: ['23+47=70'] Exploring Operation: 70-65=5, Resulting Numbers: [79, 5] Generated Node #0,1,3: 74:[79, 5] Operation: 70-65=5 Moving to Node #0,1,3 Current State: 74:[79, 5], Operations: ['23+47=70', '70-65=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 10, 31, 90, 94 ]
26
[ "10*90=900", "900-94=806", "806/31=26" ]
Current State: 26:[10, 31, 90, 94], Operations: [] Exploring Operation: 10*90=900, Resulting Numbers: [31, 94, 900] Generated Node #2: [31, 94, 900] from Operation: 10*90=900 Current State: 26:[31, 94, 900], Operations: ['10*90=900'] Exploring Operation: 900-94=806, Resulting Numbers: [31, 806] Generated Node #3: [31, 806] from Operation: 900-94=806 Current State: 26:[31, 806], Operations: ['10*90=900', '900-94=806'] Exploring Operation: 806/31=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 31, 90, 94], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [10, 90, 63] Generated Node #0,0: 26:[10, 90, 63] Operation: 94-31=63 Exploring Operation: 90-31=59, Resulting Numbers: [10, 94, 59] Generated Node #0,1: 26:[10, 94, 59] Operation: 90-31=59 Exploring Operation: 90/10=9, Resulting Numbers: [31, 94, 9] Generated Node #0,2: 26:[31, 94, 9] Operation: 90/10=9 Exploring Operation: 94-90=4, Resulting Numbers: [10, 31, 4] Generated Node #0,3: 26:[10, 31, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[10, 31, 4], Operations: ['94-90=4'] Exploring Operation: 10-4=6, Resulting Numbers: [31, 6] Generated Node #0,3,0: 26:[31, 6] Operation: 10-4=6 Exploring Operation: 31-10=21, Resulting Numbers: [4, 21] Generated Node #0,3,1: 26:[4, 21] Operation: 31-10=21 Exploring Operation: 10+4=14, Resulting Numbers: [31, 14] Generated Node #0,3,2: 26:[31, 14] Operation: 10+4=14 Exploring Operation: 31-4=27, Resulting Numbers: [10, 27] Generated Node #0,3,3: 26:[10, 27] Operation: 31-4=27 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[10, 27], Operations: ['94-90=4', '31-4=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,26 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,26 unequal: No Solution No 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: 26:[31, 14], Operations: ['94-90=4', '10+4=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,26 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,26 unequal: No Solution No 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: 26:[4, 21], Operations: ['94-90=4', '31-10=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,26 unequal: No Solution No 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: 26:[31, 6], Operations: ['94-90=4', '10-4=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,26 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,26 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: 26:[31, 94, 9], Operations: ['90/10=9'] Exploring Operation: 31-9=22, Resulting Numbers: [94, 22] Generated Node #0,2,0: 26:[94, 22] Operation: 31-9=22 Exploring Operation: 94-9=85, Resulting Numbers: [31, 85] Generated Node #0,2,1: 26:[31, 85] Operation: 94-9=85 Exploring Operation: 94-31=63, Resulting Numbers: [9, 63] Generated Node #0,2,2: 26:[9, 63] Operation: 94-31=63 Exploring Operation: 31+9=40, Resulting Numbers: [94, 40] Generated Node #0,2,3: 26:[94, 40] Operation: 31+9=40 Moving to Node #0,2,2 Current State: 26:[9, 63], Operations: ['90/10=9', '94-31=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,26 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[31, 85], Operations: ['90/10=9', '94-9=85'] Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,26 unequal: No Solution Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[94, 22], Operations: ['90/10=9', '31-9=22'] Exploring Operation: 94*22=2068, Resulting Numbers: [2068] 2068,26 unequal: No Solution Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,26 unequal: No Solution Exploring Operation: 94+22=116, Resulting Numbers: [116] 116,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[94, 40], Operations: ['90/10=9', '31+9=40'] Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,26 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[10, 90, 63], Operations: ['94-31=63'] Exploring Operation: 63-10=53, Resulting Numbers: [90, 53] Generated Node #0,0,0: 26:[90, 53] Operation: 63-10=53 Exploring Operation: 90/10=9, Resulting Numbers: [63, 9] Generated Node #0,0,1: 26:[63, 9] Operation: 90/10=9 Exploring Operation: 90-63=27, Resulting Numbers: [10, 27] Generated Node #0,0,2: 26:[10, 27] Operation: 90-63=27 Exploring Operation: 90-10=80, Resulting Numbers: [63, 80] Generated Node #0,0,3: 26:[63, 80] Operation: 90-10=80 Moving to Node #0,0,2 Current State: 26:[10, 27], Operations: ['94-31=63', '90-63=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,26 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[63, 9], Operations: ['94-31=63', '90/10=9'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,26 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 63*9=567, Resulting Numbers: [567] 567,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[63, 80], Operations: ['94-31=63', '90-10=80'] Exploring Operation: 63*80=5040, Resulting Numbers: [5040] 5040,26 unequal: No Solution Exploring Operation: 63+80=143, Resulting Numbers: [143] 143,26 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[90, 53], Operations: ['94-31=63', '63-10=53'] Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,26 unequal: No Solution Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,26 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[10, 94, 59], Operations: ['90-31=59'] Exploring Operation: 94-59=35, Resulting Numbers: [10, 35] Generated Node #0,1,0: 26:[10, 35] Operation: 94-59=35 Exploring Operation: 10+94=104, Resulting Numbers: [59, 104] Generated Node #0,1,1: 26:[59, 104] Operation: 10+94=104 Exploring Operation: 94-10=84, Resulting Numbers: [59, 84] Generated Node #0,1,2: 26:[59, 84] Operation: 94-10=84 Exploring Operation: 59-10=49, Resulting Numbers: [94, 49] Generated Node #0,1,3: 26:[94, 49] Operation: 59-10=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[10, 35], Operations: ['90-31=59', '94-59=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,26 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,26 unequal: No Solution No 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: 26:[59, 84], Operations: ['90-31=59', '94-10=84'] Exploring Operation: 59+84=143, Resulting Numbers: [143] 143,26 unequal: No Solution Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 59*84=4956, Resulting Numbers: [4956] 4956,26 unequal: No Solution No 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: 26:[94, 49], Operations: ['90-31=59', '59-10=49'] Exploring Operation: 94+49=143, Resulting Numbers: [143] 143,26 unequal: No Solution Exploring Operation: 94*49=4606, Resulting Numbers: [4606] 4606,26 unequal: No Solution Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,26 unequal: No Solution No 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: 26:[59, 104], Operations: ['90-31=59', '10+94=104'] Exploring Operation: 59*104=6136, Resulting Numbers: [6136] 6136,26 unequal: No Solution Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 59+104=163, Resulting Numbers: [163] 163,26 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
[ 57, 58, 82, 33 ]
48
[ "58-57=1", "82-33=49", "49-1=48" ]
Current State: 48:[57, 58, 82, 33], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [82, 33, 1] Generated Node #2: [82, 33, 1] from Operation: 58-57=1 Current State: 48:[82, 33, 1], Operations: ['58-57=1'] Exploring Operation: 82-33=49, Resulting Numbers: [1, 49] Generated Node #3: [1, 49] from Operation: 82-33=49 Current State: 48:[1, 49], Operations: ['58-57=1', '82-33=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[57, 58, 82, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [57, 58, 49] Generated Node #0,0: 48:[57, 58, 49] Operation: 82-33=49 Exploring Operation: 82-57=25, Resulting Numbers: [58, 33, 25] Generated Node #0,1: 48:[58, 33, 25] Operation: 82-57=25 Exploring Operation: 82-58=24, Resulting Numbers: [57, 33, 24] Generated Node #0,2: 48:[57, 33, 24] Operation: 82-58=24 Moving to Node #0,2 Current State: 48:[57, 33, 24], Operations: ['82-58=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33, 33] Generated Node #0,2,0: 48:[33, 33] Operation: 57-24=33 Exploring Operation: 57-33=24, Resulting Numbers: [24, 24] Generated Node #0,2,1: 48:[24, 24] Operation: 57-33=24 Exploring Operation: 33-24=9, Resulting Numbers: [57, 9] Generated Node #0,2,2: 48:[57, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[24, 24], Operations: ['82-58=24', '57-33=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[57, 58, 82, 33], Operations: [] Exploring Operation: 82-58=24, Resulting Numbers: [57, 33, 24] Generated Node #0,2: 48:[57, 33, 24] Operation: 82-58=24 Moving to Node #0,2 Current State: 48:[57, 33, 24], Operations: ['82-58=24'] Exploring Operation: 57-33=24, Resulting Numbers: [24, 24] Generated Node #0,2,1: 48:[24, 24] Operation: 57-33=24 Moving to Node #0,2,1 Current State: 48:[24, 24], Operations: ['82-58=24', '57-33=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 52, 8, 92, 1 ]
14
[ "92-1=91", "8*91=728", "728/52=14" ]
Current State: 14:[52, 8, 92, 1], Operations: [] Exploring Operation: 92-1=91, Resulting Numbers: [52, 8, 91] Generated Node #2: [52, 8, 91] from Operation: 92-1=91 Current State: 14:[52, 8, 91], Operations: ['92-1=91'] Exploring Operation: 8*91=728, Resulting Numbers: [52, 728] Generated Node #3: [52, 728] from Operation: 8*91=728 Current State: 14:[52, 728], Operations: ['92-1=91', '8*91=728'] Exploring Operation: 728/52=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[52, 8, 92, 1], Operations: [] Exploring Operation: 92-52=40, Resulting Numbers: [8, 1, 40] Generated Node #0,0: 14:[8, 1, 40] Operation: 92-52=40 Exploring Operation: 92-8=84, Resulting Numbers: [52, 1, 84] Generated Node #0,1: 14:[52, 1, 84] Operation: 92-8=84 Exploring Operation: 52-8=44, Resulting Numbers: [92, 1, 44] Generated Node #0,2: 14:[92, 1, 44] Operation: 52-8=44 Moving to Node #0,0 Current State: 14:[8, 1, 40], Operations: ['92-52=40'] Exploring Operation: 40/8=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 14:[1, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [1, 32] Generated Node #0,0,1: 14:[1, 32] Operation: 40-8=32 Exploring Operation: 8-1=7, Resulting Numbers: [40, 7] Generated Node #0,0,2: 14:[40, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[1, 5], Operations: ['92-52=40', '40/8=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,14 unequal: No Solution No 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: 14:[1, 32], Operations: ['92-52=40', '40-8=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,14 unequal: No Solution No 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: 14:[40, 7], Operations: ['92-52=40', '8-1=7'] Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,14 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,14 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: 14:[52, 1, 84], Operations: ['92-8=84'] Exploring Operation: 84-52=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 14:[1, 32] Operation: 84-52=32 Exploring Operation: 52-1=51, Resulting Numbers: [84, 51] Generated Node #0,1,1: 14:[84, 51] Operation: 52-1=51 Exploring Operation: 84-1=83, Resulting Numbers: [52, 83] Generated Node #0,1,2: 14:[52, 83] Operation: 84-1=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[1, 32], Operations: ['92-8=84', '84-52=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,14 unequal: No Solution No 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: 14:[84, 51], Operations: ['92-8=84', '52-1=51'] Exploring Operation: 84*51=4284, Resulting Numbers: [4284] 4284,14 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 84+51=135, Resulting Numbers: [135] 135,14 unequal: No Solution No 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: 14:[52, 83], Operations: ['92-8=84', '84-1=83'] Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 52*83=4316, Resulting Numbers: [4316] 4316,14 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: 14:[92, 1, 44], Operations: ['52-8=44'] Exploring Operation: 92-1=91, Resulting Numbers: [44, 91] Generated Node #0,2,0: 14:[44, 91] Operation: 92-1=91 Exploring Operation: 92-44=48, Resulting Numbers: [1, 48] Generated Node #0,2,1: 14:[1, 48] Operation: 92-44=48 Exploring Operation: 44-1=43, Resulting Numbers: [92, 43] Generated Node #0,2,2: 14:[92, 43] Operation: 44-1=43 Moving to Node #0,2,1 Current State: 14:[1, 48], Operations: ['52-8=44', '92-44=48'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[44, 91], Operations: ['52-8=44', '92-1=91'] Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,14 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[92, 43], Operations: ['52-8=44', '44-1=43'] Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,14 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 28, 21, 49, 63 ]
70
[ "28-21=7", "49/7=7", "63+7=70" ]
Current State: 70:[28, 21, 49, 63], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [49, 63, 7] Generated Node #2: [49, 63, 7] from Operation: 28-21=7 Current State: 70:[49, 63, 7], Operations: ['28-21=7'] Exploring Operation: 49/7=7, Resulting Numbers: [63, 7] Generated Node #3: [63, 7] from Operation: 49/7=7 Current State: 70:[63, 7], Operations: ['28-21=7', '49/7=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[28, 21, 49, 63], Operations: [] Exploring Operation: 21+49=70, Resulting Numbers: [28, 63, 70] Generated Node #0,0: 70:[28, 63, 70] Operation: 21+49=70 Exploring Operation: 28+49=77, Resulting Numbers: [21, 63, 77] Generated Node #0,1: 70:[21, 63, 77] Operation: 28+49=77 Exploring Operation: 28-21=7, Resulting Numbers: [49, 63, 7] Generated Node #0,2: 70:[49, 63, 7] Operation: 28-21=7 Exploring Operation: 49-28=21, Resulting Numbers: [21, 63, 21] Generated Node #0,3: 70:[21, 63, 21] Operation: 49-28=21 Exploring Operation: 63-49=14, Resulting Numbers: [28, 21, 14] Generated Node #0,4: 70:[28, 21, 14] Operation: 63-49=14 Moving to Node #0,0 Current State: 70:[28, 63, 70], Operations: ['21+49=70'] Exploring Operation: 70-63=7, Resulting Numbers: [28, 7] Generated Node #0,0,0: 70:[28, 7] Operation: 70-63=7 Exploring Operation: 63-28=35, Resulting Numbers: [70, 35] Generated Node #0,0,1: 70:[70, 35] Operation: 63-28=35 Exploring Operation: 28+63=91, Resulting Numbers: [70, 91] Generated Node #0,0,2: 70:[70, 91] Operation: 28+63=91 Exploring Operation: 28+70=98, Resulting Numbers: [63, 98] Generated Node #0,0,3: 70:[63, 98] Operation: 28+70=98 Exploring Operation: 70-28=42, Resulting Numbers: [63, 42] Generated Node #0,0,4: 70:[63, 42] Operation: 70-28=42 Moving to Node #0,4 Current State: 70:[28, 21, 14], Operations: ['63-49=14'] Exploring Operation: 28-21=7, Resulting Numbers: [14, 7] Generated Node #0,4,0: 70:[14, 7] Operation: 28-21=7 Exploring Operation: 28-14=14, Resulting Numbers: [21, 14] Generated Node #0,4,1: 70:[21, 14] Operation: 28-14=14 Exploring Operation: 21+14=35, Resulting Numbers: [28, 35] Generated Node #0,4,2: 70:[28, 35] Operation: 21+14=35 Exploring Operation: 28/14=2, Resulting Numbers: [21, 2] Generated Node #0,4,3: 70:[21, 2] Operation: 28/14=2 Exploring Operation: 21-14=7, Resulting Numbers: [28, 7] Generated Node #0,4,4: 70:[28, 7] Operation: 21-14=7 Moving to Node #0,1 Current State: 70:[21, 63, 77], Operations: ['28+49=77'] Exploring Operation: 63/21=3, Resulting Numbers: [77, 3] Generated Node #0,1,0: 70:[77, 3] Operation: 63/21=3 Exploring Operation: 21+63=84, Resulting Numbers: [77, 84] Generated Node #0,1,1: 70:[77, 84] Operation: 21+63=84 Exploring Operation: 77-21=56, Resulting Numbers: [63, 56] Generated Node #0,1,2: 70:[63, 56] Operation: 77-21=56 Exploring Operation: 77-63=14, Resulting Numbers: [21, 14] Generated Node #0,1,3: 70:[21, 14] Operation: 77-63=14 Exploring Operation: 63-21=42, Resulting Numbers: [77, 42] Generated Node #0,1,4: 70:[77, 42] Operation: 63-21=42 Moving to Node #0,2 Current State: 70:[49, 63, 7], Operations: ['28-21=7'] Exploring Operation: 63-49=14, Resulting Numbers: [7, 14] Generated Node #0,2,0: 70:[7, 14] Operation: 63-49=14 Exploring Operation: 63+7=70, Resulting Numbers: [49, 70] Generated Node #0,2,1: 70:[49, 70] Operation: 63+7=70 Exploring Operation: 49/7=7, Resulting Numbers: [63, 7] Generated Node #0,2,2: 70:[63, 7] Operation: 49/7=7 Exploring Operation: 63/7=9, Resulting Numbers: [49, 9] Generated Node #0,2,3: 70:[49, 9] Operation: 63/7=9 Exploring Operation: 49-7=42, Resulting Numbers: [63, 42] Generated Node #0,2,4: 70:[63, 42] Operation: 49-7=42 Moving to Node #0,3 Current State: 70:[21, 63, 21], Operations: ['49-28=21'] Exploring Operation: 63/21=3, Resulting Numbers: [21, 3] Generated Node #0,3,0: 70:[21, 3] Operation: 63/21=3 Exploring Operation: 21/21=1, Resulting Numbers: [63, 1] Generated Node #0,3,1: 70:[63, 1] Operation: 21/21=1 Exploring Operation: 63-21=42, Resulting Numbers: [21, 42] Generated Node #0,3,2: 70:[21, 42] Operation: 63-21=42 Exploring Operation: 63/21=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 70:[21, 3] Operation: 63/21=3 Exploring Operation: 21-21=0, Resulting Numbers: [63, 0] Generated Node #0,3,4: 70:[63, 0] Operation: 21-21=0 Moving to Node #0,0,1 Current State: 70:[70, 35], Operations: ['21+49=70', '63-28=35'] Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,70 unequal: No Solution Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,70 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[14, 7], Operations: ['63-49=14', '28-21=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[7, 14], Operations: ['28-21=7', '63-49=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[21, 14], Operations: ['63-49=14', '28-14=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,70 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[28, 7], Operations: ['63-49=14', '21-14=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,70 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[21, 14], Operations: ['28+49=77', '77-63=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[28, 7], Operations: ['21+49=70', '70-63=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[21, 2], Operations: ['63-49=14', '28/14=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[28, 35], Operations: ['63-49=14', '21+14=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[63, 7], Operations: ['28-21=7', '49/7=7'] Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,70 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[28, 21, 49, 63], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [49, 63, 7] Generated Node #0,2: 70:[49, 63, 7] Operation: 28-21=7 Moving to Node #0,2 Current State: 70:[49, 63, 7], Operations: ['28-21=7'] Exploring Operation: 49/7=7, Resulting Numbers: [63, 7] Generated Node #0,2,2: 70:[63, 7] Operation: 49/7=7 Moving to Node #0,2,2 Current State: 70:[63, 7], Operations: ['28-21=7', '49/7=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 14, 18, 64, 16 ]
14
[ "14+18=32", "64/32=2", "16-2=14" ]
Current State: 14:[14, 18, 64, 16], Operations: [] Exploring Operation: 14+18=32, Resulting Numbers: [64, 16, 32] Generated Node #2: [64, 16, 32] from Operation: 14+18=32 Current State: 14:[64, 16, 32], Operations: ['14+18=32'] Exploring Operation: 64/32=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 64/32=2 Current State: 14:[16, 2], Operations: ['14+18=32', '64/32=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[14, 18, 64, 16], Operations: [] Exploring Operation: 64-18=46, Resulting Numbers: [14, 16, 46] Generated Node #0,0: 14:[14, 16, 46] Operation: 64-18=46 Exploring Operation: 64/16=4, Resulting Numbers: [14, 18, 4] Generated Node #0,1: 14:[14, 18, 4] Operation: 64/16=4 Exploring Operation: 64-14=50, Resulting Numbers: [18, 16, 50] Generated Node #0,2: 14:[18, 16, 50] Operation: 64-14=50 Exploring Operation: 64-16=48, Resulting Numbers: [14, 18, 48] Generated Node #0,3: 14:[14, 18, 48] Operation: 64-16=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[14, 18, 4], Operations: ['64/16=4'] Exploring Operation: 14-4=10, Resulting Numbers: [18, 10] Generated Node #0,1,0: 14:[18, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [18, 18] Generated Node #0,1,1: 14:[18, 18] Operation: 14+4=18 Exploring Operation: 18-14=4, Resulting Numbers: [4, 4] Generated Node #0,1,2: 14:[4, 4] Operation: 18-14=4 Exploring Operation: 18-4=14, Resulting Numbers: [14, 14] Generated Node #0,1,3: 14:[14, 14] Operation: 18-4=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 14:[14, 14], Operations: ['64/16=4', '18-4=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 14*14=196, Resulting Numbers: [196] 196,14 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,14 unequal: No Solution No 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: 14:[4, 4], Operations: ['64/16=4', '18-14=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,14 unequal: No Solution No 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: 14:[18, 10], Operations: ['64/16=4', '14-4=10'] Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,14 unequal: No Solution No 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: 14:[18, 18], Operations: ['64/16=4', '14+4=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,14 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[14, 16, 46], Operations: ['64-18=46'] Exploring Operation: 46-14=32, Resulting Numbers: [16, 32] Generated Node #0,0,0: 14:[16, 32] Operation: 46-14=32 Exploring Operation: 46-16=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 14:[14, 30] Operation: 46-16=30 Exploring Operation: 14+16=30, Resulting Numbers: [46, 30] Generated Node #0,0,2: 14:[46, 30] Operation: 14+16=30 Exploring Operation: 16-14=2, Resulting Numbers: [46, 2] Generated Node #0,0,3: 14:[46, 2] Operation: 16-14=2 Moving to Node #0,0,1 Current State: 14:[14, 30], Operations: ['64-18=46', '46-16=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,14 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[16, 32], Operations: ['64-18=46', '46-14=32'] Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,14 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[46, 2], Operations: ['64-18=46', '16-14=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[46, 30], Operations: ['64-18=46', '14+16=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,14 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,14 unequal: No Solution No 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: 14:[14, 18, 48], Operations: ['64-16=48'] Exploring Operation: 48-14=34, Resulting Numbers: [18, 34] Generated Node #0,3,0: 14:[18, 34] Operation: 48-14=34 Exploring Operation: 14+18=32, Resulting Numbers: [48, 32] Generated Node #0,3,1: 14:[48, 32] Operation: 14+18=32 Exploring Operation: 18-14=4, Resulting Numbers: [48, 4] Generated Node #0,3,2: 14:[48, 4] Operation: 18-14=4 Exploring Operation: 48-18=30, Resulting Numbers: [14, 30] Generated Node #0,3,3: 14:[14, 30] Operation: 48-18=30 Moving to Node #0,3,3 Current State: 14:[14, 30], Operations: ['64-16=48', '48-18=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[18, 34], Operations: ['64-16=48', '48-14=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,14 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[48, 4], Operations: ['64-16=48', '18-14=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,14 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[48, 32], Operations: ['64-16=48', '14+18=32'] Exploring Operation: 48*32=1536, Resulting Numbers: [1536] 1536,14 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 48+32=80, Resulting Numbers: [80] 80,14 unequal: No Solution No 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: 14:[18, 16, 50], Operations: ['64-14=50'] Exploring Operation: 18-16=2, Resulting Numbers: [50, 2] Generated Node #0,2,0: 14:[50, 2] Operation: 18-16=2 Exploring Operation: 50-16=34, Resulting Numbers: [18, 34] Generated Node #0,2,1: 14:[18, 34] Operation: 50-16=34 Exploring Operation: 50-18=32, Resulting Numbers: [16, 32] Generated Node #0,2,2: 14:[16, 32] Operation: 50-18=32 Exploring Operation: 18+16=34, Resulting Numbers: [50, 34] Generated Node #0,2,3: 14:[50, 34] Operation: 18+16=34 Moving to Node #0,2,2 Current State: 14:[16, 32], Operations: ['64-14=50', '50-18=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[18, 34], Operations: ['64-14=50', '50-16=34'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[50, 2], Operations: ['64-14=50', '18-16=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,14 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[50, 34], Operations: ['64-14=50', '18+16=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,14 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
[ 79, 71, 28, 48 ]
74
[ "79+71=150", "28+48=76", "150-76=74" ]
Current State: 74:[79, 71, 28, 48], Operations: [] Exploring Operation: 79+71=150, Resulting Numbers: [28, 48, 150] Generated Node #2: [28, 48, 150] from Operation: 79+71=150 Current State: 74:[28, 48, 150], Operations: ['79+71=150'] Exploring Operation: 28+48=76, Resulting Numbers: [150, 76] Generated Node #3: [150, 76] from Operation: 28+48=76 Current State: 74:[150, 76], Operations: ['79+71=150', '28+48=76'] Exploring Operation: 150-76=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 71, 28, 48], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [79, 71, 20] Generated Node #0,0: 74:[79, 71, 20] Operation: 48-28=20 Exploring Operation: 79-48=31, Resulting Numbers: [71, 28, 31] Generated Node #0,1: 74:[71, 28, 31] Operation: 79-48=31 Exploring Operation: 71-28=43, Resulting Numbers: [79, 48, 43] Generated Node #0,2: 74:[79, 48, 43] Operation: 71-28=43 Exploring Operation: 28+48=76, Resulting Numbers: [79, 71, 76] Generated Node #0,3: 74:[79, 71, 76] Operation: 28+48=76 Moving to Node #0,3 Current State: 74:[79, 71, 76], Operations: ['28+48=76'] Exploring Operation: 79-76=3, Resulting Numbers: [71, 3] Generated Node #0,3,0: 74:[71, 3] Operation: 79-76=3 Exploring Operation: 79-71=8, Resulting Numbers: [76, 8] Generated Node #0,3,1: 74:[76, 8] Operation: 79-71=8 Exploring Operation: 76-71=5, Resulting Numbers: [79, 5] Generated Node #0,3,2: 74:[79, 5] Operation: 76-71=5 Exploring Operation: 79+71=150, Resulting Numbers: [76, 150] Generated Node #0,3,3: 74:[76, 150] Operation: 79+71=150 Moving to Node #0,1 Current State: 74:[71, 28, 31], Operations: ['79-48=31'] Exploring Operation: 71-31=40, Resulting Numbers: [28, 40] Generated Node #0,1,0: 74:[28, 40] Operation: 71-31=40 Exploring Operation: 71-28=43, Resulting Numbers: [31, 43] Generated Node #0,1,1: 74:[31, 43] Operation: 71-28=43 Exploring Operation: 31-28=3, Resulting Numbers: [71, 3] Generated Node #0,1,2: 74:[71, 3] Operation: 31-28=3 Exploring Operation: 28+31=59, Resulting Numbers: [71, 59] Generated Node #0,1,3: 74:[71, 59] Operation: 28+31=59 Moving to Node #0,2 Current State: 74:[79, 48, 43], Operations: ['71-28=43'] Exploring Operation: 48+43=91, Resulting Numbers: [79, 91] Generated Node #0,2,0: 74:[79, 91] Operation: 48+43=91 Exploring Operation: 79-43=36, Resulting Numbers: [48, 36] Generated Node #0,2,1: 74:[48, 36] Operation: 79-43=36 Exploring Operation: 48-43=5, Resulting Numbers: [79, 5] Generated Node #0,2,2: 74:[79, 5] Operation: 48-43=5 Exploring Operation: 79-48=31, Resulting Numbers: [43, 31] Generated Node #0,2,3: 74:[43, 31] Operation: 79-48=31 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[79, 5], Operations: ['71-28=43', '48-43=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,74 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[79, 71, 28, 48], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [79, 48, 43] Generated Node #0,2: 74:[79, 48, 43] Operation: 71-28=43 Moving to Node #0,2 Current State: 74:[79, 48, 43], Operations: ['71-28=43'] Exploring Operation: 48-43=5, Resulting Numbers: [79, 5] Generated Node #0,2,2: 74:[79, 5] Operation: 48-43=5 Moving to Node #0,2,2 Current State: 74:[79, 5], Operations: ['71-28=43', '48-43=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 18, 40, 34, 5 ]
97
[ "18+40=58", "34+5=39", "58+39=97" ]
Current State: 97:[18, 40, 34, 5], Operations: [] Exploring Operation: 18+40=58, Resulting Numbers: [34, 5, 58] Generated Node #2: [34, 5, 58] from Operation: 18+40=58 Current State: 97:[34, 5, 58], Operations: ['18+40=58'] Exploring Operation: 34+5=39, Resulting Numbers: [58, 39] Generated Node #3: [58, 39] from Operation: 34+5=39 Current State: 97:[58, 39], Operations: ['18+40=58', '34+5=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[18, 40, 34, 5], Operations: [] Exploring Operation: 18+34=52, Resulting Numbers: [40, 5, 52] Generated Node #0,0: 97:[40, 5, 52] Operation: 18+34=52 Exploring Operation: 18*5=90, Resulting Numbers: [40, 34, 90] Generated Node #0,1: 97:[40, 34, 90] Operation: 18*5=90 Exploring Operation: 18+40=58, Resulting Numbers: [34, 5, 58] Generated Node #0,2: 97:[34, 5, 58] Operation: 18+40=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[40, 34, 90], Operations: ['18*5=90'] Exploring Operation: 40+34=74, Resulting Numbers: [90, 74] Generated Node #0,1,0: 97:[90, 74] Operation: 40+34=74 Exploring Operation: 34+90=124, Resulting Numbers: [40, 124] Generated Node #0,1,1: 97:[40, 124] Operation: 34+90=124 Exploring Operation: 40+90=130, Resulting Numbers: [34, 130] Generated Node #0,1,2: 97:[34, 130] Operation: 40+90=130 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[90, 74], Operations: ['18*5=90', '40+34=74'] Exploring Operation: 90*74=6660, Resulting Numbers: [6660] 6660,97 unequal: No Solution Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 90+74=164, Resulting Numbers: [164] 164,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[40, 124], Operations: ['18*5=90', '34+90=124'] Exploring Operation: 40+124=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 124-40=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 40*124=4960, Resulting Numbers: [4960] 4960,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[34, 130], Operations: ['18*5=90', '40+90=130'] Exploring Operation: 34+130=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 34*130=4420, Resulting Numbers: [4420] 4420,97 unequal: No Solution Exploring Operation: 130-34=96, Resulting Numbers: [96] 96,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[40, 5, 52], Operations: ['18+34=52'] Exploring Operation: 40+52=92, Resulting Numbers: [5, 92] Generated Node #0,0,0: 97:[5, 92] Operation: 40+52=92 Exploring Operation: 5+52=57, Resulting Numbers: [40, 57] Generated Node #0,0,1: 97:[40, 57] Operation: 5+52=57 Exploring Operation: 40+5=45, Resulting Numbers: [52, 45] Generated Node #0,0,2: 97:[52, 45] Operation: 40+5=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[5, 92], Operations: ['18+34=52', '40+52=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[18, 40, 34, 5], Operations: [] Exploring Operation: 18+34=52, Resulting Numbers: [40, 5, 52] Generated Node #0,0: 97:[40, 5, 52] Operation: 18+34=52 Moving to Node #0,0 Current State: 97:[40, 5, 52], Operations: ['18+34=52'] Exploring Operation: 40+52=92, Resulting Numbers: [5, 92] Generated Node #0,0,0: 97:[5, 92] Operation: 40+52=92 Moving to Node #0,0,0 Current State: 97:[5, 92], Operations: ['18+34=52', '40+52=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 22, 71, 61, 99 ]
87
[ "71-22=49", "99-61=38", "49+38=87" ]
Current State: 87:[22, 71, 61, 99], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [61, 99, 49] Generated Node #2: [61, 99, 49] from Operation: 71-22=49 Current State: 87:[61, 99, 49], Operations: ['71-22=49'] Exploring Operation: 99-61=38, Resulting Numbers: [49, 38] Generated Node #3: [49, 38] from Operation: 99-61=38 Current State: 87:[49, 38], Operations: ['71-22=49', '99-61=38'] Exploring Operation: 49+38=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[22, 71, 61, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [22, 71, 38] Generated Node #0,0: 87:[22, 71, 38] Operation: 99-61=38 Exploring Operation: 22+61=83, Resulting Numbers: [71, 99, 83] Generated Node #0,1: 87:[71, 99, 83] Operation: 22+61=83 Exploring Operation: 71-61=10, Resulting Numbers: [22, 99, 10] Generated Node #0,2: 87:[22, 99, 10] Operation: 71-61=10 Moving to Node #0,2 Current State: 87:[22, 99, 10], Operations: ['71-61=10'] Exploring Operation: 22+10=32, Resulting Numbers: [99, 32] Generated Node #0,2,0: 87:[99, 32] Operation: 22+10=32 Exploring Operation: 99-22=77, Resulting Numbers: [10, 77] Generated Node #0,2,1: 87:[10, 77] Operation: 99-22=77 Exploring Operation: 99-10=89, Resulting Numbers: [22, 89] Generated Node #0,2,2: 87:[22, 89] Operation: 99-10=89 Moving to Node #0,0 Current State: 87:[22, 71, 38], Operations: ['99-61=38'] Exploring Operation: 71-22=49, Resulting Numbers: [38, 49] Generated Node #0,0,0: 87:[38, 49] Operation: 71-22=49 Exploring Operation: 22+71=93, Resulting Numbers: [38, 93] Generated Node #0,0,1: 87:[38, 93] Operation: 22+71=93 Exploring Operation: 71-38=33, Resulting Numbers: [22, 33] Generated Node #0,0,2: 87:[22, 33] Operation: 71-38=33 Moving to Node #0,1 Current State: 87:[71, 99, 83], Operations: ['22+61=83'] Exploring Operation: 99-83=16, Resulting Numbers: [71, 16] Generated Node #0,1,0: 87:[71, 16] Operation: 99-83=16 Exploring Operation: 99-71=28, Resulting Numbers: [83, 28] Generated Node #0,1,1: 87:[83, 28] Operation: 99-71=28 Exploring Operation: 83-71=12, Resulting Numbers: [99, 12] Generated Node #0,1,2: 87:[99, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[83, 28], Operations: ['22+61=83', '99-71=28'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,87 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[99, 12], Operations: ['22+61=83', '83-71=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[22, 71, 61, 99], Operations: [] Exploring Operation: 22+61=83, Resulting Numbers: [71, 99, 83] Generated Node #0,1: 87:[71, 99, 83] Operation: 22+61=83 Moving to Node #0,1 Current State: 87:[71, 99, 83], Operations: ['22+61=83'] Exploring Operation: 83-71=12, Resulting Numbers: [99, 12] Generated Node #0,1,2: 87:[99, 12] Operation: 83-71=12 Moving to Node #0,1,2 Current State: 87:[99, 12], Operations: ['22+61=83', '83-71=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 52, 75, 74, 81 ]
28
[ "52+75=127", "74+81=155", "155-127=28" ]
Current State: 28:[52, 75, 74, 81], Operations: [] Exploring Operation: 52+75=127, Resulting Numbers: [74, 81, 127] Generated Node #2: [74, 81, 127] from Operation: 52+75=127 Current State: 28:[74, 81, 127], Operations: ['52+75=127'] Exploring Operation: 74+81=155, Resulting Numbers: [127, 155] Generated Node #3: [127, 155] from Operation: 74+81=155 Current State: 28:[127, 155], Operations: ['52+75=127', '74+81=155'] Exploring Operation: 155-127=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[52, 75, 74, 81], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [52, 75, 7] Generated Node #0,0: 28:[52, 75, 7] Operation: 81-74=7 Exploring Operation: 81-75=6, Resulting Numbers: [52, 74, 6] Generated Node #0,1: 28:[52, 74, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[52, 75, 7], Operations: ['81-74=7'] Exploring Operation: 75-52=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 28:[7, 23] Operation: 75-52=23 Exploring Operation: 52-7=45, Resulting Numbers: [75, 45] Generated Node #0,0,1: 28:[75, 45] Operation: 52-7=45 Moving to Node #0,0,0 Current State: 28:[7, 23], Operations: ['81-74=7', '75-52=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[75, 45], Operations: ['81-74=7', '52-7=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[52, 74, 6], Operations: ['81-75=6'] Exploring Operation: 74-52=22, Resulting Numbers: [6, 22] Generated Node #0,1,0: 28:[6, 22] Operation: 74-52=22 Exploring Operation: 52-6=46, Resulting Numbers: [74, 46] Generated Node #0,1,1: 28:[74, 46] Operation: 52-6=46 Moving to Node #0,1,0 Current State: 28:[6, 22], Operations: ['81-75=6', '74-52=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[52, 75, 74, 81], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [52, 74, 6] Generated Node #0,1: 28:[52, 74, 6] Operation: 81-75=6 Moving to Node #0,1 Current State: 28:[52, 74, 6], Operations: ['81-75=6'] Exploring Operation: 74-52=22, Resulting Numbers: [6, 22] Generated Node #0,1,0: 28:[6, 22] Operation: 74-52=22 Moving to Node #0,1,0 Current State: 28:[6, 22], Operations: ['81-75=6', '74-52=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 80, 81, 78, 10 ]
87
[ "81-80=1", "78+10=88", "88-1=87" ]
Current State: 87:[80, 81, 78, 10], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [78, 10, 1] Generated Node #2: [78, 10, 1] from Operation: 81-80=1 Current State: 87:[78, 10, 1], Operations: ['81-80=1'] Exploring Operation: 78+10=88, Resulting Numbers: [1, 88] Generated Node #3: [1, 88] from Operation: 78+10=88 Current State: 87:[1, 88], Operations: ['81-80=1', '78+10=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[80, 81, 78, 10], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [81, 10, 2] Generated Node #0,0: 87:[81, 10, 2] Operation: 80-78=2 Moving to Node #0,0 Current State: 87:[81, 10, 2], Operations: ['80-78=2'] Exploring Operation: 81+10=91, Resulting Numbers: [2, 91] Generated Node #0,0,0: 87:[2, 91] Operation: 81+10=91 Moving to Node #0,0,0 Current State: 87:[2, 91], Operations: ['80-78=2', '81+10=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 65, 63, 39 ]
53
[ "65-63=2", "7*2=14", "39+14=53" ]
Current State: 53:[7, 65, 63, 39], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [7, 39, 2] Generated Node #2: [7, 39, 2] from Operation: 65-63=2 Current State: 53:[7, 39, 2], Operations: ['65-63=2'] Exploring Operation: 7*2=14, Resulting Numbers: [39, 14] Generated Node #3: [39, 14] from Operation: 7*2=14 Current State: 53:[39, 14], Operations: ['65-63=2', '7*2=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[7, 65, 63, 39], Operations: [] Exploring Operation: 65-7=58, Resulting Numbers: [63, 39, 58] Generated Node #0,0: 53:[63, 39, 58] Operation: 65-7=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[63, 39, 58], Operations: ['65-7=58'] Exploring Operation: 63-39=24, Resulting Numbers: [58, 24] Generated Node #0,0,0: 53:[58, 24] Operation: 63-39=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[58, 24], Operations: ['65-7=58', '63-39=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 15, 70, 43 ]
24
[ "15/5=3", "70-43=27", "27-3=24" ]
Current State: 24:[5, 15, 70, 43], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [70, 43, 3] Generated Node #2: [70, 43, 3] from Operation: 15/5=3 Current State: 24:[70, 43, 3], Operations: ['15/5=3'] Exploring Operation: 70-43=27, Resulting Numbers: [3, 27] Generated Node #3: [3, 27] from Operation: 70-43=27 Current State: 24:[3, 27], Operations: ['15/5=3', '70-43=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[5, 15, 70, 43], Operations: [] Exploring Operation: 70-15=55, Resulting Numbers: [5, 43, 55] Generated Node #0,0: 24:[5, 43, 55] Operation: 70-15=55 Exploring Operation: 43-15=28, Resulting Numbers: [5, 70, 28] Generated Node #0,1: 24:[5, 70, 28] Operation: 43-15=28 Exploring Operation: 70-5=65, Resulting Numbers: [15, 43, 65] Generated Node #0,2: 24:[15, 43, 65] Operation: 70-5=65 Exploring Operation: 70-43=27, Resulting Numbers: [5, 15, 27] Generated Node #0,3: 24:[5, 15, 27] Operation: 70-43=27 Exploring Operation: 70/5=14, Resulting Numbers: [15, 43, 14] Generated Node #0,4: 24:[15, 43, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[5, 15, 27], Operations: ['70-43=27'] Exploring Operation: 15-5=10, Resulting Numbers: [27, 10] Generated Node #0,3,0: 24:[27, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [27, 3] Generated Node #0,3,1: 24:[27, 3] Operation: 15/5=3 Exploring Operation: 5+15=20, Resulting Numbers: [27, 20] Generated Node #0,3,2: 24:[27, 20] Operation: 5+15=20 Exploring Operation: 27-15=12, Resulting Numbers: [5, 12] Generated Node #0,3,3: 24:[5, 12] Operation: 27-15=12 Exploring Operation: 27-5=22, Resulting Numbers: [15, 22] Generated Node #0,3,4: 24:[15, 22] Operation: 27-5=22 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 24:[5, 12], Operations: ['70-43=27', '27-15=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,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,3,1 Current State: 24:[27, 3], Operations: ['70-43=27', '15/5=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,24 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[5, 15, 70, 43], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [5, 15, 27] Generated Node #0,3: 24:[5, 15, 27] Operation: 70-43=27 Moving to Node #0,3 Current State: 24:[5, 15, 27], Operations: ['70-43=27'] Exploring Operation: 15/5=3, Resulting Numbers: [27, 3] Generated Node #0,3,1: 24:[27, 3] Operation: 15/5=3 Moving to Node #0,3,1 Current State: 24:[27, 3], Operations: ['70-43=27', '15/5=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 60, 75, 14, 66 ]
83
[ "60+75=135", "66-14=52", "135-52=83" ]
Current State: 83:[60, 75, 14, 66], Operations: [] Exploring Operation: 60+75=135, Resulting Numbers: [14, 66, 135] Generated Node #2: [14, 66, 135] from Operation: 60+75=135 Current State: 83:[14, 66, 135], Operations: ['60+75=135'] Exploring Operation: 66-14=52, Resulting Numbers: [135, 52] Generated Node #3: [135, 52] from Operation: 66-14=52 Current State: 83:[135, 52], Operations: ['60+75=135', '66-14=52'] Exploring Operation: 135-52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[60, 75, 14, 66], Operations: [] Exploring Operation: 60+14=74, Resulting Numbers: [75, 66, 74] Generated Node #0,0: 83:[75, 66, 74] Operation: 60+14=74 Exploring Operation: 14+66=80, Resulting Numbers: [60, 75, 80] Generated Node #0,1: 83:[60, 75, 80] Operation: 14+66=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[75, 66, 74], Operations: ['60+14=74'] Exploring Operation: 66+74=140, Resulting Numbers: [75, 140] Generated Node #0,0,0: 83:[75, 140] Operation: 66+74=140 Exploring Operation: 75+66=141, Resulting Numbers: [74, 141] Generated Node #0,0,1: 83:[74, 141] Operation: 75+66=141 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[75, 140], Operations: ['60+14=74', '66+74=140'] Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 75+140=215, Resulting Numbers: [215] 215,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,1 Current State: 83:[74, 141], Operations: ['60+14=74', '75+66=141'] Exploring Operation: 141-74=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 74+141=215, Resulting Numbers: [215] 215,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:[60, 75, 80], Operations: ['14+66=80'] Exploring Operation: 60+80=140, Resulting Numbers: [75, 140] Generated Node #0,1,0: 83:[75, 140] Operation: 60+80=140 Exploring Operation: 60+75=135, Resulting Numbers: [80, 135] Generated Node #0,1,1: 83:[80, 135] Operation: 60+75=135 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[80, 135], Operations: ['14+66=80', '60+75=135'] Exploring Operation: 80+135=215, Resulting Numbers: [215] 215,83 unequal: No Solution Exploring Operation: 135-80=55, Resulting Numbers: [55] 55,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[75, 140], Operations: ['14+66=80', '60+80=140'] Exploring Operation: 140-75=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 75+140=215, Resulting Numbers: [215] 215,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 No solution found.
0
hs_2
mult_heuristic
[ 21, 92, 90, 7 ]
35
[ "21*7=147", "92+90=182", "182-147=35" ]
Current State: 35:[21, 92, 90, 7], Operations: [] Exploring Operation: 21*7=147, Resulting Numbers: [92, 90, 147] Generated Node #2: [92, 90, 147] from Operation: 21*7=147 Current State: 35:[92, 90, 147], Operations: ['21*7=147'] Exploring Operation: 92+90=182, Resulting Numbers: [147, 182] Generated Node #3: [147, 182] from Operation: 92+90=182 Current State: 35:[147, 182], Operations: ['21*7=147', '92+90=182'] Exploring Operation: 182-147=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[21, 92, 90, 7], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [92, 90, 3] Generated Node #0,0: 35:[92, 90, 3] Operation: 21/7=3 Exploring Operation: 90-21=69, Resulting Numbers: [92, 7, 69] Generated Node #0,1: 35:[92, 7, 69] Operation: 90-21=69 Exploring Operation: 92-21=71, Resulting Numbers: [90, 7, 71] Generated Node #0,2: 35:[90, 7, 71] Operation: 92-21=71 Exploring Operation: 92-90=2, Resulting Numbers: [21, 7, 2] Generated Node #0,3: 35:[21, 7, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[21, 7, 2], Operations: ['92-90=2'] Exploring Operation: 21+7=28, Resulting Numbers: [2, 28] Generated Node #0,3,0: 35:[2, 28] Operation: 21+7=28 Exploring Operation: 21*2=42, Resulting Numbers: [7, 42] Generated Node #0,3,1: 35:[7, 42] Operation: 21*2=42 Exploring Operation: 21-7=14, Resulting Numbers: [2, 14] Generated Node #0,3,2: 35:[2, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [2, 3] Generated Node #0,3,3: 35:[2, 3] Operation: 21/7=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[2, 3], Operations: ['92-90=2', '21/7=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[7, 42], Operations: ['92-90=2', '21*2=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[21, 92, 90, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [21, 7, 2] Generated Node #0,3: 35:[21, 7, 2] Operation: 92-90=2 Moving to Node #0,3 Current State: 35:[21, 7, 2], Operations: ['92-90=2'] Exploring Operation: 21*2=42, Resulting Numbers: [7, 42] Generated Node #0,3,1: 35:[7, 42] Operation: 21*2=42 Moving to Node #0,3,1 Current State: 35:[7, 42], Operations: ['92-90=2', '21*2=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 12, 15, 9, 55 ]
68
[ "12*9=108", "55-15=40", "108-40=68" ]
Current State: 68:[12, 15, 9, 55], Operations: [] Exploring Operation: 12*9=108, Resulting Numbers: [15, 55, 108] Generated Node #2: [15, 55, 108] from Operation: 12*9=108 Current State: 68:[15, 55, 108], Operations: ['12*9=108'] Exploring Operation: 55-15=40, Resulting Numbers: [108, 40] Generated Node #3: [108, 40] from Operation: 55-15=40 Current State: 68:[108, 40], Operations: ['12*9=108', '55-15=40'] Exploring Operation: 108-40=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[12, 15, 9, 55], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [15, 55, 3] Generated Node #0,0: 68:[15, 55, 3] Operation: 12-9=3 Exploring Operation: 55-12=43, Resulting Numbers: [15, 9, 43] Generated Node #0,1: 68:[15, 9, 43] Operation: 55-12=43 Exploring Operation: 9+55=64, Resulting Numbers: [12, 15, 64] Generated Node #0,2: 68:[12, 15, 64] Operation: 9+55=64 Exploring Operation: 12+55=67, Resulting Numbers: [15, 9, 67] Generated Node #0,3: 68:[15, 9, 67] Operation: 12+55=67 Exploring Operation: 15+55=70, Resulting Numbers: [12, 9, 70] Generated Node #0,4: 68:[12, 9, 70] Operation: 15+55=70 Moving to Node #0,3 Current State: 68:[15, 9, 67], Operations: ['12+55=67'] Exploring Operation: 15-9=6, Resulting Numbers: [67, 6] Generated Node #0,3,0: 68:[67, 6] Operation: 15-9=6 Exploring Operation: 9+67=76, Resulting Numbers: [15, 76] Generated Node #0,3,1: 68:[15, 76] Operation: 9+67=76 Exploring Operation: 15+67=82, Resulting Numbers: [9, 82] Generated Node #0,3,2: 68:[9, 82] Operation: 15+67=82 Exploring Operation: 67-9=58, Resulting Numbers: [15, 58] Generated Node #0,3,3: 68:[15, 58] Operation: 67-9=58 Exploring Operation: 15+9=24, Resulting Numbers: [67, 24] Generated Node #0,3,4: 68:[67, 24] Operation: 15+9=24 Moving to Node #0,2 Current State: 68:[12, 15, 64], Operations: ['9+55=64'] Exploring Operation: 64-12=52, Resulting Numbers: [15, 52] Generated Node #0,2,0: 68:[15, 52] Operation: 64-12=52 Exploring Operation: 15-12=3, Resulting Numbers: [64, 3] Generated Node #0,2,1: 68:[64, 3] Operation: 15-12=3 Exploring Operation: 12+64=76, Resulting Numbers: [15, 76] Generated Node #0,2,2: 68:[15, 76] Operation: 12+64=76 Exploring Operation: 15+64=79, Resulting Numbers: [12, 79] Generated Node #0,2,3: 68:[12, 79] Operation: 15+64=79 Exploring Operation: 12+15=27, Resulting Numbers: [64, 27] Generated Node #0,2,4: 68:[64, 27] Operation: 12+15=27 Moving to Node #0,4 Current State: 68:[12, 9, 70], Operations: ['15+55=70'] Exploring Operation: 70-9=61, Resulting Numbers: [12, 61] Generated Node #0,4,0: 68:[12, 61] Operation: 70-9=61 Exploring Operation: 12+9=21, Resulting Numbers: [70, 21] Generated Node #0,4,1: 68:[70, 21] Operation: 12+9=21 Exploring Operation: 9+70=79, Resulting Numbers: [12, 79] Generated Node #0,4,2: 68:[12, 79] Operation: 9+70=79 Exploring Operation: 12-9=3, Resulting Numbers: [70, 3] Generated Node #0,4,3: 68:[70, 3] Operation: 12-9=3 Exploring Operation: 70-12=58, Resulting Numbers: [9, 58] Generated Node #0,4,4: 68:[9, 58] Operation: 70-12=58 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[70, 3], Operations: ['15+55=70', '12-9=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,68 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 68:[70, 21], Operations: ['15+55=70', '12+9=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,68 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 68:[12, 61], Operations: ['15+55=70', '70-9=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,68 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 68:[9, 58], Operations: ['15+55=70', '70-12=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 68:[12, 79], Operations: ['15+55=70', '9+70=79'] Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,68 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,68 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: 68:[15, 55, 3], Operations: ['12-9=3'] Exploring Operation: 15+55=70, Resulting Numbers: [3, 70] Generated Node #0,0,0: 68:[3, 70] Operation: 15+55=70 Exploring Operation: 15+3=18, Resulting Numbers: [55, 18] Generated Node #0,0,1: 68:[55, 18] Operation: 15+3=18 Exploring Operation: 55-15=40, Resulting Numbers: [3, 40] Generated Node #0,0,2: 68:[3, 40] Operation: 55-15=40 Exploring Operation: 55+3=58, Resulting Numbers: [15, 58] Generated Node #0,0,3: 68:[15, 58] Operation: 55+3=58 Exploring Operation: 15/3=5, Resulting Numbers: [55, 5] Generated Node #0,0,4: 68:[55, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[3, 70], Operations: ['12-9=3', '15+55=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,68 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[3, 40], Operations: ['12-9=3', '55-15=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[15, 58], Operations: ['12-9=3', '55+3=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[55, 18], Operations: ['12-9=3', '15+3=18'] Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,68 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 68:[55, 5], Operations: ['12-9=3', '15/3=5'] Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,68 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[15, 9, 43], Operations: ['55-12=43'] Exploring Operation: 15-9=6, Resulting Numbers: [43, 6] Generated Node #0,1,0: 68:[43, 6] Operation: 15-9=6 Exploring Operation: 43-9=34, Resulting Numbers: [15, 34] Generated Node #0,1,1: 68:[15, 34] Operation: 43-9=34 Exploring Operation: 43-15=28, Resulting Numbers: [9, 28] Generated Node #0,1,2: 68:[9, 28] Operation: 43-15=28 Exploring Operation: 15+9=24, Resulting Numbers: [43, 24] Generated Node #0,1,3: 68:[43, 24] Operation: 15+9=24 Exploring Operation: 15+43=58, Resulting Numbers: [9, 58] Generated Node #0,1,4: 68:[9, 58] Operation: 15+43=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[15, 34], Operations: ['55-12=43', '43-9=34'] Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,68 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[43, 6], Operations: ['55-12=43', '15-9=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,68 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[9, 28], Operations: ['55-12=43', '43-15=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,68 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 68:[9, 58], Operations: ['55-12=43', '15+43=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[43, 24], Operations: ['55-12=43', '15+9=24'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,68 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: 68:[67, 6], Operations: ['12+55=67', '15-9=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[64, 3], Operations: ['9+55=64', '15-12=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,68 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[67, 24], Operations: ['12+55=67', '15+9=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,68 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[15, 76], Operations: ['9+55=64', '12+64=76'] Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,68 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[15, 76], Operations: ['12+55=67', '9+67=76'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[64, 27], Operations: ['9+55=64', '12+15=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,68 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[15, 58], Operations: ['12+55=67', '67-9=58'] Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,68 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[12, 79], Operations: ['9+55=64', '15+64=79'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 12*79=948, Resulting Numbers: [948] 948,68 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[15, 52], Operations: ['9+55=64', '64-12=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,68 unequal: No Solution Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[9, 82], Operations: ['12+55=67', '15+67=82'] Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,68 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,68 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,68 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 8, 65, 51, 2 ]
36
[ "65-51=14", "2*14=28", "8+28=36" ]
Current State: 36:[8, 65, 51, 2], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [8, 2, 14] Generated Node #2: [8, 2, 14] from Operation: 65-51=14 Current State: 36:[8, 2, 14], Operations: ['65-51=14'] Exploring Operation: 2*14=28, Resulting Numbers: [8, 28] Generated Node #3: [8, 28] from Operation: 2*14=28 Current State: 36:[8, 28], Operations: ['65-51=14', '2*14=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[8, 65, 51, 2], Operations: [] Exploring Operation: 65-8=57, Resulting Numbers: [51, 2, 57] Generated Node #0,0: 36:[51, 2, 57] Operation: 65-8=57 Exploring Operation: 65-2=63, Resulting Numbers: [8, 51, 63] Generated Node #0,1: 36:[8, 51, 63] Operation: 65-2=63 Exploring Operation: 65-51=14, Resulting Numbers: [8, 2, 14] Generated Node #0,2: 36:[8, 2, 14] Operation: 65-51=14 Exploring Operation: 51-8=43, Resulting Numbers: [65, 2, 43] Generated Node #0,3: 36:[65, 2, 43] Operation: 51-8=43 Moving to Node #0,2 Current State: 36:[8, 2, 14], Operations: ['65-51=14'] Exploring Operation: 14-2=12, Resulting Numbers: [8, 12] Generated Node #0,2,0: 36:[8, 12] Operation: 14-2=12 Exploring Operation: 14-8=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 36:[2, 6] Operation: 14-8=6 Exploring Operation: 8-2=6, Resulting Numbers: [14, 6] Generated Node #0,2,2: 36:[14, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [14, 4] Generated Node #0,2,3: 36:[14, 4] Operation: 8/2=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[2, 6], Operations: ['65-51=14', '14-8=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,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:[8, 12], Operations: ['65-51=14', '14-2=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,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,2 Current State: 36:[14, 6], Operations: ['65-51=14', '8-2=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,36 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,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:[14, 4], Operations: ['65-51=14', '8/2=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,36 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: 36:[65, 2, 43], Operations: ['51-8=43'] Exploring Operation: 65+2=67, Resulting Numbers: [43, 67] Generated Node #0,3,0: 36:[43, 67] Operation: 65+2=67 Exploring Operation: 65-2=63, Resulting Numbers: [43, 63] Generated Node #0,3,1: 36:[43, 63] Operation: 65-2=63 Exploring Operation: 65-43=22, Resulting Numbers: [2, 22] Generated Node #0,3,2: 36:[2, 22] Operation: 65-43=22 Exploring Operation: 43-2=41, Resulting Numbers: [65, 41] Generated Node #0,3,3: 36:[65, 41] Operation: 43-2=41 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[2, 22], Operations: ['51-8=43', '65-43=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,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,3,1 Current State: 36:[43, 63], Operations: ['51-8=43', '65-2=63'] Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,36 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,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,3,3 Current State: 36:[65, 41], Operations: ['51-8=43', '43-2=41'] Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,36 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,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,3,0 Current State: 36:[43, 67], Operations: ['51-8=43', '65+2=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,36 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,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:[51, 2, 57], Operations: ['65-8=57'] Exploring Operation: 57-51=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 36:[2, 6] Operation: 57-51=6 Exploring Operation: 57-2=55, Resulting Numbers: [51, 55] Generated Node #0,0,1: 36:[51, 55] Operation: 57-2=55 Exploring Operation: 51-2=49, Resulting Numbers: [57, 49] Generated Node #0,0,2: 36:[57, 49] Operation: 51-2=49 Exploring Operation: 51+2=53, Resulting Numbers: [57, 53] Generated Node #0,0,3: 36:[57, 53] Operation: 51+2=53 Moving to Node #0,1 Current State: 36:[8, 51, 63], Operations: ['65-2=63'] Exploring Operation: 63-8=55, Resulting Numbers: [51, 55] Generated Node #0,1,0: 36:[51, 55] Operation: 63-8=55 Exploring Operation: 8+51=59, Resulting Numbers: [63, 59] Generated Node #0,1,1: 36:[63, 59] Operation: 8+51=59 Exploring Operation: 51-8=43, Resulting Numbers: [63, 43] Generated Node #0,1,2: 36:[63, 43] Operation: 51-8=43 Exploring Operation: 63-51=12, Resulting Numbers: [8, 12] Generated Node #0,1,3: 36:[8, 12] Operation: 63-51=12 Moving to Node #0,0,0 Current State: 36:[2, 6], Operations: ['65-8=57', '57-51=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[8, 12], Operations: ['65-2=63', '63-51=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[57, 49], Operations: ['65-8=57', '51-2=49'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,36 unequal: No Solution Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[51, 55], Operations: ['65-2=63', '63-8=55'] Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,36 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,36 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[63, 43], Operations: ['65-2=63', '51-8=43'] Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,36 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[51, 55], Operations: ['65-8=57', '57-2=55'] Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,36 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[57, 53], Operations: ['65-8=57', '51+2=53'] Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,36 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[63, 59], Operations: ['65-2=63', '8+51=59'] Exploring Operation: 63*59=3717, Resulting Numbers: [3717] 3717,36 unequal: No Solution Exploring Operation: 63+59=122, Resulting Numbers: [122] 122,36 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,36 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 73, 35, 87 ]
23
[ "2+73=75", "87-35=52", "75-52=23" ]
Current State: 23:[2, 73, 35, 87], Operations: [] Exploring Operation: 2+73=75, Resulting Numbers: [35, 87, 75] Generated Node #2: [35, 87, 75] from Operation: 2+73=75 Current State: 23:[35, 87, 75], Operations: ['2+73=75'] Exploring Operation: 87-35=52, Resulting Numbers: [75, 52] Generated Node #3: [75, 52] from Operation: 87-35=52 Current State: 23:[75, 52], Operations: ['2+73=75', '87-35=52'] Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[2, 73, 35, 87], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [2, 73, 52] Generated Node #0,0: 23:[2, 73, 52] Operation: 87-35=52 Exploring Operation: 87-73=14, Resulting Numbers: [2, 35, 14] Generated Node #0,1: 23:[2, 35, 14] Operation: 87-73=14 Exploring Operation: 35-2=33, Resulting Numbers: [73, 87, 33] Generated Node #0,2: 23:[73, 87, 33] Operation: 35-2=33 Exploring Operation: 73-2=71, Resulting Numbers: [35, 87, 71] Generated Node #0,3: 23:[35, 87, 71] Operation: 73-2=71 Exploring Operation: 73-35=38, Resulting Numbers: [2, 87, 38] Generated Node #0,4: 23:[2, 87, 38] Operation: 73-35=38 Moving to Node #0,1 Current State: 23:[2, 35, 14], Operations: ['87-73=14'] Exploring Operation: 35-2=33, Resulting Numbers: [14, 33] Generated Node #0,1,0: 23:[14, 33] Operation: 35-2=33 Exploring Operation: 2*14=28, Resulting Numbers: [35, 28] Generated Node #0,1,1: 23:[35, 28] Operation: 2*14=28 Exploring Operation: 14-2=12, Resulting Numbers: [35, 12] Generated Node #0,1,2: 23:[35, 12] Operation: 14-2=12 Exploring Operation: 2+35=37, Resulting Numbers: [14, 37] Generated Node #0,1,3: 23:[14, 37] Operation: 2+35=37 Exploring Operation: 2+14=16, Resulting Numbers: [35, 16] Generated Node #0,1,4: 23:[35, 16] Operation: 2+14=16 Moving to Node #0,4 Current State: 23:[2, 87, 38], Operations: ['73-35=38'] Exploring Operation: 87-38=49, Resulting Numbers: [2, 49] Generated Node #0,4,0: 23:[2, 49] Operation: 87-38=49 Exploring Operation: 38-2=36, Resulting Numbers: [87, 36] Generated Node #0,4,1: 23:[87, 36] Operation: 38-2=36 Exploring Operation: 2+87=89, Resulting Numbers: [38, 89] Generated Node #0,4,2: 23:[38, 89] Operation: 2+87=89 Exploring Operation: 87-2=85, Resulting Numbers: [38, 85] Generated Node #0,4,3: 23:[38, 85] Operation: 87-2=85 Exploring Operation: 38/2=19, Resulting Numbers: [87, 19] Generated Node #0,4,4: 23:[87, 19] Operation: 38/2=19 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 23:[2, 49], Operations: ['73-35=38', '87-38=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,23 unequal: No Solution No 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: 23:[87, 19], Operations: ['73-35=38', '38/2=19'] Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,23 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,23 unequal: No Solution Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,23 unequal: No Solution No 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: 23:[87, 36], Operations: ['73-35=38', '38-2=36'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 87*36=3132, Resulting Numbers: [3132] 3132,23 unequal: No Solution Exploring Operation: 87+36=123, Resulting Numbers: [123] 123,23 unequal: No Solution No 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: 23:[38, 85], Operations: ['73-35=38', '87-2=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 38*85=3230, Resulting Numbers: [3230] 3230,23 unequal: No Solution Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 23:[38, 89], Operations: ['73-35=38', '2+87=89'] Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 38+89=127, Resulting Numbers: [127] 127,23 unequal: No Solution Exploring Operation: 38*89=3382, Resulting Numbers: [3382] 3382,23 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: 23:[2, 73, 52], Operations: ['87-35=52'] Exploring Operation: 2+73=75, Resulting Numbers: [52, 75] Generated Node #0,0,0: 23:[52, 75] Operation: 2+73=75 Exploring Operation: 73-2=71, Resulting Numbers: [52, 71] Generated Node #0,0,1: 23:[52, 71] Operation: 73-2=71 Exploring Operation: 52-2=50, Resulting Numbers: [73, 50] Generated Node #0,0,2: 23:[73, 50] Operation: 52-2=50 Exploring Operation: 73-52=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 23:[2, 21] Operation: 73-52=21 Exploring Operation: 52/2=26, Resulting Numbers: [73, 26] Generated Node #0,0,4: 23:[73, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[2, 21], Operations: ['87-35=52', '73-52=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[2, 73, 35, 87], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [2, 73, 52] Generated Node #0,0: 23:[2, 73, 52] Operation: 87-35=52 Moving to Node #0,0 Current State: 23:[2, 73, 52], Operations: ['87-35=52'] Exploring Operation: 73-52=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 23:[2, 21] Operation: 73-52=21 Moving to Node #0,0,3 Current State: 23:[2, 21], Operations: ['87-35=52', '73-52=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 63, 95, 57, 18 ]
33
[ "95*18=1710", "1710/57=30", "63-30=33" ]
Current State: 33:[63, 95, 57, 18], Operations: [] Exploring Operation: 95*18=1710, Resulting Numbers: [63, 57, 1710] Generated Node #2: [63, 57, 1710] from Operation: 95*18=1710 Current State: 33:[63, 57, 1710], Operations: ['95*18=1710'] Exploring Operation: 1710/57=30, Resulting Numbers: [63, 30] Generated Node #3: [63, 30] from Operation: 1710/57=30 Current State: 33:[63, 30], Operations: ['95*18=1710', '1710/57=30'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[63, 95, 57, 18], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [57, 18, 32] Generated Node #0,0: 33:[57, 18, 32] Operation: 95-63=32 Exploring Operation: 95-57=38, Resulting Numbers: [63, 18, 38] Generated Node #0,1: 33:[63, 18, 38] Operation: 95-57=38 Exploring Operation: 63-18=45, Resulting Numbers: [95, 57, 45] Generated Node #0,2: 33:[95, 57, 45] Operation: 63-18=45 Exploring Operation: 63-57=6, Resulting Numbers: [95, 18, 6] Generated Node #0,3: 33:[95, 18, 6] Operation: 63-57=6 Moving to Node #0,0 Current State: 33:[57, 18, 32], Operations: ['95-63=32'] Exploring Operation: 57-18=39, Resulting Numbers: [32, 39] Generated Node #0,0,0: 33:[32, 39] Operation: 57-18=39 Exploring Operation: 18+32=50, Resulting Numbers: [57, 50] Generated Node #0,0,1: 33:[57, 50] Operation: 18+32=50 Exploring Operation: 32-18=14, Resulting Numbers: [57, 14] Generated Node #0,0,2: 33:[57, 14] Operation: 32-18=14 Exploring Operation: 57-32=25, Resulting Numbers: [18, 25] Generated Node #0,0,3: 33:[18, 25] Operation: 57-32=25 Moving to Node #0,1 Current State: 33:[63, 18, 38], Operations: ['95-57=38'] Exploring Operation: 38-18=20, Resulting Numbers: [63, 20] Generated Node #0,1,0: 33:[63, 20] Operation: 38-18=20 Exploring Operation: 63+18=81, Resulting Numbers: [38, 81] Generated Node #0,1,1: 33:[38, 81] Operation: 63+18=81 Exploring Operation: 63-18=45, Resulting Numbers: [38, 45] Generated Node #0,1,2: 33:[38, 45] Operation: 63-18=45 Exploring Operation: 63-38=25, Resulting Numbers: [18, 25] Generated Node #0,1,3: 33:[18, 25] Operation: 63-38=25 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[18, 25], Operations: ['95-57=38', '63-38=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,33 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,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,2 Current State: 33:[38, 45], Operations: ['95-57=38', '63-18=45'] Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,33 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,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,0 Current State: 33:[63, 20], Operations: ['95-57=38', '38-18=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,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,1 Current State: 33:[38, 81], Operations: ['95-57=38', '63+18=81'] Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,33 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,33 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: 33:[95, 18, 6], Operations: ['63-57=6'] Exploring Operation: 95-6=89, Resulting Numbers: [18, 89] Generated Node #0,3,0: 33:[18, 89] Operation: 95-6=89 Exploring Operation: 95-18=77, Resulting Numbers: [6, 77] Generated Node #0,3,1: 33:[6, 77] Operation: 95-18=77 Exploring Operation: 18/6=3, Resulting Numbers: [95, 3] Generated Node #0,3,2: 33:[95, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [95, 12] Generated Node #0,3,3: 33:[95, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[6, 77], Operations: ['63-57=6', '95-18=77'] Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,33 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,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,3,2 Current State: 33:[95, 3], Operations: ['63-57=6', '18/6=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,33 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,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,3,0 Current State: 33:[18, 89], Operations: ['63-57=6', '95-6=89'] Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,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,3,3 Current State: 33:[95, 12], Operations: ['63-57=6', '18-6=12'] Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,33 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,33 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: 33:[95, 57, 45], Operations: ['63-18=45'] Exploring Operation: 57-45=12, Resulting Numbers: [95, 12] Generated Node #0,2,0: 33:[95, 12] Operation: 57-45=12 Exploring Operation: 95-57=38, Resulting Numbers: [45, 38] Generated Node #0,2,1: 33:[45, 38] Operation: 95-57=38 Exploring Operation: 95-45=50, Resulting Numbers: [57, 50] Generated Node #0,2,2: 33:[57, 50] Operation: 95-45=50 Exploring Operation: 95+57=152, Resulting Numbers: [45, 152] Generated Node #0,2,3: 33:[45, 152] Operation: 95+57=152 Moving to Node #0,0,0 Current State: 33:[32, 39], Operations: ['95-63=32', '57-18=39'] Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,33 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[18, 25], Operations: ['95-63=32', '57-32=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[45, 38], Operations: ['63-18=45', '95-57=38'] Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,33 unequal: No Solution Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[57, 14], Operations: ['95-63=32', '32-18=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,33 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[57, 50], Operations: ['63-18=45', '95-45=50'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[57, 50], Operations: ['95-63=32', '18+32=50'] Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,33 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[95, 12], Operations: ['63-18=45', '57-45=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,33 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,33 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[45, 152], Operations: ['63-18=45', '95+57=152'] Exploring Operation: 45+152=197, Resulting Numbers: [197] 197,33 unequal: No Solution Exploring Operation: 152-45=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 45*152=6840, Resulting Numbers: [6840] 6840,33 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 82, 29, 94, 8 ]
12
[ "29+94=123", "8*123=984", "984/82=12" ]
Current State: 12:[82, 29, 94, 8], Operations: [] Exploring Operation: 29+94=123, Resulting Numbers: [82, 8, 123] Generated Node #2: [82, 8, 123] from Operation: 29+94=123 Current State: 12:[82, 8, 123], Operations: ['29+94=123'] Exploring Operation: 8*123=984, Resulting Numbers: [82, 984] Generated Node #3: [82, 984] from Operation: 8*123=984 Current State: 12:[82, 984], Operations: ['29+94=123', '8*123=984'] Exploring Operation: 984/82=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[82, 29, 94, 8], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [29, 94, 74] Generated Node #0,0: 12:[29, 94, 74] Operation: 82-8=74 Exploring Operation: 82-29=53, Resulting Numbers: [94, 8, 53] Generated Node #0,1: 12:[94, 8, 53] Operation: 82-29=53 Exploring Operation: 94-82=12, Resulting Numbers: [29, 8, 12] Generated Node #0,2: 12:[29, 8, 12] Operation: 94-82=12 Exploring Operation: 29-8=21, Resulting Numbers: [82, 94, 21] Generated Node #0,3: 12:[82, 94, 21] Operation: 29-8=21 Exploring Operation: 94-29=65, Resulting Numbers: [82, 8, 65] Generated Node #0,4: 12:[82, 8, 65] Operation: 94-29=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[29, 8, 12], Operations: ['94-82=12'] Exploring Operation: 8+12=20, Resulting Numbers: [29, 20] Generated Node #0,2,0: 12:[29, 20] Operation: 8+12=20 Exploring Operation: 29-12=17, Resulting Numbers: [8, 17] Generated Node #0,2,1: 12:[8, 17] Operation: 29-12=17 Exploring Operation: 29-8=21, Resulting Numbers: [12, 21] Generated Node #0,2,2: 12:[12, 21] Operation: 29-8=21 Exploring Operation: 12-8=4, Resulting Numbers: [29, 4] Generated Node #0,2,3: 12:[29, 4] Operation: 12-8=4 Exploring Operation: 29+8=37, Resulting Numbers: [12, 37] Generated Node #0,2,4: 12:[12, 37] Operation: 29+8=37 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[8, 17], Operations: ['94-82=12', '29-12=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,12 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[12, 21], Operations: ['94-82=12', '29-8=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[29, 4], Operations: ['94-82=12', '12-8=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[29, 20], Operations: ['94-82=12', '8+12=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,12 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[12, 37], Operations: ['94-82=12', '29+8=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[94, 8, 53], Operations: ['82-29=53'] Exploring Operation: 94-53=41, Resulting Numbers: [8, 41] Generated Node #0,1,0: 12:[8, 41] Operation: 94-53=41 Exploring Operation: 8+53=61, Resulting Numbers: [94, 61] Generated Node #0,1,1: 12:[94, 61] Operation: 8+53=61 Exploring Operation: 53-8=45, Resulting Numbers: [94, 45] Generated Node #0,1,2: 12:[94, 45] Operation: 53-8=45 Exploring Operation: 94+8=102, Resulting Numbers: [53, 102] Generated Node #0,1,3: 12:[53, 102] Operation: 94+8=102 Exploring Operation: 94-8=86, Resulting Numbers: [53, 86] Generated Node #0,1,4: 12:[53, 86] Operation: 94-8=86 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[8, 41], Operations: ['82-29=53', '94-53=41'] Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,12 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[94, 45], Operations: ['82-29=53', '53-8=45'] Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,12 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 12:[53, 86], Operations: ['82-29=53', '94-8=86'] Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,12 unequal: No Solution Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[94, 61], Operations: ['82-29=53', '8+53=61'] Exploring Operation: 94+61=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 94*61=5734, Resulting Numbers: [5734] 5734,12 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[53, 102], Operations: ['82-29=53', '94+8=102'] Exploring Operation: 53*102=5406, Resulting Numbers: [5406] 5406,12 unequal: No Solution Exploring Operation: 102-53=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 53+102=155, Resulting Numbers: [155] 155,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[82, 8, 65], Operations: ['94-29=65'] Exploring Operation: 82-65=17, Resulting Numbers: [8, 17] Generated Node #0,4,0: 12:[8, 17] Operation: 82-65=17 Exploring Operation: 65-8=57, Resulting Numbers: [82, 57] Generated Node #0,4,1: 12:[82, 57] Operation: 65-8=57 Exploring Operation: 82+8=90, Resulting Numbers: [65, 90] Generated Node #0,4,2: 12:[65, 90] Operation: 82+8=90 Exploring Operation: 82-8=74, Resulting Numbers: [65, 74] Generated Node #0,4,3: 12:[65, 74] Operation: 82-8=74 Exploring Operation: 8+65=73, Resulting Numbers: [82, 73] Generated Node #0,4,4: 12:[82, 73] Operation: 8+65=73 Moving to Node #0,4,0 Current State: 12:[8, 17], Operations: ['94-29=65', '82-65=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,12 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[65, 74], Operations: ['94-29=65', '82-8=74'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 65*74=4810, Resulting Numbers: [4810] 4810,12 unequal: No Solution Exploring Operation: 65+74=139, Resulting Numbers: [139] 139,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[82, 57], Operations: ['94-29=65', '65-8=57'] Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,12 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,12 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[65, 90], Operations: ['94-29=65', '82+8=90'] Exploring Operation: 65+90=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 65*90=5850, Resulting Numbers: [5850] 5850,12 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[82, 73], Operations: ['94-29=65', '8+65=73'] Exploring Operation: 82*73=5986, Resulting Numbers: [5986] 5986,12 unequal: No Solution Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 82+73=155, Resulting Numbers: [155] 155,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[29, 94, 74], Operations: ['82-8=74'] Exploring Operation: 94-29=65, Resulting Numbers: [74, 65] Generated Node #0,0,0: 12:[74, 65] Operation: 94-29=65 Exploring Operation: 29+74=103, Resulting Numbers: [94, 103] Generated Node #0,0,1: 12:[94, 103] Operation: 29+74=103 Exploring Operation: 94-74=20, Resulting Numbers: [29, 20] Generated Node #0,0,2: 12:[29, 20] Operation: 94-74=20 Exploring Operation: 29+94=123, Resulting Numbers: [74, 123] Generated Node #0,0,3: 12:[74, 123] Operation: 29+94=123 Exploring Operation: 74-29=45, Resulting Numbers: [94, 45] Generated Node #0,0,4: 12:[94, 45] Operation: 74-29=45 Moving to Node #0,0,2 Current State: 12:[29, 20], Operations: ['82-8=74', '94-74=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,12 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[94, 45], Operations: ['82-8=74', '74-29=45'] Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,12 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[74, 65], Operations: ['82-8=74', '94-29=65'] Exploring Operation: 74-65=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 74*65=4810, Resulting Numbers: [4810] 4810,12 unequal: No Solution Exploring Operation: 74+65=139, Resulting Numbers: [139] 139,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[94, 103], Operations: ['82-8=74', '29+74=103'] Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,12 unequal: No Solution Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[74, 123], Operations: ['82-8=74', '29+94=123'] Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,12 unequal: No Solution Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,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,3 Current State: 12:[82, 94, 21], Operations: ['29-8=21'] Exploring Operation: 82+21=103, Resulting Numbers: [94, 103] Generated Node #0,3,0: 12:[94, 103] Operation: 82+21=103 Exploring Operation: 82-21=61, Resulting Numbers: [94, 61] Generated Node #0,3,1: 12:[94, 61] Operation: 82-21=61 Exploring Operation: 94-82=12, Resulting Numbers: [21, 12] Generated Node #0,3,2: 12:[21, 12] Operation: 94-82=12 Exploring Operation: 82+94=176, Resulting Numbers: [21, 176] Generated Node #0,3,3: 12:[21, 176] Operation: 82+94=176 Exploring Operation: 94-21=73, Resulting Numbers: [82, 73] Generated Node #0,3,4: 12:[82, 73] Operation: 94-21=73 Moving to Node #0,3,2 Current State: 12:[21, 12], Operations: ['29-8=21', '94-82=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[82, 73], Operations: ['29-8=21', '94-21=73'] Exploring Operation: 82+73=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 82*73=5986, Resulting Numbers: [5986] 5986,12 unequal: No Solution Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[94, 61], Operations: ['29-8=21', '82-21=61'] Exploring Operation: 94+61=155, Resulting Numbers: [155] 155,12 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 94*61=5734, Resulting Numbers: [5734] 5734,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[94, 103], Operations: ['29-8=21', '82+21=103'] Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,12 unequal: No Solution Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[21, 176], Operations: ['29-8=21', '82+94=176'] Exploring Operation: 21+176=197, Resulting Numbers: [197] 197,12 unequal: No Solution Exploring Operation: 21*176=3696, Resulting Numbers: [3696] 3696,12 unequal: No Solution Exploring Operation: 176-21=155, Resulting Numbers: [155] 155,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 26, 12, 86, 83 ]
90
[ "86-83=3", "26*3=78", "12+78=90" ]
Current State: 90:[26, 12, 86, 83], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [26, 12, 3] Generated Node #2: [26, 12, 3] from Operation: 86-83=3 Current State: 90:[26, 12, 3], Operations: ['86-83=3'] Exploring Operation: 26*3=78, Resulting Numbers: [12, 78] Generated Node #3: [12, 78] from Operation: 26*3=78 Current State: 90:[12, 78], Operations: ['86-83=3', '26*3=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[26, 12, 86, 83], Operations: [] Exploring Operation: 12+83=95, Resulting Numbers: [26, 86, 95] Generated Node #0,0: 90:[26, 86, 95] Operation: 12+83=95 Exploring Operation: 26-12=14, Resulting Numbers: [86, 83, 14] Generated Node #0,1: 90:[86, 83, 14] Operation: 26-12=14 Exploring Operation: 26+12=38, Resulting Numbers: [86, 83, 38] Generated Node #0,2: 90:[86, 83, 38] Operation: 26+12=38 Exploring Operation: 86-83=3, Resulting Numbers: [26, 12, 3] Generated Node #0,3: 90:[26, 12, 3] Operation: 86-83=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[26, 12, 3], Operations: ['86-83=3'] Exploring Operation: 26+3=29, Resulting Numbers: [12, 29] Generated Node #0,3,0: 90:[12, 29] Operation: 26+3=29 Exploring Operation: 26-12=14, Resulting Numbers: [3, 14] Generated Node #0,3,1: 90:[3, 14] Operation: 26-12=14 Exploring Operation: 12-3=9, Resulting Numbers: [26, 9] Generated Node #0,3,2: 90:[26, 9] Operation: 12-3=9 Exploring Operation: 12+3=15, Resulting Numbers: [26, 15] Generated Node #0,3,3: 90:[26, 15] Operation: 12+3=15 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 90:[3, 14], Operations: ['86-83=3', '26-12=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 90:[12, 29], Operations: ['86-83=3', '26+3=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,90 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 90:[26, 9], Operations: ['86-83=3', '12-3=9'] Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 90:[26, 15], Operations: ['86-83=3', '12+3=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,90 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,90 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: 90:[86, 83, 14], Operations: ['26-12=14'] Exploring Operation: 86-14=72, Resulting Numbers: [83, 72] Generated Node #0,1,0: 90:[83, 72] Operation: 86-14=72 Exploring Operation: 86+14=100, Resulting Numbers: [83, 100] Generated Node #0,1,1: 90:[83, 100] Operation: 86+14=100 Exploring Operation: 83+14=97, Resulting Numbers: [86, 97] Generated Node #0,1,2: 90:[86, 97] Operation: 83+14=97 Exploring Operation: 86-83=3, Resulting Numbers: [14, 3] Generated Node #0,1,3: 90:[14, 3] Operation: 86-83=3 Moving to Node #0,1,3 Current State: 90:[14, 3], Operations: ['26-12=14', '86-83=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[86, 97], Operations: ['26-12=14', '83+14=97'] Exploring Operation: 86*97=8342, Resulting Numbers: [8342] 8342,90 unequal: No Solution Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 86+97=183, Resulting Numbers: [183] 183,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[83, 100], Operations: ['26-12=14', '86+14=100'] Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,90 unequal: No Solution Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[83, 72], Operations: ['26-12=14', '86-14=72'] Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,90 unequal: No Solution Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[26, 86, 95], Operations: ['12+83=95'] Exploring Operation: 95-86=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 90:[26, 9] Operation: 95-86=9 Exploring Operation: 86-26=60, Resulting Numbers: [95, 60] Generated Node #0,0,1: 90:[95, 60] Operation: 86-26=60 Exploring Operation: 95-26=69, Resulting Numbers: [86, 69] Generated Node #0,0,2: 90:[86, 69] Operation: 95-26=69 Exploring Operation: 26+86=112, Resulting Numbers: [95, 112] Generated Node #0,0,3: 90:[95, 112] Operation: 26+86=112 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[26, 9], Operations: ['12+83=95', '95-86=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[95, 60], Operations: ['12+83=95', '86-26=60'] Exploring Operation: 95+60=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 95*60=5700, Resulting Numbers: [5700] 5700,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[86, 69], Operations: ['12+83=95', '95-26=69'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,90 unequal: No Solution Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[95, 112], Operations: ['12+83=95', '26+86=112'] Exploring Operation: 95*112=10640, Resulting Numbers: [10640] 10640,90 unequal: No Solution Exploring Operation: 95+112=207, Resulting Numbers: [207] 207,90 unequal: No Solution Exploring Operation: 112-95=17, Resulting Numbers: [17] 17,90 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: 90:[86, 83, 38], Operations: ['26+12=38'] Exploring Operation: 86-38=48, Resulting Numbers: [83, 48] Generated Node #0,2,0: 90:[83, 48] Operation: 86-38=48 Exploring Operation: 86-83=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 90:[38, 3] Operation: 86-83=3 Exploring Operation: 83+38=121, Resulting Numbers: [86, 121] Generated Node #0,2,2: 90:[86, 121] Operation: 83+38=121 Exploring Operation: 83-38=45, Resulting Numbers: [86, 45] Generated Node #0,2,3: 90:[86, 45] Operation: 83-38=45 Moving to Node #0,2,3 Current State: 90:[86, 45], Operations: ['26+12=38', '83-38=45'] Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,90 unequal: No Solution Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[38, 3], Operations: ['26+12=38', '86-83=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,90 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[83, 48], Operations: ['26+12=38', '86-38=48'] Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,90 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[86, 121], Operations: ['26+12=38', '83+38=121'] Exploring Operation: 86*121=10406, Resulting Numbers: [10406] 10406,90 unequal: No Solution Exploring Operation: 121-86=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 86+121=207, Resulting Numbers: [207] 207,90 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
[ 33, 26, 42, 30 ]
12
[ "33-30=3", "42/3=14", "26-14=12" ]
Current State: 12:[33, 26, 42, 30], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [26, 42, 3] Generated Node #2: [26, 42, 3] from Operation: 33-30=3 Current State: 12:[26, 42, 3], Operations: ['33-30=3'] Exploring Operation: 42/3=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 42/3=14 Current State: 12:[26, 14], Operations: ['33-30=3', '42/3=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[33, 26, 42, 30], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [42, 30, 7] Generated Node #0,0: 12:[42, 30, 7] Operation: 33-26=7 Exploring Operation: 42-30=12, Resulting Numbers: [33, 26, 12] Generated Node #0,1: 12:[33, 26, 12] Operation: 42-30=12 Exploring Operation: 42-26=16, Resulting Numbers: [33, 30, 16] Generated Node #0,2: 12:[33, 30, 16] Operation: 42-26=16 Exploring Operation: 42-33=9, Resulting Numbers: [26, 30, 9] Generated Node #0,3: 12:[26, 30, 9] Operation: 42-33=9 Exploring Operation: 33-30=3, Resulting Numbers: [26, 42, 3] Generated Node #0,4: 12:[26, 42, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[33, 26, 12], Operations: ['42-30=12'] Exploring Operation: 26-12=14, Resulting Numbers: [33, 14] Generated Node #0,1,0: 12:[33, 14] Operation: 26-12=14 Exploring Operation: 33+12=45, Resulting Numbers: [26, 45] Generated Node #0,1,1: 12:[26, 45] Operation: 33+12=45 Exploring Operation: 33-12=21, Resulting Numbers: [26, 21] Generated Node #0,1,2: 12:[26, 21] Operation: 33-12=21 Exploring Operation: 33-26=7, Resulting Numbers: [12, 7] Generated Node #0,1,3: 12:[12, 7] Operation: 33-26=7 Exploring Operation: 33+26=59, Resulting Numbers: [12, 59] Generated Node #0,1,4: 12:[12, 59] Operation: 33+26=59 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 12:[12, 7], Operations: ['42-30=12', '33-26=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,12 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[33, 14], Operations: ['42-30=12', '26-12=14'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,12 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[26, 21], Operations: ['42-30=12', '33-12=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,12 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[26, 45], Operations: ['42-30=12', '33+12=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,12 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 12:[12, 59], Operations: ['42-30=12', '33+26=59'] Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,12 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[26, 30, 9], Operations: ['42-33=9'] Exploring Operation: 30-9=21, Resulting Numbers: [26, 21] Generated Node #0,3,0: 12:[26, 21] Operation: 30-9=21 Exploring Operation: 30+9=39, Resulting Numbers: [26, 39] Generated Node #0,3,1: 12:[26, 39] Operation: 30+9=39 Exploring Operation: 26-9=17, Resulting Numbers: [30, 17] Generated Node #0,3,2: 12:[30, 17] Operation: 26-9=17 Exploring Operation: 30-26=4, Resulting Numbers: [9, 4] Generated Node #0,3,3: 12:[9, 4] Operation: 30-26=4 Exploring Operation: 26+9=35, Resulting Numbers: [30, 35] Generated Node #0,3,4: 12:[30, 35] Operation: 26+9=35 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[9, 4], Operations: ['42-33=9', '30-26=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 12:[26, 21], Operations: ['42-33=9', '30-9=21'] Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,12 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[30, 17], Operations: ['42-33=9', '26-9=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,12 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[26, 39], Operations: ['42-33=9', '30+9=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,12 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 12:[30, 35], Operations: ['42-33=9', '26+9=35'] Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,12 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[33, 30, 16], Operations: ['42-26=16'] Exploring Operation: 33-30=3, Resulting Numbers: [16, 3] Generated Node #0,2,0: 12:[16, 3] Operation: 33-30=3 Exploring Operation: 33+30=63, Resulting Numbers: [16, 63] Generated Node #0,2,1: 12:[16, 63] Operation: 33+30=63 Exploring Operation: 33-16=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 12:[30, 17] Operation: 33-16=17 Exploring Operation: 30-16=14, Resulting Numbers: [33, 14] Generated Node #0,2,3: 12:[33, 14] Operation: 30-16=14 Exploring Operation: 33+16=49, Resulting Numbers: [30, 49] Generated Node #0,2,4: 12:[30, 49] Operation: 33+16=49 Moving to Node #0,2,0 Current State: 12:[16, 3], Operations: ['42-26=16', '33-30=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[33, 14], Operations: ['42-26=16', '30-16=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,12 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[30, 17], Operations: ['42-26=16', '33-16=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,12 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[16, 63], Operations: ['42-26=16', '33+30=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,12 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,2,4 Current State: 12:[30, 49], Operations: ['42-26=16', '33+16=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 30*49=1470, Resulting Numbers: [1470] 1470,12 unequal: No Solution Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[26, 42, 3], Operations: ['33-30=3'] Exploring Operation: 42-26=16, Resulting Numbers: [3, 16] Generated Node #0,4,0: 12:[3, 16] Operation: 42-26=16 Exploring Operation: 26-3=23, Resulting Numbers: [42, 23] Generated Node #0,4,1: 12:[42, 23] Operation: 26-3=23 Exploring Operation: 42-3=39, Resulting Numbers: [26, 39] Generated Node #0,4,2: 12:[26, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [26, 14] Generated Node #0,4,3: 12:[26, 14] Operation: 42/3=14 Exploring Operation: 26+3=29, Resulting Numbers: [42, 29] Generated Node #0,4,4: 12:[42, 29] Operation: 26+3=29 Moving to Node #0,4,0 Current State: 12:[3, 16], Operations: ['33-30=3', '42-26=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[26, 14], Operations: ['33-30=3', '42/3=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,12 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[33, 26, 42, 30], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [26, 42, 3] Generated Node #0,4: 12:[26, 42, 3] Operation: 33-30=3 Moving to Node #0,4 Current State: 12:[26, 42, 3], Operations: ['33-30=3'] Exploring Operation: 42/3=14, Resulting Numbers: [26, 14] Generated Node #0,4,3: 12:[26, 14] Operation: 42/3=14 Moving to Node #0,4,3 Current State: 12:[26, 14], Operations: ['33-30=3', '42/3=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.931424
hs_5
mult_heuristic
[ 51, 51, 29, 4 ]
71
[ "51+29=80", "80/4=20", "51+20=71" ]
Current State: 71:[51, 51, 29, 4], Operations: [] Exploring Operation: 51+29=80, Resulting Numbers: [4, 80] Generated Node #2: [4, 80] from Operation: 51+29=80 Current State: 71:[4, 80], Operations: ['51+29=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,71 equal: Goal Reached Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[51, 51, 29, 4], Operations: [] Exploring Operation: 51+4=55, Resulting Numbers: [51, 29, 55] Generated Node #0,0: 71:[51, 29, 55] Operation: 51+4=55 Exploring Operation: 51+4=55, Resulting Numbers: [51, 29, 55] Generated Node #0,1: 71:[51, 29, 55] Operation: 51+4=55 Exploring Operation: 29+4=33, Resulting Numbers: [51, 51, 33] Generated Node #0,2: 71:[51, 51, 33] Operation: 29+4=33 Moving to Node #0,0 Current State: 71:[51, 29, 55], Operations: ['51+4=55'] Exploring Operation: 51+29=80, Resulting Numbers: [55, 80] Generated Node #0,0,0: 71:[55, 80] Operation: 51+29=80 Exploring Operation: 51-29=22, Resulting Numbers: [55, 22] Generated Node #0,0,1: 71:[55, 22] Operation: 51-29=22 Exploring Operation: 29+55=84, Resulting Numbers: [51, 84] Generated Node #0,0,2: 71:[51, 84] Operation: 29+55=84 Moving to Node #0,1 Current State: 71:[51, 29, 55], Operations: ['51+4=55'] Exploring Operation: 51+29=80, Resulting Numbers: [55, 80] Generated Node #0,1,0: 71:[55, 80] Operation: 51+29=80 Exploring Operation: 51-29=22, Resulting Numbers: [55, 22] Generated Node #0,1,1: 71:[55, 22] Operation: 51-29=22 Exploring Operation: 29+55=84, Resulting Numbers: [51, 84] Generated Node #0,1,2: 71:[51, 84] Operation: 29+55=84 Moving to Node #0,2 Current State: 71:[51, 51, 33], Operations: ['29+4=33'] Exploring Operation: 51+51=102, Resulting Numbers: [33, 102] Generated Node #0,2,0: 71:[33, 102] Operation: 51+51=102 Exploring Operation: 51+33=84, Resulting Numbers: [51, 84] Generated Node #0,2,1: 71:[51, 84] Operation: 51+33=84 Exploring Operation: 51+33=84, Resulting Numbers: [51, 84] Generated Node #0,2,2: 71:[51, 84] Operation: 51+33=84 Moving to Node #0,0,0 Current State: 71:[55, 80], Operations: ['51+4=55', '51+29=80'] Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,71 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[55, 80], Operations: ['51+4=55', '51+29=80'] Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,71 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[51, 84], Operations: ['29+4=33', '51+33=84'] Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[51, 84], Operations: ['29+4=33', '51+33=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[51, 84], Operations: ['51+4=55', '29+55=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[51, 84], Operations: ['51+4=55', '29+55=84'] Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[55, 22], Operations: ['51+4=55', '51-29=22'] Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,71 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[55, 22], Operations: ['51+4=55', '51-29=22'] Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,71 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[33, 102], Operations: ['29+4=33', '51+51=102'] Exploring Operation: 102-33=69, Resulting Numbers: [69] 69,71 unequal: No Solution Exploring Operation: 33+102=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 33*102=3366, Resulting Numbers: [3366] 3366,71 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 12, 65, 38, 2 ]
89
[ "65-12=53", "38-2=36", "53+36=89" ]
Current State: 89:[12, 65, 38, 2], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [38, 2, 53] Generated Node #2: [38, 2, 53] from Operation: 65-12=53 Current State: 89:[38, 2, 53], Operations: ['65-12=53'] Exploring Operation: 38-2=36, Resulting Numbers: [53, 36] Generated Node #3: [53, 36] from Operation: 38-2=36 Current State: 89:[53, 36], Operations: ['65-12=53', '38-2=36'] Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[12, 65, 38, 2], Operations: [] Exploring Operation: 12+38=50, Resulting Numbers: [65, 2, 50] Generated Node #0,0: 89:[65, 2, 50] Operation: 12+38=50 Exploring Operation: 12*2=24, Resulting Numbers: [65, 38, 24] Generated Node #0,1: 89:[65, 38, 24] Operation: 12*2=24 Exploring Operation: 38*2=76, Resulting Numbers: [12, 65, 76] Generated Node #0,2: 89:[12, 65, 76] Operation: 38*2=76 Exploring Operation: 12+65=77, Resulting Numbers: [38, 2, 77] Generated Node #0,3: 89:[38, 2, 77] Operation: 12+65=77 Moving to Node #0,2 Current State: 89:[12, 65, 76], Operations: ['38*2=76'] Exploring Operation: 12+76=88, Resulting Numbers: [65, 88] Generated Node #0,2,0: 89:[65, 88] Operation: 12+76=88 Exploring Operation: 76-12=64, Resulting Numbers: [65, 64] Generated Node #0,2,1: 89:[65, 64] Operation: 76-12=64 Exploring Operation: 12+65=77, Resulting Numbers: [76, 77] Generated Node #0,2,2: 89:[76, 77] Operation: 12+65=77 Exploring Operation: 65-12=53, Resulting Numbers: [76, 53] Generated Node #0,2,3: 89:[76, 53] Operation: 65-12=53 Moving to Node #0,1 Current State: 89:[65, 38, 24], Operations: ['12*2=24'] Exploring Operation: 65-24=41, Resulting Numbers: [38, 41] Generated Node #0,1,0: 89:[38, 41] Operation: 65-24=41 Exploring Operation: 65+38=103, Resulting Numbers: [24, 103] Generated Node #0,1,1: 89:[24, 103] Operation: 65+38=103 Exploring Operation: 65+24=89, Resulting Numbers: [38, 89] Generated Node #0,1,2: 89:[38, 89] Operation: 65+24=89 Exploring Operation: 38+24=62, Resulting Numbers: [65, 62] Generated Node #0,1,3: 89:[65, 62] Operation: 38+24=62 Moving to Node #0,3 Current State: 89:[38, 2, 77], Operations: ['12+65=77'] Exploring Operation: 38-2=36, Resulting Numbers: [77, 36] Generated Node #0,3,0: 89:[77, 36] Operation: 38-2=36 Exploring Operation: 38+2=40, Resulting Numbers: [77, 40] Generated Node #0,3,1: 89:[77, 40] Operation: 38+2=40 Exploring Operation: 38*2=76, Resulting Numbers: [77, 76] Generated Node #0,3,2: 89:[77, 76] Operation: 38*2=76 Exploring Operation: 2+77=79, Resulting Numbers: [38, 79] Generated Node #0,3,3: 89:[38, 79] Operation: 2+77=79 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[77, 76], Operations: ['12+65=77', '38*2=76'] Exploring Operation: 77*76=5852, Resulting Numbers: [5852] 5852,89 unequal: No Solution Exploring Operation: 77+76=153, Resulting Numbers: [153] 153,89 unequal: No Solution Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,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,1 Current State: 89:[77, 40], Operations: ['12+65=77', '38+2=40'] Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,89 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,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:[38, 79], Operations: ['12+65=77', '2+77=79'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 38*79=3002, Resulting Numbers: [3002] 3002,89 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,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:[77, 36], Operations: ['12+65=77', '38-2=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,89 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: 89:[65, 2, 50], Operations: ['12+38=50'] Exploring Operation: 2+50=52, Resulting Numbers: [65, 52] Generated Node #0,0,0: 89:[65, 52] Operation: 2+50=52 Exploring Operation: 2*50=100, Resulting Numbers: [65, 100] Generated Node #0,0,1: 89:[65, 100] Operation: 2*50=100 Exploring Operation: 65-2=63, Resulting Numbers: [50, 63] Generated Node #0,0,2: 89:[50, 63] Operation: 65-2=63 Exploring Operation: 65+2=67, Resulting Numbers: [50, 67] Generated Node #0,0,3: 89:[50, 67] Operation: 65+2=67 Moving to Node #0,2,0 Current State: 89:[65, 88], Operations: ['38*2=76', '12+76=88'] Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 65*88=5720, Resulting Numbers: [5720] 5720,89 unequal: No Solution Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[76, 77], Operations: ['38*2=76', '12+65=77'] Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 76*77=5852, Resulting Numbers: [5852] 5852,89 unequal: No Solution Exploring Operation: 76+77=153, Resulting Numbers: [153] 153,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[65, 100], Operations: ['12+38=50', '2*50=100'] Exploring Operation: 65*100=6500, Resulting Numbers: [6500] 6500,89 unequal: No Solution Exploring Operation: 65+100=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[65, 64], Operations: ['38*2=76', '76-12=64'] Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,89 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[76, 53], Operations: ['38*2=76', '65-12=53'] Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,89 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[65, 62], Operations: ['12*2=24', '38+24=62'] Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,89 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[38, 89], Operations: ['12*2=24', '65+24=89'] Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 38*89=3382, Resulting Numbers: [3382] 3382,89 unequal: No Solution Exploring Operation: 38+89=127, Resulting Numbers: [127] 127,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[65, 52], Operations: ['12+38=50', '2+50=52'] Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,89 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[50, 67], Operations: ['12+38=50', '65+2=67'] Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[50, 63], Operations: ['12+38=50', '65-2=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[24, 103], Operations: ['12*2=24', '65+38=103'] Exploring Operation: 24+103=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 24*103=2472, Resulting Numbers: [2472] 2472,89 unequal: No Solution Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[38, 41], Operations: ['12*2=24', '65-24=41'] Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,89 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 87, 2, 37, 1 ]
11
[ "37+1=38", "2*38=76", "87-76=11" ]
Current State: 11:[87, 2, 37, 1], Operations: [] Exploring Operation: 37+1=38, Resulting Numbers: [87, 2, 38] Generated Node #2: [87, 2, 38] from Operation: 37+1=38 Current State: 11:[87, 2, 38], Operations: ['37+1=38'] Exploring Operation: 2*38=76, Resulting Numbers: [87, 76] Generated Node #3: [87, 76] from Operation: 2*38=76 Current State: 11:[87, 76], Operations: ['37+1=38', '2*38=76'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 2, 37, 1], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [2, 1, 50] Generated Node #0,0: 11:[2, 1, 50] Operation: 87-37=50 Exploring Operation: 87-2=85, Resulting Numbers: [37, 1, 85] Generated Node #0,1: 11:[37, 1, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[2, 1, 50], Operations: ['87-37=50'] Exploring Operation: 50/2=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 11:[1, 25] Operation: 50/2=25 Exploring Operation: 2+1=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 11:[50, 3] Operation: 2+1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[1, 25], Operations: ['87-37=50', '50/2=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[50, 3], Operations: ['87-37=50', '2+1=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[37, 1, 85], Operations: ['87-2=85'] Exploring Operation: 85-37=48, Resulting Numbers: [1, 48] Generated Node #0,1,0: 11:[1, 48] Operation: 85-37=48 Exploring Operation: 37-1=36, Resulting Numbers: [85, 36] Generated Node #0,1,1: 11:[85, 36] Operation: 37-1=36 Moving to Node #0,1,0 Current State: 11:[1, 48], Operations: ['87-2=85', '85-37=48'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[85, 36], Operations: ['87-2=85', '37-1=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,11 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 77, 7, 78, 48 ]
59
[ "78+48=126", "126/7=18", "77-18=59" ]
Current State: 59:[77, 7, 78, 48], Operations: [] Exploring Operation: 78+48=126, Resulting Numbers: [77, 7, 126] Generated Node #2: [77, 7, 126] from Operation: 78+48=126 Current State: 59:[77, 7, 126], Operations: ['78+48=126'] Exploring Operation: 126/7=18, Resulting Numbers: [77, 18] Generated Node #3: [77, 18] from Operation: 126/7=18 Current State: 59:[77, 18], Operations: ['78+48=126', '126/7=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[77, 7, 78, 48], Operations: [] Exploring Operation: 77-7=70, Resulting Numbers: [78, 48, 70] Generated Node #0,0: 59:[78, 48, 70] Operation: 77-7=70 Exploring Operation: 78-7=71, Resulting Numbers: [77, 48, 71] Generated Node #0,1: 59:[77, 48, 71] Operation: 78-7=71 Exploring Operation: 7+48=55, Resulting Numbers: [77, 78, 55] Generated Node #0,2: 59:[77, 78, 55] Operation: 7+48=55 Moving to Node #0,0 Current State: 59:[78, 48, 70], Operations: ['77-7=70'] Exploring Operation: 70-48=22, Resulting Numbers: [78, 22] Generated Node #0,0,0: 59:[78, 22] Operation: 70-48=22 Exploring Operation: 78-48=30, Resulting Numbers: [70, 30] Generated Node #0,0,1: 59:[70, 30] Operation: 78-48=30 Exploring Operation: 78-70=8, Resulting Numbers: [48, 8] Generated Node #0,0,2: 59:[48, 8] Operation: 78-70=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[70, 30], Operations: ['77-7=70', '78-48=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[78, 22], Operations: ['77-7=70', '70-48=22'] Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,59 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[48, 8], Operations: ['77-7=70', '78-70=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,59 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: 59:[77, 48, 71], Operations: ['78-7=71'] Exploring Operation: 77-71=6, Resulting Numbers: [48, 6] Generated Node #0,1,0: 59:[48, 6] Operation: 77-71=6 Exploring Operation: 77-48=29, Resulting Numbers: [71, 29] Generated Node #0,1,1: 59:[71, 29] Operation: 77-48=29 Exploring Operation: 71-48=23, Resulting Numbers: [77, 23] Generated Node #0,1,2: 59:[77, 23] Operation: 71-48=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[71, 29], Operations: ['78-7=71', '77-48=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[77, 23], Operations: ['78-7=71', '71-48=23'] Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,59 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[48, 6], Operations: ['78-7=71', '77-71=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,59 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: 59:[77, 78, 55], Operations: ['7+48=55'] Exploring Operation: 78-55=23, Resulting Numbers: [77, 23] Generated Node #0,2,0: 59:[77, 23] Operation: 78-55=23 Exploring Operation: 78-77=1, Resulting Numbers: [55, 1] Generated Node #0,2,1: 59:[55, 1] Operation: 78-77=1 Exploring Operation: 77-55=22, Resulting Numbers: [78, 22] Generated Node #0,2,2: 59:[78, 22] Operation: 77-55=22 Moving to Node #0,2,0 Current State: 59:[77, 23], Operations: ['7+48=55', '78-55=23'] Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,59 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[78, 22], Operations: ['7+48=55', '77-55=22'] Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,59 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[55, 1], Operations: ['7+48=55', '78-77=1'] Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 7, 92, 70, 93 ]
64
[ "7+92=99", "70+93=163", "163-99=64" ]
Current State: 64:[7, 92, 70, 93], Operations: [] Exploring Operation: 7+92=99, Resulting Numbers: [70, 93, 99] Generated Node #2: [70, 93, 99] from Operation: 7+92=99 Current State: 64:[70, 93, 99], Operations: ['7+92=99'] Exploring Operation: 70+93=163, Resulting Numbers: [99, 163] Generated Node #3: [99, 163] from Operation: 70+93=163 Current State: 64:[99, 163], Operations: ['7+92=99', '70+93=163'] Exploring Operation: 163-99=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 92, 70, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [7, 70, 1] Generated Node #0,0: 64:[7, 70, 1] Operation: 93-92=1 Exploring Operation: 92-70=22, Resulting Numbers: [7, 93, 22] Generated Node #0,1: 64:[7, 93, 22] Operation: 92-70=22 Moving to Node #0,0 Current State: 64:[7, 70, 1], Operations: ['93-92=1'] Exploring Operation: 70-7=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 64:[1, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [1, 10] Generated Node #0,0,1: 64:[1, 10] Operation: 70/7=10 Moving to Node #0,1 Current State: 64:[7, 93, 22], Operations: ['92-70=22'] Exploring Operation: 93-22=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 64:[7, 71] Operation: 93-22=71 Exploring Operation: 93-7=86, Resulting Numbers: [22, 86] Generated Node #0,1,1: 64:[22, 86] Operation: 93-7=86 Moving to Node #0,0,0 Current State: 64:[1, 63], Operations: ['93-92=1', '70-7=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[7, 92, 70, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [7, 70, 1] Generated Node #0,0: 64:[7, 70, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 64:[7, 70, 1], Operations: ['93-92=1'] Exploring Operation: 70-7=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 64:[1, 63] Operation: 70-7=63 Moving to Node #0,0,0 Current State: 64:[1, 63], Operations: ['93-92=1', '70-7=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 53, 5, 87, 84 ]
61
[ "53+5=58", "87-84=3", "58+3=61" ]
Current State: 61:[53, 5, 87, 84], Operations: [] Exploring Operation: 53+5=58, Resulting Numbers: [87, 84, 58] Generated Node #2: [87, 84, 58] from Operation: 53+5=58 Current State: 61:[87, 84, 58], Operations: ['53+5=58'] Exploring Operation: 87-84=3, Resulting Numbers: [58, 3] Generated Node #3: [58, 3] from Operation: 87-84=3 Current State: 61:[58, 3], Operations: ['53+5=58', '87-84=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[53, 5, 87, 84], Operations: [] Exploring Operation: 84-5=79, Resulting Numbers: [53, 87, 79] Generated Node #0,0: 61:[53, 87, 79] Operation: 84-5=79 Exploring Operation: 87-5=82, Resulting Numbers: [53, 84, 82] Generated Node #0,1: 61:[53, 84, 82] Operation: 87-5=82 Exploring Operation: 53+5=58, Resulting Numbers: [87, 84, 58] Generated Node #0,2: 61:[87, 84, 58] Operation: 53+5=58 Exploring Operation: 53-5=48, Resulting Numbers: [87, 84, 48] Generated Node #0,3: 61:[87, 84, 48] Operation: 53-5=48 Moving to Node #0,0 Current State: 61:[53, 87, 79], Operations: ['84-5=79'] Exploring Operation: 87-53=34, Resulting Numbers: [79, 34] Generated Node #0,0,0: 61:[79, 34] Operation: 87-53=34 Exploring Operation: 79-53=26, Resulting Numbers: [87, 26] Generated Node #0,0,1: 61:[87, 26] Operation: 79-53=26 Exploring Operation: 87-79=8, Resulting Numbers: [53, 8] Generated Node #0,0,2: 61:[53, 8] Operation: 87-79=8 Exploring Operation: 53+87=140, Resulting Numbers: [79, 140] Generated Node #0,0,3: 61:[79, 140] Operation: 53+87=140 Moving to Node #0,2 Current State: 61:[87, 84, 58], Operations: ['53+5=58'] Exploring Operation: 84-58=26, Resulting Numbers: [87, 26] Generated Node #0,2,0: 61:[87, 26] Operation: 84-58=26 Exploring Operation: 87+58=145, Resulting Numbers: [84, 145] Generated Node #0,2,1: 61:[84, 145] Operation: 87+58=145 Exploring Operation: 87-58=29, Resulting Numbers: [84, 29] Generated Node #0,2,2: 61:[84, 29] Operation: 87-58=29 Exploring Operation: 87-84=3, Resulting Numbers: [58, 3] Generated Node #0,2,3: 61:[58, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[84, 29], Operations: ['53+5=58', '87-58=29'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[87, 26], Operations: ['53+5=58', '84-58=26'] Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[53, 5, 87, 84], Operations: [] Exploring Operation: 53+5=58, Resulting Numbers: [87, 84, 58] Generated Node #0,2: 61:[87, 84, 58] Operation: 53+5=58 Moving to Node #0,2 Current State: 61:[87, 84, 58], Operations: ['53+5=58'] Exploring Operation: 84-58=26, Resulting Numbers: [87, 26] Generated Node #0,2,0: 61:[87, 26] Operation: 84-58=26 Moving to Node #0,2,0 Current State: 61:[87, 26], Operations: ['53+5=58', '84-58=26'] Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 79, 77, 35, 3 ]
73
[ "79-77=2", "35*2=70", "3+70=73" ]
Current State: 73:[79, 77, 35, 3], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [35, 3, 2] Generated Node #2: [35, 3, 2] from Operation: 79-77=2 Current State: 73:[35, 3, 2], Operations: ['79-77=2'] Exploring Operation: 35*2=70, Resulting Numbers: [3, 70] Generated Node #3: [3, 70] from Operation: 35*2=70 Current State: 73:[3, 70], Operations: ['79-77=2', '35*2=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[79, 77, 35, 3], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [79, 77, 105] Generated Node #0,0: 73:[79, 77, 105] Operation: 35*3=105 Exploring Operation: 79-3=76, Resulting Numbers: [77, 35, 76] Generated Node #0,1: 73:[77, 35, 76] Operation: 79-3=76 Exploring Operation: 77-3=74, Resulting Numbers: [79, 35, 74] Generated Node #0,2: 73:[79, 35, 74] Operation: 77-3=74 Moving to Node #0,0 Current State: 73:[79, 77, 105], Operations: ['35*3=105'] Exploring Operation: 105-77=28, Resulting Numbers: [79, 28] Generated Node #0,0,0: 73:[79, 28] Operation: 105-77=28 Exploring Operation: 79-77=2, Resulting Numbers: [105, 2] Generated Node #0,0,1: 73:[105, 2] Operation: 79-77=2 Exploring Operation: 105-79=26, Resulting Numbers: [77, 26] Generated Node #0,0,2: 73:[77, 26] Operation: 105-79=26 Moving to Node #0,1 Current State: 73:[77, 35, 76], Operations: ['79-3=76'] Exploring Operation: 77-35=42, Resulting Numbers: [76, 42] Generated Node #0,1,0: 73:[76, 42] Operation: 77-35=42 Exploring Operation: 77+35=112, Resulting Numbers: [76, 112] Generated Node #0,1,1: 73:[76, 112] Operation: 77+35=112 Exploring Operation: 76-35=41, Resulting Numbers: [77, 41] Generated Node #0,1,2: 73:[77, 41] Operation: 76-35=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[76, 42], Operations: ['79-3=76', '77-35=42'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,73 unequal: No Solution Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,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:[77, 41], Operations: ['79-3=76', '76-35=41'] Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,73 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,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,1 Current State: 73:[76, 112], Operations: ['79-3=76', '77+35=112'] Exploring Operation: 76*112=8512, Resulting Numbers: [8512] 8512,73 unequal: No Solution Exploring Operation: 76+112=188, Resulting Numbers: [188] 188,73 unequal: No Solution Exploring Operation: 112-76=36, Resulting Numbers: [36] 36,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:[79, 35, 74], Operations: ['77-3=74'] Exploring Operation: 79+35=114, Resulting Numbers: [74, 114] Generated Node #0,2,0: 73:[74, 114] Operation: 79+35=114 Exploring Operation: 74-35=39, Resulting Numbers: [79, 39] Generated Node #0,2,1: 73:[79, 39] Operation: 74-35=39 Exploring Operation: 79-35=44, Resulting Numbers: [74, 44] Generated Node #0,2,2: 73:[74, 44] Operation: 79-35=44 Moving to Node #0,2,2 Current State: 73:[74, 44], Operations: ['77-3=74', '79-35=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,73 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[79, 39], Operations: ['77-3=74', '74-35=39'] Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,73 unequal: No Solution Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[74, 114], Operations: ['77-3=74', '79+35=114'] Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,73 unequal: No Solution Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[79, 28], Operations: ['35*3=105', '105-77=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,73 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[77, 26], Operations: ['35*3=105', '105-79=26'] Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,73 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[105, 2], Operations: ['35*3=105', '79-77=2'] Exploring Operation: 105+2=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 105*2=210, Resulting Numbers: [210] 210,73 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 27, 24, 94, 78 ]
13
[ "27-24=3", "94-78=16", "16-3=13" ]
Current State: 13:[27, 24, 94, 78], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [94, 78, 3] Generated Node #2: [94, 78, 3] from Operation: 27-24=3 Current State: 13:[94, 78, 3], Operations: ['27-24=3'] Exploring Operation: 94-78=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 94-78=16 Current State: 13:[3, 16], Operations: ['27-24=3', '94-78=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[27, 24, 94, 78], Operations: [] Exploring Operation: 94-27=67, Resulting Numbers: [24, 78, 67] Generated Node #0,0: 13:[24, 78, 67] Operation: 94-27=67 Exploring Operation: 94-78=16, Resulting Numbers: [27, 24, 16] Generated Node #0,1: 13:[27, 24, 16] Operation: 94-78=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[27, 24, 16], Operations: ['94-78=16'] Exploring Operation: 27-16=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 27-16=11 Exploring Operation: 27-24=3, Resulting Numbers: [16, 3] Generated Node #0,1,1: 13:[16, 3] Operation: 27-24=3 Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['94-78=16', '27-16=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[27, 24, 94, 78], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [27, 24, 16] Generated Node #0,1: 13:[27, 24, 16] Operation: 94-78=16 Moving to Node #0,1 Current State: 13:[27, 24, 16], Operations: ['94-78=16'] Exploring Operation: 27-16=11, Resulting Numbers: [24, 11] Generated Node #0,1,0: 13:[24, 11] Operation: 27-16=11 Moving to Node #0,1,0 Current State: 13:[24, 11], Operations: ['94-78=16', '27-16=11'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 10, 69, 45, 55 ]
79
[ "45+55=100", "100/10=10", "69+10=79" ]
Current State: 79:[10, 69, 45, 55], Operations: [] Exploring Operation: 45+55=100, Resulting Numbers: [10, 69, 100] Generated Node #2: [10, 69, 100] from Operation: 45+55=100 Current State: 79:[10, 69, 100], Operations: ['45+55=100'] Exploring Operation: 100/10=10, Resulting Numbers: [69, 10] Generated Node #3: [69, 10] from Operation: 100/10=10 Current State: 79:[69, 10], Operations: ['45+55=100', '100/10=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 69, 45, 55], Operations: [] Exploring Operation: 69-10=59, Resulting Numbers: [45, 55, 59] Generated Node #0,0: 79:[45, 55, 59] Operation: 69-10=59 Exploring Operation: 10+55=65, Resulting Numbers: [69, 45, 65] Generated Node #0,1: 79:[69, 45, 65] Operation: 10+55=65 Exploring Operation: 10+69=79, Resulting Numbers: [45, 55, 79] Generated Node #0,2: 79:[45, 55, 79] Operation: 10+69=79 Exploring Operation: 10+45=55, Resulting Numbers: [69, 55, 55] Generated Node #0,3: 79:[69, 55, 55] Operation: 10+45=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[69, 45, 65], Operations: ['10+55=65'] Exploring Operation: 45+65=110, Resulting Numbers: [69, 110] Generated Node #0,1,0: 79:[69, 110] Operation: 45+65=110 Exploring Operation: 65-45=20, Resulting Numbers: [69, 20] Generated Node #0,1,1: 79:[69, 20] Operation: 65-45=20 Exploring Operation: 69+45=114, Resulting Numbers: [65, 114] Generated Node #0,1,2: 79:[65, 114] Operation: 69+45=114 Exploring Operation: 69-45=24, Resulting Numbers: [65, 24] Generated Node #0,1,3: 79:[65, 24] Operation: 69-45=24 Moving to Node #0,1,0 Current State: 79:[69, 110], Operations: ['10+55=65', '45+65=110'] Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[65, 114], Operations: ['10+55=65', '69+45=114'] Exploring Operation: 65+114=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 65*114=7410, Resulting Numbers: [7410] 7410,79 unequal: No Solution Exploring Operation: 114-65=49, Resulting Numbers: [49] 49,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[65, 24], Operations: ['10+55=65', '69-45=24'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[69, 20], Operations: ['10+55=65', '65-45=20'] Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,79 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[45, 55, 79], Operations: ['10+69=79'] Exploring Operation: 79-45=34, Resulting Numbers: [55, 34] Generated Node #0,2,0: 79:[55, 34] Operation: 79-45=34 Exploring Operation: 45+79=124, Resulting Numbers: [55, 124] Generated Node #0,2,1: 79:[55, 124] Operation: 45+79=124 Exploring Operation: 45+55=100, Resulting Numbers: [79, 100] Generated Node #0,2,2: 79:[79, 100] Operation: 45+55=100 Exploring Operation: 55-45=10, Resulting Numbers: [79, 10] Generated Node #0,2,3: 79:[79, 10] Operation: 55-45=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[79, 100], Operations: ['10+69=79', '45+55=100'] Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[55, 34], Operations: ['10+69=79', '79-45=34'] Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,79 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[55, 124], Operations: ['10+69=79', '45+79=124'] Exploring Operation: 55*124=6820, Resulting Numbers: [6820] 6820,79 unequal: No Solution Exploring Operation: 124-55=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 55+124=179, Resulting Numbers: [179] 179,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[79, 10], Operations: ['10+69=79', '55-45=10'] Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[69, 55, 55], Operations: ['10+45=55'] Exploring Operation: 69+55=124, Resulting Numbers: [55, 124] Generated Node #0,3,0: 79:[55, 124] Operation: 69+55=124 Exploring Operation: 55/55=1, Resulting Numbers: [69, 1] Generated Node #0,3,1: 79:[69, 1] Operation: 55/55=1 Exploring Operation: 55+55=110, Resulting Numbers: [69, 110] Generated Node #0,3,2: 79:[69, 110] Operation: 55+55=110 Exploring Operation: 69+55=124, Resulting Numbers: [55, 124] Generated Node #0,3,3: 79:[55, 124] Operation: 69+55=124 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 79:[69, 110], Operations: ['10+45=55', '55+55=110'] Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[55, 124], Operations: ['10+45=55', '69+55=124'] Exploring Operation: 55+124=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 124-55=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 55*124=6820, Resulting Numbers: [6820] 6820,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[55, 124], Operations: ['10+45=55', '69+55=124'] Exploring Operation: 55+124=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 55*124=6820, Resulting Numbers: [6820] 6820,79 unequal: No Solution Exploring Operation: 124-55=69, Resulting Numbers: [69] 69,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[69, 1], Operations: ['10+45=55', '55/55=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,79 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[45, 55, 59], Operations: ['69-10=59'] Exploring Operation: 55-45=10, Resulting Numbers: [59, 10] Generated Node #0,0,0: 79:[59, 10] Operation: 55-45=10 Exploring Operation: 45+55=100, Resulting Numbers: [59, 100] Generated Node #0,0,1: 79:[59, 100] Operation: 45+55=100 Exploring Operation: 55+59=114, Resulting Numbers: [45, 114] Generated Node #0,0,2: 79:[45, 114] Operation: 55+59=114 Exploring Operation: 45+59=104, Resulting Numbers: [55, 104] Generated Node #0,0,3: 79:[55, 104] Operation: 45+59=104 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[59, 100], Operations: ['69-10=59', '45+55=100'] Exploring Operation: 59+100=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 59*100=5900, Resulting Numbers: [5900] 5900,79 unequal: No Solution Exploring Operation: 100-59=41, Resulting Numbers: [41] 41,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[55, 104], Operations: ['69-10=59', '45+59=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 55+104=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 55*104=5720, Resulting Numbers: [5720] 5720,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[45, 114], Operations: ['69-10=59', '55+59=114'] Exploring Operation: 45+114=159, Resulting Numbers: [159] 159,79 unequal: No Solution Exploring Operation: 45*114=5130, Resulting Numbers: [5130] 5130,79 unequal: No Solution Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[59, 10], Operations: ['69-10=59', '55-45=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 28, 4, 7, 94 ]
69
[ "28+4=32", "7+94=101", "101-32=69" ]
Current State: 69:[28, 4, 7, 94], Operations: [] Exploring Operation: 28+4=32, Resulting Numbers: [7, 94, 32] Generated Node #2: [7, 94, 32] from Operation: 28+4=32 Current State: 69:[7, 94, 32], Operations: ['28+4=32'] Exploring Operation: 7+94=101, Resulting Numbers: [32, 101] Generated Node #3: [32, 101] from Operation: 7+94=101 Current State: 69:[32, 101], Operations: ['28+4=32', '7+94=101'] Exploring Operation: 101-32=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[28, 4, 7, 94], Operations: [] Exploring Operation: 94-7=87, Resulting Numbers: [28, 4, 87] Generated Node #0,0: 69:[28, 4, 87] Operation: 94-7=87 Exploring Operation: 94-28=66, Resulting Numbers: [4, 7, 66] Generated Node #0,1: 69:[4, 7, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[4, 7, 66], Operations: ['94-28=66'] Exploring Operation: 7-4=3, Resulting Numbers: [66, 3] Generated Node #0,1,0: 69:[66, 3] Operation: 7-4=3 Exploring Operation: 4+66=70, Resulting Numbers: [7, 70] Generated Node #0,1,1: 69:[7, 70] Operation: 4+66=70 Moving to Node #0,1,0 Current State: 69:[66, 3], Operations: ['94-28=66', '7-4=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[28, 4, 7, 94], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [4, 7, 66] Generated Node #0,1: 69:[4, 7, 66] Operation: 94-28=66 Moving to Node #0,1 Current State: 69:[4, 7, 66], Operations: ['94-28=66'] Exploring Operation: 7-4=3, Resulting Numbers: [66, 3] Generated Node #0,1,0: 69:[66, 3] Operation: 7-4=3 Moving to Node #0,1,0 Current State: 69:[66, 3], Operations: ['94-28=66', '7-4=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 17, 52, 33, 32 ]
70
[ "17+52=69", "33-32=1", "69+1=70" ]
Current State: 70:[17, 52, 33, 32], Operations: [] Exploring Operation: 17+52=69, Resulting Numbers: [33, 32, 69] Generated Node #2: [33, 32, 69] from Operation: 17+52=69 Current State: 70:[33, 32, 69], Operations: ['17+52=69'] Exploring Operation: 33-32=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 33-32=1 Current State: 70:[69, 1], Operations: ['17+52=69', '33-32=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[17, 52, 33, 32], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [17, 32, 19] Generated Node #0,0: 70:[17, 32, 19] Operation: 52-33=19 Exploring Operation: 52-17=35, Resulting Numbers: [33, 32, 35] Generated Node #0,1: 70:[33, 32, 35] Operation: 52-17=35 Exploring Operation: 17+52=69, Resulting Numbers: [33, 32, 69] Generated Node #0,2: 70:[33, 32, 69] Operation: 17+52=69 Moving to Node #0,1 Current State: 70:[33, 32, 35], Operations: ['52-17=35'] Exploring Operation: 33-32=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 70:[35, 1] Operation: 33-32=1 Exploring Operation: 35-33=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 70:[32, 2] Operation: 35-33=2 Exploring Operation: 35-32=3, Resulting Numbers: [33, 3] Generated Node #0,1,2: 70:[33, 3] Operation: 35-32=3 Moving to Node #0,2 Current State: 70:[33, 32, 69], Operations: ['17+52=69'] Exploring Operation: 69-33=36, Resulting Numbers: [32, 36] Generated Node #0,2,0: 70:[32, 36] Operation: 69-33=36 Exploring Operation: 69-32=37, Resulting Numbers: [33, 37] Generated Node #0,2,1: 70:[33, 37] Operation: 69-32=37 Exploring Operation: 33-32=1, Resulting Numbers: [69, 1] Generated Node #0,2,2: 70:[69, 1] Operation: 33-32=1 Moving to Node #0,0 Current State: 70:[17, 32, 19], Operations: ['52-33=19'] Exploring Operation: 32-19=13, Resulting Numbers: [17, 13] Generated Node #0,0,0: 70:[17, 13] Operation: 32-19=13 Exploring Operation: 17+19=36, Resulting Numbers: [32, 36] Generated Node #0,0,1: 70:[32, 36] Operation: 17+19=36 Exploring Operation: 19-17=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 70:[32, 2] Operation: 19-17=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[32, 2], Operations: ['52-33=19', '19-17=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[17, 13], Operations: ['52-33=19', '32-19=13'] Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,70 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[32, 36], Operations: ['52-33=19', '17+19=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,70 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: 70:[35, 1], Operations: ['52-17=35', '33-32=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[69, 1], Operations: ['17+52=69', '33-32=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[17, 52, 33, 32], Operations: [] Exploring Operation: 17+52=69, Resulting Numbers: [33, 32, 69] Generated Node #0,2: 70:[33, 32, 69] Operation: 17+52=69 Moving to Node #0,2 Current State: 70:[33, 32, 69], Operations: ['17+52=69'] Exploring Operation: 33-32=1, Resulting Numbers: [69, 1] Generated Node #0,2,2: 70:[69, 1] Operation: 33-32=1 Moving to Node #0,2,2 Current State: 70:[69, 1], Operations: ['17+52=69', '33-32=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 30, 8, 87, 90 ]
80
[ "30*8=240", "90-87=3", "240/3=80" ]
Current State: 80:[30, 8, 87, 90], Operations: [] Exploring Operation: 30*8=240, Resulting Numbers: [87, 90, 240] Generated Node #2: [87, 90, 240] from Operation: 30*8=240 Current State: 80:[87, 90, 240], Operations: ['30*8=240'] Exploring Operation: 90-87=3, Resulting Numbers: [240, 3] Generated Node #3: [240, 3] from Operation: 90-87=3 Current State: 80:[240, 3], Operations: ['30*8=240', '90-87=3'] Exploring Operation: 240/3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[30, 8, 87, 90], Operations: [] Exploring Operation: 90-8=82, Resulting Numbers: [30, 87, 82] Generated Node #0,0: 80:[30, 87, 82] Operation: 90-8=82 Exploring Operation: 90/30=3, Resulting Numbers: [8, 87, 3] Generated Node #0,1: 80:[8, 87, 3] Operation: 90/30=3 Exploring Operation: 30+8=38, Resulting Numbers: [87, 90, 38] Generated Node #0,2: 80:[87, 90, 38] Operation: 30+8=38 Exploring Operation: 90-87=3, Resulting Numbers: [30, 8, 3] Generated Node #0,3: 80:[30, 8, 3] Operation: 90-87=3 Exploring Operation: 30-8=22, Resulting Numbers: [87, 90, 22] Generated Node #0,4: 80:[87, 90, 22] Operation: 30-8=22 Moving to Node #0,1 Current State: 80:[8, 87, 3], Operations: ['90/30=3'] Exploring Operation: 87-8=79, Resulting Numbers: [3, 79] Generated Node #0,1,0: 80:[3, 79] Operation: 87-8=79 Exploring Operation: 87-3=84, Resulting Numbers: [8, 84] Generated Node #0,1,1: 80:[8, 84] Operation: 87-3=84 Exploring Operation: 8+3=11, Resulting Numbers: [87, 11] Generated Node #0,1,2: 80:[87, 11] Operation: 8+3=11 Exploring Operation: 8-3=5, Resulting Numbers: [87, 5] Generated Node #0,1,3: 80:[87, 5] Operation: 8-3=5 Exploring Operation: 87/3=29, Resulting Numbers: [8, 29] Generated Node #0,1,4: 80:[8, 29] Operation: 87/3=29 Moving to Node #0,3 Current State: 80:[30, 8, 3], Operations: ['90-87=3'] Exploring Operation: 30+8=38, Resulting Numbers: [3, 38] Generated Node #0,3,0: 80:[3, 38] Operation: 30+8=38 Exploring Operation: 30-8=22, Resulting Numbers: [3, 22] Generated Node #0,3,1: 80:[3, 22] Operation: 30-8=22 Exploring Operation: 30/3=10, Resulting Numbers: [8, 10] Generated Node #0,3,2: 80:[8, 10] Operation: 30/3=10 Exploring Operation: 30-3=27, Resulting Numbers: [8, 27] Generated Node #0,3,3: 80:[8, 27] Operation: 30-3=27 Exploring Operation: 30+3=33, Resulting Numbers: [8, 33] Generated Node #0,3,4: 80:[8, 33] Operation: 30+3=33 Moving to Node #0,0 Current State: 80:[30, 87, 82], Operations: ['90-8=82'] Exploring Operation: 82-30=52, Resulting Numbers: [87, 52] Generated Node #0,0,0: 80:[87, 52] Operation: 82-30=52 Exploring Operation: 30+87=117, Resulting Numbers: [82, 117] Generated Node #0,0,1: 80:[82, 117] Operation: 30+87=117 Exploring Operation: 87-82=5, Resulting Numbers: [30, 5] Generated Node #0,0,2: 80:[30, 5] Operation: 87-82=5 Exploring Operation: 30+82=112, Resulting Numbers: [87, 112] Generated Node #0,0,3: 80:[87, 112] Operation: 30+82=112 Exploring Operation: 87-30=57, Resulting Numbers: [82, 57] Generated Node #0,0,4: 80:[82, 57] Operation: 87-30=57 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[30, 5], Operations: ['90-8=82', '87-82=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,80 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,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:[87, 52], Operations: ['90-8=82', '82-30=52'] Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,80 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,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:[82, 57], Operations: ['90-8=82', '87-30=57'] Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,80 unequal: No Solution Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,80 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,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:[82, 117], Operations: ['90-8=82', '30+87=117'] Exploring Operation: 82*117=9594, Resulting Numbers: [9594] 9594,80 unequal: No Solution Exploring Operation: 117-82=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 82+117=199, Resulting Numbers: [199] 199,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:[87, 112], Operations: ['90-8=82', '30+82=112'] Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,80 unequal: No Solution Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,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:[87, 90, 38], Operations: ['30+8=38'] Exploring Operation: 87+38=125, Resulting Numbers: [90, 125] Generated Node #0,2,0: 80:[90, 125] Operation: 87+38=125 Exploring Operation: 90-87=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 80:[38, 3] Operation: 90-87=3 Exploring Operation: 87-38=49, Resulting Numbers: [90, 49] Generated Node #0,2,2: 80:[90, 49] Operation: 87-38=49 Exploring Operation: 90+38=128, Resulting Numbers: [87, 128] Generated Node #0,2,3: 80:[87, 128] Operation: 90+38=128 Exploring Operation: 90-38=52, Resulting Numbers: [87, 52] Generated Node #0,2,4: 80:[87, 52] Operation: 90-38=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[38, 3], Operations: ['30+8=38', '90-87=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,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:[90, 49], Operations: ['30+8=38', '87-38=49'] Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,80 unequal: No Solution Exploring Operation: 90*49=4410, Resulting Numbers: [4410] 4410,80 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,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:[87, 52], Operations: ['30+8=38', '90-38=52'] Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,80 unequal: No Solution Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,80 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,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,0 Current State: 80:[90, 125], Operations: ['30+8=38', '87+38=125'] Exploring Operation: 90+125=215, Resulting Numbers: [215] 215,80 unequal: No Solution Exploring Operation: 90*125=11250, Resulting Numbers: [11250] 11250,80 unequal: No Solution Exploring Operation: 125-90=35, Resulting Numbers: [35] 35,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:[87, 128], Operations: ['30+8=38', '90+38=128'] Exploring Operation: 128-87=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 87+128=215, Resulting Numbers: [215] 215,80 unequal: No Solution Exploring Operation: 87*128=11136, Resulting Numbers: [11136] 11136,80 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: 80:[87, 90, 22], Operations: ['30-8=22'] Exploring Operation: 90+22=112, Resulting Numbers: [87, 112] Generated Node #0,4,0: 80:[87, 112] Operation: 90+22=112 Exploring Operation: 87-22=65, Resulting Numbers: [90, 65] Generated Node #0,4,1: 80:[90, 65] Operation: 87-22=65 Exploring Operation: 90-87=3, Resulting Numbers: [22, 3] Generated Node #0,4,2: 80:[22, 3] Operation: 90-87=3 Exploring Operation: 87+22=109, Resulting Numbers: [90, 109] Generated Node #0,4,3: 80:[90, 109] Operation: 87+22=109 Exploring Operation: 90-22=68, Resulting Numbers: [87, 68] Generated Node #0,4,4: 80:[87, 68] Operation: 90-22=68 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[22, 3], Operations: ['30-8=22', '90-87=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,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,4,4 Current State: 80:[87, 68], Operations: ['30-8=22', '90-22=68'] Exploring Operation: 87+68=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 87*68=5916, Resulting Numbers: [5916] 5916,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,4,1 Current State: 80:[90, 65], Operations: ['30-8=22', '87-22=65'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,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,4,0 Current State: 80:[87, 112], Operations: ['30-8=22', '90+22=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,80 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,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,4,3 Current State: 80:[90, 109], Operations: ['30-8=22', '87+22=109'] Exploring Operation: 109-90=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 90+109=199, Resulting Numbers: [199] 199,80 unequal: No Solution Exploring Operation: 90*109=9810, Resulting Numbers: [9810] 9810,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 80:[8, 10], Operations: ['90-87=3', '30/3=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[30, 8, 87, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [30, 8, 3] Generated Node #0,3: 80:[30, 8, 3] Operation: 90-87=3 Moving to Node #0,3 Current State: 80:[30, 8, 3], Operations: ['90-87=3'] Exploring Operation: 30/3=10, Resulting Numbers: [8, 10] Generated Node #0,3,2: 80:[8, 10] Operation: 30/3=10 Moving to Node #0,3,2 Current State: 80:[8, 10], Operations: ['90-87=3', '30/3=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.928819
hs_5
mult_heuristic
[ 37, 26, 76, 26 ]
61
[ "37-26=11", "76-26=50", "11+50=61" ]
Current State: 61:[37, 26, 76, 26], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [76, 11] Generated Node #2: [76, 11] from Operation: 37-26=11 Current State: 61:[76, 11], Operations: ['37-26=11'] Exploring Operation: 76-26=50, Resulting Numbers: [11, 50] Generated Node #3: [11, 50] from Operation: 76-26=50 Current State: 61:[11, 50], Operations: ['37-26=11', '76-26=50'] Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[37, 26, 76, 26], Operations: [] Exploring Operation: 37+26=63, Resulting Numbers: [76, 26, 63] Generated Node #0,0: 61:[76, 26, 63] Operation: 37+26=63 Exploring Operation: 26+26=52, Resulting Numbers: [37, 76, 52] Generated Node #0,1: 61:[37, 76, 52] Operation: 26+26=52 Moving to Node #0,1 Current State: 61:[37, 76, 52], Operations: ['26+26=52'] Exploring Operation: 76-37=39, Resulting Numbers: [52, 39] Generated Node #0,1,0: 61:[52, 39] Operation: 76-37=39 Exploring Operation: 37+52=89, Resulting Numbers: [76, 89] Generated Node #0,1,1: 61:[76, 89] Operation: 37+52=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[52, 39], Operations: ['26+26=52', '76-37=39'] Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[76, 89], Operations: ['26+26=52', '37+52=89'] Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,61 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,61 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: 61:[76, 26, 63], Operations: ['37+26=63'] Exploring Operation: 76-26=50, Resulting Numbers: [63, 50] Generated Node #0,0,0: 61:[63, 50] Operation: 76-26=50 Exploring Operation: 63-26=37, Resulting Numbers: [76, 37] Generated Node #0,0,1: 61:[76, 37] Operation: 63-26=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[63, 50], Operations: ['37+26=63', '76-26=50'] Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,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,0,1 Current State: 61:[76, 37], Operations: ['37+26=63', '63-26=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 20, 12, 3, 17 ]
31
[ "20*3=60", "12+17=29", "60-29=31" ]
Current State: 31:[20, 12, 3, 17], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [12, 17, 60] Generated Node #2: [12, 17, 60] from Operation: 20*3=60 Current State: 31:[12, 17, 60], Operations: ['20*3=60'] Exploring Operation: 12+17=29, Resulting Numbers: [60, 29] Generated Node #3: [60, 29] from Operation: 12+17=29 Current State: 31:[60, 29], Operations: ['20*3=60', '12+17=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 12, 3, 17], Operations: [] Exploring Operation: 20+3=23, Resulting Numbers: [12, 17, 23] Generated Node #0,0: 31:[12, 17, 23] Operation: 20+3=23 Exploring Operation: 12+17=29, Resulting Numbers: [20, 3, 29] Generated Node #0,1: 31:[20, 3, 29] Operation: 12+17=29 Exploring Operation: 12+3=15, Resulting Numbers: [20, 17, 15] Generated Node #0,2: 31:[20, 17, 15] Operation: 12+3=15 Exploring Operation: 12*3=36, Resulting Numbers: [20, 17, 36] Generated Node #0,3: 31:[20, 17, 36] Operation: 12*3=36 Moving to Node #0,3 Current State: 31:[20, 17, 36], Operations: ['12*3=36'] Exploring Operation: 20-17=3, Resulting Numbers: [36, 3] Generated Node #0,3,0: 31:[36, 3] Operation: 20-17=3 Exploring Operation: 20+17=37, Resulting Numbers: [36, 37] Generated Node #0,3,1: 31:[36, 37] Operation: 20+17=37 Exploring Operation: 36-17=19, Resulting Numbers: [20, 19] Generated Node #0,3,2: 31:[20, 19] Operation: 36-17=19 Exploring Operation: 36-20=16, Resulting Numbers: [17, 16] Generated Node #0,3,3: 31:[17, 16] Operation: 36-20=16 Moving to Node #0,1 Current State: 31:[20, 3, 29], Operations: ['12+17=29'] Exploring Operation: 3+29=32, Resulting Numbers: [20, 32] Generated Node #0,1,0: 31:[20, 32] Operation: 3+29=32 Exploring Operation: 20-3=17, Resulting Numbers: [29, 17] Generated Node #0,1,1: 31:[29, 17] Operation: 20-3=17 Exploring Operation: 20+3=23, Resulting Numbers: [29, 23] Generated Node #0,1,2: 31:[29, 23] Operation: 20+3=23 Exploring Operation: 29-3=26, Resulting Numbers: [20, 26] Generated Node #0,1,3: 31:[20, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[29, 23], Operations: ['12+17=29', '20+3=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,31 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,31 unequal: No Solution No 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: 31:[20, 32], Operations: ['12+17=29', '3+29=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,31 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,31 unequal: No Solution No 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: 31:[29, 17], Operations: ['12+17=29', '20-3=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,31 unequal: No Solution Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,31 unequal: No Solution No 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: 31:[20, 26], Operations: ['12+17=29', '29-3=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,31 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,31 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: 31:[12, 17, 23], Operations: ['20+3=23'] Exploring Operation: 12+17=29, Resulting Numbers: [23, 29] Generated Node #0,0,0: 31:[23, 29] Operation: 12+17=29 Exploring Operation: 12+23=35, Resulting Numbers: [17, 35] Generated Node #0,0,1: 31:[17, 35] Operation: 12+23=35 Exploring Operation: 17-12=5, Resulting Numbers: [23, 5] Generated Node #0,0,2: 31:[23, 5] Operation: 17-12=5 Exploring Operation: 17+23=40, Resulting Numbers: [12, 40] Generated Node #0,0,3: 31:[12, 40] Operation: 17+23=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[23, 29], Operations: ['20+3=23', '12+17=29'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,31 unequal: No Solution No 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: 31:[17, 35], Operations: ['20+3=23', '12+23=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,31 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,31 unequal: No Solution No 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: 31:[12, 40], Operations: ['20+3=23', '17+23=40'] Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,31 unequal: No Solution Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,31 unequal: No Solution No 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: 31:[23, 5], Operations: ['20+3=23', '17-12=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,31 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,31 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,31 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: 31:[20, 17, 15], Operations: ['12+3=15'] Exploring Operation: 20+17=37, Resulting Numbers: [15, 37] Generated Node #0,2,0: 31:[15, 37] Operation: 20+17=37 Exploring Operation: 17+15=32, Resulting Numbers: [20, 32] Generated Node #0,2,1: 31:[20, 32] Operation: 17+15=32 Exploring Operation: 20+15=35, Resulting Numbers: [17, 35] Generated Node #0,2,2: 31:[17, 35] Operation: 20+15=35 Exploring Operation: 20-15=5, Resulting Numbers: [17, 5] Generated Node #0,2,3: 31:[17, 5] Operation: 20-15=5 Moving to Node #0,3,1 Current State: 31:[36, 37], Operations: ['12*3=36', '20+17=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,31 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[20, 32], Operations: ['12+3=15', '17+15=32'] Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,31 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[17, 35], Operations: ['12+3=15', '20+15=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[15, 37], Operations: ['12+3=15', '20+17=37'] Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,31 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[20, 19], Operations: ['12*3=36', '36-17=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,31 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[17, 16], Operations: ['12*3=36', '36-20=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,31 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[36, 3], Operations: ['12*3=36', '20-17=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,31 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[17, 5], Operations: ['12+3=15', '20-15=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,31 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,31 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 98, 68, 82 ]
42
[ "10+98=108", "68+82=150", "150-108=42" ]
Current State: 42:[10, 98, 68, 82], Operations: [] Exploring Operation: 10+98=108, Resulting Numbers: [68, 82, 108] Generated Node #2: [68, 82, 108] from Operation: 10+98=108 Current State: 42:[68, 82, 108], Operations: ['10+98=108'] Exploring Operation: 68+82=150, Resulting Numbers: [108, 150] Generated Node #3: [108, 150] from Operation: 68+82=150 Current State: 42:[108, 150], Operations: ['10+98=108', '68+82=150'] Exploring Operation: 150-108=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[10, 98, 68, 82], Operations: [] Exploring Operation: 68-10=58, Resulting Numbers: [98, 82, 58] Generated Node #0,0: 42:[98, 82, 58] Operation: 68-10=58 Exploring Operation: 98-10=88, Resulting Numbers: [68, 82, 88] Generated Node #0,1: 42:[68, 82, 88] Operation: 98-10=88 Exploring Operation: 98-68=30, Resulting Numbers: [10, 82, 30] Generated Node #0,2: 42:[10, 82, 30] Operation: 98-68=30 Exploring Operation: 82-68=14, Resulting Numbers: [10, 98, 14] Generated Node #0,3: 42:[10, 98, 14] Operation: 82-68=14 Exploring Operation: 98-82=16, Resulting Numbers: [10, 68, 16] Generated Node #0,4: 42:[10, 68, 16] Operation: 98-82=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[10, 68, 16], Operations: ['98-82=16'] Exploring Operation: 68-16=52, Resulting Numbers: [10, 52] Generated Node #0,4,0: 42:[10, 52] Operation: 68-16=52 Exploring Operation: 10+16=26, Resulting Numbers: [68, 26] Generated Node #0,4,1: 42:[68, 26] Operation: 10+16=26 Exploring Operation: 10+68=78, Resulting Numbers: [16, 78] Generated Node #0,4,2: 42:[16, 78] Operation: 10+68=78 Exploring Operation: 68-10=58, Resulting Numbers: [16, 58] Generated Node #0,4,3: 42:[16, 58] Operation: 68-10=58 Exploring Operation: 16-10=6, Resulting Numbers: [68, 6] Generated Node #0,4,4: 42:[68, 6] Operation: 16-10=6 Moving to Node #0,4,0 Current State: 42:[10, 52], Operations: ['98-82=16', '68-16=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[10, 98, 68, 82], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [10, 68, 16] Generated Node #0,4: 42:[10, 68, 16] Operation: 98-82=16 Moving to Node #0,4 Current State: 42:[10, 68, 16], Operations: ['98-82=16'] Exploring Operation: 68-16=52, Resulting Numbers: [10, 52] Generated Node #0,4,0: 42:[10, 52] Operation: 68-16=52 Moving to Node #0,4,0 Current State: 42:[10, 52], Operations: ['98-82=16', '68-16=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 27, 84, 47, 59 ]
94
[ "84-27=57", "59-57=2", "47*2=94" ]
Current State: 94:[27, 84, 47, 59], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [47, 59, 57] Generated Node #2: [47, 59, 57] from Operation: 84-27=57 Current State: 94:[47, 59, 57], Operations: ['84-27=57'] Exploring Operation: 59-57=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 59-57=2 Current State: 94:[47, 2], Operations: ['84-27=57', '59-57=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[27, 84, 47, 59], Operations: [] Exploring Operation: 47-27=20, Resulting Numbers: [84, 59, 20] Generated Node #0,0: 94:[84, 59, 20] Operation: 47-27=20 Exploring Operation: 27+84=111, Resulting Numbers: [47, 59, 111] Generated Node #0,1: 94:[47, 59, 111] Operation: 27+84=111 Exploring Operation: 27+59=86, Resulting Numbers: [84, 47, 86] Generated Node #0,2: 94:[84, 47, 86] Operation: 27+59=86 Exploring Operation: 84-27=57, Resulting Numbers: [47, 59, 57] Generated Node #0,3: 94:[47, 59, 57] Operation: 84-27=57 Exploring Operation: 59-27=32, Resulting Numbers: [84, 47, 32] Generated Node #0,4: 94:[84, 47, 32] Operation: 59-27=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[84, 47, 86], Operations: ['27+59=86'] Exploring Operation: 86-84=2, Resulting Numbers: [47, 2] Generated Node #0,2,0: 94:[47, 2] Operation: 86-84=2 Exploring Operation: 84-47=37, Resulting Numbers: [86, 37] Generated Node #0,2,1: 94:[86, 37] Operation: 84-47=37 Exploring Operation: 84+47=131, Resulting Numbers: [86, 131] Generated Node #0,2,2: 94:[86, 131] Operation: 84+47=131 Exploring Operation: 47+86=133, Resulting Numbers: [84, 133] Generated Node #0,2,3: 94:[84, 133] Operation: 47+86=133 Exploring Operation: 86-47=39, Resulting Numbers: [84, 39] Generated Node #0,2,4: 94:[84, 39] Operation: 86-47=39 Moving to Node #0,2,0 Current State: 94:[47, 2], Operations: ['27+59=86', '86-84=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[27, 84, 47, 59], Operations: [] Exploring Operation: 27+59=86, Resulting Numbers: [84, 47, 86] Generated Node #0,2: 94:[84, 47, 86] Operation: 27+59=86 Moving to Node #0,2 Current State: 94:[84, 47, 86], Operations: ['27+59=86'] Exploring Operation: 86-84=2, Resulting Numbers: [47, 2] Generated Node #0,2,0: 94:[47, 2] Operation: 86-84=2 Moving to Node #0,2,0 Current State: 94:[47, 2], Operations: ['27+59=86', '86-84=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 67, 77, 77, 74 ]
67
[ "77-77=0", "74*0=0", "67+0=67" ]
Current State: 67:[67, 77, 77, 74], Operations: [] Exploring Operation: 77-77=0, Resulting Numbers: [67, 74, 0] Generated Node #2: [67, 74, 0] from Operation: 77-77=0 Current State: 67:[67, 74, 0], Operations: ['77-77=0'] Exploring Operation: 74*0=0, Resulting Numbers: [67, 0] Generated Node #3: [67, 0] from Operation: 74*0=0 Current State: 67:[67, 0], Operations: ['77-77=0', '74*0=0'] Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[67, 77, 77, 74], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [67, 74, 1] Generated Node #0,0: 67:[67, 74, 1] Operation: 77/77=1 Moving to Node #0,0 Current State: 67:[67, 74, 1], Operations: ['77/77=1'] Exploring Operation: 74-1=73, Resulting Numbers: [67, 73] Generated Node #0,0,0: 67:[67, 73] Operation: 74-1=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[67, 73], Operations: ['77/77=1', '74-1=73'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,67 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
[ 87, 46, 22, 69 ]
36
[ "87*46=4002", "4002/69=58", "58-22=36" ]
Current State: 36:[87, 46, 22, 69], Operations: [] Exploring Operation: 87*46=4002, Resulting Numbers: [22, 69, 4002] Generated Node #2: [22, 69, 4002] from Operation: 87*46=4002 Current State: 36:[22, 69, 4002], Operations: ['87*46=4002'] Exploring Operation: 4002/69=58, Resulting Numbers: [22, 58] Generated Node #3: [22, 58] from Operation: 4002/69=58 Current State: 36:[22, 58], Operations: ['87*46=4002', '4002/69=58'] Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[87, 46, 22, 69], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [46, 69, 65] Generated Node #0,0: 36:[46, 69, 65] Operation: 87-22=65 Exploring Operation: 69-46=23, Resulting Numbers: [87, 22, 23] Generated Node #0,1: 36:[87, 22, 23] Operation: 69-46=23 Exploring Operation: 87-46=41, Resulting Numbers: [22, 69, 41] Generated Node #0,2: 36:[22, 69, 41] Operation: 87-46=41 Exploring Operation: 87-69=18, Resulting Numbers: [46, 22, 18] Generated Node #0,3: 36:[46, 22, 18] Operation: 87-69=18 Moving to Node #0,3 Current State: 36:[46, 22, 18], Operations: ['87-69=18'] Exploring Operation: 22+18=40, Resulting Numbers: [46, 40] Generated Node #0,3,0: 36:[46, 40] Operation: 22+18=40 Exploring Operation: 46-18=28, Resulting Numbers: [22, 28] Generated Node #0,3,1: 36:[22, 28] Operation: 46-18=28 Exploring Operation: 22-18=4, Resulting Numbers: [46, 4] Generated Node #0,3,2: 36:[46, 4] Operation: 22-18=4 Exploring Operation: 46-22=24, Resulting Numbers: [18, 24] Generated Node #0,3,3: 36:[18, 24] Operation: 46-22=24 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[18, 24], Operations: ['87-69=18', '46-22=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,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,3,2 Current State: 36:[46, 4], Operations: ['87-69=18', '22-18=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,36 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,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,3,1 Current State: 36:[22, 28], Operations: ['87-69=18', '46-18=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,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,3,0 Current State: 36:[46, 40], Operations: ['87-69=18', '22+18=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,36 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,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:[22, 69, 41], Operations: ['87-46=41'] Exploring Operation: 41-22=19, Resulting Numbers: [69, 19] Generated Node #0,2,0: 36:[69, 19] Operation: 41-22=19 Exploring Operation: 22+69=91, Resulting Numbers: [41, 91] Generated Node #0,2,1: 36:[41, 91] Operation: 22+69=91 Exploring Operation: 69-22=47, Resulting Numbers: [41, 47] Generated Node #0,2,2: 36:[41, 47] Operation: 69-22=47 Exploring Operation: 69-41=28, Resulting Numbers: [22, 28] Generated Node #0,2,3: 36:[22, 28] Operation: 69-41=28 Moving to Node #0,1 Current State: 36:[87, 22, 23], Operations: ['69-46=23'] Exploring Operation: 22+23=45, Resulting Numbers: [87, 45] Generated Node #0,1,0: 36:[87, 45] Operation: 22+23=45 Exploring Operation: 23-22=1, Resulting Numbers: [87, 1] Generated Node #0,1,1: 36:[87, 1] Operation: 23-22=1 Exploring Operation: 87-23=64, Resulting Numbers: [22, 64] Generated Node #0,1,2: 36:[22, 64] Operation: 87-23=64 Exploring Operation: 87-22=65, Resulting Numbers: [23, 65] Generated Node #0,1,3: 36:[23, 65] Operation: 87-22=65 Moving to Node #0,0 Current State: 36:[46, 69, 65], Operations: ['87-22=65'] Exploring Operation: 46+69=115, Resulting Numbers: [65, 115] Generated Node #0,0,0: 36:[65, 115] Operation: 46+69=115 Exploring Operation: 65-46=19, Resulting Numbers: [69, 19] Generated Node #0,0,1: 36:[69, 19] Operation: 65-46=19 Exploring Operation: 69-46=23, Resulting Numbers: [65, 23] Generated Node #0,0,2: 36:[65, 23] Operation: 69-46=23 Exploring Operation: 69-65=4, Resulting Numbers: [46, 4] Generated Node #0,0,3: 36:[46, 4] Operation: 69-65=4 Moving to Node #0,0,3 Current State: 36:[46, 4], Operations: ['87-22=65', '69-65=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,36 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[22, 28], Operations: ['87-46=41', '69-41=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,36 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[41, 47], Operations: ['87-46=41', '69-22=47'] Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,36 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[22, 64], Operations: ['69-46=23', '87-23=64'] Exploring Operation: 22*64=1408, Resulting Numbers: [1408] 1408,36 unequal: No Solution Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,36 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[69, 19], Operations: ['87-46=41', '41-22=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[23, 65], Operations: ['69-46=23', '87-22=65'] Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[69, 19], Operations: ['87-22=65', '65-46=19'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[65, 23], Operations: ['87-22=65', '69-46=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,36 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[87, 1], Operations: ['69-46=23', '23-22=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,36 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,36 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,36 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[87, 45], Operations: ['69-46=23', '22+23=45'] Exploring Operation: 87+45=132, Resulting Numbers: [132] 132,36 unequal: No Solution Exploring Operation: 87*45=3915, Resulting Numbers: [3915] 3915,36 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[41, 91], Operations: ['87-46=41', '22+69=91'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 41*91=3731, Resulting Numbers: [3731] 3731,36 unequal: No Solution Exploring Operation: 41+91=132, Resulting Numbers: [132] 132,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[65, 115], Operations: ['87-22=65', '46+69=115'] Exploring Operation: 65*115=7475, Resulting Numbers: [7475] 7475,36 unequal: No Solution Exploring Operation: 65+115=180, Resulting Numbers: [180] 180,36 unequal: No Solution Exploring Operation: 115-65=50, Resulting Numbers: [50] 50,36 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 23, 54, 29, 2 ]
89
[ "54-23=31", "29*2=58", "31+58=89" ]
Current State: 89:[23, 54, 29, 2], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [29, 2, 31] Generated Node #2: [29, 2, 31] from Operation: 54-23=31 Current State: 89:[29, 2, 31], Operations: ['54-23=31'] Exploring Operation: 29*2=58, Resulting Numbers: [31, 58] Generated Node #3: [31, 58] from Operation: 29*2=58 Current State: 89:[31, 58], Operations: ['54-23=31', '29*2=58'] Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[23, 54, 29, 2], Operations: [] Exploring Operation: 54*2=108, Resulting Numbers: [23, 29, 108] Generated Node #0,0: 89:[23, 29, 108] Operation: 54*2=108 Exploring Operation: 23*2=46, Resulting Numbers: [54, 29, 46] Generated Node #0,1: 89:[54, 29, 46] Operation: 23*2=46 Exploring Operation: 29*2=58, Resulting Numbers: [23, 54, 58] Generated Node #0,2: 89:[23, 54, 58] Operation: 29*2=58 Moving to Node #0,2 Current State: 89:[23, 54, 58], Operations: ['29*2=58'] Exploring Operation: 23+58=81, Resulting Numbers: [54, 81] Generated Node #0,2,0: 89:[54, 81] Operation: 23+58=81 Exploring Operation: 54-23=31, Resulting Numbers: [58, 31] Generated Node #0,2,1: 89:[58, 31] Operation: 54-23=31 Exploring Operation: 23+54=77, Resulting Numbers: [58, 77] Generated Node #0,2,2: 89:[58, 77] Operation: 23+54=77 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[54, 81], Operations: ['29*2=58', '23+58=81'] Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 54+81=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 54*81=4374, Resulting Numbers: [4374] 4374,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,2 Current State: 89:[58, 77], Operations: ['29*2=58', '23+54=77'] Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,89 unequal: No Solution Exploring Operation: 58*77=4466, Resulting Numbers: [4466] 4466,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:[58, 31], Operations: ['29*2=58', '54-23=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,89 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[23, 54, 29, 2], Operations: [] Exploring Operation: 29*2=58, Resulting Numbers: [23, 54, 58] Generated Node #0,2: 89:[23, 54, 58] Operation: 29*2=58 Moving to Node #0,2 Current State: 89:[23, 54, 58], Operations: ['29*2=58'] Exploring Operation: 54-23=31, Resulting Numbers: [58, 31] Generated Node #0,2,1: 89:[58, 31] Operation: 54-23=31 Moving to Node #0,2,1 Current State: 89:[58, 31], Operations: ['29*2=58', '54-23=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 13, 43, 94, 64 ]
86
[ "13+43=56", "94-64=30", "56+30=86" ]
Current State: 86:[13, 43, 94, 64], Operations: [] Exploring Operation: 13+43=56, Resulting Numbers: [94, 64, 56] Generated Node #2: [94, 64, 56] from Operation: 13+43=56 Current State: 86:[94, 64, 56], Operations: ['13+43=56'] Exploring Operation: 94-64=30, Resulting Numbers: [56, 30] Generated Node #3: [56, 30] from Operation: 94-64=30 Current State: 86:[56, 30], Operations: ['13+43=56', '94-64=30'] Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[13, 43, 94, 64], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [43, 64, 81] Generated Node #0,0: 86:[43, 64, 81] Operation: 94-13=81 Exploring Operation: 64-13=51, Resulting Numbers: [43, 94, 51] Generated Node #0,1: 86:[43, 94, 51] Operation: 64-13=51 Exploring Operation: 94-64=30, Resulting Numbers: [13, 43, 30] Generated Node #0,2: 86:[13, 43, 30] Operation: 94-64=30 Exploring Operation: 13+64=77, Resulting Numbers: [43, 94, 77] Generated Node #0,3: 86:[43, 94, 77] Operation: 13+64=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[43, 94, 51], Operations: ['64-13=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94, 94] Generated Node #0,1,0: 86:[94, 94] Operation: 43+51=94 Exploring Operation: 94-43=51, Resulting Numbers: [51, 51] Generated Node #0,1,1: 86:[51, 51] Operation: 94-43=51 Exploring Operation: 94-51=43, Resulting Numbers: [43, 43] Generated Node #0,1,2: 86:[43, 43] Operation: 94-51=43 Exploring Operation: 51-43=8, Resulting Numbers: [94, 8] Generated Node #0,1,3: 86:[94, 8] Operation: 51-43=8 Moving to Node #0,1,2 Current State: 86:[43, 43], Operations: ['64-13=51', '94-51=43'] Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,86 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[13, 43, 94, 64], Operations: [] Exploring Operation: 64-13=51, Resulting Numbers: [43, 94, 51] Generated Node #0,1: 86:[43, 94, 51] Operation: 64-13=51 Moving to Node #0,1 Current State: 86:[43, 94, 51], Operations: ['64-13=51'] Exploring Operation: 94-51=43, Resulting Numbers: [43, 43] Generated Node #0,1,2: 86:[43, 43] Operation: 94-51=43 Moving to Node #0,1,2 Current State: 86:[43, 43], Operations: ['64-13=51', '94-51=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 87, 30, 48, 18 ]
86
[ "48-30=18", "18/18=1", "87-1=86" ]
Current State: 86:[87, 30, 48, 18], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [87, 18, 18] Generated Node #2: [87, 18, 18] from Operation: 48-30=18 Current State: 86:[87, 18, 18], Operations: ['48-30=18'] Exploring Operation: 18/18=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 18/18=1 Current State: 86:[87, 1], Operations: ['48-30=18', '18/18=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[87, 30, 48, 18], Operations: [] Exploring Operation: 30+18=48, Resulting Numbers: [87, 48, 48] Generated Node #0,0: 86:[87, 48, 48] Operation: 30+18=48 Exploring Operation: 30-18=12, Resulting Numbers: [87, 48, 12] Generated Node #0,1: 86:[87, 48, 12] Operation: 30-18=12 Exploring Operation: 30+48=78, Resulting Numbers: [87, 18, 78] Generated Node #0,2: 86:[87, 18, 78] Operation: 30+48=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[87, 48, 48], Operations: ['30+18=48'] Exploring Operation: 48-48=0, Resulting Numbers: [87, 0] Generated Node #0,0,0: 86:[87, 0] Operation: 48-48=0 Exploring Operation: 87-48=39, Resulting Numbers: [48, 39] Generated Node #0,0,1: 86:[48, 39] Operation: 87-48=39 Exploring Operation: 48/48=1, Resulting Numbers: [87, 1] Generated Node #0,0,2: 86:[87, 1] Operation: 48/48=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[87, 1], Operations: ['30+18=48', '48/48=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[87, 30, 48, 18], Operations: [] Exploring Operation: 30+18=48, Resulting Numbers: [87, 48, 48] Generated Node #0,0: 86:[87, 48, 48] Operation: 30+18=48 Moving to Node #0,0 Current State: 86:[87, 48, 48], Operations: ['30+18=48'] Exploring Operation: 48/48=1, Resulting Numbers: [87, 1] Generated Node #0,0,2: 86:[87, 1] Operation: 48/48=1 Moving to Node #0,0,2 Current State: 86:[87, 1], Operations: ['30+18=48', '48/48=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 17, 2, 28, 21 ]
43
[ "28-17=11", "2*11=22", "21+22=43" ]
Current State: 43:[17, 2, 28, 21], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [2, 21, 11] Generated Node #2: [2, 21, 11] from Operation: 28-17=11 Current State: 43:[2, 21, 11], Operations: ['28-17=11'] Exploring Operation: 2*11=22, Resulting Numbers: [21, 22] Generated Node #3: [21, 22] from Operation: 2*11=22 Current State: 43:[21, 22], Operations: ['28-17=11', '2*11=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[17, 2, 28, 21], Operations: [] Exploring Operation: 17+2=19, Resulting Numbers: [28, 21, 19] Generated Node #0,0: 43:[28, 21, 19] Operation: 17+2=19 Exploring Operation: 2+28=30, Resulting Numbers: [17, 21, 30] Generated Node #0,1: 43:[17, 21, 30] Operation: 2+28=30 Exploring Operation: 17+21=38, Resulting Numbers: [2, 28, 38] Generated Node #0,2: 43:[2, 28, 38] Operation: 17+21=38 Exploring Operation: 2*21=42, Resulting Numbers: [17, 28, 42] Generated Node #0,3: 43:[17, 28, 42] Operation: 2*21=42 Exploring Operation: 17*2=34, Resulting Numbers: [28, 21, 34] Generated Node #0,4: 43:[28, 21, 34] Operation: 17*2=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[17, 28, 42], Operations: ['2*21=42'] Exploring Operation: 17+28=45, Resulting Numbers: [42, 45] Generated Node #0,3,0: 43:[42, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [42, 11] Generated Node #0,3,1: 43:[42, 11] Operation: 28-17=11 Exploring Operation: 42-17=25, Resulting Numbers: [28, 25] Generated Node #0,3,2: 43:[28, 25] Operation: 42-17=25 Exploring Operation: 17+42=59, Resulting Numbers: [28, 59] Generated Node #0,3,3: 43:[28, 59] Operation: 17+42=59 Exploring Operation: 28+42=70, Resulting Numbers: [17, 70] Generated Node #0,3,4: 43:[17, 70] Operation: 28+42=70 Moving to Node #0,3,0 Current State: 43:[42, 45], Operations: ['2*21=42', '17+28=45'] Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[28, 59], Operations: ['2*21=42', '17+42=59'] Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,43 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[42, 11], Operations: ['2*21=42', '28-17=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,43 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[28, 25], Operations: ['2*21=42', '42-17=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[17, 70], Operations: ['2*21=42', '28+42=70'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 17*70=1190, Resulting Numbers: [1190] 1190,43 unequal: No Solution Exploring Operation: 17+70=87, Resulting Numbers: [87] 87,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,4 Current State: 43:[28, 21, 34], Operations: ['17*2=34'] Exploring Operation: 28+34=62, Resulting Numbers: [21, 62] Generated Node #0,4,0: 43:[21, 62] Operation: 28+34=62 Exploring Operation: 28-21=7, Resulting Numbers: [34, 7] Generated Node #0,4,1: 43:[34, 7] Operation: 28-21=7 Exploring Operation: 34-21=13, Resulting Numbers: [28, 13] Generated Node #0,4,2: 43:[28, 13] Operation: 34-21=13 Exploring Operation: 28+21=49, Resulting Numbers: [34, 49] Generated Node #0,4,3: 43:[34, 49] Operation: 28+21=49 Exploring Operation: 21+34=55, Resulting Numbers: [28, 55] Generated Node #0,4,4: 43:[28, 55] Operation: 21+34=55 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 43:[34, 49], Operations: ['17*2=34', '28+21=49'] Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,43 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,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,4,4 Current State: 43:[28, 55], Operations: ['17*2=34', '21+34=55'] Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,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,4,0 Current State: 43:[21, 62], Operations: ['17*2=34', '28+34=62'] Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,43 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,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,4,1 Current State: 43:[34, 7], Operations: ['17*2=34', '28-21=7'] Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,43 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,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,4,2 Current State: 43:[28, 13], Operations: ['17*2=34', '34-21=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[28, 21, 19], Operations: ['17+2=19'] Exploring Operation: 28+19=47, Resulting Numbers: [21, 47] Generated Node #0,0,0: 43:[21, 47] Operation: 28+19=47 Exploring Operation: 21-19=2, Resulting Numbers: [28, 2] Generated Node #0,0,1: 43:[28, 2] Operation: 21-19=2 Exploring Operation: 28+21=49, Resulting Numbers: [19, 49] Generated Node #0,0,2: 43:[19, 49] Operation: 28+21=49 Exploring Operation: 21+19=40, Resulting Numbers: [28, 40] Generated Node #0,0,3: 43:[28, 40] Operation: 21+19=40 Exploring Operation: 28-19=9, Resulting Numbers: [21, 9] Generated Node #0,0,4: 43:[21, 9] Operation: 28-19=9 Moving to Node #0,0,3 Current State: 43:[28, 40], Operations: ['17+2=19', '21+19=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,43 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[21, 47], Operations: ['17+2=19', '28+19=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,43 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[19, 49], Operations: ['17+2=19', '28+21=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[28, 2], Operations: ['17+2=19', '21-19=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,43 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[21, 9], Operations: ['17+2=19', '28-19=9'] Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,43 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,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:[17, 21, 30], Operations: ['2+28=30'] Exploring Operation: 30-17=13, Resulting Numbers: [21, 13] Generated Node #0,1,0: 43:[21, 13] Operation: 30-17=13 Exploring Operation: 17+30=47, Resulting Numbers: [21, 47] Generated Node #0,1,1: 43:[21, 47] Operation: 17+30=47 Exploring Operation: 21-17=4, Resulting Numbers: [30, 4] Generated Node #0,1,2: 43:[30, 4] Operation: 21-17=4 Exploring Operation: 17+21=38, Resulting Numbers: [30, 38] Generated Node #0,1,3: 43:[30, 38] Operation: 17+21=38 Exploring Operation: 21+30=51, Resulting Numbers: [17, 51] Generated Node #0,1,4: 43:[17, 51] Operation: 21+30=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 43:[30, 38], Operations: ['2+28=30', '17+21=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,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:[21, 47], Operations: ['2+28=30', '17+30=47'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,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,4 Current State: 43:[17, 51], Operations: ['2+28=30', '21+30=51'] Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 17*51=867, Resulting Numbers: [867] 867,43 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,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,0 Current State: 43:[21, 13], Operations: ['2+28=30', '30-17=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,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,2 Current State: 43:[30, 4], Operations: ['2+28=30', '21-17=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[2, 28, 38], Operations: ['17+21=38'] Exploring Operation: 2+38=40, Resulting Numbers: [28, 40] Generated Node #0,2,0: 43:[28, 40] Operation: 2+38=40 Exploring Operation: 38-2=36, Resulting Numbers: [28, 36] Generated Node #0,2,1: 43:[28, 36] Operation: 38-2=36 Exploring Operation: 2*28=56, Resulting Numbers: [38, 56] Generated Node #0,2,2: 43:[38, 56] Operation: 2*28=56 Exploring Operation: 2+28=30, Resulting Numbers: [38, 30] Generated Node #0,2,3: 43:[38, 30] Operation: 2+28=30 Exploring Operation: 28-2=26, Resulting Numbers: [38, 26] Generated Node #0,2,4: 43:[38, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[28, 40], Operations: ['17+21=38', '2+38=40'] Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,43 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,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,2,2 Current State: 43:[38, 56], Operations: ['17+21=38', '2*28=56'] Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,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,2,3 Current State: 43:[38, 30], Operations: ['17+21=38', '2+28=30'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,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,2,1 Current State: 43:[28, 36], Operations: ['17+21=38', '38-2=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,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,2,4 Current State: 43:[38, 26], Operations: ['17+21=38', '28-2=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,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_5
sum_heuristic
[ 42, 5, 5, 10 ]
39
[ "42-5=37", "10/5=2", "37+2=39" ]
Current State: 39:[42, 5, 5, 10], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [10, 37] Generated Node #2: [10, 37] from Operation: 42-5=37 Current State: 39:[10, 37], Operations: ['42-5=37'] Exploring Operation: 10/5=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 10/5=2 Current State: 39:[37, 2], Operations: ['42-5=37', '10/5=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[42, 5, 5, 10], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [42, 5, 2] Generated Node #0,0: 39:[42, 5, 2] Operation: 10/5=2 Exploring Operation: 10/5=2, Resulting Numbers: [42, 5, 2] Generated Node #0,1: 39:[42, 5, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[42, 5, 2], Operations: ['10/5=2'] Exploring Operation: 42-2=40, Resulting Numbers: [5, 40] Generated Node #0,0,0: 39:[5, 40] Operation: 42-2=40 Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 39:[2, 37] Operation: 42-5=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[5, 40], Operations: ['10/5=2', '42-2=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[2, 37], Operations: ['10/5=2', '42-5=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[42, 5, 5, 10], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [42, 5, 2] Generated Node #0,0: 39:[42, 5, 2] Operation: 10/5=2 Moving to Node #0,0 Current State: 39:[42, 5, 2], Operations: ['10/5=2'] Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 39:[2, 37] Operation: 42-5=37 Moving to Node #0,0,1 Current State: 39:[2, 37], Operations: ['10/5=2', '42-5=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 70, 72, 9, 92 ]
99
[ "72-70=2", "9+92=101", "101-2=99" ]
Current State: 99:[70, 72, 9, 92], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [9, 92, 2] Generated Node #2: [9, 92, 2] from Operation: 72-70=2 Current State: 99:[9, 92, 2], Operations: ['72-70=2'] Exploring Operation: 9+92=101, Resulting Numbers: [2, 101] Generated Node #3: [2, 101] from Operation: 9+92=101 Current State: 99:[2, 101], Operations: ['72-70=2', '9+92=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[70, 72, 9, 92], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [9, 92, 2] Generated Node #0,0: 99:[9, 92, 2] Operation: 72-70=2 Moving to Node #0,0 Current State: 99:[9, 92, 2], Operations: ['72-70=2'] Exploring Operation: 9+92=101, Resulting Numbers: [2, 101] Generated Node #0,0,0: 99:[2, 101] Operation: 9+92=101 Moving to Node #0,0,0 Current State: 99:[2, 101], Operations: ['72-70=2', '9+92=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[70, 72, 9, 92], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [9, 92, 2] Generated Node #0,0: 99:[9, 92, 2] Operation: 72-70=2 Moving to Node #0,0 Current State: 99:[9, 92, 2], Operations: ['72-70=2'] Exploring Operation: 9+92=101, Resulting Numbers: [2, 101] Generated Node #0,0,0: 99:[2, 101] Operation: 9+92=101 Moving to Node #0,0,0 Current State: 99:[2, 101], Operations: ['72-70=2', '9+92=101'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 7, 72, 5, 59 ]
95
[ "7-5=2", "72/2=36", "59+36=95" ]
Current State: 95:[7, 72, 5, 59], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [72, 59, 2] Generated Node #2: [72, 59, 2] from Operation: 7-5=2 Current State: 95:[72, 59, 2], Operations: ['7-5=2'] Exploring Operation: 72/2=36, Resulting Numbers: [59, 36] Generated Node #3: [59, 36] from Operation: 72/2=36 Current State: 95:[59, 36], Operations: ['7-5=2', '72/2=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[7, 72, 5, 59], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [7, 5, 13] Generated Node #0,0: 95:[7, 5, 13] Operation: 72-59=13 Moving to Node #0,0 Current State: 95:[7, 5, 13], Operations: ['72-59=13'] Exploring Operation: 7+13=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 95:[5, 20] Operation: 7+13=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[5, 20], Operations: ['72-59=13', '7+13=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 15, 77, 74 ]
25
[ "5*15=75", "77-74=3", "75/3=25" ]
Current State: 25:[5, 15, 77, 74], Operations: [] Exploring Operation: 5*15=75, Resulting Numbers: [77, 74, 75] Generated Node #2: [77, 74, 75] from Operation: 5*15=75 Current State: 25:[77, 74, 75], Operations: ['5*15=75'] Exploring Operation: 77-74=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 77-74=3 Current State: 25:[75, 3], Operations: ['5*15=75', '77-74=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 15, 77, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [5, 15, 3] Generated Node #0,0: 25:[5, 15, 3] Operation: 77-74=3 Exploring Operation: 77-15=62, Resulting Numbers: [5, 74, 62] Generated Node #0,1: 25:[5, 74, 62] Operation: 77-15=62 Moving to Node #0,0 Current State: 25:[5, 15, 3], Operations: ['77-74=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 25:[5, 5] Operation: 15/3=5 Exploring Operation: 15/5=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 25:[3, 3] Operation: 15/5=3 Moving to Node #0,1 Current State: 25:[5, 74, 62], Operations: ['77-15=62'] Exploring Operation: 74-5=69, Resulting Numbers: [62, 69] Generated Node #0,1,0: 25:[62, 69] Operation: 74-5=69 Exploring Operation: 74-62=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 25:[5, 12] Operation: 74-62=12 Moving to Node #0,0,0 Current State: 25:[5, 5], Operations: ['77-74=3', '15/3=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 15, 77, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [5, 15, 3] Generated Node #0,0: 25:[5, 15, 3] Operation: 77-74=3 Moving to Node #0,0 Current State: 25:[5, 15, 3], Operations: ['77-74=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 25:[5, 5] Operation: 15/3=5 Moving to Node #0,0,0 Current State: 25:[5, 5], Operations: ['77-74=3', '15/3=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 86, 34, 58, 6 ]
68
[ "86+34=120", "58-6=52", "120-52=68" ]
Current State: 68:[86, 34, 58, 6], Operations: [] Exploring Operation: 86+34=120, Resulting Numbers: [58, 6, 120] Generated Node #2: [58, 6, 120] from Operation: 86+34=120 Current State: 68:[58, 6, 120], Operations: ['86+34=120'] Exploring Operation: 58-6=52, Resulting Numbers: [120, 52] Generated Node #3: [120, 52] from Operation: 58-6=52 Current State: 68:[120, 52], Operations: ['86+34=120', '58-6=52'] Exploring Operation: 120-52=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[86, 34, 58, 6], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [34, 6, 28] Generated Node #0,0: 68:[34, 6, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 68:[34, 6, 28], Operations: ['86-58=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 68:[34, 34] Operation: 6+28=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[34, 34], Operations: ['86-58=28', '6+28=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[86, 34, 58, 6], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [34, 6, 28] Generated Node #0,0: 68:[34, 6, 28] Operation: 86-58=28 Moving to Node #0,0 Current State: 68:[34, 6, 28], Operations: ['86-58=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34, 34] Generated Node #0,0,0: 68:[34, 34] Operation: 6+28=34 Moving to Node #0,0,0 Current State: 68:[34, 34], Operations: ['86-58=28', '6+28=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 19, 22, 91, 3 ]
85
[ "22-19=3", "91-3=88", "88-3=85" ]
Current State: 85:[19, 22, 91, 3], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [91, 3, 3] Generated Node #2: [91, 3, 3] from Operation: 22-19=3 Current State: 85:[91, 3, 3], Operations: ['22-19=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,85 equal: Goal Reached Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[19, 22, 91, 3], Operations: [] Exploring Operation: 91-3=88, Resulting Numbers: [19, 22, 88] Generated Node #0,0: 85:[19, 22, 88] Operation: 91-3=88 Exploring Operation: 22-3=19, Resulting Numbers: [19, 91, 19] Generated Node #0,1: 85:[19, 91, 19] Operation: 22-3=19 Exploring Operation: 22-19=3, Resulting Numbers: [91, 3, 3] Generated Node #0,2: 85:[91, 3, 3] Operation: 22-19=3 Moving to Node #0,0 Current State: 85:[19, 22, 88], Operations: ['91-3=88'] Exploring Operation: 88/22=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 85:[19, 4] Operation: 88/22=4 Exploring Operation: 88-19=69, Resulting Numbers: [22, 69] Generated Node #0,0,1: 85:[22, 69] Operation: 88-19=69 Exploring Operation: 22-19=3, Resulting Numbers: [88, 3] Generated Node #0,0,2: 85:[88, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[19, 4], Operations: ['91-3=88', '88/22=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,85 unequal: No Solution No 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: 85:[88, 3], Operations: ['91-3=88', '22-19=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[19, 22, 91, 3], Operations: [] Exploring Operation: 91-3=88, Resulting Numbers: [19, 22, 88] Generated Node #0,0: 85:[19, 22, 88] Operation: 91-3=88 Moving to Node #0,0 Current State: 85:[19, 22, 88], Operations: ['91-3=88'] Exploring Operation: 22-19=3, Resulting Numbers: [88, 3] Generated Node #0,0,2: 85:[88, 3] Operation: 22-19=3 Moving to Node #0,0,2 Current State: 85:[88, 3], Operations: ['91-3=88', '22-19=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 48, 88, 37, 85 ]
77
[ "48-37=11", "88/11=8", "85-8=77" ]
Current State: 77:[48, 88, 37, 85], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [88, 85, 11] Generated Node #2: [88, 85, 11] from Operation: 48-37=11 Current State: 77:[88, 85, 11], Operations: ['48-37=11'] Exploring Operation: 88/11=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 88/11=8 Current State: 77:[85, 8], Operations: ['48-37=11', '88/11=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[48, 88, 37, 85], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [37, 85, 40] Generated Node #0,0: 77:[37, 85, 40] Operation: 88-48=40 Exploring Operation: 48+37=85, Resulting Numbers: [88, 85, 85] Generated Node #0,1: 77:[88, 85, 85] Operation: 48+37=85 Exploring Operation: 88-85=3, Resulting Numbers: [48, 37, 3] Generated Node #0,2: 77:[48, 37, 3] Operation: 88-85=3 Exploring Operation: 48-37=11, Resulting Numbers: [88, 85, 11] Generated Node #0,3: 77:[88, 85, 11] Operation: 48-37=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[88, 85, 11], Operations: ['48-37=11'] Exploring Operation: 85-11=74, Resulting Numbers: [88, 74] Generated Node #0,3,0: 77:[88, 74] Operation: 85-11=74 Exploring Operation: 88-11=77, Resulting Numbers: [85, 77] Generated Node #0,3,1: 77:[85, 77] Operation: 88-11=77 Exploring Operation: 88-85=3, Resulting Numbers: [11, 3] Generated Node #0,3,2: 77:[11, 3] Operation: 88-85=3 Exploring Operation: 88/11=8, Resulting Numbers: [85, 8] Generated Node #0,3,3: 77:[85, 8] Operation: 88/11=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 77:[11, 3], Operations: ['48-37=11', '88-85=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 77:[85, 77], Operations: ['48-37=11', '88-11=77'] Exploring Operation: 85+77=162, Resulting Numbers: [162] 162,77 unequal: No Solution Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,77 unequal: No Solution Exploring Operation: 85*77=6545, Resulting Numbers: [6545] 6545,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 77:[85, 8], Operations: ['48-37=11', '88/11=8'] Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,77 unequal: No Solution Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[48, 88, 37, 85], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [88, 85, 11] Generated Node #0,3: 77:[88, 85, 11] Operation: 48-37=11 Moving to Node #0,3 Current State: 77:[88, 85, 11], Operations: ['48-37=11'] Exploring Operation: 88/11=8, Resulting Numbers: [85, 8] Generated Node #0,3,3: 77:[85, 8] Operation: 88/11=8 Moving to Node #0,3,3 Current State: 77:[85, 8], Operations: ['48-37=11', '88/11=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 28, 45, 59, 47 ]
33
[ "28+45=73", "59+47=106", "106-73=33" ]
Current State: 33:[28, 45, 59, 47], Operations: [] Exploring Operation: 28+45=73, Resulting Numbers: [59, 47, 73] Generated Node #2: [59, 47, 73] from Operation: 28+45=73 Current State: 33:[59, 47, 73], Operations: ['28+45=73'] Exploring Operation: 59+47=106, Resulting Numbers: [73, 106] Generated Node #3: [73, 106] from Operation: 59+47=106 Current State: 33:[73, 106], Operations: ['28+45=73', '59+47=106'] Exploring Operation: 106-73=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[28, 45, 59, 47], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [28, 59, 2] Generated Node #0,0: 33:[28, 59, 2] Operation: 47-45=2 Exploring Operation: 45-28=17, Resulting Numbers: [59, 47, 17] Generated Node #0,1: 33:[59, 47, 17] Operation: 45-28=17 Exploring Operation: 59-28=31, Resulting Numbers: [45, 47, 31] Generated Node #0,2: 33:[45, 47, 31] Operation: 59-28=31 Exploring Operation: 59-47=12, Resulting Numbers: [28, 45, 12] Generated Node #0,3: 33:[28, 45, 12] Operation: 59-47=12 Exploring Operation: 59-45=14, Resulting Numbers: [28, 47, 14] Generated Node #0,4: 33:[28, 47, 14] Operation: 59-45=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[28, 45, 12], Operations: ['59-47=12'] Exploring Operation: 28+12=40, Resulting Numbers: [45, 40] Generated Node #0,3,0: 33:[45, 40] Operation: 28+12=40 Exploring Operation: 45-12=33, Resulting Numbers: [28, 33] Generated Node #0,3,1: 33:[28, 33] Operation: 45-12=33 Exploring Operation: 45+12=57, Resulting Numbers: [28, 57] Generated Node #0,3,2: 33:[28, 57] Operation: 45+12=57 Exploring Operation: 28-12=16, Resulting Numbers: [45, 16] Generated Node #0,3,3: 33:[45, 16] Operation: 28-12=16 Exploring Operation: 45-28=17, Resulting Numbers: [12, 17] Generated Node #0,3,4: 33:[12, 17] Operation: 45-28=17 Moving to Node #0,3,1 Current State: 33:[28, 33], Operations: ['59-47=12', '45-12=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,33 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[12, 17], Operations: ['59-47=12', '45-28=17'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,33 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[45, 16], Operations: ['59-47=12', '28-12=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,33 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,33 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[45, 40], Operations: ['59-47=12', '28+12=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,33 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,33 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[28, 57], Operations: ['59-47=12', '45+12=57'] Exploring Operation: 28*57=1596, Resulting Numbers: [1596] 1596,33 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 28+57=85, Resulting Numbers: [85] 85,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,4 Current State: 33:[28, 47, 14], Operations: ['59-45=14'] Exploring Operation: 47-28=19, Resulting Numbers: [14, 19] Generated Node #0,4,0: 33:[14, 19] Operation: 47-28=19 Exploring Operation: 28/14=2, Resulting Numbers: [47, 2] Generated Node #0,4,1: 33:[47, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [47, 14] Generated Node #0,4,2: 33:[47, 14] Operation: 28-14=14 Exploring Operation: 47-14=33, Resulting Numbers: [28, 33] Generated Node #0,4,3: 33:[28, 33] Operation: 47-14=33 Exploring Operation: 28+14=42, Resulting Numbers: [47, 42] Generated Node #0,4,4: 33:[47, 42] Operation: 28+14=42 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 33:[28, 33], Operations: ['59-45=14', '47-14=33'] Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,33 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,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,4,0 Current State: 33:[14, 19], Operations: ['59-45=14', '47-28=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[28, 45, 59, 47], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [28, 47, 14] Generated Node #0,4: 33:[28, 47, 14] Operation: 59-45=14 Moving to Node #0,4 Current State: 33:[28, 47, 14], Operations: ['59-45=14'] Exploring Operation: 47-28=19, Resulting Numbers: [14, 19] Generated Node #0,4,0: 33:[14, 19] Operation: 47-28=19 Moving to Node #0,4,0 Current State: 33:[14, 19], Operations: ['59-45=14', '47-28=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 56, 9, 2, 38 ]
87
[ "56-9=47", "2+38=40", "47+40=87" ]
Current State: 87:[56, 9, 2, 38], Operations: [] Exploring Operation: 56-9=47, Resulting Numbers: [2, 38, 47] Generated Node #2: [2, 38, 47] from Operation: 56-9=47 Current State: 87:[2, 38, 47], Operations: ['56-9=47'] Exploring Operation: 2+38=40, Resulting Numbers: [47, 40] Generated Node #3: [47, 40] from Operation: 2+38=40 Current State: 87:[47, 40], Operations: ['56-9=47', '2+38=40'] Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[56, 9, 2, 38], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [9, 2, 94] Generated Node #0,0: 87:[9, 2, 94] Operation: 56+38=94 Exploring Operation: 56/2=28, Resulting Numbers: [9, 38, 28] Generated Node #0,1: 87:[9, 38, 28] Operation: 56/2=28 Moving to Node #0,0 Current State: 87:[9, 2, 94], Operations: ['56+38=94'] Exploring Operation: 9-2=7, Resulting Numbers: [94, 7] Generated Node #0,0,0: 87:[94, 7] Operation: 9-2=7 Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 87:[2, 85] Operation: 94-9=85 Moving to Node #0,1 Current State: 87:[9, 38, 28], Operations: ['56/2=28'] Exploring Operation: 38-9=29, Resulting Numbers: [28, 29] Generated Node #0,1,0: 87:[28, 29] Operation: 38-9=29 Exploring Operation: 38-28=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 87:[9, 10] Operation: 38-28=10 Moving to Node #0,1,0 Current State: 87:[28, 29], Operations: ['56/2=28', '38-9=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[2, 85], Operations: ['56+38=94', '94-9=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[56, 9, 2, 38], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [9, 2, 94] Generated Node #0,0: 87:[9, 2, 94] Operation: 56+38=94 Moving to Node #0,0 Current State: 87:[9, 2, 94], Operations: ['56+38=94'] Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 87:[2, 85] Operation: 94-9=85 Moving to Node #0,0,1 Current State: 87:[2, 85], Operations: ['56+38=94', '94-9=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 5, 20, 39, 95 ]
60
[ "20/5=4", "95-39=56", "4+56=60" ]
Current State: 60:[5, 20, 39, 95], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [39, 95, 4] Generated Node #2: [39, 95, 4] from Operation: 20/5=4 Current State: 60:[39, 95, 4], Operations: ['20/5=4'] Exploring Operation: 95-39=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 95-39=56 Current State: 60:[4, 56], Operations: ['20/5=4', '95-39=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 20, 39, 95], Operations: [] Exploring Operation: 95/5=19, Resulting Numbers: [20, 39, 19] Generated Node #0,0: 60:[20, 39, 19] Operation: 95/5=19 Exploring Operation: 95-39=56, Resulting Numbers: [5, 20, 56] Generated Node #0,1: 60:[5, 20, 56] Operation: 95-39=56 Exploring Operation: 95-20=75, Resulting Numbers: [5, 39, 75] Generated Node #0,2: 60:[5, 39, 75] Operation: 95-20=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[5, 20, 56], Operations: ['95-39=56'] Exploring Operation: 20/5=4, Resulting Numbers: [56, 4] Generated Node #0,1,0: 60:[56, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [56, 15] Generated Node #0,1,1: 60:[56, 15] Operation: 20-5=15 Exploring Operation: 5+56=61, Resulting Numbers: [20, 61] Generated Node #0,1,2: 60:[20, 61] Operation: 5+56=61 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[20, 61], Operations: ['95-39=56', '5+56=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,60 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,60 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[56, 4], Operations: ['95-39=56', '20/5=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[5, 20, 39, 95], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [5, 20, 56] Generated Node #0,1: 60:[5, 20, 56] Operation: 95-39=56 Moving to Node #0,1 Current State: 60:[5, 20, 56], Operations: ['95-39=56'] Exploring Operation: 20/5=4, Resulting Numbers: [56, 4] Generated Node #0,1,0: 60:[56, 4] Operation: 20/5=4 Moving to Node #0,1,0 Current State: 60:[56, 4], Operations: ['95-39=56', '20/5=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 68, 42, 22, 35 ]
31
[ "68-42=26", "22+35=57", "57-26=31" ]
Current State: 31:[68, 42, 22, 35], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [22, 35, 26] Generated Node #2: [22, 35, 26] from Operation: 68-42=26 Current State: 31:[22, 35, 26], Operations: ['68-42=26'] Exploring Operation: 22+35=57, Resulting Numbers: [26, 57] Generated Node #3: [26, 57] from Operation: 22+35=57 Current State: 31:[26, 57], Operations: ['68-42=26', '22+35=57'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[68, 42, 22, 35], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [22, 35, 26] Generated Node #0,0: 31:[22, 35, 26] Operation: 68-42=26 Exploring Operation: 68-35=33, Resulting Numbers: [42, 22, 33] Generated Node #0,1: 31:[42, 22, 33] Operation: 68-35=33 Exploring Operation: 35-22=13, Resulting Numbers: [68, 42, 13] Generated Node #0,2: 31:[68, 42, 13] Operation: 35-22=13 Exploring Operation: 42-22=20, Resulting Numbers: [68, 35, 20] Generated Node #0,3: 31:[68, 35, 20] Operation: 42-22=20 Exploring Operation: 68-22=46, Resulting Numbers: [42, 35, 46] Generated Node #0,4: 31:[42, 35, 46] Operation: 68-22=46 Moving to Node #0,0 Current State: 31:[22, 35, 26], Operations: ['68-42=26'] Exploring Operation: 26-22=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 31:[35, 4] Operation: 26-22=4 Exploring Operation: 35-26=9, Resulting Numbers: [22, 9] Generated Node #0,0,1: 31:[22, 9] Operation: 35-26=9 Exploring Operation: 22+35=57, Resulting Numbers: [26, 57] Generated Node #0,0,2: 31:[26, 57] Operation: 22+35=57 Exploring Operation: 22+26=48, Resulting Numbers: [35, 48] Generated Node #0,0,3: 31:[35, 48] Operation: 22+26=48 Exploring Operation: 35-22=13, Resulting Numbers: [26, 13] Generated Node #0,0,4: 31:[26, 13] Operation: 35-22=13 Moving to Node #0,1 Current State: 31:[42, 22, 33], Operations: ['68-35=33'] Exploring Operation: 42-22=20, Resulting Numbers: [33, 20] Generated Node #0,1,0: 31:[33, 20] Operation: 42-22=20 Exploring Operation: 42+22=64, Resulting Numbers: [33, 64] Generated Node #0,1,1: 31:[33, 64] Operation: 42+22=64 Exploring Operation: 42-33=9, Resulting Numbers: [22, 9] Generated Node #0,1,2: 31:[22, 9] Operation: 42-33=9 Exploring Operation: 22+33=55, Resulting Numbers: [42, 55] Generated Node #0,1,3: 31:[42, 55] Operation: 22+33=55 Exploring Operation: 33-22=11, Resulting Numbers: [42, 11] Generated Node #0,1,4: 31:[42, 11] Operation: 33-22=11 Moving to Node #0,4 Current State: 31:[42, 35, 46], Operations: ['68-22=46'] Exploring Operation: 46-42=4, Resulting Numbers: [35, 4] Generated Node #0,4,0: 31:[35, 4] Operation: 46-42=4 Exploring Operation: 42+46=88, Resulting Numbers: [35, 88] Generated Node #0,4,1: 31:[35, 88] Operation: 42+46=88 Exploring Operation: 42-35=7, Resulting Numbers: [46, 7] Generated Node #0,4,2: 31:[46, 7] Operation: 42-35=7 Exploring Operation: 46-35=11, Resulting Numbers: [42, 11] Generated Node #0,4,3: 31:[42, 11] Operation: 46-35=11 Exploring Operation: 42+35=77, Resulting Numbers: [46, 77] Generated Node #0,4,4: 31:[46, 77] Operation: 42+35=77 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[35, 4], Operations: ['68-22=46', '46-42=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[68, 42, 22, 35], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [42, 35, 46] Generated Node #0,4: 31:[42, 35, 46] Operation: 68-22=46 Moving to Node #0,4 Current State: 31:[42, 35, 46], Operations: ['68-22=46'] Exploring Operation: 46-42=4, Resulting Numbers: [35, 4] Generated Node #0,4,0: 31:[35, 4] Operation: 46-42=4 Moving to Node #0,4,0 Current State: 31:[35, 4], Operations: ['68-22=46', '46-42=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 9, 1, 71, 9 ]
73
[ "9/9=1", "1+71=72", "1+72=73" ]
Current State: 73:[9, 1, 71, 9], Operations: [] Exploring Operation: 9/9=1, Resulting Numbers: [1, 71, 1] Generated Node #2: [1, 71, 1] from Operation: 9/9=1 Current State: 73:[1, 71, 1], Operations: ['9/9=1'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,73 equal: Goal Reached Exploring Operation: 1+72=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[9, 1, 71, 9], Operations: [] Exploring Operation: 1+71=72, Resulting Numbers: [9, 9, 72] Generated Node #0,0: 73:[9, 9, 72] Operation: 1+71=72 Exploring Operation: 9+1=10, Resulting Numbers: [71, 9, 10] Generated Node #0,1: 73:[71, 9, 10] Operation: 9+1=10 Exploring Operation: 9*9=81, Resulting Numbers: [1, 71, 81] Generated Node #0,2: 73:[1, 71, 81] Operation: 9*9=81 Exploring Operation: 9+9=18, Resulting Numbers: [1, 71, 18] Generated Node #0,3: 73:[1, 71, 18] Operation: 9+9=18 Moving to Node #0,2 Current State: 73:[1, 71, 81], Operations: ['9*9=81'] Exploring Operation: 1*71=71, Resulting Numbers: [81, 71] Generated Node #0,2,0: 73:[81, 71] Operation: 1*71=71 Exploring Operation: 1+71=72, Resulting Numbers: [81, 72] Generated Node #0,2,1: 73:[81, 72] Operation: 1+71=72 Exploring Operation: 71/1=71, Resulting Numbers: [81, 71] Generated Node #0,2,2: 73:[81, 71] Operation: 71/1=71 Exploring Operation: 81-1=80, Resulting Numbers: [71, 80] Generated Node #0,2,3: 73:[71, 80] Operation: 81-1=80 Moving to Node #0,1 Current State: 73:[71, 9, 10], Operations: ['9+1=10'] Exploring Operation: 71+9=80, Resulting Numbers: [10, 80] Generated Node #0,1,0: 73:[10, 80] Operation: 71+9=80 Exploring Operation: 9+10=19, Resulting Numbers: [71, 19] Generated Node #0,1,1: 73:[71, 19] Operation: 9+10=19 Exploring Operation: 9*10=90, Resulting Numbers: [71, 90] Generated Node #0,1,2: 73:[71, 90] Operation: 9*10=90 Exploring Operation: 71+10=81, Resulting Numbers: [9, 81] Generated Node #0,1,3: 73:[9, 81] Operation: 71+10=81 Moving to Node #0,0 Current State: 73:[9, 9, 72], Operations: ['1+71=72'] Exploring Operation: 9+9=18, Resulting Numbers: [72, 18] Generated Node #0,0,0: 73:[72, 18] Operation: 9+9=18 Exploring Operation: 9+72=81, Resulting Numbers: [9, 81] Generated Node #0,0,1: 73:[9, 81] Operation: 9+72=81 Exploring Operation: 9*9=81, Resulting Numbers: [72, 81] Generated Node #0,0,2: 73:[72, 81] Operation: 9*9=81 Exploring Operation: 9+72=81, Resulting Numbers: [9, 81] Generated Node #0,0,3: 73:[9, 81] Operation: 9+72=81 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[72, 81], Operations: ['1+71=72', '9*9=81'] Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,73 unequal: No Solution Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,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,0 Current State: 73:[72, 18], Operations: ['1+71=72', '9+9=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,73 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,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:[9, 81], Operations: ['1+71=72', '9+72=81'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,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:[9, 81], Operations: ['1+71=72', '9+72=81'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,73 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,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:[1, 71, 18], Operations: ['9+9=18'] Exploring Operation: 1+18=19, Resulting Numbers: [71, 19] Generated Node #0,3,0: 73:[71, 19] Operation: 1+18=19 Exploring Operation: 1+71=72, Resulting Numbers: [18, 72] Generated Node #0,3,1: 73:[18, 72] Operation: 1+71=72 Exploring Operation: 71/1=71, Resulting Numbers: [18, 71] Generated Node #0,3,2: 73:[18, 71] Operation: 71/1=71 Exploring Operation: 1*71=71, Resulting Numbers: [18, 71] Generated Node #0,3,3: 73:[18, 71] Operation: 1*71=71 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[71, 19], Operations: ['9+9=18', '1+18=19'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,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:[18, 72], Operations: ['9+9=18', '1+71=72'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,73 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,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:[18, 71], Operations: ['9+9=18', '71/1=71'] Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,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:[18, 71], Operations: ['9+9=18', '1*71=71'] Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 73:[81, 72], Operations: ['9*9=81', '1+71=72'] Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,73 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[71, 80], Operations: ['9*9=81', '81-1=80'] Exploring Operation: 71+80=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 71*80=5680, Resulting Numbers: [5680] 5680,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[81, 71], Operations: ['9*9=81', '1*71=71'] Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,73 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,73 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[81, 71], Operations: ['9*9=81', '71/1=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,73 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[71, 90], Operations: ['9+1=10', '9*10=90'] Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,73 unequal: No Solution Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[71, 19], Operations: ['9+1=10', '9+10=19'] Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,73 unequal: No Solution Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[10, 80], Operations: ['9+1=10', '71+9=80'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 10*80=800, Resulting Numbers: [800] 800,73 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 10+80=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[9, 81], Operations: ['9+1=10', '71+10=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,73 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 11, 62, 9, 45 ]
87
[ "62-11=51", "45-9=36", "51+36=87" ]
Current State: 87:[11, 62, 9, 45], Operations: [] Exploring Operation: 62-11=51, Resulting Numbers: [9, 45, 51] Generated Node #2: [9, 45, 51] from Operation: 62-11=51 Current State: 87:[9, 45, 51], Operations: ['62-11=51'] Exploring Operation: 45-9=36, Resulting Numbers: [51, 36] Generated Node #3: [51, 36] from Operation: 45-9=36 Current State: 87:[51, 36], Operations: ['62-11=51', '45-9=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[11, 62, 9, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [11, 9, 17] Generated Node #0,0: 87:[11, 9, 17] Operation: 62-45=17 Exploring Operation: 45/9=5, Resulting Numbers: [11, 62, 5] Generated Node #0,1: 87:[11, 62, 5] Operation: 45/9=5 Exploring Operation: 62+45=107, Resulting Numbers: [11, 9, 107] Generated Node #0,2: 87:[11, 9, 107] Operation: 62+45=107 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[11, 9, 17], Operations: ['62-45=17'] Exploring Operation: 17-11=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 87:[9, 6] Operation: 17-11=6 Exploring Operation: 9+17=26, Resulting Numbers: [11, 26] Generated Node #0,0,1: 87:[11, 26] Operation: 9+17=26 Exploring Operation: 11+17=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 87:[9, 28] Operation: 11+17=28 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[9, 28], Operations: ['62-45=17', '11+17=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[9, 6], Operations: ['62-45=17', '17-11=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[11, 26], Operations: ['62-45=17', '9+17=26'] Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,87 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[11, 9, 107], Operations: ['62+45=107'] Exploring Operation: 11-9=2, Resulting Numbers: [107, 2] Generated Node #0,2,0: 87:[107, 2] Operation: 11-9=2 Exploring Operation: 107-11=96, Resulting Numbers: [9, 96] Generated Node #0,2,1: 87:[9, 96] Operation: 107-11=96 Exploring Operation: 107-9=98, Resulting Numbers: [11, 98] Generated Node #0,2,2: 87:[11, 98] Operation: 107-9=98 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[9, 96], Operations: ['62+45=107', '107-11=96'] Exploring Operation: 9*96=864, Resulting Numbers: [864] 864,87 unequal: No Solution Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[11, 62, 9, 45], Operations: [] Exploring Operation: 62+45=107, Resulting Numbers: [11, 9, 107] Generated Node #0,2: 87:[11, 9, 107] Operation: 62+45=107 Moving to Node #0,2 Current State: 87:[11, 9, 107], Operations: ['62+45=107'] Exploring Operation: 107-11=96, Resulting Numbers: [9, 96] Generated Node #0,2,1: 87:[9, 96] Operation: 107-11=96 Moving to Node #0,2,1 Current State: 87:[9, 96], Operations: ['62+45=107', '107-11=96'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 45, 61, 49, 32 ]
65
[ "61-45=16", "49+32=81", "81-16=65" ]
Current State: 65:[45, 61, 49, 32], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [49, 32, 16] Generated Node #2: [49, 32, 16] from Operation: 61-45=16 Current State: 65:[49, 32, 16], Operations: ['61-45=16'] Exploring Operation: 49+32=81, Resulting Numbers: [16, 81] Generated Node #3: [16, 81] from Operation: 49+32=81 Current State: 65:[16, 81], Operations: ['61-45=16', '49+32=81'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[45, 61, 49, 32], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [45, 61, 17] Generated Node #0,0: 65:[45, 61, 17] Operation: 49-32=17 Exploring Operation: 49-45=4, Resulting Numbers: [61, 32, 4] Generated Node #0,1: 65:[61, 32, 4] Operation: 49-45=4 Exploring Operation: 45-32=13, Resulting Numbers: [61, 49, 13] Generated Node #0,2: 65:[61, 49, 13] Operation: 45-32=13 Moving to Node #0,2 Current State: 65:[61, 49, 13], Operations: ['45-32=13'] Exploring Operation: 61+13=74, Resulting Numbers: [49, 74] Generated Node #0,2,0: 65:[49, 74] Operation: 61+13=74 Exploring Operation: 49+13=62, Resulting Numbers: [61, 62] Generated Node #0,2,1: 65:[61, 62] Operation: 49+13=62 Exploring Operation: 61-49=12, Resulting Numbers: [13, 12] Generated Node #0,2,2: 65:[13, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[13, 12], Operations: ['45-32=13', '61-49=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,65 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[61, 62], Operations: ['45-32=13', '49+13=62'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,65 unequal: No Solution Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[49, 74], Operations: ['45-32=13', '61+13=74'] Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,65 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,65 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: 65:[61, 32, 4], Operations: ['49-45=4'] Exploring Operation: 61+4=65, Resulting Numbers: [32, 65] Generated Node #0,1,0: 65:[32, 65] Operation: 61+4=65 Exploring Operation: 32/4=8, Resulting Numbers: [61, 8] Generated Node #0,1,1: 65:[61, 8] Operation: 32/4=8 Exploring Operation: 61-32=29, Resulting Numbers: [4, 29] Generated Node #0,1,2: 65:[4, 29] Operation: 61-32=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[61, 8], Operations: ['49-45=4', '32/4=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,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,2 Current State: 65:[4, 29], Operations: ['49-45=4', '61-32=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,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,0 Current State: 65:[32, 65], Operations: ['49-45=4', '61+4=65'] Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,65 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,65 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,65 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: 65:[45, 61, 17], Operations: ['49-32=17'] Exploring Operation: 45+17=62, Resulting Numbers: [61, 62] Generated Node #0,0,0: 65:[61, 62] Operation: 45+17=62 Exploring Operation: 61-45=16, Resulting Numbers: [17, 16] Generated Node #0,0,1: 65:[17, 16] Operation: 61-45=16 Exploring Operation: 45-17=28, Resulting Numbers: [61, 28] Generated Node #0,0,2: 65:[61, 28] Operation: 45-17=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[61, 62], Operations: ['49-32=17', '45+17=62'] Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,65 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,65 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,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,0,1 Current State: 65:[17, 16], Operations: ['49-32=17', '61-45=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,65 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,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,0,2 Current State: 65:[61, 28], Operations: ['49-32=17', '45-17=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,65 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
[ 52, 4, 69, 21 ]
64
[ "69-21=48", "48/4=12", "52+12=64" ]
Current State: 64:[52, 4, 69, 21], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [52, 4, 48] Generated Node #2: [52, 4, 48] from Operation: 69-21=48 Current State: 64:[52, 4, 48], Operations: ['69-21=48'] Exploring Operation: 48/4=12, Resulting Numbers: [52, 12] Generated Node #3: [52, 12] from Operation: 48/4=12 Current State: 64:[52, 12], Operations: ['69-21=48', '48/4=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[52, 4, 69, 21], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [4, 21, 17] Generated Node #0,0: 64:[4, 21, 17] Operation: 69-52=17 Exploring Operation: 52-21=31, Resulting Numbers: [4, 69, 31] Generated Node #0,1: 64:[4, 69, 31] Operation: 52-21=31 Exploring Operation: 52/4=13, Resulting Numbers: [69, 21, 13] Generated Node #0,2: 64:[69, 21, 13] Operation: 52/4=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[4, 21, 17], Operations: ['69-52=17'] Exploring Operation: 21-4=17, Resulting Numbers: [17, 17] Generated Node #0,0,0: 64:[17, 17] Operation: 21-4=17 Exploring Operation: 21+17=38, Resulting Numbers: [4, 38] Generated Node #0,0,1: 64:[4, 38] Operation: 21+17=38 Exploring Operation: 21-17=4, Resulting Numbers: [4, 4] Generated Node #0,0,2: 64:[4, 4] Operation: 21-17=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[4, 4], Operations: ['69-52=17', '21-17=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[17, 17], Operations: ['69-52=17', '21-4=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[4, 38], Operations: ['69-52=17', '21+17=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[4, 69, 31], Operations: ['52-21=31'] Exploring Operation: 69-4=65, Resulting Numbers: [31, 65] Generated Node #0,1,0: 64:[31, 65] Operation: 69-4=65 Exploring Operation: 4+31=35, Resulting Numbers: [69, 35] Generated Node #0,1,1: 64:[69, 35] Operation: 4+31=35 Exploring Operation: 69-31=38, Resulting Numbers: [4, 38] Generated Node #0,1,2: 64:[4, 38] Operation: 69-31=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[31, 65], Operations: ['52-21=31', '69-4=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,64 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,64 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[4, 38], Operations: ['52-21=31', '69-31=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[69, 35], Operations: ['52-21=31', '4+31=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,64 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,64 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[69, 21, 13], Operations: ['52/4=13'] Exploring Operation: 69-13=56, Resulting Numbers: [21, 56] Generated Node #0,2,0: 64:[21, 56] Operation: 69-13=56 Exploring Operation: 21+13=34, Resulting Numbers: [69, 34] Generated Node #0,2,1: 64:[69, 34] Operation: 21+13=34 Exploring Operation: 21-13=8, Resulting Numbers: [69, 8] Generated Node #0,2,2: 64:[69, 8] Operation: 21-13=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[69, 8], Operations: ['52/4=13', '21-13=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[69, 34], Operations: ['52/4=13', '21+13=34'] Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,64 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[21, 56], Operations: ['52/4=13', '69-13=56'] Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,64 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 78, 28, 84, 53 ]
81
[ "78-28=50", "84-53=31", "50+31=81" ]
Current State: 81:[78, 28, 84, 53], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [84, 53, 50] Generated Node #2: [84, 53, 50] from Operation: 78-28=50 Current State: 81:[84, 53, 50], Operations: ['78-28=50'] Exploring Operation: 84-53=31, Resulting Numbers: [50, 31] Generated Node #3: [50, 31] from Operation: 84-53=31 Current State: 81:[50, 31], Operations: ['78-28=50', '84-53=31'] Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 28, 84, 53], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [28, 84, 25] Generated Node #0,0: 81:[28, 84, 25] Operation: 78-53=25 Exploring Operation: 28+53=81, Resulting Numbers: [78, 84, 81] Generated Node #0,1: 81:[78, 84, 81] Operation: 28+53=81 Exploring Operation: 53-28=25, Resulting Numbers: [78, 84, 25] Generated Node #0,2: 81:[78, 84, 25] Operation: 53-28=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[28, 84, 25], Operations: ['78-53=25'] Exploring Operation: 84-25=59, Resulting Numbers: [28, 59] Generated Node #0,0,0: 81:[28, 59] Operation: 84-25=59 Exploring Operation: 28-25=3, Resulting Numbers: [84, 3] Generated Node #0,0,1: 81:[84, 3] Operation: 28-25=3 Exploring Operation: 84/28=3, Resulting Numbers: [25, 3] Generated Node #0,0,2: 81:[25, 3] Operation: 84/28=3 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[25, 3], Operations: ['78-53=25', '84/28=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[84, 3], Operations: ['78-53=25', '28-25=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[78, 28, 84, 53], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [28, 84, 25] Generated Node #0,0: 81:[28, 84, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 81:[28, 84, 25], Operations: ['78-53=25'] Exploring Operation: 28-25=3, Resulting Numbers: [84, 3] Generated Node #0,0,1: 81:[84, 3] Operation: 28-25=3 Moving to Node #0,0,1 Current State: 81:[84, 3], Operations: ['78-53=25', '28-25=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 21, 80, 52, 93 ]
77
[ "52-21=31", "93/31=3", "80-3=77" ]
Current State: 77:[21, 80, 52, 93], Operations: [] Exploring Operation: 52-21=31, Resulting Numbers: [80, 93, 31] Generated Node #2: [80, 93, 31] from Operation: 52-21=31 Current State: 77:[80, 93, 31], Operations: ['52-21=31'] Exploring Operation: 93/31=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 93/31=3 Current State: 77:[80, 3], Operations: ['52-21=31', '93/31=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[21, 80, 52, 93], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [80, 52, 72] Generated Node #0,0: 77:[80, 52, 72] Operation: 93-21=72 Exploring Operation: 21+52=73, Resulting Numbers: [80, 93, 73] Generated Node #0,1: 77:[80, 93, 73] Operation: 21+52=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[80, 93, 73], Operations: ['21+52=73'] Exploring Operation: 93-73=20, Resulting Numbers: [80, 20] Generated Node #0,1,0: 77:[80, 20] Operation: 93-73=20 Exploring Operation: 93-80=13, Resulting Numbers: [73, 13] Generated Node #0,1,1: 77:[73, 13] Operation: 93-80=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[73, 13], Operations: ['21+52=73', '93-80=13'] Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,77 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[80, 20], Operations: ['21+52=73', '93-73=20'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[80, 52, 72], Operations: ['93-21=72'] Exploring Operation: 72-52=20, Resulting Numbers: [80, 20] Generated Node #0,0,0: 77:[80, 20] Operation: 72-52=20 Exploring Operation: 80-52=28, Resulting Numbers: [72, 28] Generated Node #0,0,1: 77:[72, 28] Operation: 80-52=28 Moving to Node #0,0,0 Current State: 77:[80, 20], Operations: ['93-21=72', '72-52=20'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[72, 28], Operations: ['93-21=72', '80-52=28'] Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 61, 10, 94, 4 ]
92
[ "61+10=71", "94-71=23", "4*23=92" ]
Current State: 92:[61, 10, 94, 4], Operations: [] Exploring Operation: 61+10=71, Resulting Numbers: [94, 4, 71] Generated Node #2: [94, 4, 71] from Operation: 61+10=71 Current State: 92:[94, 4, 71], Operations: ['61+10=71'] Exploring Operation: 94-71=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 94-71=23 Current State: 92:[4, 23], Operations: ['61+10=71', '94-71=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[61, 10, 94, 4], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [94, 4, 51] Generated Node #0,0: 92:[94, 4, 51] Operation: 61-10=51 Exploring Operation: 94-61=33, Resulting Numbers: [10, 4, 33] Generated Node #0,1: 92:[10, 4, 33] Operation: 94-61=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[94, 4, 51], Operations: ['61-10=51'] Exploring Operation: 94-51=43, Resulting Numbers: [4, 43] Generated Node #0,0,0: 92:[4, 43] Operation: 94-51=43 Exploring Operation: 51-4=47, Resulting Numbers: [94, 47] Generated Node #0,0,1: 92:[94, 47] Operation: 51-4=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[4, 43], Operations: ['61-10=51', '94-51=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,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,0,1 Current State: 92:[94, 47], Operations: ['61-10=51', '51-4=47'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,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,1 Current State: 92:[10, 4, 33], Operations: ['94-61=33'] Exploring Operation: 10+33=43, Resulting Numbers: [4, 43] Generated Node #0,1,0: 92:[4, 43] Operation: 10+33=43 Exploring Operation: 33-10=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 92:[4, 23] Operation: 33-10=23 Moving to Node #0,1,1 Current State: 92:[4, 23], Operations: ['94-61=33', '33-10=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[61, 10, 94, 4], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [10, 4, 33] Generated Node #0,1: 92:[10, 4, 33] Operation: 94-61=33 Moving to Node #0,1 Current State: 92:[10, 4, 33], Operations: ['94-61=33'] Exploring Operation: 33-10=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 92:[4, 23] Operation: 33-10=23 Moving to Node #0,1,1 Current State: 92:[4, 23], Operations: ['94-61=33', '33-10=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 84, 10, 6, 14 ]
28
[ "10-6=4", "14*4=56", "84-56=28" ]
Current State: 28:[84, 10, 6, 14], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [84, 14, 4] Generated Node #2: [84, 14, 4] from Operation: 10-6=4 Current State: 28:[84, 14, 4], Operations: ['10-6=4'] Exploring Operation: 14*4=56, Resulting Numbers: [84, 56] Generated Node #3: [84, 56] from Operation: 14*4=56 Current State: 28:[84, 56], Operations: ['10-6=4', '14*4=56'] Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[84, 10, 6, 14], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [10, 6, 70] Generated Node #0,0: 28:[10, 6, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [10, 6, 6] Generated Node #0,1: 28:[10, 6, 6] Operation: 84/14=6 Exploring Operation: 84/6=14, Resulting Numbers: [10, 14, 14] Generated Node #0,2: 28:[10, 14, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[10, 14, 14], Operations: ['84/6=14'] Exploring Operation: 14-10=4, Resulting Numbers: [14, 4] Generated Node #0,2,0: 28:[14, 4] Operation: 14-10=4 Exploring Operation: 14+14=28, Resulting Numbers: [10, 28] Generated Node #0,2,1: 28:[10, 28] Operation: 14+14=28 Exploring Operation: 14-10=4, Resulting Numbers: [14, 4] Generated Node #0,2,2: 28:[14, 4] Operation: 14-10=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[14, 4], Operations: ['84/6=14', '14-10=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,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:[14, 4], Operations: ['84/6=14', '14-10=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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:[10, 28], Operations: ['84/6=14', '14+14=28'] Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,28 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,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:[10, 6, 6], Operations: ['84/14=6'] Exploring Operation: 10+6=16, Resulting Numbers: [6, 16] Generated Node #0,1,0: 28:[6, 16] Operation: 10+6=16 Exploring Operation: 10-6=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 28:[6, 4] Operation: 10-6=4 Exploring Operation: 10-6=4, Resulting Numbers: [6, 4] Generated Node #0,1,2: 28:[6, 4] Operation: 10-6=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[6, 4], Operations: ['84/14=6', '10-6=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[6, 4], Operations: ['84/14=6', '10-6=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[6, 16], Operations: ['84/14=6', '10+6=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[10, 6, 70], Operations: ['84-14=70'] Exploring Operation: 70-6=64, Resulting Numbers: [10, 64] Generated Node #0,0,0: 28:[10, 64] Operation: 70-6=64 Exploring Operation: 70-10=60, Resulting Numbers: [6, 60] Generated Node #0,0,1: 28:[6, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 28:[6, 7] Operation: 70/10=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[6, 7], Operations: ['84-14=70', '70/10=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,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:[6, 60], Operations: ['84-14=70', '70-10=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,28 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,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,0 Current State: 28:[10, 64], Operations: ['84-14=70', '70-6=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,28 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 14, 63, 68, 21 ]
74
[ "63+21=84", "84/14=6", "68+6=74" ]
Current State: 74:[14, 63, 68, 21], Operations: [] Exploring Operation: 63+21=84, Resulting Numbers: [14, 68, 84] Generated Node #2: [14, 68, 84] from Operation: 63+21=84 Current State: 74:[14, 68, 84], Operations: ['63+21=84'] Exploring Operation: 84/14=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 84/14=6 Current State: 74:[68, 6], Operations: ['63+21=84', '84/14=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[14, 63, 68, 21], Operations: [] Exploring Operation: 21-14=7, Resulting Numbers: [63, 68, 7] Generated Node #0,0: 74:[63, 68, 7] Operation: 21-14=7 Exploring Operation: 63/21=3, Resulting Numbers: [14, 68, 3] Generated Node #0,1: 74:[14, 68, 3] Operation: 63/21=3 Exploring Operation: 14+21=35, Resulting Numbers: [63, 68, 35] Generated Node #0,2: 74:[63, 68, 35] Operation: 14+21=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[14, 68, 3], Operations: ['63/21=3'] Exploring Operation: 14+68=82, Resulting Numbers: [3, 82] Generated Node #0,1,0: 74:[3, 82] Operation: 14+68=82 Exploring Operation: 14*3=42, Resulting Numbers: [68, 42] Generated Node #0,1,1: 74:[68, 42] Operation: 14*3=42 Exploring Operation: 14-3=11, Resulting Numbers: [68, 11] Generated Node #0,1,2: 74:[68, 11] Operation: 14-3=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[3, 82], Operations: ['63/21=3', '14+68=82'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 3*82=246, Resulting Numbers: [246] 246,74 unequal: No Solution Exploring Operation: 3+82=85, Resulting Numbers: [85] 85,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,1 Current State: 74:[68, 42], Operations: ['63/21=3', '14*3=42'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,74 unequal: No Solution Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,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:[68, 11], Operations: ['63/21=3', '14-3=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,74 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,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:[63, 68, 35], Operations: ['14+21=35'] Exploring Operation: 68-35=33, Resulting Numbers: [63, 33] Generated Node #0,2,0: 74:[63, 33] Operation: 68-35=33 Exploring Operation: 63-35=28, Resulting Numbers: [68, 28] Generated Node #0,2,1: 74:[68, 28] Operation: 63-35=28 Exploring Operation: 68-63=5, Resulting Numbers: [35, 5] Generated Node #0,2,2: 74:[35, 5] Operation: 68-63=5 Moving to Node #0,2,2 Current State: 74:[35, 5], Operations: ['14+21=35', '68-63=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[63, 33], Operations: ['14+21=35', '68-35=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,74 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[68, 28], Operations: ['14+21=35', '63-35=28'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,74 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[63, 68, 7], Operations: ['21-14=7'] Exploring Operation: 68-63=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 74:[7, 5] Operation: 68-63=5 Exploring Operation: 63+7=70, Resulting Numbers: [68, 70] Generated Node #0,0,1: 74:[68, 70] Operation: 63+7=70 Exploring Operation: 68+7=75, Resulting Numbers: [63, 75] Generated Node #0,0,2: 74:[63, 75] Operation: 68+7=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[7, 5], Operations: ['21-14=7', '68-63=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,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:[68, 70], Operations: ['21-14=7', '63+7=70'] Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,74 unequal: No Solution Exploring Operation: 68*70=4760, Resulting Numbers: [4760] 4760,74 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,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:[63, 75], Operations: ['21-14=7', '68+7=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,74 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,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 No solution found.
0
hs_3
mult_heuristic
[ 16, 60, 54, 72 ]
29
[ "60*54=3240", "3240/72=45", "45-16=29" ]
Current State: 29:[16, 60, 54, 72], Operations: [] Exploring Operation: 60*54=3240, Resulting Numbers: [16, 72, 3240] Generated Node #2: [16, 72, 3240] from Operation: 60*54=3240 Current State: 29:[16, 72, 3240], Operations: ['60*54=3240'] Exploring Operation: 3240/72=45, Resulting Numbers: [16, 45] Generated Node #3: [16, 45] from Operation: 3240/72=45 Current State: 29:[16, 45], Operations: ['60*54=3240', '3240/72=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 60, 54, 72], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [60, 72, 38] Generated Node #0,0: 29:[60, 72, 38] Operation: 54-16=38 Exploring Operation: 60-16=44, Resulting Numbers: [54, 72, 44] Generated Node #0,1: 29:[54, 72, 44] Operation: 60-16=44 Exploring Operation: 72-54=18, Resulting Numbers: [16, 60, 18] Generated Node #0,2: 29:[16, 60, 18] Operation: 72-54=18 Exploring Operation: 60-54=6, Resulting Numbers: [16, 72, 6] Generated Node #0,3: 29:[16, 72, 6] Operation: 60-54=6 Exploring Operation: 72-60=12, Resulting Numbers: [16, 54, 12] Generated Node #0,4: 29:[16, 54, 12] Operation: 72-60=12 Moving to Node #0,2 Current State: 29:[16, 60, 18], Operations: ['72-54=18'] Exploring Operation: 18-16=2, Resulting Numbers: [60, 2] Generated Node #0,2,0: 29:[60, 2] Operation: 18-16=2 Exploring Operation: 16+60=76, Resulting Numbers: [18, 76] Generated Node #0,2,1: 29:[18, 76] Operation: 16+60=76 Exploring Operation: 60-18=42, Resulting Numbers: [16, 42] Generated Node #0,2,2: 29:[16, 42] Operation: 60-18=42 Exploring Operation: 16+18=34, Resulting Numbers: [60, 34] Generated Node #0,2,3: 29:[60, 34] Operation: 16+18=34 Exploring Operation: 60-16=44, Resulting Numbers: [18, 44] Generated Node #0,2,4: 29:[18, 44] Operation: 60-16=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[16, 42], Operations: ['72-54=18', '60-18=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,29 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,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,2,4 Current State: 29:[18, 44], Operations: ['72-54=18', '60-16=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,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,2,3 Current State: 29:[60, 34], Operations: ['72-54=18', '16+18=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,29 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,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,2,0 Current State: 29:[60, 2], Operations: ['72-54=18', '18-16=2'] Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,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,2,1 Current State: 29:[18, 76], Operations: ['72-54=18', '16+60=76'] Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,29 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,29 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: 29:[16, 54, 12], Operations: ['72-60=12'] Exploring Operation: 54-16=38, Resulting Numbers: [12, 38] Generated Node #0,4,0: 29:[12, 38] Operation: 54-16=38 Exploring Operation: 16-12=4, Resulting Numbers: [54, 4] Generated Node #0,4,1: 29:[54, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [54, 28] Generated Node #0,4,2: 29:[54, 28] Operation: 16+12=28 Exploring Operation: 54+12=66, Resulting Numbers: [16, 66] Generated Node #0,4,3: 29:[16, 66] Operation: 54+12=66 Exploring Operation: 54-12=42, Resulting Numbers: [16, 42] Generated Node #0,4,4: 29:[16, 42] Operation: 54-12=42 Moving to Node #0,3 Current State: 29:[16, 72, 6], Operations: ['60-54=6'] Exploring Operation: 72-16=56, Resulting Numbers: [6, 56] Generated Node #0,3,0: 29:[6, 56] Operation: 72-16=56 Exploring Operation: 72/6=12, Resulting Numbers: [16, 12] Generated Node #0,3,1: 29:[16, 12] Operation: 72/6=12 Exploring Operation: 16-6=10, Resulting Numbers: [72, 10] Generated Node #0,3,2: 29:[72, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [72, 22] Generated Node #0,3,3: 29:[72, 22] Operation: 16+6=22 Exploring Operation: 72-6=66, Resulting Numbers: [16, 66] Generated Node #0,3,4: 29:[16, 66] Operation: 72-6=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[16, 12], Operations: ['60-54=6', '72/6=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,29 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,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,0 Current State: 29:[6, 56], Operations: ['60-54=6', '72-16=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,29 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,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,3 Current State: 29:[72, 22], Operations: ['60-54=6', '16+6=22'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,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,4 Current State: 29:[16, 66], Operations: ['60-54=6', '72-6=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,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,2 Current State: 29:[72, 10], Operations: ['60-54=6', '16-6=10'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 72*10=720, Resulting Numbers: [720] 720,29 unequal: No Solution Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,29 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: 29:[60, 72, 38], Operations: ['54-16=38'] Exploring Operation: 60+38=98, Resulting Numbers: [72, 98] Generated Node #0,0,0: 29:[72, 98] Operation: 60+38=98 Exploring Operation: 72-38=34, Resulting Numbers: [60, 34] Generated Node #0,0,1: 29:[60, 34] Operation: 72-38=34 Exploring Operation: 60-38=22, Resulting Numbers: [72, 22] Generated Node #0,0,2: 29:[72, 22] Operation: 60-38=22 Exploring Operation: 72-60=12, Resulting Numbers: [38, 12] Generated Node #0,0,3: 29:[38, 12] Operation: 72-60=12 Exploring Operation: 60+72=132, Resulting Numbers: [38, 132] Generated Node #0,0,4: 29:[38, 132] Operation: 60+72=132 Moving to Node #0,1 Current State: 29:[54, 72, 44], Operations: ['60-16=44'] Exploring Operation: 54+44=98, Resulting Numbers: [72, 98] Generated Node #0,1,0: 29:[72, 98] Operation: 54+44=98 Exploring Operation: 72-54=18, Resulting Numbers: [44, 18] Generated Node #0,1,1: 29:[44, 18] Operation: 72-54=18 Exploring Operation: 54+72=126, Resulting Numbers: [44, 126] Generated Node #0,1,2: 29:[44, 126] Operation: 54+72=126 Exploring Operation: 54-44=10, Resulting Numbers: [72, 10] Generated Node #0,1,3: 29:[72, 10] Operation: 54-44=10 Exploring Operation: 72-44=28, Resulting Numbers: [54, 28] Generated Node #0,1,4: 29:[54, 28] Operation: 72-44=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[44, 18], Operations: ['60-16=44', '72-54=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,29 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,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,1,4 Current State: 29:[54, 28], Operations: ['60-16=44', '72-44=28'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,29 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,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,1,3 Current State: 29:[72, 10], Operations: ['60-16=44', '54-44=10'] Exploring Operation: 72*10=720, Resulting Numbers: [720] 720,29 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,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,1,0 Current State: 29:[72, 98], Operations: ['60-16=44', '54+44=98'] Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,29 unequal: No Solution Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,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,1,2 Current State: 29:[44, 126], Operations: ['60-16=44', '54+72=126'] Exploring Operation: 44+126=170, Resulting Numbers: [170] 170,29 unequal: No Solution Exploring Operation: 126-44=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 44*126=5544, Resulting Numbers: [5544] 5544,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 29:[12, 38], Operations: ['72-60=12', '54-16=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[16, 42], Operations: ['72-60=12', '54-12=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,29 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[38, 12], Operations: ['54-16=38', '72-60=12'] Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[54, 28], Operations: ['72-60=12', '16+12=28'] Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[60, 34], Operations: ['54-16=38', '72-38=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,29 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[16, 66], Operations: ['72-60=12', '54+12=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[72, 22], Operations: ['54-16=38', '60-38=22'] Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,29 unequal: No Solution Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[54, 4], Operations: ['72-60=12', '16-12=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[72, 98], Operations: ['54-16=38', '60+38=98'] Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,29 unequal: No Solution Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[38, 132], Operations: ['54-16=38', '60+72=132'] Exploring Operation: 38*132=5016, Resulting Numbers: [5016] 5016,29 unequal: No Solution Exploring Operation: 38+132=170, Resulting Numbers: [170] 170,29 unequal: No Solution Exploring Operation: 132-38=94, Resulting Numbers: [94] 94,29 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 48, 41, 25, 52 ]
62
[ "48+41=89", "52-25=27", "89-27=62" ]
Current State: 62:[48, 41, 25, 52], Operations: [] Exploring Operation: 48+41=89, Resulting Numbers: [25, 52, 89] Generated Node #2: [25, 52, 89] from Operation: 48+41=89 Current State: 62:[25, 52, 89], Operations: ['48+41=89'] Exploring Operation: 52-25=27, Resulting Numbers: [89, 27] Generated Node #3: [89, 27] from Operation: 52-25=27 Current State: 62:[89, 27], Operations: ['48+41=89', '52-25=27'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[48, 41, 25, 52], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [41, 25, 4] Generated Node #0,0: 62:[41, 25, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[41, 25, 4], Operations: ['52-48=4'] Exploring Operation: 41+25=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 62:[4, 66] Operation: 41+25=66 Moving to Node #0,0,0 Current State: 62:[4, 66], Operations: ['52-48=4', '41+25=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[48, 41, 25, 52], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [41, 25, 4] Generated Node #0,0: 62:[41, 25, 4] Operation: 52-48=4 Moving to Node #0,0 Current State: 62:[41, 25, 4], Operations: ['52-48=4'] Exploring Operation: 41+25=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 62:[4, 66] Operation: 41+25=66 Moving to Node #0,0,0 Current State: 62:[4, 66], Operations: ['52-48=4', '41+25=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 62, 50, 88, 25 ]
22
[ "62+88=150", "150/50=3", "25-3=22" ]
Current State: 22:[62, 50, 88, 25], Operations: [] Exploring Operation: 62+88=150, Resulting Numbers: [50, 25, 150] Generated Node #2: [50, 25, 150] from Operation: 62+88=150 Current State: 22:[50, 25, 150], Operations: ['62+88=150'] Exploring Operation: 150/50=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 150/50=3 Current State: 22:[25, 3], Operations: ['62+88=150', '150/50=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[62, 50, 88, 25], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [50, 25, 26] Generated Node #0,0: 22:[50, 25, 26] Operation: 88-62=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[50, 25, 26], Operations: ['88-62=26'] Exploring Operation: 50/25=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 22:[26, 2] Operation: 50/25=2 Moving to Node #0,0,0 Current State: 22:[26, 2], Operations: ['88-62=26', '50/25=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,22 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
[ 29, 32, 3, 49 ]
55
[ "32-29=3", "3+49=52", "3+52=55" ]
Current State: 55:[29, 32, 3, 49], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [3, 49, 3] Generated Node #2: [3, 49, 3] from Operation: 32-29=3 Current State: 55:[3, 49, 3], Operations: ['32-29=3'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,55 equal: Goal Reached Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[29, 32, 3, 49], Operations: [] Exploring Operation: 29+32=61, Resulting Numbers: [3, 49, 61] Generated Node #0,0: 55:[3, 49, 61] Operation: 29+32=61 Exploring Operation: 32-29=3, Resulting Numbers: [3, 49, 3] Generated Node #0,1: 55:[3, 49, 3] Operation: 32-29=3 Moving to Node #0,1 Current State: 55:[3, 49, 3], Operations: ['32-29=3'] Exploring Operation: 49+3=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 55:[3, 52] Operation: 49+3=52 Exploring Operation: 3+49=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 55:[3, 52] Operation: 3+49=52 Moving to Node #0,0 Current State: 55:[3, 49, 61], Operations: ['29+32=61'] Exploring Operation: 3+49=52, Resulting Numbers: [61, 52] Generated Node #0,0,0: 55:[61, 52] Operation: 3+49=52 Exploring Operation: 61-49=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 55:[3, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[3, 12], Operations: ['29+32=61', '61-49=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,55 unequal: No Solution No 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: 55:[61, 52], Operations: ['29+32=61', '3+49=52'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,55 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: 55:[3, 52], Operations: ['32-29=3', '49+3=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[29, 32, 3, 49], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [3, 49, 3] Generated Node #0,1: 55:[3, 49, 3] Operation: 32-29=3 Moving to Node #0,1 Current State: 55:[3, 49, 3], Operations: ['32-29=3'] Exploring Operation: 49+3=52, Resulting Numbers: [3, 52] Generated Node #0,1,0: 55:[3, 52] Operation: 49+3=52 Moving to Node #0,1,0 Current State: 55:[3, 52], Operations: ['32-29=3', '49+3=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 96, 26, 38, 5 ]
17
[ "96*5=480", "480-38=442", "442/26=17" ]
Current State: 17:[96, 26, 38, 5], Operations: [] Exploring Operation: 96*5=480, Resulting Numbers: [26, 38, 480] Generated Node #2: [26, 38, 480] from Operation: 96*5=480 Current State: 17:[26, 38, 480], Operations: ['96*5=480'] Exploring Operation: 480-38=442, Resulting Numbers: [26, 442] Generated Node #3: [26, 442] from Operation: 480-38=442 Current State: 17:[26, 442], Operations: ['96*5=480', '480-38=442'] Exploring Operation: 442/26=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[96, 26, 38, 5], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [96, 5, 12] Generated Node #0,0: 17:[96, 5, 12] Operation: 38-26=12 Exploring Operation: 96-5=91, Resulting Numbers: [26, 38, 91] Generated Node #0,1: 17:[26, 38, 91] Operation: 96-5=91 Exploring Operation: 96-38=58, Resulting Numbers: [26, 5, 58] Generated Node #0,2: 17:[26, 5, 58] Operation: 96-38=58 Exploring Operation: 26-5=21, Resulting Numbers: [96, 38, 21] Generated Node #0,3: 17:[96, 38, 21] Operation: 26-5=21 Exploring Operation: 96-26=70, Resulting Numbers: [38, 5, 70] Generated Node #0,4: 17:[38, 5, 70] Operation: 96-26=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[26, 5, 58], Operations: ['96-38=58'] Exploring Operation: 26-5=21, Resulting Numbers: [58, 21] Generated Node #0,2,0: 17:[58, 21] Operation: 26-5=21 Exploring Operation: 58-5=53, Resulting Numbers: [26, 53] Generated Node #0,2,1: 17:[26, 53] Operation: 58-5=53 Exploring Operation: 26+5=31, Resulting Numbers: [58, 31] Generated Node #0,2,2: 17:[58, 31] Operation: 26+5=31 Exploring Operation: 5+58=63, Resulting Numbers: [26, 63] Generated Node #0,2,3: 17:[26, 63] Operation: 5+58=63 Exploring Operation: 58-26=32, Resulting Numbers: [5, 32] Generated Node #0,2,4: 17:[5, 32] Operation: 58-26=32 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 17:[5, 32], Operations: ['96-38=58', '58-26=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,17 unequal: No Solution No 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: 17:[58, 21], Operations: ['96-38=58', '26-5=21'] Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,17 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,17 unequal: No Solution No 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: 17:[26, 53], Operations: ['96-38=58', '58-5=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,17 unequal: No Solution No 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: 17:[58, 31], Operations: ['96-38=58', '26+5=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,17 unequal: No Solution No 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: 17:[26, 63], Operations: ['96-38=58', '5+58=63'] Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,17 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[38, 5, 70], Operations: ['96-26=70'] Exploring Operation: 38+5=43, Resulting Numbers: [70, 43] Generated Node #0,4,0: 17:[70, 43] Operation: 38+5=43 Exploring Operation: 70-5=65, Resulting Numbers: [38, 65] Generated Node #0,4,1: 17:[38, 65] Operation: 70-5=65 Exploring Operation: 70-38=32, Resulting Numbers: [5, 32] Generated Node #0,4,2: 17:[5, 32] Operation: 70-38=32 Exploring Operation: 38-5=33, Resulting Numbers: [70, 33] Generated Node #0,4,3: 17:[70, 33] Operation: 38-5=33 Exploring Operation: 70/5=14, Resulting Numbers: [38, 14] Generated Node #0,4,4: 17:[38, 14] Operation: 70/5=14 Moving to Node #0,4,4 Current State: 17:[38, 14], Operations: ['96-26=70', '70/5=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,17 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[5, 32], Operations: ['96-26=70', '70-38=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[38, 65], Operations: ['96-26=70', '70-5=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[70, 33], Operations: ['96-26=70', '38-5=33'] Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,17 unequal: No Solution Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[70, 43], Operations: ['96-26=70', '38+5=43'] Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,17 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,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 Current State: 17:[96, 5, 12], Operations: ['38-26=12'] Exploring Operation: 96-5=91, Resulting Numbers: [12, 91] Generated Node #0,0,0: 17:[12, 91] Operation: 96-5=91 Exploring Operation: 5+12=17, Resulting Numbers: [96, 17] Generated Node #0,0,1: 17:[96, 17] Operation: 5+12=17 Exploring Operation: 96-12=84, Resulting Numbers: [5, 84] Generated Node #0,0,2: 17:[5, 84] Operation: 96-12=84 Exploring Operation: 96+5=101, Resulting Numbers: [12, 101] Generated Node #0,0,3: 17:[12, 101] Operation: 96+5=101 Exploring Operation: 96/12=8, Resulting Numbers: [5, 8] Generated Node #0,0,4: 17:[5, 8] Operation: 96/12=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 17:[5, 8], Operations: ['38-26=12', '96/12=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,17 unequal: No Solution No 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: 17:[12, 91], Operations: ['38-26=12', '96-5=91'] Exploring Operation: 12+91=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 12*91=1092, Resulting Numbers: [1092] 1092,17 unequal: No Solution No 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: 17:[96, 17], Operations: ['38-26=12', '5+12=17'] Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,17 unequal: No Solution Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,17 unequal: No Solution No 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: 17:[5, 84], Operations: ['38-26=12', '96-12=84'] Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,17 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,17 unequal: No Solution No 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: 17:[12, 101], Operations: ['38-26=12', '96+5=101'] Exploring Operation: 12*101=1212, Resulting Numbers: [1212] 1212,17 unequal: No Solution Exploring Operation: 12+101=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 101-12=89, Resulting Numbers: [89] 89,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[26, 38, 91], Operations: ['96-5=91'] Exploring Operation: 38-26=12, Resulting Numbers: [91, 12] Generated Node #0,1,0: 17:[91, 12] Operation: 38-26=12 Exploring Operation: 91-26=65, Resulting Numbers: [38, 65] Generated Node #0,1,1: 17:[38, 65] Operation: 91-26=65 Exploring Operation: 91-38=53, Resulting Numbers: [26, 53] Generated Node #0,1,2: 17:[26, 53] Operation: 91-38=53 Exploring Operation: 26+91=117, Resulting Numbers: [38, 117] Generated Node #0,1,3: 17:[38, 117] Operation: 26+91=117 Exploring Operation: 26+38=64, Resulting Numbers: [91, 64] Generated Node #0,1,4: 17:[91, 64] Operation: 26+38=64 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[26, 53], Operations: ['96-5=91', '91-38=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,17 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,17 unequal: No Solution No 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: 17:[38, 65], Operations: ['96-5=91', '91-26=65'] Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,17 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,17 unequal: No Solution No 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: 17:[91, 12], Operations: ['96-5=91', '38-26=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,17 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,17 unequal: No Solution No 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: 17:[38, 117], Operations: ['96-5=91', '26+91=117'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 38*117=4446, Resulting Numbers: [4446] 4446,17 unequal: No Solution Exploring Operation: 38+117=155, Resulting Numbers: [155] 155,17 unequal: No Solution No 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: 17:[91, 64], Operations: ['96-5=91', '26+38=64'] Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,17 unequal: No Solution Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[96, 38, 21], Operations: ['26-5=21'] Exploring Operation: 96-21=75, Resulting Numbers: [38, 75] Generated Node #0,3,0: 17:[38, 75] Operation: 96-21=75 Exploring Operation: 96+21=117, Resulting Numbers: [38, 117] Generated Node #0,3,1: 17:[38, 117] Operation: 96+21=117 Exploring Operation: 38-21=17, Resulting Numbers: [96, 17] Generated Node #0,3,2: 17:[96, 17] Operation: 38-21=17 Exploring Operation: 96-38=58, Resulting Numbers: [21, 58] Generated Node #0,3,3: 17:[21, 58] Operation: 96-38=58 Exploring Operation: 96+38=134, Resulting Numbers: [21, 134] Generated Node #0,3,4: 17:[21, 134] Operation: 96+38=134 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[21, 58], Operations: ['26-5=21', '96-38=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,17 unequal: No Solution No 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: 17:[38, 75], Operations: ['26-5=21', '96-21=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,17 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,17 unequal: No Solution No 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: 17:[96, 17], Operations: ['26-5=21', '38-21=17'] Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,17 unequal: No Solution No 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: 17:[38, 117], Operations: ['26-5=21', '96+21=117'] Exploring Operation: 38*117=4446, Resulting Numbers: [4446] 4446,17 unequal: No Solution Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 38+117=155, Resulting Numbers: [155] 155,17 unequal: No Solution No 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: 17:[21, 134], Operations: ['26-5=21', '96+38=134'] Exploring Operation: 21+134=155, Resulting Numbers: [155] 155,17 unequal: No Solution Exploring Operation: 21*134=2814, Resulting Numbers: [2814] 2814,17 unequal: No Solution Exploring Operation: 134-21=113, Resulting Numbers: [113] 113,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 26, 80, 9, 78 ]
83
[ "26*9=234", "234/78=3", "80+3=83" ]
Current State: 83:[26, 80, 9, 78], Operations: [] Exploring Operation: 26*9=234, Resulting Numbers: [80, 78, 234] Generated Node #2: [80, 78, 234] from Operation: 26*9=234 Current State: 83:[80, 78, 234], Operations: ['26*9=234'] Exploring Operation: 234/78=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 234/78=3 Current State: 83:[80, 3], Operations: ['26*9=234', '234/78=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[26, 80, 9, 78], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [80, 78, 35] Generated Node #0,0: 83:[80, 78, 35] Operation: 26+9=35 Moving to Node #0,0 Current State: 83:[80, 78, 35], Operations: ['26+9=35'] Exploring Operation: 78+35=113, Resulting Numbers: [80, 113] Generated Node #0,0,0: 83:[80, 113] Operation: 78+35=113 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[80, 113], Operations: ['26+9=35', '78+35=113'] Exploring Operation: 113-80=33, Resulting Numbers: [33] 33,83 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
[ 13, 16, 12, 92 ]
82
[ "12*92=1104", "1104/16=69", "13+69=82" ]
Current State: 82:[13, 16, 12, 92], Operations: [] Exploring Operation: 12*92=1104, Resulting Numbers: [13, 16, 1104] Generated Node #2: [13, 16, 1104] from Operation: 12*92=1104 Current State: 82:[13, 16, 1104], Operations: ['12*92=1104'] Exploring Operation: 1104/16=69, Resulting Numbers: [13, 69] Generated Node #3: [13, 69] from Operation: 1104/16=69 Current State: 82:[13, 69], Operations: ['12*92=1104', '1104/16=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[13, 16, 12, 92], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [13, 92, 4] Generated Node #0,0: 82:[13, 92, 4] Operation: 16-12=4 Exploring Operation: 92-13=79, Resulting Numbers: [16, 12, 79] Generated Node #0,1: 82:[16, 12, 79] Operation: 92-13=79 Exploring Operation: 13-12=1, Resulting Numbers: [16, 92, 1] Generated Node #0,2: 82:[16, 92, 1] Operation: 13-12=1 Exploring Operation: 16-13=3, Resulting Numbers: [12, 92, 3] Generated Node #0,3: 82:[12, 92, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[12, 92, 3], Operations: ['16-13=3'] Exploring Operation: 12/3=4, Resulting Numbers: [92, 4] Generated Node #0,3,0: 82:[92, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [92, 9] Generated Node #0,3,1: 82:[92, 9] Operation: 12-3=9 Exploring Operation: 12*3=36, Resulting Numbers: [92, 36] Generated Node #0,3,2: 82:[92, 36] Operation: 12*3=36 Exploring Operation: 92-12=80, Resulting Numbers: [3, 80] Generated Node #0,3,3: 82:[3, 80] Operation: 92-12=80 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[3, 80], Operations: ['16-13=3', '92-12=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[92, 4], Operations: ['16-13=3', '12/3=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,82 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[92, 36], Operations: ['16-13=3', '12*3=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,82 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[92, 9], Operations: ['16-13=3', '12-3=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,82 unequal: No Solution Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[13, 92, 4], Operations: ['16-12=4'] Exploring Operation: 92-13=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 82:[4, 79] Operation: 92-13=79 Exploring Operation: 92-4=88, Resulting Numbers: [13, 88] Generated Node #0,0,1: 82:[13, 88] Operation: 92-4=88 Exploring Operation: 13*4=52, Resulting Numbers: [92, 52] Generated Node #0,0,2: 82:[92, 52] Operation: 13*4=52 Exploring Operation: 13-4=9, Resulting Numbers: [92, 9] Generated Node #0,0,3: 82:[92, 9] Operation: 13-4=9 Moving to Node #0,0,0 Current State: 82:[4, 79], Operations: ['16-12=4', '92-13=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[92, 9], Operations: ['16-12=4', '13-4=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,82 unequal: No Solution Exploring Operation: 92*9=828, Resulting Numbers: [828] 828,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[13, 88], Operations: ['16-12=4', '92-4=88'] Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,82 unequal: No Solution Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,82 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[92, 52], Operations: ['16-12=4', '13*4=52'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[16, 92, 1], Operations: ['13-12=1'] Exploring Operation: 92-16=76, Resulting Numbers: [1, 76] Generated Node #0,2,0: 82:[1, 76] Operation: 92-16=76 Exploring Operation: 16-1=15, Resulting Numbers: [92, 15] Generated Node #0,2,1: 82:[92, 15] Operation: 16-1=15 Exploring Operation: 92-1=91, Resulting Numbers: [16, 91] Generated Node #0,2,2: 82:[16, 91] Operation: 92-1=91 Exploring Operation: 16*1=16, Resulting Numbers: [92, 16] Generated Node #0,2,3: 82:[92, 16] Operation: 16*1=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[1, 76], Operations: ['13-12=1', '92-16=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[92, 15], Operations: ['13-12=1', '16-1=15'] Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[16, 91], Operations: ['13-12=1', '92-1=91'] Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,82 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[92, 16], Operations: ['13-12=1', '16*1=16'] Exploring Operation: 92+16=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 92*16=1472, Resulting Numbers: [1472] 1472,82 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[16, 12, 79], Operations: ['92-13=79'] Exploring Operation: 16+12=28, Resulting Numbers: [79, 28] Generated Node #0,1,0: 82:[79, 28] Operation: 16+12=28 Exploring Operation: 16-12=4, Resulting Numbers: [79, 4] Generated Node #0,1,1: 82:[79, 4] Operation: 16-12=4 Exploring Operation: 12+79=91, Resulting Numbers: [16, 91] Generated Node #0,1,2: 82:[16, 91] Operation: 12+79=91 Exploring Operation: 16+79=95, Resulting Numbers: [12, 95] Generated Node #0,1,3: 82:[12, 95] Operation: 16+79=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[79, 4], Operations: ['92-13=79', '16-12=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[79, 28], Operations: ['92-13=79', '16+12=28'] Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,82 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[16, 91], Operations: ['92-13=79', '12+79=91'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,82 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[12, 95], Operations: ['92-13=79', '16+79=95'] Exploring Operation: 12+95=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 12*95=1140, Resulting Numbers: [1140] 1140,82 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 2, 94, 48 ]
66
[ "62-48=14", "2*14=28", "94-28=66" ]
Current State: 66:[62, 2, 94, 48], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [2, 94, 14] Generated Node #2: [2, 94, 14] from Operation: 62-48=14 Current State: 66:[2, 94, 14], Operations: ['62-48=14'] Exploring Operation: 2*14=28, Resulting Numbers: [94, 28] Generated Node #3: [94, 28] from Operation: 2*14=28 Current State: 66:[94, 28], Operations: ['62-48=14', '2*14=28'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[62, 2, 94, 48], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [2, 48, 32] Generated Node #0,0: 66:[2, 48, 32] Operation: 94-62=32 Exploring Operation: 94-48=46, Resulting Numbers: [62, 2, 46] Generated Node #0,1: 66:[62, 2, 46] Operation: 94-48=46 Exploring Operation: 48/2=24, Resulting Numbers: [62, 94, 24] Generated Node #0,2: 66:[62, 94, 24] Operation: 48/2=24 Exploring Operation: 62-48=14, Resulting Numbers: [2, 94, 14] Generated Node #0,3: 66:[2, 94, 14] Operation: 62-48=14 Exploring Operation: 94/2=47, Resulting Numbers: [62, 48, 47] Generated Node #0,4: 66:[62, 48, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[2, 48, 32], Operations: ['94-62=32'] Exploring Operation: 48-2=46, Resulting Numbers: [32, 46] Generated Node #0,0,0: 66:[32, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [32, 24] Generated Node #0,0,1: 66:[32, 24] Operation: 48/2=24 Exploring Operation: 48-32=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 66:[2, 16] Operation: 48-32=16 Exploring Operation: 48+32=80, Resulting Numbers: [2, 80] Generated Node #0,0,3: 66:[2, 80] Operation: 48+32=80 Exploring Operation: 2+32=34, Resulting Numbers: [48, 34] Generated Node #0,0,4: 66:[48, 34] Operation: 2+32=34 Moving to Node #0,0,1 Current State: 66:[32, 24], Operations: ['94-62=32', '48/2=24'] Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,66 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[2, 16], Operations: ['94-62=32', '48-32=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[32, 46], Operations: ['94-62=32', '48-2=46'] Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,66 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[2, 80], Operations: ['94-62=32', '48+32=80'] Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,66 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[48, 34], Operations: ['94-62=32', '2+32=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,66 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,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 Current State: 66:[62, 2, 46], Operations: ['94-48=46'] Exploring Operation: 46/2=23, Resulting Numbers: [62, 23] Generated Node #0,1,0: 66:[62, 23] Operation: 46/2=23 Exploring Operation: 62-46=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 66:[2, 16] Operation: 62-46=16 Exploring Operation: 46-2=44, Resulting Numbers: [62, 44] Generated Node #0,1,2: 66:[62, 44] Operation: 46-2=44 Exploring Operation: 62+2=64, Resulting Numbers: [46, 64] Generated Node #0,1,3: 66:[46, 64] Operation: 62+2=64 Exploring Operation: 62/2=31, Resulting Numbers: [46, 31] Generated Node #0,1,4: 66:[46, 31] Operation: 62/2=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[62, 23], Operations: ['94-48=46', '46/2=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,66 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,66 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[2, 16], Operations: ['94-48=46', '62-46=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[62, 44], Operations: ['94-48=46', '46-2=44'] Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 62+44=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 62*44=2728, Resulting Numbers: [2728] 2728,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 66:[46, 64], Operations: ['94-48=46', '62+2=64'] Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,66 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 66:[46, 31], Operations: ['94-48=46', '62/2=31'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[2, 94, 14], Operations: ['62-48=14'] Exploring Operation: 14/2=7, Resulting Numbers: [94, 7] Generated Node #0,3,0: 66:[94, 7] Operation: 14/2=7 Exploring Operation: 94-14=80, Resulting Numbers: [2, 80] Generated Node #0,3,1: 66:[2, 80] Operation: 94-14=80 Exploring Operation: 14-2=12, Resulting Numbers: [94, 12] Generated Node #0,3,2: 66:[94, 12] Operation: 14-2=12 Exploring Operation: 94/2=47, Resulting Numbers: [14, 47] Generated Node #0,3,3: 66:[14, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [14, 92] Generated Node #0,3,4: 66:[14, 92] Operation: 94-2=92 Moving to Node #0,3,1 Current State: 66:[2, 80], Operations: ['62-48=14', '94-14=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[14, 47], Operations: ['62-48=14', '94/2=47'] Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,66 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[94, 7], Operations: ['62-48=14', '14/2=7'] Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,66 unequal: No Solution Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,66 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[94, 12], Operations: ['62-48=14', '14-2=12'] Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,66 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[14, 92], Operations: ['62-48=14', '94-2=92'] Exploring Operation: 14*92=1288, Resulting Numbers: [1288] 1288,66 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[62, 48, 47], Operations: ['94/2=47'] Exploring Operation: 62+48=110, Resulting Numbers: [47, 110] Generated Node #0,4,0: 66:[47, 110] Operation: 62+48=110 Exploring Operation: 62-47=15, Resulting Numbers: [48, 15] Generated Node #0,4,1: 66:[48, 15] Operation: 62-47=15 Exploring Operation: 62-48=14, Resulting Numbers: [47, 14] Generated Node #0,4,2: 66:[47, 14] Operation: 62-48=14 Exploring Operation: 48+47=95, Resulting Numbers: [62, 95] Generated Node #0,4,3: 66:[62, 95] Operation: 48+47=95 Exploring Operation: 48-47=1, Resulting Numbers: [62, 1] Generated Node #0,4,4: 66:[62, 1] Operation: 48-47=1 Moving to Node #0,4,4 Current State: 66:[62, 1], Operations: ['94/2=47', '48-47=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,66 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,66 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[47, 14], Operations: ['94/2=47', '62-48=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,66 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,4,1 Current State: 66:[48, 15], Operations: ['94/2=47', '62-47=15'] Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[62, 95], Operations: ['94/2=47', '48+47=95'] Exploring Operation: 62*95=5890, Resulting Numbers: [5890] 5890,66 unequal: No Solution Exploring Operation: 62+95=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[47, 110], Operations: ['94/2=47', '62+48=110'] Exploring Operation: 47*110=5170, Resulting Numbers: [5170] 5170,66 unequal: No Solution Exploring Operation: 47+110=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 110-47=63, Resulting Numbers: [63] 63,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[62, 94, 24], Operations: ['48/2=24'] Exploring Operation: 94-62=32, Resulting Numbers: [24, 32] Generated Node #0,2,0: 66:[24, 32] Operation: 94-62=32 Exploring Operation: 62+24=86, Resulting Numbers: [94, 86] Generated Node #0,2,1: 66:[94, 86] Operation: 62+24=86 Exploring Operation: 62-24=38, Resulting Numbers: [94, 38] Generated Node #0,2,2: 66:[94, 38] Operation: 62-24=38 Exploring Operation: 94-24=70, Resulting Numbers: [62, 70] Generated Node #0,2,3: 66:[62, 70] Operation: 94-24=70 Exploring Operation: 94+24=118, Resulting Numbers: [62, 118] Generated Node #0,2,4: 66:[62, 118] Operation: 94+24=118 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[24, 32], Operations: ['48/2=24', '94-62=32'] Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,66 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 66:[62, 70], Operations: ['48/2=24', '94-24=70'] Exploring Operation: 62*70=4340, Resulting Numbers: [4340] 4340,66 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 62+70=132, Resulting Numbers: [132] 132,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 66:[94, 38], Operations: ['48/2=24', '62-24=38'] Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[94, 86], Operations: ['48/2=24', '62+24=86'] Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,66 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 66:[62, 118], Operations: ['48/2=24', '94+24=118'] Exploring Operation: 118-62=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 62*118=7316, Resulting Numbers: [7316] 7316,66 unequal: No Solution Exploring Operation: 62+118=180, Resulting Numbers: [180] 180,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 36, 89, 76, 25 ]
71
[ "36+89=125", "125/25=5", "76-5=71" ]
Current State: 71:[36, 89, 76, 25], Operations: [] Exploring Operation: 36+89=125, Resulting Numbers: [76, 25, 125] Generated Node #2: [76, 25, 125] from Operation: 36+89=125 Current State: 71:[76, 25, 125], Operations: ['36+89=125'] Exploring Operation: 125/25=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 125/25=5 Current State: 71:[76, 5], Operations: ['36+89=125', '125/25=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[36, 89, 76, 25], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [36, 76, 64] Generated Node #0,0: 71:[36, 76, 64] Operation: 89-25=64 Exploring Operation: 36+25=61, Resulting Numbers: [89, 76, 61] Generated Node #0,1: 71:[89, 76, 61] Operation: 36+25=61 Exploring Operation: 36-25=11, Resulting Numbers: [89, 76, 11] Generated Node #0,2: 71:[89, 76, 11] Operation: 36-25=11 Exploring Operation: 76-25=51, Resulting Numbers: [36, 89, 51] Generated Node #0,3: 71:[36, 89, 51] Operation: 76-25=51 Exploring Operation: 89-36=53, Resulting Numbers: [76, 25, 53] Generated Node #0,4: 71:[76, 25, 53] Operation: 89-36=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[89, 76, 61], Operations: ['36+25=61'] Exploring Operation: 76-61=15, Resulting Numbers: [89, 15] Generated Node #0,1,0: 71:[89, 15] Operation: 76-61=15 Exploring Operation: 89+61=150, Resulting Numbers: [76, 150] Generated Node #0,1,1: 71:[76, 150] Operation: 89+61=150 Exploring Operation: 89-76=13, Resulting Numbers: [61, 13] Generated Node #0,1,2: 71:[61, 13] Operation: 89-76=13 Exploring Operation: 89-61=28, Resulting Numbers: [76, 28] Generated Node #0,1,3: 71:[76, 28] Operation: 89-61=28 Exploring Operation: 76+61=137, Resulting Numbers: [89, 137] Generated Node #0,1,4: 71:[89, 137] Operation: 76+61=137 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[76, 28], Operations: ['36+25=61', '89-61=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,71 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[61, 13], Operations: ['36+25=61', '89-76=13'] Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,71 unequal: No Solution Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[89, 15], Operations: ['36+25=61', '76-61=15'] Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,71 unequal: No Solution Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[76, 150], Operations: ['36+25=61', '89+61=150'] Exploring Operation: 150-76=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 76*150=11400, Resulting Numbers: [11400] 11400,71 unequal: No Solution Exploring Operation: 76+150=226, Resulting Numbers: [226] 226,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 71:[89, 137], Operations: ['36+25=61', '76+61=137'] Exploring Operation: 89+137=226, Resulting Numbers: [226] 226,71 unequal: No Solution Exploring Operation: 137-89=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 89*137=12193, Resulting Numbers: [12193] 12193,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[36, 76, 64], Operations: ['89-25=64'] Exploring Operation: 64-36=28, Resulting Numbers: [76, 28] Generated Node #0,0,0: 71:[76, 28] Operation: 64-36=28 Exploring Operation: 36+64=100, Resulting Numbers: [76, 100] Generated Node #0,0,1: 71:[76, 100] Operation: 36+64=100 Exploring Operation: 76-36=40, Resulting Numbers: [64, 40] Generated Node #0,0,2: 71:[64, 40] Operation: 76-36=40 Exploring Operation: 76-64=12, Resulting Numbers: [36, 12] Generated Node #0,0,3: 71:[36, 12] Operation: 76-64=12 Exploring Operation: 36+76=112, Resulting Numbers: [64, 112] Generated Node #0,0,4: 71:[64, 112] Operation: 36+76=112 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[76, 100], Operations: ['89-25=64', '36+64=100'] Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,71 unequal: No Solution Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[64, 40], Operations: ['89-25=64', '76-36=40'] Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[76, 28], Operations: ['89-25=64', '64-36=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[64, 112], Operations: ['89-25=64', '36+76=112'] Exploring Operation: 64*112=7168, Resulting Numbers: [7168] 7168,71 unequal: No Solution Exploring Operation: 64+112=176, Resulting Numbers: [176] 176,71 unequal: No Solution Exploring Operation: 112-64=48, Resulting Numbers: [48] 48,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[36, 12], Operations: ['89-25=64', '76-64=12'] Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,71 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[76, 25, 53], Operations: ['89-36=53'] Exploring Operation: 76-53=23, Resulting Numbers: [25, 23] Generated Node #0,4,0: 71:[25, 23] Operation: 76-53=23 Exploring Operation: 53-25=28, Resulting Numbers: [76, 28] Generated Node #0,4,1: 71:[76, 28] Operation: 53-25=28 Exploring Operation: 76+25=101, Resulting Numbers: [53, 101] Generated Node #0,4,2: 71:[53, 101] Operation: 76+25=101 Exploring Operation: 76-25=51, Resulting Numbers: [53, 51] Generated Node #0,4,3: 71:[53, 51] Operation: 76-25=51 Exploring Operation: 25+53=78, Resulting Numbers: [76, 78] Generated Node #0,4,4: 71:[76, 78] Operation: 25+53=78 Moving to Node #0,4,4 Current State: 71:[76, 78], Operations: ['89-36=53', '25+53=78'] Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,71 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[53, 51], Operations: ['89-36=53', '76-25=51'] Exploring Operation: 53*51=2703, Resulting Numbers: [2703] 2703,71 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 53+51=104, Resulting Numbers: [104] 104,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[76, 28], Operations: ['89-36=53', '53-25=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,71 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[53, 101], Operations: ['89-36=53', '76+25=101'] Exploring Operation: 53*101=5353, Resulting Numbers: [5353] 5353,71 unequal: No Solution Exploring Operation: 101-53=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 53+101=154, Resulting Numbers: [154] 154,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[25, 23], Operations: ['89-36=53', '76-53=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[36, 89, 51], Operations: ['76-25=51'] Exploring Operation: 36+51=87, Resulting Numbers: [89, 87] Generated Node #0,3,0: 71:[89, 87] Operation: 36+51=87 Exploring Operation: 36+89=125, Resulting Numbers: [51, 125] Generated Node #0,3,1: 71:[51, 125] Operation: 36+89=125 Exploring Operation: 51-36=15, Resulting Numbers: [89, 15] Generated Node #0,3,2: 71:[89, 15] Operation: 51-36=15 Exploring Operation: 89-36=53, Resulting Numbers: [51, 53] Generated Node #0,3,3: 71:[51, 53] Operation: 89-36=53 Exploring Operation: 89-51=38, Resulting Numbers: [36, 38] Generated Node #0,3,4: 71:[36, 38] Operation: 89-51=38 Moving to Node #0,3,0 Current State: 71:[89, 87], Operations: ['76-25=51', '36+51=87'] Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,71 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 89*87=7743, Resulting Numbers: [7743] 7743,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[51, 53], Operations: ['76-25=51', '89-36=53'] Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[36, 38], Operations: ['76-25=51', '89-51=38'] Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,71 unequal: No Solution Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[51, 125], Operations: ['76-25=51', '36+89=125'] Exploring Operation: 51*125=6375, Resulting Numbers: [6375] 6375,71 unequal: No Solution Exploring Operation: 125-51=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 51+125=176, Resulting Numbers: [176] 176,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[89, 15], Operations: ['76-25=51', '51-36=15'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,71 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[89, 76, 11], Operations: ['36-25=11'] Exploring Operation: 76+11=87, Resulting Numbers: [89, 87] Generated Node #0,2,0: 71:[89, 87] Operation: 76+11=87 Exploring Operation: 76-11=65, Resulting Numbers: [89, 65] Generated Node #0,2,1: 71:[89, 65] Operation: 76-11=65 Exploring Operation: 89-76=13, Resulting Numbers: [11, 13] Generated Node #0,2,2: 71:[11, 13] Operation: 89-76=13 Exploring Operation: 89-11=78, Resulting Numbers: [76, 78] Generated Node #0,2,3: 71:[76, 78] Operation: 89-11=78 Exploring Operation: 89+11=100, Resulting Numbers: [76, 100] Generated Node #0,2,4: 71:[76, 100] Operation: 89+11=100 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[76, 78], Operations: ['36-25=11', '89-11=78'] Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,71 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[89, 65], Operations: ['36-25=11', '76-11=65'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 89*65=5785, Resulting Numbers: [5785] 5785,71 unequal: No Solution Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[89, 87], Operations: ['36-25=11', '76+11=87'] Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,71 unequal: No Solution Exploring Operation: 89*87=7743, Resulting Numbers: [7743] 7743,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[76, 100], Operations: ['36-25=11', '89+11=100'] Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 76*100=7600, Resulting Numbers: [7600] 7600,71 unequal: No Solution Exploring Operation: 76+100=176, Resulting Numbers: [176] 176,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[11, 13], Operations: ['36-25=11', '89-76=13'] Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,71 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 52, 82, 78, 14 ]
70
[ "52+82=134", "78-14=64", "134-64=70" ]
Current State: 70:[52, 82, 78, 14], Operations: [] Exploring Operation: 52+82=134, Resulting Numbers: [78, 14, 134] Generated Node #2: [78, 14, 134] from Operation: 52+82=134 Current State: 70:[78, 14, 134], Operations: ['52+82=134'] Exploring Operation: 78-14=64, Resulting Numbers: [134, 64] Generated Node #3: [134, 64] from Operation: 78-14=64 Current State: 70:[134, 64], Operations: ['52+82=134', '78-14=64'] Exploring Operation: 134-64=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[52, 82, 78, 14], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [78, 14, 30] Generated Node #0,0: 70:[78, 14, 30] Operation: 82-52=30 Exploring Operation: 78-52=26, Resulting Numbers: [82, 14, 26] Generated Node #0,1: 70:[82, 14, 26] Operation: 78-52=26 Exploring Operation: 52+14=66, Resulting Numbers: [82, 78, 66] Generated Node #0,2: 70:[82, 78, 66] Operation: 52+14=66 Exploring Operation: 52-14=38, Resulting Numbers: [82, 78, 38] Generated Node #0,3: 70:[82, 78, 38] Operation: 52-14=38 Exploring Operation: 82-78=4, Resulting Numbers: [52, 14, 4] Generated Node #0,4: 70:[52, 14, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[78, 14, 30], Operations: ['82-52=30'] Exploring Operation: 78-30=48, Resulting Numbers: [14, 48] Generated Node #0,0,0: 70:[14, 48] Operation: 78-30=48 Exploring Operation: 14+30=44, Resulting Numbers: [78, 44] Generated Node #0,0,1: 70:[78, 44] Operation: 14+30=44 Exploring Operation: 30-14=16, Resulting Numbers: [78, 16] Generated Node #0,0,2: 70:[78, 16] Operation: 30-14=16 Exploring Operation: 78-14=64, Resulting Numbers: [30, 64] Generated Node #0,0,3: 70:[30, 64] Operation: 78-14=64 Exploring Operation: 78+14=92, Resulting Numbers: [30, 92] Generated Node #0,0,4: 70:[30, 92] Operation: 78+14=92 Moving to Node #0,0,2 Current State: 70:[78, 16], Operations: ['82-52=30', '30-14=16'] Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,70 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[30, 64], Operations: ['82-52=30', '78-14=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,70 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[14, 48], Operations: ['82-52=30', '78-30=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[78, 44], Operations: ['82-52=30', '14+30=44'] Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,70 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[30, 92], Operations: ['82-52=30', '78+14=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,70 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 70:[52, 14, 4], Operations: ['82-78=4'] Exploring Operation: 52/4=13, Resulting Numbers: [14, 13] Generated Node #0,4,0: 70:[14, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [14, 48] Generated Node #0,4,1: 70:[14, 48] Operation: 52-4=48 Exploring Operation: 52-14=38, Resulting Numbers: [4, 38] Generated Node #0,4,2: 70:[4, 38] Operation: 52-14=38 Exploring Operation: 52+4=56, Resulting Numbers: [14, 56] Generated Node #0,4,3: 70:[14, 56] Operation: 52+4=56 Exploring Operation: 52+14=66, Resulting Numbers: [4, 66] Generated Node #0,4,4: 70:[4, 66] Operation: 52+14=66 Moving to Node #0,4,0 Current State: 70:[14, 13], Operations: ['82-78=4', '52/4=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[4, 38], Operations: ['82-78=4', '52-14=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[4, 66], Operations: ['82-78=4', '52+14=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[52, 82, 78, 14], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [52, 14, 4] Generated Node #0,4: 70:[52, 14, 4] Operation: 82-78=4 Moving to Node #0,4 Current State: 70:[52, 14, 4], Operations: ['82-78=4'] Exploring Operation: 52+14=66, Resulting Numbers: [4, 66] Generated Node #0,4,4: 70:[4, 66] Operation: 52+14=66 Moving to Node #0,4,4 Current State: 70:[4, 66], Operations: ['82-78=4', '52+14=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 85, 33, 10, 19 ]
38
[ "85+10=95", "95/19=5", "33+5=38" ]
Current State: 38:[85, 33, 10, 19], Operations: [] Exploring Operation: 85+10=95, Resulting Numbers: [33, 19, 95] Generated Node #2: [33, 19, 95] from Operation: 85+10=95 Current State: 38:[33, 19, 95], Operations: ['85+10=95'] Exploring Operation: 95/19=5, Resulting Numbers: [33, 5] Generated Node #3: [33, 5] from Operation: 95/19=5 Current State: 38:[33, 5], Operations: ['85+10=95', '95/19=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[85, 33, 10, 19], Operations: [] Exploring Operation: 33-10=23, Resulting Numbers: [85, 19, 23] Generated Node #0,0: 38:[85, 19, 23] Operation: 33-10=23 Exploring Operation: 85-19=66, Resulting Numbers: [33, 10, 66] Generated Node #0,1: 38:[33, 10, 66] Operation: 85-19=66 Exploring Operation: 85-10=75, Resulting Numbers: [33, 19, 75] Generated Node #0,2: 38:[33, 19, 75] Operation: 85-10=75 Exploring Operation: 85-33=52, Resulting Numbers: [10, 19, 52] Generated Node #0,3: 38:[10, 19, 52] Operation: 85-33=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[10, 19, 52], Operations: ['85-33=52'] Exploring Operation: 19-10=9, Resulting Numbers: [52, 9] Generated Node #0,3,0: 38:[52, 9] Operation: 19-10=9 Exploring Operation: 10+19=29, Resulting Numbers: [52, 29] Generated Node #0,3,1: 38:[52, 29] Operation: 10+19=29 Exploring Operation: 52-19=33, Resulting Numbers: [10, 33] Generated Node #0,3,2: 38:[10, 33] Operation: 52-19=33 Exploring Operation: 52-10=42, Resulting Numbers: [19, 42] Generated Node #0,3,3: 38:[19, 42] Operation: 52-10=42 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[19, 42], Operations: ['85-33=52', '52-10=42'] Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[10, 33], Operations: ['85-33=52', '52-19=33'] Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,38 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[52, 9], Operations: ['85-33=52', '19-10=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,38 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[52, 29], Operations: ['85-33=52', '10+19=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,38 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[33, 10, 66], Operations: ['85-19=66'] Exploring Operation: 66-10=56, Resulting Numbers: [33, 56] Generated Node #0,1,0: 38:[33, 56] Operation: 66-10=56 Exploring Operation: 66-33=33, Resulting Numbers: [10, 33] Generated Node #0,1,1: 38:[10, 33] Operation: 66-33=33 Exploring Operation: 33-10=23, Resulting Numbers: [66, 23] Generated Node #0,1,2: 38:[66, 23] Operation: 33-10=23 Exploring Operation: 66/33=2, Resulting Numbers: [10, 2] Generated Node #0,1,3: 38:[10, 2] Operation: 66/33=2 Moving to Node #0,1,3 Current State: 38:[10, 2], Operations: ['85-19=66', '66/33=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[10, 33], Operations: ['85-19=66', '66-33=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[33, 56], Operations: ['85-19=66', '66-10=56'] Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,38 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[66, 23], Operations: ['85-19=66', '33-10=23'] Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,38 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,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,2 Current State: 38:[33, 19, 75], Operations: ['85-10=75'] Exploring Operation: 75-33=42, Resulting Numbers: [19, 42] Generated Node #0,2,0: 38:[19, 42] Operation: 75-33=42 Exploring Operation: 33-19=14, Resulting Numbers: [75, 14] Generated Node #0,2,1: 38:[75, 14] Operation: 33-19=14 Exploring Operation: 33+19=52, Resulting Numbers: [75, 52] Generated Node #0,2,2: 38:[75, 52] Operation: 33+19=52 Exploring Operation: 75-19=56, Resulting Numbers: [33, 56] Generated Node #0,2,3: 38:[33, 56] Operation: 75-19=56 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[19, 42], Operations: ['85-10=75', '75-33=42'] Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,38 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[33, 56], Operations: ['85-10=75', '75-19=56'] Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,38 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[75, 14], Operations: ['85-10=75', '33-19=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,38 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[75, 52], Operations: ['85-10=75', '33+19=52'] Exploring Operation: 75+52=127, Resulting Numbers: [127] 127,38 unequal: No Solution Exploring Operation: 75*52=3900, Resulting Numbers: [3900] 3900,38 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[85, 19, 23], Operations: ['33-10=23'] Exploring Operation: 85-19=66, Resulting Numbers: [23, 66] Generated Node #0,0,0: 38:[23, 66] Operation: 85-19=66 Exploring Operation: 23-19=4, Resulting Numbers: [85, 4] Generated Node #0,0,1: 38:[85, 4] Operation: 23-19=4 Exploring Operation: 19+23=42, Resulting Numbers: [85, 42] Generated Node #0,0,2: 38:[85, 42] Operation: 19+23=42 Exploring Operation: 85-23=62, Resulting Numbers: [19, 62] Generated Node #0,0,3: 38:[19, 62] Operation: 85-23=62 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[19, 62], Operations: ['33-10=23', '85-23=62'] Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,38 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[23, 66], Operations: ['33-10=23', '85-19=66'] Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,38 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[85, 4], Operations: ['33-10=23', '23-19=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,38 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[85, 42], Operations: ['33-10=23', '19+23=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,38 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 30, 14, 77 ]
55
[ "30/3=10", "77*10=770", "770/14=55" ]
Current State: 55:[3, 30, 14, 77], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [14, 77, 10] Generated Node #2: [14, 77, 10] from Operation: 30/3=10 Current State: 55:[14, 77, 10], Operations: ['30/3=10'] Exploring Operation: 77*10=770, Resulting Numbers: [14, 770] Generated Node #3: [14, 770] from Operation: 77*10=770 Current State: 55:[14, 770], Operations: ['30/3=10', '77*10=770'] Exploring Operation: 770/14=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[3, 30, 14, 77], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [14, 77, 10] Generated Node #0,0: 55:[14, 77, 10] Operation: 30/3=10 Exploring Operation: 30-14=16, Resulting Numbers: [3, 77, 16] Generated Node #0,1: 55:[3, 77, 16] Operation: 30-14=16 Exploring Operation: 77-14=63, Resulting Numbers: [3, 30, 63] Generated Node #0,2: 55:[3, 30, 63] Operation: 77-14=63 Exploring Operation: 77-30=47, Resulting Numbers: [3, 14, 47] Generated Node #0,3: 55:[3, 14, 47] Operation: 77-30=47 Moving to Node #0,3 Current State: 55:[3, 14, 47], Operations: ['77-30=47'] Exploring Operation: 14+47=61, Resulting Numbers: [3, 61] Generated Node #0,3,0: 55:[3, 61] Operation: 14+47=61 Exploring Operation: 3+47=50, Resulting Numbers: [14, 50] Generated Node #0,3,1: 55:[14, 50] Operation: 3+47=50 Exploring Operation: 14-3=11, Resulting Numbers: [47, 11] Generated Node #0,3,2: 55:[47, 11] Operation: 14-3=11 Exploring Operation: 3+14=17, Resulting Numbers: [47, 17] Generated Node #0,3,3: 55:[47, 17] Operation: 3+14=17 Moving to Node #0,0 Current State: 55:[14, 77, 10], Operations: ['30/3=10'] Exploring Operation: 14-10=4, Resulting Numbers: [77, 4] Generated Node #0,0,0: 55:[77, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [77, 24] Generated Node #0,0,1: 55:[77, 24] Operation: 14+10=24 Exploring Operation: 77-10=67, Resulting Numbers: [14, 67] Generated Node #0,0,2: 55:[14, 67] Operation: 77-10=67 Exploring Operation: 77-14=63, Resulting Numbers: [10, 63] Generated Node #0,0,3: 55:[10, 63] Operation: 77-14=63 Moving to Node #0,2 Current State: 55:[3, 30, 63], Operations: ['77-14=63'] Exploring Operation: 30/3=10, Resulting Numbers: [63, 10] Generated Node #0,2,0: 55:[63, 10] Operation: 30/3=10 Exploring Operation: 30-3=27, Resulting Numbers: [63, 27] Generated Node #0,2,1: 55:[63, 27] Operation: 30-3=27 Exploring Operation: 63-30=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 55:[3, 33] Operation: 63-30=33 Exploring Operation: 63-3=60, Resulting Numbers: [30, 60] Generated Node #0,2,3: 55:[30, 60] Operation: 63-3=60 Moving to Node #0,1 Current State: 55:[3, 77, 16], Operations: ['30-14=16'] Exploring Operation: 77-3=74, Resulting Numbers: [16, 74] Generated Node #0,1,0: 55:[16, 74] Operation: 77-3=74 Exploring Operation: 77-16=61, Resulting Numbers: [3, 61] Generated Node #0,1,1: 55:[3, 61] Operation: 77-16=61 Exploring Operation: 16-3=13, Resulting Numbers: [77, 13] Generated Node #0,1,2: 55:[77, 13] Operation: 16-3=13 Exploring Operation: 3*16=48, Resulting Numbers: [77, 48] Generated Node #0,1,3: 55:[77, 48] Operation: 3*16=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[3, 61], Operations: ['30-14=16', '77-16=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,55 unequal: No Solution No 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: 55:[16, 74], Operations: ['30-14=16', '77-3=74'] Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,55 unequal: No Solution No 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: 55:[77, 13], Operations: ['30-14=16', '16-3=13'] Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,55 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,55 unequal: No Solution No 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: 55:[77, 48], Operations: ['30-14=16', '3*16=48'] Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,55 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,55 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: 55:[3, 61], Operations: ['77-30=47', '14+47=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,55 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[47, 11], Operations: ['77-30=47', '14-3=11'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[14, 50], Operations: ['77-30=47', '3+47=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,55 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[10, 63], Operations: ['30/3=10', '77-14=63'] Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,55 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[63, 10], Operations: ['77-14=63', '30/3=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[47, 17], Operations: ['77-30=47', '3+14=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[14, 67], Operations: ['30/3=10', '77-10=67'] Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,55 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[77, 4], Operations: ['30/3=10', '14-10=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[30, 60], Operations: ['77-14=63', '63-3=60'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 30*60=1800, Resulting Numbers: [1800] 1800,55 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[63, 27], Operations: ['77-14=63', '30-3=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[3, 33], Operations: ['77-14=63', '63-30=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[77, 24], Operations: ['30/3=10', '14+10=24'] Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,55 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,55 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 6, 14, 65 ]
58
[ "27-6=21", "14+65=79", "79-21=58" ]
Current State: 58:[27, 6, 14, 65], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [14, 65, 21] Generated Node #2: [14, 65, 21] from Operation: 27-6=21 Current State: 58:[14, 65, 21], Operations: ['27-6=21'] Exploring Operation: 14+65=79, Resulting Numbers: [21, 79] Generated Node #3: [21, 79] from Operation: 14+65=79 Current State: 58:[21, 79], Operations: ['27-6=21', '14+65=79'] Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[27, 6, 14, 65], Operations: [] Exploring Operation: 65-6=59, Resulting Numbers: [27, 14, 59] Generated Node #0,0: 58:[27, 14, 59] Operation: 65-6=59 Exploring Operation: 6+14=20, Resulting Numbers: [27, 65, 20] Generated Node #0,1: 58:[27, 65, 20] Operation: 6+14=20 Exploring Operation: 65-14=51, Resulting Numbers: [27, 6, 51] Generated Node #0,2: 58:[27, 6, 51] Operation: 65-14=51 Exploring Operation: 14-6=8, Resulting Numbers: [27, 65, 8] Generated Node #0,3: 58:[27, 65, 8] Operation: 14-6=8 Moving to Node #0,2 Current State: 58:[27, 6, 51], Operations: ['65-14=51'] Exploring Operation: 6+51=57, Resulting Numbers: [27, 57] Generated Node #0,2,0: 58:[27, 57] Operation: 6+51=57 Exploring Operation: 27+6=33, Resulting Numbers: [51, 33] Generated Node #0,2,1: 58:[51, 33] Operation: 27+6=33 Exploring Operation: 51-27=24, Resulting Numbers: [6, 24] Generated Node #0,2,2: 58:[6, 24] Operation: 51-27=24 Exploring Operation: 27-6=21, Resulting Numbers: [51, 21] Generated Node #0,2,3: 58:[51, 21] Operation: 27-6=21 Moving to Node #0,3 Current State: 58:[27, 65, 8], Operations: ['14-6=8'] Exploring Operation: 65-27=38, Resulting Numbers: [8, 38] Generated Node #0,3,0: 58:[8, 38] Operation: 65-27=38 Exploring Operation: 27-8=19, Resulting Numbers: [65, 19] Generated Node #0,3,1: 58:[65, 19] Operation: 27-8=19 Exploring Operation: 65-8=57, Resulting Numbers: [27, 57] Generated Node #0,3,2: 58:[27, 57] Operation: 65-8=57 Exploring Operation: 27+8=35, Resulting Numbers: [65, 35] Generated Node #0,3,3: 58:[65, 35] Operation: 27+8=35 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[27, 57], Operations: ['14-6=8', '65-8=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,58 unequal: No Solution No 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: 58:[65, 35], Operations: ['14-6=8', '27+8=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,58 unequal: No Solution No 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: 58:[8, 38], Operations: ['14-6=8', '65-27=38'] Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,58 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,58 unequal: No Solution No 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: 58:[65, 19], Operations: ['14-6=8', '27-8=19'] Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,58 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,58 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: 58:[27, 14, 59], Operations: ['65-6=59'] Exploring Operation: 59-14=45, Resulting Numbers: [27, 45] Generated Node #0,0,0: 58:[27, 45] Operation: 59-14=45 Exploring Operation: 27+14=41, Resulting Numbers: [59, 41] Generated Node #0,0,1: 58:[59, 41] Operation: 27+14=41 Exploring Operation: 59-27=32, Resulting Numbers: [14, 32] Generated Node #0,0,2: 58:[14, 32] Operation: 59-27=32 Exploring Operation: 27-14=13, Resulting Numbers: [59, 13] Generated Node #0,0,3: 58:[59, 13] Operation: 27-14=13 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[59, 13], Operations: ['65-6=59', '27-14=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,58 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,58 unequal: No Solution No 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: 58:[59, 41], Operations: ['65-6=59', '27+14=41'] Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,58 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,58 unequal: No Solution No 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: 58:[27, 45], Operations: ['65-6=59', '59-14=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,58 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,58 unequal: No Solution No 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: 58:[14, 32], Operations: ['65-6=59', '59-27=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,58 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,58 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: 58:[27, 65, 20], Operations: ['6+14=20'] Exploring Operation: 65-20=45, Resulting Numbers: [27, 45] Generated Node #0,1,0: 58:[27, 45] Operation: 65-20=45 Exploring Operation: 27+20=47, Resulting Numbers: [65, 47] Generated Node #0,1,1: 58:[65, 47] Operation: 27+20=47 Exploring Operation: 27-20=7, Resulting Numbers: [65, 7] Generated Node #0,1,2: 58:[65, 7] Operation: 27-20=7 Exploring Operation: 65-27=38, Resulting Numbers: [20, 38] Generated Node #0,1,3: 58:[20, 38] Operation: 65-27=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[65, 7], Operations: ['6+14=20', '27-20=7'] Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[27, 6, 14, 65], Operations: [] Exploring Operation: 6+14=20, Resulting Numbers: [27, 65, 20] Generated Node #0,1: 58:[27, 65, 20] Operation: 6+14=20 Moving to Node #0,1 Current State: 58:[27, 65, 20], Operations: ['6+14=20'] Exploring Operation: 27-20=7, Resulting Numbers: [65, 7] Generated Node #0,1,2: 58:[65, 7] Operation: 27-20=7 Moving to Node #0,1,2 Current State: 58:[65, 7], Operations: ['6+14=20', '27-20=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 46, 56, 21, 14 ]
23
[ "46*21=966", "56-14=42", "966/42=23" ]
Current State: 23:[46, 56, 21, 14], Operations: [] Exploring Operation: 46*21=966, Resulting Numbers: [56, 14, 966] Generated Node #2: [56, 14, 966] from Operation: 46*21=966 Current State: 23:[56, 14, 966], Operations: ['46*21=966'] Exploring Operation: 56-14=42, Resulting Numbers: [966, 42] Generated Node #3: [966, 42] from Operation: 56-14=42 Current State: 23:[966, 42], Operations: ['46*21=966', '56-14=42'] Exploring Operation: 966/42=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[46, 56, 21, 14], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [21, 14, 10] Generated Node #0,0: 23:[21, 14, 10] Operation: 56-46=10 Exploring Operation: 46-21=25, Resulting Numbers: [56, 14, 25] Generated Node #0,1: 23:[56, 14, 25] Operation: 46-21=25 Moving to Node #0,0 Current State: 23:[21, 14, 10], Operations: ['56-46=10'] Exploring Operation: 14+10=24, Resulting Numbers: [21, 24] Generated Node #0,0,0: 23:[21, 24] Operation: 14+10=24 Exploring Operation: 21+10=31, Resulting Numbers: [14, 31] Generated Node #0,0,1: 23:[14, 31] Operation: 21+10=31 Moving to Node #0,1 Current State: 23:[56, 14, 25], Operations: ['46-21=25'] Exploring Operation: 56-14=42, Resulting Numbers: [25, 42] Generated Node #0,1,0: 23:[25, 42] Operation: 56-14=42 Exploring Operation: 56-25=31, Resulting Numbers: [14, 31] Generated Node #0,1,1: 23:[14, 31] Operation: 56-25=31 Moving to Node #0,0,0 Current State: 23:[21, 24], Operations: ['56-46=10', '14+10=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[14, 31], Operations: ['46-21=25', '56-25=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,23 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[14, 31], Operations: ['56-46=10', '21+10=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[25, 42], Operations: ['46-21=25', '56-14=42'] Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 41, 50, 7 ]
51
[ "41-7=34", "75*34=2550", "2550/50=51" ]
Current State: 51:[75, 41, 50, 7], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [75, 50, 34] Generated Node #2: [75, 50, 34] from Operation: 41-7=34 Current State: 51:[75, 50, 34], Operations: ['41-7=34'] Exploring Operation: 75*34=2550, Resulting Numbers: [50, 2550] Generated Node #3: [50, 2550] from Operation: 75*34=2550 Current State: 51:[50, 2550], Operations: ['41-7=34', '75*34=2550'] Exploring Operation: 2550/50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[75, 41, 50, 7], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [41, 7, 25] Generated Node #0,0: 51:[41, 7, 25] Operation: 75-50=25 Exploring Operation: 75-41=34, Resulting Numbers: [50, 7, 34] Generated Node #0,1: 51:[50, 7, 34] Operation: 75-41=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[41, 7, 25], Operations: ['75-50=25'] Exploring Operation: 41+7=48, Resulting Numbers: [25, 48] Generated Node #0,0,0: 51:[25, 48] Operation: 41+7=48 Exploring Operation: 41-25=16, Resulting Numbers: [7, 16] Generated Node #0,0,1: 51:[7, 16] Operation: 41-25=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[7, 16], Operations: ['75-50=25', '41-25=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[25, 48], Operations: ['75-50=25', '41+7=48'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[50, 7, 34], Operations: ['75-41=34'] Exploring Operation: 50-34=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 51:[7, 16] Operation: 50-34=16 Exploring Operation: 7+34=41, Resulting Numbers: [50, 41] Generated Node #0,1,1: 51:[50, 41] Operation: 7+34=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[7, 16], Operations: ['75-41=34', '50-34=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[50, 41], Operations: ['75-41=34', '7+34=41'] Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,51 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 14, 2, 37, 33 ]
12
[ "14+2=16", "37-33=4", "16-4=12" ]
Current State: 12:[14, 2, 37, 33], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [37, 33, 16] Generated Node #2: [37, 33, 16] from Operation: 14+2=16 Current State: 12:[37, 33, 16], Operations: ['14+2=16'] Exploring Operation: 37-33=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 37-33=4 Current State: 12:[16, 4], Operations: ['14+2=16', '37-33=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[14, 2, 37, 33], Operations: [] Exploring Operation: 37-14=23, Resulting Numbers: [2, 33, 23] Generated Node #0,0: 12:[2, 33, 23] Operation: 37-14=23 Exploring Operation: 33-14=19, Resulting Numbers: [2, 37, 19] Generated Node #0,1: 12:[2, 37, 19] Operation: 33-14=19 Exploring Operation: 37-2=35, Resulting Numbers: [14, 33, 35] Generated Node #0,2: 12:[14, 33, 35] Operation: 37-2=35 Exploring Operation: 14-2=12, Resulting Numbers: [37, 33, 12] Generated Node #0,3: 12:[37, 33, 12] Operation: 14-2=12 Exploring Operation: 37-33=4, Resulting Numbers: [14, 2, 4] Generated Node #0,4: 12:[14, 2, 4] Operation: 37-33=4 Moving to Node #0,4 Current State: 12:[14, 2, 4], Operations: ['37-33=4'] Exploring Operation: 14-2=12, Resulting Numbers: [4, 12] Generated Node #0,4,0: 12:[4, 12] Operation: 14-2=12 Exploring Operation: 14-4=10, Resulting Numbers: [2, 10] Generated Node #0,4,1: 12:[2, 10] Operation: 14-4=10 Exploring Operation: 4-2=2, Resulting Numbers: [14, 2] Generated Node #0,4,2: 12:[14, 2] Operation: 4-2=2 Exploring Operation: 14/2=7, Resulting Numbers: [4, 7] Generated Node #0,4,3: 12:[4, 7] Operation: 14/2=7 Exploring Operation: 2+4=6, Resulting Numbers: [14, 6] Generated Node #0,4,4: 12:[14, 6] Operation: 2+4=6 Moving to Node #0,1 Current State: 12:[2, 37, 19], Operations: ['33-14=19'] Exploring Operation: 19-2=17, Resulting Numbers: [37, 17] Generated Node #0,1,0: 12:[37, 17] Operation: 19-2=17 Exploring Operation: 37-19=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 12:[2, 18] Operation: 37-19=18 Exploring Operation: 2+19=21, Resulting Numbers: [37, 21] Generated Node #0,1,2: 12:[37, 21] Operation: 2+19=21 Exploring Operation: 2+37=39, Resulting Numbers: [19, 39] Generated Node #0,1,3: 12:[19, 39] Operation: 2+37=39 Exploring Operation: 37-2=35, Resulting Numbers: [19, 35] Generated Node #0,1,4: 12:[19, 35] Operation: 37-2=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[2, 18], Operations: ['33-14=19', '37-19=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,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:[37, 17], Operations: ['33-14=19', '19-2=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,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:[19, 35], Operations: ['33-14=19', '37-2=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,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:[37, 21], Operations: ['33-14=19', '2+19=21'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,12 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,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,3 Current State: 12:[19, 39], Operations: ['33-14=19', '2+37=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,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:[2, 33, 23], Operations: ['37-14=23'] Exploring Operation: 23-2=21, Resulting Numbers: [33, 21] Generated Node #0,0,0: 12:[33, 21] Operation: 23-2=21 Exploring Operation: 33-2=31, Resulting Numbers: [23, 31] Generated Node #0,0,1: 12:[23, 31] Operation: 33-2=31 Exploring Operation: 2+33=35, Resulting Numbers: [23, 35] Generated Node #0,0,2: 12:[23, 35] Operation: 2+33=35 Exploring Operation: 33-23=10, Resulting Numbers: [2, 10] Generated Node #0,0,3: 12:[2, 10] Operation: 33-23=10 Exploring Operation: 2+23=25, Resulting Numbers: [33, 25] Generated Node #0,0,4: 12:[33, 25] Operation: 2+23=25 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[2, 10], Operations: ['37-14=23', '33-23=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[14, 2, 37, 33], Operations: [] Exploring Operation: 37-14=23, Resulting Numbers: [2, 33, 23] Generated Node #0,0: 12:[2, 33, 23] Operation: 37-14=23 Moving to Node #0,0 Current State: 12:[2, 33, 23], Operations: ['37-14=23'] Exploring Operation: 33-23=10, Resulting Numbers: [2, 10] Generated Node #0,0,3: 12:[2, 10] Operation: 33-23=10 Moving to Node #0,0,3 Current State: 12:[2, 10], Operations: ['37-14=23', '33-23=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 31, 65, 43, 27 ]
26
[ "31+65=96", "43+27=70", "96-70=26" ]
Current State: 26:[31, 65, 43, 27], Operations: [] Exploring Operation: 31+65=96, Resulting Numbers: [43, 27, 96] Generated Node #2: [43, 27, 96] from Operation: 31+65=96 Current State: 26:[43, 27, 96], Operations: ['31+65=96'] Exploring Operation: 43+27=70, Resulting Numbers: [96, 70] Generated Node #3: [96, 70] from Operation: 43+27=70 Current State: 26:[96, 70], Operations: ['31+65=96', '43+27=70'] Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[31, 65, 43, 27], Operations: [] Exploring Operation: 65-31=34, Resulting Numbers: [43, 27, 34] Generated Node #0,0: 26:[43, 27, 34] Operation: 65-31=34 Exploring Operation: 43-27=16, Resulting Numbers: [31, 65, 16] Generated Node #0,1: 26:[31, 65, 16] Operation: 43-27=16 Exploring Operation: 65-27=38, Resulting Numbers: [31, 43, 38] Generated Node #0,2: 26:[31, 43, 38] Operation: 65-27=38 Exploring Operation: 43-31=12, Resulting Numbers: [65, 27, 12] Generated Node #0,3: 26:[65, 27, 12] Operation: 43-31=12 Exploring Operation: 65-43=22, Resulting Numbers: [31, 27, 22] Generated Node #0,4: 26:[31, 27, 22] Operation: 65-43=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[31, 27, 22], Operations: ['65-43=22'] Exploring Operation: 31+22=53, Resulting Numbers: [27, 53] Generated Node #0,4,0: 26:[27, 53] Operation: 31+22=53 Exploring Operation: 31-27=4, Resulting Numbers: [22, 4] Generated Node #0,4,1: 26:[22, 4] Operation: 31-27=4 Exploring Operation: 31-22=9, Resulting Numbers: [27, 9] Generated Node #0,4,2: 26:[27, 9] Operation: 31-22=9 Exploring Operation: 27+22=49, Resulting Numbers: [31, 49] Generated Node #0,4,3: 26:[31, 49] Operation: 27+22=49 Exploring Operation: 27-22=5, Resulting Numbers: [31, 5] Generated Node #0,4,4: 26:[31, 5] Operation: 27-22=5 Moving to Node #0,4,2 Current State: 26:[27, 9], Operations: ['65-43=22', '31-22=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,26 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[22, 4], Operations: ['65-43=22', '31-27=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,26 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[31, 65, 43, 27], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [31, 27, 22] Generated Node #0,4: 26:[31, 27, 22] Operation: 65-43=22 Moving to Node #0,4 Current State: 26:[31, 27, 22], Operations: ['65-43=22'] Exploring Operation: 31-27=4, Resulting Numbers: [22, 4] Generated Node #0,4,1: 26:[22, 4] Operation: 31-27=4 Moving to Node #0,4,1 Current State: 26:[22, 4], Operations: ['65-43=22', '31-27=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 40, 85, 92, 82 ]
35
[ "85-40=45", "92-82=10", "45-10=35" ]
Current State: 35:[40, 85, 92, 82], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [92, 82, 45] Generated Node #2: [92, 82, 45] from Operation: 85-40=45 Current State: 35:[92, 82, 45], Operations: ['85-40=45'] Exploring Operation: 92-82=10, Resulting Numbers: [45, 10] Generated Node #3: [45, 10] from Operation: 92-82=10 Current State: 35:[45, 10], Operations: ['85-40=45', '92-82=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[40, 85, 92, 82], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [40, 82, 7] Generated Node #0,0: 35:[40, 82, 7] Operation: 92-85=7 Exploring Operation: 92-82=10, Resulting Numbers: [40, 85, 10] Generated Node #0,1: 35:[40, 85, 10] Operation: 92-82=10 Moving to Node #0,0 Current State: 35:[40, 82, 7], Operations: ['92-85=7'] Exploring Operation: 82-40=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 35:[7, 42] Operation: 82-40=42 Exploring Operation: 82-7=75, Resulting Numbers: [40, 75] Generated Node #0,0,1: 35:[40, 75] Operation: 82-7=75 Moving to Node #0,1 Current State: 35:[40, 85, 10], Operations: ['92-82=10'] Exploring Operation: 85-10=75, Resulting Numbers: [40, 75] Generated Node #0,1,0: 35:[40, 75] Operation: 85-10=75 Exploring Operation: 85-40=45, Resulting Numbers: [10, 45] Generated Node #0,1,1: 35:[10, 45] Operation: 85-40=45 Moving to Node #0,0,0 Current State: 35:[7, 42], Operations: ['92-85=7', '82-40=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[40, 85, 92, 82], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [40, 82, 7] Generated Node #0,0: 35:[40, 82, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 35:[40, 82, 7], Operations: ['92-85=7'] Exploring Operation: 82-40=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 35:[7, 42] Operation: 82-40=42 Moving to Node #0,0,0 Current State: 35:[7, 42], Operations: ['92-85=7', '82-40=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 54, 83, 45, 51 ]
35
[ "83-54=29", "51-45=6", "29+6=35" ]
Current State: 35:[54, 83, 45, 51], Operations: [] Exploring Operation: 83-54=29, Resulting Numbers: [45, 51, 29] Generated Node #2: [45, 51, 29] from Operation: 83-54=29 Current State: 35:[45, 51, 29], Operations: ['83-54=29'] Exploring Operation: 51-45=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 51-45=6 Current State: 35:[29, 6], Operations: ['83-54=29', '51-45=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[54, 83, 45, 51], Operations: [] Exploring Operation: 54-45=9, Resulting Numbers: [83, 51, 9] Generated Node #0,0: 35:[83, 51, 9] Operation: 54-45=9 Exploring Operation: 83-54=29, Resulting Numbers: [45, 51, 29] Generated Node #0,1: 35:[45, 51, 29] Operation: 83-54=29 Exploring Operation: 83-45=38, Resulting Numbers: [54, 51, 38] Generated Node #0,2: 35:[54, 51, 38] Operation: 83-45=38 Exploring Operation: 54-51=3, Resulting Numbers: [83, 45, 3] Generated Node #0,3: 35:[83, 45, 3] Operation: 54-51=3 Exploring Operation: 83-51=32, Resulting Numbers: [54, 45, 32] Generated Node #0,4: 35:[54, 45, 32] Operation: 83-51=32 Moving to Node #0,1 Current State: 35:[45, 51, 29], Operations: ['83-54=29'] Exploring Operation: 45-29=16, Resulting Numbers: [51, 16] Generated Node #0,1,0: 35:[51, 16] Operation: 45-29=16 Exploring Operation: 51+29=80, Resulting Numbers: [45, 80] Generated Node #0,1,1: 35:[45, 80] Operation: 51+29=80 Exploring Operation: 45+29=74, Resulting Numbers: [51, 74] Generated Node #0,1,2: 35:[51, 74] Operation: 45+29=74 Exploring Operation: 51-45=6, Resulting Numbers: [29, 6] Generated Node #0,1,3: 35:[29, 6] Operation: 51-45=6 Exploring Operation: 51-29=22, Resulting Numbers: [45, 22] Generated Node #0,1,4: 35:[45, 22] Operation: 51-29=22 Moving to Node #0,4 Current State: 35:[54, 45, 32], Operations: ['83-51=32'] Exploring Operation: 45-32=13, Resulting Numbers: [54, 13] Generated Node #0,4,0: 35:[54, 13] Operation: 45-32=13 Exploring Operation: 45+32=77, Resulting Numbers: [54, 77] Generated Node #0,4,1: 35:[54, 77] Operation: 45+32=77 Exploring Operation: 54-45=9, Resulting Numbers: [32, 9] Generated Node #0,4,2: 35:[32, 9] Operation: 54-45=9 Exploring Operation: 54-32=22, Resulting Numbers: [45, 22] Generated Node #0,4,3: 35:[45, 22] Operation: 54-32=22 Exploring Operation: 54+32=86, Resulting Numbers: [45, 86] Generated Node #0,4,4: 35:[45, 86] Operation: 54+32=86 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 35:[32, 9], Operations: ['83-51=32', '54-45=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,35 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 35:[45, 22], Operations: ['83-51=32', '54-32=22'] Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 35:[54, 13], Operations: ['83-51=32', '45-32=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,35 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[54, 77], Operations: ['83-51=32', '45+32=77'] Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[45, 86], Operations: ['83-51=32', '54+32=86'] Exploring Operation: 45*86=3870, Resulting Numbers: [3870] 3870,35 unequal: No Solution Exploring Operation: 45+86=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,35 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: 35:[54, 51, 38], Operations: ['83-45=38'] Exploring Operation: 54-51=3, Resulting Numbers: [38, 3] Generated Node #0,2,0: 35:[38, 3] Operation: 54-51=3 Exploring Operation: 54+51=105, Resulting Numbers: [38, 105] Generated Node #0,2,1: 35:[38, 105] Operation: 54+51=105 Exploring Operation: 54-38=16, Resulting Numbers: [51, 16] Generated Node #0,2,2: 35:[51, 16] Operation: 54-38=16 Exploring Operation: 51-38=13, Resulting Numbers: [54, 13] Generated Node #0,2,3: 35:[54, 13] Operation: 51-38=13 Exploring Operation: 54+38=92, Resulting Numbers: [51, 92] Generated Node #0,2,4: 35:[51, 92] Operation: 54+38=92 Moving to Node #0,3 Current State: 35:[83, 45, 3], Operations: ['54-51=3'] Exploring Operation: 83+3=86, Resulting Numbers: [45, 86] Generated Node #0,3,0: 35:[45, 86] Operation: 83+3=86 Exploring Operation: 83-3=80, Resulting Numbers: [45, 80] Generated Node #0,3,1: 35:[45, 80] Operation: 83-3=80 Exploring Operation: 83-45=38, Resulting Numbers: [3, 38] Generated Node #0,3,2: 35:[3, 38] Operation: 83-45=38 Exploring Operation: 45-3=42, Resulting Numbers: [83, 42] Generated Node #0,3,3: 35:[83, 42] Operation: 45-3=42 Exploring Operation: 45/3=15, Resulting Numbers: [83, 15] Generated Node #0,3,4: 35:[83, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[3, 38], Operations: ['54-51=3', '83-45=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[54, 83, 45, 51], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [83, 45, 3] Generated Node #0,3: 35:[83, 45, 3] Operation: 54-51=3 Moving to Node #0,3 Current State: 35:[83, 45, 3], Operations: ['54-51=3'] Exploring Operation: 83-45=38, Resulting Numbers: [3, 38] Generated Node #0,3,2: 35:[3, 38] Operation: 83-45=38 Moving to Node #0,3,2 Current State: 35:[3, 38], Operations: ['54-51=3', '83-45=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 2, 75, 83, 7 ]
58
[ "83-75=8", "7*8=56", "2+56=58" ]
Current State: 58:[2, 75, 83, 7], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [2, 7, 8] Generated Node #2: [2, 7, 8] from Operation: 83-75=8 Current State: 58:[2, 7, 8], Operations: ['83-75=8'] Exploring Operation: 7*8=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 7*8=56 Current State: 58:[2, 56], Operations: ['83-75=8', '7*8=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 75, 83, 7], Operations: [] Exploring Operation: 83-7=76, Resulting Numbers: [2, 75, 76] Generated Node #0,0: 58:[2, 75, 76] Operation: 83-7=76 Exploring Operation: 75-7=68, Resulting Numbers: [2, 83, 68] Generated Node #0,1: 58:[2, 83, 68] Operation: 75-7=68 Exploring Operation: 83-75=8, Resulting Numbers: [2, 7, 8] Generated Node #0,2: 58:[2, 7, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[2, 7, 8], Operations: ['83-75=8'] Exploring Operation: 7*8=56, Resulting Numbers: [2, 56] Generated Node #0,2,0: 58:[2, 56] Operation: 7*8=56 Exploring Operation: 8-7=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 58:[2, 1] Operation: 8-7=1 Exploring Operation: 8/2=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 58:[7, 4] Operation: 8/2=4 Moving to Node #0,2,1 Current State: 58:[2, 1], Operations: ['83-75=8', '8-7=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[2, 56], Operations: ['83-75=8', '7*8=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 75, 83, 7], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [2, 7, 8] Generated Node #0,2: 58:[2, 7, 8] Operation: 83-75=8 Moving to Node #0,2 Current State: 58:[2, 7, 8], Operations: ['83-75=8'] Exploring Operation: 7*8=56, Resulting Numbers: [2, 56] Generated Node #0,2,0: 58:[2, 56] Operation: 7*8=56 Moving to Node #0,2,0 Current State: 58:[2, 56], Operations: ['83-75=8', '7*8=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 60, 56, 2, 72 ]
74
[ "60-56=4", "72-2=70", "4+70=74" ]
Current State: 74:[60, 56, 2, 72], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [2, 72, 4] Generated Node #2: [2, 72, 4] from Operation: 60-56=4 Current State: 74:[2, 72, 4], Operations: ['60-56=4'] Exploring Operation: 72-2=70, Resulting Numbers: [4, 70] Generated Node #3: [4, 70] from Operation: 72-2=70 Current State: 74:[4, 70], Operations: ['60-56=4', '72-2=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[60, 56, 2, 72], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [60, 2, 16] Generated Node #0,0: 74:[60, 2, 16] Operation: 72-56=16 Exploring Operation: 56/2=28, Resulting Numbers: [60, 72, 28] Generated Node #0,1: 74:[60, 72, 28] Operation: 56/2=28 Exploring Operation: 60-56=4, Resulting Numbers: [2, 72, 4] Generated Node #0,2: 74:[2, 72, 4] Operation: 60-56=4 Exploring Operation: 60/2=30, Resulting Numbers: [56, 72, 30] Generated Node #0,3: 74:[56, 72, 30] Operation: 60/2=30 Exploring Operation: 72-60=12, Resulting Numbers: [56, 2, 12] Generated Node #0,4: 74:[56, 2, 12] Operation: 72-60=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[2, 72, 4], Operations: ['60-56=4'] Exploring Operation: 72+4=76, Resulting Numbers: [2, 76] Generated Node #0,2,0: 74:[2, 76] Operation: 72+4=76 Exploring Operation: 4/2=2, Resulting Numbers: [72, 2] Generated Node #0,2,1: 74:[72, 2] Operation: 4/2=2 Exploring Operation: 2+72=74, Resulting Numbers: [4, 74] Generated Node #0,2,2: 74:[4, 74] Operation: 2+72=74 Exploring Operation: 72/2=36, Resulting Numbers: [4, 36] Generated Node #0,2,3: 74:[4, 36] Operation: 72/2=36 Exploring Operation: 4-2=2, Resulting Numbers: [72, 2] Generated Node #0,2,4: 74:[72, 2] Operation: 4-2=2 Moving to Node #0,2,0 Current State: 74:[2, 76], Operations: ['60-56=4', '72+4=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,74 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[60, 56, 2, 72], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [2, 72, 4] Generated Node #0,2: 74:[2, 72, 4] Operation: 60-56=4 Moving to Node #0,2 Current State: 74:[2, 72, 4], Operations: ['60-56=4'] Exploring Operation: 72+4=76, Resulting Numbers: [2, 76] Generated Node #0,2,0: 74:[2, 76] Operation: 72+4=76 Moving to Node #0,2,0 Current State: 74:[2, 76], Operations: ['60-56=4', '72+4=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 30, 95, 58, 53 ]
46
[ "95-30=65", "58+53=111", "111-65=46" ]
Current State: 46:[30, 95, 58, 53], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [58, 53, 65] Generated Node #2: [58, 53, 65] from Operation: 95-30=65 Current State: 46:[58, 53, 65], Operations: ['95-30=65'] Exploring Operation: 58+53=111, Resulting Numbers: [65, 111] Generated Node #3: [65, 111] from Operation: 58+53=111 Current State: 46:[65, 111], Operations: ['95-30=65', '58+53=111'] Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[30, 95, 58, 53], Operations: [] Exploring Operation: 95-58=37, Resulting Numbers: [30, 53, 37] Generated Node #0,0: 46:[30, 53, 37] Operation: 95-58=37 Exploring Operation: 95-53=42, Resulting Numbers: [30, 58, 42] Generated Node #0,1: 46:[30, 58, 42] Operation: 95-53=42 Exploring Operation: 95-30=65, Resulting Numbers: [58, 53, 65] Generated Node #0,2: 46:[58, 53, 65] Operation: 95-30=65 Moving to Node #0,0 Current State: 46:[30, 53, 37], Operations: ['95-58=37'] Exploring Operation: 53-30=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 46:[37, 23] Operation: 53-30=23 Exploring Operation: 37-30=7, Resulting Numbers: [53, 7] Generated Node #0,0,1: 46:[53, 7] Operation: 37-30=7 Exploring Operation: 53-37=16, Resulting Numbers: [30, 16] Generated Node #0,0,2: 46:[30, 16] Operation: 53-37=16 Moving to Node #0,1 Current State: 46:[30, 58, 42], Operations: ['95-53=42'] Exploring Operation: 58-30=28, Resulting Numbers: [42, 28] Generated Node #0,1,0: 46:[42, 28] Operation: 58-30=28 Exploring Operation: 58-42=16, Resulting Numbers: [30, 16] Generated Node #0,1,1: 46:[30, 16] Operation: 58-42=16 Exploring Operation: 42-30=12, Resulting Numbers: [58, 12] Generated Node #0,1,2: 46:[58, 12] Operation: 42-30=12 Moving to Node #0,2 Current State: 46:[58, 53, 65], Operations: ['95-30=65'] Exploring Operation: 58-53=5, Resulting Numbers: [65, 5] Generated Node #0,2,0: 46:[65, 5] Operation: 58-53=5 Exploring Operation: 65-53=12, Resulting Numbers: [58, 12] Generated Node #0,2,1: 46:[58, 12] Operation: 65-53=12 Exploring Operation: 65-58=7, Resulting Numbers: [53, 7] Generated Node #0,2,2: 46:[53, 7] Operation: 65-58=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[53, 7], Operations: ['95-30=65', '65-58=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[30, 95, 58, 53], Operations: [] Exploring Operation: 95-30=65, Resulting Numbers: [58, 53, 65] Generated Node #0,2: 46:[58, 53, 65] Operation: 95-30=65 Moving to Node #0,2 Current State: 46:[58, 53, 65], Operations: ['95-30=65'] Exploring Operation: 65-58=7, Resulting Numbers: [53, 7] Generated Node #0,2,2: 46:[53, 7] Operation: 65-58=7 Moving to Node #0,2,2 Current State: 46:[53, 7], Operations: ['95-30=65', '65-58=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 1, 99, 33, 44 ]
48
[ "1+44=45", "99/33=3", "45+3=48" ]
Current State: 48:[1, 99, 33, 44], Operations: [] Exploring Operation: 1+44=45, Resulting Numbers: [99, 33, 45] Generated Node #2: [99, 33, 45] from Operation: 1+44=45 Current State: 48:[99, 33, 45], Operations: ['1+44=45'] Exploring Operation: 99/33=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 99/33=3 Current State: 48:[45, 3], Operations: ['1+44=45', '99/33=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[1, 99, 33, 44], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [1, 44, 3] Generated Node #0,0: 48:[1, 44, 3] Operation: 99/33=3 Exploring Operation: 99-44=55, Resulting Numbers: [1, 33, 55] Generated Node #0,1: 48:[1, 33, 55] Operation: 99-44=55 Moving to Node #0,0 Current State: 48:[1, 44, 3], Operations: ['99/33=3'] Exploring Operation: 44+3=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 48:[1, 47] Operation: 44+3=47 Exploring Operation: 1+44=45, Resulting Numbers: [3, 45] Generated Node #0,0,1: 48:[3, 45] Operation: 1+44=45 Moving to Node #0,1 Current State: 48:[1, 33, 55], Operations: ['99-44=55'] Exploring Operation: 33-1=32, Resulting Numbers: [55, 32] Generated Node #0,1,0: 48:[55, 32] Operation: 33-1=32 Exploring Operation: 55-33=22, Resulting Numbers: [1, 22] Generated Node #0,1,1: 48:[1, 22] Operation: 55-33=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[1, 22], Operations: ['99-44=55', '55-33=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[55, 32], Operations: ['99-44=55', '33-1=32'] Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 48:[1, 47], Operations: ['99/33=3', '44+3=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[1, 99, 33, 44], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [1, 44, 3] Generated Node #0,0: 48:[1, 44, 3] Operation: 99/33=3 Moving to Node #0,0 Current State: 48:[1, 44, 3], Operations: ['99/33=3'] Exploring Operation: 44+3=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 48:[1, 47] Operation: 44+3=47 Moving to Node #0,0,0 Current State: 48:[1, 47], Operations: ['99/33=3', '44+3=47'] Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 75, 4, 62, 25 ]
48
[ "75-62=13", "25-13=12", "4*12=48" ]
Current State: 48:[75, 4, 62, 25], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [4, 25, 13] Generated Node #2: [4, 25, 13] from Operation: 75-62=13 Current State: 48:[4, 25, 13], Operations: ['75-62=13'] Exploring Operation: 25-13=12, Resulting Numbers: [4, 12] Generated Node #3: [4, 12] from Operation: 25-13=12 Current State: 48:[4, 12], Operations: ['75-62=13', '25-13=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[75, 4, 62, 25], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [4, 25, 13] Generated Node #0,0: 48:[4, 25, 13] Operation: 75-62=13 Exploring Operation: 75/25=3, Resulting Numbers: [4, 62, 3] Generated Node #0,1: 48:[4, 62, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[4, 25, 13], Operations: ['75-62=13'] Exploring Operation: 25-13=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 48:[4, 12] Operation: 25-13=12 Exploring Operation: 4+13=17, Resulting Numbers: [25, 17] Generated Node #0,0,1: 48:[25, 17] Operation: 4+13=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[4, 12], Operations: ['75-62=13', '25-13=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[75, 4, 62, 25], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [4, 25, 13] Generated Node #0,0: 48:[4, 25, 13] Operation: 75-62=13 Moving to Node #0,0 Current State: 48:[4, 25, 13], Operations: ['75-62=13'] Exploring Operation: 25-13=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 48:[4, 12] Operation: 25-13=12 Moving to Node #0,0,0 Current State: 48:[4, 12], Operations: ['75-62=13', '25-13=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 23, 64, 6, 57 ]
19
[ "64-57=7", "6*7=42", "42-23=19" ]
Current State: 19:[23, 64, 6, 57], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [23, 6, 7] Generated Node #2: [23, 6, 7] from Operation: 64-57=7 Current State: 19:[23, 6, 7], Operations: ['64-57=7'] Exploring Operation: 6*7=42, Resulting Numbers: [23, 42] Generated Node #3: [23, 42] from Operation: 6*7=42 Current State: 19:[23, 42], Operations: ['64-57=7', '6*7=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[23, 64, 6, 57], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [23, 6, 7] Generated Node #0,0: 19:[23, 6, 7] Operation: 64-57=7 Moving to Node #0,0 Current State: 19:[23, 6, 7], Operations: ['64-57=7'] Exploring Operation: 6+7=13, Resulting Numbers: [23, 13] Generated Node #0,0,0: 19:[23, 13] Operation: 6+7=13 Moving to Node #0,0,0 Current State: 19:[23, 13], Operations: ['64-57=7', '6+7=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 34, 86, 5, 68 ]
47
[ "34+86=120", "5+68=73", "120-73=47" ]
Current State: 47:[34, 86, 5, 68], Operations: [] Exploring Operation: 34+86=120, Resulting Numbers: [5, 68, 120] Generated Node #2: [5, 68, 120] from Operation: 34+86=120 Current State: 47:[5, 68, 120], Operations: ['34+86=120'] Exploring Operation: 5+68=73, Resulting Numbers: [120, 73] Generated Node #3: [120, 73] from Operation: 5+68=73 Current State: 47:[120, 73], Operations: ['34+86=120', '5+68=73'] Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[34, 86, 5, 68], Operations: [] Exploring Operation: 34+5=39, Resulting Numbers: [86, 68, 39] Generated Node #0,0: 47:[86, 68, 39] Operation: 34+5=39 Exploring Operation: 86-34=52, Resulting Numbers: [5, 68, 52] Generated Node #0,1: 47:[5, 68, 52] Operation: 86-34=52 Exploring Operation: 86-5=81, Resulting Numbers: [34, 68, 81] Generated Node #0,2: 47:[34, 68, 81] Operation: 86-5=81 Moving to Node #0,0 Current State: 47:[86, 68, 39], Operations: ['34+5=39'] Exploring Operation: 86-39=47, Resulting Numbers: [68, 47] Generated Node #0,0,0: 47:[68, 47] Operation: 86-39=47 Exploring Operation: 68-39=29, Resulting Numbers: [86, 29] Generated Node #0,0,1: 47:[86, 29] Operation: 68-39=29 Exploring Operation: 86-68=18, Resulting Numbers: [39, 18] Generated Node #0,0,2: 47:[39, 18] Operation: 86-68=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[68, 47], Operations: ['34+5=39', '86-39=47'] Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 68*47=3196, Resulting Numbers: [3196] 3196,47 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[39, 18], Operations: ['34+5=39', '86-68=18'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,47 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,47 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[86, 29], Operations: ['34+5=39', '68-39=29'] Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,47 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,47 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: 47:[5, 68, 52], Operations: ['86-34=52'] Exploring Operation: 5+68=73, Resulting Numbers: [52, 73] Generated Node #0,1,0: 47:[52, 73] Operation: 5+68=73 Exploring Operation: 52-5=47, Resulting Numbers: [68, 47] Generated Node #0,1,1: 47:[68, 47] Operation: 52-5=47 Exploring Operation: 68-5=63, Resulting Numbers: [52, 63] Generated Node #0,1,2: 47:[52, 63] Operation: 68-5=63 Moving to Node #0,2 Current State: 47:[34, 68, 81], Operations: ['86-5=81'] Exploring Operation: 81-34=47, Resulting Numbers: [68, 47] Generated Node #0,2,0: 47:[68, 47] Operation: 81-34=47 Exploring Operation: 81-68=13, Resulting Numbers: [34, 13] Generated Node #0,2,1: 47:[34, 13] Operation: 81-68=13 Exploring Operation: 68-34=34, Resulting Numbers: [81, 34] Generated Node #0,2,2: 47:[81, 34] Operation: 68-34=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[68, 47], Operations: ['86-5=81', '81-34=47'] Exploring Operation: 68+47=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 68*47=3196, Resulting Numbers: [3196] 3196,47 unequal: No Solution Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[34, 13], Operations: ['86-5=81', '81-68=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[34, 86, 5, 68], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [34, 68, 81] Generated Node #0,2: 47:[34, 68, 81] Operation: 86-5=81 Moving to Node #0,2 Current State: 47:[34, 68, 81], Operations: ['86-5=81'] Exploring Operation: 81-68=13, Resulting Numbers: [34, 13] Generated Node #0,2,1: 47:[34, 13] Operation: 81-68=13 Moving to Node #0,2,1 Current State: 47:[34, 13], Operations: ['86-5=81', '81-68=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 21, 61, 66, 65 ]
40
[ "61-21=40", "66-65=1", "40*1=40" ]
Current State: 40:[21, 61, 66, 65], Operations: [] Exploring Operation: 61-21=40, Resulting Numbers: [66, 65, 40] Generated Node #2: [66, 65, 40] from Operation: 61-21=40 Current State: 40:[66, 65, 40], Operations: ['61-21=40'] Exploring Operation: 66-65=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 66-65=1 Current State: 40:[40, 1], Operations: ['61-21=40', '66-65=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[21, 61, 66, 65], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [21, 65, 5] Generated Node #0,0: 40:[21, 65, 5] Operation: 66-61=5 Exploring Operation: 66-65=1, Resulting Numbers: [21, 61, 1] Generated Node #0,1: 40:[21, 61, 1] Operation: 66-65=1 Moving to Node #0,1 Current State: 40:[21, 61, 1], Operations: ['66-65=1'] Exploring Operation: 61-21=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 40:[1, 40] Operation: 61-21=40 Exploring Operation: 21-1=20, Resulting Numbers: [61, 20] Generated Node #0,1,1: 40:[61, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[1, 40], Operations: ['66-65=1', '61-21=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[21, 61, 66, 65], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [21, 61, 1] Generated Node #0,1: 40:[21, 61, 1] Operation: 66-65=1 Moving to Node #0,1 Current State: 40:[21, 61, 1], Operations: ['66-65=1'] Exploring Operation: 61-21=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 40:[1, 40] Operation: 61-21=40 Moving to Node #0,1,0 Current State: 40:[1, 40], Operations: ['66-65=1', '61-21=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 68, 6, 72, 93 ]
48
[ "68-6=62", "72*62=4464", "4464/93=48" ]
Current State: 48:[68, 6, 72, 93], Operations: [] Exploring Operation: 68-6=62, Resulting Numbers: [72, 93, 62] Generated Node #2: [72, 93, 62] from Operation: 68-6=62 Current State: 48:[72, 93, 62], Operations: ['68-6=62'] Exploring Operation: 72*62=4464, Resulting Numbers: [93, 4464] Generated Node #3: [93, 4464] from Operation: 72*62=4464 Current State: 48:[93, 4464], Operations: ['68-6=62', '72*62=4464'] Exploring Operation: 4464/93=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[68, 6, 72, 93], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [68, 93, 12] Generated Node #0,0: 48:[68, 93, 12] Operation: 72/6=12 Exploring Operation: 72-68=4, Resulting Numbers: [6, 93, 4] Generated Node #0,1: 48:[6, 93, 4] Operation: 72-68=4 Exploring Operation: 93-68=25, Resulting Numbers: [6, 72, 25] Generated Node #0,2: 48:[6, 72, 25] Operation: 93-68=25 Exploring Operation: 93-72=21, Resulting Numbers: [68, 6, 21] Generated Node #0,3: 48:[68, 6, 21] Operation: 93-72=21 Moving to Node #0,3 Current State: 48:[68, 6, 21], Operations: ['93-72=21'] Exploring Operation: 68-6=62, Resulting Numbers: [21, 62] Generated Node #0,3,0: 48:[21, 62] Operation: 68-6=62 Exploring Operation: 68-21=47, Resulting Numbers: [6, 47] Generated Node #0,3,1: 48:[6, 47] Operation: 68-21=47 Exploring Operation: 21-6=15, Resulting Numbers: [68, 15] Generated Node #0,3,2: 48:[68, 15] Operation: 21-6=15 Exploring Operation: 6+21=27, Resulting Numbers: [68, 27] Generated Node #0,3,3: 48:[68, 27] Operation: 6+21=27 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[6, 47], Operations: ['93-72=21', '68-21=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,48 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[21, 62], Operations: ['93-72=21', '68-6=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[68, 15], Operations: ['93-72=21', '21-6=15'] Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,48 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[68, 27], Operations: ['93-72=21', '6+21=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 48:[6, 72, 25], Operations: ['93-68=25'] Exploring Operation: 72/6=12, Resulting Numbers: [25, 12] Generated Node #0,2,0: 48:[25, 12] Operation: 72/6=12 Exploring Operation: 72-25=47, Resulting Numbers: [6, 47] Generated Node #0,2,1: 48:[6, 47] Operation: 72-25=47 Exploring Operation: 72-6=66, Resulting Numbers: [25, 66] Generated Node #0,2,2: 48:[25, 66] Operation: 72-6=66 Exploring Operation: 25-6=19, Resulting Numbers: [72, 19] Generated Node #0,2,3: 48:[72, 19] Operation: 25-6=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[25, 12], Operations: ['93-68=25', '72/6=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[6, 47], Operations: ['93-68=25', '72-25=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,48 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[25, 66], Operations: ['93-68=25', '72-6=66'] Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 25*66=1650, Resulting Numbers: [1650] 1650,48 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[72, 19], Operations: ['93-68=25', '25-6=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,48 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: 48:[6, 93, 4], Operations: ['72-68=4'] Exploring Operation: 6*4=24, Resulting Numbers: [93, 24] Generated Node #0,1,0: 48:[93, 24] Operation: 6*4=24 Exploring Operation: 93-4=89, Resulting Numbers: [6, 89] Generated Node #0,1,1: 48:[6, 89] Operation: 93-4=89 Exploring Operation: 6-4=2, Resulting Numbers: [93, 2] Generated Node #0,1,2: 48:[93, 2] Operation: 6-4=2 Exploring Operation: 93-6=87, Resulting Numbers: [4, 87] Generated Node #0,1,3: 48:[4, 87] Operation: 93-6=87 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[4, 87], Operations: ['72-68=4', '93-6=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[6, 89], Operations: ['72-68=4', '93-4=89'] Exploring Operation: 6+89=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 6*89=534, Resulting Numbers: [534] 534,48 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[93, 24], Operations: ['72-68=4', '6*4=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,48 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[93, 2], Operations: ['72-68=4', '6-4=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,48 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,48 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: 48:[68, 93, 12], Operations: ['72/6=12'] Exploring Operation: 93-68=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 48:[12, 25] Operation: 93-68=25 Exploring Operation: 93-12=81, Resulting Numbers: [68, 81] Generated Node #0,0,1: 48:[68, 81] Operation: 93-12=81 Exploring Operation: 68+12=80, Resulting Numbers: [93, 80] Generated Node #0,0,2: 48:[93, 80] Operation: 68+12=80 Exploring Operation: 68-12=56, Resulting Numbers: [93, 56] Generated Node #0,0,3: 48:[93, 56] Operation: 68-12=56 Moving to Node #0,0,0 Current State: 48:[12, 25], Operations: ['72/6=12', '93-68=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,48 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[93, 56], Operations: ['72/6=12', '68-12=56'] Exploring Operation: 93*56=5208, Resulting Numbers: [5208] 5208,48 unequal: No Solution Exploring Operation: 93+56=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 93-56=37, Resulting Numbers: [37] 37,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[68, 81], Operations: ['72/6=12', '93-12=81'] Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,48 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[93, 80], Operations: ['72/6=12', '68+12=80'] Exploring Operation: 93+80=173, Resulting Numbers: [173] 173,48 unequal: No Solution Exploring Operation: 93*80=7440, Resulting Numbers: [7440] 7440,48 unequal: No Solution Exploring Operation: 93-80=13, Resulting Numbers: [13] 13,48 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 66, 26, 5, 9 ]
59
[ "26+9=35", "35/5=7", "66-7=59" ]
Current State: 59:[66, 26, 5, 9], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [66, 5, 35] Generated Node #2: [66, 5, 35] from Operation: 26+9=35 Current State: 59:[66, 5, 35], Operations: ['26+9=35'] Exploring Operation: 35/5=7, Resulting Numbers: [66, 7] Generated Node #3: [66, 7] from Operation: 35/5=7 Current State: 59:[66, 7], Operations: ['26+9=35', '35/5=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[66, 26, 5, 9], Operations: [] Exploring Operation: 66-5=61, Resulting Numbers: [26, 9, 61] Generated Node #0,0: 59:[26, 9, 61] Operation: 66-5=61 Exploring Operation: 5*9=45, Resulting Numbers: [66, 26, 45] Generated Node #0,1: 59:[66, 26, 45] Operation: 5*9=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[66, 26, 45], Operations: ['5*9=45'] Exploring Operation: 66-26=40, Resulting Numbers: [45, 40] Generated Node #0,1,0: 59:[45, 40] Operation: 66-26=40 Exploring Operation: 26+45=71, Resulting Numbers: [66, 71] Generated Node #0,1,1: 59:[66, 71] Operation: 26+45=71 Moving to Node #0,1,1 Current State: 59:[66, 71], Operations: ['5*9=45', '26+45=71'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[45, 40], Operations: ['5*9=45', '66-26=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[26, 9, 61], Operations: ['66-5=61'] Exploring Operation: 61-9=52, Resulting Numbers: [26, 52] Generated Node #0,0,0: 59:[26, 52] Operation: 61-9=52 Exploring Operation: 26+9=35, Resulting Numbers: [61, 35] Generated Node #0,0,1: 59:[61, 35] Operation: 26+9=35 Moving to Node #0,0,1 Current State: 59:[61, 35], Operations: ['66-5=61', '26+9=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[26, 52], Operations: ['66-5=61', '61-9=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 33, 27, 54, 40 ]
13
[ "54/27=2", "40/2=20", "33-20=13" ]
Current State: 13:[33, 27, 54, 40], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [33, 40, 2] Generated Node #2: [33, 40, 2] from Operation: 54/27=2 Current State: 13:[33, 40, 2], Operations: ['54/27=2'] Exploring Operation: 40/2=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 40/2=20 Current State: 13:[33, 20], Operations: ['54/27=2', '40/2=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[33, 27, 54, 40], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [33, 27, 14] Generated Node #0,0: 13:[33, 27, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[33, 27, 14], Operations: ['54-40=14'] Exploring Operation: 33-27=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 13:[14, 6] Operation: 33-27=6 Moving to Node #0,0,0 Current State: 13:[14, 6], Operations: ['54-40=14', '33-27=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,13 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
[ 14, 19, 57, 53 ]
77
[ "14+19=33", "57+53=110", "110-33=77" ]
Current State: 77:[14, 19, 57, 53], Operations: [] Exploring Operation: 14+19=33, Resulting Numbers: [57, 53, 33] Generated Node #2: [57, 53, 33] from Operation: 14+19=33 Current State: 77:[57, 53, 33], Operations: ['14+19=33'] Exploring Operation: 57+53=110, Resulting Numbers: [33, 110] Generated Node #3: [33, 110] from Operation: 57+53=110 Current State: 77:[33, 110], Operations: ['14+19=33', '57+53=110'] Exploring Operation: 110-33=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[14, 19, 57, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [14, 19, 4] Generated Node #0,0: 77:[14, 19, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 77:[14, 19, 4], Operations: ['57-53=4'] Exploring Operation: 19*4=76, Resulting Numbers: [14, 76] Generated Node #0,0,0: 77:[14, 76] Operation: 19*4=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[14, 76], Operations: ['57-53=4', '19*4=76'] Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,77 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