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
[ 7, 74, 17, 75 ]
24
[ "7+17=24", "75-74=1", "24*1=24" ]
Current State: 24:[7, 74, 17, 75], Operations: [] Exploring Operation: 7+17=24, Resulting Numbers: [74, 75, 24] Generated Node #2: [74, 75, 24] from Operation: 7+17=24 Current State: 24:[74, 75, 24], Operations: ['7+17=24'] Exploring Operation: 75-74=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 75-74=1 Current State: 24:[24, 1], Operations: ['7+17=24', '75-74=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[7, 74, 17, 75], Operations: [] Exploring Operation: 75-17=58, Resulting Numbers: [7, 74, 58] Generated Node #0,0: 24:[7, 74, 58] Operation: 75-17=58 Exploring Operation: 74-7=67, Resulting Numbers: [17, 75, 67] Generated Node #0,1: 24:[17, 75, 67] Operation: 74-7=67 Exploring Operation: 75-7=68, Resulting Numbers: [74, 17, 68] Generated Node #0,2: 24:[74, 17, 68] Operation: 75-7=68 Exploring Operation: 75-74=1, Resulting Numbers: [7, 17, 1] Generated Node #0,3: 24:[7, 17, 1] Operation: 75-74=1 Exploring Operation: 74-17=57, Resulting Numbers: [7, 75, 57] Generated Node #0,4: 24:[7, 75, 57] Operation: 74-17=57 Moving to Node #0,3 Current State: 24:[7, 17, 1], Operations: ['75-74=1'] Exploring Operation: 7+1=8, Resulting Numbers: [17, 8] Generated Node #0,3,0: 24:[17, 8] Operation: 7+1=8 Exploring Operation: 7-1=6, Resulting Numbers: [17, 6] Generated Node #0,3,1: 24:[17, 6] Operation: 7-1=6 Exploring Operation: 7+17=24, Resulting Numbers: [1, 24] Generated Node #0,3,2: 24:[1, 24] Operation: 7+17=24 Exploring Operation: 17-1=16, Resulting Numbers: [7, 16] Generated Node #0,3,3: 24:[7, 16] Operation: 17-1=16 Exploring Operation: 17-7=10, Resulting Numbers: [1, 10] Generated Node #0,3,4: 24:[1, 10] Operation: 17-7=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[1, 24], Operations: ['75-74=1', '7+17=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[7, 74, 17, 75], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [7, 17, 1] Generated Node #0,3: 24:[7, 17, 1] Operation: 75-74=1 Moving to Node #0,3 Current State: 24:[7, 17, 1], Operations: ['75-74=1'] Exploring Operation: 7+17=24, Resulting Numbers: [1, 24] Generated Node #0,3,2: 24:[1, 24] Operation: 7+17=24 Moving to Node #0,3,2 Current State: 24:[1, 24], Operations: ['75-74=1', '7+17=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 81, 74, 10, 13 ]
21
[ "81-74=7", "13-10=3", "7*3=21" ]
Current State: 21:[81, 74, 10, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [10, 13, 7] Generated Node #2: [10, 13, 7] from Operation: 81-74=7 Current State: 21:[10, 13, 7], Operations: ['81-74=7'] Exploring Operation: 13-10=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 13-10=3 Current State: 21:[7, 3], Operations: ['81-74=7', '13-10=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[81, 74, 10, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [10, 13, 7] Generated Node #0,0: 21:[10, 13, 7] Operation: 81-74=7 Exploring Operation: 81-13=68, Resulting Numbers: [74, 10, 68] Generated Node #0,1: 21:[74, 10, 68] Operation: 81-13=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[10, 13, 7], Operations: ['81-74=7'] Exploring Operation: 10+13=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 21:[7, 23] Operation: 10+13=23 Exploring Operation: 13-10=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 21:[7, 3] Operation: 13-10=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[7, 3], Operations: ['81-74=7', '13-10=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[81, 74, 10, 13], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [10, 13, 7] Generated Node #0,0: 21:[10, 13, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 21:[10, 13, 7], Operations: ['81-74=7'] Exploring Operation: 13-10=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 21:[7, 3] Operation: 13-10=3 Moving to Node #0,0,1 Current State: 21:[7, 3], Operations: ['81-74=7', '13-10=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 79, 65, 14, 31 ]
59
[ "79-65=14", "14+31=45", "14+45=59" ]
Current State: 59:[79, 65, 14, 31], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [14, 31, 14] Generated Node #2: [14, 31, 14] from Operation: 79-65=14 Current State: 59:[14, 31, 14], Operations: ['79-65=14'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,59 equal: Goal Reached Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[79, 65, 14, 31], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [65, 31, 65] Generated Node #0,0: 59:[65, 31, 65] Operation: 79-14=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[65, 31, 65], Operations: ['79-14=65'] Exploring Operation: 65-31=34, Resulting Numbers: [65, 34] Generated Node #0,0,0: 59:[65, 34] Operation: 65-31=34 Moving to Node #0,0,0 Current State: 59:[65, 34], Operations: ['79-14=65', '65-31=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,59 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
[ 16, 9, 79, 37 ]
30
[ "79-16=63", "63/9=7", "37-7=30" ]
Current State: 30:[16, 9, 79, 37], Operations: [] Exploring Operation: 79-16=63, Resulting Numbers: [9, 37, 63] Generated Node #2: [9, 37, 63] from Operation: 79-16=63 Current State: 30:[9, 37, 63], Operations: ['79-16=63'] Exploring Operation: 63/9=7, Resulting Numbers: [37, 7] Generated Node #3: [37, 7] from Operation: 63/9=7 Current State: 30:[37, 7], Operations: ['79-16=63', '63/9=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[16, 9, 79, 37], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [16, 79, 28] Generated Node #0,0: 30:[16, 79, 28] Operation: 37-9=28 Exploring Operation: 37-16=21, Resulting Numbers: [9, 79, 21] Generated Node #0,1: 30:[9, 79, 21] Operation: 37-16=21 Exploring Operation: 79-37=42, Resulting Numbers: [16, 9, 42] Generated Node #0,2: 30:[16, 9, 42] Operation: 79-37=42 Exploring Operation: 79-16=63, Resulting Numbers: [9, 37, 63] Generated Node #0,3: 30:[9, 37, 63] Operation: 79-16=63 Exploring Operation: 79-9=70, Resulting Numbers: [16, 37, 70] Generated Node #0,4: 30:[16, 37, 70] Operation: 79-9=70 Moving to Node #0,2 Current State: 30:[16, 9, 42], Operations: ['79-37=42'] Exploring Operation: 9+42=51, Resulting Numbers: [16, 51] Generated Node #0,2,0: 30:[16, 51] Operation: 9+42=51 Exploring Operation: 16+9=25, Resulting Numbers: [42, 25] Generated Node #0,2,1: 30:[42, 25] Operation: 16+9=25 Exploring Operation: 42-9=33, Resulting Numbers: [16, 33] Generated Node #0,2,2: 30:[16, 33] Operation: 42-9=33 Exploring Operation: 16-9=7, Resulting Numbers: [42, 7] Generated Node #0,2,3: 30:[42, 7] Operation: 16-9=7 Exploring Operation: 42-16=26, Resulting Numbers: [9, 26] Generated Node #0,2,4: 30:[9, 26] Operation: 42-16=26 Moving to Node #0,3 Current State: 30:[9, 37, 63], Operations: ['79-16=63'] Exploring Operation: 9+37=46, Resulting Numbers: [63, 46] Generated Node #0,3,0: 30:[63, 46] Operation: 9+37=46 Exploring Operation: 63-9=54, Resulting Numbers: [37, 54] Generated Node #0,3,1: 30:[37, 54] Operation: 63-9=54 Exploring Operation: 37-9=28, Resulting Numbers: [63, 28] Generated Node #0,3,2: 30:[63, 28] Operation: 37-9=28 Exploring Operation: 63/9=7, Resulting Numbers: [37, 7] Generated Node #0,3,3: 30:[37, 7] Operation: 63/9=7 Exploring Operation: 63-37=26, Resulting Numbers: [9, 26] Generated Node #0,3,4: 30:[9, 26] Operation: 63-37=26 Moving to Node #0,4 Current State: 30:[16, 37, 70], Operations: ['79-9=70'] Exploring Operation: 16+37=53, Resulting Numbers: [70, 53] Generated Node #0,4,0: 30:[70, 53] Operation: 16+37=53 Exploring Operation: 70-37=33, Resulting Numbers: [16, 33] Generated Node #0,4,1: 30:[16, 33] Operation: 70-37=33 Exploring Operation: 16+70=86, Resulting Numbers: [37, 86] Generated Node #0,4,2: 30:[37, 86] Operation: 16+70=86 Exploring Operation: 70-16=54, Resulting Numbers: [37, 54] Generated Node #0,4,3: 30:[37, 54] Operation: 70-16=54 Exploring Operation: 37-16=21, Resulting Numbers: [70, 21] Generated Node #0,4,4: 30:[70, 21] Operation: 37-16=21 Moving to Node #0,0 Current State: 30:[16, 79, 28], Operations: ['37-9=28'] Exploring Operation: 28-16=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 30:[79, 12] Operation: 28-16=12 Exploring Operation: 79-28=51, Resulting Numbers: [16, 51] Generated Node #0,0,1: 30:[16, 51] Operation: 79-28=51 Exploring Operation: 79-16=63, Resulting Numbers: [28, 63] Generated Node #0,0,2: 30:[28, 63] Operation: 79-16=63 Exploring Operation: 16+28=44, Resulting Numbers: [79, 44] Generated Node #0,0,3: 30:[79, 44] Operation: 16+28=44 Exploring Operation: 16+79=95, Resulting Numbers: [28, 95] Generated Node #0,0,4: 30:[28, 95] Operation: 16+79=95 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[16, 51], Operations: ['37-9=28', '79-28=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,30 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[28, 63], Operations: ['37-9=28', '79-16=63'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[79, 12], Operations: ['37-9=28', '28-16=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,30 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,30 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[79, 44], Operations: ['37-9=28', '16+28=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,30 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[28, 95], Operations: ['37-9=28', '16+79=95'] Exploring Operation: 28+95=123, Resulting Numbers: [123] 123,30 unequal: No Solution Exploring Operation: 28*95=2660, Resulting Numbers: [2660] 2660,30 unequal: No Solution Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,30 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: 30:[9, 79, 21], Operations: ['37-16=21'] Exploring Operation: 79-21=58, Resulting Numbers: [9, 58] Generated Node #0,1,0: 30:[9, 58] Operation: 79-21=58 Exploring Operation: 79-9=70, Resulting Numbers: [21, 70] Generated Node #0,1,1: 30:[21, 70] Operation: 79-9=70 Exploring Operation: 21-9=12, Resulting Numbers: [79, 12] Generated Node #0,1,2: 30:[79, 12] Operation: 21-9=12 Exploring Operation: 9+79=88, Resulting Numbers: [21, 88] Generated Node #0,1,3: 30:[21, 88] Operation: 9+79=88 Exploring Operation: 9+21=30, Resulting Numbers: [79, 30] Generated Node #0,1,4: 30:[79, 30] Operation: 9+21=30 Moving to Node #0,2,2 Current State: 30:[16, 33], Operations: ['79-37=42', '42-9=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,30 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[16, 33], Operations: ['79-9=70', '70-37=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,30 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[9, 26], Operations: ['79-16=63', '63-37=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,30 unequal: No Solution Moving to Node #0,2,4 Current State: 30:[9, 26], Operations: ['79-37=42', '42-16=26'] Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,30 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[37, 7], Operations: ['79-16=63', '63/9=7'] Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[16, 9, 79, 37], Operations: [] Exploring Operation: 79-16=63, Resulting Numbers: [9, 37, 63] Generated Node #0,3: 30:[9, 37, 63] Operation: 79-16=63 Moving to Node #0,3 Current State: 30:[9, 37, 63], Operations: ['79-16=63'] Exploring Operation: 63/9=7, Resulting Numbers: [37, 7] Generated Node #0,3,3: 30:[37, 7] Operation: 63/9=7 Moving to Node #0,3,3 Current State: 30:[37, 7], Operations: ['79-16=63', '63/9=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.945313
hs_5
sum_heuristic
[ 60, 19, 72, 17 ]
84
[ "60*19=1140", "72*17=1224", "1224-1140=84" ]
Current State: 84:[60, 19, 72, 17], Operations: [] Exploring Operation: 60*19=1140, Resulting Numbers: [72, 17, 1140] Generated Node #2: [72, 17, 1140] from Operation: 60*19=1140 Current State: 84:[72, 17, 1140], Operations: ['60*19=1140'] Exploring Operation: 72*17=1224, Resulting Numbers: [1140, 1224] Generated Node #3: [1140, 1224] from Operation: 72*17=1224 Current State: 84:[1140, 1224], Operations: ['60*19=1140', '72*17=1224'] Exploring Operation: 1224-1140=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[60, 19, 72, 17], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [19, 17, 12] Generated Node #0,0: 84:[19, 17, 12] Operation: 72-60=12 Moving to Node #0,0 Current State: 84:[19, 17, 12], Operations: ['72-60=12'] Exploring Operation: 19-17=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 84:[12, 2] Operation: 19-17=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[12, 2], Operations: ['72-60=12', '19-17=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 66, 88, 14 ]
59
[ "88*14=1232", "66+1232=1298", "1298/22=59" ]
Current State: 59:[22, 66, 88, 14], Operations: [] Exploring Operation: 88*14=1232, Resulting Numbers: [22, 66, 1232] Generated Node #2: [22, 66, 1232] from Operation: 88*14=1232 Current State: 59:[22, 66, 1232], Operations: ['88*14=1232'] Exploring Operation: 66+1232=1298, Resulting Numbers: [22, 1298] Generated Node #3: [22, 1298] from Operation: 66+1232=1298 Current State: 59:[22, 1298], Operations: ['88*14=1232', '66+1232=1298'] Exploring Operation: 1298/22=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[22, 66, 88, 14], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [22, 88, 52] Generated Node #0,0: 59:[22, 88, 52] Operation: 66-14=52 Exploring Operation: 88-22=66, Resulting Numbers: [66, 14, 66] Generated Node #0,1: 59:[66, 14, 66] Operation: 88-22=66 Exploring Operation: 88-14=74, Resulting Numbers: [22, 66, 74] Generated Node #0,2: 59:[22, 66, 74] Operation: 88-14=74 Exploring Operation: 22+14=36, Resulting Numbers: [66, 88, 36] Generated Node #0,3: 59:[66, 88, 36] Operation: 22+14=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[66, 14, 66], Operations: ['88-22=66'] Exploring Operation: 14+66=80, Resulting Numbers: [66, 80] Generated Node #0,1,0: 59:[66, 80] Operation: 14+66=80 Exploring Operation: 66-14=52, Resulting Numbers: [66, 52] Generated Node #0,1,1: 59:[66, 52] Operation: 66-14=52 Exploring Operation: 66+14=80, Resulting Numbers: [66, 80] Generated Node #0,1,2: 59:[66, 80] Operation: 66+14=80 Exploring Operation: 66-14=52, Resulting Numbers: [66, 52] Generated Node #0,1,3: 59:[66, 52] Operation: 66-14=52 Moving to Node #0,1,1 Current State: 59:[66, 52], Operations: ['88-22=66', '66-14=52'] Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[66, 52], Operations: ['88-22=66', '66-14=52'] Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[66, 80], Operations: ['88-22=66', '66+14=80'] Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,59 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[66, 80], Operations: ['88-22=66', '14+66=80'] Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,59 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,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,2 Current State: 59:[22, 66, 74], Operations: ['88-14=74'] Exploring Operation: 66-22=44, Resulting Numbers: [74, 44] Generated Node #0,2,0: 59:[74, 44] Operation: 66-22=44 Exploring Operation: 22+74=96, Resulting Numbers: [66, 96] Generated Node #0,2,1: 59:[66, 96] Operation: 22+74=96 Exploring Operation: 22+66=88, Resulting Numbers: [74, 88] Generated Node #0,2,2: 59:[74, 88] Operation: 22+66=88 Exploring Operation: 74-22=52, Resulting Numbers: [66, 52] Generated Node #0,2,3: 59:[66, 52] Operation: 74-22=52 Moving to Node #0,2,3 Current State: 59:[66, 52], Operations: ['88-14=74', '74-22=52'] Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[74, 44], Operations: ['88-14=74', '66-22=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[74, 88], Operations: ['88-14=74', '22+66=88'] Exploring Operation: 74+88=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 74*88=6512, Resulting Numbers: [6512] 6512,59 unequal: No Solution Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[66, 96], Operations: ['88-14=74', '22+74=96'] Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[66, 88, 36], Operations: ['22+14=36'] Exploring Operation: 88-36=52, Resulting Numbers: [66, 52] Generated Node #0,3,0: 59:[66, 52] Operation: 88-36=52 Exploring Operation: 66-36=30, Resulting Numbers: [88, 30] Generated Node #0,3,1: 59:[88, 30] Operation: 66-36=30 Exploring Operation: 88-66=22, Resulting Numbers: [36, 22] Generated Node #0,3,2: 59:[36, 22] Operation: 88-66=22 Exploring Operation: 66+36=102, Resulting Numbers: [88, 102] Generated Node #0,3,3: 59:[88, 102] Operation: 66+36=102 Moving to Node #0,3,0 Current State: 59:[66, 52], Operations: ['22+14=36', '88-36=52'] Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[88, 30], Operations: ['22+14=36', '66-36=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,59 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[36, 22], Operations: ['22+14=36', '88-66=22'] Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,59 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[88, 102], Operations: ['22+14=36', '66+36=102'] Exploring Operation: 88*102=8976, Resulting Numbers: [8976] 8976,59 unequal: No Solution Exploring Operation: 102-88=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 88+102=190, Resulting Numbers: [190] 190,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:[22, 88, 52], Operations: ['66-14=52'] Exploring Operation: 22+88=110, Resulting Numbers: [52, 110] Generated Node #0,0,0: 59:[52, 110] Operation: 22+88=110 Exploring Operation: 52-22=30, Resulting Numbers: [88, 30] Generated Node #0,0,1: 59:[88, 30] Operation: 52-22=30 Exploring Operation: 88-22=66, Resulting Numbers: [52, 66] Generated Node #0,0,2: 59:[52, 66] Operation: 88-22=66 Exploring Operation: 22+52=74, Resulting Numbers: [88, 74] Generated Node #0,0,3: 59:[88, 74] Operation: 22+52=74 Moving to Node #0,0,2 Current State: 59:[52, 66], Operations: ['66-14=52', '88-22=66'] Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[88, 74], Operations: ['66-14=52', '22+52=74'] Exploring Operation: 88+74=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 88*74=6512, Resulting Numbers: [6512] 6512,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[88, 30], Operations: ['66-14=52', '52-22=30'] Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[52, 110], Operations: ['66-14=52', '22+88=110'] Exploring Operation: 52+110=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 52*110=5720, Resulting Numbers: [5720] 5720,59 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
[ 70, 55, 81, 77 ]
82
[ "81-70=11", "55/11=5", "77+5=82" ]
Current State: 82:[70, 55, 81, 77], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [55, 77, 11] Generated Node #2: [55, 77, 11] from Operation: 81-70=11 Current State: 82:[55, 77, 11], Operations: ['81-70=11'] Exploring Operation: 55/11=5, Resulting Numbers: [77, 5] Generated Node #3: [77, 5] from Operation: 55/11=5 Current State: 82:[77, 5], Operations: ['81-70=11', '55/11=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[70, 55, 81, 77], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [81, 77, 15] Generated Node #0,0: 82:[81, 77, 15] Operation: 70-55=15 Moving to Node #0,0 Current State: 82:[81, 77, 15], Operations: ['70-55=15'] Exploring Operation: 77+15=92, Resulting Numbers: [81, 92] Generated Node #0,0,0: 82:[81, 92] Operation: 77+15=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[81, 92], Operations: ['70-55=15', '77+15=92'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,82 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
[ 14, 4, 81, 16 ]
100
[ "14*16=224", "4*81=324", "324-224=100" ]
Current State: 100:[14, 4, 81, 16], Operations: [] Exploring Operation: 14*16=224, Resulting Numbers: [4, 81, 224] Generated Node #2: [4, 81, 224] from Operation: 14*16=224 Current State: 100:[4, 81, 224], Operations: ['14*16=224'] Exploring Operation: 4*81=324, Resulting Numbers: [224, 324] Generated Node #3: [224, 324] from Operation: 4*81=324 Current State: 100:[224, 324], Operations: ['14*16=224', '4*81=324'] Exploring Operation: 324-224=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[14, 4, 81, 16], Operations: [] Exploring Operation: 81+16=97, Resulting Numbers: [14, 4, 97] Generated Node #0,0: 100:[14, 4, 97] Operation: 81+16=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[14, 4, 97], Operations: ['81+16=97'] Exploring Operation: 14-4=10, Resulting Numbers: [97, 10] Generated Node #0,0,0: 100:[97, 10] Operation: 14-4=10 Moving to Node #0,0,0 Current State: 100:[97, 10], Operations: ['81+16=97', '14-4=10'] Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 58, 56, 46, 86 ]
74
[ "58+56=114", "86-46=40", "114-40=74" ]
Current State: 74:[58, 56, 46, 86], Operations: [] Exploring Operation: 58+56=114, Resulting Numbers: [46, 86, 114] Generated Node #2: [46, 86, 114] from Operation: 58+56=114 Current State: 74:[46, 86, 114], Operations: ['58+56=114'] Exploring Operation: 86-46=40, Resulting Numbers: [114, 40] Generated Node #3: [114, 40] from Operation: 86-46=40 Current State: 74:[114, 40], Operations: ['58+56=114', '86-46=40'] Exploring Operation: 114-40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[58, 56, 46, 86], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [46, 86, 2] Generated Node #0,0: 74:[46, 86, 2] Operation: 58-56=2 Moving to Node #0,0 Current State: 74:[46, 86, 2], Operations: ['58-56=2'] Exploring Operation: 86-46=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 74:[2, 40] Operation: 86-46=40 Moving to Node #0,0,0 Current State: 74:[2, 40], Operations: ['58-56=2', '86-46=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,74 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 95, 80, 20, 5 ]
16
[ "95+5=100", "80*20=1600", "1600/100=16" ]
Current State: 16:[95, 80, 20, 5], Operations: [] Exploring Operation: 95+5=100, Resulting Numbers: [80, 20, 100] Generated Node #2: [80, 20, 100] from Operation: 95+5=100 Current State: 16:[80, 20, 100], Operations: ['95+5=100'] Exploring Operation: 80*20=1600, Resulting Numbers: [100, 1600] Generated Node #3: [100, 1600] from Operation: 80*20=1600 Current State: 16:[100, 1600], Operations: ['95+5=100', '80*20=1600'] Exploring Operation: 1600/100=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[95, 80, 20, 5], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [95, 5, 4] Generated Node #0,0: 16:[95, 5, 4] Operation: 80/20=4 Exploring Operation: 95/5=19, Resulting Numbers: [80, 20, 19] Generated Node #0,1: 16:[80, 20, 19] Operation: 95/5=19 Exploring Operation: 95-80=15, Resulting Numbers: [20, 5, 15] Generated Node #0,2: 16:[20, 5, 15] Operation: 95-80=15 Exploring Operation: 95-20=75, Resulting Numbers: [80, 5, 75] Generated Node #0,3: 16:[80, 5, 75] Operation: 95-20=75 Exploring Operation: 80/5=16, Resulting Numbers: [95, 20, 16] Generated Node #0,4: 16:[95, 20, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[20, 5, 15], Operations: ['95-80=15'] Exploring Operation: 15/5=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 16:[20, 3] Operation: 15/5=3 Exploring Operation: 20-15=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 16:[5, 5] Operation: 20-15=5 Exploring Operation: 20-5=15, Resulting Numbers: [15, 15] Generated Node #0,2,2: 16:[15, 15] Operation: 20-5=15 Exploring Operation: 15-5=10, Resulting Numbers: [20, 10] Generated Node #0,2,3: 16:[20, 10] Operation: 15-5=10 Exploring Operation: 20/5=4, Resulting Numbers: [15, 4] Generated Node #0,2,4: 16:[15, 4] Operation: 20/5=4 Moving to Node #0,2,4 Current State: 16:[15, 4], Operations: ['95-80=15', '20/5=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[15, 15], Operations: ['95-80=15', '20-5=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[5, 5], Operations: ['95-80=15', '20-15=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[20, 3], Operations: ['95-80=15', '15/5=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[20, 10], Operations: ['95-80=15', '15-5=10'] Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[80, 20, 19], Operations: ['95/5=19'] Exploring Operation: 80-20=60, Resulting Numbers: [19, 60] Generated Node #0,1,0: 16:[19, 60] Operation: 80-20=60 Exploring Operation: 20-19=1, Resulting Numbers: [80, 1] Generated Node #0,1,1: 16:[80, 1] Operation: 20-19=1 Exploring Operation: 80-19=61, Resulting Numbers: [20, 61] Generated Node #0,1,2: 16:[20, 61] Operation: 80-19=61 Exploring Operation: 80+20=100, Resulting Numbers: [19, 100] Generated Node #0,1,3: 16:[19, 100] Operation: 80+20=100 Exploring Operation: 80/20=4, Resulting Numbers: [19, 4] Generated Node #0,1,4: 16:[19, 4] Operation: 80/20=4 Moving to Node #0,1,4 Current State: 16:[19, 4], Operations: ['95/5=19', '80/20=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[19, 60], Operations: ['95/5=19', '80-20=60'] Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[20, 61], Operations: ['95/5=19', '80-19=61'] Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,16 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[80, 1], Operations: ['95/5=19', '20-19=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,16 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[19, 100], Operations: ['95/5=19', '80+20=100'] Exploring Operation: 100-19=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 19+100=119, Resulting Numbers: [119] 119,16 unequal: No Solution Exploring Operation: 19*100=1900, Resulting Numbers: [1900] 1900,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[95, 5, 4], Operations: ['80/20=4'] Exploring Operation: 5+4=9, Resulting Numbers: [95, 9] Generated Node #0,0,0: 16:[95, 9] Operation: 5+4=9 Exploring Operation: 5-4=1, Resulting Numbers: [95, 1] Generated Node #0,0,1: 16:[95, 1] Operation: 5-4=1 Exploring Operation: 95-5=90, Resulting Numbers: [4, 90] Generated Node #0,0,2: 16:[4, 90] Operation: 95-5=90 Exploring Operation: 95/5=19, Resulting Numbers: [4, 19] Generated Node #0,0,3: 16:[4, 19] Operation: 95/5=19 Exploring Operation: 95-4=91, Resulting Numbers: [5, 91] Generated Node #0,0,4: 16:[5, 91] Operation: 95-4=91 Moving to Node #0,0,3 Current State: 16:[4, 19], Operations: ['80/20=4', '95/5=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[4, 90], Operations: ['80/20=4', '95-5=90'] Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,16 unequal: No Solution Moving to Node #0,0,4 Current State: 16:[5, 91], Operations: ['80/20=4', '95-4=91'] Exploring Operation: 5*91=455, Resulting Numbers: [455] 455,16 unequal: No Solution Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,16 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[95, 9], Operations: ['80/20=4', '5+4=9'] Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,16 unequal: No Solution Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,16 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[95, 1], Operations: ['80/20=4', '5-4=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[95, 20, 16], Operations: ['80/5=16'] Exploring Operation: 95+16=111, Resulting Numbers: [20, 111] Generated Node #0,4,0: 16:[20, 111] Operation: 95+16=111 Exploring Operation: 95+20=115, Resulting Numbers: [16, 115] Generated Node #0,4,1: 16:[16, 115] Operation: 95+20=115 Exploring Operation: 95-20=75, Resulting Numbers: [16, 75] Generated Node #0,4,2: 16:[16, 75] Operation: 95-20=75 Exploring Operation: 20-16=4, Resulting Numbers: [95, 4] Generated Node #0,4,3: 16:[95, 4] Operation: 20-16=4 Exploring Operation: 95-16=79, Resulting Numbers: [20, 79] Generated Node #0,4,4: 16:[20, 79] Operation: 95-16=79 Moving to Node #0,4,2 Current State: 16:[16, 75], Operations: ['80/5=16', '95-20=75'] Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,16 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[20, 79], Operations: ['80/5=16', '95-16=79'] Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,16 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[95, 4], Operations: ['80/5=16', '20-16=4'] Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,16 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,16 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[20, 111], Operations: ['80/5=16', '95+16=111'] Exploring Operation: 20+111=131, Resulting Numbers: [131] 131,16 unequal: No Solution Exploring Operation: 20*111=2220, Resulting Numbers: [2220] 2220,16 unequal: No Solution Exploring Operation: 111-20=91, Resulting Numbers: [91] 91,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[16, 115], Operations: ['80/5=16', '95+20=115'] Exploring Operation: 16*115=1840, Resulting Numbers: [1840] 1840,16 unequal: No Solution Exploring Operation: 115-16=99, Resulting Numbers: [99] 99,16 unequal: No Solution Exploring Operation: 16+115=131, Resulting Numbers: [131] 131,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[80, 5, 75], Operations: ['95-20=75'] Exploring Operation: 75-5=70, Resulting Numbers: [80, 70] Generated Node #0,3,0: 16:[80, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [80, 15] Generated Node #0,3,1: 16:[80, 15] Operation: 75/5=15 Exploring Operation: 80/5=16, Resulting Numbers: [75, 16] Generated Node #0,3,2: 16:[75, 16] Operation: 80/5=16 Exploring Operation: 80-75=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 16:[5, 5] Operation: 80-75=5 Exploring Operation: 80-5=75, Resulting Numbers: [75, 75] Generated Node #0,3,4: 16:[75, 75] Operation: 80-5=75 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[5, 5], Operations: ['95-20=75', '80-75=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[75, 16], Operations: ['95-20=75', '80/5=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,16 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,16 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[80, 15], Operations: ['95-20=75', '75/5=15'] Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 80*15=1200, Resulting Numbers: [1200] 1200,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[80, 70], Operations: ['95-20=75', '75-5=70'] Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,16 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,16 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 16:[75, 75], Operations: ['95-20=75', '80-5=75'] Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,16 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 53, 8, 15, 33 ]
79
[ "53+8=61", "33-15=18", "61+18=79" ]
Current State: 79:[53, 8, 15, 33], Operations: [] Exploring Operation: 53+8=61, Resulting Numbers: [15, 33, 61] Generated Node #2: [15, 33, 61] from Operation: 53+8=61 Current State: 79:[15, 33, 61], Operations: ['53+8=61'] Exploring Operation: 33-15=18, Resulting Numbers: [61, 18] Generated Node #3: [61, 18] from Operation: 33-15=18 Current State: 79:[61, 18], Operations: ['53+8=61', '33-15=18'] Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[53, 8, 15, 33], Operations: [] Exploring Operation: 8+15=23, Resulting Numbers: [53, 33, 23] Generated Node #0,0: 79:[53, 33, 23] Operation: 8+15=23 Exploring Operation: 53+15=68, Resulting Numbers: [8, 33, 68] Generated Node #0,1: 79:[8, 33, 68] Operation: 53+15=68 Exploring Operation: 8*15=120, Resulting Numbers: [53, 33, 120] Generated Node #0,2: 79:[53, 33, 120] Operation: 8*15=120 Exploring Operation: 53+8=61, Resulting Numbers: [15, 33, 61] Generated Node #0,3: 79:[15, 33, 61] Operation: 53+8=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[53, 33, 120], Operations: ['8*15=120'] Exploring Operation: 120-53=67, Resulting Numbers: [33, 67] Generated Node #0,2,0: 79:[33, 67] Operation: 120-53=67 Exploring Operation: 53+33=86, Resulting Numbers: [120, 86] Generated Node #0,2,1: 79:[120, 86] Operation: 53+33=86 Exploring Operation: 53-33=20, Resulting Numbers: [120, 20] Generated Node #0,2,2: 79:[120, 20] Operation: 53-33=20 Exploring Operation: 120-33=87, Resulting Numbers: [53, 87] Generated Node #0,2,3: 79:[53, 87] Operation: 120-33=87 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[53, 87], Operations: ['8*15=120', '120-33=87'] Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,79 unequal: No Solution Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,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:[120, 86], Operations: ['8*15=120', '53+33=86'] Exploring Operation: 120+86=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 120-86=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 120*86=10320, Resulting Numbers: [10320] 10320,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:[33, 67], Operations: ['8*15=120', '120-53=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,79 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[120, 20], Operations: ['8*15=120', '53-33=20'] Exploring Operation: 120*20=2400, Resulting Numbers: [2400] 2400,79 unequal: No Solution Exploring Operation: 120/20=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 120+20=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 120-20=100, Resulting Numbers: [100] 100,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:[53, 33, 23], Operations: ['8+15=23'] Exploring Operation: 53+33=86, Resulting Numbers: [23, 86] Generated Node #0,0,0: 79:[23, 86] Operation: 53+33=86 Exploring Operation: 53-23=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 79:[33, 30] Operation: 53-23=30 Exploring Operation: 53+23=76, Resulting Numbers: [33, 76] Generated Node #0,0,2: 79:[33, 76] Operation: 53+23=76 Exploring Operation: 33+23=56, Resulting Numbers: [53, 56] Generated Node #0,0,3: 79:[53, 56] Operation: 33+23=56 Moving to Node #0,0,2 Current State: 79:[33, 76], Operations: ['8+15=23', '53+23=76'] Exploring Operation: 33+76=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 33*76=2508, Resulting Numbers: [2508] 2508,79 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[53, 56], Operations: ['8+15=23', '33+23=56'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[23, 86], Operations: ['8+15=23', '53+33=86'] Exploring Operation: 23+86=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 23*86=1978, Resulting Numbers: [1978] 1978,79 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[33, 30], Operations: ['8+15=23', '53-23=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[8, 33, 68], Operations: ['53+15=68'] Exploring Operation: 33-8=25, Resulting Numbers: [68, 25] Generated Node #0,1,0: 79:[68, 25] Operation: 33-8=25 Exploring Operation: 8+33=41, Resulting Numbers: [68, 41] Generated Node #0,1,1: 79:[68, 41] Operation: 8+33=41 Exploring Operation: 8+68=76, Resulting Numbers: [33, 76] Generated Node #0,1,2: 79:[33, 76] Operation: 8+68=76 Exploring Operation: 68-8=60, Resulting Numbers: [33, 60] Generated Node #0,1,3: 79:[33, 60] Operation: 68-8=60 Moving to Node #0,1,1 Current State: 79:[68, 41], Operations: ['53+15=68', '8+33=41'] Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,79 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[33, 76], Operations: ['53+15=68', '8+68=76'] Exploring Operation: 33*76=2508, Resulting Numbers: [2508] 2508,79 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 33+76=109, Resulting Numbers: [109] 109,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[33, 60], Operations: ['53+15=68', '68-8=60'] Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,79 unequal: No Solution Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[68, 25], Operations: ['53+15=68', '33-8=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[15, 33, 61], Operations: ['53+8=61'] Exploring Operation: 33-15=18, Resulting Numbers: [61, 18] Generated Node #0,3,0: 79:[61, 18] Operation: 33-15=18 Exploring Operation: 15+61=76, Resulting Numbers: [33, 76] Generated Node #0,3,1: 79:[33, 76] Operation: 15+61=76 Exploring Operation: 15+33=48, Resulting Numbers: [61, 48] Generated Node #0,3,2: 79:[61, 48] Operation: 15+33=48 Exploring Operation: 61-15=46, Resulting Numbers: [33, 46] Generated Node #0,3,3: 79:[33, 46] Operation: 61-15=46 Moving to Node #0,3,1 Current State: 79:[33, 76], Operations: ['53+8=61', '15+61=76'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 33+76=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 33*76=2508, Resulting Numbers: [2508] 2508,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[61, 48], Operations: ['53+8=61', '15+33=48'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[33, 46], Operations: ['53+8=61', '61-15=46'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,79 unequal: No Solution Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[53, 8, 15, 33], Operations: [] Exploring Operation: 53+8=61, Resulting Numbers: [15, 33, 61] Generated Node #0,3: 79:[15, 33, 61] Operation: 53+8=61 Moving to Node #0,3 Current State: 79:[15, 33, 61], Operations: ['53+8=61'] Exploring Operation: 61-15=46, Resulting Numbers: [33, 46] Generated Node #0,3,3: 79:[33, 46] Operation: 61-15=46 Moving to Node #0,3,3 Current State: 79:[33, 46], Operations: ['53+8=61', '61-15=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.939236
hs_4
mult_heuristic
[ 8, 48, 80, 40 ]
18
[ "80/8=10", "48-40=8", "10+8=18" ]
Current State: 18:[8, 48, 80, 40], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [48, 40, 10] Generated Node #2: [48, 40, 10] from Operation: 80/8=10 Current State: 18:[48, 40, 10], Operations: ['80/8=10'] Exploring Operation: 48-40=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 48-40=8 Current State: 18:[10, 8], Operations: ['80/8=10', '48-40=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[8, 48, 80, 40], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [8, 48, 2] Generated Node #0,0: 18:[8, 48, 2] Operation: 80/40=2 Exploring Operation: 80-48=32, Resulting Numbers: [8, 40, 32] Generated Node #0,1: 18:[8, 40, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[8, 48, 2], Operations: ['80/40=2'] Exploring Operation: 48/2=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 18:[8, 24] Operation: 48/2=24 Exploring Operation: 48/8=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 18:[2, 6] Operation: 48/8=6 Moving to Node #0,0,1 Current State: 18:[2, 6], Operations: ['80/40=2', '48/8=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[8, 24], Operations: ['80/40=2', '48/2=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[8, 40, 32], Operations: ['80-48=32'] Exploring Operation: 40/8=5, Resulting Numbers: [32, 5] Generated Node #0,1,0: 18:[32, 5] Operation: 40/8=5 Exploring Operation: 40-32=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 18:[8, 8] Operation: 40-32=8 Moving to Node #0,1,1 Current State: 18:[8, 8], Operations: ['80-48=32', '40-32=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[32, 5], Operations: ['80-48=32', '40/8=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,18 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
[ 79, 5, 90, 2 ]
82
[ "79-5=74", "90+74=164", "164/2=82" ]
Current State: 82:[79, 5, 90, 2], Operations: [] Exploring Operation: 79-5=74, Resulting Numbers: [90, 2, 74] Generated Node #2: [90, 2, 74] from Operation: 79-5=74 Current State: 82:[90, 2, 74], Operations: ['79-5=74'] Exploring Operation: 90+74=164, Resulting Numbers: [2, 164] Generated Node #3: [2, 164] from Operation: 90+74=164 Current State: 82:[2, 164], Operations: ['79-5=74', '90+74=164'] Exploring Operation: 164/2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[79, 5, 90, 2], Operations: [] Exploring Operation: 79+5=84, Resulting Numbers: [90, 2, 84] Generated Node #0,0: 82:[90, 2, 84] Operation: 79+5=84 Exploring Operation: 90-5=85, Resulting Numbers: [79, 2, 85] Generated Node #0,1: 82:[79, 2, 85] Operation: 90-5=85 Moving to Node #0,1 Current State: 82:[79, 2, 85], Operations: ['90-5=85'] Exploring Operation: 79+2=81, Resulting Numbers: [85, 81] Generated Node #0,1,0: 82:[85, 81] Operation: 79+2=81 Exploring Operation: 85-79=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 82:[2, 6] Operation: 85-79=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[85, 81], Operations: ['90-5=85', '79+2=81'] Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,82 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[2, 6], Operations: ['90-5=85', '85-79=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 82:[90, 2, 84], Operations: ['79+5=84'] Exploring Operation: 90-84=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 82:[2, 6] Operation: 90-84=6 Exploring Operation: 90/2=45, Resulting Numbers: [84, 45] Generated Node #0,0,1: 82:[84, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[2, 6], Operations: ['79+5=84', '90-84=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[84, 45], Operations: ['79+5=84', '90/2=45'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 84+45=129, Resulting Numbers: [129] 129,82 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
[ 73, 2, 67, 87 ]
55
[ "73+2=75", "87-67=20", "75-20=55" ]
Current State: 55:[73, 2, 67, 87], Operations: [] Exploring Operation: 73+2=75, Resulting Numbers: [67, 87, 75] Generated Node #2: [67, 87, 75] from Operation: 73+2=75 Current State: 55:[67, 87, 75], Operations: ['73+2=75'] Exploring Operation: 87-67=20, Resulting Numbers: [75, 20] Generated Node #3: [75, 20] from Operation: 87-67=20 Current State: 55:[75, 20], Operations: ['73+2=75', '87-67=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[73, 2, 67, 87], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [67, 87, 71] Generated Node #0,0: 55:[67, 87, 71] Operation: 73-2=71 Exploring Operation: 73-67=6, Resulting Numbers: [2, 87, 6] Generated Node #0,1: 55:[2, 87, 6] Operation: 73-67=6 Exploring Operation: 87-67=20, Resulting Numbers: [73, 2, 20] Generated Node #0,2: 55:[73, 2, 20] Operation: 87-67=20 Exploring Operation: 67-2=65, Resulting Numbers: [73, 87, 65] Generated Node #0,3: 55:[73, 87, 65] Operation: 67-2=65 Exploring Operation: 87-73=14, Resulting Numbers: [2, 67, 14] Generated Node #0,4: 55:[2, 67, 14] Operation: 87-73=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[2, 67, 14], Operations: ['87-73=14'] Exploring Operation: 2+67=69, Resulting Numbers: [14, 69] Generated Node #0,4,0: 55:[14, 69] Operation: 2+67=69 Exploring Operation: 14-2=12, Resulting Numbers: [67, 12] Generated Node #0,4,1: 55:[67, 12] Operation: 14-2=12 Exploring Operation: 67-2=65, Resulting Numbers: [14, 65] Generated Node #0,4,2: 55:[14, 65] Operation: 67-2=65 Exploring Operation: 67-14=53, Resulting Numbers: [2, 53] Generated Node #0,4,3: 55:[2, 53] Operation: 67-14=53 Exploring Operation: 14/2=7, Resulting Numbers: [67, 7] Generated Node #0,4,4: 55:[67, 7] Operation: 14/2=7 Moving to Node #0,4,3 Current State: 55:[2, 53], Operations: ['87-73=14', '67-14=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[73, 2, 67, 87], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [2, 67, 14] Generated Node #0,4: 55:[2, 67, 14] Operation: 87-73=14 Moving to Node #0,4 Current State: 55:[2, 67, 14], Operations: ['87-73=14'] Exploring Operation: 67-14=53, Resulting Numbers: [2, 53] Generated Node #0,4,3: 55:[2, 53] Operation: 67-14=53 Moving to Node #0,4,3 Current State: 55:[2, 53], Operations: ['87-73=14', '67-14=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 65, 66, 7, 51 ]
44
[ "66-65=1", "51-7=44", "1*44=44" ]
Current State: 44:[65, 66, 7, 51], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [7, 51, 1] Generated Node #2: [7, 51, 1] from Operation: 66-65=1 Current State: 44:[7, 51, 1], Operations: ['66-65=1'] Exploring Operation: 51-7=44, Resulting Numbers: [1, 44] Generated Node #3: [1, 44] from Operation: 51-7=44 Current State: 44:[1, 44], Operations: ['66-65=1', '51-7=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[65, 66, 7, 51], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [7, 51, 1] Generated Node #0,0: 44:[7, 51, 1] Operation: 66-65=1 Exploring Operation: 66-51=15, Resulting Numbers: [65, 7, 15] Generated Node #0,1: 44:[65, 7, 15] Operation: 66-51=15 Exploring Operation: 65-51=14, Resulting Numbers: [66, 7, 14] Generated Node #0,2: 44:[66, 7, 14] Operation: 65-51=14 Moving to Node #0,0 Current State: 44:[7, 51, 1], Operations: ['66-65=1'] Exploring Operation: 51-7=44, Resulting Numbers: [1, 44] Generated Node #0,0,0: 44:[1, 44] Operation: 51-7=44 Exploring Operation: 51-1=50, Resulting Numbers: [7, 50] Generated Node #0,0,1: 44:[7, 50] Operation: 51-1=50 Exploring Operation: 7-1=6, Resulting Numbers: [51, 6] Generated Node #0,0,2: 44:[51, 6] Operation: 7-1=6 Moving to Node #0,1 Current State: 44:[65, 7, 15], Operations: ['66-51=15'] Exploring Operation: 65-15=50, Resulting Numbers: [7, 50] Generated Node #0,1,0: 44:[7, 50] Operation: 65-15=50 Exploring Operation: 7+15=22, Resulting Numbers: [65, 22] Generated Node #0,1,1: 44:[65, 22] Operation: 7+15=22 Exploring Operation: 65-7=58, Resulting Numbers: [15, 58] Generated Node #0,1,2: 44:[15, 58] Operation: 65-7=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[7, 50], Operations: ['66-51=15', '65-15=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,44 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,44 unequal: No Solution No 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: 44:[15, 58], Operations: ['66-51=15', '65-7=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,44 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,44 unequal: No Solution No 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: 44:[65, 22], Operations: ['66-51=15', '7+15=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,44 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,44 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: 44:[66, 7, 14], Operations: ['65-51=14'] Exploring Operation: 66-7=59, Resulting Numbers: [14, 59] Generated Node #0,2,0: 44:[14, 59] Operation: 66-7=59 Exploring Operation: 66-14=52, Resulting Numbers: [7, 52] Generated Node #0,2,1: 44:[7, 52] Operation: 66-14=52 Exploring Operation: 14/7=2, Resulting Numbers: [66, 2] Generated Node #0,2,2: 44:[66, 2] Operation: 14/7=2 Moving to Node #0,0,0 Current State: 44:[1, 44], Operations: ['66-65=1', '51-7=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[65, 66, 7, 51], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [7, 51, 1] Generated Node #0,0: 44:[7, 51, 1] Operation: 66-65=1 Moving to Node #0,0 Current State: 44:[7, 51, 1], Operations: ['66-65=1'] Exploring Operation: 51-7=44, Resulting Numbers: [1, 44] Generated Node #0,0,0: 44:[1, 44] Operation: 51-7=44 Moving to Node #0,0,0 Current State: 44:[1, 44], Operations: ['66-65=1', '51-7=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 53, 35, 16, 25 ]
47
[ "53+35=88", "16+25=41", "88-41=47" ]
Current State: 47:[53, 35, 16, 25], Operations: [] Exploring Operation: 53+35=88, Resulting Numbers: [16, 25, 88] Generated Node #2: [16, 25, 88] from Operation: 53+35=88 Current State: 47:[16, 25, 88], Operations: ['53+35=88'] Exploring Operation: 16+25=41, Resulting Numbers: [88, 41] Generated Node #3: [88, 41] from Operation: 16+25=41 Current State: 47:[88, 41], Operations: ['53+35=88', '16+25=41'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[53, 35, 16, 25], Operations: [] Exploring Operation: 35+16=51, Resulting Numbers: [53, 25, 51] Generated Node #0,0: 47:[53, 25, 51] Operation: 35+16=51 Exploring Operation: 35+25=60, Resulting Numbers: [53, 16, 60] Generated Node #0,1: 47:[53, 16, 60] Operation: 35+25=60 Exploring Operation: 53-16=37, Resulting Numbers: [35, 25, 37] Generated Node #0,2: 47:[35, 25, 37] Operation: 53-16=37 Exploring Operation: 16+25=41, Resulting Numbers: [53, 35, 41] Generated Node #0,3: 47:[53, 35, 41] Operation: 16+25=41 Moving to Node #0,3 Current State: 47:[53, 35, 41], Operations: ['16+25=41'] Exploring Operation: 35+41=76, Resulting Numbers: [53, 76] Generated Node #0,3,0: 47:[53, 76] Operation: 35+41=76 Exploring Operation: 53+35=88, Resulting Numbers: [41, 88] Generated Node #0,3,1: 47:[41, 88] Operation: 53+35=88 Exploring Operation: 53-35=18, Resulting Numbers: [41, 18] Generated Node #0,3,2: 47:[41, 18] Operation: 53-35=18 Exploring Operation: 53-41=12, Resulting Numbers: [35, 12] Generated Node #0,3,3: 47:[35, 12] Operation: 53-41=12 Moving to Node #0,0 Current State: 47:[53, 25, 51], Operations: ['35+16=51'] Exploring Operation: 53-25=28, Resulting Numbers: [51, 28] Generated Node #0,0,0: 47:[51, 28] Operation: 53-25=28 Exploring Operation: 51-25=26, Resulting Numbers: [53, 26] Generated Node #0,0,1: 47:[53, 26] Operation: 51-25=26 Exploring Operation: 25+51=76, Resulting Numbers: [53, 76] Generated Node #0,0,2: 47:[53, 76] Operation: 25+51=76 Exploring Operation: 53+25=78, Resulting Numbers: [51, 78] Generated Node #0,0,3: 47:[51, 78] Operation: 53+25=78 Moving to Node #0,2 Current State: 47:[35, 25, 37], Operations: ['53-16=37'] Exploring Operation: 35+25=60, Resulting Numbers: [37, 60] Generated Node #0,2,0: 47:[37, 60] Operation: 35+25=60 Exploring Operation: 25+37=62, Resulting Numbers: [35, 62] Generated Node #0,2,1: 47:[35, 62] Operation: 25+37=62 Exploring Operation: 35-25=10, Resulting Numbers: [37, 10] Generated Node #0,2,2: 47:[37, 10] Operation: 35-25=10 Exploring Operation: 35+37=72, Resulting Numbers: [25, 72] Generated Node #0,2,3: 47:[25, 72] Operation: 35+37=72 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[37, 60], Operations: ['53-16=37', '35+25=60'] Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,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:[35, 62], Operations: ['53-16=37', '25+37=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,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,2 Current State: 47:[37, 10], Operations: ['53-16=37', '35-25=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,47 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[53, 35, 16, 25], Operations: [] Exploring Operation: 53-16=37, Resulting Numbers: [35, 25, 37] Generated Node #0,2: 47:[35, 25, 37] Operation: 53-16=37 Moving to Node #0,2 Current State: 47:[35, 25, 37], Operations: ['53-16=37'] Exploring Operation: 35-25=10, Resulting Numbers: [37, 10] Generated Node #0,2,2: 47:[37, 10] Operation: 35-25=10 Moving to Node #0,2,2 Current State: 47:[37, 10], Operations: ['53-16=37', '35-25=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 2, 6, 26, 23 ]
39
[ "6+26=32", "32/2=16", "23+16=39" ]
Current State: 39:[2, 6, 26, 23], Operations: [] Exploring Operation: 6+26=32, Resulting Numbers: [2, 23, 32] Generated Node #2: [2, 23, 32] from Operation: 6+26=32 Current State: 39:[2, 23, 32], Operations: ['6+26=32'] Exploring Operation: 32/2=16, Resulting Numbers: [23, 16] Generated Node #3: [23, 16] from Operation: 32/2=16 Current State: 39:[23, 16], Operations: ['6+26=32', '32/2=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[2, 6, 26, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [2, 6, 3] Generated Node #0,0: 39:[2, 6, 3] Operation: 26-23=3 Exploring Operation: 26+23=49, Resulting Numbers: [2, 6, 49] Generated Node #0,1: 39:[2, 6, 49] Operation: 26+23=49 Exploring Operation: 26/2=13, Resulting Numbers: [6, 23, 13] Generated Node #0,2: 39:[6, 23, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[2, 6, 3], Operations: ['26-23=3'] Exploring Operation: 6/2=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 39:[3, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [3, 4] Generated Node #0,0,1: 39:[3, 4] Operation: 6-2=4 Exploring Operation: 2*6=12, Resulting Numbers: [3, 12] Generated Node #0,0,2: 39:[3, 12] Operation: 2*6=12 Moving to Node #0,0,0 Current State: 39:[3, 3], Operations: ['26-23=3', '6/2=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[3, 4], Operations: ['26-23=3', '6-2=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[3, 12], Operations: ['26-23=3', '2*6=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[6, 23, 13], Operations: ['26/2=13'] Exploring Operation: 23+13=36, Resulting Numbers: [6, 36] Generated Node #0,2,0: 39:[6, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [6, 10] Generated Node #0,2,1: 39:[6, 10] Operation: 23-13=10 Exploring Operation: 23-6=17, Resulting Numbers: [13, 17] Generated Node #0,2,2: 39:[13, 17] Operation: 23-6=17 Moving to Node #0,2,2 Current State: 39:[13, 17], Operations: ['26/2=13', '23-6=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[6, 36], Operations: ['26/2=13', '23+13=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[6, 10], Operations: ['26/2=13', '23-13=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[2, 6, 49], Operations: ['26+23=49'] Exploring Operation: 49-6=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 39:[2, 43] Operation: 49-6=43 Exploring Operation: 2*6=12, Resulting Numbers: [49, 12] Generated Node #0,1,1: 39:[49, 12] Operation: 2*6=12 Exploring Operation: 6/2=3, Resulting Numbers: [49, 3] Generated Node #0,1,2: 39:[49, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[2, 43], Operations: ['26+23=49', '49-6=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,39 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,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,1,2 Current State: 39:[49, 3], Operations: ['26+23=49', '6/2=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,39 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,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,1,1 Current State: 39:[49, 12], Operations: ['26+23=49', '2*6=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,39 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
[ 97, 13, 85, 54 ]
53
[ "97-13=84", "85-54=31", "84-31=53" ]
Current State: 53:[97, 13, 85, 54], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [85, 54, 84] Generated Node #2: [85, 54, 84] from Operation: 97-13=84 Current State: 53:[85, 54, 84], Operations: ['97-13=84'] Exploring Operation: 85-54=31, Resulting Numbers: [84, 31] Generated Node #3: [84, 31] from Operation: 85-54=31 Current State: 53:[84, 31], Operations: ['97-13=84', '85-54=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[97, 13, 85, 54], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [85, 54, 84] Generated Node #0,0: 53:[85, 54, 84] Operation: 97-13=84 Exploring Operation: 85-13=72, Resulting Numbers: [97, 54, 72] Generated Node #0,1: 53:[97, 54, 72] Operation: 85-13=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[85, 54, 84], Operations: ['97-13=84'] Exploring Operation: 85-84=1, Resulting Numbers: [54, 1] Generated Node #0,0,0: 53:[54, 1] Operation: 85-84=1 Exploring Operation: 85-54=31, Resulting Numbers: [84, 31] Generated Node #0,0,1: 53:[84, 31] Operation: 85-54=31 Moving to Node #0,0,0 Current State: 53:[54, 1], Operations: ['97-13=84', '85-84=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[97, 13, 85, 54], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [85, 54, 84] Generated Node #0,0: 53:[85, 54, 84] Operation: 97-13=84 Moving to Node #0,0 Current State: 53:[85, 54, 84], Operations: ['97-13=84'] Exploring Operation: 85-84=1, Resulting Numbers: [54, 1] Generated Node #0,0,0: 53:[54, 1] Operation: 85-84=1 Moving to Node #0,0,0 Current State: 53:[54, 1], Operations: ['97-13=84', '85-84=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 30, 40, 63, 4 ]
60
[ "30*4=120", "120/40=3", "63-3=60" ]
Current State: 60:[30, 40, 63, 4], Operations: [] Exploring Operation: 30*4=120, Resulting Numbers: [40, 63, 120] Generated Node #2: [40, 63, 120] from Operation: 30*4=120 Current State: 60:[40, 63, 120], Operations: ['30*4=120'] Exploring Operation: 120/40=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 120/40=3 Current State: 60:[63, 3], Operations: ['30*4=120', '120/40=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[30, 40, 63, 4], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [63, 4, 10] Generated Node #0,0: 60:[63, 4, 10] Operation: 40-30=10 Moving to Node #0,0 Current State: 60:[63, 4, 10], Operations: ['40-30=10'] Exploring Operation: 63-4=59, Resulting Numbers: [10, 59] Generated Node #0,0,0: 60:[10, 59] Operation: 63-4=59 Moving to Node #0,0,0 Current State: 60:[10, 59], Operations: ['40-30=10', '63-4=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,60 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 17, 40, 86 ]
83
[ "11+40=51", "51/17=3", "86-3=83" ]
Current State: 83:[11, 17, 40, 86], Operations: [] Exploring Operation: 11+40=51, Resulting Numbers: [17, 86, 51] Generated Node #2: [17, 86, 51] from Operation: 11+40=51 Current State: 83:[17, 86, 51], Operations: ['11+40=51'] Exploring Operation: 51/17=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 51/17=3 Current State: 83:[86, 3], Operations: ['11+40=51', '51/17=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[11, 17, 40, 86], Operations: [] Exploring Operation: 17+40=57, Resulting Numbers: [11, 86, 57] Generated Node #0,0: 83:[11, 86, 57] Operation: 17+40=57 Exploring Operation: 11+17=28, Resulting Numbers: [40, 86, 28] Generated Node #0,1: 83:[40, 86, 28] Operation: 11+17=28 Exploring Operation: 11+40=51, Resulting Numbers: [17, 86, 51] Generated Node #0,2: 83:[17, 86, 51] Operation: 11+40=51 Moving to Node #0,0 Current State: 83:[11, 86, 57], Operations: ['17+40=57'] Exploring Operation: 11+86=97, Resulting Numbers: [57, 97] Generated Node #0,0,0: 83:[57, 97] Operation: 11+86=97 Exploring Operation: 86-11=75, Resulting Numbers: [57, 75] Generated Node #0,0,1: 83:[57, 75] Operation: 86-11=75 Exploring Operation: 11+57=68, Resulting Numbers: [86, 68] Generated Node #0,0,2: 83:[86, 68] Operation: 11+57=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[86, 68], Operations: ['17+40=57', '11+57=68'] Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,83 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[57, 75], Operations: ['17+40=57', '86-11=75'] Exploring Operation: 57+75=132, Resulting Numbers: [132] 132,83 unequal: No Solution Exploring Operation: 57*75=4275, Resulting Numbers: [4275] 4275,83 unequal: No Solution Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[57, 97], Operations: ['17+40=57', '11+86=97'] Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 57*97=5529, Resulting Numbers: [5529] 5529,83 unequal: No Solution Exploring Operation: 57+97=154, Resulting Numbers: [154] 154,83 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: 83:[40, 86, 28], Operations: ['11+17=28'] Exploring Operation: 86-28=58, Resulting Numbers: [40, 58] Generated Node #0,1,0: 83:[40, 58] Operation: 86-28=58 Exploring Operation: 40-28=12, Resulting Numbers: [86, 12] Generated Node #0,1,1: 83:[86, 12] Operation: 40-28=12 Exploring Operation: 40+28=68, Resulting Numbers: [86, 68] Generated Node #0,1,2: 83:[86, 68] Operation: 40+28=68 Moving to Node #0,2 Current State: 83:[17, 86, 51], Operations: ['11+40=51'] Exploring Operation: 17+51=68, Resulting Numbers: [86, 68] Generated Node #0,2,0: 83:[86, 68] Operation: 17+51=68 Exploring Operation: 86-17=69, Resulting Numbers: [51, 69] Generated Node #0,2,1: 83:[51, 69] Operation: 86-17=69 Exploring Operation: 17+86=103, Resulting Numbers: [51, 103] Generated Node #0,2,2: 83:[51, 103] Operation: 17+86=103 Moving to Node #0,1,2 Current State: 83:[86, 68], Operations: ['11+17=28', '40+28=68'] Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,83 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[86, 68], Operations: ['11+40=51', '17+51=68'] Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,83 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[51, 69], Operations: ['11+40=51', '86-17=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,83 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[51, 103], Operations: ['11+40=51', '17+86=103'] Exploring Operation: 51*103=5253, Resulting Numbers: [5253] 5253,83 unequal: No Solution Exploring Operation: 103-51=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 51+103=154, Resulting Numbers: [154] 154,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[40, 58], Operations: ['11+17=28', '86-28=58'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,83 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[86, 12], Operations: ['11+17=28', '40-28=12'] Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 86+12=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 86*12=1032, Resulting Numbers: [1032] 1032,83 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 48, 82, 20 ]
69
[ "48-41=7", "82-20=62", "7+62=69" ]
Current State: 69:[41, 48, 82, 20], Operations: [] Exploring Operation: 48-41=7, Resulting Numbers: [82, 20, 7] Generated Node #2: [82, 20, 7] from Operation: 48-41=7 Current State: 69:[82, 20, 7], Operations: ['48-41=7'] Exploring Operation: 82-20=62, Resulting Numbers: [7, 62] Generated Node #3: [7, 62] from Operation: 82-20=62 Current State: 69:[7, 62], Operations: ['48-41=7', '82-20=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[41, 48, 82, 20], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [48, 20, 2] Generated Node #0,0: 69:[48, 20, 2] Operation: 82/41=2 Exploring Operation: 48-41=7, Resulting Numbers: [82, 20, 7] Generated Node #0,1: 69:[82, 20, 7] Operation: 48-41=7 Exploring Operation: 82-48=34, Resulting Numbers: [41, 20, 34] Generated Node #0,2: 69:[41, 20, 34] Operation: 82-48=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[82, 20, 7], Operations: ['48-41=7'] Exploring Operation: 20+7=27, Resulting Numbers: [82, 27] Generated Node #0,1,0: 69:[82, 27] Operation: 20+7=27 Exploring Operation: 82-20=62, Resulting Numbers: [7, 62] Generated Node #0,1,1: 69:[7, 62] Operation: 82-20=62 Exploring Operation: 82-7=75, Resulting Numbers: [20, 75] Generated Node #0,1,2: 69:[20, 75] Operation: 82-7=75 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[20, 75], Operations: ['48-41=7', '82-7=75'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,69 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[7, 62], Operations: ['48-41=7', '82-20=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,69 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[41, 48, 82, 20], Operations: [] Exploring Operation: 48-41=7, Resulting Numbers: [82, 20, 7] Generated Node #0,1: 69:[82, 20, 7] Operation: 48-41=7 Moving to Node #0,1 Current State: 69:[82, 20, 7], Operations: ['48-41=7'] Exploring Operation: 82-20=62, Resulting Numbers: [7, 62] Generated Node #0,1,1: 69:[7, 62] Operation: 82-20=62 Moving to Node #0,1,1 Current State: 69:[7, 62], Operations: ['48-41=7', '82-20=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 57, 76, 24, 92 ]
87
[ "76-57=19", "92-24=68", "19+68=87" ]
Current State: 87:[57, 76, 24, 92], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [24, 92, 19] Generated Node #2: [24, 92, 19] from Operation: 76-57=19 Current State: 87:[24, 92, 19], Operations: ['76-57=19'] Exploring Operation: 92-24=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 92-24=68 Current State: 87:[19, 68], Operations: ['76-57=19', '92-24=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[57, 76, 24, 92], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [76, 92, 33] Generated Node #0,0: 87:[76, 92, 33] Operation: 57-24=33 Exploring Operation: 57+24=81, Resulting Numbers: [76, 92, 81] Generated Node #0,1: 87:[76, 92, 81] Operation: 57+24=81 Exploring Operation: 76-57=19, Resulting Numbers: [24, 92, 19] Generated Node #0,2: 87:[24, 92, 19] Operation: 76-57=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[76, 92, 33], Operations: ['57-24=33'] Exploring Operation: 76-33=43, Resulting Numbers: [92, 43] Generated Node #0,0,0: 87:[92, 43] Operation: 76-33=43 Exploring Operation: 92-76=16, Resulting Numbers: [33, 16] Generated Node #0,0,1: 87:[33, 16] Operation: 92-76=16 Exploring Operation: 76+33=109, Resulting Numbers: [92, 109] Generated Node #0,0,2: 87:[92, 109] Operation: 76+33=109 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[33, 16], Operations: ['57-24=33', '92-76=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,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:[92, 43], Operations: ['57-24=33', '76-33=43'] Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,87 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,87 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,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,2 Current State: 87:[92, 109], Operations: ['57-24=33', '76+33=109'] Exploring Operation: 92+109=201, Resulting Numbers: [201] 201,87 unequal: No Solution Exploring Operation: 109-92=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 92*109=10028, Resulting Numbers: [10028] 10028,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:[24, 92, 19], Operations: ['76-57=19'] Exploring Operation: 24+19=43, Resulting Numbers: [92, 43] Generated Node #0,2,0: 87:[92, 43] Operation: 24+19=43 Exploring Operation: 92-19=73, Resulting Numbers: [24, 73] Generated Node #0,2,1: 87:[24, 73] Operation: 92-19=73 Exploring Operation: 24-19=5, Resulting Numbers: [92, 5] Generated Node #0,2,2: 87:[92, 5] Operation: 24-19=5 Moving to Node #0,2,2 Current State: 87:[92, 5], Operations: ['76-57=19', '24-19=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[57, 76, 24, 92], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [24, 92, 19] Generated Node #0,2: 87:[24, 92, 19] Operation: 76-57=19 Moving to Node #0,2 Current State: 87:[24, 92, 19], Operations: ['76-57=19'] Exploring Operation: 24-19=5, Resulting Numbers: [92, 5] Generated Node #0,2,2: 87:[92, 5] Operation: 24-19=5 Moving to Node #0,2,2 Current State: 87:[92, 5], Operations: ['76-57=19', '24-19=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 8, 63, 51, 7 ]
27
[ "8+63=71", "51-7=44", "71-44=27" ]
Current State: 27:[8, 63, 51, 7], Operations: [] Exploring Operation: 8+63=71, Resulting Numbers: [51, 7, 71] Generated Node #2: [51, 7, 71] from Operation: 8+63=71 Current State: 27:[51, 7, 71], Operations: ['8+63=71'] Exploring Operation: 51-7=44, Resulting Numbers: [71, 44] Generated Node #3: [71, 44] from Operation: 51-7=44 Current State: 27:[71, 44], Operations: ['8+63=71', '51-7=44'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 63, 51, 7], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [8, 7, 12] Generated Node #0,0: 27:[8, 7, 12] Operation: 63-51=12 Moving to Node #0,0 Current State: 27:[8, 7, 12], Operations: ['63-51=12'] Exploring Operation: 12-8=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 27:[7, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[7, 4], Operations: ['63-51=12', '12-8=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 70, 45, 43, 8 ]
81
[ "45+43=88", "88/8=11", "70+11=81" ]
Current State: 81:[70, 45, 43, 8], Operations: [] Exploring Operation: 45+43=88, Resulting Numbers: [70, 8, 88] Generated Node #2: [70, 8, 88] from Operation: 45+43=88 Current State: 81:[70, 8, 88], Operations: ['45+43=88'] Exploring Operation: 88/8=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 88/8=11 Current State: 81:[70, 11], Operations: ['45+43=88', '88/8=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 45, 43, 8], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [70, 8, 2] Generated Node #0,0: 81:[70, 8, 2] Operation: 45-43=2 Moving to Node #0,0 Current State: 81:[70, 8, 2], Operations: ['45-43=2'] Exploring Operation: 70+8=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 81:[2, 78] Operation: 70+8=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[2, 78], Operations: ['45-43=2', '70+8=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 53, 14, 67 ]
63
[ "91+53=144", "14+67=81", "144-81=63" ]
Current State: 63:[91, 53, 14, 67], Operations: [] Exploring Operation: 91+53=144, Resulting Numbers: [14, 67, 144] Generated Node #2: [14, 67, 144] from Operation: 91+53=144 Current State: 63:[14, 67, 144], Operations: ['91+53=144'] Exploring Operation: 14+67=81, Resulting Numbers: [144, 81] Generated Node #3: [144, 81] from Operation: 14+67=81 Current State: 63:[144, 81], Operations: ['91+53=144', '14+67=81'] Exploring Operation: 144-81=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 53, 14, 67], Operations: [] Exploring Operation: 91-53=38, Resulting Numbers: [14, 67, 38] Generated Node #0,0: 63:[14, 67, 38] Operation: 91-53=38 Exploring Operation: 91-67=24, Resulting Numbers: [53, 14, 24] Generated Node #0,1: 63:[53, 14, 24] Operation: 91-67=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[53, 14, 24], Operations: ['91-67=24'] Exploring Operation: 24-14=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 63:[53, 10] Operation: 24-14=10 Exploring Operation: 53+14=67, Resulting Numbers: [24, 67] Generated Node #0,1,1: 63:[24, 67] Operation: 53+14=67 Moving to Node #0,1,1 Current State: 63:[24, 67], Operations: ['91-67=24', '53+14=67'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[53, 10], Operations: ['91-67=24', '24-14=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 53, 14, 67], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [53, 14, 24] Generated Node #0,1: 63:[53, 14, 24] Operation: 91-67=24 Moving to Node #0,1 Current State: 63:[53, 14, 24], Operations: ['91-67=24'] Exploring Operation: 24-14=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 63:[53, 10] Operation: 24-14=10 Moving to Node #0,1,0 Current State: 63:[53, 10], Operations: ['91-67=24', '24-14=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 46, 56, 30, 68 ]
71
[ "56-46=10", "30/10=3", "68+3=71" ]
Current State: 71:[46, 56, 30, 68], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [30, 68, 10] Generated Node #2: [30, 68, 10] from Operation: 56-46=10 Current State: 71:[30, 68, 10], Operations: ['56-46=10'] Exploring Operation: 30/10=3, Resulting Numbers: [68, 3] Generated Node #3: [68, 3] from Operation: 30/10=3 Current State: 71:[68, 3], Operations: ['56-46=10', '30/10=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[46, 56, 30, 68], Operations: [] Exploring Operation: 56+30=86, Resulting Numbers: [46, 68, 86] Generated Node #0,0: 71:[46, 68, 86] Operation: 56+30=86 Exploring Operation: 46+30=76, Resulting Numbers: [56, 68, 76] Generated Node #0,1: 71:[56, 68, 76] Operation: 46+30=76 Exploring Operation: 46-30=16, Resulting Numbers: [56, 68, 16] Generated Node #0,2: 71:[56, 68, 16] Operation: 46-30=16 Exploring Operation: 30+68=98, Resulting Numbers: [46, 56, 98] Generated Node #0,3: 71:[46, 56, 98] Operation: 30+68=98 Moving to Node #0,1 Current State: 71:[56, 68, 76], Operations: ['46+30=76'] Exploring Operation: 68-56=12, Resulting Numbers: [76, 12] Generated Node #0,1,0: 71:[76, 12] Operation: 68-56=12 Exploring Operation: 76-56=20, Resulting Numbers: [68, 20] Generated Node #0,1,1: 71:[68, 20] Operation: 76-56=20 Exploring Operation: 56+76=132, Resulting Numbers: [68, 132] Generated Node #0,1,2: 71:[68, 132] Operation: 56+76=132 Exploring Operation: 56+68=124, Resulting Numbers: [76, 124] Generated Node #0,1,3: 71:[76, 124] Operation: 56+68=124 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[68, 20], Operations: ['46+30=76', '76-56=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,71 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[76, 124], Operations: ['46+30=76', '56+68=124'] Exploring Operation: 76*124=9424, Resulting Numbers: [9424] 9424,71 unequal: No Solution Exploring Operation: 124-76=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 76+124=200, Resulting Numbers: [200] 200,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[76, 12], Operations: ['46+30=76', '68-56=12'] Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,71 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[68, 132], Operations: ['46+30=76', '56+76=132'] Exploring Operation: 68+132=200, Resulting Numbers: [200] 200,71 unequal: No Solution Exploring Operation: 132-68=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 68*132=8976, Resulting Numbers: [8976] 8976,71 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: 71:[46, 68, 86], Operations: ['56+30=86'] Exploring Operation: 86-46=40, Resulting Numbers: [68, 40] Generated Node #0,0,0: 71:[68, 40] Operation: 86-46=40 Exploring Operation: 46+86=132, Resulting Numbers: [68, 132] Generated Node #0,0,1: 71:[68, 132] Operation: 46+86=132 Exploring Operation: 46+68=114, Resulting Numbers: [86, 114] Generated Node #0,0,2: 71:[86, 114] Operation: 46+68=114 Exploring Operation: 68-46=22, Resulting Numbers: [86, 22] Generated Node #0,0,3: 71:[86, 22] Operation: 68-46=22 Moving to Node #0,3 Current State: 71:[46, 56, 98], Operations: ['30+68=98'] Exploring Operation: 56-46=10, Resulting Numbers: [98, 10] Generated Node #0,3,0: 71:[98, 10] Operation: 56-46=10 Exploring Operation: 98-46=52, Resulting Numbers: [56, 52] Generated Node #0,3,1: 71:[56, 52] Operation: 98-46=52 Exploring Operation: 98-56=42, Resulting Numbers: [46, 42] Generated Node #0,3,2: 71:[46, 42] Operation: 98-56=42 Exploring Operation: 46+56=102, Resulting Numbers: [98, 102] Generated Node #0,3,3: 71:[98, 102] Operation: 46+56=102 Moving to Node #0,2 Current State: 71:[56, 68, 16], Operations: ['46-30=16'] Exploring Operation: 56-16=40, Resulting Numbers: [68, 40] Generated Node #0,2,0: 71:[68, 40] Operation: 56-16=40 Exploring Operation: 56+16=72, Resulting Numbers: [68, 72] Generated Node #0,2,1: 71:[68, 72] Operation: 56+16=72 Exploring Operation: 68+16=84, Resulting Numbers: [56, 84] Generated Node #0,2,2: 71:[56, 84] Operation: 68+16=84 Exploring Operation: 68-16=52, Resulting Numbers: [56, 52] Generated Node #0,2,3: 71:[56, 52] Operation: 68-16=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[68, 72], Operations: ['46-30=16', '56+16=72'] Exploring Operation: 68+72=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 68*72=4896, Resulting Numbers: [4896] 4896,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,2 Current State: 71:[56, 84], Operations: ['46-30=16', '68+16=84'] Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,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,0 Current State: 71:[68, 40], Operations: ['46-30=16', '56-16=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,71 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,71 unequal: No Solution No 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: 71:[56, 52], Operations: ['46-30=16', '68-16=52'] Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,71 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: 71:[68, 40], Operations: ['56+30=86', '86-46=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,71 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[56, 52], Operations: ['30+68=98', '98-46=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[46, 42], Operations: ['30+68=98', '98-56=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,71 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[98, 102], Operations: ['30+68=98', '46+56=102'] Exploring Operation: 98+102=200, Resulting Numbers: [200] 200,71 unequal: No Solution Exploring Operation: 98*102=9996, Resulting Numbers: [9996] 9996,71 unequal: No Solution Exploring Operation: 102-98=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[86, 114], Operations: ['56+30=86', '46+68=114'] Exploring Operation: 86+114=200, Resulting Numbers: [200] 200,71 unequal: No Solution Exploring Operation: 86*114=9804, Resulting Numbers: [9804] 9804,71 unequal: No Solution Exploring Operation: 114-86=28, Resulting Numbers: [28] 28,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[68, 132], Operations: ['56+30=86', '46+86=132'] Exploring Operation: 132-68=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 68*132=8976, Resulting Numbers: [8976] 8976,71 unequal: No Solution Exploring Operation: 68+132=200, Resulting Numbers: [200] 200,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[86, 22], Operations: ['56+30=86', '68-46=22'] Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[98, 10], Operations: ['30+68=98', '56-46=10'] Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,71 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,71 unequal: No Solution Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 73, 7, 14, 45 ]
59
[ "73+45=118", "14/7=2", "118/2=59" ]
Current State: 59:[73, 7, 14, 45], Operations: [] Exploring Operation: 73+45=118, Resulting Numbers: [7, 14, 118] Generated Node #2: [7, 14, 118] from Operation: 73+45=118 Current State: 59:[7, 14, 118], Operations: ['73+45=118'] Exploring Operation: 14/7=2, Resulting Numbers: [118, 2] Generated Node #3: [118, 2] from Operation: 14/7=2 Current State: 59:[118, 2], Operations: ['73+45=118', '14/7=2'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[73, 7, 14, 45], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [7, 45, 59] Generated Node #0,0: 59:[7, 45, 59] Operation: 73-14=59 Exploring Operation: 73-7=66, Resulting Numbers: [14, 45, 66] Generated Node #0,1: 59:[14, 45, 66] Operation: 73-7=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[7, 45, 59], Operations: ['73-14=59'] Exploring Operation: 45-7=38, Resulting Numbers: [59, 38] Generated Node #0,0,0: 59:[59, 38] Operation: 45-7=38 Exploring Operation: 7+45=52, Resulting Numbers: [59, 52] Generated Node #0,0,1: 59:[59, 52] Operation: 7+45=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[59, 52], Operations: ['73-14=59', '7+45=52'] Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[59, 38], Operations: ['73-14=59', '45-7=38'] Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[14, 45, 66], Operations: ['73-7=66'] Exploring Operation: 14+45=59, Resulting Numbers: [66, 59] Generated Node #0,1,0: 59:[66, 59] Operation: 14+45=59 Exploring Operation: 66-14=52, Resulting Numbers: [45, 52] Generated Node #0,1,1: 59:[45, 52] Operation: 66-14=52 Moving to Node #0,1,0 Current State: 59:[66, 59], Operations: ['73-7=66', '14+45=59'] Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[45, 52], Operations: ['73-7=66', '66-14=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,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
[ 47, 61, 42, 66 ]
22
[ "61-47=14", "42/14=3", "66/3=22" ]
Current State: 22:[47, 61, 42, 66], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [42, 66, 14] Generated Node #2: [42, 66, 14] from Operation: 61-47=14 Current State: 22:[42, 66, 14], Operations: ['61-47=14'] Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 42/14=3 Current State: 22:[66, 3], Operations: ['61-47=14', '42/14=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[47, 61, 42, 66], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [42, 66, 14] Generated Node #0,0: 22:[42, 66, 14] Operation: 61-47=14 Exploring Operation: 66-42=24, Resulting Numbers: [47, 61, 24] Generated Node #0,1: 22:[47, 61, 24] Operation: 66-42=24 Exploring Operation: 66-61=5, Resulting Numbers: [47, 42, 5] Generated Node #0,2: 22:[47, 42, 5] Operation: 66-61=5 Exploring Operation: 66-47=19, Resulting Numbers: [61, 42, 19] Generated Node #0,3: 22:[61, 42, 19] Operation: 66-47=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[47, 42, 5], Operations: ['66-61=5'] Exploring Operation: 47-42=5, Resulting Numbers: [5, 5] Generated Node #0,2,0: 22:[5, 5] Operation: 47-42=5 Exploring Operation: 42-5=37, Resulting Numbers: [47, 37] Generated Node #0,2,1: 22:[47, 37] Operation: 42-5=37 Exploring Operation: 47-5=42, Resulting Numbers: [42, 42] Generated Node #0,2,2: 22:[42, 42] Operation: 47-5=42 Exploring Operation: 47+5=52, Resulting Numbers: [42, 52] Generated Node #0,2,3: 22:[42, 52] Operation: 47+5=52 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 22:[5, 5], Operations: ['66-61=5', '47-42=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,22 unequal: No Solution No 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: 22:[47, 37], Operations: ['66-61=5', '42-5=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,22 unequal: No Solution No 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: 22:[42, 42], Operations: ['66-61=5', '47-5=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,22 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,22 unequal: No Solution No 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: 22:[42, 52], Operations: ['66-61=5', '47+5=52'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,22 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,22 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: 22:[61, 42, 19], Operations: ['66-47=19'] Exploring Operation: 61-19=42, Resulting Numbers: [42, 42] Generated Node #0,3,0: 22:[42, 42] Operation: 61-19=42 Exploring Operation: 61-42=19, Resulting Numbers: [19, 19] Generated Node #0,3,1: 22:[19, 19] Operation: 61-42=19 Exploring Operation: 42-19=23, Resulting Numbers: [61, 23] Generated Node #0,3,2: 22:[61, 23] Operation: 42-19=23 Exploring Operation: 61+19=80, Resulting Numbers: [42, 80] Generated Node #0,3,3: 22:[42, 80] Operation: 61+19=80 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[19, 19], Operations: ['66-47=19', '61-42=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,22 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,22 unequal: No Solution No 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: 22:[42, 42], Operations: ['66-47=19', '61-19=42'] Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,22 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,22 unequal: No Solution No 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: 22:[61, 23], Operations: ['66-47=19', '42-19=23'] Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,22 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,22 unequal: No Solution No 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: 22:[42, 80], Operations: ['66-47=19', '61+19=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,22 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,22 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: 22:[47, 61, 24], Operations: ['66-42=24'] Exploring Operation: 47-24=23, Resulting Numbers: [61, 23] Generated Node #0,1,0: 22:[61, 23] Operation: 47-24=23 Exploring Operation: 61-24=37, Resulting Numbers: [47, 37] Generated Node #0,1,1: 22:[47, 37] Operation: 61-24=37 Exploring Operation: 47+61=108, Resulting Numbers: [24, 108] Generated Node #0,1,2: 22:[24, 108] Operation: 47+61=108 Exploring Operation: 61-47=14, Resulting Numbers: [24, 14] Generated Node #0,1,3: 22:[24, 14] Operation: 61-47=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 22:[24, 14], Operations: ['66-42=24', '61-47=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,22 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,22 unequal: No Solution No 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: 22:[61, 23], Operations: ['66-42=24', '47-24=23'] Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,22 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,22 unequal: No Solution No 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: 22:[47, 37], Operations: ['66-42=24', '61-24=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,22 unequal: No Solution No 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: 22:[24, 108], Operations: ['66-42=24', '47+61=108'] Exploring Operation: 24*108=2592, Resulting Numbers: [2592] 2592,22 unequal: No Solution Exploring Operation: 108-24=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 24+108=132, Resulting Numbers: [132] 132,22 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: 22:[42, 66, 14], Operations: ['61-47=14'] Exploring Operation: 42-14=28, Resulting Numbers: [66, 28] Generated Node #0,0,0: 22:[66, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 22:[66, 3] Operation: 42/14=3 Exploring Operation: 66-14=52, Resulting Numbers: [42, 52] Generated Node #0,0,2: 22:[42, 52] Operation: 66-14=52 Exploring Operation: 66-42=24, Resulting Numbers: [14, 24] Generated Node #0,0,3: 22:[14, 24] Operation: 66-42=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 22:[14, 24], Operations: ['61-47=14', '66-42=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,22 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,22 unequal: No Solution No 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: 22:[66, 3], Operations: ['61-47=14', '42/14=3'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,22 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[47, 61, 42, 66], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [42, 66, 14] Generated Node #0,0: 22:[42, 66, 14] Operation: 61-47=14 Moving to Node #0,0 Current State: 22:[42, 66, 14], Operations: ['61-47=14'] Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 22:[66, 3] Operation: 42/14=3 Moving to Node #0,0,1 Current State: 22:[66, 3], Operations: ['61-47=14', '42/14=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.939236
hs_4
mult_heuristic
[ 28, 96, 35, 9 ]
89
[ "28+35=63", "63/9=7", "96-7=89" ]
Current State: 89:[28, 96, 35, 9], Operations: [] Exploring Operation: 28+35=63, Resulting Numbers: [96, 9, 63] Generated Node #2: [96, 9, 63] from Operation: 28+35=63 Current State: 89:[96, 9, 63], Operations: ['28+35=63'] Exploring Operation: 63/9=7, Resulting Numbers: [96, 7] Generated Node #3: [96, 7] from Operation: 63/9=7 Current State: 89:[96, 7], Operations: ['28+35=63', '63/9=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[28, 96, 35, 9], Operations: [] Exploring Operation: 28+35=63, Resulting Numbers: [96, 9, 63] Generated Node #0,0: 89:[96, 9, 63] Operation: 28+35=63 Exploring Operation: 35+9=44, Resulting Numbers: [28, 96, 44] Generated Node #0,1: 89:[28, 96, 44] Operation: 35+9=44 Exploring Operation: 96-9=87, Resulting Numbers: [28, 35, 87] Generated Node #0,2: 89:[28, 35, 87] Operation: 96-9=87 Exploring Operation: 28+9=37, Resulting Numbers: [96, 35, 37] Generated Node #0,3: 89:[96, 35, 37] Operation: 28+9=37 Moving to Node #0,0 Current State: 89:[96, 9, 63], Operations: ['28+35=63'] Exploring Operation: 63-9=54, Resulting Numbers: [96, 54] Generated Node #0,0,0: 89:[96, 54] Operation: 63-9=54 Exploring Operation: 96+9=105, Resulting Numbers: [63, 105] Generated Node #0,0,1: 89:[63, 105] Operation: 96+9=105 Exploring Operation: 9+63=72, Resulting Numbers: [96, 72] Generated Node #0,0,2: 89:[96, 72] Operation: 9+63=72 Exploring Operation: 96-9=87, Resulting Numbers: [63, 87] Generated Node #0,0,3: 89:[63, 87] Operation: 96-9=87 Moving to Node #0,3 Current State: 89:[96, 35, 37], Operations: ['28+9=37'] Exploring Operation: 96-35=61, Resulting Numbers: [37, 61] Generated Node #0,3,0: 89:[37, 61] Operation: 96-35=61 Exploring Operation: 35+37=72, Resulting Numbers: [96, 72] Generated Node #0,3,1: 89:[96, 72] Operation: 35+37=72 Exploring Operation: 96+35=131, Resulting Numbers: [37, 131] Generated Node #0,3,2: 89:[37, 131] Operation: 96+35=131 Exploring Operation: 96-37=59, Resulting Numbers: [35, 59] Generated Node #0,3,3: 89:[35, 59] Operation: 96-37=59 Moving to Node #0,1 Current State: 89:[28, 96, 44], Operations: ['35+9=44'] Exploring Operation: 28+44=72, Resulting Numbers: [96, 72] Generated Node #0,1,0: 89:[96, 72] Operation: 28+44=72 Exploring Operation: 28+96=124, Resulting Numbers: [44, 124] Generated Node #0,1,1: 89:[44, 124] Operation: 28+96=124 Exploring Operation: 44-28=16, Resulting Numbers: [96, 16] Generated Node #0,1,2: 89:[96, 16] Operation: 44-28=16 Exploring Operation: 96-28=68, Resulting Numbers: [44, 68] Generated Node #0,1,3: 89:[44, 68] Operation: 96-28=68 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[96, 72], Operations: ['35+9=44', '28+44=72'] Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,89 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[44, 68], Operations: ['35+9=44', '96-28=68'] Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,89 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[44, 124], Operations: ['35+9=44', '28+96=124'] Exploring Operation: 44*124=5456, Resulting Numbers: [5456] 5456,89 unequal: No Solution Exploring Operation: 44+124=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 124-44=80, Resulting Numbers: [80] 80,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[96, 16], Operations: ['35+9=44', '44-28=16'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 96*16=1536, Resulting Numbers: [1536] 1536,89 unequal: No Solution Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,89 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: 89:[28, 35, 87], Operations: ['96-9=87'] Exploring Operation: 87-28=59, Resulting Numbers: [35, 59] Generated Node #0,2,0: 89:[35, 59] Operation: 87-28=59 Exploring Operation: 28+87=115, Resulting Numbers: [35, 115] Generated Node #0,2,1: 89:[35, 115] Operation: 28+87=115 Exploring Operation: 35-28=7, Resulting Numbers: [87, 7] Generated Node #0,2,2: 89:[87, 7] Operation: 35-28=7 Exploring Operation: 28+35=63, Resulting Numbers: [87, 63] Generated Node #0,2,3: 89:[87, 63] Operation: 28+35=63 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[87, 63], Operations: ['96-9=87', '28+35=63'] Exploring Operation: 87*63=5481, Resulting Numbers: [5481] 5481,89 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 87+63=150, Resulting Numbers: [150] 150,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:[35, 115], Operations: ['96-9=87', '28+87=115'] Exploring Operation: 35+115=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 115-35=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 35*115=4025, Resulting Numbers: [4025] 4025,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[35, 59], Operations: ['96-9=87', '87-28=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,89 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,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:[87, 7], Operations: ['96-9=87', '35-28=7'] Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,89 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 89:[96, 72], Operations: ['28+35=63', '9+63=72'] Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,89 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[96, 72], Operations: ['28+9=37', '35+37=72'] Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[63, 87], Operations: ['28+35=63', '96-9=87'] Exploring Operation: 63+87=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 63*87=5481, Resulting Numbers: [5481] 5481,89 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[96, 54], Operations: ['28+35=63', '63-9=54'] Exploring Operation: 96*54=5184, Resulting Numbers: [5184] 5184,89 unequal: No Solution Exploring Operation: 96+54=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[63, 105], Operations: ['28+35=63', '96+9=105'] Exploring Operation: 63*105=6615, Resulting Numbers: [6615] 6615,89 unequal: No Solution Exploring Operation: 63+105=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 105-63=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[37, 61], Operations: ['28+9=37', '96-35=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,89 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[35, 59], Operations: ['28+9=37', '96-37=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[37, 131], Operations: ['28+9=37', '96+35=131'] Exploring Operation: 37+131=168, Resulting Numbers: [168] 168,89 unequal: No Solution Exploring Operation: 37*131=4847, Resulting Numbers: [4847] 4847,89 unequal: No Solution Exploring Operation: 131-37=94, Resulting Numbers: [94] 94,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 64, 92, 6, 29 ]
94
[ "64-6=58", "58/29=2", "92+2=94" ]
Current State: 94:[64, 92, 6, 29], Operations: [] Exploring Operation: 64-6=58, Resulting Numbers: [92, 29, 58] Generated Node #2: [92, 29, 58] from Operation: 64-6=58 Current State: 94:[92, 29, 58], Operations: ['64-6=58'] Exploring Operation: 58/29=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 58/29=2 Current State: 94:[92, 2], Operations: ['64-6=58', '58/29=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[64, 92, 6, 29], Operations: [] Exploring Operation: 64-6=58, Resulting Numbers: [92, 29, 58] Generated Node #0,0: 94:[92, 29, 58] Operation: 64-6=58 Exploring Operation: 64-29=35, Resulting Numbers: [92, 6, 35] Generated Node #0,1: 94:[92, 6, 35] Operation: 64-29=35 Exploring Operation: 64+29=93, Resulting Numbers: [92, 6, 93] Generated Node #0,2: 94:[92, 6, 93] Operation: 64+29=93 Moving to Node #0,2 Current State: 94:[92, 6, 93], Operations: ['64+29=93'] Exploring Operation: 92+6=98, Resulting Numbers: [93, 98] Generated Node #0,2,0: 94:[93, 98] Operation: 92+6=98 Exploring Operation: 93-92=1, Resulting Numbers: [6, 1] Generated Node #0,2,1: 94:[6, 1] Operation: 93-92=1 Exploring Operation: 6+93=99, Resulting Numbers: [92, 99] Generated Node #0,2,2: 94:[92, 99] Operation: 6+93=99 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[93, 98], Operations: ['64+29=93', '92+6=98'] Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 93*98=9114, Resulting Numbers: [9114] 9114,94 unequal: No Solution Exploring Operation: 93+98=191, Resulting Numbers: [191] 191,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[6, 1], Operations: ['64+29=93', '93-92=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[92, 99], Operations: ['64+29=93', '6+93=99'] Exploring Operation: 92*99=9108, Resulting Numbers: [9108] 9108,94 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 92+99=191, Resulting Numbers: [191] 191,94 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: 94:[92, 6, 35], Operations: ['64-29=35'] Exploring Operation: 6+35=41, Resulting Numbers: [92, 41] Generated Node #0,1,0: 94:[92, 41] Operation: 6+35=41 Exploring Operation: 92+6=98, Resulting Numbers: [35, 98] Generated Node #0,1,1: 94:[35, 98] Operation: 92+6=98 Exploring Operation: 92-35=57, Resulting Numbers: [6, 57] Generated Node #0,1,2: 94:[6, 57] Operation: 92-35=57 Moving to Node #0,0 Current State: 94:[92, 29, 58], Operations: ['64-6=58'] Exploring Operation: 58-29=29, Resulting Numbers: [92, 29] Generated Node #0,0,0: 94:[92, 29] Operation: 58-29=29 Exploring Operation: 29+58=87, Resulting Numbers: [92, 87] Generated Node #0,0,1: 94:[92, 87] Operation: 29+58=87 Exploring Operation: 58/29=2, Resulting Numbers: [92, 2] Generated Node #0,0,2: 94:[92, 2] Operation: 58/29=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[92, 2], Operations: ['64-6=58', '58/29=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[64, 92, 6, 29], Operations: [] Exploring Operation: 64-6=58, Resulting Numbers: [92, 29, 58] Generated Node #0,0: 94:[92, 29, 58] Operation: 64-6=58 Moving to Node #0,0 Current State: 94:[92, 29, 58], Operations: ['64-6=58'] Exploring Operation: 58/29=2, Resulting Numbers: [92, 2] Generated Node #0,0,2: 94:[92, 2] Operation: 58/29=2 Moving to Node #0,0,2 Current State: 94:[92, 2], Operations: ['64-6=58', '58/29=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 48, 32, 13, 24 ]
27
[ "48-32=16", "24-13=11", "16+11=27" ]
Current State: 27:[48, 32, 13, 24], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [13, 24, 16] Generated Node #2: [13, 24, 16] from Operation: 48-32=16 Current State: 27:[13, 24, 16], Operations: ['48-32=16'] Exploring Operation: 24-13=11, Resulting Numbers: [16, 11] Generated Node #3: [16, 11] from Operation: 24-13=11 Current State: 27:[16, 11], Operations: ['48-32=16', '24-13=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[48, 32, 13, 24], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [32, 13, 2] Generated Node #0,0: 27:[32, 13, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [32, 13, 24] Generated Node #0,1: 27:[32, 13, 24] Operation: 48-24=24 Exploring Operation: 48-32=16, Resulting Numbers: [13, 24, 16] Generated Node #0,2: 27:[13, 24, 16] Operation: 48-32=16 Exploring Operation: 48-13=35, Resulting Numbers: [32, 24, 35] Generated Node #0,3: 27:[32, 24, 35] Operation: 48-13=35 Moving to Node #0,0 Current State: 27:[32, 13, 2], Operations: ['48/24=2'] Exploring Operation: 13*2=26, Resulting Numbers: [32, 26] Generated Node #0,0,0: 27:[32, 26] Operation: 13*2=26 Exploring Operation: 13-2=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 27:[32, 11] Operation: 13-2=11 Exploring Operation: 32-2=30, Resulting Numbers: [13, 30] Generated Node #0,0,2: 27:[13, 30] Operation: 32-2=30 Exploring Operation: 32-13=19, Resulting Numbers: [2, 19] Generated Node #0,0,3: 27:[2, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[32, 26], Operations: ['48/24=2', '13*2=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,27 unequal: No Solution No solution 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: 27:[32, 11], Operations: ['48/24=2', '13-2=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,27 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,27 unequal: No Solution No solution 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: 27:[13, 30], Operations: ['48/24=2', '32-2=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,27 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,27 unequal: No Solution No solution 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: 27:[2, 19], Operations: ['48/24=2', '32-13=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,27 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: 27:[32, 13, 24], Operations: ['48-24=24'] Exploring Operation: 32-24=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 27:[13, 8] Operation: 32-24=8 Exploring Operation: 24-13=11, Resulting Numbers: [32, 11] Generated Node #0,1,1: 27:[32, 11] Operation: 24-13=11 Exploring Operation: 32-13=19, Resulting Numbers: [24, 19] Generated Node #0,1,2: 27:[24, 19] Operation: 32-13=19 Exploring Operation: 13+24=37, Resulting Numbers: [32, 37] Generated Node #0,1,3: 27:[32, 37] Operation: 13+24=37 Moving to Node #0,2 Current State: 27:[13, 24, 16], Operations: ['48-32=16'] Exploring Operation: 16-13=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 27:[24, 3] Operation: 16-13=3 Exploring Operation: 24-13=11, Resulting Numbers: [16, 11] Generated Node #0,2,1: 27:[16, 11] Operation: 24-13=11 Exploring Operation: 13+16=29, Resulting Numbers: [24, 29] Generated Node #0,2,2: 27:[24, 29] Operation: 13+16=29 Exploring Operation: 24-16=8, Resulting Numbers: [13, 8] Generated Node #0,2,3: 27:[13, 8] Operation: 24-16=8 Moving to Node #0,3 Current State: 27:[32, 24, 35], Operations: ['48-13=35'] Exploring Operation: 35-32=3, Resulting Numbers: [24, 3] Generated Node #0,3,0: 27:[24, 3] Operation: 35-32=3 Exploring Operation: 32-24=8, Resulting Numbers: [35, 8] Generated Node #0,3,1: 27:[35, 8] Operation: 32-24=8 Exploring Operation: 32+24=56, Resulting Numbers: [35, 56] Generated Node #0,3,2: 27:[35, 56] Operation: 32+24=56 Exploring Operation: 35-24=11, Resulting Numbers: [32, 11] Generated Node #0,3,3: 27:[32, 11] Operation: 35-24=11 Moving to Node #0,2,0 Current State: 27:[24, 3], Operations: ['48-32=16', '16-13=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[48, 32, 13, 24], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [13, 24, 16] Generated Node #0,2: 27:[13, 24, 16] Operation: 48-32=16 Moving to Node #0,2 Current State: 27:[13, 24, 16], Operations: ['48-32=16'] Exploring Operation: 16-13=3, Resulting Numbers: [24, 3] Generated Node #0,2,0: 27:[24, 3] Operation: 16-13=3 Moving to Node #0,2,0 Current State: 27:[24, 3], Operations: ['48-32=16', '16-13=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 69, 29, 40, 41 ]
98
[ "69+29=98", "41-40=1", "98*1=98" ]
Current State: 98:[69, 29, 40, 41], Operations: [] Exploring Operation: 69+29=98, Resulting Numbers: [40, 41, 98] Generated Node #2: [40, 41, 98] from Operation: 69+29=98 Current State: 98:[40, 41, 98], Operations: ['69+29=98'] Exploring Operation: 41-40=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 41-40=1 Current State: 98:[98, 1], Operations: ['69+29=98', '41-40=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[69, 29, 40, 41], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [40, 41, 40] Generated Node #0,0: 98:[40, 41, 40] Operation: 69-29=40 Exploring Operation: 40-29=11, Resulting Numbers: [69, 41, 11] Generated Node #0,1: 98:[69, 41, 11] Operation: 40-29=11 Exploring Operation: 69+29=98, Resulting Numbers: [40, 41, 98] Generated Node #0,2: 98:[40, 41, 98] Operation: 69+29=98 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[40, 41, 98], Operations: ['69+29=98'] Exploring Operation: 98-40=58, Resulting Numbers: [41, 58] Generated Node #0,2,0: 98:[41, 58] Operation: 98-40=58 Exploring Operation: 41-40=1, Resulting Numbers: [98, 1] Generated Node #0,2,1: 98:[98, 1] Operation: 41-40=1 Exploring Operation: 40+41=81, Resulting Numbers: [98, 81] Generated Node #0,2,2: 98:[98, 81] Operation: 40+41=81 Moving to Node #0,2,1 Current State: 98:[98, 1], Operations: ['69+29=98', '41-40=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[69, 29, 40, 41], Operations: [] Exploring Operation: 69+29=98, Resulting Numbers: [40, 41, 98] Generated Node #0,2: 98:[40, 41, 98] Operation: 69+29=98 Moving to Node #0,2 Current State: 98:[40, 41, 98], Operations: ['69+29=98'] Exploring Operation: 41-40=1, Resulting Numbers: [98, 1] Generated Node #0,2,1: 98:[98, 1] Operation: 41-40=1 Moving to Node #0,2,1 Current State: 98:[98, 1], Operations: ['69+29=98', '41-40=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 79, 29, 55, 30 ]
23
[ "79+29=108", "55+30=85", "108-85=23" ]
Current State: 23:[79, 29, 55, 30], Operations: [] Exploring Operation: 79+29=108, Resulting Numbers: [55, 30, 108] Generated Node #2: [55, 30, 108] from Operation: 79+29=108 Current State: 23:[55, 30, 108], Operations: ['79+29=108'] Exploring Operation: 55+30=85, Resulting Numbers: [108, 85] Generated Node #3: [108, 85] from Operation: 55+30=85 Current State: 23:[108, 85], Operations: ['79+29=108', '55+30=85'] Exploring Operation: 108-85=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[79, 29, 55, 30], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [79, 29, 25] Generated Node #0,0: 23:[79, 29, 25] Operation: 55-30=25 Exploring Operation: 79-55=24, Resulting Numbers: [29, 30, 24] Generated Node #0,1: 23:[29, 30, 24] Operation: 79-55=24 Exploring Operation: 79-30=49, Resulting Numbers: [29, 55, 49] Generated Node #0,2: 23:[29, 55, 49] Operation: 79-30=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[29, 30, 24], Operations: ['79-55=24'] Exploring Operation: 30-24=6, Resulting Numbers: [29, 6] Generated Node #0,1,0: 23:[29, 6] Operation: 30-24=6 Exploring Operation: 29-24=5, Resulting Numbers: [30, 5] Generated Node #0,1,1: 23:[30, 5] Operation: 29-24=5 Exploring Operation: 30-29=1, Resulting Numbers: [24, 1] Generated Node #0,1,2: 23:[24, 1] Operation: 30-29=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[29, 6], Operations: ['79-55=24', '30-24=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,23 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[79, 29, 55, 30], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [29, 30, 24] Generated Node #0,1: 23:[29, 30, 24] Operation: 79-55=24 Moving to Node #0,1 Current State: 23:[29, 30, 24], Operations: ['79-55=24'] Exploring Operation: 30-24=6, Resulting Numbers: [29, 6] Generated Node #0,1,0: 23:[29, 6] Operation: 30-24=6 Moving to Node #0,1,0 Current State: 23:[29, 6], Operations: ['79-55=24', '30-24=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 76, 59, 44, 45 ]
47
[ "76+59=135", "135/45=3", "44+3=47" ]
Current State: 47:[76, 59, 44, 45], Operations: [] Exploring Operation: 76+59=135, Resulting Numbers: [44, 45, 135] Generated Node #2: [44, 45, 135] from Operation: 76+59=135 Current State: 47:[44, 45, 135], Operations: ['76+59=135'] Exploring Operation: 135/45=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 135/45=3 Current State: 47:[44, 3], Operations: ['76+59=135', '135/45=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[76, 59, 44, 45], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [44, 45, 17] Generated Node #0,0: 47:[44, 45, 17] Operation: 76-59=17 Exploring Operation: 76-44=32, Resulting Numbers: [59, 45, 32] Generated Node #0,1: 47:[59, 45, 32] Operation: 76-44=32 Exploring Operation: 76-45=31, Resulting Numbers: [59, 44, 31] Generated Node #0,2: 47:[59, 44, 31] Operation: 76-45=31 Exploring Operation: 59-44=15, Resulting Numbers: [76, 45, 15] Generated Node #0,3: 47:[76, 45, 15] Operation: 59-44=15 Moving to Node #0,1 Current State: 47:[59, 45, 32], Operations: ['76-44=32'] Exploring Operation: 45-32=13, Resulting Numbers: [59, 13] Generated Node #0,1,0: 47:[59, 13] Operation: 45-32=13 Exploring Operation: 59-32=27, Resulting Numbers: [45, 27] Generated Node #0,1,1: 47:[45, 27] Operation: 59-32=27 Exploring Operation: 45+32=77, Resulting Numbers: [59, 77] Generated Node #0,1,2: 47:[59, 77] Operation: 45+32=77 Exploring Operation: 59+32=91, Resulting Numbers: [45, 91] Generated Node #0,1,3: 47:[45, 91] Operation: 59+32=91 Moving to Node #0,2 Current State: 47:[59, 44, 31], Operations: ['76-45=31'] Exploring Operation: 44+31=75, Resulting Numbers: [59, 75] Generated Node #0,2,0: 47:[59, 75] Operation: 44+31=75 Exploring Operation: 44-31=13, Resulting Numbers: [59, 13] Generated Node #0,2,1: 47:[59, 13] Operation: 44-31=13 Exploring Operation: 59+31=90, Resulting Numbers: [44, 90] Generated Node #0,2,2: 47:[44, 90] Operation: 59+31=90 Exploring Operation: 59-31=28, Resulting Numbers: [44, 28] Generated Node #0,2,3: 47:[44, 28] Operation: 59-31=28 Moving to Node #0,0 Current State: 47:[44, 45, 17], Operations: ['76-59=17'] Exploring Operation: 45+17=62, Resulting Numbers: [44, 62] Generated Node #0,0,0: 47:[44, 62] Operation: 45+17=62 Exploring Operation: 44+17=61, Resulting Numbers: [45, 61] Generated Node #0,0,1: 47:[45, 61] Operation: 44+17=61 Exploring Operation: 45-17=28, Resulting Numbers: [44, 28] Generated Node #0,0,2: 47:[44, 28] Operation: 45-17=28 Exploring Operation: 44-17=27, Resulting Numbers: [45, 27] Generated Node #0,0,3: 47:[45, 27] Operation: 44-17=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[45, 61], Operations: ['76-59=17', '44+17=61'] Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,47 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,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,0 Current State: 47:[44, 62], Operations: ['76-59=17', '45+17=62'] Exploring Operation: 44*62=2728, Resulting Numbers: [2728] 2728,47 unequal: No Solution Exploring Operation: 44+62=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,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:[44, 28], Operations: ['76-59=17', '45-17=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,47 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,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,3 Current State: 47:[45, 27], Operations: ['76-59=17', '44-17=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,47 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: 47:[76, 45, 15], Operations: ['59-44=15'] Exploring Operation: 76+15=91, Resulting Numbers: [45, 91] Generated Node #0,3,0: 47:[45, 91] Operation: 76+15=91 Exploring Operation: 45+15=60, Resulting Numbers: [76, 60] Generated Node #0,3,1: 47:[76, 60] Operation: 45+15=60 Exploring Operation: 76-15=61, Resulting Numbers: [45, 61] Generated Node #0,3,2: 47:[45, 61] Operation: 76-15=61 Exploring Operation: 45-15=30, Resulting Numbers: [76, 30] Generated Node #0,3,3: 47:[76, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[45, 61], Operations: ['59-44=15', '76-15=61'] Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,47 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,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,3,1 Current State: 47:[76, 60], Operations: ['59-44=15', '45+15=60'] Exploring Operation: 76+60=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 76*60=4560, Resulting Numbers: [4560] 4560,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,3,0 Current State: 47:[45, 91], Operations: ['59-44=15', '76+15=91'] Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,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,3,3 Current State: 47:[76, 30], Operations: ['59-44=15', '45-15=30'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,47 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 47:[45, 27], Operations: ['76-44=32', '59-32=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,47 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[44, 28], Operations: ['76-45=31', '59-31=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,47 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[59, 75], Operations: ['76-45=31', '44+31=75'] Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,47 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[59, 77], Operations: ['76-44=32', '45+32=77'] Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,47 unequal: No Solution Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[59, 13], Operations: ['76-44=32', '45-32=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[59, 13], Operations: ['76-45=31', '44-31=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[44, 90], Operations: ['76-45=31', '59+31=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,47 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[45, 91], Operations: ['76-44=32', '59+32=91'] Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,47 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,47 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 17, 95, 85, 19 ]
81
[ "85/17=5", "95-19=76", "5+76=81" ]
Current State: 81:[17, 95, 85, 19], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [95, 19, 5] Generated Node #2: [95, 19, 5] from Operation: 85/17=5 Current State: 81:[95, 19, 5], Operations: ['85/17=5'] Exploring Operation: 95-19=76, Resulting Numbers: [5, 76] Generated Node #3: [5, 76] from Operation: 95-19=76 Current State: 81:[5, 76], Operations: ['85/17=5', '95-19=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[17, 95, 85, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [95, 85, 2] Generated Node #0,0: 81:[95, 85, 2] Operation: 19-17=2 Exploring Operation: 95-85=10, Resulting Numbers: [17, 19, 10] Generated Node #0,1: 81:[17, 19, 10] Operation: 95-85=10 Exploring Operation: 95/19=5, Resulting Numbers: [17, 85, 5] Generated Node #0,2: 81:[17, 85, 5] Operation: 95/19=5 Exploring Operation: 95-17=78, Resulting Numbers: [85, 19, 78] Generated Node #0,3: 81:[85, 19, 78] Operation: 95-17=78 Exploring Operation: 95-19=76, Resulting Numbers: [17, 85, 76] Generated Node #0,4: 81:[17, 85, 76] Operation: 95-19=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[17, 85, 5], Operations: ['95/19=5'] Exploring Operation: 85-5=80, Resulting Numbers: [17, 80] Generated Node #0,2,0: 81:[17, 80] Operation: 85-5=80 Exploring Operation: 85/17=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 81:[5, 5] Operation: 85/17=5 Exploring Operation: 17-5=12, Resulting Numbers: [85, 12] Generated Node #0,2,2: 81:[85, 12] Operation: 17-5=12 Exploring Operation: 17*5=85, Resulting Numbers: [85, 85] Generated Node #0,2,3: 81:[85, 85] Operation: 17*5=85 Exploring Operation: 17+5=22, Resulting Numbers: [85, 22] Generated Node #0,2,4: 81:[85, 22] Operation: 17+5=22 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[5, 5], Operations: ['95/19=5', '85/17=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,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,2,2 Current State: 81:[85, 12], Operations: ['95/19=5', '17-5=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,81 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,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,2,3 Current State: 81:[85, 85], Operations: ['95/19=5', '17*5=85'] Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,81 unequal: No Solution Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,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,2,0 Current State: 81:[17, 80], Operations: ['95/19=5', '85-5=80'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,81 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,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,2,4 Current State: 81:[85, 22], Operations: ['95/19=5', '17+5=22'] Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,81 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[85, 19, 78], Operations: ['95-17=78'] Exploring Operation: 85+19=104, Resulting Numbers: [78, 104] Generated Node #0,3,0: 81:[78, 104] Operation: 85+19=104 Exploring Operation: 85-78=7, Resulting Numbers: [19, 7] Generated Node #0,3,1: 81:[19, 7] Operation: 85-78=7 Exploring Operation: 85-19=66, Resulting Numbers: [78, 66] Generated Node #0,3,2: 81:[78, 66] Operation: 85-19=66 Exploring Operation: 19+78=97, Resulting Numbers: [85, 97] Generated Node #0,3,3: 81:[85, 97] Operation: 19+78=97 Exploring Operation: 78-19=59, Resulting Numbers: [85, 59] Generated Node #0,3,4: 81:[85, 59] Operation: 78-19=59 Moving to Node #0,3,1 Current State: 81:[19, 7], Operations: ['95-17=78', '85-78=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[78, 66], Operations: ['95-17=78', '85-19=66'] Exploring Operation: 78+66=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 78*66=5148, Resulting Numbers: [5148] 5148,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[85, 97], Operations: ['95-17=78', '19+78=97'] Exploring Operation: 85*97=8245, Resulting Numbers: [8245] 8245,81 unequal: No Solution Exploring Operation: 85+97=182, Resulting Numbers: [182] 182,81 unequal: No Solution Exploring Operation: 97-85=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[78, 104], Operations: ['95-17=78', '85+19=104'] Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,81 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[85, 59], Operations: ['95-17=78', '78-19=59'] Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,81 unequal: No Solution Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[17, 19, 10], Operations: ['95-85=10'] Exploring Operation: 17-10=7, Resulting Numbers: [19, 7] Generated Node #0,1,0: 81:[19, 7] Operation: 17-10=7 Exploring Operation: 17+10=27, Resulting Numbers: [19, 27] Generated Node #0,1,1: 81:[19, 27] Operation: 17+10=27 Exploring Operation: 19-10=9, Resulting Numbers: [17, 9] Generated Node #0,1,2: 81:[17, 9] Operation: 19-10=9 Exploring Operation: 17+19=36, Resulting Numbers: [10, 36] Generated Node #0,1,3: 81:[10, 36] Operation: 17+19=36 Exploring Operation: 19-17=2, Resulting Numbers: [10, 2] Generated Node #0,1,4: 81:[10, 2] Operation: 19-17=2 Moving to Node #0,1,4 Current State: 81:[10, 2], Operations: ['95-85=10', '19-17=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[17, 9], Operations: ['95-85=10', '19-10=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,81 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[19, 27], Operations: ['95-85=10', '17+10=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,81 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[19, 7], Operations: ['95-85=10', '17-10=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[10, 36], Operations: ['95-85=10', '17+19=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,81 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[17, 85, 76], Operations: ['95-19=76'] Exploring Operation: 85/17=5, Resulting Numbers: [76, 5] Generated Node #0,4,0: 81:[76, 5] Operation: 85/17=5 Exploring Operation: 17+76=93, Resulting Numbers: [85, 93] Generated Node #0,4,1: 81:[85, 93] Operation: 17+76=93 Exploring Operation: 85-76=9, Resulting Numbers: [17, 9] Generated Node #0,4,2: 81:[17, 9] Operation: 85-76=9 Exploring Operation: 85-17=68, Resulting Numbers: [76, 68] Generated Node #0,4,3: 81:[76, 68] Operation: 85-17=68 Exploring Operation: 17+85=102, Resulting Numbers: [76, 102] Generated Node #0,4,4: 81:[76, 102] Operation: 17+85=102 Moving to Node #0,4,0 Current State: 81:[76, 5], Operations: ['95-19=76', '85/17=5'] Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,81 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[17, 95, 85, 19], Operations: [] Exploring Operation: 95-19=76, Resulting Numbers: [17, 85, 76] Generated Node #0,4: 81:[17, 85, 76] Operation: 95-19=76 Moving to Node #0,4 Current State: 81:[17, 85, 76], Operations: ['95-19=76'] Exploring Operation: 85/17=5, Resulting Numbers: [76, 5] Generated Node #0,4,0: 81:[76, 5] Operation: 85/17=5 Moving to Node #0,4,0 Current State: 81:[76, 5], Operations: ['95-19=76', '85/17=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.930556
hs_5
sum_heuristic
[ 4, 85, 38, 16 ]
17
[ "4*16=64", "85-38=47", "64-47=17" ]
Current State: 17:[4, 85, 38, 16], Operations: [] Exploring Operation: 4*16=64, Resulting Numbers: [85, 38, 64] Generated Node #2: [85, 38, 64] from Operation: 4*16=64 Current State: 17:[85, 38, 64], Operations: ['4*16=64'] Exploring Operation: 85-38=47, Resulting Numbers: [64, 47] Generated Node #3: [64, 47] from Operation: 85-38=47 Current State: 17:[64, 47], Operations: ['4*16=64', '85-38=47'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 85, 38, 16], Operations: [] Exploring Operation: 85-38=47, Resulting Numbers: [4, 16, 47] Generated Node #0,0: 17:[4, 16, 47] Operation: 85-38=47 Exploring Operation: 85-4=81, Resulting Numbers: [38, 16, 81] Generated Node #0,1: 17:[38, 16, 81] Operation: 85-4=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[4, 16, 47], Operations: ['85-38=47'] Exploring Operation: 47-4=43, Resulting Numbers: [16, 43] Generated Node #0,0,0: 17:[16, 43] Operation: 47-4=43 Exploring Operation: 47-16=31, Resulting Numbers: [4, 31] Generated Node #0,0,1: 17:[4, 31] Operation: 47-16=31 Moving to Node #0,0,0 Current State: 17:[16, 43], Operations: ['85-38=47', '47-4=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[4, 31], Operations: ['85-38=47', '47-16=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[38, 16, 81], Operations: ['85-4=81'] Exploring Operation: 38-16=22, Resulting Numbers: [81, 22] Generated Node #0,1,0: 17:[81, 22] Operation: 38-16=22 Exploring Operation: 81-38=43, Resulting Numbers: [16, 43] Generated Node #0,1,1: 17:[16, 43] Operation: 81-38=43 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[16, 43], Operations: ['85-4=81', '81-38=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 43-16=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:[81, 22], Operations: ['85-4=81', '38-16=22'] Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,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_2
mult_heuristic
[ 21, 77, 11, 64 ]
19
[ "77-21=56", "11+64=75", "75-56=19" ]
Current State: 19:[21, 77, 11, 64], Operations: [] Exploring Operation: 77-21=56, Resulting Numbers: [11, 64, 56] Generated Node #2: [11, 64, 56] from Operation: 77-21=56 Current State: 19:[11, 64, 56], Operations: ['77-21=56'] Exploring Operation: 11+64=75, Resulting Numbers: [56, 75] Generated Node #3: [56, 75] from Operation: 11+64=75 Current State: 19:[56, 75], Operations: ['77-21=56', '11+64=75'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[21, 77, 11, 64], Operations: [] Exploring Operation: 77-64=13, Resulting Numbers: [21, 11, 13] Generated Node #0,0: 19:[21, 11, 13] Operation: 77-64=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[21, 11, 13], Operations: ['77-64=13'] Exploring Operation: 11+13=24, Resulting Numbers: [21, 24] Generated Node #0,0,0: 19:[21, 24] Operation: 11+13=24 Moving to Node #0,0,0 Current State: 19:[21, 24], Operations: ['77-64=13', '11+13=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 29, 36, 17, 4 ]
40
[ "36-29=7", "17-7=10", "4*10=40" ]
Current State: 40:[29, 36, 17, 4], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [17, 4, 7] Generated Node #2: [17, 4, 7] from Operation: 36-29=7 Current State: 40:[17, 4, 7], Operations: ['36-29=7'] Exploring Operation: 17-7=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 17-7=10 Current State: 40:[4, 10], Operations: ['36-29=7', '17-7=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[29, 36, 17, 4], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [36, 4, 12] Generated Node #0,0: 40:[36, 4, 12] Operation: 29-17=12 Exploring Operation: 36-29=7, Resulting Numbers: [17, 4, 7] Generated Node #0,1: 40:[17, 4, 7] Operation: 36-29=7 Exploring Operation: 36-17=19, Resulting Numbers: [29, 4, 19] Generated Node #0,2: 40:[29, 4, 19] Operation: 36-17=19 Exploring Operation: 29+17=46, Resulting Numbers: [36, 4, 46] Generated Node #0,3: 40:[36, 4, 46] Operation: 29+17=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[17, 4, 7], Operations: ['36-29=7'] Exploring Operation: 17+7=24, Resulting Numbers: [4, 24] Generated Node #0,1,0: 40:[4, 24] Operation: 17+7=24 Exploring Operation: 17-7=10, Resulting Numbers: [4, 10] Generated Node #0,1,1: 40:[4, 10] Operation: 17-7=10 Exploring Operation: 17-4=13, Resulting Numbers: [7, 13] Generated Node #0,1,2: 40:[7, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [7, 21] Generated Node #0,1,3: 40:[7, 21] Operation: 17+4=21 Moving to Node #0,1,1 Current State: 40:[4, 10], Operations: ['36-29=7', '17-7=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[29, 36, 17, 4], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [17, 4, 7] Generated Node #0,1: 40:[17, 4, 7] Operation: 36-29=7 Moving to Node #0,1 Current State: 40:[17, 4, 7], Operations: ['36-29=7'] Exploring Operation: 17-7=10, Resulting Numbers: [4, 10] Generated Node #0,1,1: 40:[4, 10] Operation: 17-7=10 Moving to Node #0,1,1 Current State: 40:[4, 10], Operations: ['36-29=7', '17-7=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 66, 70, 2, 94 ]
86
[ "70-66=4", "2*4=8", "94-8=86" ]
Current State: 86:[66, 70, 2, 94], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [2, 94, 4] Generated Node #2: [2, 94, 4] from Operation: 70-66=4 Current State: 86:[2, 94, 4], Operations: ['70-66=4'] Exploring Operation: 2*4=8, Resulting Numbers: [94, 8] Generated Node #3: [94, 8] from Operation: 2*4=8 Current State: 86:[94, 8], Operations: ['70-66=4', '2*4=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[66, 70, 2, 94], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [66, 94, 35] Generated Node #0,0: 86:[66, 94, 35] Operation: 70/2=35 Exploring Operation: 70-66=4, Resulting Numbers: [2, 94, 4] Generated Node #0,1: 86:[2, 94, 4] Operation: 70-66=4 Exploring Operation: 66/2=33, Resulting Numbers: [70, 94, 33] Generated Node #0,2: 86:[70, 94, 33] Operation: 66/2=33 Exploring Operation: 94-66=28, Resulting Numbers: [70, 2, 28] Generated Node #0,3: 86:[70, 2, 28] Operation: 94-66=28 Moving to Node #0,1 Current State: 86:[2, 94, 4], Operations: ['70-66=4'] Exploring Operation: 4-2=2, Resulting Numbers: [94, 2] Generated Node #0,1,0: 86:[94, 2] Operation: 4-2=2 Exploring Operation: 94-2=92, Resulting Numbers: [4, 92] Generated Node #0,1,1: 86:[4, 92] Operation: 94-2=92 Exploring Operation: 94-4=90, Resulting Numbers: [2, 90] Generated Node #0,1,2: 86:[2, 90] Operation: 94-4=90 Exploring Operation: 94/2=47, Resulting Numbers: [4, 47] Generated Node #0,1,3: 86:[4, 47] Operation: 94/2=47 Moving to Node #0,3 Current State: 86:[70, 2, 28], Operations: ['94-66=28'] Exploring Operation: 70+28=98, Resulting Numbers: [2, 98] Generated Node #0,3,0: 86:[2, 98] Operation: 70+28=98 Exploring Operation: 70-28=42, Resulting Numbers: [2, 42] Generated Node #0,3,1: 86:[2, 42] Operation: 70-28=42 Exploring Operation: 28/2=14, Resulting Numbers: [70, 14] Generated Node #0,3,2: 86:[70, 14] Operation: 28/2=14 Exploring Operation: 70/2=35, Resulting Numbers: [28, 35] Generated Node #0,3,3: 86:[28, 35] Operation: 70/2=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[2, 42], Operations: ['94-66=28', '70-28=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[2, 98], Operations: ['94-66=28', '70+28=98'] Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,86 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[28, 35], Operations: ['94-66=28', '70/2=35'] Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,86 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[70, 14], Operations: ['94-66=28', '28/2=14'] Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,86 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,86 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: 86:[70, 94, 33], Operations: ['66/2=33'] Exploring Operation: 94-70=24, Resulting Numbers: [33, 24] Generated Node #0,2,0: 86:[33, 24] Operation: 94-70=24 Exploring Operation: 70-33=37, Resulting Numbers: [94, 37] Generated Node #0,2,1: 86:[94, 37] Operation: 70-33=37 Exploring Operation: 94-33=61, Resulting Numbers: [70, 61] Generated Node #0,2,2: 86:[70, 61] Operation: 94-33=61 Exploring Operation: 70+33=103, Resulting Numbers: [94, 103] Generated Node #0,2,3: 86:[94, 103] Operation: 70+33=103 Moving to Node #0,0 Current State: 86:[66, 94, 35], Operations: ['70/2=35'] Exploring Operation: 66-35=31, Resulting Numbers: [94, 31] Generated Node #0,0,0: 86:[94, 31] Operation: 66-35=31 Exploring Operation: 94-66=28, Resulting Numbers: [35, 28] Generated Node #0,0,1: 86:[35, 28] Operation: 94-66=28 Exploring Operation: 66+35=101, Resulting Numbers: [94, 101] Generated Node #0,0,2: 86:[94, 101] Operation: 66+35=101 Exploring Operation: 94-35=59, Resulting Numbers: [66, 59] Generated Node #0,0,3: 86:[66, 59] Operation: 94-35=59 Moving to Node #0,1,2 Current State: 86:[2, 90], Operations: ['70-66=4', '94-4=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,86 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[4, 47], Operations: ['70-66=4', '94/2=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[94, 2], Operations: ['70-66=4', '4-2=2'] Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,86 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[4, 92], Operations: ['70-66=4', '94-2=92'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 4+92=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 4*92=368, Resulting Numbers: [368] 368,86 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[94, 37], Operations: ['66/2=33', '70-33=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,86 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[94, 31], Operations: ['70/2=35', '66-35=31'] Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 94+31=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 94*31=2914, Resulting Numbers: [2914] 2914,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[94, 101], Operations: ['70/2=35', '66+35=101'] Exploring Operation: 101-94=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 94+101=195, Resulting Numbers: [195] 195,86 unequal: No Solution Exploring Operation: 94*101=9494, Resulting Numbers: [9494] 9494,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[35, 28], Operations: ['70/2=35', '94-66=28'] Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,86 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,86 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[94, 103], Operations: ['66/2=33', '70+33=103'] Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,86 unequal: No Solution Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[33, 24], Operations: ['66/2=33', '94-70=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,86 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[70, 61], Operations: ['66/2=33', '94-33=61'] Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,86 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[66, 59], Operations: ['70/2=35', '94-35=59'] Exploring Operation: 66+59=125, Resulting Numbers: [125] 125,86 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 66*59=3894, Resulting Numbers: [3894] 3894,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 44, 14, 28, 48 ]
98
[ "48-44=4", "14*28=392", "392/4=98" ]
Current State: 98:[44, 14, 28, 48], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [14, 28, 4] Generated Node #2: [14, 28, 4] from Operation: 48-44=4 Current State: 98:[14, 28, 4], Operations: ['48-44=4'] Exploring Operation: 14*28=392, Resulting Numbers: [4, 392] Generated Node #3: [4, 392] from Operation: 14*28=392 Current State: 98:[4, 392], Operations: ['48-44=4', '14*28=392'] Exploring Operation: 392/4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[44, 14, 28, 48], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [44, 48, 14] Generated Node #0,0: 98:[44, 48, 14] Operation: 28-14=14 Exploring Operation: 44-28=16, Resulting Numbers: [14, 48, 16] Generated Node #0,1: 98:[14, 48, 16] Operation: 44-28=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[14, 48, 16], Operations: ['44-28=16'] Exploring Operation: 16-14=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 98:[48, 2] Operation: 16-14=2 Exploring Operation: 48/16=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 98:[14, 3] Operation: 48/16=3 Moving to Node #0,1,0 Current State: 98:[48, 2], Operations: ['44-28=16', '16-14=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,98 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[14, 3], Operations: ['44-28=16', '48/16=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[44, 48, 14], Operations: ['28-14=14'] Exploring Operation: 48-44=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 98:[14, 4] Operation: 48-44=4 Exploring Operation: 44+48=92, Resulting Numbers: [14, 92] Generated Node #0,0,1: 98:[14, 92] Operation: 44+48=92 Moving to Node #0,0,0 Current State: 98:[14, 4], Operations: ['28-14=14', '48-44=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[14, 92], Operations: ['28-14=14', '44+48=92'] Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,98 unequal: No Solution Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,98 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
[ 6, 68, 40, 7 ]
58
[ "40*7=280", "68+280=348", "348/6=58" ]
Current State: 58:[6, 68, 40, 7], Operations: [] Exploring Operation: 40*7=280, Resulting Numbers: [6, 68, 280] Generated Node #2: [6, 68, 280] from Operation: 40*7=280 Current State: 58:[6, 68, 280], Operations: ['40*7=280'] Exploring Operation: 68+280=348, Resulting Numbers: [6, 348] Generated Node #3: [6, 348] from Operation: 68+280=348 Current State: 58:[6, 348], Operations: ['40*7=280', '68+280=348'] Exploring Operation: 348/6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[6, 68, 40, 7], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [6, 7, 28] Generated Node #0,0: 58:[6, 7, 28] Operation: 68-40=28 Exploring Operation: 68-6=62, Resulting Numbers: [40, 7, 62] Generated Node #0,1: 58:[40, 7, 62] Operation: 68-6=62 Exploring Operation: 68-7=61, Resulting Numbers: [6, 40, 61] Generated Node #0,2: 58:[6, 40, 61] Operation: 68-7=61 Exploring Operation: 40-7=33, Resulting Numbers: [6, 68, 33] Generated Node #0,3: 58:[6, 68, 33] Operation: 40-7=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[6, 7, 28], Operations: ['68-40=28'] Exploring Operation: 7-6=1, Resulting Numbers: [28, 1] Generated Node #0,0,0: 58:[28, 1] Operation: 7-6=1 Exploring Operation: 6+28=34, Resulting Numbers: [7, 34] Generated Node #0,0,1: 58:[7, 34] Operation: 6+28=34 Exploring Operation: 28/7=4, Resulting Numbers: [6, 4] Generated Node #0,0,2: 58:[6, 4] Operation: 28/7=4 Exploring Operation: 7+28=35, Resulting Numbers: [6, 35] Generated Node #0,0,3: 58:[6, 35] Operation: 7+28=35 Moving to Node #0,0,0 Current State: 58:[28, 1], Operations: ['68-40=28', '7-6=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[6, 4], Operations: ['68-40=28', '28/7=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[6, 35], Operations: ['68-40=28', '7+28=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,58 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[7, 34], Operations: ['68-40=28', '6+28=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,58 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,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,2 Current State: 58:[6, 40, 61], Operations: ['68-7=61'] Exploring Operation: 61-6=55, Resulting Numbers: [40, 55] Generated Node #0,2,0: 58:[40, 55] Operation: 61-6=55 Exploring Operation: 40-6=34, Resulting Numbers: [61, 34] Generated Node #0,2,1: 58:[61, 34] Operation: 40-6=34 Exploring Operation: 61-40=21, Resulting Numbers: [6, 21] Generated Node #0,2,2: 58:[6, 21] Operation: 61-40=21 Exploring Operation: 6+40=46, Resulting Numbers: [61, 46] Generated Node #0,2,3: 58:[61, 46] Operation: 6+40=46 Moving to Node #0,2,1 Current State: 58:[61, 34], Operations: ['68-7=61', '40-6=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[6, 21], Operations: ['68-7=61', '61-40=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,58 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[40, 55], Operations: ['68-7=61', '61-6=55'] Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,58 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[61, 46], Operations: ['68-7=61', '6+40=46'] Exploring Operation: 61*46=2806, Resulting Numbers: [2806] 2806,58 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 61+46=107, Resulting Numbers: [107] 107,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 Current State: 58:[6, 68, 33], Operations: ['40-7=33'] Exploring Operation: 68-33=35, Resulting Numbers: [6, 35] Generated Node #0,3,0: 58:[6, 35] Operation: 68-33=35 Exploring Operation: 68-6=62, Resulting Numbers: [33, 62] Generated Node #0,3,1: 58:[33, 62] Operation: 68-6=62 Exploring Operation: 6+68=74, Resulting Numbers: [33, 74] Generated Node #0,3,2: 58:[33, 74] Operation: 6+68=74 Exploring Operation: 33-6=27, Resulting Numbers: [68, 27] Generated Node #0,3,3: 58:[68, 27] Operation: 33-6=27 Moving to Node #0,3,1 Current State: 58:[33, 62], Operations: ['40-7=33', '68-6=62'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,58 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[6, 35], Operations: ['40-7=33', '68-33=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,58 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[68, 27], Operations: ['40-7=33', '33-6=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[33, 74], Operations: ['40-7=33', '6+68=74'] Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,58 unequal: No Solution Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,58 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,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,1 Current State: 58:[40, 7, 62], Operations: ['68-6=62'] Exploring Operation: 40+7=47, Resulting Numbers: [62, 47] Generated Node #0,1,0: 58:[62, 47] Operation: 40+7=47 Exploring Operation: 40-7=33, Resulting Numbers: [62, 33] Generated Node #0,1,1: 58:[62, 33] Operation: 40-7=33 Exploring Operation: 62-40=22, Resulting Numbers: [7, 22] Generated Node #0,1,2: 58:[7, 22] Operation: 62-40=22 Exploring Operation: 62-7=55, Resulting Numbers: [40, 55] Generated Node #0,1,3: 58:[40, 55] Operation: 62-7=55 Moving to Node #0,1,1 Current State: 58:[62, 33], Operations: ['68-6=62', '40-7=33'] Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,58 unequal: No Solution Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[7, 22], Operations: ['68-6=62', '62-40=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,58 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[40, 55], Operations: ['68-6=62', '62-7=55'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,58 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[62, 47], Operations: ['68-6=62', '40+7=47'] Exploring Operation: 62*47=2914, Resulting Numbers: [2914] 2914,58 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 62+47=109, Resulting Numbers: [109] 109,58 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
[ 90, 29, 36, 63 ]
38
[ "90-29=61", "36+63=99", "99-61=38" ]
Current State: 38:[90, 29, 36, 63], Operations: [] Exploring Operation: 90-29=61, Resulting Numbers: [36, 63, 61] Generated Node #2: [36, 63, 61] from Operation: 90-29=61 Current State: 38:[36, 63, 61], Operations: ['90-29=61'] Exploring Operation: 36+63=99, Resulting Numbers: [61, 99] Generated Node #3: [61, 99] from Operation: 36+63=99 Current State: 38:[61, 99], Operations: ['90-29=61', '36+63=99'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[90, 29, 36, 63], Operations: [] Exploring Operation: 90-29=61, Resulting Numbers: [36, 63, 61] Generated Node #0,0: 38:[36, 63, 61] Operation: 90-29=61 Exploring Operation: 90-63=27, Resulting Numbers: [29, 36, 27] Generated Node #0,1: 38:[29, 36, 27] Operation: 90-63=27 Exploring Operation: 63-29=34, Resulting Numbers: [90, 36, 34] Generated Node #0,2: 38:[90, 36, 34] Operation: 63-29=34 Exploring Operation: 90-36=54, Resulting Numbers: [29, 63, 54] Generated Node #0,3: 38:[29, 63, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[29, 36, 27], Operations: ['90-63=27'] Exploring Operation: 29+27=56, Resulting Numbers: [36, 56] Generated Node #0,1,0: 38:[36, 56] Operation: 29+27=56 Exploring Operation: 36-27=9, Resulting Numbers: [29, 9] Generated Node #0,1,1: 38:[29, 9] Operation: 36-27=9 Exploring Operation: 29-27=2, Resulting Numbers: [36, 2] Generated Node #0,1,2: 38:[36, 2] Operation: 29-27=2 Exploring Operation: 36-29=7, Resulting Numbers: [27, 7] Generated Node #0,1,3: 38:[27, 7] Operation: 36-29=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[36, 2], Operations: ['90-63=27', '29-27=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[90, 29, 36, 63], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [29, 36, 27] Generated Node #0,1: 38:[29, 36, 27] Operation: 90-63=27 Moving to Node #0,1 Current State: 38:[29, 36, 27], Operations: ['90-63=27'] Exploring Operation: 29-27=2, Resulting Numbers: [36, 2] Generated Node #0,1,2: 38:[36, 2] Operation: 29-27=2 Moving to Node #0,1,2 Current State: 38:[36, 2], Operations: ['90-63=27', '29-27=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 50, 43, 41, 17 ]
69
[ "50+43=93", "41-17=24", "93-24=69" ]
Current State: 69:[50, 43, 41, 17], Operations: [] Exploring Operation: 50+43=93, Resulting Numbers: [41, 17, 93] Generated Node #2: [41, 17, 93] from Operation: 50+43=93 Current State: 69:[41, 17, 93], Operations: ['50+43=93'] Exploring Operation: 41-17=24, Resulting Numbers: [93, 24] Generated Node #3: [93, 24] from Operation: 41-17=24 Current State: 69:[93, 24], Operations: ['50+43=93', '41-17=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[50, 43, 41, 17], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [50, 17, 2] Generated Node #0,0: 69:[50, 17, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 69:[50, 17, 2], Operations: ['43-41=2'] Exploring Operation: 50+17=67, Resulting Numbers: [2, 67] Generated Node #0,0,0: 69:[2, 67] Operation: 50+17=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[2, 67], Operations: ['43-41=2', '50+17=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[50, 43, 41, 17], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [50, 17, 2] Generated Node #0,0: 69:[50, 17, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 69:[50, 17, 2], Operations: ['43-41=2'] Exploring Operation: 50+17=67, Resulting Numbers: [2, 67] Generated Node #0,0,0: 69:[2, 67] Operation: 50+17=67 Moving to Node #0,0,0 Current State: 69:[2, 67], Operations: ['43-41=2', '50+17=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 43, 12, 60, 24 ]
91
[ "43+12=55", "60-24=36", "55+36=91" ]
Current State: 91:[43, 12, 60, 24], Operations: [] Exploring Operation: 43+12=55, Resulting Numbers: [60, 24, 55] Generated Node #2: [60, 24, 55] from Operation: 43+12=55 Current State: 91:[60, 24, 55], Operations: ['43+12=55'] Exploring Operation: 60-24=36, Resulting Numbers: [55, 36] Generated Node #3: [55, 36] from Operation: 60-24=36 Current State: 91:[55, 36], Operations: ['43+12=55', '60-24=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[43, 12, 60, 24], Operations: [] Exploring Operation: 43+60=103, Resulting Numbers: [12, 24, 103] Generated Node #0,0: 91:[12, 24, 103] Operation: 43+60=103 Exploring Operation: 60-43=17, Resulting Numbers: [12, 24, 17] Generated Node #0,1: 91:[12, 24, 17] Operation: 60-43=17 Moving to Node #0,1 Current State: 91:[12, 24, 17], Operations: ['60-43=17'] Exploring Operation: 24-17=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 91:[12, 7] Operation: 24-17=7 Exploring Operation: 24-12=12, Resulting Numbers: [17, 12] Generated Node #0,1,1: 91:[17, 12] Operation: 24-12=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[12, 7], Operations: ['60-43=17', '24-17=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[17, 12], Operations: ['60-43=17', '24-12=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,91 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: 91:[12, 24, 103], Operations: ['43+60=103'] Exploring Operation: 24-12=12, Resulting Numbers: [103, 12] Generated Node #0,0,0: 91:[103, 12] Operation: 24-12=12 Exploring Operation: 103-12=91, Resulting Numbers: [24, 91] Generated Node #0,0,1: 91:[24, 91] Operation: 103-12=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[24, 91], Operations: ['43+60=103', '103-12=91'] Exploring Operation: 24+91=115, Resulting Numbers: [115] 115,91 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[103, 12], Operations: ['43+60=103', '24-12=12'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[43, 12, 60, 24], Operations: [] Exploring Operation: 43+60=103, Resulting Numbers: [12, 24, 103] Generated Node #0,0: 91:[12, 24, 103] Operation: 43+60=103 Moving to Node #0,0 Current State: 91:[12, 24, 103], Operations: ['43+60=103'] Exploring Operation: 24-12=12, Resulting Numbers: [103, 12] Generated Node #0,0,0: 91:[103, 12] Operation: 24-12=12 Moving to Node #0,0,0 Current State: 91:[103, 12], Operations: ['43+60=103', '24-12=12'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 58, 32, 88, 35 ]
97
[ "58-32=26", "88+35=123", "123-26=97" ]
Current State: 97:[58, 32, 88, 35], Operations: [] Exploring Operation: 58-32=26, Resulting Numbers: [88, 35, 26] Generated Node #2: [88, 35, 26] from Operation: 58-32=26 Current State: 97:[88, 35, 26], Operations: ['58-32=26'] Exploring Operation: 88+35=123, Resulting Numbers: [26, 123] Generated Node #3: [26, 123] from Operation: 88+35=123 Current State: 97:[26, 123], Operations: ['58-32=26', '88+35=123'] Exploring Operation: 123-26=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[58, 32, 88, 35], Operations: [] Exploring Operation: 88+35=123, Resulting Numbers: [58, 32, 123] Generated Node #0,0: 97:[58, 32, 123] Operation: 88+35=123 Exploring Operation: 58+32=90, Resulting Numbers: [88, 35, 90] Generated Node #0,1: 97:[88, 35, 90] Operation: 58+32=90 Exploring Operation: 58+35=93, Resulting Numbers: [32, 88, 93] Generated Node #0,2: 97:[32, 88, 93] Operation: 58+35=93 Exploring Operation: 32+88=120, Resulting Numbers: [58, 35, 120] Generated Node #0,3: 97:[58, 35, 120] Operation: 32+88=120 Exploring Operation: 32+35=67, Resulting Numbers: [58, 88, 67] Generated Node #0,4: 97:[58, 88, 67] Operation: 32+35=67 Moving to Node #0,1 Current State: 97:[88, 35, 90], Operations: ['58+32=90'] Exploring Operation: 35+90=125, Resulting Numbers: [88, 125] Generated Node #0,1,0: 97:[88, 125] Operation: 35+90=125 Exploring Operation: 88-35=53, Resulting Numbers: [90, 53] Generated Node #0,1,1: 97:[90, 53] Operation: 88-35=53 Exploring Operation: 88+35=123, Resulting Numbers: [90, 123] Generated Node #0,1,2: 97:[90, 123] Operation: 88+35=123 Exploring Operation: 88+90=178, Resulting Numbers: [35, 178] Generated Node #0,1,3: 97:[35, 178] Operation: 88+90=178 Exploring Operation: 90-35=55, Resulting Numbers: [88, 55] Generated Node #0,1,4: 97:[88, 55] Operation: 90-35=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[90, 123], Operations: ['58+32=90', '88+35=123'] Exploring Operation: 90*123=11070, Resulting Numbers: [11070] 11070,97 unequal: No Solution Exploring Operation: 90+123=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 123-90=33, Resulting Numbers: [33] 33,97 unequal: No Solution No 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: 97:[88, 125], Operations: ['58+32=90', '35+90=125'] Exploring Operation: 88*125=11000, Resulting Numbers: [11000] 11000,97 unequal: No Solution Exploring Operation: 88+125=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 125-88=37, Resulting Numbers: [37] 37,97 unequal: No Solution No 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: 97:[90, 53], Operations: ['58+32=90', '88-35=53'] Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,97 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,97 unequal: No Solution No 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: 97:[88, 55], Operations: ['58+32=90', '90-35=55'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,97 unequal: No Solution Exploring Operation: 88+55=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 88*55=4840, Resulting Numbers: [4840] 4840,97 unequal: No Solution No 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: 97:[35, 178], Operations: ['58+32=90', '88+90=178'] Exploring Operation: 35*178=6230, Resulting Numbers: [6230] 6230,97 unequal: No Solution Exploring Operation: 178-35=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 35+178=213, Resulting Numbers: [213] 213,97 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: 97:[58, 88, 67], Operations: ['32+35=67'] Exploring Operation: 88-58=30, Resulting Numbers: [67, 30] Generated Node #0,4,0: 97:[67, 30] Operation: 88-58=30 Exploring Operation: 88+67=155, Resulting Numbers: [58, 155] Generated Node #0,4,1: 97:[58, 155] Operation: 88+67=155 Exploring Operation: 67-58=9, Resulting Numbers: [88, 9] Generated Node #0,4,2: 97:[88, 9] Operation: 67-58=9 Exploring Operation: 58+67=125, Resulting Numbers: [88, 125] Generated Node #0,4,3: 97:[88, 125] Operation: 58+67=125 Exploring Operation: 58+88=146, Resulting Numbers: [67, 146] Generated Node #0,4,4: 97:[67, 146] Operation: 58+88=146 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[88, 125], Operations: ['32+35=67', '58+67=125'] Exploring Operation: 88+125=213, Resulting Numbers: [213] 213,97 unequal: No Solution Exploring Operation: 125-88=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 88*125=11000, Resulting Numbers: [11000] 11000,97 unequal: No Solution No 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: 97:[67, 146], Operations: ['32+35=67', '58+88=146'] Exploring Operation: 146-67=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 67*146=9782, Resulting Numbers: [9782] 9782,97 unequal: No Solution Exploring Operation: 67+146=213, Resulting Numbers: [213] 213,97 unequal: No Solution No 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: 97:[67, 30], Operations: ['32+35=67', '88-58=30'] Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,97 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[58, 32, 88, 35], Operations: [] Exploring Operation: 32+35=67, Resulting Numbers: [58, 88, 67] Generated Node #0,4: 97:[58, 88, 67] Operation: 32+35=67 Moving to Node #0,4 Current State: 97:[58, 88, 67], Operations: ['32+35=67'] Exploring Operation: 88-58=30, Resulting Numbers: [67, 30] Generated Node #0,4,0: 97:[67, 30] Operation: 88-58=30 Moving to Node #0,4,0 Current State: 97:[67, 30], Operations: ['32+35=67', '88-58=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 11, 50, 42, 11 ]
30
[ "11+50=61", "42-11=31", "61-31=30" ]
Current State: 30:[11, 50, 42, 11], Operations: [] Exploring Operation: 11+50=61, Resulting Numbers: [42, 61] Generated Node #2: [42, 61] from Operation: 11+50=61 Current State: 30:[42, 61], Operations: ['11+50=61'] Exploring Operation: 42-11=31, Resulting Numbers: [61, 31] Generated Node #3: [61, 31] from Operation: 42-11=31 Current State: 30:[61, 31], Operations: ['11+50=61', '42-11=31'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[11, 50, 42, 11], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [11, 11, 8] Generated Node #0,0: 30:[11, 11, 8] Operation: 50-42=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[11, 11, 8], Operations: ['50-42=8'] Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 30:[11, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 30:[11, 3], Operations: ['50-42=8', '11-8=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,30 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
[ 36, 2, 6, 81 ]
69
[ "36*2=72", "72/6=12", "81-12=69" ]
Current State: 69:[36, 2, 6, 81], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [6, 81, 72] Generated Node #2: [6, 81, 72] from Operation: 36*2=72 Current State: 69:[6, 81, 72], Operations: ['36*2=72'] Exploring Operation: 72/6=12, Resulting Numbers: [81, 12] Generated Node #3: [81, 12] from Operation: 72/6=12 Current State: 69:[81, 12], Operations: ['36*2=72', '72/6=12'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[36, 2, 6, 81], Operations: [] Exploring Operation: 36-6=30, Resulting Numbers: [2, 81, 30] Generated Node #0,0: 69:[2, 81, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [2, 81, 6] Generated Node #0,1: 69:[2, 81, 6] Operation: 36/6=6 Exploring Operation: 36/2=18, Resulting Numbers: [6, 81, 18] Generated Node #0,2: 69:[6, 81, 18] Operation: 36/2=18 Exploring Operation: 36*2=72, Resulting Numbers: [6, 81, 72] Generated Node #0,3: 69:[6, 81, 72] Operation: 36*2=72 Moving to Node #0,1 Current State: 69:[2, 81, 6], Operations: ['36/6=6'] Exploring Operation: 6/2=3, Resulting Numbers: [81, 3] Generated Node #0,1,0: 69:[81, 3] Operation: 6/2=3 Exploring Operation: 81-6=75, Resulting Numbers: [2, 75] Generated Node #0,1,1: 69:[2, 75] Operation: 81-6=75 Exploring Operation: 6-2=4, Resulting Numbers: [81, 4] Generated Node #0,1,2: 69:[81, 4] Operation: 6-2=4 Exploring Operation: 81-2=79, Resulting Numbers: [6, 79] Generated Node #0,1,3: 69:[6, 79] Operation: 81-2=79 Moving to Node #0,3 Current State: 69:[6, 81, 72], Operations: ['36*2=72'] Exploring Operation: 81-6=75, Resulting Numbers: [72, 75] Generated Node #0,3,0: 69:[72, 75] Operation: 81-6=75 Exploring Operation: 6+81=87, Resulting Numbers: [72, 87] Generated Node #0,3,1: 69:[72, 87] Operation: 6+81=87 Exploring Operation: 72-6=66, Resulting Numbers: [81, 66] Generated Node #0,3,2: 69:[81, 66] Operation: 72-6=66 Exploring Operation: 81-72=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 69:[6, 9] Operation: 81-72=9 Moving to Node #0,2 Current State: 69:[6, 81, 18], Operations: ['36/2=18'] Exploring Operation: 18/6=3, Resulting Numbers: [81, 3] Generated Node #0,2,0: 69:[81, 3] Operation: 18/6=3 Exploring Operation: 6+18=24, Resulting Numbers: [81, 24] Generated Node #0,2,1: 69:[81, 24] Operation: 6+18=24 Exploring Operation: 81-6=75, Resulting Numbers: [18, 75] Generated Node #0,2,2: 69:[18, 75] Operation: 81-6=75 Exploring Operation: 81-18=63, Resulting Numbers: [6, 63] Generated Node #0,2,3: 69:[6, 63] Operation: 81-18=63 Moving to Node #0,0 Current State: 69:[2, 81, 30], Operations: ['36-6=30'] Exploring Operation: 30-2=28, Resulting Numbers: [81, 28] Generated Node #0,0,0: 69:[81, 28] Operation: 30-2=28 Exploring Operation: 81-2=79, Resulting Numbers: [30, 79] Generated Node #0,0,1: 69:[30, 79] Operation: 81-2=79 Exploring Operation: 81-30=51, Resulting Numbers: [2, 51] Generated Node #0,0,2: 69:[2, 51] Operation: 81-30=51 Exploring Operation: 30/2=15, Resulting Numbers: [81, 15] Generated Node #0,0,3: 69:[81, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[81, 28], Operations: ['36-6=30', '30-2=28'] Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,69 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,69 unequal: No Solution No solution 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: 69:[30, 79], Operations: ['36-6=30', '81-2=79'] Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,69 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,69 unequal: No Solution No solution 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: 69:[2, 51], Operations: ['36-6=30', '81-30=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,69 unequal: No Solution No solution 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: 69:[81, 15], Operations: ['36-6=30', '30/2=15'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 69:[2, 75], Operations: ['36/6=6', '81-6=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,69 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[6, 9], Operations: ['36*2=72', '81-72=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[72, 75], Operations: ['36*2=72', '81-6=75'] Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,69 unequal: No Solution Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,69 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[6, 63], Operations: ['36/2=18', '81-18=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,69 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[36, 2, 6, 81], Operations: [] Exploring Operation: 36/2=18, Resulting Numbers: [6, 81, 18] Generated Node #0,2: 69:[6, 81, 18] Operation: 36/2=18 Moving to Node #0,2 Current State: 69:[6, 81, 18], Operations: ['36/2=18'] Exploring Operation: 81-18=63, Resulting Numbers: [6, 63] Generated Node #0,2,3: 69:[6, 63] Operation: 81-18=63 Moving to Node #0,2,3 Current State: 69:[6, 63], Operations: ['36/2=18', '81-18=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 62, 85, 83, 8 ]
98
[ "85-62=23", "83-8=75", "23+75=98" ]
Current State: 98:[62, 85, 83, 8], Operations: [] Exploring Operation: 85-62=23, Resulting Numbers: [83, 8, 23] Generated Node #2: [83, 8, 23] from Operation: 85-62=23 Current State: 98:[83, 8, 23], Operations: ['85-62=23'] Exploring Operation: 83-8=75, Resulting Numbers: [23, 75] Generated Node #3: [23, 75] from Operation: 83-8=75 Current State: 98:[23, 75], Operations: ['85-62=23', '83-8=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[62, 85, 83, 8], Operations: [] Exploring Operation: 83-62=21, Resulting Numbers: [85, 8, 21] Generated Node #0,0: 98:[85, 8, 21] Operation: 83-62=21 Exploring Operation: 85-83=2, Resulting Numbers: [62, 8, 2] Generated Node #0,1: 98:[62, 8, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[62, 8, 2], Operations: ['85-83=2'] Exploring Operation: 62-2=60, Resulting Numbers: [8, 60] Generated Node #0,1,0: 98:[8, 60] Operation: 62-2=60 Exploring Operation: 62-8=54, Resulting Numbers: [2, 54] Generated Node #0,1,1: 98:[2, 54] Operation: 62-8=54 Moving to Node #0,1,1 Current State: 98:[2, 54], Operations: ['85-83=2', '62-8=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[8, 60], Operations: ['85-83=2', '62-2=60'] Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[85, 8, 21], Operations: ['83-62=21'] Exploring Operation: 85+8=93, Resulting Numbers: [21, 93] Generated Node #0,0,0: 98:[21, 93] Operation: 85+8=93 Exploring Operation: 85+21=106, Resulting Numbers: [8, 106] Generated Node #0,0,1: 98:[8, 106] Operation: 85+21=106 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[8, 106], Operations: ['83-62=21', '85+21=106'] Exploring Operation: 8+106=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[62, 85, 83, 8], Operations: [] Exploring Operation: 83-62=21, Resulting Numbers: [85, 8, 21] Generated Node #0,0: 98:[85, 8, 21] Operation: 83-62=21 Moving to Node #0,0 Current State: 98:[85, 8, 21], Operations: ['83-62=21'] Exploring Operation: 85+21=106, Resulting Numbers: [8, 106] Generated Node #0,0,1: 98:[8, 106] Operation: 85+21=106 Moving to Node #0,0,1 Current State: 98:[8, 106], Operations: ['83-62=21', '85+21=106'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 27, 35, 33, 56 ]
55
[ "35-33=2", "56/2=28", "27+28=55" ]
Current State: 55:[27, 35, 33, 56], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [27, 56, 2] Generated Node #2: [27, 56, 2] from Operation: 35-33=2 Current State: 55:[27, 56, 2], Operations: ['35-33=2'] Exploring Operation: 56/2=28, Resulting Numbers: [27, 28] Generated Node #3: [27, 28] from Operation: 56/2=28 Current State: 55:[27, 28], Operations: ['35-33=2', '56/2=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[27, 35, 33, 56], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [35, 56, 6] Generated Node #0,0: 55:[35, 56, 6] Operation: 33-27=6 Exploring Operation: 27+35=62, Resulting Numbers: [33, 56, 62] Generated Node #0,1: 55:[33, 56, 62] Operation: 27+35=62 Exploring Operation: 27+33=60, Resulting Numbers: [35, 56, 60] Generated Node #0,2: 55:[35, 56, 60] Operation: 27+33=60 Exploring Operation: 35-33=2, Resulting Numbers: [27, 56, 2] Generated Node #0,3: 55:[27, 56, 2] Operation: 35-33=2 Exploring Operation: 35-27=8, Resulting Numbers: [33, 56, 8] Generated Node #0,4: 55:[33, 56, 8] Operation: 35-27=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[27, 56, 2], Operations: ['35-33=2'] Exploring Operation: 27*2=54, Resulting Numbers: [56, 54] Generated Node #0,3,0: 55:[56, 54] Operation: 27*2=54 Exploring Operation: 27-2=25, Resulting Numbers: [56, 25] Generated Node #0,3,1: 55:[56, 25] Operation: 27-2=25 Exploring Operation: 27+2=29, Resulting Numbers: [56, 29] Generated Node #0,3,2: 55:[56, 29] Operation: 27+2=29 Exploring Operation: 56-2=54, Resulting Numbers: [27, 54] Generated Node #0,3,3: 55:[27, 54] Operation: 56-2=54 Exploring Operation: 56+2=58, Resulting Numbers: [27, 58] Generated Node #0,3,4: 55:[27, 58] Operation: 56+2=58 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[56, 54], Operations: ['35-33=2', '27*2=54'] Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,55 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,55 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,55 unequal: No Solution No 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: 55:[56, 25], Operations: ['35-33=2', '27-2=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,55 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,55 unequal: No Solution No 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: 55:[27, 54], Operations: ['35-33=2', '56-2=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,55 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,55 unequal: No Solution No 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: 55:[56, 29], Operations: ['35-33=2', '27+2=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,55 unequal: No Solution No 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: 55:[27, 58], Operations: ['35-33=2', '56+2=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,55 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[35, 56, 6], Operations: ['33-27=6'] Exploring Operation: 35+6=41, Resulting Numbers: [56, 41] Generated Node #0,0,0: 55:[56, 41] Operation: 35+6=41 Exploring Operation: 56-35=21, Resulting Numbers: [6, 21] Generated Node #0,0,1: 55:[6, 21] Operation: 56-35=21 Exploring Operation: 56+6=62, Resulting Numbers: [35, 62] Generated Node #0,0,2: 55:[35, 62] Operation: 56+6=62 Exploring Operation: 56-6=50, Resulting Numbers: [35, 50] Generated Node #0,0,3: 55:[35, 50] Operation: 56-6=50 Exploring Operation: 35-6=29, Resulting Numbers: [56, 29] Generated Node #0,0,4: 55:[56, 29] Operation: 35-6=29 Moving to Node #0,0,1 Current State: 55:[6, 21], Operations: ['33-27=6', '56-35=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,55 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[56, 41], Operations: ['33-27=6', '35+6=41'] Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,55 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[56, 29], Operations: ['33-27=6', '35-6=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[35, 50], Operations: ['33-27=6', '56-6=50'] Exploring Operation: 35+50=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 35*50=1750, Resulting Numbers: [1750] 1750,55 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[35, 62], Operations: ['33-27=6', '56+6=62'] Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,55 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,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,2 Current State: 55:[35, 56, 60], Operations: ['27+33=60'] Exploring Operation: 35+60=95, Resulting Numbers: [56, 95] Generated Node #0,2,0: 55:[56, 95] Operation: 35+60=95 Exploring Operation: 35+56=91, Resulting Numbers: [60, 91] Generated Node #0,2,1: 55:[60, 91] Operation: 35+56=91 Exploring Operation: 60-35=25, Resulting Numbers: [56, 25] Generated Node #0,2,2: 55:[56, 25] Operation: 60-35=25 Exploring Operation: 56-35=21, Resulting Numbers: [60, 21] Generated Node #0,2,3: 55:[60, 21] Operation: 56-35=21 Exploring Operation: 60-56=4, Resulting Numbers: [35, 4] Generated Node #0,2,4: 55:[35, 4] Operation: 60-56=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[56, 25], Operations: ['27+33=60', '60-35=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,55 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,55 unequal: No Solution No 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: 55:[60, 21], Operations: ['27+33=60', '56-35=21'] Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,55 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,55 unequal: No Solution No 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: 55:[35, 4], Operations: ['27+33=60', '60-56=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,55 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,55 unequal: No Solution No 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: 55:[56, 95], Operations: ['27+33=60', '35+60=95'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,55 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,55 unequal: No Solution No 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: 55:[60, 91], Operations: ['27+33=60', '35+56=91'] Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,55 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[33, 56, 8], Operations: ['35-27=8'] Exploring Operation: 56/8=7, Resulting Numbers: [33, 7] Generated Node #0,4,0: 55:[33, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [33, 48] Generated Node #0,4,1: 55:[33, 48] Operation: 56-8=48 Exploring Operation: 33+8=41, Resulting Numbers: [56, 41] Generated Node #0,4,2: 55:[56, 41] Operation: 33+8=41 Exploring Operation: 56-33=23, Resulting Numbers: [8, 23] Generated Node #0,4,3: 55:[8, 23] Operation: 56-33=23 Exploring Operation: 33-8=25, Resulting Numbers: [56, 25] Generated Node #0,4,4: 55:[56, 25] Operation: 33-8=25 Moving to Node #0,4,2 Current State: 55:[56, 41], Operations: ['35-27=8', '33+8=41'] Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[56, 25], Operations: ['35-27=8', '33-8=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,55 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[8, 23], Operations: ['35-27=8', '56-33=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,55 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[33, 7], Operations: ['35-27=8', '56/8=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,55 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[33, 48], Operations: ['35-27=8', '56-8=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,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 Current State: 55:[33, 56, 62], Operations: ['27+35=62'] Exploring Operation: 62-33=29, Resulting Numbers: [56, 29] Generated Node #0,1,0: 55:[56, 29] Operation: 62-33=29 Exploring Operation: 62-56=6, Resulting Numbers: [33, 6] Generated Node #0,1,1: 55:[33, 6] Operation: 62-56=6 Exploring Operation: 33+56=89, Resulting Numbers: [62, 89] Generated Node #0,1,2: 55:[62, 89] Operation: 33+56=89 Exploring Operation: 33+62=95, Resulting Numbers: [56, 95] Generated Node #0,1,3: 55:[56, 95] Operation: 33+62=95 Exploring Operation: 56-33=23, Resulting Numbers: [62, 23] Generated Node #0,1,4: 55:[62, 23] Operation: 56-33=23 Moving to Node #0,1,0 Current State: 55:[56, 29], Operations: ['27+35=62', '62-33=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,55 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[62, 23], Operations: ['27+35=62', '56-33=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,55 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[33, 6], Operations: ['27+35=62', '62-56=6'] Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,55 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[62, 89], Operations: ['27+35=62', '33+56=89'] Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,55 unequal: No Solution Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[56, 95], Operations: ['27+35=62', '33+62=95'] Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,55 unequal: No Solution Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,55 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
[ 94, 14, 67, 78 ]
69
[ "94-14=80", "78-67=11", "80-11=69" ]
Current State: 69:[94, 14, 67, 78], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [67, 78, 80] Generated Node #2: [67, 78, 80] from Operation: 94-14=80 Current State: 69:[67, 78, 80], Operations: ['94-14=80'] Exploring Operation: 78-67=11, Resulting Numbers: [80, 11] Generated Node #3: [80, 11] from Operation: 78-67=11 Current State: 69:[80, 11], Operations: ['94-14=80', '78-67=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[94, 14, 67, 78], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [67, 78, 80] Generated Node #0,0: 69:[67, 78, 80] Operation: 94-14=80 Exploring Operation: 94-78=16, Resulting Numbers: [14, 67, 16] Generated Node #0,1: 69:[14, 67, 16] Operation: 94-78=16 Moving to Node #0,1 Current State: 69:[14, 67, 16], Operations: ['94-78=16'] Exploring Operation: 16-14=2, Resulting Numbers: [67, 2] Generated Node #0,1,0: 69:[67, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 69:[67, 30] Operation: 14+16=30 Moving to Node #0,0 Current State: 69:[67, 78, 80], Operations: ['94-14=80'] Exploring Operation: 80-78=2, Resulting Numbers: [67, 2] Generated Node #0,0,0: 69:[67, 2] Operation: 80-78=2 Exploring Operation: 78-67=11, Resulting Numbers: [80, 11] Generated Node #0,0,1: 69:[80, 11] Operation: 78-67=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[67, 2], Operations: ['94-14=80', '80-78=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[94, 14, 67, 78], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [67, 78, 80] Generated Node #0,0: 69:[67, 78, 80] Operation: 94-14=80 Moving to Node #0,0 Current State: 69:[67, 78, 80], Operations: ['94-14=80'] Exploring Operation: 80-78=2, Resulting Numbers: [67, 2] Generated Node #0,0,0: 69:[67, 2] Operation: 80-78=2 Moving to Node #0,0,0 Current State: 69:[67, 2], Operations: ['94-14=80', '80-78=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 13, 9, 9, 43 ]
13
[ "13-9=4", "9+43=52", "52/4=13" ]
Current State: 13:[13, 9, 9, 43], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [43, 4] Generated Node #2: [43, 4] from Operation: 13-9=4 Current State: 13:[43, 4], Operations: ['13-9=4'] Exploring Operation: 9+43=52, Resulting Numbers: [4, 52] Generated Node #3: [4, 52] from Operation: 9+43=52 Current State: 13:[4, 52], Operations: ['13-9=4', '9+43=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[13, 9, 9, 43], Operations: [] Exploring Operation: 43-9=34, Resulting Numbers: [13, 9, 34] Generated Node #0,0: 13:[13, 9, 34] Operation: 43-9=34 Exploring Operation: 43-13=30, Resulting Numbers: [9, 9, 30] Generated Node #0,1: 13:[9, 9, 30] Operation: 43-13=30 Exploring Operation: 43-9=34, Resulting Numbers: [13, 9, 34] Generated Node #0,2: 13:[13, 9, 34] Operation: 43-9=34 Exploring Operation: 9+9=18, Resulting Numbers: [13, 43, 18] Generated Node #0,3: 13:[13, 43, 18] Operation: 9+9=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[13, 9, 34], Operations: ['43-9=34'] Exploring Operation: 34-9=25, Resulting Numbers: [13, 25] Generated Node #0,0,0: 13:[13, 25] Operation: 34-9=25 Exploring Operation: 13-9=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 13:[34, 4] Operation: 13-9=4 Exploring Operation: 13+9=22, Resulting Numbers: [34, 22] Generated Node #0,0,2: 13:[34, 22] Operation: 13+9=22 Exploring Operation: 34-13=21, Resulting Numbers: [9, 21] Generated Node #0,0,3: 13:[9, 21] Operation: 34-13=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[13, 25], Operations: ['43-9=34', '34-9=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,13 unequal: No Solution No 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: 13:[9, 21], Operations: ['43-9=34', '34-13=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,13 unequal: No Solution No 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: 13:[34, 4], Operations: ['43-9=34', '13-9=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,13 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,13 unequal: No Solution No 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: 13:[34, 22], Operations: ['43-9=34', '13+9=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,13 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: 13:[9, 9, 30], Operations: ['43-13=30'] Exploring Operation: 30-9=21, Resulting Numbers: [9, 21] Generated Node #0,1,0: 13:[9, 21] Operation: 30-9=21 Exploring Operation: 30-9=21, Resulting Numbers: [9, 21] Generated Node #0,1,1: 13:[9, 21] Operation: 30-9=21 Exploring Operation: 9/9=1, Resulting Numbers: [30, 1] Generated Node #0,1,2: 13:[30, 1] Operation: 9/9=1 Exploring Operation: 9+9=18, Resulting Numbers: [30, 18] Generated Node #0,1,3: 13:[30, 18] Operation: 9+9=18 Moving to Node #0,1,0 Current State: 13:[9, 21], Operations: ['43-13=30', '30-9=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,13 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[9, 21], Operations: ['43-13=30', '30-9=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[30, 18], Operations: ['43-13=30', '9+9=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,13 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[30, 1], Operations: ['43-13=30', '9/9=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[13, 9, 34], Operations: ['43-9=34'] Exploring Operation: 34-9=25, Resulting Numbers: [13, 25] Generated Node #0,2,0: 13:[13, 25] Operation: 34-9=25 Exploring Operation: 13+9=22, Resulting Numbers: [34, 22] Generated Node #0,2,1: 13:[34, 22] Operation: 13+9=22 Exploring Operation: 13-9=4, Resulting Numbers: [34, 4] Generated Node #0,2,2: 13:[34, 4] Operation: 13-9=4 Exploring Operation: 34-13=21, Resulting Numbers: [9, 21] Generated Node #0,2,3: 13:[9, 21] Operation: 34-13=21 Moving to Node #0,2,0 Current State: 13:[13, 25], Operations: ['43-9=34', '34-9=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,13 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[9, 21], Operations: ['43-9=34', '34-13=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[34, 4], Operations: ['43-9=34', '13-9=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,13 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[34, 22], Operations: ['43-9=34', '13+9=22'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,13 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[13, 43, 18], Operations: ['9+9=18'] Exploring Operation: 43-13=30, Resulting Numbers: [18, 30] Generated Node #0,3,0: 13:[18, 30] Operation: 43-13=30 Exploring Operation: 43-18=25, Resulting Numbers: [13, 25] Generated Node #0,3,1: 13:[13, 25] Operation: 43-18=25 Exploring Operation: 13+43=56, Resulting Numbers: [18, 56] Generated Node #0,3,2: 13:[18, 56] Operation: 13+43=56 Exploring Operation: 18-13=5, Resulting Numbers: [43, 5] Generated Node #0,3,3: 13:[43, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 13:[13, 25], Operations: ['9+9=18', '43-18=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,13 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,13 unequal: No Solution No 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: 13:[18, 30], Operations: ['9+9=18', '43-13=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,13 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,13 unequal: No Solution No 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: 13:[43, 5], Operations: ['9+9=18', '18-13=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,13 unequal: No Solution No 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: 13:[18, 56], Operations: ['9+9=18', '13+43=56'] Exploring Operation: 18+56=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 18*56=1008, Resulting Numbers: [1008] 1008,13 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
[ 75, 64, 11, 8 ]
99
[ "75-64=11", "11*8=88", "11+88=99" ]
Current State: 99:[75, 64, 11, 8], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [11, 8, 11] Generated Node #2: [11, 8, 11] from Operation: 75-64=11 Current State: 99:[11, 8, 11], Operations: ['75-64=11'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,99 equal: Goal Reached Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[75, 64, 11, 8], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [11, 8, 11] Generated Node #0,0: 99:[11, 8, 11] Operation: 75-64=11 Exploring Operation: 75+64=139, Resulting Numbers: [11, 8, 139] Generated Node #0,1: 99:[11, 8, 139] Operation: 75+64=139 Exploring Operation: 64/8=8, Resulting Numbers: [75, 11, 8] Generated Node #0,2: 99:[75, 11, 8] Operation: 64/8=8 Exploring Operation: 75+11=86, Resulting Numbers: [64, 8, 86] Generated Node #0,3: 99:[64, 8, 86] Operation: 75+11=86 Exploring Operation: 64-11=53, Resulting Numbers: [75, 8, 53] Generated Node #0,4: 99:[75, 8, 53] Operation: 64-11=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[11, 8, 11], Operations: ['75-64=11'] Exploring Operation: 11/11=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 99:[8, 1] Operation: 11/11=1 Exploring Operation: 11+8=19, Resulting Numbers: [11, 19] Generated Node #0,0,1: 99:[11, 19] Operation: 11+8=19 Exploring Operation: 11-11=0, Resulting Numbers: [8, 0] Generated Node #0,0,2: 99:[8, 0] Operation: 11-11=0 Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,0,3: 99:[11, 3] Operation: 11-8=3 Exploring Operation: 11-8=3, Resulting Numbers: [11, 3] Generated Node #0,0,4: 99:[11, 3] Operation: 11-8=3 Moving to Node #0,0,3 Current State: 99:[11, 3], Operations: ['75-64=11', '11-8=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[11, 3], Operations: ['75-64=11', '11-8=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[8, 1], Operations: ['75-64=11', '11/11=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[8, 0], Operations: ['75-64=11', '11-11=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[11, 19], Operations: ['75-64=11', '11+8=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,99 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[75, 11, 8], Operations: ['64/8=8'] Exploring Operation: 75+8=83, Resulting Numbers: [11, 83] Generated Node #0,2,0: 99:[11, 83] Operation: 75+8=83 Exploring Operation: 75-11=64, Resulting Numbers: [8, 64] Generated Node #0,2,1: 99:[8, 64] Operation: 75-11=64 Exploring Operation: 75-8=67, Resulting Numbers: [11, 67] Generated Node #0,2,2: 99:[11, 67] Operation: 75-8=67 Exploring Operation: 75+11=86, Resulting Numbers: [8, 86] Generated Node #0,2,3: 99:[8, 86] Operation: 75+11=86 Exploring Operation: 11-8=3, Resulting Numbers: [75, 3] Generated Node #0,2,4: 99:[75, 3] Operation: 11-8=3 Moving to Node #0,2,3 Current State: 99:[8, 86], Operations: ['64/8=8', '75+11=86'] Exploring Operation: 8+86=94, Resulting Numbers: [94] 94,99 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 8*86=688, Resulting Numbers: [688] 688,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[11, 83], Operations: ['64/8=8', '75+8=83'] Exploring Operation: 11+83=94, Resulting Numbers: [94] 94,99 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 11*83=913, Resulting Numbers: [913] 913,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[75, 3], Operations: ['64/8=8', '11-8=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,99 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[8, 64], Operations: ['64/8=8', '75-11=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,99 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[11, 67], Operations: ['64/8=8', '75-8=67'] Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,99 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[11, 8, 139], Operations: ['75+64=139'] Exploring Operation: 11-8=3, Resulting Numbers: [139, 3] Generated Node #0,1,0: 99:[139, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [139, 19] Generated Node #0,1,1: 99:[139, 19] Operation: 11+8=19 Exploring Operation: 139-11=128, Resulting Numbers: [8, 128] Generated Node #0,1,2: 99:[8, 128] Operation: 139-11=128 Exploring Operation: 139-8=131, Resulting Numbers: [11, 131] Generated Node #0,1,3: 99:[11, 131] Operation: 139-8=131 Exploring Operation: 8+139=147, Resulting Numbers: [11, 147] Generated Node #0,1,4: 99:[11, 147] Operation: 8+139=147 Moving to Node #0,1,2 Current State: 99:[8, 128], Operations: ['75+64=139', '139-11=128'] Exploring Operation: 128/8=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 8+128=136, Resulting Numbers: [136] 136,99 unequal: No Solution Exploring Operation: 8*128=1024, Resulting Numbers: [1024] 1024,99 unequal: No Solution Exploring Operation: 128-8=120, Resulting Numbers: [120] 120,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[11, 131], Operations: ['75+64=139', '139-8=131'] Exploring Operation: 11*131=1441, Resulting Numbers: [1441] 1441,99 unequal: No Solution Exploring Operation: 11+131=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 131-11=120, Resulting Numbers: [120] 120,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[139, 3], Operations: ['75+64=139', '11-8=3'] Exploring Operation: 139*3=417, Resulting Numbers: [417] 417,99 unequal: No Solution Exploring Operation: 139+3=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 139-3=136, Resulting Numbers: [136] 136,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[139, 19], Operations: ['75+64=139', '11+8=19'] Exploring Operation: 139-19=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 139+19=158, Resulting Numbers: [158] 158,99 unequal: No Solution Exploring Operation: 139*19=2641, Resulting Numbers: [2641] 2641,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[11, 147], Operations: ['75+64=139', '8+139=147'] Exploring Operation: 147-11=136, Resulting Numbers: [136] 136,99 unequal: No Solution Exploring Operation: 11*147=1617, Resulting Numbers: [1617] 1617,99 unequal: No Solution Exploring Operation: 11+147=158, Resulting Numbers: [158] 158,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[64, 8, 86], Operations: ['75+11=86'] Exploring Operation: 64+8=72, Resulting Numbers: [86, 72] Generated Node #0,3,0: 99:[86, 72] Operation: 64+8=72 Exploring Operation: 86-64=22, Resulting Numbers: [8, 22] Generated Node #0,3,1: 99:[8, 22] Operation: 86-64=22 Exploring Operation: 64/8=8, Resulting Numbers: [86, 8] Generated Node #0,3,2: 99:[86, 8] Operation: 64/8=8 Exploring Operation: 64-8=56, Resulting Numbers: [86, 56] Generated Node #0,3,3: 99:[86, 56] Operation: 64-8=56 Exploring Operation: 8+86=94, Resulting Numbers: [64, 94] Generated Node #0,3,4: 99:[64, 94] Operation: 8+86=94 Moving to Node #0,3,1 Current State: 99:[8, 22], Operations: ['75+11=86', '86-64=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[86, 8], Operations: ['75+11=86', '64/8=8'] Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,99 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[86, 56], Operations: ['75+11=86', '64-8=56'] Exploring Operation: 86+56=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 86*56=4816, Resulting Numbers: [4816] 4816,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[64, 94], Operations: ['75+11=86', '8+86=94'] Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,99 unequal: No Solution Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[86, 72], Operations: ['75+11=86', '64+8=72'] Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,99 unequal: No Solution Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 99:[75, 8, 53], Operations: ['64-11=53'] Exploring Operation: 75-8=67, Resulting Numbers: [53, 67] Generated Node #0,4,0: 99:[53, 67] Operation: 75-8=67 Exploring Operation: 75+53=128, Resulting Numbers: [8, 128] Generated Node #0,4,1: 99:[8, 128] Operation: 75+53=128 Exploring Operation: 75-53=22, Resulting Numbers: [8, 22] Generated Node #0,4,2: 99:[8, 22] Operation: 75-53=22 Exploring Operation: 53-8=45, Resulting Numbers: [75, 45] Generated Node #0,4,3: 99:[75, 45] Operation: 53-8=45 Exploring Operation: 75+8=83, Resulting Numbers: [53, 83] Generated Node #0,4,4: 99:[53, 83] Operation: 75+8=83 Moving to Node #0,4,2 Current State: 99:[8, 22], Operations: ['64-11=53', '75-53=22'] Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,99 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[8, 128], Operations: ['64-11=53', '75+53=128'] Exploring Operation: 128-8=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 128/8=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 8*128=1024, Resulting Numbers: [1024] 1024,99 unequal: No Solution Exploring Operation: 8+128=136, Resulting Numbers: [136] 136,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[75, 45], Operations: ['64-11=53', '53-8=45'] Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,99 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[53, 83], Operations: ['64-11=53', '75+8=83'] Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 53+83=136, Resulting Numbers: [136] 136,99 unequal: No Solution Exploring Operation: 53*83=4399, Resulting Numbers: [4399] 4399,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[53, 67], Operations: ['64-11=53', '75-8=67'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 53*67=3551, Resulting Numbers: [3551] 3551,99 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
[ 24, 34, 95, 22 ]
78
[ "24-22=2", "34/2=17", "95-17=78" ]
Current State: 78:[24, 34, 95, 22], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [34, 95, 2] Generated Node #2: [34, 95, 2] from Operation: 24-22=2 Current State: 78:[34, 95, 2], Operations: ['24-22=2'] Exploring Operation: 34/2=17, Resulting Numbers: [95, 17] Generated Node #3: [95, 17] from Operation: 34/2=17 Current State: 78:[95, 17], Operations: ['24-22=2', '34/2=17'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[24, 34, 95, 22], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [34, 22, 71] Generated Node #0,0: 78:[34, 22, 71] Operation: 95-24=71 Exploring Operation: 95-22=73, Resulting Numbers: [24, 34, 73] Generated Node #0,1: 78:[24, 34, 73] Operation: 95-22=73 Moving to Node #0,1 Current State: 78:[24, 34, 73], Operations: ['95-22=73'] Exploring Operation: 34-24=10, Resulting Numbers: [73, 10] Generated Node #0,1,0: 78:[73, 10] Operation: 34-24=10 Exploring Operation: 73-34=39, Resulting Numbers: [24, 39] Generated Node #0,1,1: 78:[24, 39] Operation: 73-34=39 Moving to Node #0,0 Current State: 78:[34, 22, 71], Operations: ['95-24=71'] Exploring Operation: 71-34=37, Resulting Numbers: [22, 37] Generated Node #0,0,0: 78:[22, 37] Operation: 71-34=37 Exploring Operation: 34-22=12, Resulting Numbers: [71, 12] Generated Node #0,0,1: 78:[71, 12] Operation: 34-22=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[22, 37], Operations: ['95-24=71', '71-34=37'] Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[71, 12], Operations: ['95-24=71', '34-22=12'] Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,78 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 78:[24, 39], Operations: ['95-22=73', '73-34=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[73, 10], Operations: ['95-22=73', '34-24=10'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 67, 51, 32, 44 ]
28
[ "67-51=16", "44-32=12", "16+12=28" ]
Current State: 28:[67, 51, 32, 44], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [32, 44, 16] Generated Node #2: [32, 44, 16] from Operation: 67-51=16 Current State: 28:[32, 44, 16], Operations: ['67-51=16'] Exploring Operation: 44-32=12, Resulting Numbers: [16, 12] Generated Node #3: [16, 12] from Operation: 44-32=12 Current State: 28:[16, 12], Operations: ['67-51=16', '44-32=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[67, 51, 32, 44], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [32, 44, 16] Generated Node #0,0: 28:[32, 44, 16] Operation: 67-51=16 Exploring Operation: 67-44=23, Resulting Numbers: [51, 32, 23] Generated Node #0,1: 28:[51, 32, 23] Operation: 67-44=23 Exploring Operation: 51-44=7, Resulting Numbers: [67, 32, 7] Generated Node #0,2: 28:[67, 32, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 28:[32, 44, 16], Operations: ['67-51=16'] Exploring Operation: 44-32=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 28:[16, 12] Operation: 44-32=12 Exploring Operation: 32/16=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 28:[44, 2] Operation: 32/16=2 Exploring Operation: 44-16=28, Resulting Numbers: [32, 28] Generated Node #0,0,2: 28:[32, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[16, 12], Operations: ['67-51=16', '44-32=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[67, 51, 32, 44], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [32, 44, 16] Generated Node #0,0: 28:[32, 44, 16] Operation: 67-51=16 Moving to Node #0,0 Current State: 28:[32, 44, 16], Operations: ['67-51=16'] Exploring Operation: 44-32=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 28:[16, 12] Operation: 44-32=12 Moving to Node #0,0,0 Current State: 28:[16, 12], Operations: ['67-51=16', '44-32=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 52, 10, 48, 68 ]
32
[ "52*48=2496", "10+68=78", "2496/78=32" ]
Current State: 32:[52, 10, 48, 68], Operations: [] Exploring Operation: 52*48=2496, Resulting Numbers: [10, 68, 2496] Generated Node #2: [10, 68, 2496] from Operation: 52*48=2496 Current State: 32:[10, 68, 2496], Operations: ['52*48=2496'] Exploring Operation: 10+68=78, Resulting Numbers: [2496, 78] Generated Node #3: [2496, 78] from Operation: 10+68=78 Current State: 32:[2496, 78], Operations: ['52*48=2496', '10+68=78'] Exploring Operation: 2496/78=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[52, 10, 48, 68], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [10, 48, 16] Generated Node #0,0: 32:[10, 48, 16] Operation: 68-52=16 Exploring Operation: 68-48=20, Resulting Numbers: [52, 10, 20] Generated Node #0,1: 32:[52, 10, 20] Operation: 68-48=20 Moving to Node #0,0 Current State: 32:[10, 48, 16], Operations: ['68-52=16'] Exploring Operation: 48-16=32, Resulting Numbers: [10, 32] Generated Node #0,0,0: 32:[10, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 32:[10, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[10, 32], Operations: ['68-52=16', '48-16=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[10, 3], Operations: ['68-52=16', '48/16=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 32:[52, 10, 20], Operations: ['68-48=20'] Exploring Operation: 52-20=32, Resulting Numbers: [10, 32] Generated Node #0,1,0: 32:[10, 32] Operation: 52-20=32 Exploring Operation: 52-10=42, Resulting Numbers: [20, 42] Generated Node #0,1,1: 32:[20, 42] Operation: 52-10=42 Moving to Node #0,1,0 Current State: 32:[10, 32], Operations: ['68-48=20', '52-20=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[20, 42], Operations: ['68-48=20', '52-10=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,32 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 7, 55, 62 ]
72
[ "62-55=7", "7*7=49", "23+49=72" ]
Current State: 72:[23, 7, 55, 62], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [23, 7, 7] Generated Node #2: [23, 7, 7] from Operation: 62-55=7 Current State: 72:[23, 7, 7], Operations: ['62-55=7'] Exploring Operation: 7*7=49, Resulting Numbers: [23, 49] Generated Node #3: [23, 49] from Operation: 7*7=49 Current State: 72:[23, 49], Operations: ['62-55=7', '7*7=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[23, 7, 55, 62], Operations: [] Exploring Operation: 23+55=78, Resulting Numbers: [7, 62, 78] Generated Node #0,0: 72:[7, 62, 78] Operation: 23+55=78 Exploring Operation: 55-23=32, Resulting Numbers: [7, 62, 32] Generated Node #0,1: 72:[7, 62, 32] Operation: 55-23=32 Exploring Operation: 62-23=39, Resulting Numbers: [7, 55, 39] Generated Node #0,2: 72:[7, 55, 39] Operation: 62-23=39 Exploring Operation: 62-55=7, Resulting Numbers: [23, 7, 7] Generated Node #0,3: 72:[23, 7, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[23, 7, 7], Operations: ['62-55=7'] Exploring Operation: 7/7=1, Resulting Numbers: [23, 1] Generated Node #0,3,0: 72:[23, 1] Operation: 7/7=1 Exploring Operation: 23-7=16, Resulting Numbers: [7, 16] Generated Node #0,3,1: 72:[7, 16] Operation: 23-7=16 Exploring Operation: 23-7=16, Resulting Numbers: [7, 16] Generated Node #0,3,2: 72:[7, 16] Operation: 23-7=16 Exploring Operation: 7+7=14, Resulting Numbers: [23, 14] Generated Node #0,3,3: 72:[23, 14] Operation: 7+7=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 72:[23, 1], Operations: ['62-55=7', '7/7=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 72:[7, 16], Operations: ['62-55=7', '23-7=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,72 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 72:[7, 16], Operations: ['62-55=7', '23-7=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,72 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 72:[23, 14], Operations: ['62-55=7', '7+7=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,72 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[7, 62, 32], Operations: ['55-23=32'] Exploring Operation: 32-7=25, Resulting Numbers: [62, 25] Generated Node #0,1,0: 72:[62, 25] Operation: 32-7=25 Exploring Operation: 7+32=39, Resulting Numbers: [62, 39] Generated Node #0,1,1: 72:[62, 39] Operation: 7+32=39 Exploring Operation: 7+62=69, Resulting Numbers: [32, 69] Generated Node #0,1,2: 72:[32, 69] Operation: 7+62=69 Exploring Operation: 62-32=30, Resulting Numbers: [7, 30] Generated Node #0,1,3: 72:[7, 30] Operation: 62-32=30 Moving to Node #0,1,2 Current State: 72:[32, 69], Operations: ['55-23=32', '7+62=69'] Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,72 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[7, 30], Operations: ['55-23=32', '62-32=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[62, 25], Operations: ['55-23=32', '32-7=25'] Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,72 unequal: No Solution Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[62, 39], Operations: ['55-23=32', '7+32=39'] Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,72 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[7, 62, 78], Operations: ['23+55=78'] Exploring Operation: 62-7=55, Resulting Numbers: [78, 55] Generated Node #0,0,0: 72:[78, 55] Operation: 62-7=55 Exploring Operation: 78-7=71, Resulting Numbers: [62, 71] Generated Node #0,0,1: 72:[62, 71] Operation: 78-7=71 Exploring Operation: 78-62=16, Resulting Numbers: [7, 16] Generated Node #0,0,2: 72:[7, 16] Operation: 78-62=16 Exploring Operation: 7+62=69, Resulting Numbers: [78, 69] Generated Node #0,0,3: 72:[78, 69] Operation: 7+62=69 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[7, 16], Operations: ['23+55=78', '78-62=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,72 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 72:[78, 69], Operations: ['23+55=78', '7+62=69'] Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,72 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[62, 71], Operations: ['23+55=78', '78-7=71'] Exploring Operation: 62*71=4402, Resulting Numbers: [4402] 4402,72 unequal: No Solution Exploring Operation: 71-62=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 62+71=133, Resulting Numbers: [133] 133,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[78, 55], Operations: ['23+55=78', '62-7=55'] Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,72 unequal: No Solution Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,72 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[7, 55, 39], Operations: ['62-23=39'] Exploring Operation: 55-7=48, Resulting Numbers: [39, 48] Generated Node #0,2,0: 72:[39, 48] Operation: 55-7=48 Exploring Operation: 55-39=16, Resulting Numbers: [7, 16] Generated Node #0,2,1: 72:[7, 16] Operation: 55-39=16 Exploring Operation: 39-7=32, Resulting Numbers: [55, 32] Generated Node #0,2,2: 72:[55, 32] Operation: 39-7=32 Exploring Operation: 7+55=62, Resulting Numbers: [39, 62] Generated Node #0,2,3: 72:[39, 62] Operation: 7+55=62 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[7, 16], Operations: ['62-23=39', '55-39=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,72 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 72:[39, 62], Operations: ['62-23=39', '7+55=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,72 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[39, 48], Operations: ['62-23=39', '55-7=48'] Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[55, 32], Operations: ['62-23=39', '39-7=32'] Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 38, 76, 57, 45 ]
100
[ "76/38=2", "57+45=102", "102-2=100" ]
Current State: 100:[38, 76, 57, 45], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [57, 45, 2] Generated Node #2: [57, 45, 2] from Operation: 76/38=2 Current State: 100:[57, 45, 2], Operations: ['76/38=2'] Exploring Operation: 57+45=102, Resulting Numbers: [2, 102] Generated Node #3: [2, 102] from Operation: 57+45=102 Current State: 100:[2, 102], Operations: ['76/38=2', '57+45=102'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[38, 76, 57, 45], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [57, 45, 2] Generated Node #0,0: 100:[57, 45, 2] Operation: 76/38=2 Exploring Operation: 76-57=19, Resulting Numbers: [38, 45, 19] Generated Node #0,1: 100:[38, 45, 19] Operation: 76-57=19 Exploring Operation: 76-38=38, Resulting Numbers: [57, 45, 38] Generated Node #0,2: 100:[57, 45, 38] Operation: 76-38=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[57, 45, 2], Operations: ['76/38=2'] Exploring Operation: 57-45=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 100:[2, 12] Operation: 57-45=12 Exploring Operation: 57-2=55, Resulting Numbers: [45, 55] Generated Node #0,0,1: 100:[45, 55] Operation: 57-2=55 Exploring Operation: 57+45=102, Resulting Numbers: [2, 102] Generated Node #0,0,2: 100:[2, 102] Operation: 57+45=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[2, 12], Operations: ['76/38=2', '57-45=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[2, 102], Operations: ['76/38=2', '57+45=102'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[38, 76, 57, 45], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [57, 45, 2] Generated Node #0,0: 100:[57, 45, 2] Operation: 76/38=2 Moving to Node #0,0 Current State: 100:[57, 45, 2], Operations: ['76/38=2'] Exploring Operation: 57+45=102, Resulting Numbers: [2, 102] Generated Node #0,0,2: 100:[2, 102] Operation: 57+45=102 Moving to Node #0,0,2 Current State: 100:[2, 102], Operations: ['76/38=2', '57+45=102'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 50, 77, 2, 45 ]
41
[ "50+77=127", "127-45=82", "82/2=41" ]
Current State: 41:[50, 77, 2, 45], Operations: [] Exploring Operation: 50+77=127, Resulting Numbers: [2, 45, 127] Generated Node #2: [2, 45, 127] from Operation: 50+77=127 Current State: 41:[2, 45, 127], Operations: ['50+77=127'] Exploring Operation: 127-45=82, Resulting Numbers: [2, 82] Generated Node #3: [2, 82] from Operation: 127-45=82 Current State: 41:[2, 82], Operations: ['50+77=127', '127-45=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 77, 2, 45], Operations: [] Exploring Operation: 77-2=75, Resulting Numbers: [50, 45, 75] Generated Node #0,0: 41:[50, 45, 75] Operation: 77-2=75 Exploring Operation: 50-2=48, Resulting Numbers: [77, 45, 48] Generated Node #0,1: 41:[77, 45, 48] Operation: 50-2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[50, 45, 75], Operations: ['77-2=75'] Exploring Operation: 75-50=25, Resulting Numbers: [45, 25] Generated Node #0,0,0: 41:[45, 25] Operation: 75-50=25 Exploring Operation: 75-45=30, Resulting Numbers: [50, 30] Generated Node #0,0,1: 41:[50, 30] Operation: 75-45=30 Moving to Node #0,0,0 Current State: 41:[45, 25], Operations: ['77-2=75', '75-50=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[50, 30], Operations: ['77-2=75', '75-45=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[77, 45, 48], Operations: ['50-2=48'] Exploring Operation: 77-48=29, Resulting Numbers: [45, 29] Generated Node #0,1,0: 41:[45, 29] Operation: 77-48=29 Exploring Operation: 77-45=32, Resulting Numbers: [48, 32] Generated Node #0,1,1: 41:[48, 32] Operation: 77-45=32 Moving to Node #0,1,0 Current State: 41:[45, 29], Operations: ['50-2=48', '77-48=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[48, 32], Operations: ['50-2=48', '77-45=32'] Exploring Operation: 48+32=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,41 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
[ 55, 68, 51, 16 ]
21
[ "55-51=4", "68+16=84", "84/4=21" ]
Current State: 21:[55, 68, 51, 16], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [68, 16, 4] Generated Node #2: [68, 16, 4] from Operation: 55-51=4 Current State: 21:[68, 16, 4], Operations: ['55-51=4'] Exploring Operation: 68+16=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 68+16=84 Current State: 21:[4, 84], Operations: ['55-51=4', '68+16=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[55, 68, 51, 16], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [68, 16, 4] Generated Node #0,0: 21:[68, 16, 4] Operation: 55-51=4 Exploring Operation: 68-55=13, Resulting Numbers: [51, 16, 13] Generated Node #0,1: 21:[51, 16, 13] Operation: 68-55=13 Exploring Operation: 68-51=17, Resulting Numbers: [55, 16, 17] Generated Node #0,2: 21:[55, 16, 17] Operation: 68-51=17 Moving to Node #0,1 Current State: 21:[51, 16, 13], Operations: ['68-55=13'] Exploring Operation: 16-13=3, Resulting Numbers: [51, 3] Generated Node #0,1,0: 21:[51, 3] Operation: 16-13=3 Exploring Operation: 51-13=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 21:[16, 38] Operation: 51-13=38 Exploring Operation: 51-16=35, Resulting Numbers: [13, 35] Generated Node #0,1,2: 21:[13, 35] Operation: 51-16=35 Moving to Node #0,2 Current State: 21:[55, 16, 17], Operations: ['68-51=17'] Exploring Operation: 17-16=1, Resulting Numbers: [55, 1] Generated Node #0,2,0: 21:[55, 1] Operation: 17-16=1 Exploring Operation: 55-16=39, Resulting Numbers: [17, 39] Generated Node #0,2,1: 21:[17, 39] Operation: 55-16=39 Exploring Operation: 55-17=38, Resulting Numbers: [16, 38] Generated Node #0,2,2: 21:[16, 38] Operation: 55-17=38 Moving to Node #0,0 Current State: 21:[68, 16, 4], Operations: ['55-51=4'] Exploring Operation: 68/4=17, Resulting Numbers: [16, 17] Generated Node #0,0,0: 21:[16, 17] Operation: 68/4=17 Exploring Operation: 68-4=64, Resulting Numbers: [16, 64] Generated Node #0,0,1: 21:[16, 64] Operation: 68-4=64 Exploring Operation: 68-16=52, Resulting Numbers: [4, 52] Generated Node #0,0,2: 21:[4, 52] Operation: 68-16=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[16, 17], Operations: ['55-51=4', '68/4=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,21 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[4, 52], Operations: ['55-51=4', '68-16=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[16, 64], Operations: ['55-51=4', '68-4=64'] Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 21:[13, 35], Operations: ['68-55=13', '51-16=35'] Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,21 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[16, 38], Operations: ['68-55=13', '51-13=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,21 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[16, 38], Operations: ['68-51=17', '55-17=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,21 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[17, 39], Operations: ['68-51=17', '55-16=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,21 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[51, 3], Operations: ['68-55=13', '16-13=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[55, 1], Operations: ['68-51=17', '17-16=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,21 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,21 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 57, 86, 60, 4 ]
14
[ "86-57=29", "60/4=15", "29-15=14" ]
Current State: 14:[57, 86, 60, 4], Operations: [] Exploring Operation: 86-57=29, Resulting Numbers: [60, 4, 29] Generated Node #2: [60, 4, 29] from Operation: 86-57=29 Current State: 14:[60, 4, 29], Operations: ['86-57=29'] Exploring Operation: 60/4=15, Resulting Numbers: [29, 15] Generated Node #3: [29, 15] from Operation: 60/4=15 Current State: 14:[29, 15], Operations: ['86-57=29', '60/4=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[57, 86, 60, 4], Operations: [] Exploring Operation: 86-57=29, Resulting Numbers: [60, 4, 29] Generated Node #0,0: 14:[60, 4, 29] Operation: 86-57=29 Exploring Operation: 86-60=26, Resulting Numbers: [57, 4, 26] Generated Node #0,1: 14:[57, 4, 26] Operation: 86-60=26 Moving to Node #0,1 Current State: 14:[57, 4, 26], Operations: ['86-60=26'] Exploring Operation: 57-26=31, Resulting Numbers: [4, 31] Generated Node #0,1,0: 14:[4, 31] Operation: 57-26=31 Exploring Operation: 57-4=53, Resulting Numbers: [26, 53] Generated Node #0,1,1: 14:[26, 53] Operation: 57-4=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[4, 31], Operations: ['86-60=26', '57-26=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,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:[26, 53], Operations: ['86-60=26', '57-4=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,14 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: 14:[60, 4, 29], Operations: ['86-57=29'] Exploring Operation: 60/4=15, Resulting Numbers: [29, 15] Generated Node #0,0,0: 14:[29, 15] Operation: 60/4=15 Exploring Operation: 60-29=31, Resulting Numbers: [4, 31] Generated Node #0,0,1: 14:[4, 31] Operation: 60-29=31 Moving to Node #0,0,0 Current State: 14:[29, 15], Operations: ['86-57=29', '60/4=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[57, 86, 60, 4], Operations: [] Exploring Operation: 86-57=29, Resulting Numbers: [60, 4, 29] Generated Node #0,0: 14:[60, 4, 29] Operation: 86-57=29 Moving to Node #0,0 Current State: 14:[60, 4, 29], Operations: ['86-57=29'] Exploring Operation: 60/4=15, Resulting Numbers: [29, 15] Generated Node #0,0,0: 14:[29, 15] Operation: 60/4=15 Moving to Node #0,0,0 Current State: 14:[29, 15], Operations: ['86-57=29', '60/4=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 12, 17, 75, 1 ]
14
[ "17-12=5", "75/5=15", "15-1=14" ]
Current State: 14:[12, 17, 75, 1], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [75, 1, 5] Generated Node #2: [75, 1, 5] from Operation: 17-12=5 Current State: 14:[75, 1, 5], Operations: ['17-12=5'] Exploring Operation: 75/5=15, Resulting Numbers: [1, 15] Generated Node #3: [1, 15] from Operation: 75/5=15 Current State: 14:[1, 15], Operations: ['17-12=5', '75/5=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[12, 17, 75, 1], Operations: [] Exploring Operation: 12+1=13, Resulting Numbers: [17, 75, 13] Generated Node #0,0: 14:[17, 75, 13] Operation: 12+1=13 Exploring Operation: 75-17=58, Resulting Numbers: [12, 1, 58] Generated Node #0,1: 14:[12, 1, 58] Operation: 75-17=58 Exploring Operation: 17-12=5, Resulting Numbers: [75, 1, 5] Generated Node #0,2: 14:[75, 1, 5] Operation: 17-12=5 Exploring Operation: 75-12=63, Resulting Numbers: [17, 1, 63] Generated Node #0,3: 14:[17, 1, 63] Operation: 75-12=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[12, 1, 58], Operations: ['75-17=58'] Exploring Operation: 12*1=12, Resulting Numbers: [58, 12] Generated Node #0,1,0: 14:[58, 12] Operation: 12*1=12 Exploring Operation: 12+1=13, Resulting Numbers: [58, 13] Generated Node #0,1,1: 14:[58, 13] Operation: 12+1=13 Exploring Operation: 58-1=57, Resulting Numbers: [12, 57] Generated Node #0,1,2: 14:[12, 57] Operation: 58-1=57 Exploring Operation: 58-12=46, Resulting Numbers: [1, 46] Generated Node #0,1,3: 14:[1, 46] Operation: 58-12=46 Moving to Node #0,1,3 Current State: 14:[1, 46], Operations: ['75-17=58', '58-12=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[12, 57], Operations: ['75-17=58', '58-1=57'] Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,14 unequal: No Solution Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,14 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[58, 13], Operations: ['75-17=58', '12+1=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[58, 12], Operations: ['75-17=58', '12*1=12'] Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,14 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,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:[17, 1, 63], Operations: ['75-12=63'] Exploring Operation: 17*1=17, Resulting Numbers: [63, 17] Generated Node #0,3,0: 14:[63, 17] Operation: 17*1=17 Exploring Operation: 63-1=62, Resulting Numbers: [17, 62] Generated Node #0,3,1: 14:[17, 62] Operation: 63-1=62 Exploring Operation: 17-1=16, Resulting Numbers: [63, 16] Generated Node #0,3,2: 14:[63, 16] Operation: 17-1=16 Exploring Operation: 63-17=46, Resulting Numbers: [1, 46] Generated Node #0,3,3: 14:[1, 46] Operation: 63-17=46 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[1, 46], Operations: ['75-12=63', '63-17=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,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,3,1 Current State: 14:[17, 62], Operations: ['75-12=63', '63-1=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,14 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,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,3,2 Current State: 14:[63, 16], Operations: ['75-12=63', '17-1=16'] Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,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,3,0 Current State: 14:[63, 17], Operations: ['75-12=63', '17*1=17'] Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,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,2 Current State: 14:[75, 1, 5], Operations: ['17-12=5'] Exploring Operation: 1+5=6, Resulting Numbers: [75, 6] Generated Node #0,2,0: 14:[75, 6] Operation: 1+5=6 Exploring Operation: 75/5=15, Resulting Numbers: [1, 15] Generated Node #0,2,1: 14:[1, 15] Operation: 75/5=15 Exploring Operation: 75-5=70, Resulting Numbers: [1, 70] Generated Node #0,2,2: 14:[1, 70] Operation: 75-5=70 Exploring Operation: 75-1=74, Resulting Numbers: [5, 74] Generated Node #0,2,3: 14:[5, 74] Operation: 75-1=74 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[1, 15], Operations: ['17-12=5', '75/5=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[12, 17, 75, 1], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [75, 1, 5] Generated Node #0,2: 14:[75, 1, 5] Operation: 17-12=5 Moving to Node #0,2 Current State: 14:[75, 1, 5], Operations: ['17-12=5'] Exploring Operation: 75/5=15, Resulting Numbers: [1, 15] Generated Node #0,2,1: 14:[1, 15] Operation: 75/5=15 Moving to Node #0,2,1 Current State: 14:[1, 15], Operations: ['17-12=5', '75/5=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 72, 78, 43, 84 ]
86
[ "72+84=156", "156/78=2", "43*2=86" ]
Current State: 86:[72, 78, 43, 84], Operations: [] Exploring Operation: 72+84=156, Resulting Numbers: [78, 43, 156] Generated Node #2: [78, 43, 156] from Operation: 72+84=156 Current State: 86:[78, 43, 156], Operations: ['72+84=156'] Exploring Operation: 156/78=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 156/78=2 Current State: 86:[43, 2], Operations: ['72+84=156', '156/78=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[72, 78, 43, 84], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [72, 43, 6] Generated Node #0,0: 86:[72, 43, 6] Operation: 84-78=6 Exploring Operation: 72-43=29, Resulting Numbers: [78, 84, 29] Generated Node #0,1: 86:[78, 84, 29] Operation: 72-43=29 Exploring Operation: 84-72=12, Resulting Numbers: [78, 43, 12] Generated Node #0,2: 86:[78, 43, 12] Operation: 84-72=12 Exploring Operation: 78-72=6, Resulting Numbers: [43, 84, 6] Generated Node #0,3: 86:[43, 84, 6] Operation: 78-72=6 Moving to Node #0,3 Current State: 86:[43, 84, 6], Operations: ['78-72=6'] Exploring Operation: 84+6=90, Resulting Numbers: [43, 90] Generated Node #0,3,0: 86:[43, 90] Operation: 84+6=90 Exploring Operation: 43+6=49, Resulting Numbers: [84, 49] Generated Node #0,3,1: 86:[84, 49] Operation: 43+6=49 Exploring Operation: 84-43=41, Resulting Numbers: [6, 41] Generated Node #0,3,2: 86:[6, 41] Operation: 84-43=41 Exploring Operation: 43-6=37, Resulting Numbers: [84, 37] Generated Node #0,3,3: 86:[84, 37] Operation: 43-6=37 Moving to Node #0,2 Current State: 86:[78, 43, 12], Operations: ['84-72=12'] Exploring Operation: 78+12=90, Resulting Numbers: [43, 90] Generated Node #0,2,0: 86:[43, 90] Operation: 78+12=90 Exploring Operation: 78-43=35, Resulting Numbers: [12, 35] Generated Node #0,2,1: 86:[12, 35] Operation: 78-43=35 Exploring Operation: 78-12=66, Resulting Numbers: [43, 66] Generated Node #0,2,2: 86:[43, 66] Operation: 78-12=66 Exploring Operation: 43+12=55, Resulting Numbers: [78, 55] Generated Node #0,2,3: 86:[78, 55] Operation: 43+12=55 Moving to Node #0,0 Current State: 86:[72, 43, 6], Operations: ['84-78=6'] Exploring Operation: 72-6=66, Resulting Numbers: [43, 66] Generated Node #0,0,0: 86:[43, 66] Operation: 72-6=66 Exploring Operation: 72/6=12, Resulting Numbers: [43, 12] Generated Node #0,0,1: 86:[43, 12] Operation: 72/6=12 Exploring Operation: 72-43=29, Resulting Numbers: [6, 29] Generated Node #0,0,2: 86:[6, 29] Operation: 72-43=29 Exploring Operation: 72+6=78, Resulting Numbers: [43, 78] Generated Node #0,0,3: 86:[43, 78] Operation: 72+6=78 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[43, 78], Operations: ['84-78=6', '72+6=78'] Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,86 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[43, 12], Operations: ['84-78=6', '72/6=12'] Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,86 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[6, 29], Operations: ['84-78=6', '72-43=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,86 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[43, 66], Operations: ['84-78=6', '72-6=66'] Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,86 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,86 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: 86:[78, 84, 29], Operations: ['72-43=29'] Exploring Operation: 78-29=49, Resulting Numbers: [84, 49] Generated Node #0,1,0: 86:[84, 49] Operation: 78-29=49 Exploring Operation: 84-78=6, Resulting Numbers: [29, 6] Generated Node #0,1,1: 86:[29, 6] Operation: 84-78=6 Exploring Operation: 78+29=107, Resulting Numbers: [84, 107] Generated Node #0,1,2: 86:[84, 107] Operation: 78+29=107 Exploring Operation: 84-29=55, Resulting Numbers: [78, 55] Generated Node #0,1,3: 86:[78, 55] Operation: 84-29=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[84, 49], Operations: ['72-43=29', '78-29=49'] Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,86 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[29, 6], Operations: ['72-43=29', '84-78=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,86 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[78, 55], Operations: ['72-43=29', '84-29=55'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[84, 107], Operations: ['72-43=29', '78+29=107'] Exploring Operation: 107-84=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 84+107=191, Resulting Numbers: [191] 191,86 unequal: No Solution Exploring Operation: 84*107=8988, Resulting Numbers: [8988] 8988,86 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: 86:[43, 90], Operations: ['78-72=6', '84+6=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,86 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[43, 90], Operations: ['84-72=12', '78+12=90'] Exploring Operation: 43*90=3870, Resulting Numbers: [3870] 3870,86 unequal: No Solution Exploring Operation: 43+90=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[6, 41], Operations: ['78-72=6', '84-43=41'] Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,86 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[84, 49], Operations: ['78-72=6', '43+6=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,86 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[84, 37], Operations: ['78-72=6', '43-6=37'] Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[12, 35], Operations: ['84-72=12', '78-43=35'] Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,86 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[43, 66], Operations: ['84-72=12', '78-12=66'] Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,86 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,86 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[78, 55], Operations: ['84-72=12', '43+12=55'] Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,86 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,86 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 82, 48, 3, 43 ]
41
[ "48-3=45", "45-43=2", "82/2=41" ]
Current State: 41:[82, 48, 3, 43], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [82, 43, 45] Generated Node #2: [82, 43, 45] from Operation: 48-3=45 Current State: 41:[82, 43, 45], Operations: ['48-3=45'] Exploring Operation: 45-43=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 45-43=2 Current State: 41:[82, 2], Operations: ['48-3=45', '45-43=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[82, 48, 3, 43], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [3, 43, 34] Generated Node #0,0: 41:[3, 43, 34] Operation: 82-48=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[3, 43, 34], Operations: ['82-48=34'] Exploring Operation: 3+34=37, Resulting Numbers: [43, 37] Generated Node #0,0,0: 41:[43, 37] Operation: 3+34=37 Moving to Node #0,0,0 Current State: 41:[43, 37], Operations: ['82-48=34', '3+34=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,41 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
[ 24, 5, 71, 27 ]
79
[ "24-5=19", "71+27=98", "98-19=79" ]
Current State: 79:[24, 5, 71, 27], Operations: [] Exploring Operation: 24-5=19, Resulting Numbers: [71, 27, 19] Generated Node #2: [71, 27, 19] from Operation: 24-5=19 Current State: 79:[71, 27, 19], Operations: ['24-5=19'] Exploring Operation: 71+27=98, Resulting Numbers: [19, 98] Generated Node #3: [19, 98] from Operation: 71+27=98 Current State: 79:[19, 98], Operations: ['24-5=19', '71+27=98'] Exploring Operation: 98-19=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[24, 5, 71, 27], Operations: [] Exploring Operation: 24*5=120, Resulting Numbers: [71, 27, 120] Generated Node #0,0: 79:[71, 27, 120] Operation: 24*5=120 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[71, 27, 120], Operations: ['24*5=120'] Exploring Operation: 120-27=93, Resulting Numbers: [71, 93] Generated Node #0,0,0: 79:[71, 93] Operation: 120-27=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[71, 93], Operations: ['24*5=120', '120-27=93'] Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 83, 31, 32 ]
21
[ "64*31=1984", "1984/32=62", "83-62=21" ]
Current State: 21:[64, 83, 31, 32], Operations: [] Exploring Operation: 64*31=1984, Resulting Numbers: [83, 32, 1984] Generated Node #2: [83, 32, 1984] from Operation: 64*31=1984 Current State: 21:[83, 32, 1984], Operations: ['64*31=1984'] Exploring Operation: 1984/32=62, Resulting Numbers: [83, 62] Generated Node #3: [83, 62] from Operation: 1984/32=62 Current State: 21:[83, 62], Operations: ['64*31=1984', '1984/32=62'] Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[64, 83, 31, 32], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [64, 31, 51] Generated Node #0,0: 21:[64, 31, 51] Operation: 83-32=51 Exploring Operation: 83-64=19, Resulting Numbers: [31, 32, 19] Generated Node #0,1: 21:[31, 32, 19] Operation: 83-64=19 Exploring Operation: 64/32=2, Resulting Numbers: [83, 31, 2] Generated Node #0,2: 21:[83, 31, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [83, 31, 32] Generated Node #0,3: 21:[83, 31, 32] Operation: 64-32=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[31, 32, 19], Operations: ['83-64=19'] Exploring Operation: 31+19=50, Resulting Numbers: [32, 50] Generated Node #0,1,0: 21:[32, 50] Operation: 31+19=50 Exploring Operation: 32-31=1, Resulting Numbers: [19, 1] Generated Node #0,1,1: 21:[19, 1] Operation: 32-31=1 Exploring Operation: 31-19=12, Resulting Numbers: [32, 12] Generated Node #0,1,2: 21:[32, 12] Operation: 31-19=12 Exploring Operation: 32-19=13, Resulting Numbers: [31, 13] Generated Node #0,1,3: 21:[31, 13] Operation: 32-19=13 Moving to Node #0,1,1 Current State: 21:[19, 1], Operations: ['83-64=19', '32-31=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[31, 13], Operations: ['83-64=19', '32-19=13'] Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,21 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[32, 12], Operations: ['83-64=19', '31-19=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,21 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[32, 50], Operations: ['83-64=19', '31+19=50'] Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,21 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[83, 31, 2], Operations: ['64/32=2'] Exploring Operation: 83+2=85, Resulting Numbers: [31, 85] Generated Node #0,2,0: 21:[31, 85] Operation: 83+2=85 Exploring Operation: 31-2=29, Resulting Numbers: [83, 29] Generated Node #0,2,1: 21:[83, 29] Operation: 31-2=29 Exploring Operation: 83-2=81, Resulting Numbers: [31, 81] Generated Node #0,2,2: 21:[31, 81] Operation: 83-2=81 Exploring Operation: 83-31=52, Resulting Numbers: [2, 52] Generated Node #0,2,3: 21:[2, 52] Operation: 83-31=52 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[2, 52], Operations: ['64/32=2', '83-31=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[83, 29], Operations: ['64/32=2', '31-2=29'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[31, 81], Operations: ['64/32=2', '83-2=81'] Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[31, 85], Operations: ['64/32=2', '83+2=85'] Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,21 unequal: No Solution Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[64, 31, 51], Operations: ['83-32=51'] Exploring Operation: 64-31=33, Resulting Numbers: [51, 33] Generated Node #0,0,0: 21:[51, 33] Operation: 64-31=33 Exploring Operation: 64-51=13, Resulting Numbers: [31, 13] Generated Node #0,0,1: 21:[31, 13] Operation: 64-51=13 Exploring Operation: 64+31=95, Resulting Numbers: [51, 95] Generated Node #0,0,2: 21:[51, 95] Operation: 64+31=95 Exploring Operation: 51-31=20, Resulting Numbers: [64, 20] Generated Node #0,0,3: 21:[64, 20] Operation: 51-31=20 Moving to Node #0,0,1 Current State: 21:[31, 13], Operations: ['83-32=51', '64-51=13'] Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,21 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[51, 33], Operations: ['83-32=51', '64-31=33'] Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,21 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[64, 20], Operations: ['83-32=51', '51-31=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,21 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[51, 95], Operations: ['83-32=51', '64+31=95'] Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 51*95=4845, Resulting Numbers: [4845] 4845,21 unequal: No Solution Exploring Operation: 51+95=146, Resulting Numbers: [146] 146,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[83, 31, 32], Operations: ['64-32=32'] Exploring Operation: 32-31=1, Resulting Numbers: [83, 1] Generated Node #0,3,0: 21:[83, 1] Operation: 32-31=1 Exploring Operation: 83-31=52, Resulting Numbers: [32, 52] Generated Node #0,3,1: 21:[32, 52] Operation: 83-31=52 Exploring Operation: 83+31=114, Resulting Numbers: [32, 114] Generated Node #0,3,2: 21:[32, 114] Operation: 83+31=114 Exploring Operation: 83-32=51, Resulting Numbers: [31, 51] Generated Node #0,3,3: 21:[31, 51] Operation: 83-32=51 Moving to Node #0,3,3 Current State: 21:[31, 51], Operations: ['64-32=32', '83-32=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,21 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[32, 52], Operations: ['64-32=32', '83-31=52'] Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,21 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[83, 1], Operations: ['64-32=32', '32-31=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,21 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[32, 114], Operations: ['64-32=32', '83+31=114'] Exploring Operation: 32+114=146, Resulting Numbers: [146] 146,21 unequal: No Solution Exploring Operation: 114-32=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 32*114=3648, Resulting Numbers: [3648] 3648,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 9, 9, 2, 55 ]
68
[ "9*9=81", "55+81=136", "136/2=68" ]
Current State: 68:[9, 9, 2, 55], Operations: [] Exploring Operation: 9*9=81, Resulting Numbers: [2, 55, 81] Generated Node #2: [2, 55, 81] from Operation: 9*9=81 Current State: 68:[2, 55, 81], Operations: ['9*9=81'] Exploring Operation: 55+81=136, Resulting Numbers: [2, 136] Generated Node #3: [2, 136] from Operation: 55+81=136 Current State: 68:[2, 136], Operations: ['9*9=81', '55+81=136'] Exploring Operation: 136/2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[9, 9, 2, 55], Operations: [] Exploring Operation: 9+55=64, Resulting Numbers: [9, 2, 64] Generated Node #0,0: 68:[9, 2, 64] Operation: 9+55=64 Exploring Operation: 9+55=64, Resulting Numbers: [9, 2, 64] Generated Node #0,1: 68:[9, 2, 64] Operation: 9+55=64 Exploring Operation: 9+9=18, Resulting Numbers: [2, 55, 18] Generated Node #0,2: 68:[2, 55, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [2, 55, 1] Generated Node #0,3: 68:[2, 55, 1] Operation: 9/9=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[9, 2, 64], Operations: ['9+55=64'] Exploring Operation: 9*2=18, Resulting Numbers: [64, 18] Generated Node #0,0,0: 68:[64, 18] Operation: 9*2=18 Exploring Operation: 9-2=7, Resulting Numbers: [64, 7] Generated Node #0,0,1: 68:[64, 7] Operation: 9-2=7 Exploring Operation: 2+64=66, Resulting Numbers: [9, 66] Generated Node #0,0,2: 68:[9, 66] Operation: 2+64=66 Exploring Operation: 9+64=73, Resulting Numbers: [2, 73] Generated Node #0,0,3: 68:[2, 73] Operation: 9+64=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[64, 18], Operations: ['9+55=64', '9*2=18'] Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 68:[2, 73], Operations: ['9+55=64', '9+64=73'] Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,68 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[64, 7], Operations: ['9+55=64', '9-2=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,68 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[9, 66], Operations: ['9+55=64', '2+64=66'] Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,68 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[9, 2, 64], Operations: ['9+55=64'] Exploring Operation: 9*2=18, Resulting Numbers: [64, 18] Generated Node #0,1,0: 68:[64, 18] Operation: 9*2=18 Exploring Operation: 2+64=66, Resulting Numbers: [9, 66] Generated Node #0,1,1: 68:[9, 66] Operation: 2+64=66 Exploring Operation: 9+64=73, Resulting Numbers: [2, 73] Generated Node #0,1,2: 68:[2, 73] Operation: 9+64=73 Exploring Operation: 9-2=7, Resulting Numbers: [64, 7] Generated Node #0,1,3: 68:[64, 7] Operation: 9-2=7 Moving to Node #0,1,0 Current State: 68:[64, 18], Operations: ['9+55=64', '9*2=18'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,68 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[2, 73], Operations: ['9+55=64', '9+64=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[64, 7], Operations: ['9+55=64', '9-2=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,68 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[9, 66], Operations: ['9+55=64', '2+64=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,68 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,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,2 Current State: 68:[2, 55, 18], Operations: ['9+9=18'] Exploring Operation: 18-2=16, Resulting Numbers: [55, 16] Generated Node #0,2,0: 68:[55, 16] Operation: 18-2=16 Exploring Operation: 55-18=37, Resulting Numbers: [2, 37] Generated Node #0,2,1: 68:[2, 37] Operation: 55-18=37 Exploring Operation: 2+55=57, Resulting Numbers: [18, 57] Generated Node #0,2,2: 68:[18, 57] Operation: 2+55=57 Exploring Operation: 55+18=73, Resulting Numbers: [2, 73] Generated Node #0,2,3: 68:[2, 73] Operation: 55+18=73 Moving to Node #0,2,1 Current State: 68:[2, 37], Operations: ['9+9=18', '55-18=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[2, 73], Operations: ['9+9=18', '55+18=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,68 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[18, 57], Operations: ['9+9=18', '2+55=57'] Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,68 unequal: No Solution Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[55, 16], Operations: ['9+9=18', '18-2=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,68 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,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,3 Current State: 68:[2, 55, 1], Operations: ['9/9=1'] Exploring Operation: 2*1=2, Resulting Numbers: [55, 2] Generated Node #0,3,0: 68:[55, 2] Operation: 2*1=2 Exploring Operation: 2+55=57, Resulting Numbers: [1, 57] Generated Node #0,3,1: 68:[1, 57] Operation: 2+55=57 Exploring Operation: 2/1=2, Resulting Numbers: [55, 2] Generated Node #0,3,2: 68:[55, 2] Operation: 2/1=2 Exploring Operation: 55+1=56, Resulting Numbers: [2, 56] Generated Node #0,3,3: 68:[2, 56] Operation: 55+1=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[1, 57], Operations: ['9/9=1', '2+55=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,68 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[2, 56], Operations: ['9/9=1', '55+1=56'] Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,68 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,68 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[55, 2], Operations: ['9/9=1', '2*1=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[55, 2], Operations: ['9/9=1', '2/1=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 85, 60, 5, 45 ]
100
[ "85-60=25", "45-25=20", "5*20=100" ]
Current State: 100:[85, 60, 5, 45], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [5, 45, 25] Generated Node #2: [5, 45, 25] from Operation: 85-60=25 Current State: 100:[5, 45, 25], Operations: ['85-60=25'] Exploring Operation: 45-25=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 45-25=20 Current State: 100:[5, 20], Operations: ['85-60=25', '45-25=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[85, 60, 5, 45], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [5, 45, 25] Generated Node #0,0: 100:[5, 45, 25] Operation: 85-60=25 Moving to Node #0,0 Current State: 100:[5, 45, 25], Operations: ['85-60=25'] Exploring Operation: 5+45=50, Resulting Numbers: [25, 50] Generated Node #0,0,0: 100:[25, 50] Operation: 5+45=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[25, 50], Operations: ['85-60=25', '5+45=50'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 87, 92, 4, 15 ]
49
[ "87-15=72", "92/4=23", "72-23=49" ]
Current State: 49:[87, 92, 4, 15], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [92, 4, 72] Generated Node #2: [92, 4, 72] from Operation: 87-15=72 Current State: 49:[92, 4, 72], Operations: ['87-15=72'] Exploring Operation: 92/4=23, Resulting Numbers: [72, 23] Generated Node #3: [72, 23] from Operation: 92/4=23 Current State: 49:[72, 23], Operations: ['87-15=72', '92/4=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[87, 92, 4, 15], Operations: [] Exploring Operation: 87-4=83, Resulting Numbers: [92, 15, 83] Generated Node #0,0: 49:[92, 15, 83] Operation: 87-4=83 Exploring Operation: 92-15=77, Resulting Numbers: [87, 4, 77] Generated Node #0,1: 49:[87, 4, 77] Operation: 92-15=77 Exploring Operation: 92-87=5, Resulting Numbers: [4, 15, 5] Generated Node #0,2: 49:[4, 15, 5] Operation: 92-87=5 Exploring Operation: 87-15=72, Resulting Numbers: [92, 4, 72] Generated Node #0,3: 49:[92, 4, 72] Operation: 87-15=72 Exploring Operation: 92/4=23, Resulting Numbers: [87, 15, 23] Generated Node #0,4: 49:[87, 15, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[4, 15, 5], Operations: ['92-87=5'] Exploring Operation: 4+5=9, Resulting Numbers: [15, 9] Generated Node #0,2,0: 49:[15, 9] Operation: 4+5=9 Exploring Operation: 15-4=11, Resulting Numbers: [5, 11] Generated Node #0,2,1: 49:[5, 11] Operation: 15-4=11 Exploring Operation: 15/5=3, Resulting Numbers: [4, 3] Generated Node #0,2,2: 49:[4, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [4, 10] Generated Node #0,2,3: 49:[4, 10] Operation: 15-5=10 Exploring Operation: 4*15=60, Resulting Numbers: [5, 60] Generated Node #0,2,4: 49:[5, 60] Operation: 4*15=60 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[5, 11], Operations: ['92-87=5', '15-4=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,49 unequal: No Solution No 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: 49:[4, 10], Operations: ['92-87=5', '15-5=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,49 unequal: No Solution No 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: 49:[4, 3], Operations: ['92-87=5', '15/5=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,49 unequal: No Solution No 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: 49:[15, 9], Operations: ['92-87=5', '4+5=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,49 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,49 unequal: No Solution No 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: 49:[5, 60], Operations: ['92-87=5', '4*15=60'] Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,49 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,49 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: 49:[87, 15, 23], Operations: ['92/4=23'] Exploring Operation: 87-23=64, Resulting Numbers: [15, 64] Generated Node #0,4,0: 49:[15, 64] Operation: 87-23=64 Exploring Operation: 87-15=72, Resulting Numbers: [23, 72] Generated Node #0,4,1: 49:[23, 72] Operation: 87-15=72 Exploring Operation: 23-15=8, Resulting Numbers: [87, 8] Generated Node #0,4,2: 49:[87, 8] Operation: 23-15=8 Exploring Operation: 87+15=102, Resulting Numbers: [23, 102] Generated Node #0,4,3: 49:[23, 102] Operation: 87+15=102 Exploring Operation: 15+23=38, Resulting Numbers: [87, 38] Generated Node #0,4,4: 49:[87, 38] Operation: 15+23=38 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[15, 64], Operations: ['92/4=23', '87-23=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,49 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[87, 92, 4, 15], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [87, 15, 23] Generated Node #0,4: 49:[87, 15, 23] Operation: 92/4=23 Moving to Node #0,4 Current State: 49:[87, 15, 23], Operations: ['92/4=23'] Exploring Operation: 87-23=64, Resulting Numbers: [15, 64] Generated Node #0,4,0: 49:[15, 64] Operation: 87-23=64 Moving to Node #0,4,0 Current State: 49:[15, 64], Operations: ['92/4=23', '87-23=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 69, 69, 15, 81 ]
95
[ "69/69=1", "15+81=96", "96-1=95" ]
Current State: 95:[69, 69, 15, 81], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [15, 81, 1] Generated Node #2: [15, 81, 1] from Operation: 69/69=1 Current State: 95:[15, 81, 1], Operations: ['69/69=1'] Exploring Operation: 15+81=96, Resulting Numbers: [1, 96] Generated Node #3: [1, 96] from Operation: 15+81=96 Current State: 95:[1, 96], Operations: ['69/69=1', '15+81=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[69, 69, 15, 81], Operations: [] Exploring Operation: 69-69=0, Resulting Numbers: [15, 81, 0] Generated Node #0,0: 95:[15, 81, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [15, 81, 1] Generated Node #0,1: 95:[15, 81, 1] Operation: 69/69=1 Moving to Node #0,1 Current State: 95:[15, 81, 1], Operations: ['69/69=1'] Exploring Operation: 15+1=16, Resulting Numbers: [81, 16] Generated Node #0,1,0: 95:[81, 16] Operation: 15+1=16 Exploring Operation: 15+81=96, Resulting Numbers: [1, 96] Generated Node #0,1,1: 95:[1, 96] Operation: 15+81=96 Moving to Node #0,0 Current State: 95:[15, 81, 0], Operations: ['69-69=0'] Exploring Operation: 15+81=96, Resulting Numbers: [0, 96] Generated Node #0,0,0: 95:[0, 96] Operation: 15+81=96 Exploring Operation: 81*0=0, Resulting Numbers: [15, 0] Generated Node #0,0,1: 95:[15, 0] Operation: 81*0=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[0, 96], Operations: ['69-69=0', '15+81=96'] Exploring Operation: 0+96=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 96-0=96, Resulting Numbers: [96] 96,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[15, 0], Operations: ['69-69=0', '81*0=0'] Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 95:[1, 96], Operations: ['69/69=1', '15+81=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[69, 69, 15, 81], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [15, 81, 1] Generated Node #0,1: 95:[15, 81, 1] Operation: 69/69=1 Moving to Node #0,1 Current State: 95:[15, 81, 1], Operations: ['69/69=1'] Exploring Operation: 15+81=96, Resulting Numbers: [1, 96] Generated Node #0,1,1: 95:[1, 96] Operation: 15+81=96 Moving to Node #0,1,1 Current State: 95:[1, 96], Operations: ['69/69=1', '15+81=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 91, 86, 84, 79 ]
71
[ "86-79=7", "91/7=13", "84-13=71" ]
Current State: 71:[91, 86, 84, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [91, 84, 7] Generated Node #2: [91, 84, 7] from Operation: 86-79=7 Current State: 71:[91, 84, 7], Operations: ['86-79=7'] Exploring Operation: 91/7=13, Resulting Numbers: [84, 13] Generated Node #3: [84, 13] from Operation: 91/7=13 Current State: 71:[84, 13], Operations: ['86-79=7', '91/7=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[91, 86, 84, 79], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [86, 84, 12] Generated Node #0,0: 71:[86, 84, 12] Operation: 91-79=12 Exploring Operation: 91-84=7, Resulting Numbers: [86, 79, 7] Generated Node #0,1: 71:[86, 79, 7] Operation: 91-84=7 Exploring Operation: 91-86=5, Resulting Numbers: [84, 79, 5] Generated Node #0,2: 71:[84, 79, 5] Operation: 91-86=5 Exploring Operation: 86-84=2, Resulting Numbers: [91, 79, 2] Generated Node #0,3: 71:[91, 79, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 71:[86, 84, 12], Operations: ['91-79=12'] Exploring Operation: 86-12=74, Resulting Numbers: [84, 74] Generated Node #0,0,0: 71:[84, 74] Operation: 86-12=74 Exploring Operation: 84+12=96, Resulting Numbers: [86, 96] Generated Node #0,0,1: 71:[86, 96] Operation: 84+12=96 Exploring Operation: 86+12=98, Resulting Numbers: [84, 98] Generated Node #0,0,2: 71:[84, 98] Operation: 86+12=98 Exploring Operation: 84-12=72, Resulting Numbers: [86, 72] Generated Node #0,0,3: 71:[86, 72] Operation: 84-12=72 Moving to Node #0,2 Current State: 71:[84, 79, 5], Operations: ['91-86=5'] Exploring Operation: 79-5=74, Resulting Numbers: [84, 74] Generated Node #0,2,0: 71:[84, 74] Operation: 79-5=74 Exploring Operation: 84-5=79, Resulting Numbers: [79, 79] Generated Node #0,2,1: 71:[79, 79] Operation: 84-5=79 Exploring Operation: 84+5=89, Resulting Numbers: [79, 89] Generated Node #0,2,2: 71:[79, 89] Operation: 84+5=89 Exploring Operation: 79+5=84, Resulting Numbers: [84, 84] Generated Node #0,2,3: 71:[84, 84] Operation: 79+5=84 Moving to Node #0,1 Current State: 71:[86, 79, 7], Operations: ['91-84=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86, 86] Generated Node #0,1,0: 71:[86, 86] Operation: 79+7=86 Exploring Operation: 86+7=93, Resulting Numbers: [79, 93] Generated Node #0,1,1: 71:[79, 93] Operation: 86+7=93 Exploring Operation: 79-7=72, Resulting Numbers: [86, 72] Generated Node #0,1,2: 71:[86, 72] Operation: 79-7=72 Exploring Operation: 86-7=79, Resulting Numbers: [79, 79] Generated Node #0,1,3: 71:[79, 79] Operation: 86-7=79 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[86, 72], Operations: ['91-84=7', '79-7=72'] Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[79, 79], Operations: ['91-84=7', '86-7=79'] Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,71 unequal: No Solution Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[86, 86], Operations: ['91-84=7', '79+7=86'] Exploring Operation: 86+86=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 86*86=7396, Resulting Numbers: [7396] 7396,71 unequal: No Solution Exploring Operation: 86-86=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 86/86=1, Resulting Numbers: [1] 1,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[79, 93], Operations: ['91-84=7', '86+7=93'] Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 79*93=7347, Resulting Numbers: [7347] 7347,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 71:[91, 79, 2], Operations: ['86-84=2'] Exploring Operation: 91-2=89, Resulting Numbers: [79, 89] Generated Node #0,3,0: 71:[79, 89] Operation: 91-2=89 Exploring Operation: 79+2=81, Resulting Numbers: [91, 81] Generated Node #0,3,1: 71:[91, 81] Operation: 79+2=81 Exploring Operation: 79-2=77, Resulting Numbers: [91, 77] Generated Node #0,3,2: 71:[91, 77] Operation: 79-2=77 Exploring Operation: 91+2=93, Resulting Numbers: [79, 93] Generated Node #0,3,3: 71:[79, 93] Operation: 91+2=93 Moving to Node #0,0,0 Current State: 71:[84, 74], Operations: ['91-79=12', '86-12=74'] Exploring Operation: 84+74=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 84*74=6216, Resulting Numbers: [6216] 6216,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[79, 79], Operations: ['91-86=5', '84-5=79'] Exploring Operation: 79*79=6241, Resulting Numbers: [6241] 6241,71 unequal: No Solution Exploring Operation: 79-79=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 79+79=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 79/79=1, Resulting Numbers: [1] 1,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[86, 72], Operations: ['91-79=12', '84-12=72'] Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,71 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[84, 74], Operations: ['91-86=5', '79-5=74'] Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 84+74=158, Resulting Numbers: [158] 158,71 unequal: No Solution Exploring Operation: 84*74=6216, Resulting Numbers: [6216] 6216,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[79, 89], Operations: ['91-86=5', '84+5=89'] Exploring Operation: 79+89=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 79*89=7031, Resulting Numbers: [7031] 7031,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[79, 89], Operations: ['86-84=2', '91-2=89'] Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 79*89=7031, Resulting Numbers: [7031] 7031,71 unequal: No Solution Exploring Operation: 79+89=168, Resulting Numbers: [168] 168,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[91, 77], Operations: ['86-84=2', '79-2=77'] Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 91*77=7007, Resulting Numbers: [7007] 7007,71 unequal: No Solution Exploring Operation: 91+77=168, Resulting Numbers: [168] 168,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[84, 84], Operations: ['91-86=5', '79+5=84'] Exploring Operation: 84*84=7056, Resulting Numbers: [7056] 7056,71 unequal: No Solution Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[79, 93], Operations: ['86-84=2', '91+2=93'] Exploring Operation: 79*93=7347, Resulting Numbers: [7347] 7347,71 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[91, 81], Operations: ['86-84=2', '79+2=81'] Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 91+81=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 91*81=7371, Resulting Numbers: [7371] 7371,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[86, 96], Operations: ['91-79=12', '84+12=96'] Exploring Operation: 86*96=8256, Resulting Numbers: [8256] 8256,71 unequal: No Solution Exploring Operation: 86+96=182, Resulting Numbers: [182] 182,71 unequal: No Solution Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[84, 98], Operations: ['91-79=12', '86+12=98'] Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 84+98=182, Resulting Numbers: [182] 182,71 unequal: No Solution Exploring Operation: 84*98=8232, Resulting Numbers: [8232] 8232,71 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 80, 36, 20, 41 ]
20
[ "80+20=100", "41-36=5", "100/5=20" ]
Current State: 20:[80, 36, 20, 41], Operations: [] Exploring Operation: 80+20=100, Resulting Numbers: [36, 41, 100] Generated Node #2: [36, 41, 100] from Operation: 80+20=100 Current State: 20:[36, 41, 100], Operations: ['80+20=100'] Exploring Operation: 41-36=5, Resulting Numbers: [100, 5] Generated Node #3: [100, 5] from Operation: 41-36=5 Current State: 20:[100, 5], Operations: ['80+20=100', '41-36=5'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 36, 20, 41], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [36, 41, 4] Generated Node #0,0: 20:[36, 41, 4] Operation: 80/20=4 Exploring Operation: 80-36=44, Resulting Numbers: [20, 41, 44] Generated Node #0,1: 20:[20, 41, 44] Operation: 80-36=44 Exploring Operation: 41-36=5, Resulting Numbers: [80, 20, 5] Generated Node #0,2: 20:[80, 20, 5] Operation: 41-36=5 Exploring Operation: 80-20=60, Resulting Numbers: [36, 41, 60] Generated Node #0,3: 20:[36, 41, 60] Operation: 80-20=60 Exploring Operation: 80-41=39, Resulting Numbers: [36, 20, 39] Generated Node #0,4: 20:[36, 20, 39] Operation: 80-41=39 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[36, 20, 39], Operations: ['80-41=39'] Exploring Operation: 39-20=19, Resulting Numbers: [36, 19] Generated Node #0,4,0: 20:[36, 19] Operation: 39-20=19 Exploring Operation: 36-20=16, Resulting Numbers: [39, 16] Generated Node #0,4,1: 20:[39, 16] Operation: 36-20=16 Exploring Operation: 36+39=75, Resulting Numbers: [20, 75] Generated Node #0,4,2: 20:[20, 75] Operation: 36+39=75 Exploring Operation: 39-36=3, Resulting Numbers: [20, 3] Generated Node #0,4,3: 20:[20, 3] Operation: 39-36=3 Exploring Operation: 36+20=56, Resulting Numbers: [39, 56] Generated Node #0,4,4: 20:[39, 56] Operation: 36+20=56 Moving to Node #0,4,3 Current State: 20:[20, 3], Operations: ['80-41=39', '39-36=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[36, 19], Operations: ['80-41=39', '39-20=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,20 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[39, 16], Operations: ['80-41=39', '36-20=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,20 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[20, 75], Operations: ['80-41=39', '36+39=75'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,20 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[39, 56], Operations: ['80-41=39', '36+20=56'] Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,20 unequal: No Solution Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[36, 41, 4], Operations: ['80/20=4'] Exploring Operation: 41-36=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 20:[4, 5] Operation: 41-36=5 Exploring Operation: 36/4=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 20:[41, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [41, 32] Generated Node #0,0,2: 20:[41, 32] Operation: 36-4=32 Exploring Operation: 36+4=40, Resulting Numbers: [41, 40] Generated Node #0,0,3: 20:[41, 40] Operation: 36+4=40 Exploring Operation: 41-4=37, Resulting Numbers: [36, 37] Generated Node #0,0,4: 20:[36, 37] Operation: 41-4=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[4, 5], Operations: ['80/20=4', '41-36=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[80, 36, 20, 41], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [36, 41, 4] Generated Node #0,0: 20:[36, 41, 4] Operation: 80/20=4 Moving to Node #0,0 Current State: 20:[36, 41, 4], Operations: ['80/20=4'] Exploring Operation: 41-36=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 20:[4, 5] Operation: 41-36=5 Moving to Node #0,0,0 Current State: 20:[4, 5], Operations: ['80/20=4', '41-36=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 76, 47, 7, 4 ]
88
[ "76-47=29", "29-7=22", "4*22=88" ]
Current State: 88:[76, 47, 7, 4], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [7, 4, 29] Generated Node #2: [7, 4, 29] from Operation: 76-47=29 Current State: 88:[7, 4, 29], Operations: ['76-47=29'] Exploring Operation: 29-7=22, Resulting Numbers: [4, 22] Generated Node #3: [4, 22] from Operation: 29-7=22 Current State: 88:[4, 22], Operations: ['76-47=29', '29-7=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[76, 47, 7, 4], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [47, 7, 19] Generated Node #0,0: 88:[47, 7, 19] Operation: 76/4=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[47, 7, 19], Operations: ['76/4=19'] Exploring Operation: 19-7=12, Resulting Numbers: [47, 12] Generated Node #0,0,0: 88:[47, 12] Operation: 19-7=12 Moving to Node #0,0,0 Current State: 88:[47, 12], Operations: ['76/4=19', '19-7=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,88 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
[ 99, 3, 52, 42 ]
92
[ "99+3=102", "52-42=10", "102-10=92" ]
Current State: 92:[99, 3, 52, 42], Operations: [] Exploring Operation: 99+3=102, Resulting Numbers: [52, 42, 102] Generated Node #2: [52, 42, 102] from Operation: 99+3=102 Current State: 92:[52, 42, 102], Operations: ['99+3=102'] Exploring Operation: 52-42=10, Resulting Numbers: [102, 10] Generated Node #3: [102, 10] from Operation: 52-42=10 Current State: 92:[102, 10], Operations: ['99+3=102', '52-42=10'] Exploring Operation: 102-10=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[99, 3, 52, 42], Operations: [] Exploring Operation: 99-52=47, Resulting Numbers: [3, 42, 47] Generated Node #0,0: 92:[3, 42, 47] Operation: 99-52=47 Exploring Operation: 52+42=94, Resulting Numbers: [99, 3, 94] Generated Node #0,1: 92:[99, 3, 94] Operation: 52+42=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[3, 42, 47], Operations: ['99-52=47'] Exploring Operation: 3+42=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 92:[47, 45] Operation: 3+42=45 Exploring Operation: 47-42=5, Resulting Numbers: [3, 5] Generated Node #0,0,1: 92:[3, 5] Operation: 47-42=5 Moving to Node #0,0,0 Current State: 92:[47, 45], Operations: ['99-52=47', '3+42=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[99, 3, 52, 42], Operations: [] Exploring Operation: 99-52=47, Resulting Numbers: [3, 42, 47] Generated Node #0,0: 92:[3, 42, 47] Operation: 99-52=47 Moving to Node #0,0 Current State: 92:[3, 42, 47], Operations: ['99-52=47'] Exploring Operation: 3+42=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 92:[47, 45] Operation: 3+42=45 Moving to Node #0,0,0 Current State: 92:[47, 45], Operations: ['99-52=47', '3+42=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 5, 88, 19, 27 ]
16
[ "88+19=107", "107-27=80", "80/5=16" ]
Current State: 16:[5, 88, 19, 27], Operations: [] Exploring Operation: 88+19=107, Resulting Numbers: [5, 27, 107] Generated Node #2: [5, 27, 107] from Operation: 88+19=107 Current State: 16:[5, 27, 107], Operations: ['88+19=107'] Exploring Operation: 107-27=80, Resulting Numbers: [5, 80] Generated Node #3: [5, 80] from Operation: 107-27=80 Current State: 16:[5, 80], Operations: ['88+19=107', '107-27=80'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 88, 19, 27], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [5, 19, 61] Generated Node #0,0: 16:[5, 19, 61] Operation: 88-27=61 Exploring Operation: 88-19=69, Resulting Numbers: [5, 27, 69] Generated Node #0,1: 16:[5, 27, 69] Operation: 88-19=69 Moving to Node #0,0 Current State: 16:[5, 19, 61], Operations: ['88-27=61'] Exploring Operation: 61-19=42, Resulting Numbers: [5, 42] Generated Node #0,0,0: 16:[5, 42] Operation: 61-19=42 Exploring Operation: 61-5=56, Resulting Numbers: [19, 56] Generated Node #0,0,1: 16:[19, 56] Operation: 61-5=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[5, 42], Operations: ['88-27=61', '61-19=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[19, 56], Operations: ['88-27=61', '61-5=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,16 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: 16:[5, 27, 69], Operations: ['88-19=69'] Exploring Operation: 27-5=22, Resulting Numbers: [69, 22] Generated Node #0,1,0: 16:[69, 22] Operation: 27-5=22 Exploring Operation: 69-27=42, Resulting Numbers: [5, 42] Generated Node #0,1,1: 16:[5, 42] Operation: 69-27=42 Moving to Node #0,1,1 Current State: 16:[5, 42], Operations: ['88-19=69', '69-27=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[69, 22], Operations: ['88-19=69', '27-5=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,16 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 31, 89, 71, 20 ]
39
[ "89+71=160", "160/20=8", "31+8=39" ]
Current State: 39:[31, 89, 71, 20], Operations: [] Exploring Operation: 89+71=160, Resulting Numbers: [31, 20, 160] Generated Node #2: [31, 20, 160] from Operation: 89+71=160 Current State: 39:[31, 20, 160], Operations: ['89+71=160'] Exploring Operation: 160/20=8, Resulting Numbers: [31, 8] Generated Node #3: [31, 8] from Operation: 160/20=8 Current State: 39:[31, 8], Operations: ['89+71=160', '160/20=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[31, 89, 71, 20], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [31, 20, 18] Generated Node #0,0: 39:[31, 20, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 39:[31, 20, 18], Operations: ['89-71=18'] Exploring Operation: 31-20=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 39:[18, 11] Operation: 31-20=11 Moving to Node #0,0,0 Current State: 39:[18, 11], Operations: ['89-71=18', '31-20=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 7, 51, 54 ]
16
[ "6+7=13", "54-51=3", "13+3=16" ]
Current State: 16:[6, 7, 51, 54], Operations: [] Exploring Operation: 6+7=13, Resulting Numbers: [51, 54, 13] Generated Node #2: [51, 54, 13] from Operation: 6+7=13 Current State: 16:[51, 54, 13], Operations: ['6+7=13'] Exploring Operation: 54-51=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 54-51=3 Current State: 16:[13, 3], Operations: ['6+7=13', '54-51=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 7, 51, 54], Operations: [] Exploring Operation: 54-6=48, Resulting Numbers: [7, 51, 48] Generated Node #0,0: 16:[7, 51, 48] Operation: 54-6=48 Exploring Operation: 54-51=3, Resulting Numbers: [6, 7, 3] Generated Node #0,1: 16:[6, 7, 3] Operation: 54-51=3 Exploring Operation: 51-6=45, Resulting Numbers: [7, 54, 45] Generated Node #0,2: 16:[7, 54, 45] Operation: 51-6=45 Exploring Operation: 54/6=9, Resulting Numbers: [7, 51, 9] Generated Node #0,3: 16:[7, 51, 9] Operation: 54/6=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[6, 7, 3], Operations: ['54-51=3'] Exploring Operation: 7-6=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 16:[3, 1] Operation: 7-6=1 Exploring Operation: 6+3=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 16:[7, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [7, 3] Generated Node #0,1,2: 16:[7, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [7, 2] Generated Node #0,1,3: 16:[7, 2] Operation: 6/3=2 Moving to Node #0,1,3 Current State: 16:[7, 2], Operations: ['54-51=3', '6/3=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[7, 9], Operations: ['54-51=3', '6+3=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[6, 7, 51, 54], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [6, 7, 3] Generated Node #0,1: 16:[6, 7, 3] Operation: 54-51=3 Moving to Node #0,1 Current State: 16:[6, 7, 3], Operations: ['54-51=3'] Exploring Operation: 6+3=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 16:[7, 9] Operation: 6+3=9 Moving to Node #0,1,1 Current State: 16:[7, 9], Operations: ['54-51=3', '6+3=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 69, 28, 85, 39 ]
42
[ "69*28=1932", "85-39=46", "1932/46=42" ]
Current State: 42:[69, 28, 85, 39], Operations: [] Exploring Operation: 69*28=1932, Resulting Numbers: [85, 39, 1932] Generated Node #2: [85, 39, 1932] from Operation: 69*28=1932 Current State: 42:[85, 39, 1932], Operations: ['69*28=1932'] Exploring Operation: 85-39=46, Resulting Numbers: [1932, 46] Generated Node #3: [1932, 46] from Operation: 85-39=46 Current State: 42:[1932, 46], Operations: ['69*28=1932', '85-39=46'] Exploring Operation: 1932/46=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[69, 28, 85, 39], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [69, 28, 46] Generated Node #0,0: 42:[69, 28, 46] Operation: 85-39=46 Exploring Operation: 85-69=16, Resulting Numbers: [28, 39, 16] Generated Node #0,1: 42:[28, 39, 16] Operation: 85-69=16 Exploring Operation: 85-28=57, Resulting Numbers: [69, 39, 57] Generated Node #0,2: 42:[69, 39, 57] Operation: 85-28=57 Moving to Node #0,1 Current State: 42:[28, 39, 16], Operations: ['85-69=16'] Exploring Operation: 39-28=11, Resulting Numbers: [16, 11] Generated Node #0,1,0: 42:[16, 11] Operation: 39-28=11 Exploring Operation: 28+16=44, Resulting Numbers: [39, 44] Generated Node #0,1,1: 42:[39, 44] Operation: 28+16=44 Exploring Operation: 28-16=12, Resulting Numbers: [39, 12] Generated Node #0,1,2: 42:[39, 12] Operation: 28-16=12 Moving to Node #0,0 Current State: 42:[69, 28, 46], Operations: ['85-39=46'] Exploring Operation: 46-28=18, Resulting Numbers: [69, 18] Generated Node #0,0,0: 42:[69, 18] Operation: 46-28=18 Exploring Operation: 69-28=41, Resulting Numbers: [46, 41] Generated Node #0,0,1: 42:[46, 41] Operation: 69-28=41 Exploring Operation: 69-46=23, Resulting Numbers: [28, 23] Generated Node #0,0,2: 42:[28, 23] Operation: 69-46=23 Moving to Node #0,2 Current State: 42:[69, 39, 57], Operations: ['85-28=57'] Exploring Operation: 57-39=18, Resulting Numbers: [69, 18] Generated Node #0,2,0: 42:[69, 18] Operation: 57-39=18 Exploring Operation: 69-39=30, Resulting Numbers: [57, 30] Generated Node #0,2,1: 42:[57, 30] Operation: 69-39=30 Exploring Operation: 69-57=12, Resulting Numbers: [39, 12] Generated Node #0,2,2: 42:[39, 12] Operation: 69-57=12 Moving to Node #0,1,0 Current State: 42:[16, 11], Operations: ['85-69=16', '39-28=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[39, 12], Operations: ['85-69=16', '28-16=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[39, 12], Operations: ['85-28=57', '69-57=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,42 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[39, 44], Operations: ['85-69=16', '28+16=44'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[46, 41], Operations: ['85-39=46', '69-28=41'] Exploring Operation: 46*41=1886, Resulting Numbers: [1886] 1886,42 unequal: No Solution Exploring Operation: 46+41=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[28, 23], Operations: ['85-39=46', '69-46=23'] Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,42 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[57, 30], Operations: ['85-28=57', '69-39=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,42 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[69, 18], Operations: ['85-28=57', '57-39=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[69, 18], Operations: ['85-39=46', '46-28=18'] Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,42 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,42 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,42 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 87, 67, 15, 76 ]
98
[ "87-76=11", "15*11=165", "165-67=98" ]
Current State: 98:[87, 67, 15, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [67, 15, 11] Generated Node #2: [67, 15, 11] from Operation: 87-76=11 Current State: 98:[67, 15, 11], Operations: ['87-76=11'] Exploring Operation: 15*11=165, Resulting Numbers: [67, 165] Generated Node #3: [67, 165] from Operation: 15*11=165 Current State: 98:[67, 165], Operations: ['87-76=11', '15*11=165'] Exploring Operation: 165-67=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[87, 67, 15, 76], Operations: [] Exploring Operation: 76-67=9, Resulting Numbers: [87, 15, 9] Generated Node #0,0: 98:[87, 15, 9] Operation: 76-67=9 Exploring Operation: 67-15=52, Resulting Numbers: [87, 76, 52] Generated Node #0,1: 98:[87, 76, 52] Operation: 67-15=52 Exploring Operation: 87-67=20, Resulting Numbers: [15, 76, 20] Generated Node #0,2: 98:[15, 76, 20] Operation: 87-67=20 Exploring Operation: 87-76=11, Resulting Numbers: [67, 15, 11] Generated Node #0,3: 98:[67, 15, 11] Operation: 87-76=11 Moving to Node #0,0 Current State: 98:[87, 15, 9], Operations: ['76-67=9'] Exploring Operation: 15-9=6, Resulting Numbers: [87, 6] Generated Node #0,0,0: 98:[87, 6] Operation: 15-9=6 Exploring Operation: 87+15=102, Resulting Numbers: [9, 102] Generated Node #0,0,1: 98:[9, 102] Operation: 87+15=102 Exploring Operation: 87+9=96, Resulting Numbers: [15, 96] Generated Node #0,0,2: 98:[15, 96] Operation: 87+9=96 Exploring Operation: 87-9=78, Resulting Numbers: [15, 78] Generated Node #0,0,3: 98:[15, 78] Operation: 87-9=78 Moving to Node #0,3 Current State: 98:[67, 15, 11], Operations: ['87-76=11'] Exploring Operation: 67-11=56, Resulting Numbers: [15, 56] Generated Node #0,3,0: 98:[15, 56] Operation: 67-11=56 Exploring Operation: 67-15=52, Resulting Numbers: [11, 52] Generated Node #0,3,1: 98:[11, 52] Operation: 67-15=52 Exploring Operation: 67+15=82, Resulting Numbers: [11, 82] Generated Node #0,3,2: 98:[11, 82] Operation: 67+15=82 Exploring Operation: 15-11=4, Resulting Numbers: [67, 4] Generated Node #0,3,3: 98:[67, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[11, 52], Operations: ['87-76=11', '67-15=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,98 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[15, 56], Operations: ['87-76=11', '67-11=56'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,98 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[11, 82], Operations: ['87-76=11', '67+15=82'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,98 unequal: No Solution Exploring Operation: 11+82=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 11*82=902, Resulting Numbers: [902] 902,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[67, 4], Operations: ['87-76=11', '15-11=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,98 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,98 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: 98:[15, 76, 20], Operations: ['87-67=20'] Exploring Operation: 15+76=91, Resulting Numbers: [20, 91] Generated Node #0,2,0: 98:[20, 91] Operation: 15+76=91 Exploring Operation: 76-20=56, Resulting Numbers: [15, 56] Generated Node #0,2,1: 98:[15, 56] Operation: 76-20=56 Exploring Operation: 76-15=61, Resulting Numbers: [20, 61] Generated Node #0,2,2: 98:[20, 61] Operation: 76-15=61 Exploring Operation: 76+20=96, Resulting Numbers: [15, 96] Generated Node #0,2,3: 98:[15, 96] Operation: 76+20=96 Moving to Node #0,1 Current State: 98:[87, 76, 52], Operations: ['67-15=52'] Exploring Operation: 87-76=11, Resulting Numbers: [52, 11] Generated Node #0,1,0: 98:[52, 11] Operation: 87-76=11 Exploring Operation: 76+52=128, Resulting Numbers: [87, 128] Generated Node #0,1,1: 98:[87, 128] Operation: 76+52=128 Exploring Operation: 76-52=24, Resulting Numbers: [87, 24] Generated Node #0,1,2: 98:[87, 24] Operation: 76-52=24 Exploring Operation: 87-52=35, Resulting Numbers: [76, 35] Generated Node #0,1,3: 98:[76, 35] Operation: 87-52=35 Moving to Node #0,0,2 Current State: 98:[15, 96], Operations: ['76-67=9', '87+9=96'] Exploring Operation: 15*96=1440, Resulting Numbers: [1440] 1440,98 unequal: No Solution Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[15, 96], Operations: ['87-67=20', '76+20=96'] Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 15*96=1440, Resulting Numbers: [1440] 1440,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[9, 102], Operations: ['76-67=9', '87+15=102'] Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 9+102=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 9*102=918, Resulting Numbers: [918] 918,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[52, 11], Operations: ['67-15=52', '87-76=11'] Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[15, 56], Operations: ['87-67=20', '76-20=56'] Exploring Operation: 15*56=840, Resulting Numbers: [840] 840,98 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[87, 6], Operations: ['76-67=9', '15-9=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,98 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[20, 91], Operations: ['87-67=20', '15+76=91'] Exploring Operation: 20*91=1820, Resulting Numbers: [1820] 1820,98 unequal: No Solution Exploring Operation: 20+91=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[20, 61], Operations: ['87-67=20', '76-15=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,98 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[87, 24], Operations: ['67-15=52', '76-52=24'] Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,98 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[15, 78], Operations: ['76-67=9', '87-9=78'] Exploring Operation: 15*78=1170, Resulting Numbers: [1170] 1170,98 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[76, 35], Operations: ['67-15=52', '87-52=35'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,98 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[87, 128], Operations: ['67-15=52', '76+52=128'] Exploring Operation: 87+128=215, Resulting Numbers: [215] 215,98 unequal: No Solution Exploring Operation: 128-87=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 87*128=11136, Resulting Numbers: [11136] 11136,98 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 79, 84, 30, 63 ]
57
[ "84-79=5", "30/5=6", "63-6=57" ]
Current State: 57:[79, 84, 30, 63], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [30, 63, 5] Generated Node #2: [30, 63, 5] from Operation: 84-79=5 Current State: 57:[30, 63, 5], Operations: ['84-79=5'] Exploring Operation: 30/5=6, Resulting Numbers: [63, 6] Generated Node #3: [63, 6] from Operation: 30/5=6 Current State: 57:[63, 6], Operations: ['84-79=5', '30/5=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[79, 84, 30, 63], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [30, 63, 5] Generated Node #0,0: 57:[30, 63, 5] Operation: 84-79=5 Exploring Operation: 79-63=16, Resulting Numbers: [84, 30, 16] Generated Node #0,1: 57:[84, 30, 16] Operation: 79-63=16 Exploring Operation: 84-30=54, Resulting Numbers: [79, 63, 54] Generated Node #0,2: 57:[79, 63, 54] Operation: 84-30=54 Exploring Operation: 84-63=21, Resulting Numbers: [79, 30, 21] Generated Node #0,3: 57:[79, 30, 21] Operation: 84-63=21 Exploring Operation: 79-30=49, Resulting Numbers: [84, 63, 49] Generated Node #0,4: 57:[84, 63, 49] Operation: 79-30=49 Moving to Node #0,0 Current State: 57:[30, 63, 5], Operations: ['84-79=5'] Exploring Operation: 30-5=25, Resulting Numbers: [63, 25] Generated Node #0,0,0: 57:[63, 25] Operation: 30-5=25 Exploring Operation: 30+5=35, Resulting Numbers: [63, 35] Generated Node #0,0,1: 57:[63, 35] Operation: 30+5=35 Exploring Operation: 63-30=33, Resulting Numbers: [5, 33] Generated Node #0,0,2: 57:[5, 33] Operation: 63-30=33 Exploring Operation: 63-5=58, Resulting Numbers: [30, 58] Generated Node #0,0,3: 57:[30, 58] Operation: 63-5=58 Exploring Operation: 30/5=6, Resulting Numbers: [63, 6] Generated Node #0,0,4: 57:[63, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 57:[63, 6], Operations: ['84-79=5', '30/5=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[79, 84, 30, 63], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [30, 63, 5] Generated Node #0,0: 57:[30, 63, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 57:[30, 63, 5], Operations: ['84-79=5'] Exploring Operation: 30/5=6, Resulting Numbers: [63, 6] Generated Node #0,0,4: 57:[63, 6] Operation: 30/5=6 Moving to Node #0,0,4 Current State: 57:[63, 6], Operations: ['84-79=5', '30/5=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 70, 87, 88, 22 ]
55
[ "87+88=175", "22*175=3850", "3850/70=55" ]
Current State: 55:[70, 87, 88, 22], Operations: [] Exploring Operation: 87+88=175, Resulting Numbers: [70, 22, 175] Generated Node #2: [70, 22, 175] from Operation: 87+88=175 Current State: 55:[70, 22, 175], Operations: ['87+88=175'] Exploring Operation: 22*175=3850, Resulting Numbers: [70, 3850] Generated Node #3: [70, 3850] from Operation: 22*175=3850 Current State: 55:[70, 3850], Operations: ['87+88=175', '22*175=3850'] Exploring Operation: 3850/70=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[70, 87, 88, 22], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [70, 22, 1] Generated Node #0,0: 55:[70, 22, 1] Operation: 88-87=1 Moving to Node #0,0 Current State: 55:[70, 22, 1], Operations: ['88-87=1'] Exploring Operation: 70-22=48, Resulting Numbers: [1, 48] Generated Node #0,0,0: 55:[1, 48] Operation: 70-22=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[1, 48], Operations: ['88-87=1', '70-22=48'] Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,55 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
[ 48, 46, 67, 90 ]
50
[ "90-67=23", "46/23=2", "48+2=50" ]
Current State: 50:[48, 46, 67, 90], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [48, 46, 23] Generated Node #2: [48, 46, 23] from Operation: 90-67=23 Current State: 50:[48, 46, 23], Operations: ['90-67=23'] Exploring Operation: 46/23=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 46/23=2 Current State: 50:[48, 2], Operations: ['90-67=23', '46/23=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[48, 46, 67, 90], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [48, 46, 23] Generated Node #0,0: 50:[48, 46, 23] Operation: 90-67=23 Exploring Operation: 67-46=21, Resulting Numbers: [48, 90, 21] Generated Node #0,1: 50:[48, 90, 21] Operation: 67-46=21 Exploring Operation: 90-48=42, Resulting Numbers: [46, 67, 42] Generated Node #0,2: 50:[46, 67, 42] Operation: 90-48=42 Exploring Operation: 67-48=19, Resulting Numbers: [46, 90, 19] Generated Node #0,3: 50:[46, 90, 19] Operation: 67-48=19 Exploring Operation: 90-46=44, Resulting Numbers: [48, 67, 44] Generated Node #0,4: 50:[48, 67, 44] Operation: 90-46=44 Moving to Node #0,0 Current State: 50:[48, 46, 23], Operations: ['90-67=23'] Exploring Operation: 46-23=23, Resulting Numbers: [48, 23] Generated Node #0,0,0: 50:[48, 23] Operation: 46-23=23 Exploring Operation: 46+23=69, Resulting Numbers: [48, 69] Generated Node #0,0,1: 50:[48, 69] Operation: 46+23=69 Exploring Operation: 46/23=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 50:[48, 2] Operation: 46/23=2 Exploring Operation: 48-46=2, Resulting Numbers: [23, 2] Generated Node #0,0,3: 50:[23, 2] Operation: 48-46=2 Exploring Operation: 48-23=25, Resulting Numbers: [46, 25] Generated Node #0,0,4: 50:[46, 25] Operation: 48-23=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[48, 2], Operations: ['90-67=23', '46/23=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[48, 46, 67, 90], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [48, 46, 23] Generated Node #0,0: 50:[48, 46, 23] Operation: 90-67=23 Moving to Node #0,0 Current State: 50:[48, 46, 23], Operations: ['90-67=23'] Exploring Operation: 46/23=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 50:[48, 2] Operation: 46/23=2 Moving to Node #0,0,2 Current State: 50:[48, 2], Operations: ['90-67=23', '46/23=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 30, 88, 65, 92 ]
39
[ "30+88=118", "65+92=157", "157-118=39" ]
Current State: 39:[30, 88, 65, 92], Operations: [] Exploring Operation: 30+88=118, Resulting Numbers: [65, 92, 118] Generated Node #2: [65, 92, 118] from Operation: 30+88=118 Current State: 39:[65, 92, 118], Operations: ['30+88=118'] Exploring Operation: 65+92=157, Resulting Numbers: [118, 157] Generated Node #3: [118, 157] from Operation: 65+92=157 Current State: 39:[118, 157], Operations: ['30+88=118', '65+92=157'] Exploring Operation: 157-118=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[30, 88, 65, 92], Operations: [] Exploring Operation: 92-65=27, Resulting Numbers: [30, 88, 27] Generated Node #0,0: 39:[30, 88, 27] Operation: 92-65=27 Exploring Operation: 92-88=4, Resulting Numbers: [30, 65, 4] Generated Node #0,1: 39:[30, 65, 4] Operation: 92-88=4 Moving to Node #0,1 Current State: 39:[30, 65, 4], Operations: ['92-88=4'] Exploring Operation: 65-30=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 39:[4, 35] Operation: 65-30=35 Exploring Operation: 30+4=34, Resulting Numbers: [65, 34] Generated Node #0,1,1: 39:[65, 34] Operation: 30+4=34 Moving to Node #0,0 Current State: 39:[30, 88, 27], Operations: ['92-65=27'] Exploring Operation: 88-30=58, Resulting Numbers: [27, 58] Generated Node #0,0,0: 39:[27, 58] Operation: 88-30=58 Exploring Operation: 88-27=61, Resulting Numbers: [30, 61] Generated Node #0,0,1: 39:[30, 61] Operation: 88-27=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[27, 58], Operations: ['92-65=27', '88-30=58'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[30, 61], Operations: ['92-65=27', '88-27=61'] Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,39 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,39 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: 39:[4, 35], Operations: ['92-88=4', '65-30=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[30, 88, 65, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [30, 65, 4] Generated Node #0,1: 39:[30, 65, 4] Operation: 92-88=4 Moving to Node #0,1 Current State: 39:[30, 65, 4], Operations: ['92-88=4'] Exploring Operation: 65-30=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 39:[4, 35] Operation: 65-30=35 Moving to Node #0,1,0 Current State: 39:[4, 35], Operations: ['92-88=4', '65-30=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 15, 56, 63, 92 ]
42
[ "15+56=71", "92-63=29", "71-29=42" ]
Current State: 42:[15, 56, 63, 92], Operations: [] Exploring Operation: 15+56=71, Resulting Numbers: [63, 92, 71] Generated Node #2: [63, 92, 71] from Operation: 15+56=71 Current State: 42:[63, 92, 71], Operations: ['15+56=71'] Exploring Operation: 92-63=29, Resulting Numbers: [71, 29] Generated Node #3: [71, 29] from Operation: 92-63=29 Current State: 42:[71, 29], Operations: ['15+56=71', '92-63=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 56, 63, 92], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [15, 92, 7] Generated Node #0,0: 42:[15, 92, 7] Operation: 63-56=7 Exploring Operation: 63-15=48, Resulting Numbers: [56, 92, 48] Generated Node #0,1: 42:[56, 92, 48] Operation: 63-15=48 Exploring Operation: 92-63=29, Resulting Numbers: [15, 56, 29] Generated Node #0,2: 42:[15, 56, 29] Operation: 92-63=29 Exploring Operation: 92-56=36, Resulting Numbers: [15, 63, 36] Generated Node #0,3: 42:[15, 63, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[15, 56, 29], Operations: ['92-63=29'] Exploring Operation: 56-29=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 42:[15, 27] Operation: 56-29=27 Exploring Operation: 15+29=44, Resulting Numbers: [56, 44] Generated Node #0,2,1: 42:[56, 44] Operation: 15+29=44 Exploring Operation: 56-15=41, Resulting Numbers: [29, 41] Generated Node #0,2,2: 42:[29, 41] Operation: 56-15=41 Exploring Operation: 29-15=14, Resulting Numbers: [56, 14] Generated Node #0,2,3: 42:[56, 14] Operation: 29-15=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[15, 27], Operations: ['92-63=29', '56-29=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[15, 56, 63, 92], Operations: [] Exploring Operation: 92-63=29, Resulting Numbers: [15, 56, 29] Generated Node #0,2: 42:[15, 56, 29] Operation: 92-63=29 Moving to Node #0,2 Current State: 42:[15, 56, 29], Operations: ['92-63=29'] Exploring Operation: 56-29=27, Resulting Numbers: [15, 27] Generated Node #0,2,0: 42:[15, 27] Operation: 56-29=27 Moving to Node #0,2,0 Current State: 42:[15, 27], Operations: ['92-63=29', '56-29=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 77, 10, 63, 81 ]
67
[ "77+63=140", "140/10=14", "81-14=67" ]
Current State: 67:[77, 10, 63, 81], Operations: [] Exploring Operation: 77+63=140, Resulting Numbers: [10, 81, 140] Generated Node #2: [10, 81, 140] from Operation: 77+63=140 Current State: 67:[10, 81, 140], Operations: ['77+63=140'] Exploring Operation: 140/10=14, Resulting Numbers: [81, 14] Generated Node #3: [81, 14] from Operation: 140/10=14 Current State: 67:[81, 14], Operations: ['77+63=140', '140/10=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[77, 10, 63, 81], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [63, 81, 67] Generated Node #0,0: 67:[63, 81, 67] Operation: 77-10=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[63, 81, 67], Operations: ['77-10=67'] Exploring Operation: 81-63=18, Resulting Numbers: [67, 18] Generated Node #0,0,0: 67:[67, 18] Operation: 81-63=18 Moving to Node #0,0,0 Current State: 67:[67, 18], Operations: ['77-10=67', '81-63=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,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
[ 16, 40, 19, 80 ]
43
[ "16+40=56", "19+80=99", "99-56=43" ]
Current State: 43:[16, 40, 19, 80], Operations: [] Exploring Operation: 16+40=56, Resulting Numbers: [19, 80, 56] Generated Node #2: [19, 80, 56] from Operation: 16+40=56 Current State: 43:[19, 80, 56], Operations: ['16+40=56'] Exploring Operation: 19+80=99, Resulting Numbers: [56, 99] Generated Node #3: [56, 99] from Operation: 19+80=99 Current State: 43:[56, 99], Operations: ['16+40=56', '19+80=99'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[16, 40, 19, 80], Operations: [] Exploring Operation: 16+19=35, Resulting Numbers: [40, 80, 35] Generated Node #0,0: 43:[40, 80, 35] Operation: 16+19=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[40, 80, 35], Operations: ['16+19=35'] Exploring Operation: 80-35=45, Resulting Numbers: [40, 45] Generated Node #0,0,0: 43:[40, 45] Operation: 80-35=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[40, 45], Operations: ['16+19=35', '80-35=45'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,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_1
mult_heuristic
[ 9, 84, 10, 21 ]
76
[ "9+10=19", "84/21=4", "19*4=76" ]
Current State: 76:[9, 84, 10, 21], Operations: [] Exploring Operation: 9+10=19, Resulting Numbers: [84, 21, 19] Generated Node #2: [84, 21, 19] from Operation: 9+10=19 Current State: 76:[84, 21, 19], Operations: ['9+10=19'] Exploring Operation: 84/21=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 84/21=4 Current State: 76:[19, 4], Operations: ['9+10=19', '84/21=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[9, 84, 10, 21], Operations: [] Exploring Operation: 9+10=19, Resulting Numbers: [84, 21, 19] Generated Node #0,0: 76:[84, 21, 19] Operation: 9+10=19 Exploring Operation: 84-10=74, Resulting Numbers: [9, 21, 74] Generated Node #0,1: 76:[9, 21, 74] Operation: 84-10=74 Exploring Operation: 84-9=75, Resulting Numbers: [10, 21, 75] Generated Node #0,2: 76:[10, 21, 75] Operation: 84-9=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[9, 21, 74], Operations: ['84-10=74'] Exploring Operation: 21-9=12, Resulting Numbers: [74, 12] Generated Node #0,1,0: 76:[74, 12] Operation: 21-9=12 Exploring Operation: 9+74=83, Resulting Numbers: [21, 83] Generated Node #0,1,1: 76:[21, 83] Operation: 9+74=83 Exploring Operation: 9+21=30, Resulting Numbers: [74, 30] Generated Node #0,1,2: 76:[74, 30] Operation: 9+21=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[74, 12], Operations: ['84-10=74', '21-9=12'] Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,76 unequal: No Solution Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[21, 83], Operations: ['84-10=74', '9+74=83'] Exploring Operation: 21+83=104, Resulting Numbers: [104] 104,76 unequal: No Solution Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 21*83=1743, Resulting Numbers: [1743] 1743,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[74, 30], Operations: ['84-10=74', '9+21=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,76 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[10, 21, 75], Operations: ['84-9=75'] Exploring Operation: 10+21=31, Resulting Numbers: [75, 31] Generated Node #0,2,0: 76:[75, 31] Operation: 10+21=31 Exploring Operation: 10+75=85, Resulting Numbers: [21, 85] Generated Node #0,2,1: 76:[21, 85] Operation: 10+75=85 Exploring Operation: 21-10=11, Resulting Numbers: [75, 11] Generated Node #0,2,2: 76:[75, 11] Operation: 21-10=11 Moving to Node #0,2,0 Current State: 76:[75, 31], Operations: ['84-9=75', '10+21=31'] Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,76 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[75, 11], Operations: ['84-9=75', '21-10=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,76 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[21, 85], Operations: ['84-9=75', '10+75=85'] Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,76 unequal: No Solution Exploring Operation: 21*85=1785, Resulting Numbers: [1785] 1785,76 unequal: No Solution Exploring Operation: 21+85=106, Resulting Numbers: [106] 106,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[84, 21, 19], Operations: ['9+10=19'] Exploring Operation: 84/21=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 84/21=4 Exploring Operation: 21-19=2, Resulting Numbers: [84, 2] Generated Node #0,0,1: 76:[84, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [84, 40] Generated Node #0,0,2: 76:[84, 40] Operation: 21+19=40 Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['9+10=19', '84/21=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[9, 84, 10, 21], Operations: [] Exploring Operation: 9+10=19, Resulting Numbers: [84, 21, 19] Generated Node #0,0: 76:[84, 21, 19] Operation: 9+10=19 Moving to Node #0,0 Current State: 76:[84, 21, 19], Operations: ['9+10=19'] Exploring Operation: 84/21=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 76:[19, 4] Operation: 84/21=4 Moving to Node #0,0,0 Current State: 76:[19, 4], Operations: ['9+10=19', '84/21=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 77, 28, 42, 21 ]
91
[ "28*21=588", "588/42=14", "77+14=91" ]
Current State: 91:[77, 28, 42, 21], Operations: [] Exploring Operation: 28*21=588, Resulting Numbers: [77, 42, 588] Generated Node #2: [77, 42, 588] from Operation: 28*21=588 Current State: 91:[77, 42, 588], Operations: ['28*21=588'] Exploring Operation: 588/42=14, Resulting Numbers: [77, 14] Generated Node #3: [77, 14] from Operation: 588/42=14 Current State: 91:[77, 14], Operations: ['28*21=588', '588/42=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[77, 28, 42, 21], Operations: [] Exploring Operation: 42-28=14, Resulting Numbers: [77, 21, 14] Generated Node #0,0: 91:[77, 21, 14] Operation: 42-28=14 Exploring Operation: 42/21=2, Resulting Numbers: [77, 28, 2] Generated Node #0,1: 91:[77, 28, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[77, 21, 14], Operations: ['42-28=14'] Exploring Operation: 77+21=98, Resulting Numbers: [14, 98] Generated Node #0,0,0: 91:[14, 98] Operation: 77+21=98 Exploring Operation: 77+14=91, Resulting Numbers: [21, 91] Generated Node #0,0,1: 91:[21, 91] Operation: 77+14=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[14, 98], Operations: ['42-28=14', '77+21=98'] Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[21, 91], Operations: ['42-28=14', '77+14=91'] Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 21+91=112, Resulting Numbers: [112] 112,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[77, 28, 2], Operations: ['42/21=2'] Exploring Operation: 77+28=105, Resulting Numbers: [2, 105] Generated Node #0,1,0: 91:[2, 105] Operation: 77+28=105 Exploring Operation: 28/2=14, Resulting Numbers: [77, 14] Generated Node #0,1,1: 91:[77, 14] Operation: 28/2=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[77, 14], Operations: ['42/21=2', '28/2=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[77, 28, 42, 21], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [77, 28, 2] Generated Node #0,1: 91:[77, 28, 2] Operation: 42/21=2 Moving to Node #0,1 Current State: 91:[77, 28, 2], Operations: ['42/21=2'] Exploring Operation: 28/2=14, Resulting Numbers: [77, 14] Generated Node #0,1,1: 91:[77, 14] Operation: 28/2=14 Moving to Node #0,1,1 Current State: 91:[77, 14], Operations: ['42/21=2', '28/2=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 41, 28, 23, 70 ]
14
[ "28*23=644", "644-70=574", "574/41=14" ]
Current State: 14:[41, 28, 23, 70], Operations: [] Exploring Operation: 28*23=644, Resulting Numbers: [41, 70, 644] Generated Node #2: [41, 70, 644] from Operation: 28*23=644 Current State: 14:[41, 70, 644], Operations: ['28*23=644'] Exploring Operation: 644-70=574, Resulting Numbers: [41, 574] Generated Node #3: [41, 574] from Operation: 644-70=574 Current State: 14:[41, 574], Operations: ['28*23=644', '644-70=574'] Exploring Operation: 574/41=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[41, 28, 23, 70], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [28, 23, 29] Generated Node #0,0: 14:[28, 23, 29] Operation: 70-41=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[28, 23, 29], Operations: ['70-41=29'] Exploring Operation: 29-28=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 14:[23, 1] Operation: 29-28=1 Moving to Node #0,0,0 Current State: 14:[23, 1], Operations: ['70-41=29', '29-28=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,14 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
[ 55, 3, 35, 68 ]
91
[ "55+3=58", "68-35=33", "58+33=91" ]
Current State: 91:[55, 3, 35, 68], Operations: [] Exploring Operation: 55+3=58, Resulting Numbers: [35, 68, 58] Generated Node #2: [35, 68, 58] from Operation: 55+3=58 Current State: 91:[35, 68, 58], Operations: ['55+3=58'] Exploring Operation: 68-35=33, Resulting Numbers: [58, 33] Generated Node #3: [58, 33] from Operation: 68-35=33 Current State: 91:[58, 33], Operations: ['55+3=58', '68-35=33'] Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[55, 3, 35, 68], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [3, 35, 13] Generated Node #0,0: 91:[3, 35, 13] Operation: 68-55=13 Exploring Operation: 55+35=90, Resulting Numbers: [3, 68, 90] Generated Node #0,1: 91:[3, 68, 90] Operation: 55+35=90 Moving to Node #0,0 Current State: 91:[3, 35, 13], Operations: ['68-55=13'] Exploring Operation: 3*35=105, Resulting Numbers: [13, 105] Generated Node #0,0,0: 91:[13, 105] Operation: 3*35=105 Exploring Operation: 35-13=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 91:[3, 22] Operation: 35-13=22 Moving to Node #0,1 Current State: 91:[3, 68, 90], Operations: ['55+35=90'] Exploring Operation: 3+68=71, Resulting Numbers: [90, 71] Generated Node #0,1,0: 91:[90, 71] Operation: 3+68=71 Exploring Operation: 90-68=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 91:[3, 22] Operation: 90-68=22 Moving to Node #0,0,1 Current State: 91:[3, 22], Operations: ['68-55=13', '35-13=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[3, 22], Operations: ['55+35=90', '90-68=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[13, 105], Operations: ['68-55=13', '3*35=105'] Exploring Operation: 105-13=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 13+105=118, Resulting Numbers: [118] 118,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[90, 71], Operations: ['55+35=90', '3+68=71'] Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,91 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 95, 86, 88, 88 ]
86
[ "88-88=0", "95*0=0", "86+0=86" ]
Current State: 86:[95, 86, 88, 88], Operations: [] Exploring Operation: 88-88=0, Resulting Numbers: [95, 86, 0] Generated Node #2: [95, 86, 0] from Operation: 88-88=0 Current State: 86:[95, 86, 0], Operations: ['88-88=0'] Exploring Operation: 95*0=0, Resulting Numbers: [86, 0] Generated Node #3: [86, 0] from Operation: 95*0=0 Current State: 86:[86, 0], Operations: ['88-88=0', '95*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[95, 86, 88, 88], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [95, 86, 1] Generated Node #0,0: 86:[95, 86, 1] Operation: 88/88=1 Exploring Operation: 95-88=7, Resulting Numbers: [86, 88, 7] Generated Node #0,1: 86:[86, 88, 7] Operation: 95-88=7 Exploring Operation: 95-88=7, Resulting Numbers: [86, 88, 7] Generated Node #0,2: 86:[86, 88, 7] Operation: 95-88=7 Moving to Node #0,1 Current State: 86:[86, 88, 7], Operations: ['95-88=7'] Exploring Operation: 86+7=93, Resulting Numbers: [88, 93] Generated Node #0,1,0: 86:[88, 93] Operation: 86+7=93 Exploring Operation: 88-86=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 86:[7, 2] Operation: 88-86=2 Exploring Operation: 88-7=81, Resulting Numbers: [86, 81] Generated Node #0,1,2: 86:[86, 81] Operation: 88-7=81 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[7, 2], Operations: ['95-88=7', '88-86=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[86, 81], Operations: ['95-88=7', '88-7=81'] Exploring Operation: 86+81=167, Resulting Numbers: [167] 167,86 unequal: No Solution Exploring Operation: 86*81=6966, Resulting Numbers: [6966] 6966,86 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[88, 93], Operations: ['95-88=7', '86+7=93'] Exploring Operation: 88*93=8184, Resulting Numbers: [8184] 8184,86 unequal: No Solution Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,86 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,86 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: 86:[86, 88, 7], Operations: ['95-88=7'] Exploring Operation: 88-7=81, Resulting Numbers: [86, 81] Generated Node #0,2,0: 86:[86, 81] Operation: 88-7=81 Exploring Operation: 86+7=93, Resulting Numbers: [88, 93] Generated Node #0,2,1: 86:[88, 93] Operation: 86+7=93 Exploring Operation: 88-86=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 86:[7, 2] Operation: 88-86=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[86, 81], Operations: ['95-88=7', '88-7=81'] Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 86*81=6966, Resulting Numbers: [6966] 6966,86 unequal: No Solution Exploring Operation: 86+81=167, Resulting Numbers: [167] 167,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[7, 2], Operations: ['95-88=7', '88-86=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[88, 93], Operations: ['95-88=7', '86+7=93'] Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,86 unequal: No Solution Exploring Operation: 88*93=8184, Resulting Numbers: [8184] 8184,86 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 86:[95, 86, 1], Operations: ['88/88=1'] Exploring Operation: 95-86=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 86:[1, 9] Operation: 95-86=9 Exploring Operation: 95*1=95, Resulting Numbers: [86, 95] Generated Node #0,0,1: 86:[86, 95] Operation: 95*1=95 Exploring Operation: 95-1=94, Resulting Numbers: [86, 94] Generated Node #0,0,2: 86:[86, 94] Operation: 95-1=94 Moving to Node #0,0,0 Current State: 86:[1, 9], Operations: ['88/88=1', '95-86=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[86, 94], Operations: ['88/88=1', '95-1=94'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,86 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[86, 95], Operations: ['88/88=1', '95*1=95'] Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,86 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,86 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,86 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 89, 10, 94, 78 ]
94
[ "89-10=79", "79-78=1", "94*1=94" ]
Current State: 94:[89, 10, 94, 78], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [94, 78, 79] Generated Node #2: [94, 78, 79] from Operation: 89-10=79 Current State: 94:[94, 78, 79], Operations: ['89-10=79'] Exploring Operation: 79-78=1, Resulting Numbers: [94, 1] Generated Node #3: [94, 1] from Operation: 79-78=1 Current State: 94:[94, 1], Operations: ['89-10=79', '79-78=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[89, 10, 94, 78], Operations: [] Exploring Operation: 10+78=88, Resulting Numbers: [89, 94, 88] Generated Node #0,0: 94:[89, 94, 88] Operation: 10+78=88 Exploring Operation: 89-78=11, Resulting Numbers: [10, 94, 11] Generated Node #0,1: 94:[10, 94, 11] Operation: 89-78=11 Moving to Node #0,0 Current State: 94:[89, 94, 88], Operations: ['10+78=88'] Exploring Operation: 89-88=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 94:[94, 1] Operation: 89-88=1 Exploring Operation: 94-89=5, Resulting Numbers: [88, 5] Generated Node #0,0,1: 94:[88, 5] Operation: 94-89=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[94, 1], Operations: ['10+78=88', '89-88=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[89, 10, 94, 78], Operations: [] Exploring Operation: 10+78=88, Resulting Numbers: [89, 94, 88] Generated Node #0,0: 94:[89, 94, 88] Operation: 10+78=88 Moving to Node #0,0 Current State: 94:[89, 94, 88], Operations: ['10+78=88'] Exploring Operation: 89-88=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 94:[94, 1] Operation: 89-88=1 Moving to Node #0,0,0 Current State: 94:[94, 1], Operations: ['10+78=88', '89-88=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 28, 95, 44, 14 ]
73
[ "28/14=2", "44/2=22", "95-22=73" ]
Current State: 73:[28, 95, 44, 14], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [95, 44, 2] Generated Node #2: [95, 44, 2] from Operation: 28/14=2 Current State: 73:[95, 44, 2], Operations: ['28/14=2'] Exploring Operation: 44/2=22, Resulting Numbers: [95, 22] Generated Node #3: [95, 22] from Operation: 44/2=22 Current State: 73:[95, 22], Operations: ['28/14=2', '44/2=22'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[28, 95, 44, 14], Operations: [] Exploring Operation: 28+44=72, Resulting Numbers: [95, 14, 72] Generated Node #0,0: 73:[95, 14, 72] Operation: 28+44=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[95, 14, 72], Operations: ['28+44=72'] Exploring Operation: 95-14=81, Resulting Numbers: [72, 81] Generated Node #0,0,0: 73:[72, 81] Operation: 95-14=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[72, 81], Operations: ['28+44=72', '95-14=81'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 78, 36, 11, 6 ]
30
[ "78+36=114", "114/6=19", "11+19=30" ]
Current State: 30:[78, 36, 11, 6], Operations: [] Exploring Operation: 78+36=114, Resulting Numbers: [11, 6, 114] Generated Node #2: [11, 6, 114] from Operation: 78+36=114 Current State: 30:[11, 6, 114], Operations: ['78+36=114'] Exploring Operation: 114/6=19, Resulting Numbers: [11, 19] Generated Node #3: [11, 19] from Operation: 114/6=19 Current State: 30:[11, 19], Operations: ['78+36=114', '114/6=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[78, 36, 11, 6], Operations: [] Exploring Operation: 78-11=67, Resulting Numbers: [36, 6, 67] Generated Node #0,0: 30:[36, 6, 67] Operation: 78-11=67 Exploring Operation: 78-36=42, Resulting Numbers: [11, 6, 42] Generated Node #0,1: 30:[11, 6, 42] Operation: 78-36=42 Exploring Operation: 78/6=13, Resulting Numbers: [36, 11, 13] Generated Node #0,2: 30:[36, 11, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [36, 11, 72] Generated Node #0,3: 30:[36, 11, 72] Operation: 78-6=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[36, 11, 13], Operations: ['78/6=13'] Exploring Operation: 36-13=23, Resulting Numbers: [11, 23] Generated Node #0,2,0: 30:[11, 23] Operation: 36-13=23 Exploring Operation: 13-11=2, Resulting Numbers: [36, 2] Generated Node #0,2,1: 30:[36, 2] Operation: 13-11=2 Exploring Operation: 36-11=25, Resulting Numbers: [13, 25] Generated Node #0,2,2: 30:[13, 25] Operation: 36-11=25 Exploring Operation: 11+13=24, Resulting Numbers: [36, 24] Generated Node #0,2,3: 30:[36, 24] Operation: 11+13=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[36, 2], Operations: ['78/6=13', '13-11=2'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 30:[13, 25], Operations: ['78/6=13', '36-11=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[11, 23], Operations: ['78/6=13', '36-13=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,30 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[36, 24], Operations: ['78/6=13', '11+13=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,30 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[11, 6, 42], Operations: ['78-36=42'] Exploring Operation: 42-11=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 30:[6, 31] Operation: 42-11=31 Exploring Operation: 11-6=5, Resulting Numbers: [42, 5] Generated Node #0,1,1: 30:[42, 5] Operation: 11-6=5 Exploring Operation: 42-6=36, Resulting Numbers: [11, 36] Generated Node #0,1,2: 30:[11, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [11, 7] Generated Node #0,1,3: 30:[11, 7] Operation: 42/6=7 Moving to Node #0,1,0 Current State: 30:[6, 31], Operations: ['78-36=42', '42-11=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[11, 7], Operations: ['78-36=42', '42/6=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[11, 36], Operations: ['78-36=42', '42-6=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[42, 5], Operations: ['78-36=42', '11-6=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,30 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[36, 6, 67], Operations: ['78-11=67'] Exploring Operation: 36/6=6, Resulting Numbers: [67, 6] Generated Node #0,0,0: 30:[67, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [67, 30] Generated Node #0,0,1: 30:[67, 30] Operation: 36-6=30 Exploring Operation: 67-6=61, Resulting Numbers: [36, 61] Generated Node #0,0,2: 30:[36, 61] Operation: 67-6=61 Exploring Operation: 67-36=31, Resulting Numbers: [6, 31] Generated Node #0,0,3: 30:[6, 31] Operation: 67-36=31 Moving to Node #0,0,3 Current State: 30:[6, 31], Operations: ['78-11=67', '67-36=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,30 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[67, 30], Operations: ['78-11=67', '36-6=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,30 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[67, 6], Operations: ['78-11=67', '36/6=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[36, 61], Operations: ['78-11=67', '67-6=61'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,30 unequal: No Solution Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[36, 11, 72], Operations: ['78-6=72'] Exploring Operation: 72-36=36, Resulting Numbers: [11, 36] Generated Node #0,3,0: 30:[11, 36] Operation: 72-36=36 Exploring Operation: 72-11=61, Resulting Numbers: [36, 61] Generated Node #0,3,1: 30:[36, 61] Operation: 72-11=61 Exploring Operation: 36-11=25, Resulting Numbers: [72, 25] Generated Node #0,3,2: 30:[72, 25] Operation: 36-11=25 Exploring Operation: 72/36=2, Resulting Numbers: [11, 2] Generated Node #0,3,3: 30:[11, 2] Operation: 72/36=2 Moving to Node #0,3,3 Current State: 30:[11, 2], Operations: ['78-6=72', '72/36=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[11, 36], Operations: ['78-6=72', '72-36=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,30 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[36, 61], Operations: ['78-6=72', '72-11=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,30 unequal: No Solution Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,30 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[72, 25], Operations: ['78-6=72', '36-11=25'] Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,30 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 77, 46, 42, 18 ]
99
[ "77+46=123", "42-18=24", "123-24=99" ]
Current State: 99:[77, 46, 42, 18], Operations: [] Exploring Operation: 77+46=123, Resulting Numbers: [42, 18, 123] Generated Node #2: [42, 18, 123] from Operation: 77+46=123 Current State: 99:[42, 18, 123], Operations: ['77+46=123'] Exploring Operation: 42-18=24, Resulting Numbers: [123, 24] Generated Node #3: [123, 24] from Operation: 42-18=24 Current State: 99:[123, 24], Operations: ['77+46=123', '42-18=24'] Exploring Operation: 123-24=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[77, 46, 42, 18], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [42, 18, 31] Generated Node #0,0: 99:[42, 18, 31] Operation: 77-46=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[42, 18, 31], Operations: ['77-46=31'] Exploring Operation: 42-31=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 99:[18, 11] Operation: 42-31=11 Moving to Node #0,0,0 Current State: 99:[18, 11], Operations: ['77-46=31', '42-31=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,99 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, 97, 6, 46 ]
14
[ "97-87=10", "6*10=60", "60-46=14" ]
Current State: 14:[87, 97, 6, 46], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [6, 46, 10] Generated Node #2: [6, 46, 10] from Operation: 97-87=10 Current State: 14:[6, 46, 10], Operations: ['97-87=10'] Exploring Operation: 6*10=60, Resulting Numbers: [46, 60] Generated Node #3: [46, 60] from Operation: 6*10=60 Current State: 14:[46, 60], Operations: ['97-87=10', '6*10=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[87, 97, 6, 46], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [6, 46, 10] Generated Node #0,0: 14:[6, 46, 10] Operation: 97-87=10 Moving to Node #0,0 Current State: 14:[6, 46, 10], Operations: ['97-87=10'] Exploring Operation: 46-10=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 14:[6, 36] Operation: 46-10=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 36], Operations: ['97-87=10', '46-10=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,14 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
[ 59, 59, 19, 77 ]
59
[ "59/59=1", "77-19=58", "1+58=59" ]
Current State: 59:[59, 59, 19, 77], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [19, 77, 1] Generated Node #2: [19, 77, 1] from Operation: 59/59=1 Current State: 59:[19, 77, 1], Operations: ['59/59=1'] Exploring Operation: 77-19=58, Resulting Numbers: [1, 58] Generated Node #3: [1, 58] from Operation: 77-19=58 Current State: 59:[1, 58], Operations: ['59/59=1', '77-19=58'] Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[59, 59, 19, 77], Operations: [] Exploring Operation: 59+19=78, Resulting Numbers: [59, 77, 78] Generated Node #0,0: 59:[59, 77, 78] Operation: 59+19=78 Exploring Operation: 77-19=58, Resulting Numbers: [59, 59, 58] Generated Node #0,1: 59:[59, 59, 58] Operation: 77-19=58 Exploring Operation: 59-19=40, Resulting Numbers: [59, 77, 40] Generated Node #0,2: 59:[59, 77, 40] Operation: 59-19=40 Moving to Node #0,1 Current State: 59:[59, 59, 58], Operations: ['77-19=58'] Exploring Operation: 59+58=117, Resulting Numbers: [59, 117] Generated Node #0,1,0: 59:[59, 117] Operation: 59+58=117 Exploring Operation: 59+58=117, Resulting Numbers: [59, 117] Generated Node #0,1,1: 59:[59, 117] Operation: 59+58=117 Exploring Operation: 59-58=1, Resulting Numbers: [59, 1] Generated Node #0,1,2: 59:[59, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 59:[59, 77, 78], Operations: ['59+19=78'] Exploring Operation: 77-59=18, Resulting Numbers: [78, 18] Generated Node #0,0,0: 59:[78, 18] Operation: 77-59=18 Exploring Operation: 78-59=19, Resulting Numbers: [77, 19] Generated Node #0,0,1: 59:[77, 19] Operation: 78-59=19 Exploring Operation: 78-77=1, Resulting Numbers: [59, 1] Generated Node #0,0,2: 59:[59, 1] Operation: 78-77=1 Moving to Node #0,2 Current State: 59:[59, 77, 40], Operations: ['59-19=40'] Exploring Operation: 59-40=19, Resulting Numbers: [77, 19] Generated Node #0,2,0: 59:[77, 19] Operation: 59-40=19 Exploring Operation: 59+40=99, Resulting Numbers: [77, 99] Generated Node #0,2,1: 59:[77, 99] Operation: 59+40=99 Exploring Operation: 77-40=37, Resulting Numbers: [59, 37] Generated Node #0,2,2: 59:[59, 37] Operation: 77-40=37 Moving to Node #0,2,2 Current State: 59:[59, 37], Operations: ['59-19=40', '77-40=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[59, 117], Operations: ['77-19=58', '59+58=117'] Exploring Operation: 59+117=176, Resulting Numbers: [176] 176,59 unequal: No Solution Exploring Operation: 59*117=6903, Resulting Numbers: [6903] 6903,59 unequal: No Solution Exploring Operation: 117-59=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[59, 1], Operations: ['77-19=58', '59-58=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[59, 59, 19, 77], Operations: [] Exploring Operation: 77-19=58, Resulting Numbers: [59, 59, 58] Generated Node #0,1: 59:[59, 59, 58] Operation: 77-19=58 Moving to Node #0,1 Current State: 59:[59, 59, 58], Operations: ['77-19=58'] Exploring Operation: 59-58=1, Resulting Numbers: [59, 1] Generated Node #0,1,2: 59:[59, 1] Operation: 59-58=1 Moving to Node #0,1,2 Current State: 59:[59, 1], Operations: ['77-19=58', '59-58=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.979167
hs_3
sum_heuristic
[ 80, 74, 36, 66 ]
63
[ "74+66=140", "36*140=5040", "5040/80=63" ]
Current State: 63:[80, 74, 36, 66], Operations: [] Exploring Operation: 74+66=140, Resulting Numbers: [80, 36, 140] Generated Node #2: [80, 36, 140] from Operation: 74+66=140 Current State: 63:[80, 36, 140], Operations: ['74+66=140'] Exploring Operation: 36*140=5040, Resulting Numbers: [80, 5040] Generated Node #3: [80, 5040] from Operation: 36*140=5040 Current State: 63:[80, 5040], Operations: ['74+66=140', '36*140=5040'] Exploring Operation: 5040/80=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[80, 74, 36, 66], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [74, 36, 14] Generated Node #0,0: 63:[74, 36, 14] Operation: 80-66=14 Exploring Operation: 80-36=44, Resulting Numbers: [74, 66, 44] Generated Node #0,1: 63:[74, 66, 44] Operation: 80-36=44 Exploring Operation: 74-66=8, Resulting Numbers: [80, 36, 8] Generated Node #0,2: 63:[80, 36, 8] Operation: 74-66=8 Exploring Operation: 80-74=6, Resulting Numbers: [36, 66, 6] Generated Node #0,3: 63:[36, 66, 6] Operation: 80-74=6 Moving to Node #0,3 Current State: 63:[36, 66, 6], Operations: ['80-74=6'] Exploring Operation: 66/6=11, Resulting Numbers: [36, 11] Generated Node #0,3,0: 63:[36, 11] Operation: 66/6=11 Exploring Operation: 36/6=6, Resulting Numbers: [66, 6] Generated Node #0,3,1: 63:[66, 6] Operation: 36/6=6 Exploring Operation: 66-36=30, Resulting Numbers: [6, 30] Generated Node #0,3,2: 63:[6, 30] Operation: 66-36=30 Exploring Operation: 36-6=30, Resulting Numbers: [66, 30] Generated Node #0,3,3: 63:[66, 30] Operation: 36-6=30 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[66, 6], Operations: ['80-74=6', '36/6=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,63 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[6, 30], Operations: ['80-74=6', '66-36=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[66, 30], Operations: ['80-74=6', '36-6=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,63 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[36, 11], Operations: ['80-74=6', '66/6=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,63 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,63 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: 63:[74, 36, 14], Operations: ['80-66=14'] Exploring Operation: 74-14=60, Resulting Numbers: [36, 60] Generated Node #0,0,0: 63:[36, 60] Operation: 74-14=60 Exploring Operation: 36-14=22, Resulting Numbers: [74, 22] Generated Node #0,0,1: 63:[74, 22] Operation: 36-14=22 Exploring Operation: 74-36=38, Resulting Numbers: [14, 38] Generated Node #0,0,2: 63:[14, 38] Operation: 74-36=38 Exploring Operation: 36+14=50, Resulting Numbers: [74, 50] Generated Node #0,0,3: 63:[74, 50] Operation: 36+14=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[74, 22], Operations: ['80-66=14', '36-14=22'] Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,63 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[36, 60], Operations: ['80-66=14', '74-14=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,63 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[14, 38], Operations: ['80-66=14', '74-36=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,63 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[74, 50], Operations: ['80-66=14', '36+14=50'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,63 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: 63:[80, 36, 8], Operations: ['74-66=8'] Exploring Operation: 80/8=10, Resulting Numbers: [36, 10] Generated Node #0,2,0: 63:[36, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [36, 72] Generated Node #0,2,1: 63:[36, 72] Operation: 80-8=72 Exploring Operation: 80-36=44, Resulting Numbers: [8, 44] Generated Node #0,2,2: 63:[8, 44] Operation: 80-36=44 Exploring Operation: 36-8=28, Resulting Numbers: [80, 28] Generated Node #0,2,3: 63:[80, 28] Operation: 36-8=28 Moving to Node #0,1 Current State: 63:[74, 66, 44], Operations: ['80-36=44'] Exploring Operation: 74-66=8, Resulting Numbers: [44, 8] Generated Node #0,1,0: 63:[44, 8] Operation: 74-66=8 Exploring Operation: 66-44=22, Resulting Numbers: [74, 22] Generated Node #0,1,1: 63:[74, 22] Operation: 66-44=22 Exploring Operation: 74+44=118, Resulting Numbers: [66, 118] Generated Node #0,1,2: 63:[66, 118] Operation: 74+44=118 Exploring Operation: 74-44=30, Resulting Numbers: [66, 30] Generated Node #0,1,3: 63:[66, 30] Operation: 74-44=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[74, 22], Operations: ['80-36=44', '66-44=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,63 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[66, 30], Operations: ['80-36=44', '74-44=30'] Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,63 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,63 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[44, 8], Operations: ['80-36=44', '74-66=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[66, 118], Operations: ['80-36=44', '74+44=118'] Exploring Operation: 66+118=184, Resulting Numbers: [184] 184,63 unequal: No Solution Exploring Operation: 66*118=7788, Resulting Numbers: [7788] 7788,63 unequal: No Solution Exploring Operation: 118-66=52, Resulting Numbers: [52] 52,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 63:[36, 10], Operations: ['74-66=8', '80/8=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,63 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[8, 44], Operations: ['74-66=8', '80-36=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,63 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[80, 28], Operations: ['74-66=8', '36-8=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[36, 72], Operations: ['74-66=8', '80-8=72'] Exploring Operation: 36*72=2592, Resulting Numbers: [2592] 2592,63 unequal: No Solution Exploring Operation: 36+72=108, Resulting Numbers: [108] 108,63 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 22, 64, 71, 82 ]
97
[ "22+64=86", "82-71=11", "86+11=97" ]
Current State: 97:[22, 64, 71, 82], Operations: [] Exploring Operation: 22+64=86, Resulting Numbers: [71, 82, 86] Generated Node #2: [71, 82, 86] from Operation: 22+64=86 Current State: 97:[71, 82, 86], Operations: ['22+64=86'] Exploring Operation: 82-71=11, Resulting Numbers: [86, 11] Generated Node #3: [86, 11] from Operation: 82-71=11 Current State: 97:[86, 11], Operations: ['22+64=86', '82-71=11'] Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[22, 64, 71, 82], Operations: [] Exploring Operation: 22+82=104, Resulting Numbers: [64, 71, 104] Generated Node #0,0: 97:[64, 71, 104] Operation: 22+82=104 Exploring Operation: 22+71=93, Resulting Numbers: [64, 82, 93] Generated Node #0,1: 97:[64, 82, 93] Operation: 22+71=93 Exploring Operation: 22+64=86, Resulting Numbers: [71, 82, 86] Generated Node #0,2: 97:[71, 82, 86] Operation: 22+64=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[64, 82, 93], Operations: ['22+71=93'] Exploring Operation: 82-64=18, Resulting Numbers: [93, 18] Generated Node #0,1,0: 97:[93, 18] Operation: 82-64=18 Exploring Operation: 64+93=157, Resulting Numbers: [82, 157] Generated Node #0,1,1: 97:[82, 157] Operation: 64+93=157 Exploring Operation: 64+82=146, Resulting Numbers: [93, 146] Generated Node #0,1,2: 97:[93, 146] Operation: 64+82=146 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[93, 146], Operations: ['22+71=93', '64+82=146'] Exploring Operation: 146-93=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 93*146=13578, Resulting Numbers: [13578] 13578,97 unequal: No Solution Exploring Operation: 93+146=239, Resulting Numbers: [239] 239,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:[82, 157], Operations: ['22+71=93', '64+93=157'] Exploring Operation: 157-82=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 82*157=12874, Resulting Numbers: [12874] 12874,97 unequal: No Solution Exploring Operation: 82+157=239, Resulting Numbers: [239] 239,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,0 Current State: 97:[93, 18], Operations: ['22+71=93', '82-64=18'] Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,97 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,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,2 Current State: 97:[71, 82, 86], Operations: ['22+64=86'] Exploring Operation: 71+86=157, Resulting Numbers: [82, 157] Generated Node #0,2,0: 97:[82, 157] Operation: 71+86=157 Exploring Operation: 71+82=153, Resulting Numbers: [86, 153] Generated Node #0,2,1: 97:[86, 153] Operation: 71+82=153 Exploring Operation: 82-71=11, Resulting Numbers: [86, 11] Generated Node #0,2,2: 97:[86, 11] Operation: 82-71=11 Moving to Node #0,2,1 Current State: 97:[86, 153], Operations: ['22+64=86', '71+82=153'] Exploring Operation: 153-86=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 86+153=239, Resulting Numbers: [239] 239,97 unequal: No Solution Exploring Operation: 86*153=13158, Resulting Numbers: [13158] 13158,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[82, 157], Operations: ['22+64=86', '71+86=157'] Exploring Operation: 82+157=239, Resulting Numbers: [239] 239,97 unequal: No Solution Exploring Operation: 157-82=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 82*157=12874, Resulting Numbers: [12874] 12874,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[86, 11], Operations: ['22+64=86', '82-71=11'] Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,97 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[22, 64, 71, 82], Operations: [] Exploring Operation: 22+64=86, Resulting Numbers: [71, 82, 86] Generated Node #0,2: 97:[71, 82, 86] Operation: 22+64=86 Moving to Node #0,2 Current State: 97:[71, 82, 86], Operations: ['22+64=86'] Exploring Operation: 82-71=11, Resulting Numbers: [86, 11] Generated Node #0,2,2: 97:[86, 11] Operation: 82-71=11 Moving to Node #0,2,2 Current State: 97:[86, 11], Operations: ['22+64=86', '82-71=11'] Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 89, 3, 72, 83 ]
15
[ "89-83=6", "72/6=12", "3+12=15" ]
Current State: 15:[89, 3, 72, 83], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [3, 72, 6] Generated Node #2: [3, 72, 6] from Operation: 89-83=6 Current State: 15:[3, 72, 6], Operations: ['89-83=6'] Exploring Operation: 72/6=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 72/6=12 Current State: 15:[3, 12], Operations: ['89-83=6', '72/6=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[89, 3, 72, 83], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [3, 83, 17] Generated Node #0,0: 15:[3, 83, 17] Operation: 89-72=17 Exploring Operation: 83-72=11, Resulting Numbers: [89, 3, 11] Generated Node #0,1: 15:[89, 3, 11] Operation: 83-72=11 Exploring Operation: 89-83=6, Resulting Numbers: [3, 72, 6] Generated Node #0,2: 15:[3, 72, 6] Operation: 89-83=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[3, 72, 6], Operations: ['89-83=6'] Exploring Operation: 72/6=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 15:[3, 12] Operation: 72/6=12 Exploring Operation: 72/3=24, Resulting Numbers: [6, 24] Generated Node #0,2,1: 15:[6, 24] Operation: 72/3=24 Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #0,2,2: 15:[3, 66] Operation: 72-6=66 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[3, 12], Operations: ['89-83=6', '72/6=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[89, 3, 72, 83], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [3, 72, 6] Generated Node #0,2: 15:[3, 72, 6] Operation: 89-83=6 Moving to Node #0,2 Current State: 15:[3, 72, 6], Operations: ['89-83=6'] Exploring Operation: 72/6=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 15:[3, 12] Operation: 72/6=12 Moving to Node #0,2,0 Current State: 15:[3, 12], Operations: ['89-83=6', '72/6=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 62, 47, 30, 16 ]
29
[ "62-47=15", "30-16=14", "15+14=29" ]
Current State: 29:[62, 47, 30, 16], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [30, 16, 15] Generated Node #2: [30, 16, 15] from Operation: 62-47=15 Current State: 29:[30, 16, 15], Operations: ['62-47=15'] Exploring Operation: 30-16=14, Resulting Numbers: [15, 14] Generated Node #3: [15, 14] from Operation: 30-16=14 Current State: 29:[15, 14], Operations: ['62-47=15', '30-16=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[62, 47, 30, 16], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [30, 16, 15] Generated Node #0,0: 29:[30, 16, 15] Operation: 62-47=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[30, 16, 15], Operations: ['62-47=15'] Exploring Operation: 16+15=31, Resulting Numbers: [30, 31] Generated Node #0,0,0: 29:[30, 31] Operation: 16+15=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[30, 31], Operations: ['62-47=15', '16+15=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic