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
[ 83, 12, 91, 91 ]
71
[ "83-12=71", "91-91=0", "71+0=71" ]
Current State: 71:[83, 12, 91, 91], Operations: [] Exploring Operation: 83-12=71, Resulting Numbers: [91, 91, 71] Generated Node #2: [91, 91, 71] from Operation: 83-12=71 Current State: 71:[91, 91, 71], Operations: ['83-12=71'] Exploring Operation: 91-91=0, Resulting Numbers: [71, 0] Generated Node #3: [71, 0] from Operation: 91-91=0 Current State: 71:[71, 0], Operations: ['83-12=71', '91-91=0'] Exploring Operation: 71+0=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[83, 12, 91, 91], Operations: [] Exploring Operation: 83-12=71, Resulting Numbers: [91, 91, 71] Generated Node #0,0: 71:[91, 91, 71] Operation: 83-12=71 Exploring Operation: 91-12=79, Resulting Numbers: [83, 91, 79] Generated Node #0,1: 71:[83, 91, 79] Operation: 91-12=79 Exploring Operation: 91-12=79, Resulting Numbers: [83, 91, 79] Generated Node #0,2: 71:[83, 91, 79] Operation: 91-12=79 Moving to Node #0,0 Current State: 71:[91, 91, 71], Operations: ['83-12=71'] Exploring Operation: 91-91=0, Resulting Numbers: [71, 0] Generated Node #0,0,0: 71:[71, 0] Operation: 91-91=0 Exploring Operation: 91/91=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 71:[71, 1] Operation: 91/91=1 Exploring Operation: 91-71=20, Resulting Numbers: [91, 20] Generated Node #0,0,2: 71:[91, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[71, 1], Operations: ['83-12=71', '91/91=1'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[83, 12, 91, 91], Operations: [] Exploring Operation: 83-12=71, Resulting Numbers: [91, 91, 71] Generated Node #0,0: 71:[91, 91, 71] Operation: 83-12=71 Moving to Node #0,0 Current State: 71:[91, 91, 71], Operations: ['83-12=71'] Exploring Operation: 91/91=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 71:[71, 1] Operation: 91/91=1 Moving to Node #0,0,1 Current State: 71:[71, 1], Operations: ['83-12=71', '91/91=1'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 79, 6, 84, 82 ]
11
[ "82-79=3", "84/6=14", "14-3=11" ]
Current State: 11:[79, 6, 84, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [6, 84, 3] Generated Node #2: [6, 84, 3] from Operation: 82-79=3 Current State: 11:[6, 84, 3], Operations: ['82-79=3'] Exploring Operation: 84/6=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 84/6=14 Current State: 11:[3, 14], Operations: ['82-79=3', '84/6=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[79, 6, 84, 82], Operations: [] Exploring Operation: 79-6=73, Resulting Numbers: [84, 82, 73] Generated Node #0,0: 11:[84, 82, 73] Operation: 79-6=73 Exploring Operation: 84-79=5, Resulting Numbers: [6, 82, 5] Generated Node #0,1: 11:[6, 82, 5] Operation: 84-79=5 Exploring Operation: 84/6=14, Resulting Numbers: [79, 82, 14] Generated Node #0,2: 11:[79, 82, 14] Operation: 84/6=14 Exploring Operation: 82-79=3, Resulting Numbers: [6, 84, 3] Generated Node #0,3: 11:[6, 84, 3] Operation: 82-79=3 Exploring Operation: 84-82=2, Resulting Numbers: [79, 6, 2] Generated Node #0,4: 11:[79, 6, 2] Operation: 84-82=2 Moving to Node #0,1 Current State: 11:[6, 82, 5], Operations: ['84-79=5'] Exploring Operation: 6+5=11, Resulting Numbers: [82, 11] Generated Node #0,1,0: 11:[82, 11] Operation: 6+5=11 Exploring Operation: 82-6=76, Resulting Numbers: [5, 76] Generated Node #0,1,1: 11:[5, 76] Operation: 82-6=76 Exploring Operation: 82-5=77, Resulting Numbers: [6, 77] Generated Node #0,1,2: 11:[6, 77] Operation: 82-5=77 Exploring Operation: 6-5=1, Resulting Numbers: [82, 1] Generated Node #0,1,3: 11:[82, 1] Operation: 6-5=1 Exploring Operation: 82+5=87, Resulting Numbers: [6, 87] Generated Node #0,1,4: 11:[6, 87] Operation: 82+5=87 Moving to Node #0,4 Current State: 11:[79, 6, 2], Operations: ['84-82=2'] Exploring Operation: 79+2=81, Resulting Numbers: [6, 81] Generated Node #0,4,0: 11:[6, 81] Operation: 79+2=81 Exploring Operation: 6*2=12, Resulting Numbers: [79, 12] Generated Node #0,4,1: 11:[79, 12] Operation: 6*2=12 Exploring Operation: 79-2=77, Resulting Numbers: [6, 77] Generated Node #0,4,2: 11:[6, 77] Operation: 79-2=77 Exploring Operation: 79-6=73, Resulting Numbers: [2, 73] Generated Node #0,4,3: 11:[2, 73] Operation: 79-6=73 Exploring Operation: 6+2=8, Resulting Numbers: [79, 8] Generated Node #0,4,4: 11:[79, 8] Operation: 6+2=8 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[79, 12], Operations: ['84-82=2', '6*2=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,11 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[6, 77], Operations: ['84-82=2', '79-2=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[2, 73], Operations: ['84-82=2', '79-6=73'] Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,11 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 11:[79, 8], Operations: ['84-82=2', '6+2=8'] Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,11 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 11:[6, 81], Operations: ['84-82=2', '79+2=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,11 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: 11:[6, 84, 3], Operations: ['82-79=3'] Exploring Operation: 84/6=14, Resulting Numbers: [3, 14] Generated Node #0,3,0: 11:[3, 14] Operation: 84/6=14 Exploring Operation: 6+3=9, Resulting Numbers: [84, 9] Generated Node #0,3,1: 11:[84, 9] Operation: 6+3=9 Exploring Operation: 84/3=28, Resulting Numbers: [6, 28] Generated Node #0,3,2: 11:[6, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [6, 81] Generated Node #0,3,3: 11:[6, 81] Operation: 84-3=81 Exploring Operation: 84-6=78, Resulting Numbers: [3, 78] Generated Node #0,3,4: 11:[3, 78] Operation: 84-6=78 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[3, 14], Operations: ['82-79=3', '84/6=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[79, 6, 84, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [6, 84, 3] Generated Node #0,3: 11:[6, 84, 3] Operation: 82-79=3 Moving to Node #0,3 Current State: 11:[6, 84, 3], Operations: ['82-79=3'] Exploring Operation: 84/6=14, Resulting Numbers: [3, 14] Generated Node #0,3,0: 11:[3, 14] Operation: 84/6=14 Moving to Node #0,3,0 Current State: 11:[3, 14], Operations: ['82-79=3', '84/6=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 16, 28, 10, 8 ]
18
[ "28*10=280", "8+280=288", "288/16=18" ]
Current State: 18:[16, 28, 10, 8], Operations: [] Exploring Operation: 28*10=280, Resulting Numbers: [16, 8, 280] Generated Node #2: [16, 8, 280] from Operation: 28*10=280 Current State: 18:[16, 8, 280], Operations: ['28*10=280'] Exploring Operation: 8+280=288, Resulting Numbers: [16, 288] Generated Node #3: [16, 288] from Operation: 8+280=288 Current State: 18:[16, 288], Operations: ['28*10=280', '8+280=288'] Exploring Operation: 288/16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[16, 28, 10, 8], Operations: [] Exploring Operation: 28-10=18, Resulting Numbers: [16, 8, 18] Generated Node #0,0: 18:[16, 8, 18] Operation: 28-10=18 Exploring Operation: 28-16=12, Resulting Numbers: [10, 8, 12] Generated Node #0,1: 18:[10, 8, 12] Operation: 28-16=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[16, 8, 18], Operations: ['28-10=18'] Exploring Operation: 16-8=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 18:[18, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 18:[18, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[18, 2], Operations: ['28-10=18', '16/8=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[18, 8], Operations: ['28-10=18', '16-8=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[10, 8, 12], Operations: ['28-16=12'] Exploring Operation: 12-8=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 18:[10, 4] Operation: 12-8=4 Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 18:[8, 2] Operation: 12-10=2 Moving to Node #0,1,1 Current State: 18:[8, 2], Operations: ['28-16=12', '12-10=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[10, 4], Operations: ['28-16=12', '12-8=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,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
sum_heuristic
[ 55, 5, 19, 84 ]
68
[ "84-19=65", "65/5=13", "55+13=68" ]
Current State: 68:[55, 5, 19, 84], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [55, 5, 65] Generated Node #2: [55, 5, 65] from Operation: 84-19=65 Current State: 68:[55, 5, 65], Operations: ['84-19=65'] Exploring Operation: 65/5=13, Resulting Numbers: [55, 13] Generated Node #3: [55, 13] from Operation: 65/5=13 Current State: 68:[55, 13], Operations: ['84-19=65', '65/5=13'] Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[55, 5, 19, 84], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [5, 84, 36] Generated Node #0,0: 68:[5, 84, 36] Operation: 55-19=36 Exploring Operation: 84-19=65, Resulting Numbers: [55, 5, 65] Generated Node #0,1: 68:[55, 5, 65] Operation: 84-19=65 Exploring Operation: 55+19=74, Resulting Numbers: [5, 84, 74] Generated Node #0,2: 68:[5, 84, 74] Operation: 55+19=74 Exploring Operation: 84-55=29, Resulting Numbers: [5, 19, 29] Generated Node #0,3: 68:[5, 19, 29] Operation: 84-55=29 Moving to Node #0,3 Current State: 68:[5, 19, 29], Operations: ['84-55=29'] Exploring Operation: 5+29=34, Resulting Numbers: [19, 34] Generated Node #0,3,0: 68:[19, 34] Operation: 5+29=34 Exploring Operation: 19-5=14, Resulting Numbers: [29, 14] Generated Node #0,3,1: 68:[29, 14] Operation: 19-5=14 Exploring Operation: 29-5=24, Resulting Numbers: [19, 24] Generated Node #0,3,2: 68:[19, 24] Operation: 29-5=24 Exploring Operation: 29-19=10, Resulting Numbers: [5, 10] Generated Node #0,3,3: 68:[5, 10] Operation: 29-19=10 Moving to Node #0,1 Current State: 68:[55, 5, 65], Operations: ['84-19=65'] Exploring Operation: 55/5=11, Resulting Numbers: [65, 11] Generated Node #0,1,0: 68:[65, 11] Operation: 55/5=11 Exploring Operation: 55+5=60, Resulting Numbers: [65, 60] Generated Node #0,1,1: 68:[65, 60] Operation: 55+5=60 Exploring Operation: 65-55=10, Resulting Numbers: [5, 10] Generated Node #0,1,2: 68:[5, 10] Operation: 65-55=10 Exploring Operation: 5+65=70, Resulting Numbers: [55, 70] Generated Node #0,1,3: 68:[55, 70] Operation: 5+65=70 Moving to Node #0,0 Current State: 68:[5, 84, 36], Operations: ['55-19=36'] Exploring Operation: 36-5=31, Resulting Numbers: [84, 31] Generated Node #0,0,0: 68:[84, 31] Operation: 36-5=31 Exploring Operation: 84-36=48, Resulting Numbers: [5, 48] Generated Node #0,0,1: 68:[5, 48] Operation: 84-36=48 Exploring Operation: 84-5=79, Resulting Numbers: [36, 79] Generated Node #0,0,2: 68:[36, 79] Operation: 84-5=79 Exploring Operation: 5+84=89, Resulting Numbers: [36, 89] Generated Node #0,0,3: 68:[36, 89] Operation: 5+84=89 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[36, 79], Operations: ['55-19=36', '84-5=79'] Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,68 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,68 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[5, 48], Operations: ['55-19=36', '84-36=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[84, 31], Operations: ['55-19=36', '36-5=31'] Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,68 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,68 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[36, 89], Operations: ['55-19=36', '5+84=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,68 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,68 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: 68:[5, 84, 74], Operations: ['55+19=74'] Exploring Operation: 74-5=69, Resulting Numbers: [84, 69] Generated Node #0,2,0: 68:[84, 69] Operation: 74-5=69 Exploring Operation: 84-5=79, Resulting Numbers: [74, 79] Generated Node #0,2,1: 68:[74, 79] Operation: 84-5=79 Exploring Operation: 5+84=89, Resulting Numbers: [74, 89] Generated Node #0,2,2: 68:[74, 89] Operation: 5+84=89 Exploring Operation: 84-74=10, Resulting Numbers: [5, 10] Generated Node #0,2,3: 68:[5, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[5, 10], Operations: ['55+19=74', '84-74=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,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,0 Current State: 68:[84, 69], Operations: ['55+19=74', '74-5=69'] Exploring Operation: 84*69=5796, Resulting Numbers: [5796] 5796,68 unequal: No Solution Exploring Operation: 84+69=153, Resulting Numbers: [153] 153,68 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,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,1 Current State: 68:[74, 79], Operations: ['55+19=74', '84-5=79'] Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,68 unequal: No Solution Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,68 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,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,2 Current State: 68:[74, 89], Operations: ['55+19=74', '5+84=89'] Exploring Operation: 74*89=6586, Resulting Numbers: [6586] 6586,68 unequal: No Solution Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 74+89=163, Resulting Numbers: [163] 163,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 68:[19, 34], Operations: ['84-55=29', '5+29=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[5, 10], Operations: ['84-55=29', '29-19=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[5, 10], Operations: ['84-19=65', '65-55=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[29, 14], Operations: ['84-55=29', '19-5=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[65, 11], Operations: ['84-19=65', '55/5=11'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,68 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[19, 24], Operations: ['84-55=29', '29-5=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[65, 60], Operations: ['84-19=65', '55+5=60'] Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,68 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,68 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[55, 70], Operations: ['84-19=65', '5+65=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,68 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,68 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 42, 49, 35, 91 ]
18
[ "49-42=7", "35+91=126", "126/7=18" ]
Current State: 18:[42, 49, 35, 91], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [35, 91, 7] Generated Node #2: [35, 91, 7] from Operation: 49-42=7 Current State: 18:[35, 91, 7], Operations: ['49-42=7'] Exploring Operation: 35+91=126, Resulting Numbers: [7, 126] Generated Node #3: [7, 126] from Operation: 35+91=126 Current State: 18:[7, 126], Operations: ['49-42=7', '35+91=126'] Exploring Operation: 126/7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[42, 49, 35, 91], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [35, 91, 7] Generated Node #0,0: 18:[35, 91, 7] Operation: 49-42=7 Exploring Operation: 91-42=49, Resulting Numbers: [49, 35, 49] Generated Node #0,1: 18:[49, 35, 49] Operation: 91-42=49 Exploring Operation: 91-49=42, Resulting Numbers: [42, 35, 42] Generated Node #0,2: 18:[42, 35, 42] Operation: 91-49=42 Moving to Node #0,2 Current State: 18:[42, 35, 42], Operations: ['91-49=42'] Exploring Operation: 42/42=1, Resulting Numbers: [35, 1] Generated Node #0,2,0: 18:[35, 1] Operation: 42/42=1 Exploring Operation: 42-35=7, Resulting Numbers: [42, 7] Generated Node #0,2,1: 18:[42, 7] Operation: 42-35=7 Exploring Operation: 42-42=0, Resulting Numbers: [35, 0] Generated Node #0,2,2: 18:[35, 0] Operation: 42-42=0 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[35, 1], Operations: ['91-49=42', '42/42=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,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,2,2 Current State: 18:[35, 0], Operations: ['91-49=42', '42-42=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,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,2,1 Current State: 18:[42, 7], Operations: ['91-49=42', '42-35=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,18 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: 18:[49, 35, 49], Operations: ['91-42=49'] Exploring Operation: 49/49=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 18:[35, 1] Operation: 49/49=1 Exploring Operation: 49-49=0, Resulting Numbers: [35, 0] Generated Node #0,1,1: 18:[35, 0] Operation: 49-49=0 Exploring Operation: 49-35=14, Resulting Numbers: [49, 14] Generated Node #0,1,2: 18:[49, 14] Operation: 49-35=14 Moving to Node #0,0 Current State: 18:[35, 91, 7], Operations: ['49-42=7'] Exploring Operation: 91/7=13, Resulting Numbers: [35, 13] Generated Node #0,0,0: 18:[35, 13] Operation: 91/7=13 Exploring Operation: 35/7=5, Resulting Numbers: [91, 5] Generated Node #0,0,1: 18:[91, 5] Operation: 35/7=5 Exploring Operation: 91-35=56, Resulting Numbers: [7, 56] Generated Node #0,0,2: 18:[7, 56] Operation: 91-35=56 Moving to Node #0,1,0 Current State: 18:[35, 1], Operations: ['91-42=49', '49/49=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[35, 0], Operations: ['91-42=49', '49-49=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[35, 13], Operations: ['49-42=7', '91/7=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[49, 14], Operations: ['91-42=49', '49-35=14'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[7, 56], Operations: ['49-42=7', '91-35=56'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[91, 5], Operations: ['49-42=7', '35/7=5'] Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,18 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 34, 60, 43 ]
24
[ "41-34=7", "60-43=17", "7+17=24" ]
Current State: 24:[41, 34, 60, 43], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [60, 43, 7] Generated Node #2: [60, 43, 7] from Operation: 41-34=7 Current State: 24:[60, 43, 7], Operations: ['41-34=7'] Exploring Operation: 60-43=17, Resulting Numbers: [7, 17] Generated Node #3: [7, 17] from Operation: 60-43=17 Current State: 24:[7, 17], Operations: ['41-34=7', '60-43=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[41, 34, 60, 43], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [41, 34, 17] Generated Node #0,0: 24:[41, 34, 17] Operation: 60-43=17 Moving to Node #0,0 Current State: 24:[41, 34, 17], Operations: ['60-43=17'] Exploring Operation: 41-34=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 24:[17, 7] Operation: 41-34=7 Moving to Node #0,0,0 Current State: 24:[17, 7], Operations: ['60-43=17', '41-34=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[41, 34, 60, 43], Operations: [] Exploring Operation: 60-43=17, Resulting Numbers: [41, 34, 17] Generated Node #0,0: 24:[41, 34, 17] Operation: 60-43=17 Moving to Node #0,0 Current State: 24:[41, 34, 17], Operations: ['60-43=17'] Exploring Operation: 41-34=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 24:[17, 7] Operation: 41-34=7 Moving to Node #0,0,0 Current State: 24:[17, 7], Operations: ['60-43=17', '41-34=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 3, 9, 32, 47 ]
45
[ "9/3=3", "47-32=15", "3*15=45" ]
Current State: 45:[3, 9, 32, 47], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [32, 47, 3] Generated Node #2: [32, 47, 3] from Operation: 9/3=3 Current State: 45:[32, 47, 3], Operations: ['9/3=3'] Exploring Operation: 47-32=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 47-32=15 Current State: 45:[3, 15], Operations: ['9/3=3', '47-32=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 9, 32, 47], Operations: [] Exploring Operation: 9+32=41, Resulting Numbers: [3, 47, 41] Generated Node #0,0: 45:[3, 47, 41] Operation: 9+32=41 Exploring Operation: 47-32=15, Resulting Numbers: [3, 9, 15] Generated Node #0,1: 45:[3, 9, 15] Operation: 47-32=15 Exploring Operation: 32-9=23, Resulting Numbers: [3, 47, 23] Generated Node #0,2: 45:[3, 47, 23] Operation: 32-9=23 Exploring Operation: 3+32=35, Resulting Numbers: [9, 47, 35] Generated Node #0,3: 45:[9, 47, 35] Operation: 3+32=35 Moving to Node #0,1 Current State: 45:[3, 9, 15], Operations: ['47-32=15'] Exploring Operation: 9/3=3, Resulting Numbers: [15, 3] Generated Node #0,1,0: 45:[15, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 45:[15, 6] Operation: 9-3=6 Exploring Operation: 15/3=5, Resulting Numbers: [9, 5] Generated Node #0,1,2: 45:[9, 5] Operation: 15/3=5 Exploring Operation: 3*15=45, Resulting Numbers: [9, 45] Generated Node #0,1,3: 45:[9, 45] Operation: 3*15=45 Moving to Node #0,0 Current State: 45:[3, 47, 41], Operations: ['9+32=41'] Exploring Operation: 47-3=44, Resulting Numbers: [41, 44] Generated Node #0,0,0: 45:[41, 44] Operation: 47-3=44 Exploring Operation: 3+41=44, Resulting Numbers: [47, 44] Generated Node #0,0,1: 45:[47, 44] Operation: 3+41=44 Exploring Operation: 47-41=6, Resulting Numbers: [3, 6] Generated Node #0,0,2: 45:[3, 6] Operation: 47-41=6 Exploring Operation: 3+47=50, Resulting Numbers: [41, 50] Generated Node #0,0,3: 45:[41, 50] Operation: 3+47=50 Moving to Node #0,2 Current State: 45:[3, 47, 23], Operations: ['32-9=23'] Exploring Operation: 23-3=20, Resulting Numbers: [47, 20] Generated Node #0,2,0: 45:[47, 20] Operation: 23-3=20 Exploring Operation: 47-3=44, Resulting Numbers: [23, 44] Generated Node #0,2,1: 45:[23, 44] Operation: 47-3=44 Exploring Operation: 3+47=50, Resulting Numbers: [23, 50] Generated Node #0,2,2: 45:[23, 50] Operation: 3+47=50 Exploring Operation: 47-23=24, Resulting Numbers: [3, 24] Generated Node #0,2,3: 45:[3, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[47, 20], Operations: ['32-9=23', '23-3=20'] Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,45 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[23, 44], Operations: ['32-9=23', '47-3=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,45 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[3, 24], Operations: ['32-9=23', '47-23=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[23, 50], Operations: ['32-9=23', '3+47=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 45:[9, 47, 35], Operations: ['3+32=35'] Exploring Operation: 47-35=12, Resulting Numbers: [9, 12] Generated Node #0,3,0: 45:[9, 12] Operation: 47-35=12 Exploring Operation: 35-9=26, Resulting Numbers: [47, 26] Generated Node #0,3,1: 45:[47, 26] Operation: 35-9=26 Exploring Operation: 47-9=38, Resulting Numbers: [35, 38] Generated Node #0,3,2: 45:[35, 38] Operation: 47-9=38 Exploring Operation: 9+35=44, Resulting Numbers: [47, 44] Generated Node #0,3,3: 45:[47, 44] Operation: 9+35=44 Moving to Node #0,1,0 Current State: 45:[15, 3], Operations: ['47-32=15', '9/3=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[3, 9, 32, 47], Operations: [] Exploring Operation: 47-32=15, Resulting Numbers: [3, 9, 15] Generated Node #0,1: 45:[3, 9, 15] Operation: 47-32=15 Moving to Node #0,1 Current State: 45:[3, 9, 15], Operations: ['47-32=15'] Exploring Operation: 9/3=3, Resulting Numbers: [15, 3] Generated Node #0,1,0: 45:[15, 3] Operation: 9/3=3 Moving to Node #0,1,0 Current State: 45:[15, 3], Operations: ['47-32=15', '9/3=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 62, 97, 93, 95 ]
66
[ "95-93=2", "62/2=31", "97-31=66" ]
Current State: 66:[62, 97, 93, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [62, 97, 2] Generated Node #2: [62, 97, 2] from Operation: 95-93=2 Current State: 66:[62, 97, 2], Operations: ['95-93=2'] Exploring Operation: 62/2=31, Resulting Numbers: [97, 31] Generated Node #3: [97, 31] from Operation: 62/2=31 Current State: 66:[97, 31], Operations: ['95-93=2', '62/2=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[62, 97, 93, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [62, 93, 2] Generated Node #0,0: 66:[62, 93, 2] Operation: 97-95=2 Exploring Operation: 97-62=35, Resulting Numbers: [93, 95, 35] Generated Node #0,1: 66:[93, 95, 35] Operation: 97-62=35 Exploring Operation: 95-62=33, Resulting Numbers: [97, 93, 33] Generated Node #0,2: 66:[97, 93, 33] Operation: 95-62=33 Exploring Operation: 95-93=2, Resulting Numbers: [62, 97, 2] Generated Node #0,3: 66:[62, 97, 2] Operation: 95-93=2 Exploring Operation: 97-93=4, Resulting Numbers: [62, 95, 4] Generated Node #0,4: 66:[62, 95, 4] Operation: 97-93=4 Moving to Node #0,0 Current State: 66:[62, 93, 2], Operations: ['97-95=2'] Exploring Operation: 62-2=60, Resulting Numbers: [93, 60] Generated Node #0,0,0: 66:[93, 60] Operation: 62-2=60 Exploring Operation: 93-2=91, Resulting Numbers: [62, 91] Generated Node #0,0,1: 66:[62, 91] Operation: 93-2=91 Exploring Operation: 62/2=31, Resulting Numbers: [93, 31] Generated Node #0,0,2: 66:[93, 31] Operation: 62/2=31 Exploring Operation: 93-62=31, Resulting Numbers: [2, 31] Generated Node #0,0,3: 66:[2, 31] Operation: 93-62=31 Exploring Operation: 62+2=64, Resulting Numbers: [93, 64] Generated Node #0,0,4: 66:[93, 64] Operation: 62+2=64 Moving to Node #0,4 Current State: 66:[62, 95, 4], Operations: ['97-93=4'] Exploring Operation: 95+4=99, Resulting Numbers: [62, 99] Generated Node #0,4,0: 66:[62, 99] Operation: 95+4=99 Exploring Operation: 62+4=66, Resulting Numbers: [95, 66] Generated Node #0,4,1: 66:[95, 66] Operation: 62+4=66 Exploring Operation: 95-4=91, Resulting Numbers: [62, 91] Generated Node #0,4,2: 66:[62, 91] Operation: 95-4=91 Exploring Operation: 62-4=58, Resulting Numbers: [95, 58] Generated Node #0,4,3: 66:[95, 58] Operation: 62-4=58 Exploring Operation: 95-62=33, Resulting Numbers: [4, 33] Generated Node #0,4,4: 66:[4, 33] Operation: 95-62=33 Moving to Node #0,3 Current State: 66:[62, 97, 2], Operations: ['95-93=2'] Exploring Operation: 62+2=64, Resulting Numbers: [97, 64] Generated Node #0,3,0: 66:[97, 64] Operation: 62+2=64 Exploring Operation: 97-2=95, Resulting Numbers: [62, 95] Generated Node #0,3,1: 66:[62, 95] Operation: 97-2=95 Exploring Operation: 62/2=31, Resulting Numbers: [97, 31] Generated Node #0,3,2: 66:[97, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [97, 60] Generated Node #0,3,3: 66:[97, 60] Operation: 62-2=60 Exploring Operation: 97-62=35, Resulting Numbers: [2, 35] Generated Node #0,3,4: 66:[2, 35] Operation: 97-62=35 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 66:[2, 35], Operations: ['95-93=2', '97-62=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[97, 64], Operations: ['95-93=2', '62+2=64'] Exploring Operation: 97+64=161, Resulting Numbers: [161] 161,66 unequal: No Solution Exploring Operation: 97-64=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 97*64=6208, Resulting Numbers: [6208] 6208,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[62, 95], Operations: ['95-93=2', '97-2=95'] Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 62+95=157, Resulting Numbers: [157] 157,66 unequal: No Solution Exploring Operation: 62*95=5890, Resulting Numbers: [5890] 5890,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[97, 31], Operations: ['95-93=2', '62/2=31'] Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,66 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[62, 97, 93, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [62, 97, 2] Generated Node #0,3: 66:[62, 97, 2] Operation: 95-93=2 Moving to Node #0,3 Current State: 66:[62, 97, 2], Operations: ['95-93=2'] Exploring Operation: 62/2=31, Resulting Numbers: [97, 31] Generated Node #0,3,2: 66:[97, 31] Operation: 62/2=31 Moving to Node #0,3,2 Current State: 66:[97, 31], Operations: ['95-93=2', '62/2=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 14, 65, 48, 91 ]
38
[ "14*65=910", "910/91=10", "48-10=38" ]
Current State: 38:[14, 65, 48, 91], Operations: [] Exploring Operation: 14*65=910, Resulting Numbers: [48, 91, 910] Generated Node #2: [48, 91, 910] from Operation: 14*65=910 Current State: 38:[48, 91, 910], Operations: ['14*65=910'] Exploring Operation: 910/91=10, Resulting Numbers: [48, 10] Generated Node #3: [48, 10] from Operation: 910/91=10 Current State: 38:[48, 10], Operations: ['14*65=910', '910/91=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[14, 65, 48, 91], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [14, 48, 26] Generated Node #0,0: 38:[14, 48, 26] Operation: 91-65=26 Exploring Operation: 91-48=43, Resulting Numbers: [14, 65, 43] Generated Node #0,1: 38:[14, 65, 43] Operation: 91-48=43 Exploring Operation: 65-48=17, Resulting Numbers: [14, 91, 17] Generated Node #0,2: 38:[14, 91, 17] Operation: 65-48=17 Exploring Operation: 65-14=51, Resulting Numbers: [48, 91, 51] Generated Node #0,3: 38:[48, 91, 51] Operation: 65-14=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[14, 48, 26], Operations: ['91-65=26'] Exploring Operation: 48-14=34, Resulting Numbers: [26, 34] Generated Node #0,0,0: 38:[26, 34] Operation: 48-14=34 Exploring Operation: 14+26=40, Resulting Numbers: [48, 40] Generated Node #0,0,1: 38:[48, 40] Operation: 14+26=40 Exploring Operation: 48-26=22, Resulting Numbers: [14, 22] Generated Node #0,0,2: 38:[14, 22] Operation: 48-26=22 Exploring Operation: 26-14=12, Resulting Numbers: [48, 12] Generated Node #0,0,3: 38:[48, 12] Operation: 26-14=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[14, 22], Operations: ['91-65=26', '48-26=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,38 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[26, 34], Operations: ['91-65=26', '48-14=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,38 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[48, 40], Operations: ['91-65=26', '14+26=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,38 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 38:[48, 12], Operations: ['91-65=26', '26-14=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,38 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[14, 65, 43], Operations: ['91-48=43'] Exploring Operation: 14+65=79, Resulting Numbers: [43, 79] Generated Node #0,1,0: 38:[43, 79] Operation: 14+65=79 Exploring Operation: 65-14=51, Resulting Numbers: [43, 51] Generated Node #0,1,1: 38:[43, 51] Operation: 65-14=51 Exploring Operation: 43-14=29, Resulting Numbers: [65, 29] Generated Node #0,1,2: 38:[65, 29] Operation: 43-14=29 Exploring Operation: 65-43=22, Resulting Numbers: [14, 22] Generated Node #0,1,3: 38:[14, 22] Operation: 65-43=22 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[14, 22], Operations: ['91-48=43', '65-43=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,38 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[43, 51], Operations: ['91-48=43', '65-14=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[65, 29], Operations: ['91-48=43', '43-14=29'] Exploring Operation: 65*29=1885, Resulting Numbers: [1885] 1885,38 unequal: No Solution Exploring Operation: 65+29=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[43, 79], Operations: ['91-48=43', '14+65=79'] Exploring Operation: 43+79=122, Resulting Numbers: [122] 122,38 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 43*79=3397, Resulting Numbers: [3397] 3397,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[14, 91, 17], Operations: ['65-48=17'] Exploring Operation: 17-14=3, Resulting Numbers: [91, 3] Generated Node #0,2,0: 38:[91, 3] Operation: 17-14=3 Exploring Operation: 91-14=77, Resulting Numbers: [17, 77] Generated Node #0,2,1: 38:[17, 77] Operation: 91-14=77 Exploring Operation: 91-17=74, Resulting Numbers: [14, 74] Generated Node #0,2,2: 38:[14, 74] Operation: 91-17=74 Exploring Operation: 14+17=31, Resulting Numbers: [91, 31] Generated Node #0,2,3: 38:[91, 31] Operation: 14+17=31 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[17, 77], Operations: ['65-48=17', '91-14=77'] Exploring Operation: 17*77=1309, Resulting Numbers: [1309] 1309,38 unequal: No Solution Exploring Operation: 17+77=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[14, 74], Operations: ['65-48=17', '91-17=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,38 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[91, 3], Operations: ['65-48=17', '17-14=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,38 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,38 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[91, 31], Operations: ['65-48=17', '14+17=31'] Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 91*31=2821, Resulting Numbers: [2821] 2821,38 unequal: No Solution Exploring Operation: 91+31=122, Resulting Numbers: [122] 122,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[48, 91, 51], Operations: ['65-14=51'] Exploring Operation: 91-51=40, Resulting Numbers: [48, 40] Generated Node #0,3,0: 38:[48, 40] Operation: 91-51=40 Exploring Operation: 91-48=43, Resulting Numbers: [51, 43] Generated Node #0,3,1: 38:[51, 43] Operation: 91-48=43 Exploring Operation: 48+91=139, Resulting Numbers: [51, 139] Generated Node #0,3,2: 38:[51, 139] Operation: 48+91=139 Exploring Operation: 51-48=3, Resulting Numbers: [91, 3] Generated Node #0,3,3: 38:[91, 3] Operation: 51-48=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[48, 40], Operations: ['65-14=51', '91-51=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,38 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,38 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[51, 43], Operations: ['65-14=51', '91-48=43'] Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 51*43=2193, Resulting Numbers: [2193] 2193,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[91, 3], Operations: ['65-14=51', '51-48=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,38 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[51, 139], Operations: ['65-14=51', '48+91=139'] Exploring Operation: 51*139=7089, Resulting Numbers: [7089] 7089,38 unequal: No Solution Exploring Operation: 51+139=190, Resulting Numbers: [190] 190,38 unequal: No Solution Exploring Operation: 139-51=88, Resulting Numbers: [88] 88,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 70, 80, 75, 14 ]
91
[ "70/14=5", "80/5=16", "75+16=91" ]
Current State: 91:[70, 80, 75, 14], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [80, 75, 5] Generated Node #2: [80, 75, 5] from Operation: 70/14=5 Current State: 91:[80, 75, 5], Operations: ['70/14=5'] Exploring Operation: 80/5=16, Resulting Numbers: [75, 16] Generated Node #3: [75, 16] from Operation: 80/5=16 Current State: 91:[75, 16], Operations: ['70/14=5', '80/5=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[70, 80, 75, 14], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [80, 14, 5] Generated Node #0,0: 91:[80, 14, 5] Operation: 75-70=5 Exploring Operation: 80-70=10, Resulting Numbers: [75, 14, 10] Generated Node #0,1: 91:[75, 14, 10] Operation: 80-70=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[80, 14, 5], Operations: ['75-70=5'] Exploring Operation: 80/5=16, Resulting Numbers: [14, 16] Generated Node #0,0,0: 91:[14, 16] Operation: 80/5=16 Exploring Operation: 80+14=94, Resulting Numbers: [5, 94] Generated Node #0,0,1: 91:[5, 94] Operation: 80+14=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[14, 16], Operations: ['75-70=5', '80/5=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,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:[5, 94], Operations: ['75-70=5', '80+14=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,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:[75, 14, 10], Operations: ['80-70=10'] Exploring Operation: 75+10=85, Resulting Numbers: [14, 85] Generated Node #0,1,0: 91:[14, 85] Operation: 75+10=85 Exploring Operation: 75+14=89, Resulting Numbers: [10, 89] Generated Node #0,1,1: 91:[10, 89] Operation: 75+14=89 Moving to Node #0,1,1 Current State: 91:[10, 89], Operations: ['80-70=10', '75+14=89'] Exploring Operation: 10+89=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[14, 85], Operations: ['80-70=10', '75+10=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,91 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,91 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
[ 67, 34, 53, 69 ]
70
[ "69-67=2", "34/2=17", "53+17=70" ]
Current State: 70:[67, 34, 53, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [34, 53, 2] Generated Node #2: [34, 53, 2] from Operation: 69-67=2 Current State: 70:[34, 53, 2], Operations: ['69-67=2'] Exploring Operation: 34/2=17, Resulting Numbers: [53, 17] Generated Node #3: [53, 17] from Operation: 34/2=17 Current State: 70:[53, 17], Operations: ['69-67=2', '34/2=17'] Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[67, 34, 53, 69], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [67, 34, 16] Generated Node #0,0: 70:[67, 34, 16] Operation: 69-53=16 Exploring Operation: 67-53=14, Resulting Numbers: [34, 69, 14] Generated Node #0,1: 70:[34, 69, 14] Operation: 67-53=14 Moving to Node #0,1 Current State: 70:[34, 69, 14], Operations: ['67-53=14'] Exploring Operation: 34-14=20, Resulting Numbers: [69, 20] Generated Node #0,1,0: 70:[69, 20] Operation: 34-14=20 Exploring Operation: 69-34=35, Resulting Numbers: [14, 35] Generated Node #0,1,1: 70:[14, 35] Operation: 69-34=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[14, 35], Operations: ['67-53=14', '69-34=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[69, 20], Operations: ['67-53=14', '34-14=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,70 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: 70:[67, 34, 16], Operations: ['69-53=16'] Exploring Operation: 34-16=18, Resulting Numbers: [67, 18] Generated Node #0,0,0: 70:[67, 18] Operation: 34-16=18 Exploring Operation: 67-34=33, Resulting Numbers: [16, 33] Generated Node #0,0,1: 70:[16, 33] Operation: 67-34=33 Moving to Node #0,0,1 Current State: 70:[16, 33], Operations: ['69-53=16', '67-34=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[67, 18], Operations: ['69-53=16', '34-16=18'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 51, 69, 90 ]
34
[ "51-38=13", "90-69=21", "13+21=34" ]
Current State: 34:[38, 51, 69, 90], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [69, 90, 13] Generated Node #2: [69, 90, 13] from Operation: 51-38=13 Current State: 34:[69, 90, 13], Operations: ['51-38=13'] Exploring Operation: 90-69=21, Resulting Numbers: [13, 21] Generated Node #3: [13, 21] from Operation: 90-69=21 Current State: 34:[13, 21], Operations: ['51-38=13', '90-69=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[38, 51, 69, 90], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [38, 51, 21] Generated Node #0,0: 34:[38, 51, 21] Operation: 90-69=21 Exploring Operation: 69-51=18, Resulting Numbers: [38, 90, 18] Generated Node #0,1: 34:[38, 90, 18] Operation: 69-51=18 Exploring Operation: 69-38=31, Resulting Numbers: [51, 90, 31] Generated Node #0,2: 34:[51, 90, 31] Operation: 69-38=31 Exploring Operation: 90-38=52, Resulting Numbers: [51, 69, 52] Generated Node #0,3: 34:[51, 69, 52] Operation: 90-38=52 Exploring Operation: 90-51=39, Resulting Numbers: [38, 69, 39] Generated Node #0,4: 34:[38, 69, 39] Operation: 90-51=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[38, 51, 21], Operations: ['90-69=21'] Exploring Operation: 51-38=13, Resulting Numbers: [21, 13] Generated Node #0,0,0: 34:[21, 13] Operation: 51-38=13 Exploring Operation: 38+21=59, Resulting Numbers: [51, 59] Generated Node #0,0,1: 34:[51, 59] Operation: 38+21=59 Exploring Operation: 51-21=30, Resulting Numbers: [38, 30] Generated Node #0,0,2: 34:[38, 30] Operation: 51-21=30 Exploring Operation: 51+21=72, Resulting Numbers: [38, 72] Generated Node #0,0,3: 34:[38, 72] Operation: 51+21=72 Exploring Operation: 38-21=17, Resulting Numbers: [51, 17] Generated Node #0,0,4: 34:[51, 17] Operation: 38-21=17 Moving to Node #0,0,0 Current State: 34:[21, 13], Operations: ['90-69=21', '51-38=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,34 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[38, 51, 69, 90], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [38, 51, 21] Generated Node #0,0: 34:[38, 51, 21] Operation: 90-69=21 Moving to Node #0,0 Current State: 34:[38, 51, 21], Operations: ['90-69=21'] Exploring Operation: 51-38=13, Resulting Numbers: [21, 13] Generated Node #0,0,0: 34:[21, 13] Operation: 51-38=13 Moving to Node #0,0,0 Current State: 34:[21, 13], Operations: ['90-69=21', '51-38=13'] Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 19, 60, 58, 22 ]
63
[ "60-58=2", "22*2=44", "19+44=63" ]
Current State: 63:[19, 60, 58, 22], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [19, 22, 2] Generated Node #2: [19, 22, 2] from Operation: 60-58=2 Current State: 63:[19, 22, 2], Operations: ['60-58=2'] Exploring Operation: 22*2=44, Resulting Numbers: [19, 44] Generated Node #3: [19, 44] from Operation: 22*2=44 Current State: 63:[19, 44], Operations: ['60-58=2', '22*2=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[19, 60, 58, 22], Operations: [] Exploring Operation: 19+58=77, Resulting Numbers: [60, 22, 77] Generated Node #0,0: 63:[60, 22, 77] Operation: 19+58=77 Exploring Operation: 60-58=2, Resulting Numbers: [19, 22, 2] Generated Node #0,1: 63:[19, 22, 2] Operation: 60-58=2 Exploring Operation: 22-19=3, Resulting Numbers: [60, 58, 3] Generated Node #0,2: 63:[60, 58, 3] Operation: 22-19=3 Moving to Node #0,1 Current State: 63:[19, 22, 2], Operations: ['60-58=2'] Exploring Operation: 19+2=21, Resulting Numbers: [22, 21] Generated Node #0,1,0: 63:[22, 21] Operation: 19+2=21 Exploring Operation: 22-2=20, Resulting Numbers: [19, 20] Generated Node #0,1,1: 63:[19, 20] Operation: 22-2=20 Exploring Operation: 22-19=3, Resulting Numbers: [2, 3] Generated Node #0,1,2: 63:[2, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[22, 21], Operations: ['60-58=2', '19+2=21'] Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,63 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,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:[2, 3], Operations: ['60-58=2', '22-19=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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,1 Current State: 63:[19, 20], Operations: ['60-58=2', '22-2=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,63 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,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:[60, 58, 3], Operations: ['22-19=3'] Exploring Operation: 58+3=61, Resulting Numbers: [60, 61] Generated Node #0,2,0: 63:[60, 61] Operation: 58+3=61 Exploring Operation: 60-58=2, Resulting Numbers: [3, 2] Generated Node #0,2,1: 63:[3, 2] Operation: 60-58=2 Exploring Operation: 60+3=63, Resulting Numbers: [58, 63] Generated Node #0,2,2: 63:[58, 63] Operation: 60+3=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[3, 2], Operations: ['22-19=3', '60-58=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,2,0 Current State: 63:[60, 61], Operations: ['22-19=3', '58+3=61'] Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,63 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,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,2,2 Current State: 63:[58, 63], Operations: ['22-19=3', '60+3=63'] Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,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:[60, 22, 77], Operations: ['19+58=77'] Exploring Operation: 60-22=38, Resulting Numbers: [77, 38] Generated Node #0,0,0: 63:[77, 38] Operation: 60-22=38 Exploring Operation: 77-22=55, Resulting Numbers: [60, 55] Generated Node #0,0,1: 63:[60, 55] Operation: 77-22=55 Exploring Operation: 77-60=17, Resulting Numbers: [22, 17] Generated Node #0,0,2: 63:[22, 17] Operation: 77-60=17 Moving to Node #0,0,2 Current State: 63:[22, 17], Operations: ['19+58=77', '77-60=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,63 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[60, 55], Operations: ['19+58=77', '77-22=55'] Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,63 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,63 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[77, 38], Operations: ['19+58=77', '60-22=38'] Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,63 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,63 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 53, 52, 3, 53 ]
26
[ "53/53=1", "3-1=2", "52/2=26" ]
Current State: 26:[53, 52, 3, 53], Operations: [] Exploring Operation: 53/53=1, Resulting Numbers: [52, 3, 1] Generated Node #2: [52, 3, 1] from Operation: 53/53=1 Current State: 26:[52, 3, 1], Operations: ['53/53=1'] Exploring Operation: 3-1=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 3-1=2 Current State: 26:[52, 2], Operations: ['53/53=1', '3-1=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[53, 52, 3, 53], Operations: [] Exploring Operation: 53/53=1, Resulting Numbers: [52, 3, 1] Generated Node #0,0: 26:[52, 3, 1] Operation: 53/53=1 Moving to Node #0,0 Current State: 26:[52, 3, 1], Operations: ['53/53=1'] Exploring Operation: 52-3=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 26:[1, 49] Operation: 52-3=49 Moving to Node #0,0,0 Current State: 26:[1, 49], Operations: ['53/53=1', '52-3=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 23, 50, 44, 38 ]
94
[ "50*44=2200", "2200-38=2162", "2162/23=94" ]
Current State: 94:[23, 50, 44, 38], Operations: [] Exploring Operation: 50*44=2200, Resulting Numbers: [23, 38, 2200] Generated Node #2: [23, 38, 2200] from Operation: 50*44=2200 Current State: 94:[23, 38, 2200], Operations: ['50*44=2200'] Exploring Operation: 2200-38=2162, Resulting Numbers: [23, 2162] Generated Node #3: [23, 2162] from Operation: 2200-38=2162 Current State: 94:[23, 2162], Operations: ['50*44=2200', '2200-38=2162'] Exploring Operation: 2162/23=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[23, 50, 44, 38], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [50, 44, 15] Generated Node #0,0: 94:[50, 44, 15] Operation: 38-23=15 Exploring Operation: 23+38=61, Resulting Numbers: [50, 44, 61] Generated Node #0,1: 94:[50, 44, 61] Operation: 23+38=61 Moving to Node #0,0 Current State: 94:[50, 44, 15], Operations: ['38-23=15'] Exploring Operation: 50+44=94, Resulting Numbers: [15, 94] Generated Node #0,0,0: 94:[15, 94] Operation: 50+44=94 Exploring Operation: 50-15=35, Resulting Numbers: [44, 35] Generated Node #0,0,1: 94:[44, 35] Operation: 50-15=35 Moving to Node #0,1 Current State: 94:[50, 44, 61], Operations: ['23+38=61'] Exploring Operation: 50+44=94, Resulting Numbers: [61, 94] Generated Node #0,1,0: 94:[61, 94] Operation: 50+44=94 Exploring Operation: 61-50=11, Resulting Numbers: [44, 11] Generated Node #0,1,1: 94:[44, 11] Operation: 61-50=11 Moving to Node #0,1,1 Current State: 94:[44, 11], Operations: ['23+38=61', '61-50=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[15, 94], Operations: ['38-23=15', '50+44=94'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 15+94=109, Resulting Numbers: [109] 109,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[61, 94], Operations: ['23+38=61', '50+44=94'] Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[44, 35], Operations: ['38-23=15', '50-15=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 59, 3, 63, 40 ]
28
[ "63-59=4", "3*4=12", "40-12=28" ]
Current State: 28:[59, 3, 63, 40], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [3, 40, 4] Generated Node #2: [3, 40, 4] from Operation: 63-59=4 Current State: 28:[3, 40, 4], Operations: ['63-59=4'] Exploring Operation: 3*4=12, Resulting Numbers: [40, 12] Generated Node #3: [40, 12] from Operation: 3*4=12 Current State: 28:[40, 12], Operations: ['63-59=4', '3*4=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[59, 3, 63, 40], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [3, 40, 4] Generated Node #0,0: 28:[3, 40, 4] Operation: 63-59=4 Exploring Operation: 59-40=19, Resulting Numbers: [3, 63, 19] Generated Node #0,1: 28:[3, 63, 19] Operation: 59-40=19 Exploring Operation: 63-40=23, Resulting Numbers: [59, 3, 23] Generated Node #0,2: 28:[59, 3, 23] Operation: 63-40=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[3, 40, 4], Operations: ['63-59=4'] Exploring Operation: 40-4=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 28:[3, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 28:[3, 10] Operation: 40/4=10 Exploring Operation: 40-3=37, Resulting Numbers: [4, 37] Generated Node #0,0,2: 28:[4, 37] Operation: 40-3=37 Moving to Node #0,0,1 Current State: 28:[3, 10], Operations: ['63-59=4', '40/4=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[3, 36], Operations: ['63-59=4', '40-4=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[4, 37], Operations: ['63-59=4', '40-3=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[59, 3, 23], Operations: ['63-40=23'] Exploring Operation: 3+23=26, Resulting Numbers: [59, 26] Generated Node #0,2,0: 28:[59, 26] Operation: 3+23=26 Exploring Operation: 59-3=56, Resulting Numbers: [23, 56] Generated Node #0,2,1: 28:[23, 56] Operation: 59-3=56 Exploring Operation: 59-23=36, Resulting Numbers: [3, 36] Generated Node #0,2,2: 28:[3, 36] Operation: 59-23=36 Moving to Node #0,2,2 Current State: 28:[3, 36], Operations: ['63-40=23', '59-23=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[59, 26], Operations: ['63-40=23', '3+23=26'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,28 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[23, 56], Operations: ['63-40=23', '59-3=56'] Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 23*56=1288, Resulting Numbers: [1288] 1288,28 unequal: No Solution Exploring Operation: 23+56=79, Resulting Numbers: [79] 79,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[3, 63, 19], Operations: ['59-40=19'] Exploring Operation: 63-19=44, Resulting Numbers: [3, 44] Generated Node #0,1,0: 28:[3, 44] Operation: 63-19=44 Exploring Operation: 63/3=21, Resulting Numbers: [19, 21] Generated Node #0,1,1: 28:[19, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [19, 60] Generated Node #0,1,2: 28:[19, 60] Operation: 63-3=60 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[19, 21], Operations: ['59-40=19', '63/3=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,28 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[3, 44], Operations: ['59-40=19', '63-19=44'] Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,28 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[19, 60], Operations: ['59-40=19', '63-3=60'] Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,28 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 86, 44, 30, 2 ]
95
[ "86+44=130", "130/2=65", "30+65=95" ]
Current State: 95:[86, 44, 30, 2], Operations: [] Exploring Operation: 86+44=130, Resulting Numbers: [30, 2, 130] Generated Node #2: [30, 2, 130] from Operation: 86+44=130 Current State: 95:[30, 2, 130], Operations: ['86+44=130'] Exploring Operation: 130/2=65, Resulting Numbers: [30, 65] Generated Node #3: [30, 65] from Operation: 130/2=65 Current State: 95:[30, 65], Operations: ['86+44=130', '130/2=65'] Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 44, 30, 2], Operations: [] Exploring Operation: 44-30=14, Resulting Numbers: [86, 2, 14] Generated Node #0,0: 95:[86, 2, 14] Operation: 44-30=14 Moving to Node #0,0 Current State: 95:[86, 2, 14], Operations: ['44-30=14'] Exploring Operation: 86+14=100, Resulting Numbers: [2, 100] Generated Node #0,0,0: 95:[2, 100] Operation: 86+14=100 Moving to Node #0,0,0 Current State: 95:[2, 100], Operations: ['44-30=14', '86+14=100'] Exploring Operation: 100-2=98, Resulting Numbers: [98] 98,95 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 49, 46, 17 ]
39
[ "49+46=95", "95-17=78", "78/2=39" ]
Current State: 39:[2, 49, 46, 17], Operations: [] Exploring Operation: 49+46=95, Resulting Numbers: [2, 17, 95] Generated Node #2: [2, 17, 95] from Operation: 49+46=95 Current State: 39:[2, 17, 95], Operations: ['49+46=95'] Exploring Operation: 95-17=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 95-17=78 Current State: 39:[2, 78], Operations: ['49+46=95', '95-17=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[2, 49, 46, 17], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [2, 17, 3] Generated Node #0,0: 39:[2, 17, 3] Operation: 49-46=3 Moving to Node #0,0 Current State: 39:[2, 17, 3], Operations: ['49-46=3'] Exploring Operation: 17-2=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 39:[3, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 15], Operations: ['49-46=3', '17-2=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,39 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
[ 5, 78, 39, 50 ]
29
[ "50/5=10", "78-39=39", "39-10=29" ]
Current State: 29:[5, 78, 39, 50], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [78, 39, 10] Generated Node #2: [78, 39, 10] from Operation: 50/5=10 Current State: 29:[78, 39, 10], Operations: ['50/5=10'] Exploring Operation: 78-39=39, Resulting Numbers: [10, 39] Generated Node #3: [10, 39] from Operation: 78-39=39 Current State: 29:[10, 39], Operations: ['50/5=10', '78-39=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[5, 78, 39, 50], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [5, 39, 28] Generated Node #0,0: 29:[5, 39, 28] Operation: 78-50=28 Exploring Operation: 78/39=2, Resulting Numbers: [5, 50, 2] Generated Node #0,1: 29:[5, 50, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [5, 50, 39] Generated Node #0,2: 29:[5, 50, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[5, 39, 28], Operations: ['78-50=28'] Exploring Operation: 5+28=33, Resulting Numbers: [39, 33] Generated Node #0,0,0: 29:[39, 33] Operation: 5+28=33 Exploring Operation: 5+39=44, Resulting Numbers: [28, 44] Generated Node #0,0,1: 29:[28, 44] Operation: 5+39=44 Exploring Operation: 39-5=34, Resulting Numbers: [28, 34] Generated Node #0,0,2: 29:[28, 34] Operation: 39-5=34 Moving to Node #0,0,2 Current State: 29:[28, 34], Operations: ['78-50=28', '39-5=34'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,29 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[39, 33], Operations: ['78-50=28', '5+28=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[28, 44], Operations: ['78-50=28', '5+39=44'] Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,29 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[5, 50, 39], Operations: ['78-39=39'] Exploring Operation: 39-5=34, Resulting Numbers: [50, 34] Generated Node #0,2,0: 29:[50, 34] Operation: 39-5=34 Exploring Operation: 50-5=45, Resulting Numbers: [39, 45] Generated Node #0,2,1: 29:[39, 45] Operation: 50-5=45 Exploring Operation: 50/5=10, Resulting Numbers: [39, 10] Generated Node #0,2,2: 29:[39, 10] Operation: 50/5=10 Moving to Node #0,2,0 Current State: 29:[50, 34], Operations: ['78-39=39', '39-5=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[39, 45], Operations: ['78-39=39', '50-5=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[39, 10], Operations: ['78-39=39', '50/5=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,29 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[5, 78, 39, 50], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [5, 50, 39] Generated Node #0,2: 29:[5, 50, 39] Operation: 78-39=39 Moving to Node #0,2 Current State: 29:[5, 50, 39], Operations: ['78-39=39'] Exploring Operation: 50/5=10, Resulting Numbers: [39, 10] Generated Node #0,2,2: 29:[39, 10] Operation: 50/5=10 Moving to Node #0,2,2 Current State: 29:[39, 10], Operations: ['78-39=39', '50/5=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 83, 49, 3, 13 ]
81
[ "83+13=96", "96/3=32", "49+32=81" ]
Current State: 81:[83, 49, 3, 13], Operations: [] Exploring Operation: 83+13=96, Resulting Numbers: [49, 3, 96] Generated Node #2: [49, 3, 96] from Operation: 83+13=96 Current State: 81:[49, 3, 96], Operations: ['83+13=96'] Exploring Operation: 96/3=32, Resulting Numbers: [49, 32] Generated Node #3: [49, 32] from Operation: 96/3=32 Current State: 81:[49, 32], Operations: ['83+13=96', '96/3=32'] Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[83, 49, 3, 13], Operations: [] Exploring Operation: 13-3=10, Resulting Numbers: [83, 49, 10] Generated Node #0,0: 81:[83, 49, 10] Operation: 13-3=10 Exploring Operation: 83-49=34, Resulting Numbers: [3, 13, 34] Generated Node #0,1: 81:[3, 13, 34] Operation: 83-49=34 Exploring Operation: 49+13=62, Resulting Numbers: [83, 3, 62] Generated Node #0,2: 81:[83, 3, 62] Operation: 49+13=62 Exploring Operation: 49-3=46, Resulting Numbers: [83, 13, 46] Generated Node #0,3: 81:[83, 13, 46] Operation: 49-3=46 Exploring Operation: 49-13=36, Resulting Numbers: [83, 3, 36] Generated Node #0,4: 81:[83, 3, 36] Operation: 49-13=36 Moving to Node #0,1 Current State: 81:[3, 13, 34], Operations: ['83-49=34'] Exploring Operation: 34-3=31, Resulting Numbers: [13, 31] Generated Node #0,1,0: 81:[13, 31] Operation: 34-3=31 Exploring Operation: 3+34=37, Resulting Numbers: [13, 37] Generated Node #0,1,1: 81:[13, 37] Operation: 3+34=37 Exploring Operation: 13-3=10, Resulting Numbers: [34, 10] Generated Node #0,1,2: 81:[34, 10] Operation: 13-3=10 Exploring Operation: 3+13=16, Resulting Numbers: [34, 16] Generated Node #0,1,3: 81:[34, 16] Operation: 3+13=16 Exploring Operation: 34-13=21, Resulting Numbers: [3, 21] Generated Node #0,1,4: 81:[3, 21] Operation: 34-13=21 Moving to Node #0,4 Current State: 81:[83, 3, 36], Operations: ['49-13=36'] Exploring Operation: 36-3=33, Resulting Numbers: [83, 33] Generated Node #0,4,0: 81:[83, 33] Operation: 36-3=33 Exploring Operation: 83-3=80, Resulting Numbers: [36, 80] Generated Node #0,4,1: 81:[36, 80] Operation: 83-3=80 Exploring Operation: 83+3=86, Resulting Numbers: [36, 86] Generated Node #0,4,2: 81:[36, 86] Operation: 83+3=86 Exploring Operation: 36/3=12, Resulting Numbers: [83, 12] Generated Node #0,4,3: 81:[83, 12] Operation: 36/3=12 Exploring Operation: 3+36=39, Resulting Numbers: [83, 39] Generated Node #0,4,4: 81:[83, 39] Operation: 3+36=39 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 81:[83, 12], Operations: ['49-13=36', '36/3=12'] Exploring Operation: 83*12=996, Resulting Numbers: [996] 996,81 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,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,0 Current State: 81:[83, 33], Operations: ['49-13=36', '36-3=33'] Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,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,1 Current State: 81:[36, 80], Operations: ['49-13=36', '83-3=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,81 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,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,2 Current State: 81:[36, 86], Operations: ['49-13=36', '83+3=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,81 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,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,4 Current State: 81:[83, 39], Operations: ['49-13=36', '3+36=39'] Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 81:[83, 3, 62], Operations: ['49+13=62'] Exploring Operation: 83+3=86, Resulting Numbers: [62, 86] Generated Node #0,2,0: 81:[62, 86] Operation: 83+3=86 Exploring Operation: 62-3=59, Resulting Numbers: [83, 59] Generated Node #0,2,1: 81:[83, 59] Operation: 62-3=59 Exploring Operation: 83-3=80, Resulting Numbers: [62, 80] Generated Node #0,2,2: 81:[62, 80] Operation: 83-3=80 Exploring Operation: 83-62=21, Resulting Numbers: [3, 21] Generated Node #0,2,3: 81:[3, 21] Operation: 83-62=21 Exploring Operation: 3+62=65, Resulting Numbers: [83, 65] Generated Node #0,2,4: 81:[83, 65] Operation: 3+62=65 Moving to Node #0,0 Current State: 81:[83, 49, 10], Operations: ['13-3=10'] Exploring Operation: 83-10=73, Resulting Numbers: [49, 73] Generated Node #0,0,0: 81:[49, 73] Operation: 83-10=73 Exploring Operation: 49-10=39, Resulting Numbers: [83, 39] Generated Node #0,0,1: 81:[83, 39] Operation: 49-10=39 Exploring Operation: 83-49=34, Resulting Numbers: [10, 34] Generated Node #0,0,2: 81:[10, 34] Operation: 83-49=34 Exploring Operation: 83+10=93, Resulting Numbers: [49, 93] Generated Node #0,0,3: 81:[49, 93] Operation: 83+10=93 Exploring Operation: 49+10=59, Resulting Numbers: [83, 59] Generated Node #0,0,4: 81:[83, 59] Operation: 49+10=59 Moving to Node #0,3 Current State: 81:[83, 13, 46], Operations: ['49-3=46'] Exploring Operation: 83+13=96, Resulting Numbers: [46, 96] Generated Node #0,3,0: 81:[46, 96] Operation: 83+13=96 Exploring Operation: 46-13=33, Resulting Numbers: [83, 33] Generated Node #0,3,1: 81:[83, 33] Operation: 46-13=33 Exploring Operation: 83-46=37, Resulting Numbers: [13, 37] Generated Node #0,3,2: 81:[13, 37] Operation: 83-46=37 Exploring Operation: 13+46=59, Resulting Numbers: [83, 59] Generated Node #0,3,3: 81:[83, 59] Operation: 13+46=59 Exploring Operation: 83-13=70, Resulting Numbers: [46, 70] Generated Node #0,3,4: 81:[46, 70] Operation: 83-13=70 Moving to Node #0,1,4 Current State: 81:[3, 21], Operations: ['83-49=34', '34-13=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[3, 21], Operations: ['49+13=62', '83-62=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,81 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[34, 10], Operations: ['83-49=34', '13-3=10'] Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[13, 31], Operations: ['83-49=34', '34-3=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,81 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[10, 34], Operations: ['13-3=10', '83-49=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[83, 33], Operations: ['49-3=46', '46-13=33'] Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,81 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[83, 39], Operations: ['13-3=10', '49-10=39'] Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,81 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[34, 16], Operations: ['83-49=34', '3+13=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,81 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[13, 37], Operations: ['83-49=34', '3+34=37'] Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,81 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[13, 37], Operations: ['49-3=46', '83-46=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[83, 65], Operations: ['49+13=62', '3+62=65'] Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 83*65=5395, Resulting Numbers: [5395] 5395,81 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[62, 80], Operations: ['49+13=62', '83-3=80'] Exploring Operation: 62*80=4960, Resulting Numbers: [4960] 4960,81 unequal: No Solution Exploring Operation: 62+80=142, Resulting Numbers: [142] 142,81 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[83, 59], Operations: ['13-3=10', '49+10=59'] Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,81 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[83, 59], Operations: ['49-3=46', '13+46=59'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,81 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[83, 59], Operations: ['49+13=62', '62-3=59'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,81 unequal: No Solution Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[62, 86], Operations: ['49+13=62', '83+3=86'] Exploring Operation: 62+86=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 62*86=5332, Resulting Numbers: [5332] 5332,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[49, 73], Operations: ['13-3=10', '83-10=73'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,81 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[46, 70], Operations: ['49-3=46', '83-13=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,81 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[46, 96], Operations: ['49-3=46', '83+13=96'] Exploring Operation: 46+96=142, Resulting Numbers: [142] 142,81 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 46*96=4416, Resulting Numbers: [4416] 4416,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[49, 93], Operations: ['13-3=10', '83+10=93'] Exploring Operation: 49+93=142, Resulting Numbers: [142] 142,81 unequal: No Solution Exploring Operation: 49*93=4557, Resulting Numbers: [4557] 4557,81 unequal: No Solution Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,81 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 66, 7, 45, 93 ]
11
[ "66-7=59", "93-45=48", "59-48=11" ]
Current State: 11:[66, 7, 45, 93], Operations: [] Exploring Operation: 66-7=59, Resulting Numbers: [45, 93, 59] Generated Node #2: [45, 93, 59] from Operation: 66-7=59 Current State: 11:[45, 93, 59], Operations: ['66-7=59'] Exploring Operation: 93-45=48, Resulting Numbers: [59, 48] Generated Node #3: [59, 48] from Operation: 93-45=48 Current State: 11:[59, 48], Operations: ['66-7=59', '93-45=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[66, 7, 45, 93], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [7, 93, 21] Generated Node #0,0: 11:[7, 93, 21] Operation: 66-45=21 Exploring Operation: 93-66=27, Resulting Numbers: [7, 45, 27] Generated Node #0,1: 11:[7, 45, 27] Operation: 93-66=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[7, 45, 27], Operations: ['93-66=27'] Exploring Operation: 45-7=38, Resulting Numbers: [27, 38] Generated Node #0,1,0: 11:[27, 38] Operation: 45-7=38 Exploring Operation: 45-27=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 11:[7, 18] Operation: 45-27=18 Moving to Node #0,1,1 Current State: 11:[7, 18], Operations: ['93-66=27', '45-27=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[66, 7, 45, 93], Operations: [] Exploring Operation: 93-66=27, Resulting Numbers: [7, 45, 27] Generated Node #0,1: 11:[7, 45, 27] Operation: 93-66=27 Moving to Node #0,1 Current State: 11:[7, 45, 27], Operations: ['93-66=27'] Exploring Operation: 45-27=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 11:[7, 18] Operation: 45-27=18 Moving to Node #0,1,1 Current State: 11:[7, 18], Operations: ['93-66=27', '45-27=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 4, 87, 15, 53 ]
26
[ "4*15=60", "87-53=34", "60-34=26" ]
Current State: 26:[4, 87, 15, 53], Operations: [] Exploring Operation: 4*15=60, Resulting Numbers: [87, 53, 60] Generated Node #2: [87, 53, 60] from Operation: 4*15=60 Current State: 26:[87, 53, 60], Operations: ['4*15=60'] Exploring Operation: 87-53=34, Resulting Numbers: [60, 34] Generated Node #3: [60, 34] from Operation: 87-53=34 Current State: 26:[60, 34], Operations: ['4*15=60', '87-53=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 87, 15, 53], Operations: [] Exploring Operation: 53-15=38, Resulting Numbers: [4, 87, 38] Generated Node #0,0: 26:[4, 87, 38] Operation: 53-15=38 Exploring Operation: 87-53=34, Resulting Numbers: [4, 15, 34] Generated Node #0,1: 26:[4, 15, 34] Operation: 87-53=34 Exploring Operation: 87-15=72, Resulting Numbers: [4, 53, 72] Generated Node #0,2: 26:[4, 53, 72] Operation: 87-15=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[4, 15, 34], Operations: ['87-53=34'] Exploring Operation: 15-4=11, Resulting Numbers: [34, 11] Generated Node #0,1,0: 26:[34, 11] Operation: 15-4=11 Exploring Operation: 34-15=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 26:[4, 19] Operation: 34-15=19 Exploring Operation: 34-4=30, Resulting Numbers: [15, 30] Generated Node #0,1,2: 26:[15, 30] Operation: 34-4=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[15, 30], Operations: ['87-53=34', '34-4=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[4, 19], Operations: ['87-53=34', '34-15=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[34, 11], Operations: ['87-53=34', '15-4=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[4, 87, 38], Operations: ['53-15=38'] Exploring Operation: 38-4=34, Resulting Numbers: [87, 34] Generated Node #0,0,0: 26:[87, 34] Operation: 38-4=34 Exploring Operation: 87-4=83, Resulting Numbers: [38, 83] Generated Node #0,0,1: 26:[38, 83] Operation: 87-4=83 Exploring Operation: 87-38=49, Resulting Numbers: [4, 49] Generated Node #0,0,2: 26:[4, 49] Operation: 87-38=49 Moving to Node #0,0,2 Current State: 26:[4, 49], Operations: ['53-15=38', '87-38=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[87, 34], Operations: ['53-15=38', '38-4=34'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,26 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[38, 83], Operations: ['53-15=38', '87-4=83'] Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,26 unequal: No Solution Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,26 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[4, 53, 72], Operations: ['87-15=72'] Exploring Operation: 72/4=18, Resulting Numbers: [53, 18] Generated Node #0,2,0: 26:[53, 18] Operation: 72/4=18 Exploring Operation: 53-4=49, Resulting Numbers: [72, 49] Generated Node #0,2,1: 26:[72, 49] Operation: 53-4=49 Exploring Operation: 72-53=19, Resulting Numbers: [4, 19] Generated Node #0,2,2: 26:[4, 19] Operation: 72-53=19 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 26:[4, 19], Operations: ['87-15=72', '72-53=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[53, 18], Operations: ['87-15=72', '72/4=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,26 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[72, 49], Operations: ['87-15=72', '53-4=49'] Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,26 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,26 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 52, 21, 4, 24 ]
23
[ "52+21=73", "4*24=96", "96-73=23" ]
Current State: 23:[52, 21, 4, 24], Operations: [] Exploring Operation: 52+21=73, Resulting Numbers: [4, 24, 73] Generated Node #2: [4, 24, 73] from Operation: 52+21=73 Current State: 23:[4, 24, 73], Operations: ['52+21=73'] Exploring Operation: 4*24=96, Resulting Numbers: [73, 96] Generated Node #3: [73, 96] from Operation: 4*24=96 Current State: 23:[73, 96], Operations: ['52+21=73', '4*24=96'] Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[52, 21, 4, 24], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [21, 24, 13] Generated Node #0,0: 23:[21, 24, 13] Operation: 52/4=13 Moving to Node #0,0 Current State: 23:[21, 24, 13], Operations: ['52/4=13'] Exploring Operation: 21+13=34, Resulting Numbers: [24, 34] Generated Node #0,0,0: 23:[24, 34] Operation: 21+13=34 Moving to Node #0,0,0 Current State: 23:[24, 34], Operations: ['52/4=13', '21+13=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 57, 69, 1 ]
70
[ "59-57=2", "69-1=68", "2+68=70" ]
Current State: 70:[59, 57, 69, 1], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [69, 1, 2] Generated Node #2: [69, 1, 2] from Operation: 59-57=2 Current State: 70:[69, 1, 2], Operations: ['59-57=2'] Exploring Operation: 69-1=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 69-1=68 Current State: 70:[2, 68], Operations: ['59-57=2', '69-1=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[59, 57, 69, 1], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [57, 1, 10] Generated Node #0,0: 70:[57, 1, 10] Operation: 69-59=10 Exploring Operation: 59-57=2, Resulting Numbers: [69, 1, 2] Generated Node #0,1: 70:[69, 1, 2] Operation: 59-57=2 Moving to Node #0,1 Current State: 70:[69, 1, 2], Operations: ['59-57=2'] Exploring Operation: 69*1=69, Resulting Numbers: [2, 69] Generated Node #0,1,0: 70:[2, 69] Operation: 69*1=69 Exploring Operation: 69+1=70, Resulting Numbers: [2, 70] Generated Node #0,1,1: 70:[2, 70] Operation: 69+1=70 Moving to Node #0,0 Current State: 70:[57, 1, 10], Operations: ['69-59=10'] Exploring Operation: 57+10=67, Resulting Numbers: [1, 67] Generated Node #0,0,0: 70:[1, 67] Operation: 57+10=67 Exploring Operation: 57+1=58, Resulting Numbers: [10, 58] Generated Node #0,0,1: 70:[10, 58] Operation: 57+1=58 Moving to Node #0,1,1 Current State: 70:[2, 70], Operations: ['59-57=2', '69+1=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[2, 69], Operations: ['59-57=2', '69*1=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[1, 67], Operations: ['69-59=10', '57+10=67'] Exploring Operation: 1*67=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 1+67=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[10, 58], Operations: ['69-59=10', '57+1=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 44, 21, 70, 72 ]
43
[ "72-70=2", "44/2=22", "21+22=43" ]
Current State: 43:[44, 21, 70, 72], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [44, 21, 2] Generated Node #2: [44, 21, 2] from Operation: 72-70=2 Current State: 43:[44, 21, 2], Operations: ['72-70=2'] Exploring Operation: 44/2=22, Resulting Numbers: [21, 22] Generated Node #3: [21, 22] from Operation: 44/2=22 Current State: 43:[21, 22], Operations: ['72-70=2', '44/2=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[44, 21, 70, 72], Operations: [] Exploring Operation: 72-21=51, Resulting Numbers: [44, 70, 51] Generated Node #0,0: 43:[44, 70, 51] Operation: 72-21=51 Exploring Operation: 70-21=49, Resulting Numbers: [44, 72, 49] Generated Node #0,1: 43:[44, 72, 49] Operation: 70-21=49 Moving to Node #0,0 Current State: 43:[44, 70, 51], Operations: ['72-21=51'] Exploring Operation: 70-44=26, Resulting Numbers: [51, 26] Generated Node #0,0,0: 43:[51, 26] Operation: 70-44=26 Exploring Operation: 70-51=19, Resulting Numbers: [44, 19] Generated Node #0,0,1: 43:[44, 19] Operation: 70-51=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[51, 26], Operations: ['72-21=51', '70-44=26'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[44, 19], Operations: ['72-21=51', '70-51=19'] Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,43 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,43 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: 43:[44, 72, 49], Operations: ['70-21=49'] Exploring Operation: 72-44=28, Resulting Numbers: [49, 28] Generated Node #0,1,0: 43:[49, 28] Operation: 72-44=28 Exploring Operation: 72-49=23, Resulting Numbers: [44, 23] Generated Node #0,1,1: 43:[44, 23] Operation: 72-49=23 Moving to Node #0,1,0 Current State: 43:[49, 28], Operations: ['70-21=49', '72-44=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,43 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[44, 23], Operations: ['70-21=49', '72-49=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 55, 58, 23 ]
50
[ "55-23=32", "32/4=8", "58-8=50" ]
Current State: 50:[4, 55, 58, 23], Operations: [] Exploring Operation: 55-23=32, Resulting Numbers: [4, 58, 32] Generated Node #2: [4, 58, 32] from Operation: 55-23=32 Current State: 50:[4, 58, 32], Operations: ['55-23=32'] Exploring Operation: 32/4=8, Resulting Numbers: [58, 8] Generated Node #3: [58, 8] from Operation: 32/4=8 Current State: 50:[58, 8], Operations: ['55-23=32', '32/4=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[4, 55, 58, 23], Operations: [] Exploring Operation: 4+23=27, Resulting Numbers: [55, 58, 27] Generated Node #0,0: 50:[55, 58, 27] Operation: 4+23=27 Exploring Operation: 58-55=3, Resulting Numbers: [4, 23, 3] Generated Node #0,1: 50:[4, 23, 3] Operation: 58-55=3 Exploring Operation: 58-4=54, Resulting Numbers: [55, 23, 54] Generated Node #0,2: 50:[55, 23, 54] Operation: 58-4=54 Exploring Operation: 55-23=32, Resulting Numbers: [4, 58, 32] Generated Node #0,3: 50:[4, 58, 32] Operation: 55-23=32 Exploring Operation: 55-4=51, Resulting Numbers: [58, 23, 51] Generated Node #0,4: 50:[58, 23, 51] Operation: 55-4=51 Moving to Node #0,1 Current State: 50:[4, 23, 3], Operations: ['58-55=3'] Exploring Operation: 4-3=1, Resulting Numbers: [23, 1] Generated Node #0,1,0: 50:[23, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [23, 7] Generated Node #0,1,1: 50:[23, 7] Operation: 4+3=7 Exploring Operation: 23+3=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 50:[4, 26] Operation: 23+3=26 Exploring Operation: 4*3=12, Resulting Numbers: [23, 12] Generated Node #0,1,3: 50:[23, 12] Operation: 4*3=12 Exploring Operation: 4+23=27, Resulting Numbers: [3, 27] Generated Node #0,1,4: 50:[3, 27] Operation: 4+23=27 Moving to Node #0,4 Current State: 50:[58, 23, 51], Operations: ['55-4=51'] Exploring Operation: 58+23=81, Resulting Numbers: [51, 81] Generated Node #0,4,0: 50:[51, 81] Operation: 58+23=81 Exploring Operation: 58-51=7, Resulting Numbers: [23, 7] Generated Node #0,4,1: 50:[23, 7] Operation: 58-51=7 Exploring Operation: 58-23=35, Resulting Numbers: [51, 35] Generated Node #0,4,2: 50:[51, 35] Operation: 58-23=35 Exploring Operation: 51-23=28, Resulting Numbers: [58, 28] Generated Node #0,4,3: 50:[58, 28] Operation: 51-23=28 Exploring Operation: 23+51=74, Resulting Numbers: [58, 74] Generated Node #0,4,4: 50:[58, 74] Operation: 23+51=74 Moving to Node #0,2 Current State: 50:[55, 23, 54], Operations: ['58-4=54'] Exploring Operation: 55-54=1, Resulting Numbers: [23, 1] Generated Node #0,2,0: 50:[23, 1] Operation: 55-54=1 Exploring Operation: 55-23=32, Resulting Numbers: [54, 32] Generated Node #0,2,1: 50:[54, 32] Operation: 55-23=32 Exploring Operation: 55+23=78, Resulting Numbers: [54, 78] Generated Node #0,2,2: 50:[54, 78] Operation: 55+23=78 Exploring Operation: 23+54=77, Resulting Numbers: [55, 77] Generated Node #0,2,3: 50:[55, 77] Operation: 23+54=77 Exploring Operation: 54-23=31, Resulting Numbers: [55, 31] Generated Node #0,2,4: 50:[55, 31] Operation: 54-23=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[23, 1], Operations: ['58-4=54', '55-54=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[54, 32], Operations: ['58-4=54', '55-23=32'] Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,50 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 50:[55, 31], Operations: ['58-4=54', '54-23=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,50 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[54, 78], Operations: ['58-4=54', '55+23=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,50 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[55, 77], Operations: ['58-4=54', '23+54=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,50 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,50 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: 50:[55, 58, 27], Operations: ['4+23=27'] Exploring Operation: 55-27=28, Resulting Numbers: [58, 28] Generated Node #0,0,0: 50:[58, 28] Operation: 55-27=28 Exploring Operation: 58+27=85, Resulting Numbers: [55, 85] Generated Node #0,0,1: 50:[55, 85] Operation: 58+27=85 Exploring Operation: 58-55=3, Resulting Numbers: [27, 3] Generated Node #0,0,2: 50:[27, 3] Operation: 58-55=3 Exploring Operation: 55+27=82, Resulting Numbers: [58, 82] Generated Node #0,0,3: 50:[58, 82] Operation: 55+27=82 Exploring Operation: 58-27=31, Resulting Numbers: [55, 31] Generated Node #0,0,4: 50:[55, 31] Operation: 58-27=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[27, 3], Operations: ['4+23=27', '58-55=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,50 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[58, 28], Operations: ['4+23=27', '55-27=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[55, 31], Operations: ['4+23=27', '58-27=31'] Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,50 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,50 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[55, 85], Operations: ['4+23=27', '58+27=85'] Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,50 unequal: No Solution Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[58, 82], Operations: ['4+23=27', '55+27=82'] Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,50 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,50 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[4, 58, 32], Operations: ['55-23=32'] Exploring Operation: 58-32=26, Resulting Numbers: [4, 26] Generated Node #0,3,0: 50:[4, 26] Operation: 58-32=26 Exploring Operation: 32/4=8, Resulting Numbers: [58, 8] Generated Node #0,3,1: 50:[58, 8] Operation: 32/4=8 Exploring Operation: 58-4=54, Resulting Numbers: [32, 54] Generated Node #0,3,2: 50:[32, 54] Operation: 58-4=54 Exploring Operation: 4+58=62, Resulting Numbers: [32, 62] Generated Node #0,3,3: 50:[32, 62] Operation: 4+58=62 Exploring Operation: 32-4=28, Resulting Numbers: [58, 28] Generated Node #0,3,4: 50:[58, 28] Operation: 32-4=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 50:[4, 26], Operations: ['55-23=32', '58-32=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[58, 8], Operations: ['55-23=32', '32/4=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,50 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[4, 55, 58, 23], Operations: [] Exploring Operation: 55-23=32, Resulting Numbers: [4, 58, 32] Generated Node #0,3: 50:[4, 58, 32] Operation: 55-23=32 Moving to Node #0,3 Current State: 50:[4, 58, 32], Operations: ['55-23=32'] Exploring Operation: 32/4=8, Resulting Numbers: [58, 8] Generated Node #0,3,1: 50:[58, 8] Operation: 32/4=8 Moving to Node #0,3,1 Current State: 50:[58, 8], Operations: ['55-23=32', '32/4=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_5
mult_heuristic
[ 83, 56, 25, 78 ]
61
[ "83-78=5", "25/5=5", "56+5=61" ]
Current State: 61:[83, 56, 25, 78], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [56, 25, 5] Generated Node #2: [56, 25, 5] from Operation: 83-78=5 Current State: 61:[56, 25, 5], Operations: ['83-78=5'] Exploring Operation: 25/5=5, Resulting Numbers: [56, 5] Generated Node #3: [56, 5] from Operation: 25/5=5 Current State: 61:[56, 5], Operations: ['83-78=5', '25/5=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[83, 56, 25, 78], Operations: [] Exploring Operation: 83+25=108, Resulting Numbers: [56, 78, 108] Generated Node #0,0: 61:[56, 78, 108] Operation: 83+25=108 Exploring Operation: 83-25=58, Resulting Numbers: [56, 78, 58] Generated Node #0,1: 61:[56, 78, 58] Operation: 83-25=58 Exploring Operation: 78-25=53, Resulting Numbers: [83, 56, 53] Generated Node #0,2: 61:[83, 56, 53] Operation: 78-25=53 Exploring Operation: 56+25=81, Resulting Numbers: [83, 78, 81] Generated Node #0,3: 61:[83, 78, 81] Operation: 56+25=81 Moving to Node #0,1 Current State: 61:[56, 78, 58], Operations: ['83-25=58'] Exploring Operation: 78-58=20, Resulting Numbers: [56, 20] Generated Node #0,1,0: 61:[56, 20] Operation: 78-58=20 Exploring Operation: 78-56=22, Resulting Numbers: [58, 22] Generated Node #0,1,1: 61:[58, 22] Operation: 78-56=22 Exploring Operation: 56+58=114, Resulting Numbers: [78, 114] Generated Node #0,1,2: 61:[78, 114] Operation: 56+58=114 Exploring Operation: 56+78=134, Resulting Numbers: [58, 134] Generated Node #0,1,3: 61:[58, 134] Operation: 56+78=134 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[58, 22], Operations: ['83-25=58', '78-56=22'] Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,61 unequal: No Solution Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[56, 20], Operations: ['83-25=58', '78-58=20'] Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,61 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[78, 114], Operations: ['83-25=58', '56+58=114'] Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[58, 134], Operations: ['83-25=58', '56+78=134'] Exploring Operation: 58*134=7772, Resulting Numbers: [7772] 7772,61 unequal: No Solution Exploring Operation: 134-58=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 58+134=192, Resulting Numbers: [192] 192,61 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: 61:[83, 56, 53], Operations: ['78-25=53'] Exploring Operation: 83+53=136, Resulting Numbers: [56, 136] Generated Node #0,2,0: 61:[56, 136] Operation: 83+53=136 Exploring Operation: 83-53=30, Resulting Numbers: [56, 30] Generated Node #0,2,1: 61:[56, 30] Operation: 83-53=30 Exploring Operation: 83-56=27, Resulting Numbers: [53, 27] Generated Node #0,2,2: 61:[53, 27] Operation: 83-56=27 Exploring Operation: 56+53=109, Resulting Numbers: [83, 109] Generated Node #0,2,3: 61:[83, 109] Operation: 56+53=109 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[56, 30], Operations: ['78-25=53', '83-53=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[53, 27], Operations: ['78-25=53', '83-56=27'] Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,61 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[83, 109], Operations: ['78-25=53', '56+53=109'] Exploring Operation: 83+109=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 83*109=9047, Resulting Numbers: [9047] 9047,61 unequal: No Solution Exploring Operation: 109-83=26, Resulting Numbers: [26] 26,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[56, 136], Operations: ['78-25=53', '83+53=136'] Exploring Operation: 136-56=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 56+136=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 56*136=7616, Resulting Numbers: [7616] 7616,61 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: 61:[83, 78, 81], Operations: ['56+25=81'] Exploring Operation: 81-78=3, Resulting Numbers: [83, 3] Generated Node #0,3,0: 61:[83, 3] Operation: 81-78=3 Exploring Operation: 83-81=2, Resulting Numbers: [78, 2] Generated Node #0,3,1: 61:[78, 2] Operation: 83-81=2 Exploring Operation: 83+78=161, Resulting Numbers: [81, 161] Generated Node #0,3,2: 61:[81, 161] Operation: 83+78=161 Exploring Operation: 83-78=5, Resulting Numbers: [81, 5] Generated Node #0,3,3: 61:[81, 5] Operation: 83-78=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[78, 2], Operations: ['56+25=81', '83-81=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,61 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[81, 5], Operations: ['56+25=81', '83-78=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,61 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[83, 3], Operations: ['56+25=81', '81-78=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,61 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[81, 161], Operations: ['56+25=81', '83+78=161'] Exploring Operation: 81+161=242, Resulting Numbers: [242] 242,61 unequal: No Solution Exploring Operation: 81*161=13041, Resulting Numbers: [13041] 13041,61 unequal: No Solution Exploring Operation: 161-81=80, Resulting Numbers: [80] 80,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[56, 78, 108], Operations: ['83+25=108'] Exploring Operation: 108-78=30, Resulting Numbers: [56, 30] Generated Node #0,0,0: 61:[56, 30] Operation: 108-78=30 Exploring Operation: 108-56=52, Resulting Numbers: [78, 52] Generated Node #0,0,1: 61:[78, 52] Operation: 108-56=52 Exploring Operation: 78-56=22, Resulting Numbers: [108, 22] Generated Node #0,0,2: 61:[108, 22] Operation: 78-56=22 Exploring Operation: 56+78=134, Resulting Numbers: [108, 134] Generated Node #0,0,3: 61:[108, 134] Operation: 56+78=134 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[78, 52], Operations: ['83+25=108', '108-56=52'] Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,61 unequal: No Solution Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[56, 30], Operations: ['83+25=108', '108-78=30'] Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[108, 22], Operations: ['83+25=108', '78-56=22'] Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 108*22=2376, Resulting Numbers: [2376] 2376,61 unequal: No Solution Exploring Operation: 108+22=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[108, 134], Operations: ['83+25=108', '56+78=134'] Exploring Operation: 108*134=14472, Resulting Numbers: [14472] 14472,61 unequal: No Solution Exploring Operation: 134-108=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 108+134=242, Resulting Numbers: [242] 242,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 15, 31, 50, 25 ]
25
[ "15*50=750", "31*25=775", "775-750=25" ]
Current State: 25:[15, 31, 50, 25], Operations: [] Exploring Operation: 15*50=750, Resulting Numbers: [31, 25, 750] Generated Node #2: [31, 25, 750] from Operation: 15*50=750 Current State: 25:[31, 25, 750], Operations: ['15*50=750'] Exploring Operation: 31*25=775, Resulting Numbers: [750, 775] Generated Node #3: [750, 775] from Operation: 31*25=775 Current State: 25:[750, 775], Operations: ['15*50=750', '31*25=775'] Exploring Operation: 775-750=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[15, 31, 50, 25], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [15, 25, 19] Generated Node #0,0: 25:[15, 25, 19] Operation: 50-31=19 Exploring Operation: 50-15=35, Resulting Numbers: [31, 25, 35] Generated Node #0,1: 25:[31, 25, 35] Operation: 50-15=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[15, 25, 19], Operations: ['50-31=19'] Exploring Operation: 15+19=34, Resulting Numbers: [25, 34] Generated Node #0,0,0: 25:[25, 34] Operation: 15+19=34 Exploring Operation: 19-15=4, Resulting Numbers: [25, 4] Generated Node #0,0,1: 25:[25, 4] Operation: 19-15=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[25, 4], Operations: ['50-31=19', '19-15=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,25 unequal: No Solution No 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: 25:[25, 34], Operations: ['50-31=19', '15+19=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,25 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: 25:[31, 25, 35], Operations: ['50-15=35'] Exploring Operation: 31-25=6, Resulting Numbers: [35, 6] Generated Node #0,1,0: 25:[35, 6] Operation: 31-25=6 Exploring Operation: 35-31=4, Resulting Numbers: [25, 4] Generated Node #0,1,1: 25:[25, 4] Operation: 35-31=4 Moving to Node #0,1,1 Current State: 25:[25, 4], Operations: ['50-15=35', '35-31=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[35, 6], Operations: ['50-15=35', '31-25=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,25 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
[ 31, 7, 19, 35 ]
33
[ "31+7=38", "38/19=2", "35-2=33" ]
Current State: 33:[31, 7, 19, 35], Operations: [] Exploring Operation: 31+7=38, Resulting Numbers: [19, 35, 38] Generated Node #2: [19, 35, 38] from Operation: 31+7=38 Current State: 33:[19, 35, 38], Operations: ['31+7=38'] Exploring Operation: 38/19=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 38/19=2 Current State: 33:[35, 2], Operations: ['31+7=38', '38/19=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[31, 7, 19, 35], Operations: [] Exploring Operation: 19-7=12, Resulting Numbers: [31, 35, 12] Generated Node #0,0: 33:[31, 35, 12] Operation: 19-7=12 Moving to Node #0,0 Current State: 33:[31, 35, 12], Operations: ['19-7=12'] Exploring Operation: 35-31=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 33:[12, 4] Operation: 35-31=4 Moving to Node #0,0,0 Current State: 33:[12, 4], Operations: ['19-7=12', '35-31=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 23, 22, 24, 32 ]
64
[ "22+24=46", "46/23=2", "32*2=64" ]
Current State: 64:[23, 22, 24, 32], Operations: [] Exploring Operation: 22+24=46, Resulting Numbers: [23, 32, 46] Generated Node #2: [23, 32, 46] from Operation: 22+24=46 Current State: 64:[23, 32, 46], Operations: ['22+24=46'] Exploring Operation: 46/23=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 46/23=2 Current State: 64:[32, 2], Operations: ['22+24=46', '46/23=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[23, 22, 24, 32], Operations: [] Exploring Operation: 23-22=1, Resulting Numbers: [24, 32, 1] Generated Node #0,0: 64:[24, 32, 1] Operation: 23-22=1 Exploring Operation: 32-24=8, Resulting Numbers: [23, 22, 8] Generated Node #0,1: 64:[23, 22, 8] Operation: 32-24=8 Exploring Operation: 24-22=2, Resulting Numbers: [23, 32, 2] Generated Node #0,2: 64:[23, 32, 2] Operation: 24-22=2 Exploring Operation: 32-23=9, Resulting Numbers: [22, 24, 9] Generated Node #0,3: 64:[22, 24, 9] Operation: 32-23=9 Exploring Operation: 24-23=1, Resulting Numbers: [22, 32, 1] Generated Node #0,4: 64:[22, 32, 1] Operation: 24-23=1 Moving to Node #0,2 Current State: 64:[23, 32, 2], Operations: ['24-22=2'] Exploring Operation: 32/2=16, Resulting Numbers: [23, 16] Generated Node #0,2,0: 64:[23, 16] Operation: 32/2=16 Exploring Operation: 23-2=21, Resulting Numbers: [32, 21] Generated Node #0,2,1: 64:[32, 21] Operation: 23-2=21 Exploring Operation: 32*2=64, Resulting Numbers: [23, 64] Generated Node #0,2,2: 64:[23, 64] Operation: 32*2=64 Exploring Operation: 32-23=9, Resulting Numbers: [2, 9] Generated Node #0,2,3: 64:[2, 9] Operation: 32-23=9 Exploring Operation: 23+2=25, Resulting Numbers: [32, 25] Generated Node #0,2,4: 64:[32, 25] Operation: 23+2=25 Moving to Node #0,4 Current State: 64:[22, 32, 1], Operations: ['24-23=1'] Exploring Operation: 22*1=22, Resulting Numbers: [32, 22] Generated Node #0,4,0: 64:[32, 22] Operation: 22*1=22 Exploring Operation: 32*1=32, Resulting Numbers: [22, 32] Generated Node #0,4,1: 64:[22, 32] Operation: 32*1=32 Exploring Operation: 22-1=21, Resulting Numbers: [32, 21] Generated Node #0,4,2: 64:[32, 21] Operation: 22-1=21 Exploring Operation: 22/1=22, Resulting Numbers: [32, 22] Generated Node #0,4,3: 64:[32, 22] Operation: 22/1=22 Exploring Operation: 32-22=10, Resulting Numbers: [1, 10] Generated Node #0,4,4: 64:[1, 10] Operation: 32-22=10 Moving to Node #0,0 Current State: 64:[24, 32, 1], Operations: ['23-22=1'] Exploring Operation: 24+1=25, Resulting Numbers: [32, 25] Generated Node #0,0,0: 64:[32, 25] Operation: 24+1=25 Exploring Operation: 24*1=24, Resulting Numbers: [32, 24] Generated Node #0,0,1: 64:[32, 24] Operation: 24*1=24 Exploring Operation: 24-1=23, Resulting Numbers: [32, 23] Generated Node #0,0,2: 64:[32, 23] Operation: 24-1=23 Exploring Operation: 24/1=24, Resulting Numbers: [32, 24] Generated Node #0,0,3: 64:[32, 24] Operation: 24/1=24 Exploring Operation: 32-24=8, Resulting Numbers: [1, 8] Generated Node #0,0,4: 64:[1, 8] Operation: 32-24=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[1, 8], Operations: ['23-22=1', '32-24=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[32, 25], Operations: ['23-22=1', '24+1=25'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,64 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[32, 23], Operations: ['23-22=1', '24-1=23'] Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,64 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[32, 24], Operations: ['23-22=1', '24*1=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[32, 24], Operations: ['23-22=1', '24/1=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,64 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: 64:[23, 22, 8], Operations: ['32-24=8'] Exploring Operation: 23-8=15, Resulting Numbers: [22, 15] Generated Node #0,1,0: 64:[22, 15] Operation: 23-8=15 Exploring Operation: 23+8=31, Resulting Numbers: [22, 31] Generated Node #0,1,1: 64:[22, 31] Operation: 23+8=31 Exploring Operation: 22-8=14, Resulting Numbers: [23, 14] Generated Node #0,1,2: 64:[23, 14] Operation: 22-8=14 Exploring Operation: 23-22=1, Resulting Numbers: [8, 1] Generated Node #0,1,3: 64:[8, 1] Operation: 23-22=1 Exploring Operation: 22+8=30, Resulting Numbers: [23, 30] Generated Node #0,1,4: 64:[23, 30] Operation: 22+8=30 Moving to Node #0,3 Current State: 64:[22, 24, 9], Operations: ['32-23=9'] Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,3,0: 64:[9, 2] Operation: 24-22=2 Exploring Operation: 24-9=15, Resulting Numbers: [22, 15] Generated Node #0,3,1: 64:[22, 15] Operation: 24-9=15 Exploring Operation: 22+9=31, Resulting Numbers: [24, 31] Generated Node #0,3,2: 64:[24, 31] Operation: 22+9=31 Exploring Operation: 24+9=33, Resulting Numbers: [22, 33] Generated Node #0,3,3: 64:[22, 33] Operation: 24+9=33 Exploring Operation: 22-9=13, Resulting Numbers: [24, 13] Generated Node #0,3,4: 64:[24, 13] Operation: 22-9=13 Moving to Node #0,2,3 Current State: 64:[2, 9], Operations: ['24-22=2', '32-23=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[8, 1], Operations: ['32-24=8', '23-22=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[9, 2], Operations: ['32-23=9', '24-22=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[1, 10], Operations: ['24-23=1', '32-22=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[32, 21], Operations: ['24-23=1', '22-1=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,64 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[32, 21], Operations: ['24-22=2', '23-2=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,64 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[32, 22], Operations: ['24-23=1', '22/1=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,64 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[22, 32], Operations: ['24-23=1', '32*1=32'] Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,64 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[32, 22], Operations: ['24-23=1', '22*1=22'] Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[23, 16], Operations: ['24-22=2', '32/2=16'] Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,64 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[22, 31], Operations: ['32-24=8', '23+8=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,64 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[22, 15], Operations: ['32-24=8', '23-8=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,64 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[22, 15], Operations: ['32-23=9', '24-9=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,64 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[32, 25], Operations: ['24-22=2', '23+2=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,64 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[23, 64], Operations: ['24-22=2', '32*2=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,64 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[22, 33], Operations: ['32-23=9', '24+9=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[23, 30], Operations: ['32-24=8', '22+8=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,64 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[23, 14], Operations: ['32-24=8', '22-8=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,64 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[24, 31], Operations: ['32-23=9', '22+9=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,64 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[24, 13], Operations: ['32-23=9', '22-9=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,64 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,64 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 45, 97, 89 ]
17
[ "45/5=9", "97-89=8", "9+8=17" ]
Current State: 17:[5, 45, 97, 89], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [97, 89, 9] Generated Node #2: [97, 89, 9] from Operation: 45/5=9 Current State: 17:[97, 89, 9], Operations: ['45/5=9'] Exploring Operation: 97-89=8, Resulting Numbers: [9, 8] Generated Node #3: [9, 8] from Operation: 97-89=8 Current State: 17:[9, 8], Operations: ['45/5=9', '97-89=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[5, 45, 97, 89], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [97, 89, 9] Generated Node #0,0: 17:[97, 89, 9] Operation: 45/5=9 Exploring Operation: 97-89=8, Resulting Numbers: [5, 45, 8] Generated Node #0,1: 17:[5, 45, 8] Operation: 97-89=8 Exploring Operation: 89-45=44, Resulting Numbers: [5, 97, 44] Generated Node #0,2: 17:[5, 97, 44] Operation: 89-45=44 Exploring Operation: 97-45=52, Resulting Numbers: [5, 89, 52] Generated Node #0,3: 17:[5, 89, 52] Operation: 97-45=52 Moving to Node #0,1 Current State: 17:[5, 45, 8], Operations: ['97-89=8'] Exploring Operation: 45/5=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 17:[8, 9] Operation: 45/5=9 Exploring Operation: 45-8=37, Resulting Numbers: [5, 37] Generated Node #0,1,1: 17:[5, 37] Operation: 45-8=37 Exploring Operation: 5+8=13, Resulting Numbers: [45, 13] Generated Node #0,1,2: 17:[45, 13] Operation: 5+8=13 Exploring Operation: 45-5=40, Resulting Numbers: [8, 40] Generated Node #0,1,3: 17:[8, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[8, 9], Operations: ['97-89=8', '45/5=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[5, 45, 97, 89], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [5, 45, 8] Generated Node #0,1: 17:[5, 45, 8] Operation: 97-89=8 Moving to Node #0,1 Current State: 17:[5, 45, 8], Operations: ['97-89=8'] Exploring Operation: 45/5=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 17:[8, 9] Operation: 45/5=9 Moving to Node #0,1,0 Current State: 17:[8, 9], Operations: ['97-89=8', '45/5=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 41, 18, 24, 16 ]
55
[ "24-18=6", "16*6=96", "96-41=55" ]
Current State: 55:[41, 18, 24, 16], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [41, 16, 6] Generated Node #2: [41, 16, 6] from Operation: 24-18=6 Current State: 55:[41, 16, 6], Operations: ['24-18=6'] Exploring Operation: 16*6=96, Resulting Numbers: [41, 96] Generated Node #3: [41, 96] from Operation: 16*6=96 Current State: 55:[41, 96], Operations: ['24-18=6', '16*6=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[41, 18, 24, 16], Operations: [] Exploring Operation: 41+18=59, Resulting Numbers: [24, 16, 59] Generated Node #0,0: 55:[24, 16, 59] Operation: 41+18=59 Exploring Operation: 24-18=6, Resulting Numbers: [41, 16, 6] Generated Node #0,1: 55:[41, 16, 6] Operation: 24-18=6 Exploring Operation: 41-24=17, Resulting Numbers: [18, 16, 17] Generated Node #0,2: 55:[18, 16, 17] Operation: 41-24=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[18, 16, 17], Operations: ['41-24=17'] Exploring Operation: 18-17=1, Resulting Numbers: [16, 1] Generated Node #0,2,0: 55:[16, 1] Operation: 18-17=1 Exploring Operation: 17-16=1, Resulting Numbers: [18, 1] Generated Node #0,2,1: 55:[18, 1] Operation: 17-16=1 Exploring Operation: 18-16=2, Resulting Numbers: [17, 2] Generated Node #0,2,2: 55:[17, 2] Operation: 18-16=2 Moving to Node #0,2,0 Current State: 55:[16, 1], Operations: ['41-24=17', '18-17=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[17, 2], Operations: ['41-24=17', '18-16=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[18, 1], Operations: ['41-24=17', '17-16=1'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,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:[41, 16, 6], Operations: ['24-18=6'] Exploring Operation: 41-16=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 55:[6, 25] Operation: 41-16=25 Exploring Operation: 41+6=47, Resulting Numbers: [16, 47] Generated Node #0,1,1: 55:[16, 47] Operation: 41+6=47 Exploring Operation: 41+16=57, Resulting Numbers: [6, 57] Generated Node #0,1,2: 55:[6, 57] Operation: 41+16=57 Moving to Node #0,1,2 Current State: 55:[6, 57], Operations: ['24-18=6', '41+16=57'] Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,55 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[16, 47], Operations: ['24-18=6', '41+6=47'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[6, 25], Operations: ['24-18=6', '41-16=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[24, 16, 59], Operations: ['41+18=59'] Exploring Operation: 24-16=8, Resulting Numbers: [59, 8] Generated Node #0,0,0: 55:[59, 8] Operation: 24-16=8 Exploring Operation: 59-24=35, Resulting Numbers: [16, 35] Generated Node #0,0,1: 55:[16, 35] Operation: 59-24=35 Exploring Operation: 24+16=40, Resulting Numbers: [59, 40] Generated Node #0,0,2: 55:[59, 40] Operation: 24+16=40 Moving to Node #0,0,0 Current State: 55:[59, 8], Operations: ['41+18=59', '24-16=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,55 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[59, 40], Operations: ['41+18=59', '24+16=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[16, 35], Operations: ['41+18=59', '59-24=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,55 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 67, 33, 58, 40 ]
52
[ "67-33=34", "58-40=18", "34+18=52" ]
Current State: 52:[67, 33, 58, 40], Operations: [] Exploring Operation: 67-33=34, Resulting Numbers: [58, 40, 34] Generated Node #2: [58, 40, 34] from Operation: 67-33=34 Current State: 52:[58, 40, 34], Operations: ['67-33=34'] Exploring Operation: 58-40=18, Resulting Numbers: [34, 18] Generated Node #3: [34, 18] from Operation: 58-40=18 Current State: 52:[34, 18], Operations: ['67-33=34', '58-40=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[67, 33, 58, 40], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [33, 58, 27] Generated Node #0,0: 52:[33, 58, 27] Operation: 67-40=27 Moving to Node #0,0 Current State: 52:[33, 58, 27], Operations: ['67-40=27'] Exploring Operation: 58-33=25, Resulting Numbers: [27, 25] Generated Node #0,0,0: 52:[27, 25] Operation: 58-33=25 Moving to Node #0,0,0 Current State: 52:[27, 25], Operations: ['67-40=27', '58-33=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[67, 33, 58, 40], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [33, 58, 27] Generated Node #0,0: 52:[33, 58, 27] Operation: 67-40=27 Moving to Node #0,0 Current State: 52:[33, 58, 27], Operations: ['67-40=27'] Exploring Operation: 58-33=25, Resulting Numbers: [27, 25] Generated Node #0,0,0: 52:[27, 25] Operation: 58-33=25 Moving to Node #0,0,0 Current State: 52:[27, 25], Operations: ['67-40=27', '58-33=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 88, 1, 86, 96 ]
97
[ "88-1=87", "96-86=10", "87+10=97" ]
Current State: 97:[88, 1, 86, 96], Operations: [] Exploring Operation: 88-1=87, Resulting Numbers: [86, 96, 87] Generated Node #2: [86, 96, 87] from Operation: 88-1=87 Current State: 97:[86, 96, 87], Operations: ['88-1=87'] Exploring Operation: 96-86=10, Resulting Numbers: [87, 10] Generated Node #3: [87, 10] from Operation: 96-86=10 Current State: 97:[87, 10], Operations: ['88-1=87', '96-86=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[88, 1, 86, 96], Operations: [] Exploring Operation: 88+1=89, Resulting Numbers: [86, 96, 89] Generated Node #0,0: 97:[86, 96, 89] Operation: 88+1=89 Exploring Operation: 1+86=87, Resulting Numbers: [88, 96, 87] Generated Node #0,1: 97:[88, 96, 87] Operation: 1+86=87 Exploring Operation: 1+96=97, Resulting Numbers: [88, 86, 97] Generated Node #0,2: 97:[88, 86, 97] Operation: 1+96=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[86, 96, 89], Operations: ['88+1=89'] Exploring Operation: 86+89=175, Resulting Numbers: [96, 175] Generated Node #0,0,0: 97:[96, 175] Operation: 86+89=175 Exploring Operation: 86+96=182, Resulting Numbers: [89, 182] Generated Node #0,0,1: 97:[89, 182] Operation: 86+96=182 Exploring Operation: 96-86=10, Resulting Numbers: [89, 10] Generated Node #0,0,2: 97:[89, 10] Operation: 96-86=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[96, 175], Operations: ['88+1=89', '86+89=175'] Exploring Operation: 96+175=271, Resulting Numbers: [271] 271,97 unequal: No Solution Exploring Operation: 175-96=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 96*175=16800, Resulting Numbers: [16800] 16800,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,0,1 Current State: 97:[89, 182], Operations: ['88+1=89', '86+96=182'] Exploring Operation: 182-89=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 89+182=271, Resulting Numbers: [271] 271,97 unequal: No Solution Exploring Operation: 89*182=16198, Resulting Numbers: [16198] 16198,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,0,2 Current State: 97:[89, 10], Operations: ['88+1=89', '96-86=10'] Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,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,1 Current State: 97:[88, 96, 87], Operations: ['1+86=87'] Exploring Operation: 88+87=175, Resulting Numbers: [96, 175] Generated Node #0,1,0: 97:[96, 175] Operation: 88+87=175 Exploring Operation: 96+87=183, Resulting Numbers: [88, 183] Generated Node #0,1,1: 97:[88, 183] Operation: 96+87=183 Exploring Operation: 88+96=184, Resulting Numbers: [87, 184] Generated Node #0,1,2: 97:[87, 184] Operation: 88+96=184 Moving to Node #0,1,0 Current State: 97:[96, 175], Operations: ['1+86=87', '88+87=175'] Exploring Operation: 96*175=16800, Resulting Numbers: [16800] 16800,97 unequal: No Solution Exploring Operation: 175-96=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 96+175=271, Resulting Numbers: [271] 271,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[88, 183], Operations: ['1+86=87', '96+87=183'] Exploring Operation: 183-88=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 88*183=16104, Resulting Numbers: [16104] 16104,97 unequal: No Solution Exploring Operation: 88+183=271, Resulting Numbers: [271] 271,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[87, 184], Operations: ['1+86=87', '88+96=184'] Exploring Operation: 184-87=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[88, 1, 86, 96], Operations: [] Exploring Operation: 1+86=87, Resulting Numbers: [88, 96, 87] Generated Node #0,1: 97:[88, 96, 87] Operation: 1+86=87 Moving to Node #0,1 Current State: 97:[88, 96, 87], Operations: ['1+86=87'] Exploring Operation: 88+96=184, Resulting Numbers: [87, 184] Generated Node #0,1,2: 97:[87, 184] Operation: 88+96=184 Moving to Node #0,1,2 Current State: 97:[87, 184], Operations: ['1+86=87', '88+96=184'] Exploring Operation: 184-87=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 91, 90, 4, 5 ]
19
[ "91-90=1", "4*5=20", "20-1=19" ]
Current State: 19:[91, 90, 4, 5], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [4, 5, 1] Generated Node #2: [4, 5, 1] from Operation: 91-90=1 Current State: 19:[4, 5, 1], Operations: ['91-90=1'] Exploring Operation: 4*5=20, Resulting Numbers: [1, 20] Generated Node #3: [1, 20] from Operation: 4*5=20 Current State: 19:[1, 20], Operations: ['91-90=1', '4*5=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[91, 90, 4, 5], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [91, 90, 20] Generated Node #0,0: 19:[91, 90, 20] Operation: 4*5=20 Exploring Operation: 90/5=18, Resulting Numbers: [91, 4, 18] Generated Node #0,1: 19:[91, 4, 18] Operation: 90/5=18 Exploring Operation: 91-90=1, Resulting Numbers: [4, 5, 1] Generated Node #0,2: 19:[4, 5, 1] Operation: 91-90=1 Moving to Node #0,2 Current State: 19:[4, 5, 1], Operations: ['91-90=1'] Exploring Operation: 4*5=20, Resulting Numbers: [1, 20] Generated Node #0,2,0: 19:[1, 20] Operation: 4*5=20 Exploring Operation: 4+1=5, Resulting Numbers: [5, 5] Generated Node #0,2,1: 19:[5, 5] Operation: 4+1=5 Exploring Operation: 4+5=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 19:[1, 9] Operation: 4+5=9 Moving to Node #0,1 Current State: 19:[91, 4, 18], Operations: ['90/5=18'] Exploring Operation: 91-18=73, Resulting Numbers: [4, 73] Generated Node #0,1,0: 19:[4, 73] Operation: 91-18=73 Exploring Operation: 91-4=87, Resulting Numbers: [18, 87] Generated Node #0,1,1: 19:[18, 87] Operation: 91-4=87 Exploring Operation: 4+18=22, Resulting Numbers: [91, 22] Generated Node #0,1,2: 19:[91, 22] Operation: 4+18=22 Moving to Node #0,0 Current State: 19:[91, 90, 20], Operations: ['4*5=20'] Exploring Operation: 91-20=71, Resulting Numbers: [90, 71] Generated Node #0,0,0: 19:[90, 71] Operation: 91-20=71 Exploring Operation: 91-90=1, Resulting Numbers: [20, 1] Generated Node #0,0,1: 19:[20, 1] Operation: 91-90=1 Exploring Operation: 90-20=70, Resulting Numbers: [91, 70] Generated Node #0,0,2: 19:[91, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[20, 1], Operations: ['4*5=20', '91-90=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[91, 90, 4, 5], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [91, 90, 20] Generated Node #0,0: 19:[91, 90, 20] Operation: 4*5=20 Moving to Node #0,0 Current State: 19:[91, 90, 20], Operations: ['4*5=20'] Exploring Operation: 91-90=1, Resulting Numbers: [20, 1] Generated Node #0,0,1: 19:[20, 1] Operation: 91-90=1 Moving to Node #0,0,1 Current State: 19:[20, 1], Operations: ['4*5=20', '91-90=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 86, 49, 58, 7 ]
88
[ "86-49=37", "58-7=51", "37+51=88" ]
Current State: 88:[86, 49, 58, 7], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [58, 7, 37] Generated Node #2: [58, 7, 37] from Operation: 86-49=37 Current State: 88:[58, 7, 37], Operations: ['86-49=37'] Exploring Operation: 58-7=51, Resulting Numbers: [37, 51] Generated Node #3: [37, 51] from Operation: 58-7=51 Current State: 88:[37, 51], Operations: ['86-49=37', '58-7=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[86, 49, 58, 7], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [49, 7, 28] Generated Node #0,0: 88:[49, 7, 28] Operation: 86-58=28 Exploring Operation: 49-7=42, Resulting Numbers: [86, 58, 42] Generated Node #0,1: 88:[86, 58, 42] Operation: 49-7=42 Exploring Operation: 58-7=51, Resulting Numbers: [86, 49, 51] Generated Node #0,2: 88:[86, 49, 51] Operation: 58-7=51 Exploring Operation: 58-49=9, Resulting Numbers: [86, 7, 9] Generated Node #0,3: 88:[86, 7, 9] Operation: 58-49=9 Exploring Operation: 49/7=7, Resulting Numbers: [86, 58, 7] Generated Node #0,4: 88:[86, 58, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[86, 7, 9], Operations: ['58-49=9'] Exploring Operation: 86+9=95, Resulting Numbers: [7, 95] Generated Node #0,3,0: 88:[7, 95] Operation: 86+9=95 Exploring Operation: 7+9=16, Resulting Numbers: [86, 16] Generated Node #0,3,1: 88:[86, 16] Operation: 7+9=16 Exploring Operation: 86+7=93, Resulting Numbers: [9, 93] Generated Node #0,3,2: 88:[9, 93] Operation: 86+7=93 Exploring Operation: 9-7=2, Resulting Numbers: [86, 2] Generated Node #0,3,3: 88:[86, 2] Operation: 9-7=2 Exploring Operation: 86-7=79, Resulting Numbers: [9, 79] Generated Node #0,3,4: 88:[9, 79] Operation: 86-7=79 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[86, 2], Operations: ['58-49=9', '9-7=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,88 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[86, 49, 58, 7], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [86, 7, 9] Generated Node #0,3: 88:[86, 7, 9] Operation: 58-49=9 Moving to Node #0,3 Current State: 88:[86, 7, 9], Operations: ['58-49=9'] Exploring Operation: 9-7=2, Resulting Numbers: [86, 2] Generated Node #0,3,3: 88:[86, 2] Operation: 9-7=2 Moving to Node #0,3,3 Current State: 88:[86, 2], Operations: ['58-49=9', '9-7=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 74, 1, 4, 55 ]
24
[ "74+1=75", "55-4=51", "75-51=24" ]
Current State: 24:[74, 1, 4, 55], Operations: [] Exploring Operation: 74+1=75, Resulting Numbers: [4, 55, 75] Generated Node #2: [4, 55, 75] from Operation: 74+1=75 Current State: 24:[4, 55, 75], Operations: ['74+1=75'] Exploring Operation: 55-4=51, Resulting Numbers: [75, 51] Generated Node #3: [75, 51] from Operation: 55-4=51 Current State: 24:[75, 51], Operations: ['74+1=75', '55-4=51'] Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[74, 1, 4, 55], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [1, 4, 19] Generated Node #0,0: 24:[1, 4, 19] Operation: 74-55=19 Exploring Operation: 74-4=70, Resulting Numbers: [1, 55, 70] Generated Node #0,1: 24:[1, 55, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[1, 4, 19], Operations: ['74-55=19'] Exploring Operation: 4+19=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 4+19=23 Exploring Operation: 1+19=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 24:[4, 20] Operation: 1+19=20 Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['74-55=19', '4+19=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[74, 1, 4, 55], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [1, 4, 19] Generated Node #0,0: 24:[1, 4, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 24:[1, 4, 19], Operations: ['74-55=19'] Exploring Operation: 4+19=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 4+19=23 Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['74-55=19', '4+19=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 32, 92, 25, 92 ]
57
[ "32+92=124", "92-25=67", "124-67=57" ]
Current State: 57:[32, 92, 25, 92], Operations: [] Exploring Operation: 32+92=124, Resulting Numbers: [25, 124] Generated Node #2: [25, 124] from Operation: 32+92=124 Current State: 57:[25, 124], Operations: ['32+92=124'] Exploring Operation: 92-25=67, Resulting Numbers: [124, 67] Generated Node #3: [124, 67] from Operation: 92-25=67 Current State: 57:[124, 67], Operations: ['32+92=124', '92-25=67'] Exploring Operation: 124-67=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[32, 92, 25, 92], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [25, 92, 60] Generated Node #0,0: 57:[25, 92, 60] Operation: 92-32=60 Exploring Operation: 92-32=60, Resulting Numbers: [92, 25, 60] Generated Node #0,1: 57:[92, 25, 60] Operation: 92-32=60 Exploring Operation: 92-25=67, Resulting Numbers: [32, 92, 67] Generated Node #0,2: 57:[32, 92, 67] Operation: 92-25=67 Exploring Operation: 92-92=0, Resulting Numbers: [32, 25, 0] Generated Node #0,3: 57:[32, 25, 0] Operation: 92-92=0 Exploring Operation: 92/92=1, Resulting Numbers: [32, 25, 1] Generated Node #0,4: 57:[32, 25, 1] Operation: 92/92=1 Moving to Node #0,4 Current State: 57:[32, 25, 1], Operations: ['92/92=1'] Exploring Operation: 25-1=24, Resulting Numbers: [32, 24] Generated Node #0,4,0: 57:[32, 24] Operation: 25-1=24 Exploring Operation: 32-25=7, Resulting Numbers: [1, 7] Generated Node #0,4,1: 57:[1, 7] Operation: 32-25=7 Exploring Operation: 32*1=32, Resulting Numbers: [25, 32] Generated Node #0,4,2: 57:[25, 32] Operation: 32*1=32 Exploring Operation: 32+25=57, Resulting Numbers: [1, 57] Generated Node #0,4,3: 57:[1, 57] Operation: 32+25=57 Exploring Operation: 32-1=31, Resulting Numbers: [25, 31] Generated Node #0,4,4: 57:[25, 31] Operation: 32-1=31 Moving to Node #0,3 Current State: 57:[32, 25, 0], Operations: ['92-92=0'] Exploring Operation: 32-25=7, Resulting Numbers: [0, 7] Generated Node #0,3,0: 57:[0, 7] Operation: 32-25=7 Exploring Operation: 32*0=0, Resulting Numbers: [25, 0] Generated Node #0,3,1: 57:[25, 0] Operation: 32*0=0 Exploring Operation: 32+0=32, Resulting Numbers: [25, 32] Generated Node #0,3,2: 57:[25, 32] Operation: 32+0=32 Exploring Operation: 25*0=0, Resulting Numbers: [32, 0] Generated Node #0,3,3: 57:[32, 0] Operation: 25*0=0 Exploring Operation: 32+25=57, Resulting Numbers: [0, 57] Generated Node #0,3,4: 57:[0, 57] Operation: 32+25=57 Moving to Node #0,0 Current State: 57:[25, 92, 60], Operations: ['92-32=60'] Exploring Operation: 92-25=67, Resulting Numbers: [60, 67] Generated Node #0,0,0: 57:[60, 67] Operation: 92-25=67 Exploring Operation: 25+60=85, Resulting Numbers: [92, 85] Generated Node #0,0,1: 57:[92, 85] Operation: 25+60=85 Exploring Operation: 92-60=32, Resulting Numbers: [25, 32] Generated Node #0,0,2: 57:[25, 32] Operation: 92-60=32 Exploring Operation: 60-25=35, Resulting Numbers: [92, 35] Generated Node #0,0,3: 57:[92, 35] Operation: 60-25=35 Exploring Operation: 25+92=117, Resulting Numbers: [60, 117] Generated Node #0,0,4: 57:[60, 117] Operation: 25+92=117 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[60, 67], Operations: ['92-32=60', '92-25=67'] Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,57 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[25, 32], Operations: ['92-32=60', '92-60=32'] Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,57 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[32, 92, 25, 92], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [25, 92, 60] Generated Node #0,0: 57:[25, 92, 60] Operation: 92-32=60 Moving to Node #0,0 Current State: 57:[25, 92, 60], Operations: ['92-32=60'] Exploring Operation: 92-60=32, Resulting Numbers: [25, 32] Generated Node #0,0,2: 57:[25, 32] Operation: 92-60=32 Moving to Node #0,0,2 Current State: 57:[25, 32], Operations: ['92-32=60', '92-60=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
sum_heuristic
[ 55, 25, 50, 17 ]
63
[ "55-25=30", "50-17=33", "30+33=63" ]
Current State: 63:[55, 25, 50, 17], Operations: [] Exploring Operation: 55-25=30, Resulting Numbers: [50, 17, 30] Generated Node #2: [50, 17, 30] from Operation: 55-25=30 Current State: 63:[50, 17, 30], Operations: ['55-25=30'] Exploring Operation: 50-17=33, Resulting Numbers: [30, 33] Generated Node #3: [30, 33] from Operation: 50-17=33 Current State: 63:[30, 33], Operations: ['55-25=30', '50-17=33'] Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[55, 25, 50, 17], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [25, 17, 5] Generated Node #0,0: 63:[25, 17, 5] Operation: 55-50=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[25, 17, 5], Operations: ['55-50=5'] Exploring Operation: 25-17=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 63:[5, 8] Operation: 25-17=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[5, 8], Operations: ['55-50=5', '25-17=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 46, 37, 67, 2 ]
39
[ "46+67=113", "37*2=74", "113-74=39" ]
Current State: 39:[46, 37, 67, 2], Operations: [] Exploring Operation: 46+67=113, Resulting Numbers: [37, 2, 113] Generated Node #2: [37, 2, 113] from Operation: 46+67=113 Current State: 39:[37, 2, 113], Operations: ['46+67=113'] Exploring Operation: 37*2=74, Resulting Numbers: [113, 74] Generated Node #3: [113, 74] from Operation: 37*2=74 Current State: 39:[113, 74], Operations: ['46+67=113', '37*2=74'] Exploring Operation: 113-74=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[46, 37, 67, 2], Operations: [] Exploring Operation: 46-2=44, Resulting Numbers: [37, 67, 44] Generated Node #0,0: 39:[37, 67, 44] Operation: 46-2=44 Exploring Operation: 67-37=30, Resulting Numbers: [46, 2, 30] Generated Node #0,1: 39:[46, 2, 30] Operation: 67-37=30 Exploring Operation: 46-37=9, Resulting Numbers: [67, 2, 9] Generated Node #0,2: 39:[67, 2, 9] Operation: 46-37=9 Exploring Operation: 67-46=21, Resulting Numbers: [37, 2, 21] Generated Node #0,3: 39:[37, 2, 21] Operation: 67-46=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[37, 2, 21], Operations: ['67-46=21'] Exploring Operation: 21-2=19, Resulting Numbers: [37, 19] Generated Node #0,3,0: 39:[37, 19] Operation: 21-2=19 Exploring Operation: 37+2=39, Resulting Numbers: [21, 39] Generated Node #0,3,1: 39:[21, 39] Operation: 37+2=39 Exploring Operation: 2*21=42, Resulting Numbers: [37, 42] Generated Node #0,3,2: 39:[37, 42] Operation: 2*21=42 Exploring Operation: 37-21=16, Resulting Numbers: [2, 16] Generated Node #0,3,3: 39:[2, 16] Operation: 37-21=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 39:[2, 16], Operations: ['67-46=21', '37-21=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,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,3,2 Current State: 39:[37, 42], Operations: ['67-46=21', '2*21=42'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,39 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,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,3,0 Current State: 39:[37, 19], Operations: ['67-46=21', '21-2=19'] Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,39 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,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,3,1 Current State: 39:[21, 39], Operations: ['67-46=21', '37+2=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,39 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[46, 2, 30], Operations: ['67-37=30'] Exploring Operation: 2+30=32, Resulting Numbers: [46, 32] Generated Node #0,1,0: 39:[46, 32] Operation: 2+30=32 Exploring Operation: 46-2=44, Resulting Numbers: [30, 44] Generated Node #0,1,1: 39:[30, 44] Operation: 46-2=44 Exploring Operation: 30/2=15, Resulting Numbers: [46, 15] Generated Node #0,1,2: 39:[46, 15] Operation: 30/2=15 Exploring Operation: 46-30=16, Resulting Numbers: [2, 16] Generated Node #0,1,3: 39:[2, 16] Operation: 46-30=16 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[2, 16], Operations: ['67-37=30', '46-30=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,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:[46, 15], Operations: ['67-37=30', '30/2=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,39 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,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,0 Current State: 39:[46, 32], Operations: ['67-37=30', '2+30=32'] Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,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:[30, 44], Operations: ['67-37=30', '46-2=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,39 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[67, 2, 9], Operations: ['46-37=9'] Exploring Operation: 67-2=65, Resulting Numbers: [9, 65] Generated Node #0,2,0: 39:[9, 65] Operation: 67-2=65 Exploring Operation: 67-9=58, Resulting Numbers: [2, 58] Generated Node #0,2,1: 39:[2, 58] Operation: 67-9=58 Exploring Operation: 9-2=7, Resulting Numbers: [67, 7] Generated Node #0,2,2: 39:[67, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [67, 11] Generated Node #0,2,3: 39:[67, 11] Operation: 2+9=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[2, 58], Operations: ['46-37=9', '67-9=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,39 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,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,2,0 Current State: 39:[9, 65], Operations: ['46-37=9', '67-2=65'] Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,39 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,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,2,3 Current State: 39:[67, 11], Operations: ['46-37=9', '2+9=11'] Exploring Operation: 67*11=737, Resulting Numbers: [737] 737,39 unequal: No Solution Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,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,2,2 Current State: 39:[67, 7], Operations: ['46-37=9', '9-2=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,39 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[37, 67, 44], Operations: ['46-2=44'] Exploring Operation: 67-37=30, Resulting Numbers: [44, 30] Generated Node #0,0,0: 39:[44, 30] Operation: 67-37=30 Exploring Operation: 37+67=104, Resulting Numbers: [44, 104] Generated Node #0,0,1: 39:[44, 104] Operation: 37+67=104 Exploring Operation: 67-44=23, Resulting Numbers: [37, 23] Generated Node #0,0,2: 39:[37, 23] Operation: 67-44=23 Exploring Operation: 44-37=7, Resulting Numbers: [67, 7] Generated Node #0,0,3: 39:[67, 7] Operation: 44-37=7 Moving to Node #0,0,2 Current State: 39:[37, 23], Operations: ['46-2=44', '67-44=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[44, 30], Operations: ['46-2=44', '67-37=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[67, 7], Operations: ['46-2=44', '44-37=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,39 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[44, 104], Operations: ['46-2=44', '37+67=104'] Exploring Operation: 44*104=4576, Resulting Numbers: [4576] 4576,39 unequal: No Solution Exploring Operation: 104-44=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 44+104=148, Resulting Numbers: [148] 148,39 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
[ 63, 34, 2, 79 ]
42
[ "79-63=16", "16/2=8", "34+8=42" ]
Current State: 42:[63, 34, 2, 79], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [34, 2, 16] Generated Node #2: [34, 2, 16] from Operation: 79-63=16 Current State: 42:[34, 2, 16], Operations: ['79-63=16'] Exploring Operation: 16/2=8, Resulting Numbers: [34, 8] Generated Node #3: [34, 8] from Operation: 16/2=8 Current State: 42:[34, 8], Operations: ['79-63=16', '16/2=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[63, 34, 2, 79], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [34, 2, 16] Generated Node #0,0: 42:[34, 2, 16] Operation: 79-63=16 Exploring Operation: 79-34=45, Resulting Numbers: [63, 2, 45] Generated Node #0,1: 42:[63, 2, 45] Operation: 79-34=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[34, 2, 16], Operations: ['79-63=16'] Exploring Operation: 34/2=17, Resulting Numbers: [16, 17] Generated Node #0,0,0: 42:[16, 17] Operation: 34/2=17 Exploring Operation: 34-16=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 42:[2, 18] Operation: 34-16=18 Moving to Node #0,0,1 Current State: 42:[2, 18], Operations: ['79-63=16', '34-16=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[16, 17], Operations: ['79-63=16', '34/2=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[63, 2, 45], Operations: ['79-34=45'] Exploring Operation: 63-45=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 42:[2, 18] Operation: 63-45=18 Exploring Operation: 63-2=61, Resulting Numbers: [45, 61] Generated Node #0,1,1: 42:[45, 61] Operation: 63-2=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[2, 18], Operations: ['79-34=45', '63-45=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,42 unequal: No Solution No 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: 42:[45, 61], Operations: ['79-34=45', '63-2=61'] Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,42 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
[ 99, 99, 78, 57 ]
21
[ "99-99=0", "78-57=21", "0+21=21" ]
Current State: 21:[99, 99, 78, 57], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [78, 57, 0] Generated Node #2: [78, 57, 0] from Operation: 99-99=0 Current State: 21:[78, 57, 0], Operations: ['99-99=0'] Exploring Operation: 78-57=21, Resulting Numbers: [0, 21] Generated Node #3: [0, 21] from Operation: 78-57=21 Current State: 21:[0, 21], Operations: ['99-99=0', '78-57=21'] Exploring Operation: 0+21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[99, 99, 78, 57], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [78, 57, 0] Generated Node #0,0: 21:[78, 57, 0] Operation: 99-99=0 Exploring Operation: 99/99=1, Resulting Numbers: [78, 57, 1] Generated Node #0,1: 21:[78, 57, 1] Operation: 99/99=1 Moving to Node #0,1 Current State: 21:[78, 57, 1], Operations: ['99/99=1'] Exploring Operation: 78-57=21, Resulting Numbers: [1, 21] Generated Node #0,1,0: 21:[1, 21] Operation: 78-57=21 Exploring Operation: 78-1=77, Resulting Numbers: [57, 77] Generated Node #0,1,1: 21:[57, 77] Operation: 78-1=77 Moving to Node #0,0 Current State: 21:[78, 57, 0], Operations: ['99-99=0'] Exploring Operation: 78*0=0, Resulting Numbers: [57, 0] Generated Node #0,0,0: 21:[57, 0] Operation: 78*0=0 Exploring Operation: 78-57=21, Resulting Numbers: [0, 21] Generated Node #0,0,1: 21:[0, 21] Operation: 78-57=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[0, 21], Operations: ['99-99=0', '78-57=21'] Exploring Operation: 0+21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[99, 99, 78, 57], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [78, 57, 0] Generated Node #0,0: 21:[78, 57, 0] Operation: 99-99=0 Moving to Node #0,0 Current State: 21:[78, 57, 0], Operations: ['99-99=0'] Exploring Operation: 78-57=21, Resulting Numbers: [0, 21] Generated Node #0,0,1: 21:[0, 21] Operation: 78-57=21 Moving to Node #0,0,1 Current State: 21:[0, 21], Operations: ['99-99=0', '78-57=21'] Exploring Operation: 0+21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 44, 90, 18, 45 ]
18
[ "90-44=46", "46-45=1", "18*1=18" ]
Current State: 18:[44, 90, 18, 45], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [18, 45, 46] Generated Node #2: [18, 45, 46] from Operation: 90-44=46 Current State: 18:[18, 45, 46], Operations: ['90-44=46'] Exploring Operation: 46-45=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 46-45=1 Current State: 18:[18, 1], Operations: ['90-44=46', '46-45=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[44, 90, 18, 45], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [18, 45, 46] Generated Node #0,0: 18:[18, 45, 46] Operation: 90-44=46 Exploring Operation: 90/45=2, Resulting Numbers: [44, 18, 2] Generated Node #0,1: 18:[44, 18, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [44, 18, 45] Generated Node #0,2: 18:[44, 18, 45] Operation: 90-45=45 Exploring Operation: 90/18=5, Resulting Numbers: [44, 45, 5] Generated Node #0,3: 18:[44, 45, 5] Operation: 90/18=5 Moving to Node #0,1 Current State: 18:[44, 18, 2], Operations: ['90/45=2'] Exploring Operation: 44-18=26, Resulting Numbers: [2, 26] Generated Node #0,1,0: 18:[2, 26] Operation: 44-18=26 Exploring Operation: 44-2=42, Resulting Numbers: [18, 42] Generated Node #0,1,1: 18:[18, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [18, 22] Generated Node #0,1,2: 18:[18, 22] Operation: 44/2=22 Exploring Operation: 18/2=9, Resulting Numbers: [44, 9] Generated Node #0,1,3: 18:[44, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[18, 22], Operations: ['90/45=2', '44/2=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,18 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,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,0 Current State: 18:[2, 26], Operations: ['90/45=2', '44-18=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,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,1 Current State: 18:[18, 42], Operations: ['90/45=2', '44-2=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,18 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,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,3 Current State: 18:[44, 9], Operations: ['90/45=2', '18/2=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,18 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: 18:[44, 18, 45], Operations: ['90-45=45'] Exploring Operation: 44+18=62, Resulting Numbers: [45, 62] Generated Node #0,2,0: 18:[45, 62] Operation: 44+18=62 Exploring Operation: 44-18=26, Resulting Numbers: [45, 26] Generated Node #0,2,1: 18:[45, 26] Operation: 44-18=26 Exploring Operation: 45-44=1, Resulting Numbers: [18, 1] Generated Node #0,2,2: 18:[18, 1] Operation: 45-44=1 Exploring Operation: 45-18=27, Resulting Numbers: [44, 27] Generated Node #0,2,3: 18:[44, 27] Operation: 45-18=27 Moving to Node #0,3 Current State: 18:[44, 45, 5], Operations: ['90/18=5'] Exploring Operation: 45/5=9, Resulting Numbers: [44, 9] Generated Node #0,3,0: 18:[44, 9] Operation: 45/5=9 Exploring Operation: 44-5=39, Resulting Numbers: [45, 39] Generated Node #0,3,1: 18:[45, 39] Operation: 44-5=39 Exploring Operation: 45-5=40, Resulting Numbers: [44, 40] Generated Node #0,3,2: 18:[44, 40] Operation: 45-5=40 Exploring Operation: 45-44=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 18:[5, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[5, 1], Operations: ['90/18=5', '45-44=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[44, 9], Operations: ['90/18=5', '45/5=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[45, 39], Operations: ['90/18=5', '44-5=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,18 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[44, 40], Operations: ['90/18=5', '45-5=40'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,18 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,18 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: 18:[18, 45, 46], Operations: ['90-44=46'] Exploring Operation: 46-45=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 18:[18, 1] Operation: 46-45=1 Exploring Operation: 46-18=28, Resulting Numbers: [45, 28] Generated Node #0,0,1: 18:[45, 28] Operation: 46-18=28 Exploring Operation: 18+45=63, Resulting Numbers: [46, 63] Generated Node #0,0,2: 18:[46, 63] Operation: 18+45=63 Exploring Operation: 45-18=27, Resulting Numbers: [46, 27] Generated Node #0,0,3: 18:[46, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[18, 1], Operations: ['90-44=46', '46-45=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[44, 90, 18, 45], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [18, 45, 46] Generated Node #0,0: 18:[18, 45, 46] Operation: 90-44=46 Moving to Node #0,0 Current State: 18:[18, 45, 46], Operations: ['90-44=46'] Exploring Operation: 46-45=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 18:[18, 1] Operation: 46-45=1 Moving to Node #0,0,0 Current State: 18:[18, 1], Operations: ['90-44=46', '46-45=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 89, 2, 68, 90 ]
34
[ "90-89=1", "68/2=34", "1*34=34" ]
Current State: 34:[89, 2, 68, 90], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [2, 68, 1] Generated Node #2: [2, 68, 1] from Operation: 90-89=1 Current State: 34:[2, 68, 1], Operations: ['90-89=1'] Exploring Operation: 68/2=34, Resulting Numbers: [1, 34] Generated Node #3: [1, 34] from Operation: 68/2=34 Current State: 34:[1, 34], Operations: ['90-89=1', '68/2=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[89, 2, 68, 90], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [89, 2, 22] Generated Node #0,0: 34:[89, 2, 22] Operation: 90-68=22 Exploring Operation: 89-68=21, Resulting Numbers: [2, 90, 21] Generated Node #0,1: 34:[2, 90, 21] Operation: 89-68=21 Exploring Operation: 90-89=1, Resulting Numbers: [2, 68, 1] Generated Node #0,2: 34:[2, 68, 1] Operation: 90-89=1 Moving to Node #0,2 Current State: 34:[2, 68, 1], Operations: ['90-89=1'] Exploring Operation: 68-2=66, Resulting Numbers: [1, 66] Generated Node #0,2,0: 34:[1, 66] Operation: 68-2=66 Exploring Operation: 68-1=67, Resulting Numbers: [2, 67] Generated Node #0,2,1: 34:[2, 67] Operation: 68-1=67 Exploring Operation: 68/2=34, Resulting Numbers: [1, 34] Generated Node #0,2,2: 34:[1, 34] Operation: 68/2=34 Moving to Node #0,0 Current State: 34:[89, 2, 22], Operations: ['90-68=22'] Exploring Operation: 22-2=20, Resulting Numbers: [89, 20] Generated Node #0,0,0: 34:[89, 20] Operation: 22-2=20 Exploring Operation: 89-22=67, Resulting Numbers: [2, 67] Generated Node #0,0,1: 34:[2, 67] Operation: 89-22=67 Exploring Operation: 89-2=87, Resulting Numbers: [22, 87] Generated Node #0,0,2: 34:[22, 87] Operation: 89-2=87 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[2, 67], Operations: ['90-68=22', '89-22=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,34 unequal: No Solution No 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: 34:[89, 20], Operations: ['90-68=22', '22-2=20'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,34 unequal: No Solution Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,34 unequal: No Solution No 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: 34:[22, 87], Operations: ['90-68=22', '89-2=87'] Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,34 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,34 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: 34:[2, 90, 21], Operations: ['89-68=21'] Exploring Operation: 90-21=69, Resulting Numbers: [2, 69] Generated Node #0,1,0: 34:[2, 69] Operation: 90-21=69 Exploring Operation: 90/2=45, Resulting Numbers: [21, 45] Generated Node #0,1,1: 34:[21, 45] Operation: 90/2=45 Exploring Operation: 90-2=88, Resulting Numbers: [21, 88] Generated Node #0,1,2: 34:[21, 88] Operation: 90-2=88 Moving to Node #0,2,2 Current State: 34:[1, 34], Operations: ['90-89=1', '68/2=34'] Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[89, 2, 68, 90], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [2, 68, 1] Generated Node #0,2: 34:[2, 68, 1] Operation: 90-89=1 Moving to Node #0,2 Current State: 34:[2, 68, 1], Operations: ['90-89=1'] Exploring Operation: 68/2=34, Resulting Numbers: [1, 34] Generated Node #0,2,2: 34:[1, 34] Operation: 68/2=34 Moving to Node #0,2,2 Current State: 34:[1, 34], Operations: ['90-89=1', '68/2=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 6, 68, 53, 61 ]
40
[ "6+68=74", "53+61=114", "114-74=40" ]
Current State: 40:[6, 68, 53, 61], Operations: [] Exploring Operation: 6+68=74, Resulting Numbers: [53, 61, 74] Generated Node #2: [53, 61, 74] from Operation: 6+68=74 Current State: 40:[53, 61, 74], Operations: ['6+68=74'] Exploring Operation: 53+61=114, Resulting Numbers: [74, 114] Generated Node #3: [74, 114] from Operation: 53+61=114 Current State: 40:[74, 114], Operations: ['6+68=74', '53+61=114'] Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[6, 68, 53, 61], Operations: [] Exploring Operation: 68-6=62, Resulting Numbers: [53, 61, 62] Generated Node #0,0: 40:[53, 61, 62] Operation: 68-6=62 Exploring Operation: 68-61=7, Resulting Numbers: [6, 53, 7] Generated Node #0,1: 40:[6, 53, 7] Operation: 68-61=7 Exploring Operation: 68-53=15, Resulting Numbers: [6, 61, 15] Generated Node #0,2: 40:[6, 61, 15] Operation: 68-53=15 Exploring Operation: 61-53=8, Resulting Numbers: [6, 68, 8] Generated Node #0,3: 40:[6, 68, 8] Operation: 61-53=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[6, 53, 7], Operations: ['68-61=7'] Exploring Operation: 6*7=42, Resulting Numbers: [53, 42] Generated Node #0,1,0: 40:[53, 42] Operation: 6*7=42 Exploring Operation: 53-7=46, Resulting Numbers: [6, 46] Generated Node #0,1,1: 40:[6, 46] Operation: 53-7=46 Exploring Operation: 53-6=47, Resulting Numbers: [7, 47] Generated Node #0,1,2: 40:[7, 47] Operation: 53-6=47 Exploring Operation: 7-6=1, Resulting Numbers: [53, 1] Generated Node #0,1,3: 40:[53, 1] Operation: 7-6=1 Moving to Node #0,1,1 Current State: 40:[6, 46], Operations: ['68-61=7', '53-7=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,40 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[6, 68, 53, 61], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [6, 53, 7] Generated Node #0,1: 40:[6, 53, 7] Operation: 68-61=7 Moving to Node #0,1 Current State: 40:[6, 53, 7], Operations: ['68-61=7'] Exploring Operation: 53-7=46, Resulting Numbers: [6, 46] Generated Node #0,1,1: 40:[6, 46] Operation: 53-7=46 Moving to Node #0,1,1 Current State: 40:[6, 46], Operations: ['68-61=7', '53-7=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 97, 12, 92, 10 ]
89
[ "92-12=80", "80/10=8", "97-8=89" ]
Current State: 89:[97, 12, 92, 10], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [97, 10, 80] Generated Node #2: [97, 10, 80] from Operation: 92-12=80 Current State: 89:[97, 10, 80], Operations: ['92-12=80'] Exploring Operation: 80/10=8, Resulting Numbers: [97, 8] Generated Node #3: [97, 8] from Operation: 80/10=8 Current State: 89:[97, 8], Operations: ['92-12=80', '80/10=8'] Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[97, 12, 92, 10], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [12, 92, 87] Generated Node #0,0: 89:[12, 92, 87] Operation: 97-10=87 Exploring Operation: 12+10=22, Resulting Numbers: [97, 92, 22] Generated Node #0,1: 89:[97, 92, 22] Operation: 12+10=22 Exploring Operation: 92-10=82, Resulting Numbers: [97, 12, 82] Generated Node #0,2: 89:[97, 12, 82] Operation: 92-10=82 Exploring Operation: 97-12=85, Resulting Numbers: [92, 10, 85] Generated Node #0,3: 89:[92, 10, 85] Operation: 97-12=85 Exploring Operation: 12*10=120, Resulting Numbers: [97, 92, 120] Generated Node #0,4: 89:[97, 92, 120] Operation: 12*10=120 Start Sub Search at level 1: Moving to Node #0,4 Current State: 89:[97, 92, 120], Operations: ['12*10=120'] Exploring Operation: 120-92=28, Resulting Numbers: [97, 28] Generated Node #0,4,0: 89:[97, 28] Operation: 120-92=28 Exploring Operation: 97-92=5, Resulting Numbers: [120, 5] Generated Node #0,4,1: 89:[120, 5] Operation: 97-92=5 Exploring Operation: 97+120=217, Resulting Numbers: [92, 217] Generated Node #0,4,2: 89:[92, 217] Operation: 97+120=217 Exploring Operation: 97+92=189, Resulting Numbers: [120, 189] Generated Node #0,4,3: 89:[120, 189] Operation: 97+92=189 Exploring Operation: 120-97=23, Resulting Numbers: [92, 23] Generated Node #0,4,4: 89:[92, 23] Operation: 120-97=23 Moving to Node #0,4,0 Current State: 89:[97, 28], Operations: ['12*10=120', '120-92=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,89 unequal: No Solution Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,89 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[92, 23], Operations: ['12*10=120', '120-97=23'] Exploring Operation: 92*23=2116, Resulting Numbers: [2116] 2116,89 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[120, 5], Operations: ['12*10=120', '97-92=5'] Exploring Operation: 120+5=125, Resulting Numbers: [125] 125,89 unequal: No Solution Exploring Operation: 120*5=600, Resulting Numbers: [600] 600,89 unequal: No Solution Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 120-5=115, Resulting Numbers: [115] 115,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[92, 217], Operations: ['12*10=120', '97+120=217'] Exploring Operation: 92*217=19964, Resulting Numbers: [19964] 19964,89 unequal: No Solution Exploring Operation: 92+217=309, Resulting Numbers: [309] 309,89 unequal: No Solution Exploring Operation: 217-92=125, Resulting Numbers: [125] 125,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[120, 189], Operations: ['12*10=120', '97+92=189'] Exploring Operation: 120+189=309, Resulting Numbers: [309] 309,89 unequal: No Solution Exploring Operation: 120*189=22680, Resulting Numbers: [22680] 22680,89 unequal: No Solution Exploring Operation: 189-120=69, Resulting Numbers: [69] 69,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[97, 92, 22], Operations: ['12+10=22'] Exploring Operation: 92+22=114, Resulting Numbers: [97, 114] Generated Node #0,1,0: 89:[97, 114] Operation: 92+22=114 Exploring Operation: 92-22=70, Resulting Numbers: [97, 70] Generated Node #0,1,1: 89:[97, 70] Operation: 92-22=70 Exploring Operation: 97-22=75, Resulting Numbers: [92, 75] Generated Node #0,1,2: 89:[92, 75] Operation: 97-22=75 Exploring Operation: 97+22=119, Resulting Numbers: [92, 119] Generated Node #0,1,3: 89:[92, 119] Operation: 97+22=119 Exploring Operation: 97-92=5, Resulting Numbers: [22, 5] Generated Node #0,1,4: 89:[22, 5] Operation: 97-92=5 Moving to Node #0,1,2 Current State: 89:[92, 75], Operations: ['12+10=22', '97-22=75'] Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,89 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[97, 70], Operations: ['12+10=22', '92-22=70'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 97*70=6790, Resulting Numbers: [6790] 6790,89 unequal: No Solution Exploring Operation: 97+70=167, Resulting Numbers: [167] 167,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[97, 114], Operations: ['12+10=22', '92+22=114'] Exploring Operation: 97+114=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 97*114=11058, Resulting Numbers: [11058] 11058,89 unequal: No Solution Exploring Operation: 114-97=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[92, 119], Operations: ['12+10=22', '97+22=119'] Exploring Operation: 92*119=10948, Resulting Numbers: [10948] 10948,89 unequal: No Solution Exploring Operation: 119-92=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 92+119=211, Resulting Numbers: [211] 211,89 unequal: No Solution Moving to Node #0,1,4 Current State: 89:[22, 5], Operations: ['12+10=22', '97-92=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[12, 92, 87], Operations: ['97-10=87'] Exploring Operation: 92-12=80, Resulting Numbers: [87, 80] Generated Node #0,0,0: 89:[87, 80] Operation: 92-12=80 Exploring Operation: 87-12=75, Resulting Numbers: [92, 75] Generated Node #0,0,1: 89:[92, 75] Operation: 87-12=75 Exploring Operation: 12+92=104, Resulting Numbers: [87, 104] Generated Node #0,0,2: 89:[87, 104] Operation: 12+92=104 Exploring Operation: 92-87=5, Resulting Numbers: [12, 5] Generated Node #0,0,3: 89:[12, 5] Operation: 92-87=5 Exploring Operation: 12+87=99, Resulting Numbers: [92, 99] Generated Node #0,0,4: 89:[92, 99] Operation: 12+87=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[87, 80], Operations: ['97-10=87', '92-12=80'] Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 89:[92, 99], Operations: ['97-10=87', '12+87=99'] Exploring Operation: 92+99=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 92*99=9108, Resulting Numbers: [9108] 9108,89 unequal: No Solution Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[92, 75], Operations: ['97-10=87', '87-12=75'] Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,89 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[87, 104], Operations: ['97-10=87', '12+92=104'] Exploring Operation: 87*104=9048, Resulting Numbers: [9048] 9048,89 unequal: No Solution Exploring Operation: 87+104=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 104-87=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[12, 5], Operations: ['97-10=87', '92-87=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[92, 10, 85], Operations: ['97-12=85'] Exploring Operation: 92+10=102, Resulting Numbers: [85, 102] Generated Node #0,3,0: 89:[85, 102] Operation: 92+10=102 Exploring Operation: 85-10=75, Resulting Numbers: [92, 75] Generated Node #0,3,1: 89:[92, 75] Operation: 85-10=75 Exploring Operation: 10+85=95, Resulting Numbers: [92, 95] Generated Node #0,3,2: 89:[92, 95] Operation: 10+85=95 Exploring Operation: 92-85=7, Resulting Numbers: [10, 7] Generated Node #0,3,3: 89:[10, 7] Operation: 92-85=7 Exploring Operation: 92-10=82, Resulting Numbers: [85, 82] Generated Node #0,3,4: 89:[85, 82] Operation: 92-10=82 Moving to Node #0,3,2 Current State: 89:[92, 95], Operations: ['97-12=85', '10+85=95'] Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 92*95=8740, Resulting Numbers: [8740] 8740,89 unequal: No Solution Exploring Operation: 92+95=187, Resulting Numbers: [187] 187,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[85, 82], Operations: ['97-12=85', '92-10=82'] Exploring Operation: 85+82=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 85*82=6970, Resulting Numbers: [6970] 6970,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[85, 102], Operations: ['97-12=85', '92+10=102'] Exploring Operation: 102-85=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 85+102=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 85*102=8670, Resulting Numbers: [8670] 8670,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[92, 75], Operations: ['97-12=85', '85-10=75'] Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[10, 7], Operations: ['97-12=85', '92-85=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,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 Current State: 89:[97, 12, 82], Operations: ['92-10=82'] Exploring Operation: 97-82=15, Resulting Numbers: [12, 15] Generated Node #0,2,0: 89:[12, 15] Operation: 97-82=15 Exploring Operation: 82-12=70, Resulting Numbers: [97, 70] Generated Node #0,2,1: 89:[97, 70] Operation: 82-12=70 Exploring Operation: 97+12=109, Resulting Numbers: [82, 109] Generated Node #0,2,2: 89:[82, 109] Operation: 97+12=109 Exploring Operation: 97-12=85, Resulting Numbers: [82, 85] Generated Node #0,2,3: 89:[82, 85] Operation: 97-12=85 Exploring Operation: 12+82=94, Resulting Numbers: [97, 94] Generated Node #0,2,4: 89:[97, 94] Operation: 12+82=94 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[82, 85], Operations: ['92-10=82', '97-12=85'] Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 89:[97, 94], Operations: ['92-10=82', '12+82=94'] Exploring Operation: 97*94=9118, Resulting Numbers: [9118] 9118,89 unequal: No Solution Exploring Operation: 97+94=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 97-94=3, Resulting Numbers: [3] 3,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[97, 70], Operations: ['92-10=82', '82-12=70'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 97*70=6790, Resulting Numbers: [6790] 6790,89 unequal: No Solution Exploring Operation: 97+70=167, Resulting Numbers: [167] 167,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[82, 109], Operations: ['92-10=82', '97+12=109'] Exploring Operation: 82*109=8938, Resulting Numbers: [8938] 8938,89 unequal: No Solution Exploring Operation: 109-82=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 82+109=191, Resulting Numbers: [191] 191,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[12, 15], Operations: ['92-10=82', '97-82=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,89 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 80, 99, 70, 75 ]
24
[ "99-80=19", "75-70=5", "19+5=24" ]
Current State: 24:[80, 99, 70, 75], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [70, 75, 19] Generated Node #2: [70, 75, 19] from Operation: 99-80=19 Current State: 24:[70, 75, 19], Operations: ['99-80=19'] Exploring Operation: 75-70=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 75-70=5 Current State: 24:[19, 5], Operations: ['99-80=19', '75-70=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[80, 99, 70, 75], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [70, 75, 19] Generated Node #0,0: 24:[70, 75, 19] Operation: 99-80=19 Exploring Operation: 99-75=24, Resulting Numbers: [80, 70, 24] Generated Node #0,1: 24:[80, 70, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[70, 75, 19], Operations: ['99-80=19'] Exploring Operation: 70-19=51, Resulting Numbers: [75, 51] Generated Node #0,0,0: 24:[75, 51] Operation: 70-19=51 Exploring Operation: 75-70=5, Resulting Numbers: [19, 5] Generated Node #0,0,1: 24:[19, 5] Operation: 75-70=5 Moving to Node #0,0,1 Current State: 24:[19, 5], Operations: ['99-80=19', '75-70=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[80, 99, 70, 75], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [70, 75, 19] Generated Node #0,0: 24:[70, 75, 19] Operation: 99-80=19 Moving to Node #0,0 Current State: 24:[70, 75, 19], Operations: ['99-80=19'] Exploring Operation: 75-70=5, Resulting Numbers: [19, 5] Generated Node #0,0,1: 24:[19, 5] Operation: 75-70=5 Moving to Node #0,0,1 Current State: 24:[19, 5], Operations: ['99-80=19', '75-70=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 95, 62, 17, 52 ]
36
[ "95-62=33", "17+52=69", "69-33=36" ]
Current State: 36:[95, 62, 17, 52], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [17, 52, 33] Generated Node #2: [17, 52, 33] from Operation: 95-62=33 Current State: 36:[17, 52, 33], Operations: ['95-62=33'] Exploring Operation: 17+52=69, Resulting Numbers: [33, 69] Generated Node #3: [33, 69] from Operation: 17+52=69 Current State: 36:[33, 69], Operations: ['95-62=33', '17+52=69'] Exploring Operation: 69-33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[95, 62, 17, 52], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [95, 17, 10] Generated Node #0,0: 36:[95, 17, 10] Operation: 62-52=10 Exploring Operation: 95-62=33, Resulting Numbers: [17, 52, 33] Generated Node #0,1: 36:[17, 52, 33] Operation: 95-62=33 Exploring Operation: 95-52=43, Resulting Numbers: [62, 17, 43] Generated Node #0,2: 36:[62, 17, 43] Operation: 95-52=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[17, 52, 33], Operations: ['95-62=33'] Exploring Operation: 52-33=19, Resulting Numbers: [17, 19] Generated Node #0,1,0: 36:[17, 19] Operation: 52-33=19 Exploring Operation: 52-17=35, Resulting Numbers: [33, 35] Generated Node #0,1,1: 36:[33, 35] Operation: 52-17=35 Exploring Operation: 33-17=16, Resulting Numbers: [52, 16] Generated Node #0,1,2: 36:[52, 16] Operation: 33-17=16 Moving to Node #0,1,0 Current State: 36:[17, 19], Operations: ['95-62=33', '52-33=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,36 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[95, 62, 17, 52], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [17, 52, 33] Generated Node #0,1: 36:[17, 52, 33] Operation: 95-62=33 Moving to Node #0,1 Current State: 36:[17, 52, 33], Operations: ['95-62=33'] Exploring Operation: 52-33=19, Resulting Numbers: [17, 19] Generated Node #0,1,0: 36:[17, 19] Operation: 52-33=19 Moving to Node #0,1,0 Current State: 36:[17, 19], Operations: ['95-62=33', '52-33=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 24, 67, 1, 48 ]
70
[ "48/24=2", "67+1=68", "2+68=70" ]
Current State: 70:[24, 67, 1, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [67, 1, 2] Generated Node #2: [67, 1, 2] from Operation: 48/24=2 Current State: 70:[67, 1, 2], Operations: ['48/24=2'] Exploring Operation: 67+1=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 67+1=68 Current State: 70:[2, 68], Operations: ['48/24=2', '67+1=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[24, 67, 1, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [67, 1, 2] Generated Node #0,0: 70:[67, 1, 2] Operation: 48/24=2 Exploring Operation: 67-24=43, Resulting Numbers: [1, 48, 43] Generated Node #0,1: 70:[1, 48, 43] Operation: 67-24=43 Exploring Operation: 67-48=19, Resulting Numbers: [24, 1, 19] Generated Node #0,2: 70:[24, 1, 19] Operation: 67-48=19 Exploring Operation: 24+48=72, Resulting Numbers: [67, 1, 72] Generated Node #0,3: 70:[67, 1, 72] Operation: 24+48=72 Exploring Operation: 48-24=24, Resulting Numbers: [67, 1, 24] Generated Node #0,4: 70:[67, 1, 24] Operation: 48-24=24 Moving to Node #0,0 Current State: 70:[67, 1, 2], Operations: ['48/24=2'] Exploring Operation: 67+2=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 70:[1, 69] Operation: 67+2=69 Exploring Operation: 1*2=2, Resulting Numbers: [67, 2] Generated Node #0,0,1: 70:[67, 2] Operation: 1*2=2 Exploring Operation: 67+1=68, Resulting Numbers: [2, 68] Generated Node #0,0,2: 70:[2, 68] Operation: 67+1=68 Exploring Operation: 67*1=67, Resulting Numbers: [2, 67] Generated Node #0,0,3: 70:[2, 67] Operation: 67*1=67 Exploring Operation: 67/1=67, Resulting Numbers: [2, 67] Generated Node #0,0,4: 70:[2, 67] Operation: 67/1=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[1, 69], Operations: ['48/24=2', '67+2=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[24, 67, 1, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [67, 1, 2] Generated Node #0,0: 70:[67, 1, 2] Operation: 48/24=2 Moving to Node #0,0 Current State: 70:[67, 1, 2], Operations: ['48/24=2'] Exploring Operation: 67+2=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 70:[1, 69] Operation: 67+2=69 Moving to Node #0,0,0 Current State: 70:[1, 69], Operations: ['48/24=2', '67+2=69'] Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 21, 53, 98, 43 ]
19
[ "21+53=74", "98-43=55", "74-55=19" ]
Current State: 19:[21, 53, 98, 43], Operations: [] Exploring Operation: 21+53=74, Resulting Numbers: [98, 43, 74] Generated Node #2: [98, 43, 74] from Operation: 21+53=74 Current State: 19:[98, 43, 74], Operations: ['21+53=74'] Exploring Operation: 98-43=55, Resulting Numbers: [74, 55] Generated Node #3: [74, 55] from Operation: 98-43=55 Current State: 19:[74, 55], Operations: ['21+53=74', '98-43=55'] Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[21, 53, 98, 43], Operations: [] Exploring Operation: 98-53=45, Resulting Numbers: [21, 43, 45] Generated Node #0,0: 19:[21, 43, 45] Operation: 98-53=45 Exploring Operation: 98-43=55, Resulting Numbers: [21, 53, 55] Generated Node #0,1: 19:[21, 53, 55] Operation: 98-43=55 Moving to Node #0,0 Current State: 19:[21, 43, 45], Operations: ['98-53=45'] Exploring Operation: 45-43=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 19:[21, 2] Operation: 45-43=2 Exploring Operation: 43-21=22, Resulting Numbers: [45, 22] Generated Node #0,0,1: 19:[45, 22] Operation: 43-21=22 Moving to Node #0,1 Current State: 19:[21, 53, 55], Operations: ['98-43=55'] Exploring Operation: 53-21=32, Resulting Numbers: [55, 32] Generated Node #0,1,0: 19:[55, 32] Operation: 53-21=32 Exploring Operation: 55-53=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 19:[21, 2] Operation: 55-53=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[21, 2], Operations: ['98-43=55', '55-53=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[21, 53, 98, 43], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [21, 53, 55] Generated Node #0,1: 19:[21, 53, 55] Operation: 98-43=55 Moving to Node #0,1 Current State: 19:[21, 53, 55], Operations: ['98-43=55'] Exploring Operation: 55-53=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 19:[21, 2] Operation: 55-53=2 Moving to Node #0,1,1 Current State: 19:[21, 2], Operations: ['98-43=55', '55-53=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 16, 55, 28, 19 ]
44
[ "16+19=35", "55*28=1540", "1540/35=44" ]
Current State: 44:[16, 55, 28, 19], Operations: [] Exploring Operation: 16+19=35, Resulting Numbers: [55, 28, 35] Generated Node #2: [55, 28, 35] from Operation: 16+19=35 Current State: 44:[55, 28, 35], Operations: ['16+19=35'] Exploring Operation: 55*28=1540, Resulting Numbers: [35, 1540] Generated Node #3: [35, 1540] from Operation: 55*28=1540 Current State: 44:[35, 1540], Operations: ['16+19=35', '55*28=1540'] Exploring Operation: 1540/35=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[16, 55, 28, 19], Operations: [] Exploring Operation: 28-16=12, Resulting Numbers: [55, 19, 12] Generated Node #0,0: 44:[55, 19, 12] Operation: 28-16=12 Exploring Operation: 55-28=27, Resulting Numbers: [16, 19, 27] Generated Node #0,1: 44:[16, 19, 27] Operation: 55-28=27 Exploring Operation: 16+28=44, Resulting Numbers: [55, 19, 44] Generated Node #0,2: 44:[55, 19, 44] Operation: 16+28=44 Exploring Operation: 55-16=39, Resulting Numbers: [28, 19, 39] Generated Node #0,3: 44:[28, 19, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[16, 19, 27], Operations: ['55-28=27'] Exploring Operation: 19+27=46, Resulting Numbers: [16, 46] Generated Node #0,1,0: 44:[16, 46] Operation: 19+27=46 Exploring Operation: 16+27=43, Resulting Numbers: [19, 43] Generated Node #0,1,1: 44:[19, 43] Operation: 16+27=43 Exploring Operation: 19-16=3, Resulting Numbers: [27, 3] Generated Node #0,1,2: 44:[27, 3] Operation: 19-16=3 Exploring Operation: 27-16=11, Resulting Numbers: [19, 11] Generated Node #0,1,3: 44:[19, 11] Operation: 27-16=11 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[19, 11], Operations: ['55-28=27', '27-16=11'] Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,44 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,44 unequal: No Solution No 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: 44:[19, 43], Operations: ['55-28=27', '16+27=43'] Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,44 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,44 unequal: No Solution No 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: 44:[27, 3], Operations: ['55-28=27', '19-16=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,44 unequal: No Solution No 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: 44:[16, 46], Operations: ['55-28=27', '19+27=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,44 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,44 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: 44:[55, 19, 44], Operations: ['16+28=44'] Exploring Operation: 55-44=11, Resulting Numbers: [19, 11] Generated Node #0,2,0: 44:[19, 11] Operation: 55-44=11 Exploring Operation: 55+19=74, Resulting Numbers: [44, 74] Generated Node #0,2,1: 44:[44, 74] Operation: 55+19=74 Exploring Operation: 44-19=25, Resulting Numbers: [55, 25] Generated Node #0,2,2: 44:[55, 25] Operation: 44-19=25 Exploring Operation: 55-19=36, Resulting Numbers: [44, 36] Generated Node #0,2,3: 44:[44, 36] Operation: 55-19=36 Moving to Node #0,2,0 Current State: 44:[19, 11], Operations: ['16+28=44', '55-44=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,44 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[44, 36], Operations: ['16+28=44', '55-19=36'] Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[55, 25], Operations: ['16+28=44', '44-19=25'] Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,44 unequal: No Solution Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[44, 74], Operations: ['16+28=44', '55+19=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,44 unequal: No Solution Exploring Operation: 44*74=3256, Resulting Numbers: [3256] 3256,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,3 Current State: 44:[28, 19, 39], Operations: ['55-16=39'] Exploring Operation: 39-28=11, Resulting Numbers: [19, 11] Generated Node #0,3,0: 44:[19, 11] Operation: 39-28=11 Exploring Operation: 28-19=9, Resulting Numbers: [39, 9] Generated Node #0,3,1: 44:[39, 9] Operation: 28-19=9 Exploring Operation: 28+19=47, Resulting Numbers: [39, 47] Generated Node #0,3,2: 44:[39, 47] Operation: 28+19=47 Exploring Operation: 39-19=20, Resulting Numbers: [28, 20] Generated Node #0,3,3: 44:[28, 20] Operation: 39-19=20 Moving to Node #0,3,0 Current State: 44:[19, 11], Operations: ['55-16=39', '39-28=11'] Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,44 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[39, 9], Operations: ['55-16=39', '28-19=9'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[28, 20], Operations: ['55-16=39', '39-19=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,44 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[39, 47], Operations: ['55-16=39', '28+19=47'] Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,44 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,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,0 Current State: 44:[55, 19, 12], Operations: ['28-16=12'] Exploring Operation: 55-19=36, Resulting Numbers: [12, 36] Generated Node #0,0,0: 44:[12, 36] Operation: 55-19=36 Exploring Operation: 19+12=31, Resulting Numbers: [55, 31] Generated Node #0,0,1: 44:[55, 31] Operation: 19+12=31 Exploring Operation: 55-12=43, Resulting Numbers: [19, 43] Generated Node #0,0,2: 44:[19, 43] Operation: 55-12=43 Exploring Operation: 19-12=7, Resulting Numbers: [55, 7] Generated Node #0,0,3: 44:[55, 7] Operation: 19-12=7 Moving to Node #0,0,2 Current State: 44:[19, 43], Operations: ['28-16=12', '55-12=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[12, 36], Operations: ['28-16=12', '55-19=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[55, 7], Operations: ['28-16=12', '19-12=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[55, 31], Operations: ['28-16=12', '19+12=31'] Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,44 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,44 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
[ 75, 39, 24, 87 ]
41
[ "87-75=12", "24/12=2", "39+2=41" ]
Current State: 41:[75, 39, 24, 87], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [39, 24, 12] Generated Node #2: [39, 24, 12] from Operation: 87-75=12 Current State: 41:[39, 24, 12], Operations: ['87-75=12'] Exploring Operation: 24/12=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 24/12=2 Current State: 41:[39, 2], Operations: ['87-75=12', '24/12=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[75, 39, 24, 87], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [39, 24, 12] Generated Node #0,0: 41:[39, 24, 12] Operation: 87-75=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[39, 24, 12], Operations: ['87-75=12'] Exploring Operation: 24+12=36, Resulting Numbers: [39, 36] Generated Node #0,0,0: 41:[39, 36] Operation: 24+12=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[39, 36], Operations: ['87-75=12', '24+12=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,41 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
[ 27, 44, 29, 62 ]
20
[ "27+44=71", "29+62=91", "91-71=20" ]
Current State: 20:[27, 44, 29, 62], Operations: [] Exploring Operation: 27+44=71, Resulting Numbers: [29, 62, 71] Generated Node #2: [29, 62, 71] from Operation: 27+44=71 Current State: 20:[29, 62, 71], Operations: ['27+44=71'] Exploring Operation: 29+62=91, Resulting Numbers: [71, 91] Generated Node #3: [71, 91] from Operation: 29+62=91 Current State: 20:[71, 91], Operations: ['27+44=71', '29+62=91'] Exploring Operation: 91-71=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[27, 44, 29, 62], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [27, 44, 33] Generated Node #0,0: 20:[27, 44, 33] Operation: 62-29=33 Exploring Operation: 62-27=35, Resulting Numbers: [44, 29, 35] Generated Node #0,1: 20:[44, 29, 35] Operation: 62-27=35 Exploring Operation: 62-44=18, Resulting Numbers: [27, 29, 18] Generated Node #0,2: 20:[27, 29, 18] Operation: 62-44=18 Moving to Node #0,2 Current State: 20:[27, 29, 18], Operations: ['62-44=18'] Exploring Operation: 27-18=9, Resulting Numbers: [29, 9] Generated Node #0,2,0: 20:[29, 9] Operation: 27-18=9 Exploring Operation: 29-27=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 20:[18, 2] Operation: 29-27=2 Exploring Operation: 29-18=11, Resulting Numbers: [27, 11] Generated Node #0,2,2: 20:[27, 11] Operation: 29-18=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[18, 2], Operations: ['62-44=18', '29-27=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[27, 44, 29, 62], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [27, 29, 18] Generated Node #0,2: 20:[27, 29, 18] Operation: 62-44=18 Moving to Node #0,2 Current State: 20:[27, 29, 18], Operations: ['62-44=18'] Exploring Operation: 29-27=2, Resulting Numbers: [18, 2] Generated Node #0,2,1: 20:[18, 2] Operation: 29-27=2 Moving to Node #0,2,1 Current State: 20:[18, 2], Operations: ['62-44=18', '29-27=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 83, 3, 27, 23 ]
90
[ "83+3=86", "27-23=4", "86+4=90" ]
Current State: 90:[83, 3, 27, 23], Operations: [] Exploring Operation: 83+3=86, Resulting Numbers: [27, 23, 86] Generated Node #2: [27, 23, 86] from Operation: 83+3=86 Current State: 90:[27, 23, 86], Operations: ['83+3=86'] Exploring Operation: 27-23=4, Resulting Numbers: [86, 4] Generated Node #3: [86, 4] from Operation: 27-23=4 Current State: 90:[86, 4], Operations: ['83+3=86', '27-23=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[83, 3, 27, 23], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [83, 3, 4] Generated Node #0,0: 90:[83, 3, 4] Operation: 27-23=4 Exploring Operation: 3+27=30, Resulting Numbers: [83, 23, 30] Generated Node #0,1: 90:[83, 23, 30] Operation: 3+27=30 Exploring Operation: 27/3=9, Resulting Numbers: [83, 23, 9] Generated Node #0,2: 90:[83, 23, 9] Operation: 27/3=9 Exploring Operation: 83+3=86, Resulting Numbers: [27, 23, 86] Generated Node #0,3: 90:[27, 23, 86] Operation: 83+3=86 Exploring Operation: 23-3=20, Resulting Numbers: [83, 27, 20] Generated Node #0,4: 90:[83, 27, 20] Operation: 23-3=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[83, 3, 4], Operations: ['27-23=4'] Exploring Operation: 83+3=86, Resulting Numbers: [4, 86] Generated Node #0,0,0: 90:[4, 86] Operation: 83+3=86 Exploring Operation: 4-3=1, Resulting Numbers: [83, 1] Generated Node #0,0,1: 90:[83, 1] Operation: 4-3=1 Exploring Operation: 83+4=87, Resulting Numbers: [3, 87] Generated Node #0,0,2: 90:[3, 87] Operation: 83+4=87 Exploring Operation: 3*4=12, Resulting Numbers: [83, 12] Generated Node #0,0,3: 90:[83, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [83, 7] Generated Node #0,0,4: 90:[83, 7] Operation: 3+4=7 Moving to Node #0,0,2 Current State: 90:[3, 87], Operations: ['27-23=4', '83+4=87'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,90 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[83, 3, 27, 23], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [83, 3, 4] Generated Node #0,0: 90:[83, 3, 4] Operation: 27-23=4 Moving to Node #0,0 Current State: 90:[83, 3, 4], Operations: ['27-23=4'] Exploring Operation: 83+4=87, Resulting Numbers: [3, 87] Generated Node #0,0,2: 90:[3, 87] Operation: 83+4=87 Moving to Node #0,0,2 Current State: 90:[3, 87], Operations: ['27-23=4', '83+4=87'] Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 29, 21, 97, 9 ]
38
[ "29+21=50", "97-9=88", "88-50=38" ]
Current State: 38:[29, 21, 97, 9], Operations: [] Exploring Operation: 29+21=50, Resulting Numbers: [97, 9, 50] Generated Node #2: [97, 9, 50] from Operation: 29+21=50 Current State: 38:[97, 9, 50], Operations: ['29+21=50'] Exploring Operation: 97-9=88, Resulting Numbers: [50, 88] Generated Node #3: [50, 88] from Operation: 97-9=88 Current State: 38:[50, 88], Operations: ['29+21=50', '97-9=88'] Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[29, 21, 97, 9], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [29, 9, 76] Generated Node #0,0: 38:[29, 9, 76] Operation: 97-21=76 Exploring Operation: 97-29=68, Resulting Numbers: [21, 9, 68] Generated Node #0,1: 38:[21, 9, 68] Operation: 97-29=68 Exploring Operation: 29+9=38, Resulting Numbers: [21, 97, 38] Generated Node #0,2: 38:[21, 97, 38] Operation: 29+9=38 Moving to Node #0,1 Current State: 38:[21, 9, 68], Operations: ['97-29=68'] Exploring Operation: 21-9=12, Resulting Numbers: [68, 12] Generated Node #0,1,0: 38:[68, 12] Operation: 21-9=12 Exploring Operation: 68-21=47, Resulting Numbers: [9, 47] Generated Node #0,1,1: 38:[9, 47] Operation: 68-21=47 Exploring Operation: 68-9=59, Resulting Numbers: [21, 59] Generated Node #0,1,2: 38:[21, 59] Operation: 68-9=59 Moving to Node #0,0 Current State: 38:[29, 9, 76], Operations: ['97-21=76'] Exploring Operation: 76-9=67, Resulting Numbers: [29, 67] Generated Node #0,0,0: 38:[29, 67] Operation: 76-9=67 Exploring Operation: 29+9=38, Resulting Numbers: [76, 38] Generated Node #0,0,1: 38:[76, 38] Operation: 29+9=38 Exploring Operation: 76-29=47, Resulting Numbers: [9, 47] Generated Node #0,0,2: 38:[9, 47] Operation: 76-29=47 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[9, 47], Operations: ['97-21=76', '76-29=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,38 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,38 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[29, 21, 97, 9], Operations: [] Exploring Operation: 97-21=76, Resulting Numbers: [29, 9, 76] Generated Node #0,0: 38:[29, 9, 76] Operation: 97-21=76 Moving to Node #0,0 Current State: 38:[29, 9, 76], Operations: ['97-21=76'] Exploring Operation: 76-29=47, Resulting Numbers: [9, 47] Generated Node #0,0,2: 38:[9, 47] Operation: 76-29=47 Moving to Node #0,0,2 Current State: 38:[9, 47], Operations: ['97-21=76', '76-29=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 45, 90, 21, 39 ]
16
[ "90/45=2", "39-21=18", "18-2=16" ]
Current State: 16:[45, 90, 21, 39], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [21, 39, 2] Generated Node #2: [21, 39, 2] from Operation: 90/45=2 Current State: 16:[21, 39, 2], Operations: ['90/45=2'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 39-21=18 Current State: 16:[2, 18], Operations: ['90/45=2', '39-21=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[45, 90, 21, 39], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [45, 21, 51] Generated Node #0,0: 16:[45, 21, 51] Operation: 90-39=51 Exploring Operation: 90-45=45, Resulting Numbers: [21, 39, 45] Generated Node #0,1: 16:[21, 39, 45] Operation: 90-45=45 Exploring Operation: 45-21=24, Resulting Numbers: [90, 39, 24] Generated Node #0,2: 16:[90, 39, 24] Operation: 45-21=24 Exploring Operation: 90/45=2, Resulting Numbers: [21, 39, 2] Generated Node #0,3: 16:[21, 39, 2] Operation: 90/45=2 Exploring Operation: 45-39=6, Resulting Numbers: [90, 21, 6] Generated Node #0,4: 16:[90, 21, 6] Operation: 45-39=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[21, 39, 2], Operations: ['90/45=2'] Exploring Operation: 21-2=19, Resulting Numbers: [39, 19] Generated Node #0,3,0: 16:[39, 19] Operation: 21-2=19 Exploring Operation: 39-2=37, Resulting Numbers: [21, 37] Generated Node #0,3,1: 16:[21, 37] Operation: 39-2=37 Exploring Operation: 21+2=23, Resulting Numbers: [39, 23] Generated Node #0,3,2: 16:[39, 23] Operation: 21+2=23 Exploring Operation: 39+2=41, Resulting Numbers: [21, 41] Generated Node #0,3,3: 16:[21, 41] Operation: 39+2=41 Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,3,4: 16:[2, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 16:[2, 18], Operations: ['90/45=2', '39-21=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[45, 90, 21, 39], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [21, 39, 2] Generated Node #0,3: 16:[21, 39, 2] Operation: 90/45=2 Moving to Node #0,3 Current State: 16:[21, 39, 2], Operations: ['90/45=2'] Exploring Operation: 39-21=18, Resulting Numbers: [2, 18] Generated Node #0,3,4: 16:[2, 18] Operation: 39-21=18 Moving to Node #0,3,4 Current State: 16:[2, 18], Operations: ['90/45=2', '39-21=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 18, 58, 56, 63 ]
54
[ "58-56=2", "18/2=9", "63-9=54" ]
Current State: 54:[18, 58, 56, 63], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [18, 63, 2] Generated Node #2: [18, 63, 2] from Operation: 58-56=2 Current State: 54:[18, 63, 2], Operations: ['58-56=2'] Exploring Operation: 18/2=9, Resulting Numbers: [63, 9] Generated Node #3: [63, 9] from Operation: 18/2=9 Current State: 54:[63, 9], Operations: ['58-56=2', '18/2=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[18, 58, 56, 63], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [18, 56, 5] Generated Node #0,0: 54:[18, 56, 5] Operation: 63-58=5 Moving to Node #0,0 Current State: 54:[18, 56, 5], Operations: ['63-58=5'] Exploring Operation: 56-5=51, Resulting Numbers: [18, 51] Generated Node #0,0,0: 54:[18, 51] Operation: 56-5=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[18, 51], Operations: ['63-58=5', '56-5=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,54 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
[ 5, 94, 4, 93 ]
89
[ "5*93=465", "94*4=376", "465-376=89" ]
Current State: 89:[5, 94, 4, 93], Operations: [] Exploring Operation: 5*93=465, Resulting Numbers: [94, 4, 465] Generated Node #2: [94, 4, 465] from Operation: 5*93=465 Current State: 89:[94, 4, 465], Operations: ['5*93=465'] Exploring Operation: 94*4=376, Resulting Numbers: [465, 376] Generated Node #3: [465, 376] from Operation: 94*4=376 Current State: 89:[465, 376], Operations: ['5*93=465', '94*4=376'] Exploring Operation: 465-376=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[5, 94, 4, 93], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [4, 93, 89] Generated Node #0,0: 89:[4, 93, 89] Operation: 94-5=89 Exploring Operation: 5*4=20, Resulting Numbers: [94, 93, 20] Generated Node #0,1: 89:[94, 93, 20] Operation: 5*4=20 Moving to Node #0,1 Current State: 89:[94, 93, 20], Operations: ['5*4=20'] Exploring Operation: 94-20=74, Resulting Numbers: [93, 74] Generated Node #0,1,0: 89:[93, 74] Operation: 94-20=74 Exploring Operation: 93-20=73, Resulting Numbers: [94, 73] Generated Node #0,1,1: 89:[94, 73] Operation: 93-20=73 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[93, 74], Operations: ['5*4=20', '94-20=74'] Exploring Operation: 93+74=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,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:[94, 73], Operations: ['5*4=20', '93-20=73'] Exploring Operation: 94+73=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[4, 93, 89], Operations: ['94-5=89'] Exploring Operation: 93-4=89, Resulting Numbers: [89, 89] Generated Node #0,0,0: 89:[89, 89] Operation: 93-4=89 Exploring Operation: 4+93=97, Resulting Numbers: [89, 97] Generated Node #0,0,1: 89:[89, 97] Operation: 4+93=97 Moving to Node #0,0,0 Current State: 89:[89, 89], Operations: ['94-5=89', '93-4=89'] Exploring Operation: 89/89=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 89+89=178, Resulting Numbers: [178] 178,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[89, 97], Operations: ['94-5=89', '4+93=97'] Exploring Operation: 89+97=186, Resulting Numbers: [186] 186,89 unequal: No Solution Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 40, 18, 35, 54 ]
77
[ "40+18=58", "54-35=19", "58+19=77" ]
Current State: 77:[40, 18, 35, 54], Operations: [] Exploring Operation: 40+18=58, Resulting Numbers: [35, 54, 58] Generated Node #2: [35, 54, 58] from Operation: 40+18=58 Current State: 77:[35, 54, 58], Operations: ['40+18=58'] Exploring Operation: 54-35=19, Resulting Numbers: [58, 19] Generated Node #3: [58, 19] from Operation: 54-35=19 Current State: 77:[58, 19], Operations: ['40+18=58', '54-35=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[40, 18, 35, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [40, 18, 19] Generated Node #0,0: 77:[40, 18, 19] Operation: 54-35=19 Exploring Operation: 40+35=75, Resulting Numbers: [18, 54, 75] Generated Node #0,1: 77:[18, 54, 75] Operation: 40+35=75 Exploring Operation: 40+54=94, Resulting Numbers: [18, 35, 94] Generated Node #0,2: 77:[18, 35, 94] Operation: 40+54=94 Exploring Operation: 40-35=5, Resulting Numbers: [18, 54, 5] Generated Node #0,3: 77:[18, 54, 5] Operation: 40-35=5 Exploring Operation: 54-40=14, Resulting Numbers: [18, 35, 14] Generated Node #0,4: 77:[18, 35, 14] Operation: 54-40=14 Moving to Node #0,1 Current State: 77:[18, 54, 75], Operations: ['40+35=75'] Exploring Operation: 75-54=21, Resulting Numbers: [18, 21] Generated Node #0,1,0: 77:[18, 21] Operation: 75-54=21 Exploring Operation: 18+54=72, Resulting Numbers: [75, 72] Generated Node #0,1,1: 77:[75, 72] Operation: 18+54=72 Exploring Operation: 54-18=36, Resulting Numbers: [75, 36] Generated Node #0,1,2: 77:[75, 36] Operation: 54-18=36 Exploring Operation: 18+75=93, Resulting Numbers: [54, 93] Generated Node #0,1,3: 77:[54, 93] Operation: 18+75=93 Exploring Operation: 54/18=3, Resulting Numbers: [75, 3] Generated Node #0,1,4: 77:[75, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 77:[75, 3], Operations: ['40+35=75', '54/18=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,77 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[75, 72], Operations: ['40+35=75', '18+54=72'] Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 75+72=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 75*72=5400, Resulting Numbers: [5400] 5400,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[18, 21], Operations: ['40+35=75', '75-54=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[75, 36], Operations: ['40+35=75', '54-18=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,77 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[54, 93], Operations: ['40+35=75', '18+75=93'] Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 54+93=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 54*93=5022, Resulting Numbers: [5022] 5022,77 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: 77:[18, 54, 5], Operations: ['40-35=5'] Exploring Operation: 18-5=13, Resulting Numbers: [54, 13] Generated Node #0,3,0: 77:[54, 13] Operation: 18-5=13 Exploring Operation: 54-18=36, Resulting Numbers: [5, 36] Generated Node #0,3,1: 77:[5, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [5, 3] Generated Node #0,3,2: 77:[5, 3] Operation: 54/18=3 Exploring Operation: 18+54=72, Resulting Numbers: [5, 72] Generated Node #0,3,3: 77:[5, 72] Operation: 18+54=72 Exploring Operation: 54+5=59, Resulting Numbers: [18, 59] Generated Node #0,3,4: 77:[18, 59] Operation: 54+5=59 Moving to Node #0,4 Current State: 77:[18, 35, 14], Operations: ['54-40=14'] Exploring Operation: 35-14=21, Resulting Numbers: [18, 21] Generated Node #0,4,0: 77:[18, 21] Operation: 35-14=21 Exploring Operation: 35+14=49, Resulting Numbers: [18, 49] Generated Node #0,4,1: 77:[18, 49] Operation: 35+14=49 Exploring Operation: 35-18=17, Resulting Numbers: [14, 17] Generated Node #0,4,2: 77:[14, 17] Operation: 35-18=17 Exploring Operation: 18-14=4, Resulting Numbers: [35, 4] Generated Node #0,4,3: 77:[35, 4] Operation: 18-14=4 Exploring Operation: 18+35=53, Resulting Numbers: [14, 53] Generated Node #0,4,4: 77:[14, 53] Operation: 18+35=53 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[14, 17], Operations: ['54-40=14', '35-18=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,77 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[18, 21], Operations: ['54-40=14', '35-14=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,77 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[35, 4], Operations: ['54-40=14', '18-14=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 77:[14, 53], Operations: ['54-40=14', '18+35=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,77 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[18, 49], Operations: ['54-40=14', '35+14=49'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,77 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,77 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: 77:[40, 18, 19], Operations: ['54-35=19'] Exploring Operation: 19-18=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 77:[40, 1] Operation: 19-18=1 Exploring Operation: 40-18=22, Resulting Numbers: [19, 22] Generated Node #0,0,1: 77:[19, 22] Operation: 40-18=22 Exploring Operation: 40+19=59, Resulting Numbers: [18, 59] Generated Node #0,0,2: 77:[18, 59] Operation: 40+19=59 Exploring Operation: 40-19=21, Resulting Numbers: [18, 21] Generated Node #0,0,3: 77:[18, 21] Operation: 40-19=21 Exploring Operation: 40+18=58, Resulting Numbers: [19, 58] Generated Node #0,0,4: 77:[19, 58] Operation: 40+18=58 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[18, 21], Operations: ['54-35=19', '40-19=21'] Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,77 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[19, 22], Operations: ['54-35=19', '40-18=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,77 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[18, 59], Operations: ['54-35=19', '40+19=59'] Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,77 unequal: No Solution Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[40, 18, 35, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [40, 18, 19] Generated Node #0,0: 77:[40, 18, 19] Operation: 54-35=19 Moving to Node #0,0 Current State: 77:[40, 18, 19], Operations: ['54-35=19'] Exploring Operation: 40+19=59, Resulting Numbers: [18, 59] Generated Node #0,0,2: 77:[18, 59] Operation: 40+19=59 Moving to Node #0,0,2 Current State: 77:[18, 59], Operations: ['54-35=19', '40+19=59'] Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
mult_heuristic
[ 4, 87, 23, 15 ]
20
[ "4*23=92", "87-15=72", "92-72=20" ]
Current State: 20:[4, 87, 23, 15], Operations: [] Exploring Operation: 4*23=92, Resulting Numbers: [87, 15, 92] Generated Node #2: [87, 15, 92] from Operation: 4*23=92 Current State: 20:[87, 15, 92], Operations: ['4*23=92'] Exploring Operation: 87-15=72, Resulting Numbers: [92, 72] Generated Node #3: [92, 72] from Operation: 87-15=72 Current State: 20:[92, 72], Operations: ['4*23=92', '87-15=72'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[4, 87, 23, 15], Operations: [] Exploring Operation: 87-23=64, Resulting Numbers: [4, 15, 64] Generated Node #0,0: 20:[4, 15, 64] Operation: 87-23=64 Exploring Operation: 87-4=83, Resulting Numbers: [23, 15, 83] Generated Node #0,1: 20:[23, 15, 83] Operation: 87-4=83 Exploring Operation: 4+15=19, Resulting Numbers: [87, 23, 19] Generated Node #0,2: 20:[87, 23, 19] Operation: 4+15=19 Exploring Operation: 87-15=72, Resulting Numbers: [4, 23, 72] Generated Node #0,3: 20:[4, 23, 72] Operation: 87-15=72 Exploring Operation: 23-15=8, Resulting Numbers: [4, 87, 8] Generated Node #0,4: 20:[4, 87, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[4, 15, 64], Operations: ['87-23=64'] Exploring Operation: 15-4=11, Resulting Numbers: [64, 11] Generated Node #0,0,0: 20:[64, 11] Operation: 15-4=11 Exploring Operation: 64-15=49, Resulting Numbers: [4, 49] Generated Node #0,0,1: 20:[4, 49] Operation: 64-15=49 Exploring Operation: 4+15=19, Resulting Numbers: [64, 19] Generated Node #0,0,2: 20:[64, 19] Operation: 4+15=19 Exploring Operation: 64-4=60, Resulting Numbers: [15, 60] Generated Node #0,0,3: 20:[15, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [15, 16] Generated Node #0,0,4: 20:[15, 16] Operation: 64/4=16 Moving to Node #0,0,4 Current State: 20:[15, 16], Operations: ['87-23=64', '64/4=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,20 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[4, 49], Operations: ['87-23=64', '64-15=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[64, 11], Operations: ['87-23=64', '15-4=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[64, 19], Operations: ['87-23=64', '4+15=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,20 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[15, 60], Operations: ['87-23=64', '64-4=60'] Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 15*60=900, Resulting Numbers: [900] 900,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[4, 23, 72], Operations: ['87-15=72'] Exploring Operation: 23-4=19, Resulting Numbers: [72, 19] Generated Node #0,3,0: 20:[72, 19] Operation: 23-4=19 Exploring Operation: 72-23=49, Resulting Numbers: [4, 49] Generated Node #0,3,1: 20:[4, 49] Operation: 72-23=49 Exploring Operation: 72-4=68, Resulting Numbers: [23, 68] Generated Node #0,3,2: 20:[23, 68] Operation: 72-4=68 Exploring Operation: 4+23=27, Resulting Numbers: [72, 27] Generated Node #0,3,3: 20:[72, 27] Operation: 4+23=27 Exploring Operation: 72/4=18, Resulting Numbers: [23, 18] Generated Node #0,3,4: 20:[23, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[23, 18], Operations: ['87-15=72', '72/4=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,20 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,20 unequal: No Solution No 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: 20:[4, 49], Operations: ['87-15=72', '72-23=49'] Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,20 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,20 unequal: No Solution No 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: 20:[23, 68], Operations: ['87-15=72', '72-4=68'] Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,20 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,20 unequal: No Solution No 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: 20:[72, 19], Operations: ['87-15=72', '23-4=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,20 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,20 unequal: No Solution No 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: 20:[72, 27], Operations: ['87-15=72', '4+23=27'] Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,20 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,20 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: 20:[4, 87, 8], Operations: ['23-15=8'] Exploring Operation: 87-4=83, Resulting Numbers: [8, 83] Generated Node #0,4,0: 20:[8, 83] Operation: 87-4=83 Exploring Operation: 8/4=2, Resulting Numbers: [87, 2] Generated Node #0,4,1: 20:[87, 2] Operation: 8/4=2 Exploring Operation: 4+8=12, Resulting Numbers: [87, 12] Generated Node #0,4,2: 20:[87, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [87, 4] Generated Node #0,4,3: 20:[87, 4] Operation: 8-4=4 Exploring Operation: 87-8=79, Resulting Numbers: [4, 79] Generated Node #0,4,4: 20:[4, 79] Operation: 87-8=79 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 20:[4, 79], Operations: ['23-15=8', '87-8=79'] Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,20 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[8, 83], Operations: ['23-15=8', '87-4=83'] Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,20 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 20:[87, 2], Operations: ['23-15=8', '8/4=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,20 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,20 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 20:[87, 4], Operations: ['23-15=8', '8-4=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 20:[87, 12], Operations: ['23-15=8', '4+8=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,20 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,20 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: 20:[23, 15, 83], Operations: ['87-4=83'] Exploring Operation: 83-23=60, Resulting Numbers: [15, 60] Generated Node #0,1,0: 20:[15, 60] Operation: 83-23=60 Exploring Operation: 23-15=8, Resulting Numbers: [83, 8] Generated Node #0,1,1: 20:[83, 8] Operation: 23-15=8 Exploring Operation: 83-15=68, Resulting Numbers: [23, 68] Generated Node #0,1,2: 20:[23, 68] Operation: 83-15=68 Exploring Operation: 15+83=98, Resulting Numbers: [23, 98] Generated Node #0,1,3: 20:[23, 98] Operation: 15+83=98 Exploring Operation: 23+15=38, Resulting Numbers: [83, 38] Generated Node #0,1,4: 20:[83, 38] Operation: 23+15=38 Moving to Node #0,1,0 Current State: 20:[15, 60], Operations: ['87-4=83', '83-23=60'] Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 15*60=900, Resulting Numbers: [900] 900,20 unequal: No Solution Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[23, 68], Operations: ['87-4=83', '83-15=68'] Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,20 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[83, 8], Operations: ['87-4=83', '23-15=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,20 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[23, 98], Operations: ['87-4=83', '15+83=98'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 23+98=121, Resulting Numbers: [121] 121,20 unequal: No Solution Exploring Operation: 23*98=2254, Resulting Numbers: [2254] 2254,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[83, 38], Operations: ['87-4=83', '23+15=38'] Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,20 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[87, 23, 19], Operations: ['4+15=19'] Exploring Operation: 87-19=68, Resulting Numbers: [23, 68] Generated Node #0,2,0: 20:[23, 68] Operation: 87-19=68 Exploring Operation: 23+19=42, Resulting Numbers: [87, 42] Generated Node #0,2,1: 20:[87, 42] Operation: 23+19=42 Exploring Operation: 87-23=64, Resulting Numbers: [19, 64] Generated Node #0,2,2: 20:[19, 64] Operation: 87-23=64 Exploring Operation: 87+19=106, Resulting Numbers: [23, 106] Generated Node #0,2,3: 20:[23, 106] Operation: 87+19=106 Exploring Operation: 23-19=4, Resulting Numbers: [87, 4] Generated Node #0,2,4: 20:[87, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[19, 64], Operations: ['4+15=19', '87-23=64'] Exploring Operation: 19+64=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 19*64=1216, Resulting Numbers: [1216] 1216,20 unequal: No Solution No 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: 20:[23, 68], Operations: ['4+15=19', '87-19=68'] Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,20 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,20 unequal: No Solution No 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: 20:[87, 4], Operations: ['4+15=19', '23-19=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,20 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,20 unequal: No Solution No 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: 20:[87, 42], Operations: ['4+15=19', '23+19=42'] Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,20 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,20 unequal: No Solution No 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: 20:[23, 106], Operations: ['4+15=19', '87+19=106'] Exploring Operation: 106-23=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 23*106=2438, Resulting Numbers: [2438] 2438,20 unequal: No Solution Exploring Operation: 23+106=129, Resulting Numbers: [129] 129,20 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
[ 58, 89, 3, 17 ]
82
[ "89-58=31", "3*17=51", "31+51=82" ]
Current State: 82:[58, 89, 3, 17], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [3, 17, 31] Generated Node #2: [3, 17, 31] from Operation: 89-58=31 Current State: 82:[3, 17, 31], Operations: ['89-58=31'] Exploring Operation: 3*17=51, Resulting Numbers: [31, 51] Generated Node #3: [31, 51] from Operation: 3*17=51 Current State: 82:[31, 51], Operations: ['89-58=31', '3*17=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[58, 89, 3, 17], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [89, 3, 41] Generated Node #0,0: 82:[89, 3, 41] Operation: 58-17=41 Exploring Operation: 89-58=31, Resulting Numbers: [3, 17, 31] Generated Node #0,1: 82:[3, 17, 31] Operation: 89-58=31 Exploring Operation: 89-17=72, Resulting Numbers: [58, 3, 72] Generated Node #0,2: 82:[58, 3, 72] Operation: 89-17=72 Exploring Operation: 58+17=75, Resulting Numbers: [89, 3, 75] Generated Node #0,3: 82:[89, 3, 75] Operation: 58+17=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[89, 3, 41], Operations: ['58-17=41'] Exploring Operation: 89-41=48, Resulting Numbers: [3, 48] Generated Node #0,0,0: 82:[3, 48] Operation: 89-41=48 Exploring Operation: 3+41=44, Resulting Numbers: [89, 44] Generated Node #0,0,1: 82:[89, 44] Operation: 3+41=44 Exploring Operation: 89+3=92, Resulting Numbers: [41, 92] Generated Node #0,0,2: 82:[41, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [41, 86] Generated Node #0,0,3: 82:[41, 86] Operation: 89-3=86 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[41, 86], Operations: ['58-17=41', '89-3=86'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,82 unequal: No Solution Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[3, 48], Operations: ['58-17=41', '89-41=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[89, 44], Operations: ['58-17=41', '3+41=44'] Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,82 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[41, 92], Operations: ['58-17=41', '89+3=92'] Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,82 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[89, 3, 75], Operations: ['58+17=75'] Exploring Operation: 3+75=78, Resulting Numbers: [89, 78] Generated Node #0,3,0: 82:[89, 78] Operation: 3+75=78 Exploring Operation: 89-3=86, Resulting Numbers: [75, 86] Generated Node #0,3,1: 82:[75, 86] Operation: 89-3=86 Exploring Operation: 89+3=92, Resulting Numbers: [75, 92] Generated Node #0,3,2: 82:[75, 92] Operation: 89+3=92 Exploring Operation: 89-75=14, Resulting Numbers: [3, 14] Generated Node #0,3,3: 82:[3, 14] Operation: 89-75=14 Moving to Node #0,3,0 Current State: 82:[89, 78], Operations: ['58+17=75', '3+75=78'] Exploring Operation: 89+78=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 89*78=6942, Resulting Numbers: [6942] 6942,82 unequal: No Solution Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[75, 86], Operations: ['58+17=75', '89-3=86'] Exploring Operation: 75*86=6450, Resulting Numbers: [6450] 6450,82 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 75+86=161, Resulting Numbers: [161] 161,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[3, 14], Operations: ['58+17=75', '89-75=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[75, 92], Operations: ['58+17=75', '89+3=92'] Exploring Operation: 75+92=167, Resulting Numbers: [167] 167,82 unequal: No Solution Exploring Operation: 75*92=6900, Resulting Numbers: [6900] 6900,82 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[3, 17, 31], Operations: ['89-58=31'] Exploring Operation: 31-17=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 82:[3, 14] Operation: 31-17=14 Exploring Operation: 17+31=48, Resulting Numbers: [3, 48] Generated Node #0,1,1: 82:[3, 48] Operation: 17+31=48 Exploring Operation: 3*17=51, Resulting Numbers: [31, 51] Generated Node #0,1,2: 82:[31, 51] Operation: 3*17=51 Exploring Operation: 17-3=14, Resulting Numbers: [31, 14] Generated Node #0,1,3: 82:[31, 14] Operation: 17-3=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[3, 48], Operations: ['89-58=31', '17+31=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[3, 14], Operations: ['89-58=31', '31-17=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[31, 51], Operations: ['89-58=31', '3*17=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[58, 89, 3, 17], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [3, 17, 31] Generated Node #0,1: 82:[3, 17, 31] Operation: 89-58=31 Moving to Node #0,1 Current State: 82:[3, 17, 31], Operations: ['89-58=31'] Exploring Operation: 3*17=51, Resulting Numbers: [31, 51] Generated Node #0,1,2: 82:[31, 51] Operation: 3*17=51 Moving to Node #0,1,2 Current State: 82:[31, 51], Operations: ['89-58=31', '3*17=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953125
hs_4
sum_heuristic
[ 2, 76, 72, 8 ]
96
[ "76+8=84", "2*84=168", "168-72=96" ]
Current State: 96:[2, 76, 72, 8], Operations: [] Exploring Operation: 76+8=84, Resulting Numbers: [2, 72, 84] Generated Node #2: [2, 72, 84] from Operation: 76+8=84 Current State: 96:[2, 72, 84], Operations: ['76+8=84'] Exploring Operation: 2*84=168, Resulting Numbers: [72, 168] Generated Node #3: [72, 168] from Operation: 2*84=168 Current State: 96:[72, 168], Operations: ['76+8=84', '2*84=168'] Exploring Operation: 168-72=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 76, 72, 8], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [2, 76, 9] Generated Node #0,0: 96:[2, 76, 9] Operation: 72/8=9 Exploring Operation: 76/2=38, Resulting Numbers: [72, 8, 38] Generated Node #0,1: 96:[72, 8, 38] Operation: 76/2=38 Exploring Operation: 76-72=4, Resulting Numbers: [2, 8, 4] Generated Node #0,2: 96:[2, 8, 4] Operation: 76-72=4 Exploring Operation: 72/2=36, Resulting Numbers: [76, 8, 36] Generated Node #0,3: 96:[76, 8, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[2, 8, 4], Operations: ['76-72=4'] Exploring Operation: 2+4=6, Resulting Numbers: [8, 6] Generated Node #0,2,0: 96:[8, 6] Operation: 2+4=6 Exploring Operation: 8/2=4, Resulting Numbers: [4, 4] Generated Node #0,2,1: 96:[4, 4] Operation: 8/2=4 Exploring Operation: 2*8=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 96:[4, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [4, 6] Generated Node #0,2,3: 96:[4, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[8, 6], Operations: ['76-72=4', '2+4=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[4, 4], Operations: ['76-72=4', '8/2=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[4, 16], Operations: ['76-72=4', '2*8=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 96:[4, 6], Operations: ['76-72=4', '8-2=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[2, 76, 9], Operations: ['72/8=9'] Exploring Operation: 76+9=85, Resulting Numbers: [2, 85] Generated Node #0,0,0: 96:[2, 85] Operation: 76+9=85 Exploring Operation: 76/2=38, Resulting Numbers: [9, 38] Generated Node #0,0,1: 96:[9, 38] Operation: 76/2=38 Exploring Operation: 2+76=78, Resulting Numbers: [9, 78] Generated Node #0,0,2: 96:[9, 78] Operation: 2+76=78 Exploring Operation: 76-9=67, Resulting Numbers: [2, 67] Generated Node #0,0,3: 96:[2, 67] Operation: 76-9=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[9, 38], Operations: ['72/8=9', '76/2=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[2, 85], Operations: ['72/8=9', '76+9=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,96 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[9, 78], Operations: ['72/8=9', '2+76=78'] Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,96 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[2, 67], Operations: ['72/8=9', '76-9=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,96 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[76, 8, 36], Operations: ['72/2=36'] Exploring Operation: 76-8=68, Resulting Numbers: [36, 68] Generated Node #0,3,0: 96:[36, 68] Operation: 76-8=68 Exploring Operation: 76-36=40, Resulting Numbers: [8, 40] Generated Node #0,3,1: 96:[8, 40] Operation: 76-36=40 Exploring Operation: 76+36=112, Resulting Numbers: [8, 112] Generated Node #0,3,2: 96:[8, 112] Operation: 76+36=112 Exploring Operation: 76+8=84, Resulting Numbers: [36, 84] Generated Node #0,3,3: 96:[36, 84] Operation: 76+8=84 Moving to Node #0,3,1 Current State: 96:[8, 40], Operations: ['72/2=36', '76-36=40'] Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,96 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[36, 84], Operations: ['72/2=36', '76+8=84'] Exploring Operation: 36*84=3024, Resulting Numbers: [3024] 3024,96 unequal: No Solution Exploring Operation: 36+84=120, Resulting Numbers: [120] 120,96 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[8, 112], Operations: ['72/2=36', '76+36=112'] Exploring Operation: 112-8=104, Resulting Numbers: [104] 104,96 unequal: No Solution Exploring Operation: 8+112=120, Resulting Numbers: [120] 120,96 unequal: No Solution Exploring Operation: 8*112=896, Resulting Numbers: [896] 896,96 unequal: No Solution Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[36, 68], Operations: ['72/2=36', '76-8=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,96 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,96 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[72, 8, 38], Operations: ['76/2=38'] Exploring Operation: 72-38=34, Resulting Numbers: [8, 34] Generated Node #0,1,0: 96:[8, 34] Operation: 72-38=34 Exploring Operation: 72/8=9, Resulting Numbers: [38, 9] Generated Node #0,1,1: 96:[38, 9] Operation: 72/8=9 Exploring Operation: 72+8=80, Resulting Numbers: [38, 80] Generated Node #0,1,2: 96:[38, 80] Operation: 72+8=80 Exploring Operation: 72+38=110, Resulting Numbers: [8, 110] Generated Node #0,1,3: 96:[8, 110] Operation: 72+38=110 Moving to Node #0,1,0 Current State: 96:[8, 34], Operations: ['76/2=38', '72-38=34'] Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,96 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[38, 9], Operations: ['76/2=38', '72/8=9'] Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,96 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[8, 110], Operations: ['76/2=38', '72+38=110'] Exploring Operation: 8*110=880, Resulting Numbers: [880] 880,96 unequal: No Solution Exploring Operation: 8+110=118, Resulting Numbers: [118] 118,96 unequal: No Solution Exploring Operation: 110-8=102, Resulting Numbers: [102] 102,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[38, 80], Operations: ['76/2=38', '72+8=80'] Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,96 unequal: No Solution Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,96 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,96 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
[ 58, 35, 84, 32 ]
37
[ "84+32=116", "116/58=2", "35+2=37" ]
Current State: 37:[58, 35, 84, 32], Operations: [] Exploring Operation: 84+32=116, Resulting Numbers: [58, 35, 116] Generated Node #2: [58, 35, 116] from Operation: 84+32=116 Current State: 37:[58, 35, 116], Operations: ['84+32=116'] Exploring Operation: 116/58=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 116/58=2 Current State: 37:[35, 2], Operations: ['84+32=116', '116/58=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[58, 35, 84, 32], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [58, 32, 49] Generated Node #0,0: 37:[58, 32, 49] Operation: 84-35=49 Exploring Operation: 84-58=26, Resulting Numbers: [35, 32, 26] Generated Node #0,1: 37:[35, 32, 26] Operation: 84-58=26 Exploring Operation: 84-32=52, Resulting Numbers: [58, 35, 52] Generated Node #0,2: 37:[58, 35, 52] Operation: 84-32=52 Exploring Operation: 58-32=26, Resulting Numbers: [35, 84, 26] Generated Node #0,3: 37:[35, 84, 26] Operation: 58-32=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[35, 32, 26], Operations: ['84-58=26'] Exploring Operation: 35+26=61, Resulting Numbers: [32, 61] Generated Node #0,1,0: 37:[32, 61] Operation: 35+26=61 Exploring Operation: 35-26=9, Resulting Numbers: [32, 9] Generated Node #0,1,1: 37:[32, 9] Operation: 35-26=9 Exploring Operation: 32+26=58, Resulting Numbers: [35, 58] Generated Node #0,1,2: 37:[35, 58] Operation: 32+26=58 Exploring Operation: 32-26=6, Resulting Numbers: [35, 6] Generated Node #0,1,3: 37:[35, 6] Operation: 32-26=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[35, 58], Operations: ['84-58=26', '32+26=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[32, 61], Operations: ['84-58=26', '35+26=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,37 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[32, 9], Operations: ['84-58=26', '35-26=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[35, 6], Operations: ['84-58=26', '32-26=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,37 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,37 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: 37:[58, 32, 49], Operations: ['84-35=49'] Exploring Operation: 58-32=26, Resulting Numbers: [49, 26] Generated Node #0,0,0: 37:[49, 26] Operation: 58-32=26 Exploring Operation: 49-32=17, Resulting Numbers: [58, 17] Generated Node #0,0,1: 37:[58, 17] Operation: 49-32=17 Exploring Operation: 58+32=90, Resulting Numbers: [49, 90] Generated Node #0,0,2: 37:[49, 90] Operation: 58+32=90 Exploring Operation: 58-49=9, Resulting Numbers: [32, 9] Generated Node #0,0,3: 37:[32, 9] Operation: 58-49=9 Moving to Node #0,0,0 Current State: 37:[49, 26], Operations: ['84-35=49', '58-32=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,37 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[32, 9], Operations: ['84-35=49', '58-49=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[58, 17], Operations: ['84-35=49', '49-32=17'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[49, 90], Operations: ['84-35=49', '58+32=90'] Exploring Operation: 49*90=4410, Resulting Numbers: [4410] 4410,37 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 49+90=139, Resulting Numbers: [139] 139,37 unequal: No Solution No 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: 37:[58, 35, 52], Operations: ['84-32=52'] Exploring Operation: 58-52=6, Resulting Numbers: [35, 6] Generated Node #0,2,0: 37:[35, 6] Operation: 58-52=6 Exploring Operation: 52-35=17, Resulting Numbers: [58, 17] Generated Node #0,2,1: 37:[58, 17] Operation: 52-35=17 Exploring Operation: 58-35=23, Resulting Numbers: [52, 23] Generated Node #0,2,2: 37:[52, 23] Operation: 58-35=23 Exploring Operation: 58+35=93, Resulting Numbers: [52, 93] Generated Node #0,2,3: 37:[52, 93] Operation: 58+35=93 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[52, 23], Operations: ['84-32=52', '58-35=23'] Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,37 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[35, 6], Operations: ['84-32=52', '58-52=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,37 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[58, 17], Operations: ['84-32=52', '52-35=17'] Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,37 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[52, 93], Operations: ['84-32=52', '58+35=93'] Exploring Operation: 52*93=4836, Resulting Numbers: [4836] 4836,37 unequal: No Solution Exploring Operation: 52+93=145, Resulting Numbers: [145] 145,37 unequal: No Solution Exploring Operation: 93-52=41, Resulting Numbers: [41] 41,37 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: 37:[35, 84, 26], Operations: ['58-32=26'] Exploring Operation: 84-35=49, Resulting Numbers: [26, 49] Generated Node #0,3,0: 37:[26, 49] Operation: 84-35=49 Exploring Operation: 84-26=58, Resulting Numbers: [35, 58] Generated Node #0,3,1: 37:[35, 58] Operation: 84-26=58 Exploring Operation: 35-26=9, Resulting Numbers: [84, 9] Generated Node #0,3,2: 37:[84, 9] Operation: 35-26=9 Exploring Operation: 35+26=61, Resulting Numbers: [84, 61] Generated Node #0,3,3: 37:[84, 61] Operation: 35+26=61 Moving to Node #0,3,0 Current State: 37:[26, 49], Operations: ['58-32=26', '84-35=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,37 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[35, 58], Operations: ['58-32=26', '84-26=58'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[84, 61], Operations: ['58-32=26', '35+26=61'] Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,37 unequal: No Solution Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[84, 9], Operations: ['58-32=26', '35-26=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,37 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
[ 10, 13, 55, 60 ]
14
[ "13*60=780", "780-10=770", "770/55=14" ]
Current State: 14:[10, 13, 55, 60], Operations: [] Exploring Operation: 13*60=780, Resulting Numbers: [10, 55, 780] Generated Node #2: [10, 55, 780] from Operation: 13*60=780 Current State: 14:[10, 55, 780], Operations: ['13*60=780'] Exploring Operation: 780-10=770, Resulting Numbers: [55, 770] Generated Node #3: [55, 770] from Operation: 780-10=770 Current State: 14:[55, 770], Operations: ['13*60=780', '780-10=770'] Exploring Operation: 770/55=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[10, 13, 55, 60], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [10, 60, 42] Generated Node #0,0: 14:[10, 60, 42] Operation: 55-13=42 Exploring Operation: 60/10=6, Resulting Numbers: [13, 55, 6] Generated Node #0,1: 14:[13, 55, 6] Operation: 60/10=6 Exploring Operation: 60-55=5, Resulting Numbers: [10, 13, 5] Generated Node #0,2: 14:[10, 13, 5] Operation: 60-55=5 Moving to Node #0,2 Current State: 14:[10, 13, 5], Operations: ['60-55=5'] Exploring Operation: 13-10=3, Resulting Numbers: [5, 3] Generated Node #0,2,0: 14:[5, 3] Operation: 13-10=3 Exploring Operation: 10/5=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 14:[13, 2] Operation: 10/5=2 Exploring Operation: 10+5=15, Resulting Numbers: [13, 15] Generated Node #0,2,2: 14:[13, 15] Operation: 10+5=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[13, 2], Operations: ['60-55=5', '10/5=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[13, 15], Operations: ['60-55=5', '10+5=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,14 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[5, 3], Operations: ['60-55=5', '13-10=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 14:[13, 55, 6], Operations: ['60/10=6'] Exploring Operation: 55-6=49, Resulting Numbers: [13, 49] Generated Node #0,1,0: 14:[13, 49] Operation: 55-6=49 Exploring Operation: 55-13=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 14:[6, 42] Operation: 55-13=42 Exploring Operation: 13-6=7, Resulting Numbers: [55, 7] Generated Node #0,1,2: 14:[55, 7] Operation: 13-6=7 Moving to Node #0,0 Current State: 14:[10, 60, 42], Operations: ['55-13=42'] Exploring Operation: 60-42=18, Resulting Numbers: [10, 18] Generated Node #0,0,0: 14:[10, 18] Operation: 60-42=18 Exploring Operation: 60/10=6, Resulting Numbers: [42, 6] Generated Node #0,0,1: 14:[42, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [42, 50] Generated Node #0,0,2: 14:[42, 50] Operation: 60-10=50 Moving to Node #0,0,0 Current State: 14:[10, 18], Operations: ['55-13=42', '60-42=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[6, 42], Operations: ['60/10=6', '55-13=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[42, 6], Operations: ['55-13=42', '60/10=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[13, 49], Operations: ['60/10=6', '55-6=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,14 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[55, 7], Operations: ['60/10=6', '13-6=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,14 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[42, 50], Operations: ['55-13=42', '60-10=50'] Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,14 unequal: No Solution Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,14 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 94, 31, 22, 27 ]
61
[ "27-22=5", "31*5=155", "155-94=61" ]
Current State: 61:[94, 31, 22, 27], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [94, 31, 5] Generated Node #2: [94, 31, 5] from Operation: 27-22=5 Current State: 61:[94, 31, 5], Operations: ['27-22=5'] Exploring Operation: 31*5=155, Resulting Numbers: [94, 155] Generated Node #3: [94, 155] from Operation: 31*5=155 Current State: 61:[94, 155], Operations: ['27-22=5', '31*5=155'] Exploring Operation: 155-94=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[94, 31, 22, 27], Operations: [] Exploring Operation: 94-27=67, Resulting Numbers: [31, 22, 67] Generated Node #0,0: 61:[31, 22, 67] Operation: 94-27=67 Exploring Operation: 31+22=53, Resulting Numbers: [94, 27, 53] Generated Node #0,1: 61:[94, 27, 53] Operation: 31+22=53 Exploring Operation: 94-31=63, Resulting Numbers: [22, 27, 63] Generated Node #0,2: 61:[22, 27, 63] Operation: 94-31=63 Exploring Operation: 94-22=72, Resulting Numbers: [31, 27, 72] Generated Node #0,3: 61:[31, 27, 72] Operation: 94-22=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[31, 22, 67], Operations: ['94-27=67'] Exploring Operation: 31-22=9, Resulting Numbers: [67, 9] Generated Node #0,0,0: 61:[67, 9] Operation: 31-22=9 Exploring Operation: 67-22=45, Resulting Numbers: [31, 45] Generated Node #0,0,1: 61:[31, 45] Operation: 67-22=45 Exploring Operation: 31+22=53, Resulting Numbers: [67, 53] Generated Node #0,0,2: 61:[67, 53] Operation: 31+22=53 Exploring Operation: 22+67=89, Resulting Numbers: [31, 89] Generated Node #0,0,3: 61:[31, 89] Operation: 22+67=89 Moving to Node #0,0,2 Current State: 61:[67, 53], Operations: ['94-27=67', '31+22=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,61 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[31, 45], Operations: ['94-27=67', '67-22=45'] Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,61 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[31, 89], Operations: ['94-27=67', '22+67=89'] Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 31*89=2759, Resulting Numbers: [2759] 2759,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[67, 9], Operations: ['94-27=67', '31-22=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,61 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[94, 27, 53], Operations: ['31+22=53'] Exploring Operation: 94-53=41, Resulting Numbers: [27, 41] Generated Node #0,1,0: 61:[27, 41] Operation: 94-53=41 Exploring Operation: 94+27=121, Resulting Numbers: [53, 121] Generated Node #0,1,1: 61:[53, 121] Operation: 94+27=121 Exploring Operation: 94-27=67, Resulting Numbers: [53, 67] Generated Node #0,1,2: 61:[53, 67] Operation: 94-27=67 Exploring Operation: 27+53=80, Resulting Numbers: [94, 80] Generated Node #0,1,3: 61:[94, 80] Operation: 27+53=80 Moving to Node #0,1,2 Current State: 61:[53, 67], Operations: ['31+22=53', '94-27=67'] Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 53*67=3551, Resulting Numbers: [3551] 3551,61 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[94, 80], Operations: ['31+22=53', '27+53=80'] Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,61 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,61 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[27, 41], Operations: ['31+22=53', '94-53=41'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,61 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[53, 121], Operations: ['31+22=53', '94+27=121'] Exploring Operation: 53*121=6413, Resulting Numbers: [6413] 6413,61 unequal: No Solution Exploring Operation: 121-53=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 53+121=174, Resulting Numbers: [174] 174,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[22, 27, 63], Operations: ['94-31=63'] Exploring Operation: 22+27=49, Resulting Numbers: [63, 49] Generated Node #0,2,0: 61:[63, 49] Operation: 22+27=49 Exploring Operation: 27-22=5, Resulting Numbers: [63, 5] Generated Node #0,2,1: 61:[63, 5] Operation: 27-22=5 Exploring Operation: 22+63=85, Resulting Numbers: [27, 85] Generated Node #0,2,2: 61:[27, 85] Operation: 22+63=85 Exploring Operation: 63-22=41, Resulting Numbers: [27, 41] Generated Node #0,2,3: 61:[27, 41] Operation: 63-22=41 Moving to Node #0,2,0 Current State: 61:[63, 49], Operations: ['94-31=63', '22+27=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,61 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[27, 41], Operations: ['94-31=63', '63-22=41'] Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,61 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[27, 85], Operations: ['94-31=63', '22+63=85'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,61 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[63, 5], Operations: ['94-31=63', '27-22=5'] Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,61 unequal: No Solution Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[31, 27, 72], Operations: ['94-22=72'] Exploring Operation: 31-27=4, Resulting Numbers: [72, 4] Generated Node #0,3,0: 61:[72, 4] Operation: 31-27=4 Exploring Operation: 72-27=45, Resulting Numbers: [31, 45] Generated Node #0,3,1: 61:[31, 45] Operation: 72-27=45 Exploring Operation: 72-31=41, Resulting Numbers: [27, 41] Generated Node #0,3,2: 61:[27, 41] Operation: 72-31=41 Exploring Operation: 31+27=58, Resulting Numbers: [72, 58] Generated Node #0,3,3: 61:[72, 58] Operation: 31+27=58 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[72, 58], Operations: ['94-22=72', '31+27=58'] Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,61 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[31, 45], Operations: ['94-22=72', '72-27=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,61 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[27, 41], Operations: ['94-22=72', '72-31=41'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[72, 4], Operations: ['94-22=72', '31-27=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,61 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,61 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,61 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 73, 35, 59, 33 ]
66
[ "73+59=132", "35-33=2", "132/2=66" ]
Current State: 66:[73, 35, 59, 33], Operations: [] Exploring Operation: 73+59=132, Resulting Numbers: [35, 33, 132] Generated Node #2: [35, 33, 132] from Operation: 73+59=132 Current State: 66:[35, 33, 132], Operations: ['73+59=132'] Exploring Operation: 35-33=2, Resulting Numbers: [132, 2] Generated Node #3: [132, 2] from Operation: 35-33=2 Current State: 66:[132, 2], Operations: ['73+59=132', '35-33=2'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 35, 59, 33], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [73, 33, 24] Generated Node #0,0: 66:[73, 33, 24] Operation: 59-35=24 Exploring Operation: 73-59=14, Resulting Numbers: [35, 33, 14] Generated Node #0,1: 66:[35, 33, 14] Operation: 73-59=14 Exploring Operation: 73-35=38, Resulting Numbers: [59, 33, 38] Generated Node #0,2: 66:[59, 33, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[35, 33, 14], Operations: ['73-59=14'] Exploring Operation: 35-33=2, Resulting Numbers: [14, 2] Generated Node #0,1,0: 66:[14, 2] Operation: 35-33=2 Exploring Operation: 35+33=68, Resulting Numbers: [14, 68] Generated Node #0,1,1: 66:[14, 68] Operation: 35+33=68 Exploring Operation: 35-14=21, Resulting Numbers: [33, 21] Generated Node #0,1,2: 66:[33, 21] Operation: 35-14=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[33, 21], Operations: ['73-59=14', '35-14=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[14, 2], Operations: ['73-59=14', '35-33=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[14, 68], Operations: ['73-59=14', '35+33=68'] Exploring Operation: 14+68=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 14*68=952, Resulting Numbers: [952] 952,66 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[73, 33, 24], Operations: ['59-35=24'] Exploring Operation: 33-24=9, Resulting Numbers: [73, 9] Generated Node #0,0,0: 66:[73, 9] Operation: 33-24=9 Exploring Operation: 73-33=40, Resulting Numbers: [24, 40] Generated Node #0,0,1: 66:[24, 40] Operation: 73-33=40 Exploring Operation: 73-24=49, Resulting Numbers: [33, 49] Generated Node #0,0,2: 66:[33, 49] Operation: 73-24=49 Moving to Node #0,0,0 Current State: 66:[73, 9], Operations: ['59-35=24', '33-24=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,66 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[24, 40], Operations: ['59-35=24', '73-33=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,66 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[33, 49], Operations: ['59-35=24', '73-24=49'] Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,66 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[59, 33, 38], Operations: ['73-35=38'] Exploring Operation: 59-33=26, Resulting Numbers: [38, 26] Generated Node #0,2,0: 66:[38, 26] Operation: 59-33=26 Exploring Operation: 59-38=21, Resulting Numbers: [33, 21] Generated Node #0,2,1: 66:[33, 21] Operation: 59-38=21 Exploring Operation: 38-33=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 66:[59, 5] Operation: 38-33=5 Moving to Node #0,2,1 Current State: 66:[33, 21], Operations: ['73-35=38', '59-38=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,66 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[59, 5], Operations: ['73-35=38', '38-33=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,66 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[38, 26], Operations: ['73-35=38', '59-33=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,66 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 79, 60, 21, 22 ]
62
[ "79-60=19", "21+22=43", "19+43=62" ]
Current State: 62:[79, 60, 21, 22], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [21, 22, 19] Generated Node #2: [21, 22, 19] from Operation: 79-60=19 Current State: 62:[21, 22, 19], Operations: ['79-60=19'] Exploring Operation: 21+22=43, Resulting Numbers: [19, 43] Generated Node #3: [19, 43] from Operation: 21+22=43 Current State: 62:[19, 43], Operations: ['79-60=19', '21+22=43'] Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[79, 60, 21, 22], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [21, 22, 19] Generated Node #0,0: 62:[21, 22, 19] Operation: 79-60=19 Exploring Operation: 79-21=58, Resulting Numbers: [60, 22, 58] Generated Node #0,1: 62:[60, 22, 58] Operation: 79-21=58 Exploring Operation: 22-21=1, Resulting Numbers: [79, 60, 1] Generated Node #0,2: 62:[79, 60, 1] Operation: 22-21=1 Exploring Operation: 79-22=57, Resulting Numbers: [60, 21, 57] Generated Node #0,3: 62:[60, 21, 57] Operation: 79-22=57 Moving to Node #0,1 Current State: 62:[60, 22, 58], Operations: ['79-21=58'] Exploring Operation: 58-22=36, Resulting Numbers: [60, 36] Generated Node #0,1,0: 62:[60, 36] Operation: 58-22=36 Exploring Operation: 60-22=38, Resulting Numbers: [58, 38] Generated Node #0,1,1: 62:[58, 38] Operation: 60-22=38 Exploring Operation: 22+58=80, Resulting Numbers: [60, 80] Generated Node #0,1,2: 62:[60, 80] Operation: 22+58=80 Exploring Operation: 60-58=2, Resulting Numbers: [22, 2] Generated Node #0,1,3: 62:[22, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[60, 36], Operations: ['79-21=58', '58-22=36'] Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,62 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[22, 2], Operations: ['79-21=58', '60-58=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[58, 38], Operations: ['79-21=58', '60-22=38'] Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,62 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,62 unequal: No Solution No 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: 62:[60, 80], Operations: ['79-21=58', '22+58=80'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,62 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,62 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: 62:[60, 21, 57], Operations: ['79-22=57'] Exploring Operation: 57-21=36, Resulting Numbers: [60, 36] Generated Node #0,3,0: 62:[60, 36] Operation: 57-21=36 Exploring Operation: 60-21=39, Resulting Numbers: [57, 39] Generated Node #0,3,1: 62:[57, 39] Operation: 60-21=39 Exploring Operation: 60-57=3, Resulting Numbers: [21, 3] Generated Node #0,3,2: 62:[21, 3] Operation: 60-57=3 Exploring Operation: 21+57=78, Resulting Numbers: [60, 78] Generated Node #0,3,3: 62:[60, 78] Operation: 21+57=78 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[60, 36], Operations: ['79-22=57', '57-21=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,62 unequal: No Solution No 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: 62:[21, 3], Operations: ['79-22=57', '60-57=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,62 unequal: No Solution No 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: 62:[57, 39], Operations: ['79-22=57', '60-21=39'] Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,62 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,62 unequal: No Solution No 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: 62:[60, 78], Operations: ['79-22=57', '21+57=78'] Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,62 unequal: No Solution Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,62 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: 62:[79, 60, 1], Operations: ['22-21=1'] Exploring Operation: 79-60=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 62:[1, 19] Operation: 79-60=19 Exploring Operation: 60+1=61, Resulting Numbers: [79, 61] Generated Node #0,2,1: 62:[79, 61] Operation: 60+1=61 Exploring Operation: 79-1=78, Resulting Numbers: [60, 78] Generated Node #0,2,2: 62:[60, 78] Operation: 79-1=78 Exploring Operation: 79*1=79, Resulting Numbers: [60, 79] Generated Node #0,2,3: 62:[60, 79] Operation: 79*1=79 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[1, 19], Operations: ['22-21=1', '79-60=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,62 unequal: No Solution No 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: 62:[79, 61], Operations: ['22-21=1', '60+1=61'] Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 79*61=4819, Resulting Numbers: [4819] 4819,62 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,62 unequal: No Solution No 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: 62:[60, 78], Operations: ['22-21=1', '79-1=78'] Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,62 unequal: No Solution No 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: 62:[60, 79], Operations: ['22-21=1', '79*1=79'] Exploring Operation: 60*79=4740, Resulting Numbers: [4740] 4740,62 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 60+79=139, Resulting Numbers: [139] 139,62 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: 62:[21, 22, 19], Operations: ['79-60=19'] Exploring Operation: 22-19=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 62:[21, 3] Operation: 22-19=3 Exploring Operation: 21-19=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 62:[22, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [22, 40] Generated Node #0,0,2: 62:[22, 40] Operation: 21+19=40 Exploring Operation: 22-21=1, Resulting Numbers: [19, 1] Generated Node #0,0,3: 62:[19, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[22, 2], Operations: ['79-60=19', '21-19=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,62 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,62 unequal: No Solution No 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: 62:[21, 3], Operations: ['79-60=19', '22-19=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,62 unequal: No Solution No 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: 62:[19, 1], Operations: ['79-60=19', '22-21=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,62 unequal: No Solution No 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: 62:[22, 40], Operations: ['79-60=19', '21+19=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,62 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[79, 60, 21, 22], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [21, 22, 19] Generated Node #0,0: 62:[21, 22, 19] Operation: 79-60=19 Moving to Node #0,0 Current State: 62:[21, 22, 19], Operations: ['79-60=19'] Exploring Operation: 21+19=40, Resulting Numbers: [22, 40] Generated Node #0,0,2: 62:[22, 40] Operation: 21+19=40 Moving to Node #0,0,2 Current State: 62:[22, 40], Operations: ['79-60=19', '21+19=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.932292
hs_4
mult_heuristic
[ 68, 40, 27, 44 ]
47
[ "68*27=1836", "44+1836=1880", "1880/40=47" ]
Current State: 47:[68, 40, 27, 44], Operations: [] Exploring Operation: 68*27=1836, Resulting Numbers: [40, 44, 1836] Generated Node #2: [40, 44, 1836] from Operation: 68*27=1836 Current State: 47:[40, 44, 1836], Operations: ['68*27=1836'] Exploring Operation: 44+1836=1880, Resulting Numbers: [40, 1880] Generated Node #3: [40, 1880] from Operation: 44+1836=1880 Current State: 47:[40, 1880], Operations: ['68*27=1836', '44+1836=1880'] Exploring Operation: 1880/40=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[68, 40, 27, 44], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [27, 44, 28] Generated Node #0,0: 47:[27, 44, 28] Operation: 68-40=28 Exploring Operation: 68-27=41, Resulting Numbers: [40, 44, 41] Generated Node #0,1: 47:[40, 44, 41] Operation: 68-27=41 Exploring Operation: 68-44=24, Resulting Numbers: [40, 27, 24] Generated Node #0,2: 47:[40, 27, 24] Operation: 68-44=24 Exploring Operation: 40+27=67, Resulting Numbers: [68, 44, 67] Generated Node #0,3: 47:[68, 44, 67] Operation: 40+27=67 Moving to Node #0,1 Current State: 47:[40, 44, 41], Operations: ['68-27=41'] Exploring Operation: 40+44=84, Resulting Numbers: [41, 84] Generated Node #0,1,0: 47:[41, 84] Operation: 40+44=84 Exploring Operation: 44+41=85, Resulting Numbers: [40, 85] Generated Node #0,1,1: 47:[40, 85] Operation: 44+41=85 Exploring Operation: 44-40=4, Resulting Numbers: [41, 4] Generated Node #0,1,2: 47:[41, 4] Operation: 44-40=4 Exploring Operation: 40+41=81, Resulting Numbers: [44, 81] Generated Node #0,1,3: 47:[44, 81] Operation: 40+41=81 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[44, 81], Operations: ['68-27=41', '40+41=81'] Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,47 unequal: No Solution Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,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,1,0 Current State: 47:[41, 84], Operations: ['68-27=41', '40+44=84'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,47 unequal: No Solution Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,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,1,1 Current State: 47:[40, 85], Operations: ['68-27=41', '44+41=85'] Exploring Operation: 40*85=3400, Resulting Numbers: [3400] 3400,47 unequal: No Solution Exploring Operation: 40+85=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,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,1,2 Current State: 47:[41, 4], Operations: ['68-27=41', '44-40=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,47 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,47 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: 47:[27, 44, 28], Operations: ['68-40=28'] Exploring Operation: 27+44=71, Resulting Numbers: [28, 71] Generated Node #0,0,0: 47:[28, 71] Operation: 27+44=71 Exploring Operation: 44+28=72, Resulting Numbers: [27, 72] Generated Node #0,0,1: 47:[27, 72] Operation: 44+28=72 Exploring Operation: 44-27=17, Resulting Numbers: [28, 17] Generated Node #0,0,2: 47:[28, 17] Operation: 44-27=17 Exploring Operation: 27+28=55, Resulting Numbers: [44, 55] Generated Node #0,0,3: 47:[44, 55] Operation: 27+28=55 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[44, 55], Operations: ['68-40=28', '27+28=55'] Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,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:[28, 71], Operations: ['68-40=28', '27+44=71'] Exploring Operation: 28+71=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 28*71=1988, Resulting Numbers: [1988] 1988,47 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[27, 72], Operations: ['68-40=28', '44+28=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,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:[28, 17], Operations: ['68-40=28', '44-27=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,47 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,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:[68, 44, 67], Operations: ['40+27=67'] Exploring Operation: 68+44=112, Resulting Numbers: [67, 112] Generated Node #0,3,0: 47:[67, 112] Operation: 68+44=112 Exploring Operation: 67-44=23, Resulting Numbers: [68, 23] Generated Node #0,3,1: 47:[68, 23] Operation: 67-44=23 Exploring Operation: 68-67=1, Resulting Numbers: [44, 1] Generated Node #0,3,2: 47:[44, 1] Operation: 68-67=1 Exploring Operation: 68-44=24, Resulting Numbers: [67, 24] Generated Node #0,3,3: 47:[67, 24] Operation: 68-44=24 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[67, 24], Operations: ['40+27=67', '68-44=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,47 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,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:[68, 23], Operations: ['40+27=67', '67-44=23'] Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 68+23=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 68*23=1564, Resulting Numbers: [1564] 1564,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,2 Current State: 47:[44, 1], Operations: ['40+27=67', '68-67=1'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,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:[67, 112], Operations: ['40+27=67', '68+44=112'] Exploring Operation: 67*112=7504, Resulting Numbers: [7504] 7504,47 unequal: No Solution Exploring Operation: 67+112=179, Resulting Numbers: [179] 179,47 unequal: No Solution Exploring Operation: 112-67=45, Resulting Numbers: [45] 45,47 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: 47:[40, 27, 24], Operations: ['68-44=24'] Exploring Operation: 40+24=64, Resulting Numbers: [27, 64] Generated Node #0,2,0: 47:[27, 64] Operation: 40+24=64 Exploring Operation: 27+24=51, Resulting Numbers: [40, 51] Generated Node #0,2,1: 47:[40, 51] Operation: 27+24=51 Exploring Operation: 40-24=16, Resulting Numbers: [27, 16] Generated Node #0,2,2: 47:[27, 16] Operation: 40-24=16 Exploring Operation: 40+27=67, Resulting Numbers: [24, 67] Generated Node #0,2,3: 47:[24, 67] Operation: 40+27=67 Moving to Node #0,2,1 Current State: 47:[40, 51], Operations: ['68-44=24', '27+24=51'] Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,47 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[27, 64], Operations: ['68-44=24', '40+24=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,47 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[24, 67], Operations: ['68-44=24', '40+27=67'] Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,47 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[27, 16], Operations: ['68-44=24', '40-24=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,47 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,47 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 69, 20, 28, 46 ]
25
[ "69-20=49", "28+46=74", "74-49=25" ]
Current State: 25:[69, 20, 28, 46], Operations: [] Exploring Operation: 69-20=49, Resulting Numbers: [28, 46, 49] Generated Node #2: [28, 46, 49] from Operation: 69-20=49 Current State: 25:[28, 46, 49], Operations: ['69-20=49'] Exploring Operation: 28+46=74, Resulting Numbers: [49, 74] Generated Node #3: [49, 74] from Operation: 28+46=74 Current State: 25:[49, 74], Operations: ['69-20=49', '28+46=74'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[69, 20, 28, 46], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [20, 28, 23] Generated Node #0,0: 25:[20, 28, 23] Operation: 69-46=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[20, 28, 23], Operations: ['69-46=23'] Exploring Operation: 28-20=8, Resulting Numbers: [23, 8] Generated Node #0,0,0: 25:[23, 8] Operation: 28-20=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[23, 8], Operations: ['69-46=23', '28-20=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,25 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
[ 28, 64, 95, 82 ]
96
[ "28+95=123", "64*123=7872", "7872/82=96" ]
Current State: 96:[28, 64, 95, 82], Operations: [] Exploring Operation: 28+95=123, Resulting Numbers: [64, 82, 123] Generated Node #2: [64, 82, 123] from Operation: 28+95=123 Current State: 96:[64, 82, 123], Operations: ['28+95=123'] Exploring Operation: 64*123=7872, Resulting Numbers: [82, 7872] Generated Node #3: [82, 7872] from Operation: 64*123=7872 Current State: 96:[82, 7872], Operations: ['28+95=123', '64*123=7872'] Exploring Operation: 7872/82=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[28, 64, 95, 82], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [95, 82, 36] Generated Node #0,0: 96:[95, 82, 36] Operation: 64-28=36 Exploring Operation: 95-64=31, Resulting Numbers: [28, 82, 31] Generated Node #0,1: 96:[28, 82, 31] Operation: 95-64=31 Exploring Operation: 82-64=18, Resulting Numbers: [28, 95, 18] Generated Node #0,2: 96:[28, 95, 18] Operation: 82-64=18 Exploring Operation: 28+64=92, Resulting Numbers: [95, 82, 92] Generated Node #0,3: 96:[95, 82, 92] Operation: 28+64=92 Moving to Node #0,2 Current State: 96:[28, 95, 18], Operations: ['82-64=18'] Exploring Operation: 28-18=10, Resulting Numbers: [95, 10] Generated Node #0,2,0: 96:[95, 10] Operation: 28-18=10 Exploring Operation: 95+18=113, Resulting Numbers: [28, 113] Generated Node #0,2,1: 96:[28, 113] Operation: 95+18=113 Exploring Operation: 28+18=46, Resulting Numbers: [95, 46] Generated Node #0,2,2: 96:[95, 46] Operation: 28+18=46 Exploring Operation: 95-28=67, Resulting Numbers: [18, 67] Generated Node #0,2,3: 96:[18, 67] Operation: 95-28=67 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[95, 10], Operations: ['82-64=18', '28-18=10'] Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[95, 46], Operations: ['82-64=18', '28+18=46'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,96 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[28, 113], Operations: ['82-64=18', '95+18=113'] Exploring Operation: 28*113=3164, Resulting Numbers: [3164] 3164,96 unequal: No Solution Exploring Operation: 28+113=141, Resulting Numbers: [141] 141,96 unequal: No Solution Exploring Operation: 113-28=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[18, 67], Operations: ['82-64=18', '95-28=67'] Exploring Operation: 18*67=1206, Resulting Numbers: [1206] 1206,96 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 18+67=85, Resulting Numbers: [85] 85,96 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: 96:[28, 82, 31], Operations: ['95-64=31'] Exploring Operation: 82-28=54, Resulting Numbers: [31, 54] Generated Node #0,1,0: 96:[31, 54] Operation: 82-28=54 Exploring Operation: 82-31=51, Resulting Numbers: [28, 51] Generated Node #0,1,1: 96:[28, 51] Operation: 82-31=51 Exploring Operation: 28+82=110, Resulting Numbers: [31, 110] Generated Node #0,1,2: 96:[31, 110] Operation: 28+82=110 Exploring Operation: 31-28=3, Resulting Numbers: [82, 3] Generated Node #0,1,3: 96:[82, 3] Operation: 31-28=3 Moving to Node #0,0 Current State: 96:[95, 82, 36], Operations: ['64-28=36'] Exploring Operation: 95-36=59, Resulting Numbers: [82, 59] Generated Node #0,0,0: 96:[82, 59] Operation: 95-36=59 Exploring Operation: 95-82=13, Resulting Numbers: [36, 13] Generated Node #0,0,1: 96:[36, 13] Operation: 95-82=13 Exploring Operation: 82-36=46, Resulting Numbers: [95, 46] Generated Node #0,0,2: 96:[95, 46] Operation: 82-36=46 Exploring Operation: 82+36=118, Resulting Numbers: [95, 118] Generated Node #0,0,3: 96:[95, 118] Operation: 82+36=118 Moving to Node #0,3 Current State: 96:[95, 82, 92], Operations: ['28+64=92'] Exploring Operation: 95-92=3, Resulting Numbers: [82, 3] Generated Node #0,3,0: 96:[82, 3] Operation: 95-92=3 Exploring Operation: 95-82=13, Resulting Numbers: [92, 13] Generated Node #0,3,1: 96:[92, 13] Operation: 95-82=13 Exploring Operation: 82+92=174, Resulting Numbers: [95, 174] Generated Node #0,3,2: 96:[95, 174] Operation: 82+92=174 Exploring Operation: 92-82=10, Resulting Numbers: [95, 10] Generated Node #0,3,3: 96:[95, 10] Operation: 92-82=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 96:[95, 10], Operations: ['28+64=92', '92-82=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,96 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 96:[92, 13], Operations: ['28+64=92', '95-82=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,96 unequal: No Solution Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 96:[82, 3], Operations: ['28+64=92', '95-92=3'] Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,96 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[95, 174], Operations: ['28+64=92', '82+92=174'] Exploring Operation: 95+174=269, Resulting Numbers: [269] 269,96 unequal: No Solution Exploring Operation: 174-95=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 95*174=16530, Resulting Numbers: [16530] 16530,96 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: 96:[95, 46], Operations: ['64-28=36', '82-36=46'] Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,96 unequal: No Solution Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,96 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[36, 13], Operations: ['64-28=36', '95-82=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[31, 54], Operations: ['95-64=31', '82-28=54'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,96 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[28, 51], Operations: ['95-64=31', '82-31=51'] Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,96 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[82, 3], Operations: ['95-64=31', '31-28=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,96 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[31, 110], Operations: ['95-64=31', '28+82=110'] Exploring Operation: 31*110=3410, Resulting Numbers: [3410] 3410,96 unequal: No Solution Exploring Operation: 31+110=141, Resulting Numbers: [141] 141,96 unequal: No Solution Exploring Operation: 110-31=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[95, 118], Operations: ['64-28=36', '82+36=118'] Exploring Operation: 95*118=11210, Resulting Numbers: [11210] 11210,96 unequal: No Solution Exploring Operation: 118-95=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 95+118=213, Resulting Numbers: [213] 213,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[82, 59], Operations: ['64-28=36', '95-36=59'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 82*59=4838, Resulting Numbers: [4838] 4838,96 unequal: No Solution Exploring Operation: 82+59=141, Resulting Numbers: [141] 141,96 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 48, 35, 20, 8 ]
37
[ "48-8=40", "40/20=2", "35+2=37" ]
Current State: 37:[48, 35, 20, 8], Operations: [] Exploring Operation: 48-8=40, Resulting Numbers: [35, 20, 40] Generated Node #2: [35, 20, 40] from Operation: 48-8=40 Current State: 37:[35, 20, 40], Operations: ['48-8=40'] Exploring Operation: 40/20=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 40/20=2 Current State: 37:[35, 2], Operations: ['48-8=40', '40/20=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[48, 35, 20, 8], Operations: [] Exploring Operation: 35+8=43, Resulting Numbers: [48, 20, 43] Generated Node #0,0: 37:[48, 20, 43] Operation: 35+8=43 Exploring Operation: 48-8=40, Resulting Numbers: [35, 20, 40] Generated Node #0,1: 37:[35, 20, 40] Operation: 48-8=40 Exploring Operation: 48+8=56, Resulting Numbers: [35, 20, 56] Generated Node #0,2: 37:[35, 20, 56] Operation: 48+8=56 Exploring Operation: 20+8=28, Resulting Numbers: [48, 35, 28] Generated Node #0,3: 37:[48, 35, 28] Operation: 20+8=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[35, 20, 40], Operations: ['48-8=40'] Exploring Operation: 35+20=55, Resulting Numbers: [40, 55] Generated Node #0,1,0: 37:[40, 55] Operation: 35+20=55 Exploring Operation: 20+40=60, Resulting Numbers: [35, 60] Generated Node #0,1,1: 37:[35, 60] Operation: 20+40=60 Exploring Operation: 40-20=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 37:[35, 20] Operation: 40-20=20 Exploring Operation: 35-20=15, Resulting Numbers: [40, 15] Generated Node #0,1,3: 37:[40, 15] Operation: 35-20=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[35, 20], Operations: ['48-8=40', '40-20=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[40, 55], Operations: ['48-8=40', '35+20=55'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[35, 60], Operations: ['48-8=40', '20+40=60'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 35*60=2100, Resulting Numbers: [2100] 2100,37 unequal: No Solution Exploring Operation: 35+60=95, Resulting Numbers: [95] 95,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[40, 15], Operations: ['48-8=40', '35-20=15'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,37 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: 37:[48, 35, 28], Operations: ['20+8=28'] Exploring Operation: 48-35=13, Resulting Numbers: [28, 13] Generated Node #0,3,0: 37:[28, 13] Operation: 48-35=13 Exploring Operation: 48-28=20, Resulting Numbers: [35, 20] Generated Node #0,3,1: 37:[35, 20] Operation: 48-28=20 Exploring Operation: 48+28=76, Resulting Numbers: [35, 76] Generated Node #0,3,2: 37:[35, 76] Operation: 48+28=76 Exploring Operation: 35+28=63, Resulting Numbers: [48, 63] Generated Node #0,3,3: 37:[48, 63] Operation: 35+28=63 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[35, 20], Operations: ['20+8=28', '48-28=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[28, 13], Operations: ['20+8=28', '48-35=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,37 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 37:[48, 63], Operations: ['20+8=28', '35+28=63'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[35, 76], Operations: ['20+8=28', '48+28=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,37 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,37 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: 37:[48, 20, 43], Operations: ['35+8=43'] Exploring Operation: 43-20=23, Resulting Numbers: [48, 23] Generated Node #0,0,0: 37:[48, 23] Operation: 43-20=23 Exploring Operation: 48-20=28, Resulting Numbers: [43, 28] Generated Node #0,0,1: 37:[43, 28] Operation: 48-20=28 Exploring Operation: 48+20=68, Resulting Numbers: [43, 68] Generated Node #0,0,2: 37:[43, 68] Operation: 48+20=68 Exploring Operation: 20+43=63, Resulting Numbers: [48, 63] Generated Node #0,0,3: 37:[48, 63] Operation: 20+43=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[43, 28], Operations: ['35+8=43', '48-20=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,37 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[48, 23], Operations: ['35+8=43', '43-20=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,37 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[43, 68], Operations: ['35+8=43', '48+20=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[48, 63], Operations: ['35+8=43', '20+43=63'] Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,37 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,37 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: 37:[35, 20, 56], Operations: ['48+8=56'] Exploring Operation: 56-35=21, Resulting Numbers: [20, 21] Generated Node #0,2,0: 37:[20, 21] Operation: 56-35=21 Exploring Operation: 35-20=15, Resulting Numbers: [56, 15] Generated Node #0,2,1: 37:[56, 15] Operation: 35-20=15 Exploring Operation: 56-20=36, Resulting Numbers: [35, 36] Generated Node #0,2,2: 37:[35, 36] Operation: 56-20=36 Exploring Operation: 35+20=55, Resulting Numbers: [56, 55] Generated Node #0,2,3: 37:[56, 55] Operation: 35+20=55 Moving to Node #0,2,2 Current State: 37:[35, 36], Operations: ['48+8=56', '56-20=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,37 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[20, 21], Operations: ['48+8=56', '56-35=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[56, 55], Operations: ['48+8=56', '35+20=55'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,37 unequal: No Solution Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[56, 15], Operations: ['48+8=56', '35-20=15'] Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,37 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,37 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
[ 46, 26, 77, 14 ]
97
[ "26*77=2002", "2002/14=143", "143-46=97" ]
Current State: 97:[46, 26, 77, 14], Operations: [] Exploring Operation: 26*77=2002, Resulting Numbers: [46, 14, 2002] Generated Node #2: [46, 14, 2002] from Operation: 26*77=2002 Current State: 97:[46, 14, 2002], Operations: ['26*77=2002'] Exploring Operation: 2002/14=143, Resulting Numbers: [46, 143] Generated Node #3: [46, 143] from Operation: 2002/14=143 Current State: 97:[46, 143], Operations: ['26*77=2002', '2002/14=143'] Exploring Operation: 143-46=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[46, 26, 77, 14], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [46, 77, 40] Generated Node #0,0: 97:[46, 77, 40] Operation: 26+14=40 Exploring Operation: 46+26=72, Resulting Numbers: [77, 14, 72] Generated Node #0,1: 97:[77, 14, 72] Operation: 46+26=72 Exploring Operation: 46+14=60, Resulting Numbers: [26, 77, 60] Generated Node #0,2: 97:[26, 77, 60] Operation: 46+14=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[46, 77, 40], Operations: ['26+14=40'] Exploring Operation: 77+40=117, Resulting Numbers: [46, 117] Generated Node #0,0,0: 97:[46, 117] Operation: 77+40=117 Exploring Operation: 46+77=123, Resulting Numbers: [40, 123] Generated Node #0,0,1: 97:[40, 123] Operation: 46+77=123 Exploring Operation: 46+40=86, Resulting Numbers: [77, 86] Generated Node #0,0,2: 97:[77, 86] Operation: 46+40=86 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[77, 86], Operations: ['26+14=40', '46+40=86'] Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,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,0,0 Current State: 97:[46, 117], Operations: ['26+14=40', '77+40=117'] Exploring Operation: 46*117=5382, Resulting Numbers: [5382] 5382,97 unequal: No Solution Exploring Operation: 46+117=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,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,0,1 Current State: 97:[40, 123], Operations: ['26+14=40', '46+77=123'] Exploring Operation: 40+123=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 40*123=4920, Resulting Numbers: [4920] 4920,97 unequal: No Solution Exploring Operation: 123-40=83, Resulting Numbers: [83] 83,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,1 Current State: 97:[77, 14, 72], Operations: ['46+26=72'] Exploring Operation: 77+14=91, Resulting Numbers: [72, 91] Generated Node #0,1,0: 97:[72, 91] Operation: 77+14=91 Exploring Operation: 77-14=63, Resulting Numbers: [72, 63] Generated Node #0,1,1: 97:[72, 63] Operation: 77-14=63 Exploring Operation: 14+72=86, Resulting Numbers: [77, 86] Generated Node #0,1,2: 97:[77, 86] Operation: 14+72=86 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[72, 91], Operations: ['46+26=72', '77+14=91'] Exploring Operation: 72*91=6552, Resulting Numbers: [6552] 6552,97 unequal: No Solution Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 72+91=163, Resulting Numbers: [163] 163,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[77, 86], Operations: ['46+26=72', '14+72=86'] Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,97 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,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:[72, 63], Operations: ['46+26=72', '77-14=63'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,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:[26, 77, 60], Operations: ['46+14=60'] Exploring Operation: 26+60=86, Resulting Numbers: [77, 86] Generated Node #0,2,0: 97:[77, 86] Operation: 26+60=86 Exploring Operation: 26+77=103, Resulting Numbers: [60, 103] Generated Node #0,2,1: 97:[60, 103] Operation: 26+77=103 Exploring Operation: 77-26=51, Resulting Numbers: [60, 51] Generated Node #0,2,2: 97:[60, 51] Operation: 77-26=51 Moving to Node #0,2,0 Current State: 97:[77, 86], Operations: ['46+14=60', '26+60=86'] Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[60, 103], Operations: ['46+14=60', '26+77=103'] Exploring Operation: 60*103=6180, Resulting Numbers: [6180] 6180,97 unequal: No Solution Exploring Operation: 60+103=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 103-60=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[60, 51], Operations: ['46+14=60', '77-26=51'] Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,97 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 64, 16, 6, 67 ]
99
[ "67-64=3", "16*6=96", "3+96=99" ]
Current State: 99:[64, 16, 6, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [16, 6, 3] Generated Node #2: [16, 6, 3] from Operation: 67-64=3 Current State: 99:[16, 6, 3], Operations: ['67-64=3'] Exploring Operation: 16*6=96, Resulting Numbers: [3, 96] Generated Node #3: [3, 96] from Operation: 16*6=96 Current State: 99:[3, 96], Operations: ['67-64=3', '16*6=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[64, 16, 6, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [16, 6, 3] Generated Node #0,0: 99:[16, 6, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[16, 6, 3], Operations: ['67-64=3'] Exploring Operation: 16-6=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 99:[3, 10] Operation: 16-6=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[3, 10], Operations: ['67-64=3', '16-6=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 67, 15, 84 ]
74
[ "27-15=12", "84/12=7", "67+7=74" ]
Current State: 74:[27, 67, 15, 84], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [67, 84, 12] Generated Node #2: [67, 84, 12] from Operation: 27-15=12 Current State: 74:[67, 84, 12], Operations: ['27-15=12'] Exploring Operation: 84/12=7, Resulting Numbers: [67, 7] Generated Node #3: [67, 7] from Operation: 84/12=7 Current State: 74:[67, 7], Operations: ['27-15=12', '84/12=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[27, 67, 15, 84], Operations: [] Exploring Operation: 84-15=69, Resulting Numbers: [27, 67, 69] Generated Node #0,0: 74:[27, 67, 69] Operation: 84-15=69 Exploring Operation: 67-27=40, Resulting Numbers: [15, 84, 40] Generated Node #0,1: 74:[15, 84, 40] Operation: 67-27=40 Exploring Operation: 27+15=42, Resulting Numbers: [67, 84, 42] Generated Node #0,2: 74:[67, 84, 42] Operation: 27+15=42 Exploring Operation: 27-15=12, Resulting Numbers: [67, 84, 12] Generated Node #0,3: 74:[67, 84, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[27, 67, 69], Operations: ['84-15=69'] Exploring Operation: 27+67=94, Resulting Numbers: [69, 94] Generated Node #0,0,0: 74:[69, 94] Operation: 27+67=94 Exploring Operation: 67-27=40, Resulting Numbers: [69, 40] Generated Node #0,0,1: 74:[69, 40] Operation: 67-27=40 Exploring Operation: 69-27=42, Resulting Numbers: [67, 42] Generated Node #0,0,2: 74:[67, 42] Operation: 69-27=42 Exploring Operation: 69-67=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 74:[27, 2] Operation: 69-67=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[69, 40], Operations: ['84-15=69', '67-27=40'] Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,74 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[27, 2], Operations: ['84-15=69', '69-67=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,74 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[67, 42], Operations: ['84-15=69', '69-27=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,74 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[69, 94], Operations: ['84-15=69', '27+67=94'] Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,74 unequal: No Solution Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[67, 84, 42], Operations: ['27+15=42'] Exploring Operation: 67-42=25, Resulting Numbers: [84, 25] Generated Node #0,2,0: 74:[84, 25] Operation: 67-42=25 Exploring Operation: 84-67=17, Resulting Numbers: [42, 17] Generated Node #0,2,1: 74:[42, 17] Operation: 84-67=17 Exploring Operation: 84/42=2, Resulting Numbers: [67, 2] Generated Node #0,2,2: 74:[67, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [67, 42] Generated Node #0,2,3: 74:[67, 42] Operation: 84-42=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[67, 2], Operations: ['27+15=42', '84/42=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,74 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[67, 42], Operations: ['27+15=42', '84-42=42'] Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[42, 17], Operations: ['27+15=42', '84-67=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,74 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[84, 25], Operations: ['27+15=42', '67-42=25'] Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,74 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[15, 84, 40], Operations: ['67-27=40'] Exploring Operation: 84-15=69, Resulting Numbers: [40, 69] Generated Node #0,1,0: 74:[40, 69] Operation: 84-15=69 Exploring Operation: 84-40=44, Resulting Numbers: [15, 44] Generated Node #0,1,1: 74:[15, 44] Operation: 84-40=44 Exploring Operation: 40-15=25, Resulting Numbers: [84, 25] Generated Node #0,1,2: 74:[84, 25] Operation: 40-15=25 Exploring Operation: 15+84=99, Resulting Numbers: [40, 99] Generated Node #0,1,3: 74:[40, 99] Operation: 15+84=99 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[40, 69], Operations: ['67-27=40', '84-15=69'] Exploring Operation: 40*69=2760, Resulting Numbers: [2760] 2760,74 unequal: No Solution Exploring Operation: 40+69=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[15, 44], Operations: ['67-27=40', '84-40=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,74 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[84, 25], Operations: ['67-27=40', '40-15=25'] Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,74 unequal: No Solution Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,74 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[40, 99], Operations: ['67-27=40', '15+84=99'] Exploring Operation: 40*99=3960, Resulting Numbers: [3960] 3960,74 unequal: No Solution Exploring Operation: 99-40=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 40+99=139, Resulting Numbers: [139] 139,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[67, 84, 12], Operations: ['27-15=12'] Exploring Operation: 84-67=17, Resulting Numbers: [12, 17] Generated Node #0,3,0: 74:[12, 17] Operation: 84-67=17 Exploring Operation: 84-12=72, Resulting Numbers: [67, 72] Generated Node #0,3,1: 74:[67, 72] Operation: 84-12=72 Exploring Operation: 67+12=79, Resulting Numbers: [84, 79] Generated Node #0,3,2: 74:[84, 79] Operation: 67+12=79 Exploring Operation: 84/12=7, Resulting Numbers: [67, 7] Generated Node #0,3,3: 74:[67, 7] Operation: 84/12=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 74:[67, 72], Operations: ['27-15=12', '84-12=72'] Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,74 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,74 unequal: No Solution Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 74:[67, 7], Operations: ['27-15=12', '84/12=7'] Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,74 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[27, 67, 15, 84], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [67, 84, 12] Generated Node #0,3: 74:[67, 84, 12] Operation: 27-15=12 Moving to Node #0,3 Current State: 74:[67, 84, 12], Operations: ['27-15=12'] Exploring Operation: 84/12=7, Resulting Numbers: [67, 7] Generated Node #0,3,3: 74:[67, 7] Operation: 84/12=7 Moving to Node #0,3,3 Current State: 74:[67, 7], Operations: ['27-15=12', '84/12=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.942708
hs_4
mult_heuristic
[ 67, 23, 62, 33 ]
15
[ "67-23=44", "62-33=29", "44-29=15" ]
Current State: 15:[67, 23, 62, 33], Operations: [] Exploring Operation: 67-23=44, Resulting Numbers: [62, 33, 44] Generated Node #2: [62, 33, 44] from Operation: 67-23=44 Current State: 15:[62, 33, 44], Operations: ['67-23=44'] Exploring Operation: 62-33=29, Resulting Numbers: [44, 29] Generated Node #3: [44, 29] from Operation: 62-33=29 Current State: 15:[44, 29], Operations: ['67-23=44', '62-33=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[67, 23, 62, 33], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [23, 33, 5] Generated Node #0,0: 15:[23, 33, 5] Operation: 67-62=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[23, 33, 5], Operations: ['67-62=5'] Exploring Operation: 33-23=10, Resulting Numbers: [5, 10] Generated Node #0,0,0: 15:[5, 10] Operation: 33-23=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[5, 10], Operations: ['67-62=5', '33-23=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[67, 23, 62, 33], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [23, 33, 5] Generated Node #0,0: 15:[23, 33, 5] Operation: 67-62=5 Moving to Node #0,0 Current State: 15:[23, 33, 5], Operations: ['67-62=5'] Exploring Operation: 33-23=10, Resulting Numbers: [5, 10] Generated Node #0,0,0: 15:[5, 10] Operation: 33-23=10 Moving to Node #0,0,0 Current State: 15:[5, 10], Operations: ['67-62=5', '33-23=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 99, 55, 2 ]
85
[ "99-84=15", "2*15=30", "55+30=85" ]
Current State: 85:[84, 99, 55, 2], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [55, 2, 15] Generated Node #2: [55, 2, 15] from Operation: 99-84=15 Current State: 85:[55, 2, 15], Operations: ['99-84=15'] Exploring Operation: 2*15=30, Resulting Numbers: [55, 30] Generated Node #3: [55, 30] from Operation: 2*15=30 Current State: 85:[55, 30], Operations: ['99-84=15', '2*15=30'] Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[84, 99, 55, 2], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [99, 2, 29] Generated Node #0,0: 85:[99, 2, 29] Operation: 84-55=29 Exploring Operation: 99-2=97, Resulting Numbers: [84, 55, 97] Generated Node #0,1: 85:[84, 55, 97] Operation: 99-2=97 Exploring Operation: 99-55=44, Resulting Numbers: [84, 2, 44] Generated Node #0,2: 85:[84, 2, 44] Operation: 99-55=44 Exploring Operation: 55*2=110, Resulting Numbers: [84, 99, 110] Generated Node #0,3: 85:[84, 99, 110] Operation: 55*2=110 Exploring Operation: 99-84=15, Resulting Numbers: [55, 2, 15] Generated Node #0,4: 85:[55, 2, 15] Operation: 99-84=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[99, 2, 29], Operations: ['84-55=29'] Exploring Operation: 99-29=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 85:[2, 70] Operation: 99-29=70 Exploring Operation: 29-2=27, Resulting Numbers: [99, 27] Generated Node #0,0,1: 85:[99, 27] Operation: 29-2=27 Exploring Operation: 2+29=31, Resulting Numbers: [99, 31] Generated Node #0,0,2: 85:[99, 31] Operation: 2+29=31 Exploring Operation: 99+2=101, Resulting Numbers: [29, 101] Generated Node #0,0,3: 85:[29, 101] Operation: 99+2=101 Exploring Operation: 99-2=97, Resulting Numbers: [29, 97] Generated Node #0,0,4: 85:[29, 97] Operation: 99-2=97 Moving to Node #0,0,0 Current State: 85:[2, 70], Operations: ['84-55=29', '99-29=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,85 unequal: No Solution Moving to Node #0,0,4 Current State: 85:[29, 97], Operations: ['84-55=29', '99-2=97'] Exploring Operation: 29+97=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 29*97=2813, Resulting Numbers: [2813] 2813,85 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[99, 27], Operations: ['84-55=29', '29-2=27'] Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,85 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[99, 31], Operations: ['84-55=29', '2+29=31'] Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 99+31=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 99*31=3069, Resulting Numbers: [3069] 3069,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[29, 101], Operations: ['84-55=29', '99+2=101'] Exploring Operation: 29*101=2929, Resulting Numbers: [2929] 2929,85 unequal: No Solution Exploring Operation: 29+101=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 101-29=72, Resulting Numbers: [72] 72,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[84, 2, 44], Operations: ['99-55=44'] Exploring Operation: 84-44=40, Resulting Numbers: [2, 40] Generated Node #0,2,0: 85:[2, 40] Operation: 84-44=40 Exploring Operation: 44-2=42, Resulting Numbers: [84, 42] Generated Node #0,2,1: 85:[84, 42] Operation: 44-2=42 Exploring Operation: 84+2=86, Resulting Numbers: [44, 86] Generated Node #0,2,2: 85:[44, 86] Operation: 84+2=86 Exploring Operation: 44/2=22, Resulting Numbers: [84, 22] Generated Node #0,2,3: 85:[84, 22] Operation: 44/2=22 Exploring Operation: 2*44=88, Resulting Numbers: [84, 88] Generated Node #0,2,4: 85:[84, 88] Operation: 2*44=88 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[84, 88], Operations: ['99-55=44', '2*44=88'] Exploring Operation: 84+88=172, Resulting Numbers: [172] 172,85 unequal: No Solution Exploring Operation: 84*88=7392, Resulting Numbers: [7392] 7392,85 unequal: No Solution Exploring Operation: 88-84=4, Resulting Numbers: [4] 4,85 unequal: No Solution No 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: 85:[84, 22], Operations: ['99-55=44', '44/2=22'] Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,85 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,85 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,85 unequal: No Solution No 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: 85:[2, 40], Operations: ['99-55=44', '84-44=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,85 unequal: No Solution No 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: 85:[84, 42], Operations: ['99-55=44', '44-2=42'] Exploring Operation: 84*42=3528, Resulting Numbers: [3528] 3528,85 unequal: No Solution Exploring Operation: 84+42=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,85 unequal: No Solution No 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: 85:[44, 86], Operations: ['99-55=44', '84+2=86'] Exploring Operation: 44*86=3784, Resulting Numbers: [3784] 3784,85 unequal: No Solution Exploring Operation: 44+86=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,85 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: 85:[55, 2, 15], Operations: ['99-84=15'] Exploring Operation: 55*2=110, Resulting Numbers: [15, 110] Generated Node #0,4,0: 85:[15, 110] Operation: 55*2=110 Exploring Operation: 55+2=57, Resulting Numbers: [15, 57] Generated Node #0,4,1: 85:[15, 57] Operation: 55+2=57 Exploring Operation: 2+15=17, Resulting Numbers: [55, 17] Generated Node #0,4,2: 85:[55, 17] Operation: 2+15=17 Exploring Operation: 55+15=70, Resulting Numbers: [2, 70] Generated Node #0,4,3: 85:[2, 70] Operation: 55+15=70 Exploring Operation: 55-15=40, Resulting Numbers: [2, 40] Generated Node #0,4,4: 85:[2, 40] Operation: 55-15=40 Moving to Node #0,4,3 Current State: 85:[2, 70], Operations: ['99-84=15', '55+15=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,85 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,85 unequal: No Solution Moving to Node #0,4,4 Current State: 85:[2, 40], Operations: ['99-84=15', '55-15=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,85 unequal: No Solution Moving to Node #0,4,0 Current State: 85:[15, 110], Operations: ['99-84=15', '55*2=110'] Exploring Operation: 15*110=1650, Resulting Numbers: [1650] 1650,85 unequal: No Solution Exploring Operation: 110-15=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 15+110=125, Resulting Numbers: [125] 125,85 unequal: No Solution Moving to Node #0,4,1 Current State: 85:[15, 57], Operations: ['99-84=15', '55+2=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,85 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,85 unequal: No Solution Moving to Node #0,4,2 Current State: 85:[55, 17], Operations: ['99-84=15', '2+15=17'] Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,85 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[84, 99, 110], Operations: ['55*2=110'] Exploring Operation: 110-99=11, Resulting Numbers: [84, 11] Generated Node #0,3,0: 85:[84, 11] Operation: 110-99=11 Exploring Operation: 110-84=26, Resulting Numbers: [99, 26] Generated Node #0,3,1: 85:[99, 26] Operation: 110-84=26 Exploring Operation: 84+110=194, Resulting Numbers: [99, 194] Generated Node #0,3,2: 85:[99, 194] Operation: 84+110=194 Exploring Operation: 99-84=15, Resulting Numbers: [110, 15] Generated Node #0,3,3: 85:[110, 15] Operation: 99-84=15 Exploring Operation: 84+99=183, Resulting Numbers: [110, 183] Generated Node #0,3,4: 85:[110, 183] Operation: 84+99=183 Moving to Node #0,3,0 Current State: 85:[84, 11], Operations: ['55*2=110', '110-99=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[99, 26], Operations: ['55*2=110', '110-84=26'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 99*26=2574, Resulting Numbers: [2574] 2574,85 unequal: No Solution Exploring Operation: 99+26=125, Resulting Numbers: [125] 125,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[110, 15], Operations: ['55*2=110', '99-84=15'] Exploring Operation: 110*15=1650, Resulting Numbers: [1650] 1650,85 unequal: No Solution Exploring Operation: 110-15=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 110+15=125, Resulting Numbers: [125] 125,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[99, 194], Operations: ['55*2=110', '84+110=194'] Exploring Operation: 194-99=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 99*194=19206, Resulting Numbers: [19206] 19206,85 unequal: No Solution Exploring Operation: 99+194=293, Resulting Numbers: [293] 293,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[110, 183], Operations: ['55*2=110', '84+99=183'] Exploring Operation: 110*183=20130, Resulting Numbers: [20130] 20130,85 unequal: No Solution Exploring Operation: 110+183=293, Resulting Numbers: [293] 293,85 unequal: No Solution Exploring Operation: 183-110=73, Resulting Numbers: [73] 73,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[84, 55, 97], Operations: ['99-2=97'] Exploring Operation: 84-55=29, Resulting Numbers: [97, 29] Generated Node #0,1,0: 85:[97, 29] Operation: 84-55=29 Exploring Operation: 55+97=152, Resulting Numbers: [84, 152] Generated Node #0,1,1: 85:[84, 152] Operation: 55+97=152 Exploring Operation: 84+55=139, Resulting Numbers: [97, 139] Generated Node #0,1,2: 85:[97, 139] Operation: 84+55=139 Exploring Operation: 97-84=13, Resulting Numbers: [55, 13] Generated Node #0,1,3: 85:[55, 13] Operation: 97-84=13 Exploring Operation: 97-55=42, Resulting Numbers: [84, 42] Generated Node #0,1,4: 85:[84, 42] Operation: 97-55=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[97, 29], Operations: ['99-2=97', '84-55=29'] Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,85 unequal: No Solution Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,85 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 85:[84, 42], Operations: ['99-2=97', '97-55=42'] Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 84*42=3528, Resulting Numbers: [3528] 3528,85 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 84+42=126, Resulting Numbers: [126] 126,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 85:[55, 13], Operations: ['99-2=97', '97-84=13'] Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,85 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,85 unequal: No Solution No 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: 85:[97, 139], Operations: ['99-2=97', '84+55=139'] Exploring Operation: 139-97=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 97+139=236, Resulting Numbers: [236] 236,85 unequal: No Solution Exploring Operation: 97*139=13483, Resulting Numbers: [13483] 13483,85 unequal: No Solution No 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: 85:[84, 152], Operations: ['99-2=97', '55+97=152'] Exploring Operation: 152-84=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 84+152=236, Resulting Numbers: [236] 236,85 unequal: No Solution Exploring Operation: 84*152=12768, Resulting Numbers: [12768] 12768,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 71, 2, 16, 63 ]
75
[ "71+16=87", "63+87=150", "150/2=75" ]
Current State: 75:[71, 2, 16, 63], Operations: [] Exploring Operation: 71+16=87, Resulting Numbers: [2, 63, 87] Generated Node #2: [2, 63, 87] from Operation: 71+16=87 Current State: 75:[2, 63, 87], Operations: ['71+16=87'] Exploring Operation: 63+87=150, Resulting Numbers: [2, 150] Generated Node #3: [2, 150] from Operation: 63+87=150 Current State: 75:[2, 150], Operations: ['71+16=87', '63+87=150'] Exploring Operation: 150/2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[71, 2, 16, 63], Operations: [] Exploring Operation: 71-63=8, Resulting Numbers: [2, 16, 8] Generated Node #0,0: 75:[2, 16, 8] Operation: 71-63=8 Exploring Operation: 71+2=73, Resulting Numbers: [16, 63, 73] Generated Node #0,1: 75:[16, 63, 73] Operation: 71+2=73 Exploring Operation: 16+63=79, Resulting Numbers: [71, 2, 79] Generated Node #0,2: 75:[71, 2, 79] Operation: 16+63=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 16, 8], Operations: ['71-63=8'] Exploring Operation: 8/2=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 75:[16, 4] Operation: 8/2=4 Exploring Operation: 2*8=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 75:[16, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [16, 6] Generated Node #0,0,2: 75:[16, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[16, 4], Operations: ['71-63=8', '8/2=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[16, 16], Operations: ['71-63=8', '2*8=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,75 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,75 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[16, 6], Operations: ['71-63=8', '8-2=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,75 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[71, 2, 79], Operations: ['16+63=79'] Exploring Operation: 79-71=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 75:[2, 8] Operation: 79-71=8 Exploring Operation: 71+2=73, Resulting Numbers: [79, 73] Generated Node #0,2,1: 75:[79, 73] Operation: 71+2=73 Exploring Operation: 79-2=77, Resulting Numbers: [71, 77] Generated Node #0,2,2: 75:[71, 77] Operation: 79-2=77 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[2, 8], Operations: ['16+63=79', '79-71=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[79, 73], Operations: ['16+63=79', '71+2=73'] Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,75 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[71, 77], Operations: ['16+63=79', '79-2=77'] Exploring Operation: 71*77=5467, Resulting Numbers: [5467] 5467,75 unequal: No Solution Exploring Operation: 71+77=148, Resulting Numbers: [148] 148,75 unequal: No Solution Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[16, 63, 73], Operations: ['71+2=73'] Exploring Operation: 16+63=79, Resulting Numbers: [73, 79] Generated Node #0,1,0: 75:[73, 79] Operation: 16+63=79 Exploring Operation: 73-63=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 75:[16, 10] Operation: 73-63=10 Exploring Operation: 63-16=47, Resulting Numbers: [73, 47] Generated Node #0,1,2: 75:[73, 47] Operation: 63-16=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[73, 79], Operations: ['71+2=73', '16+63=79'] Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 73+79=152, Resulting Numbers: [152] 152,75 unequal: No Solution Exploring Operation: 73*79=5767, Resulting Numbers: [5767] 5767,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[16, 10], Operations: ['71+2=73', '73-63=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,75 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[73, 47], Operations: ['71+2=73', '63-16=47'] Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,75 unequal: No Solution Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,75 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 69, 51, 97, 62 ]
85
[ "69+51=120", "97-62=35", "120-35=85" ]
Current State: 85:[69, 51, 97, 62], Operations: [] Exploring Operation: 69+51=120, Resulting Numbers: [97, 62, 120] Generated Node #2: [97, 62, 120] from Operation: 69+51=120 Current State: 85:[97, 62, 120], Operations: ['69+51=120'] Exploring Operation: 97-62=35, Resulting Numbers: [120, 35] Generated Node #3: [120, 35] from Operation: 97-62=35 Current State: 85:[120, 35], Operations: ['69+51=120', '97-62=35'] Exploring Operation: 120-35=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[69, 51, 97, 62], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [69, 97, 11] Generated Node #0,0: 85:[69, 97, 11] Operation: 62-51=11 Exploring Operation: 51+62=113, Resulting Numbers: [69, 97, 113] Generated Node #0,1: 85:[69, 97, 113] Operation: 51+62=113 Exploring Operation: 69-51=18, Resulting Numbers: [97, 62, 18] Generated Node #0,2: 85:[97, 62, 18] Operation: 69-51=18 Exploring Operation: 69-62=7, Resulting Numbers: [51, 97, 7] Generated Node #0,3: 85:[51, 97, 7] Operation: 69-62=7 Moving to Node #0,0 Current State: 85:[69, 97, 11], Operations: ['62-51=11'] Exploring Operation: 69+11=80, Resulting Numbers: [97, 80] Generated Node #0,0,0: 85:[97, 80] Operation: 69+11=80 Exploring Operation: 97-69=28, Resulting Numbers: [11, 28] Generated Node #0,0,1: 85:[11, 28] Operation: 97-69=28 Exploring Operation: 69-11=58, Resulting Numbers: [97, 58] Generated Node #0,0,2: 85:[97, 58] Operation: 69-11=58 Exploring Operation: 97-11=86, Resulting Numbers: [69, 86] Generated Node #0,0,3: 85:[69, 86] Operation: 97-11=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[97, 80], Operations: ['62-51=11', '69+11=80'] Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,85 unequal: No Solution Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,85 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[11, 28], Operations: ['62-51=11', '97-69=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[69, 86], Operations: ['62-51=11', '97-11=86'] Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,85 unequal: No Solution Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,85 unequal: No Solution Exploring Operation: 69*86=5934, Resulting Numbers: [5934] 5934,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[97, 58], Operations: ['62-51=11', '69-11=58'] Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 97+58=155, Resulting Numbers: [155] 155,85 unequal: No Solution Exploring Operation: 97*58=5626, Resulting Numbers: [5626] 5626,85 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: 85:[97, 62, 18], Operations: ['69-51=18'] Exploring Operation: 62-18=44, Resulting Numbers: [97, 44] Generated Node #0,2,0: 85:[97, 44] Operation: 62-18=44 Exploring Operation: 97-18=79, Resulting Numbers: [62, 79] Generated Node #0,2,1: 85:[62, 79] Operation: 97-18=79 Exploring Operation: 62+18=80, Resulting Numbers: [97, 80] Generated Node #0,2,2: 85:[97, 80] Operation: 62+18=80 Exploring Operation: 97-62=35, Resulting Numbers: [18, 35] Generated Node #0,2,3: 85:[18, 35] Operation: 97-62=35 Moving to Node #0,3 Current State: 85:[51, 97, 7], Operations: ['69-62=7'] Exploring Operation: 97-7=90, Resulting Numbers: [51, 90] Generated Node #0,3,0: 85:[51, 90] Operation: 97-7=90 Exploring Operation: 51+7=58, Resulting Numbers: [97, 58] Generated Node #0,3,1: 85:[97, 58] Operation: 51+7=58 Exploring Operation: 97-51=46, Resulting Numbers: [7, 46] Generated Node #0,3,2: 85:[7, 46] Operation: 97-51=46 Exploring Operation: 51-7=44, Resulting Numbers: [97, 44] Generated Node #0,3,3: 85:[97, 44] Operation: 51-7=44 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 85:[7, 46], Operations: ['69-62=7', '97-51=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[51, 90], Operations: ['69-62=7', '97-7=90'] Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,85 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 85:[97, 58], Operations: ['69-62=7', '51+7=58'] Exploring Operation: 97+58=155, Resulting Numbers: [155] 155,85 unequal: No Solution Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 97*58=5626, Resulting Numbers: [5626] 5626,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[97, 44], Operations: ['69-62=7', '51-7=44'] Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,85 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,85 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,85 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: 85:[69, 97, 113], Operations: ['51+62=113'] Exploring Operation: 69+97=166, Resulting Numbers: [113, 166] Generated Node #0,1,0: 85:[113, 166] Operation: 69+97=166 Exploring Operation: 113-69=44, Resulting Numbers: [97, 44] Generated Node #0,1,1: 85:[97, 44] Operation: 113-69=44 Exploring Operation: 113-97=16, Resulting Numbers: [69, 16] Generated Node #0,1,2: 85:[69, 16] Operation: 113-97=16 Exploring Operation: 97-69=28, Resulting Numbers: [113, 28] Generated Node #0,1,3: 85:[113, 28] Operation: 97-69=28 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[69, 16], Operations: ['51+62=113', '113-97=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,85 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[69, 51, 97, 62], Operations: [] Exploring Operation: 51+62=113, Resulting Numbers: [69, 97, 113] Generated Node #0,1: 85:[69, 97, 113] Operation: 51+62=113 Moving to Node #0,1 Current State: 85:[69, 97, 113], Operations: ['51+62=113'] Exploring Operation: 113-97=16, Resulting Numbers: [69, 16] Generated Node #0,1,2: 85:[69, 16] Operation: 113-97=16 Moving to Node #0,1,2 Current State: 85:[69, 16], Operations: ['51+62=113', '113-97=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 92, 57, 13, 6 ]
11
[ "92+57=149", "149-6=143", "143/13=11" ]
Current State: 11:[92, 57, 13, 6], Operations: [] Exploring Operation: 92+57=149, Resulting Numbers: [13, 6, 149] Generated Node #2: [13, 6, 149] from Operation: 92+57=149 Current State: 11:[13, 6, 149], Operations: ['92+57=149'] Exploring Operation: 149-6=143, Resulting Numbers: [13, 143] Generated Node #3: [13, 143] from Operation: 149-6=143 Current State: 11:[13, 143], Operations: ['92+57=149', '149-6=143'] Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 57, 13, 6], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [13, 6, 35] Generated Node #0,0: 11:[13, 6, 35] Operation: 92-57=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[13, 6, 35], Operations: ['92-57=35'] Exploring Operation: 35-13=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 11:[6, 22] Operation: 35-13=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[6, 22], Operations: ['92-57=35', '35-13=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 59, 46, 83, 4 ]
74
[ "59-46=13", "83+4=87", "87-13=74" ]
Current State: 74:[59, 46, 83, 4], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [83, 4, 13] Generated Node #2: [83, 4, 13] from Operation: 59-46=13 Current State: 74:[83, 4, 13], Operations: ['59-46=13'] Exploring Operation: 83+4=87, Resulting Numbers: [13, 87] Generated Node #3: [13, 87] from Operation: 83+4=87 Current State: 74:[13, 87], Operations: ['59-46=13', '83+4=87'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[59, 46, 83, 4], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [59, 83, 42] Generated Node #0,0: 74:[59, 83, 42] Operation: 46-4=42 Exploring Operation: 59+4=63, Resulting Numbers: [46, 83, 63] Generated Node #0,1: 74:[46, 83, 63] Operation: 59+4=63 Exploring Operation: 59-46=13, Resulting Numbers: [83, 4, 13] Generated Node #0,2: 74:[83, 4, 13] Operation: 59-46=13 Exploring Operation: 83-46=37, Resulting Numbers: [59, 4, 37] Generated Node #0,3: 74:[59, 4, 37] Operation: 83-46=37 Exploring Operation: 83-59=24, Resulting Numbers: [46, 4, 24] Generated Node #0,4: 74:[46, 4, 24] Operation: 83-59=24 Moving to Node #0,3 Current State: 74:[59, 4, 37], Operations: ['83-46=37'] Exploring Operation: 59-37=22, Resulting Numbers: [4, 22] Generated Node #0,3,0: 74:[4, 22] Operation: 59-37=22 Exploring Operation: 59-4=55, Resulting Numbers: [37, 55] Generated Node #0,3,1: 74:[37, 55] Operation: 59-4=55 Exploring Operation: 59+4=63, Resulting Numbers: [37, 63] Generated Node #0,3,2: 74:[37, 63] Operation: 59+4=63 Exploring Operation: 37-4=33, Resulting Numbers: [59, 33] Generated Node #0,3,3: 74:[59, 33] Operation: 37-4=33 Exploring Operation: 4+37=41, Resulting Numbers: [59, 41] Generated Node #0,3,4: 74:[59, 41] Operation: 4+37=41 Moving to Node #0,2 Current State: 74:[83, 4, 13], Operations: ['59-46=13'] Exploring Operation: 83-4=79, Resulting Numbers: [13, 79] Generated Node #0,2,0: 74:[13, 79] Operation: 83-4=79 Exploring Operation: 83+13=96, Resulting Numbers: [4, 96] Generated Node #0,2,1: 74:[4, 96] Operation: 83+13=96 Exploring Operation: 83+4=87, Resulting Numbers: [13, 87] Generated Node #0,2,2: 74:[13, 87] Operation: 83+4=87 Exploring Operation: 83-13=70, Resulting Numbers: [4, 70] Generated Node #0,2,3: 74:[4, 70] Operation: 83-13=70 Exploring Operation: 13-4=9, Resulting Numbers: [83, 9] Generated Node #0,2,4: 74:[83, 9] Operation: 13-4=9 Moving to Node #0,4 Current State: 74:[46, 4, 24], Operations: ['83-59=24'] Exploring Operation: 46-4=42, Resulting Numbers: [24, 42] Generated Node #0,4,0: 74:[24, 42] Operation: 46-4=42 Exploring Operation: 46+24=70, Resulting Numbers: [4, 70] Generated Node #0,4,1: 74:[4, 70] Operation: 46+24=70 Exploring Operation: 4+24=28, Resulting Numbers: [46, 28] Generated Node #0,4,2: 74:[46, 28] Operation: 4+24=28 Exploring Operation: 46-24=22, Resulting Numbers: [4, 22] Generated Node #0,4,3: 74:[4, 22] Operation: 46-24=22 Exploring Operation: 24/4=6, Resulting Numbers: [46, 6] Generated Node #0,4,4: 74:[46, 6] Operation: 24/4=6 Moving to Node #0,0 Current State: 74:[59, 83, 42], Operations: ['46-4=42'] Exploring Operation: 83+42=125, Resulting Numbers: [59, 125] Generated Node #0,0,0: 74:[59, 125] Operation: 83+42=125 Exploring Operation: 59-42=17, Resulting Numbers: [83, 17] Generated Node #0,0,1: 74:[83, 17] Operation: 59-42=17 Exploring Operation: 83-42=41, Resulting Numbers: [59, 41] Generated Node #0,0,2: 74:[59, 41] Operation: 83-42=41 Exploring Operation: 83-59=24, Resulting Numbers: [42, 24] Generated Node #0,0,3: 74:[42, 24] Operation: 83-59=24 Exploring Operation: 59+42=101, Resulting Numbers: [83, 101] Generated Node #0,0,4: 74:[83, 101] Operation: 59+42=101 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[42, 24], Operations: ['46-4=42', '83-59=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[59, 41], Operations: ['46-4=42', '83-42=41'] Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,74 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[83, 17], Operations: ['46-4=42', '59-42=17'] Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,74 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[83, 101], Operations: ['46-4=42', '59+42=101'] Exploring Operation: 101-83=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 83+101=184, Resulting Numbers: [184] 184,74 unequal: No Solution Exploring Operation: 83*101=8383, Resulting Numbers: [8383] 8383,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[59, 125], Operations: ['46-4=42', '83+42=125'] Exploring Operation: 59*125=7375, Resulting Numbers: [7375] 7375,74 unequal: No Solution Exploring Operation: 59+125=184, Resulting Numbers: [184] 184,74 unequal: No Solution Exploring Operation: 125-59=66, Resulting Numbers: [66] 66,74 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: 74:[46, 83, 63], Operations: ['59+4=63'] Exploring Operation: 46+83=129, Resulting Numbers: [63, 129] Generated Node #0,1,0: 74:[63, 129] Operation: 46+83=129 Exploring Operation: 46+63=109, Resulting Numbers: [83, 109] Generated Node #0,1,1: 74:[83, 109] Operation: 46+63=109 Exploring Operation: 83-46=37, Resulting Numbers: [63, 37] Generated Node #0,1,2: 74:[63, 37] Operation: 83-46=37 Exploring Operation: 63-46=17, Resulting Numbers: [83, 17] Generated Node #0,1,3: 74:[83, 17] Operation: 63-46=17 Exploring Operation: 83-63=20, Resulting Numbers: [46, 20] Generated Node #0,1,4: 74:[46, 20] Operation: 83-63=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[63, 37], Operations: ['59+4=63', '83-46=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[83, 17], Operations: ['59+4=63', '63-46=17'] Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[46, 20], Operations: ['59+4=63', '83-63=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,74 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[83, 109], Operations: ['59+4=63', '46+63=109'] Exploring Operation: 109-83=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 83*109=9047, Resulting Numbers: [9047] 9047,74 unequal: No Solution Exploring Operation: 83+109=192, Resulting Numbers: [192] 192,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[63, 129], Operations: ['59+4=63', '46+83=129'] Exploring Operation: 129-63=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 63*129=8127, Resulting Numbers: [8127] 8127,74 unequal: No Solution Exploring Operation: 63+129=192, Resulting Numbers: [192] 192,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 74:[4, 70], Operations: ['59-46=13', '83-13=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[59, 46, 83, 4], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [83, 4, 13] Generated Node #0,2: 74:[83, 4, 13] Operation: 59-46=13 Moving to Node #0,2 Current State: 74:[83, 4, 13], Operations: ['59-46=13'] Exploring Operation: 83-13=70, Resulting Numbers: [4, 70] Generated Node #0,2,3: 74:[4, 70] Operation: 83-13=70 Moving to Node #0,2,3 Current State: 74:[4, 70], Operations: ['59-46=13', '83-13=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.943576
hs_5
mult_heuristic
[ 72, 14, 94, 6 ]
90
[ "14+94=108", "108/6=18", "72+18=90" ]
Current State: 90:[72, 14, 94, 6], Operations: [] Exploring Operation: 14+94=108, Resulting Numbers: [72, 6, 108] Generated Node #2: [72, 6, 108] from Operation: 14+94=108 Current State: 90:[72, 6, 108], Operations: ['14+94=108'] Exploring Operation: 108/6=18, Resulting Numbers: [72, 18] Generated Node #3: [72, 18] from Operation: 108/6=18 Current State: 90:[72, 18], Operations: ['14+94=108', '108/6=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[72, 14, 94, 6], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [14, 6, 22] Generated Node #0,0: 90:[14, 6, 22] Operation: 94-72=22 Exploring Operation: 72/6=12, Resulting Numbers: [14, 94, 12] Generated Node #0,1: 90:[14, 94, 12] Operation: 72/6=12 Exploring Operation: 72-14=58, Resulting Numbers: [94, 6, 58] Generated Node #0,2: 90:[94, 6, 58] Operation: 72-14=58 Exploring Operation: 72+14=86, Resulting Numbers: [94, 6, 86] Generated Node #0,3: 90:[94, 6, 86] Operation: 72+14=86 Exploring Operation: 72+6=78, Resulting Numbers: [14, 94, 78] Generated Node #0,4: 90:[14, 94, 78] Operation: 72+6=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[14, 6, 22], Operations: ['94-72=22'] Exploring Operation: 14-6=8, Resulting Numbers: [22, 8] Generated Node #0,0,0: 90:[22, 8] Operation: 14-6=8 Exploring Operation: 22-6=16, Resulting Numbers: [14, 16] Generated Node #0,0,1: 90:[14, 16] Operation: 22-6=16 Exploring Operation: 14+6=20, Resulting Numbers: [22, 20] Generated Node #0,0,2: 90:[22, 20] Operation: 14+6=20 Exploring Operation: 6+22=28, Resulting Numbers: [14, 28] Generated Node #0,0,3: 90:[14, 28] Operation: 6+22=28 Exploring Operation: 22-14=8, Resulting Numbers: [6, 8] Generated Node #0,0,4: 90:[6, 8] Operation: 22-14=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[6, 8], Operations: ['94-72=22', '22-14=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[14, 16], Operations: ['94-72=22', '22-6=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[14, 28], Operations: ['94-72=22', '6+22=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,90 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[22, 8], Operations: ['94-72=22', '14-6=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[22, 20], Operations: ['94-72=22', '14+6=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[14, 94, 12], Operations: ['72/6=12'] Exploring Operation: 14+12=26, Resulting Numbers: [94, 26] Generated Node #0,1,0: 90:[94, 26] Operation: 14+12=26 Exploring Operation: 94+12=106, Resulting Numbers: [14, 106] Generated Node #0,1,1: 90:[14, 106] Operation: 94+12=106 Exploring Operation: 94-14=80, Resulting Numbers: [12, 80] Generated Node #0,1,2: 90:[12, 80] Operation: 94-14=80 Exploring Operation: 14-12=2, Resulting Numbers: [94, 2] Generated Node #0,1,3: 90:[94, 2] Operation: 14-12=2 Exploring Operation: 94-12=82, Resulting Numbers: [14, 82] Generated Node #0,1,4: 90:[14, 82] Operation: 94-12=82 Moving to Node #0,1,3 Current State: 90:[94, 2], Operations: ['72/6=12', '14-12=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,90 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[94, 26], Operations: ['72/6=12', '14+12=26'] Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,90 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,90 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[14, 82], Operations: ['72/6=12', '94-12=82'] Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,90 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,90 unequal: No Solution Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[12, 80], Operations: ['72/6=12', '94-14=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,90 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[14, 106], Operations: ['72/6=12', '94+12=106'] Exploring Operation: 14+106=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 106-14=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 14*106=1484, Resulting Numbers: [1484] 1484,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[94, 6, 86], Operations: ['72+14=86'] Exploring Operation: 6+86=92, Resulting Numbers: [94, 92] Generated Node #0,3,0: 90:[94, 92] Operation: 6+86=92 Exploring Operation: 86-6=80, Resulting Numbers: [94, 80] Generated Node #0,3,1: 90:[94, 80] Operation: 86-6=80 Exploring Operation: 94-86=8, Resulting Numbers: [6, 8] Generated Node #0,3,2: 90:[6, 8] Operation: 94-86=8 Exploring Operation: 94+6=100, Resulting Numbers: [86, 100] Generated Node #0,3,3: 90:[86, 100] Operation: 94+6=100 Exploring Operation: 94-6=88, Resulting Numbers: [86, 88] Generated Node #0,3,4: 90:[86, 88] Operation: 94-6=88 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 90:[6, 8], Operations: ['72+14=86', '94-86=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 90:[94, 92], Operations: ['72+14=86', '6+86=92'] Exploring Operation: 94+92=186, Resulting Numbers: [186] 186,90 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 94*92=8648, Resulting Numbers: [8648] 8648,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 90:[86, 88], Operations: ['72+14=86', '94-6=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,90 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 90:[94, 80], Operations: ['72+14=86', '86-6=80'] Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,90 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,90 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 90:[86, 100], Operations: ['72+14=86', '94+6=100'] Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,90 unequal: No Solution Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[94, 6, 58], Operations: ['72-14=58'] Exploring Operation: 58-6=52, Resulting Numbers: [94, 52] Generated Node #0,2,0: 90:[94, 52] Operation: 58-6=52 Exploring Operation: 6+58=64, Resulting Numbers: [94, 64] Generated Node #0,2,1: 90:[94, 64] Operation: 6+58=64 Exploring Operation: 94-6=88, Resulting Numbers: [58, 88] Generated Node #0,2,2: 90:[58, 88] Operation: 94-6=88 Exploring Operation: 94-58=36, Resulting Numbers: [6, 36] Generated Node #0,2,3: 90:[6, 36] Operation: 94-58=36 Exploring Operation: 94+6=100, Resulting Numbers: [58, 100] Generated Node #0,2,4: 90:[58, 100] Operation: 94+6=100 Moving to Node #0,2,3 Current State: 90:[6, 36], Operations: ['72-14=58', '94-58=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,90 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[94, 52], Operations: ['72-14=58', '58-6=52'] Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,90 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[58, 88], Operations: ['72-14=58', '94-6=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,90 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[94, 64], Operations: ['72-14=58', '6+58=64'] Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 94*64=6016, Resulting Numbers: [6016] 6016,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[58, 100], Operations: ['72-14=58', '94+6=100'] Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,90 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[14, 94, 78], Operations: ['72+6=78'] Exploring Operation: 14+94=108, Resulting Numbers: [78, 108] Generated Node #0,4,0: 90:[78, 108] Operation: 14+94=108 Exploring Operation: 94-14=80, Resulting Numbers: [78, 80] Generated Node #0,4,1: 90:[78, 80] Operation: 94-14=80 Exploring Operation: 14+78=92, Resulting Numbers: [94, 92] Generated Node #0,4,2: 90:[94, 92] Operation: 14+78=92 Exploring Operation: 78-14=64, Resulting Numbers: [94, 64] Generated Node #0,4,3: 90:[94, 64] Operation: 78-14=64 Exploring Operation: 94-78=16, Resulting Numbers: [14, 16] Generated Node #0,4,4: 90:[14, 16] Operation: 94-78=16 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 90:[14, 16], Operations: ['72+6=78', '94-78=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,90 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 90:[94, 92], Operations: ['72+6=78', '14+78=92'] Exploring Operation: 94*92=8648, Resulting Numbers: [8648] 8648,90 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 94+92=186, Resulting Numbers: [186] 186,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 90:[78, 80], Operations: ['72+6=78', '94-14=80'] Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 90:[94, 64], Operations: ['72+6=78', '78-14=64'] Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 94+64=158, Resulting Numbers: [158] 158,90 unequal: No Solution Exploring Operation: 94*64=6016, Resulting Numbers: [6016] 6016,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 90:[78, 108], Operations: ['72+6=78', '14+94=108'] Exploring Operation: 78*108=8424, Resulting Numbers: [8424] 8424,90 unequal: No Solution Exploring Operation: 78+108=186, Resulting Numbers: [186] 186,90 unequal: No Solution Exploring Operation: 108-78=30, Resulting Numbers: [30] 30,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 24, 74, 37, 51 ]
63
[ "24*37=888", "888/74=12", "51+12=63" ]
Current State: 63:[24, 74, 37, 51], Operations: [] Exploring Operation: 24*37=888, Resulting Numbers: [74, 51, 888] Generated Node #2: [74, 51, 888] from Operation: 24*37=888 Current State: 63:[74, 51, 888], Operations: ['24*37=888'] Exploring Operation: 888/74=12, Resulting Numbers: [51, 12] Generated Node #3: [51, 12] from Operation: 888/74=12 Current State: 63:[51, 12], Operations: ['24*37=888', '888/74=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[24, 74, 37, 51], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [24, 51, 2] Generated Node #0,0: 63:[24, 51, 2] Operation: 74/37=2 Exploring Operation: 51-37=14, Resulting Numbers: [24, 74, 14] Generated Node #0,1: 63:[24, 74, 14] Operation: 51-37=14 Exploring Operation: 74-51=23, Resulting Numbers: [24, 37, 23] Generated Node #0,2: 63:[24, 37, 23] Operation: 74-51=23 Exploring Operation: 24+37=61, Resulting Numbers: [74, 51, 61] Generated Node #0,3: 63:[74, 51, 61] Operation: 24+37=61 Moving to Node #0,0 Current State: 63:[24, 51, 2], Operations: ['74/37=2'] Exploring Operation: 24-2=22, Resulting Numbers: [51, 22] Generated Node #0,0,0: 63:[51, 22] Operation: 24-2=22 Exploring Operation: 24+51=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 63:[2, 75] Operation: 24+51=75 Exploring Operation: 51+2=53, Resulting Numbers: [24, 53] Generated Node #0,0,2: 63:[24, 53] Operation: 51+2=53 Exploring Operation: 51-24=27, Resulting Numbers: [2, 27] Generated Node #0,0,3: 63:[2, 27] Operation: 51-24=27 Moving to Node #0,1 Current State: 63:[24, 74, 14], Operations: ['51-37=14'] Exploring Operation: 24+14=38, Resulting Numbers: [74, 38] Generated Node #0,1,0: 63:[74, 38] Operation: 24+14=38 Exploring Operation: 74-24=50, Resulting Numbers: [14, 50] Generated Node #0,1,1: 63:[14, 50] Operation: 74-24=50 Exploring Operation: 74-14=60, Resulting Numbers: [24, 60] Generated Node #0,1,2: 63:[24, 60] Operation: 74-14=60 Exploring Operation: 24-14=10, Resulting Numbers: [74, 10] Generated Node #0,1,3: 63:[74, 10] Operation: 24-14=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[24, 60], Operations: ['51-37=14', '74-14=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,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:[74, 10], Operations: ['51-37=14', '24-14=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,63 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,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,1 Current State: 63:[14, 50], Operations: ['51-37=14', '74-24=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,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:[74, 38], Operations: ['51-37=14', '24+14=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,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:[24, 37, 23], Operations: ['74-51=23'] Exploring Operation: 37-23=14, Resulting Numbers: [24, 14] Generated Node #0,2,0: 63:[24, 14] Operation: 37-23=14 Exploring Operation: 37-24=13, Resulting Numbers: [23, 13] Generated Node #0,2,1: 63:[23, 13] Operation: 37-24=13 Exploring Operation: 37+23=60, Resulting Numbers: [24, 60] Generated Node #0,2,2: 63:[24, 60] Operation: 37+23=60 Exploring Operation: 24+37=61, Resulting Numbers: [23, 61] Generated Node #0,2,3: 63:[23, 61] Operation: 24+37=61 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[23, 61], Operations: ['74-51=23', '24+37=61'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,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,2,1 Current State: 63:[23, 13], Operations: ['74-51=23', '37-24=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,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,2,2 Current State: 63:[24, 60], Operations: ['74-51=23', '37+23=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,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,2,0 Current State: 63:[24, 14], Operations: ['74-51=23', '37-23=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,63 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: 63:[74, 51, 61], Operations: ['24+37=61'] Exploring Operation: 74-51=23, Resulting Numbers: [61, 23] Generated Node #0,3,0: 63:[61, 23] Operation: 74-51=23 Exploring Operation: 61-51=10, Resulting Numbers: [74, 10] Generated Node #0,3,1: 63:[74, 10] Operation: 61-51=10 Exploring Operation: 74-61=13, Resulting Numbers: [51, 13] Generated Node #0,3,2: 63:[51, 13] Operation: 74-61=13 Exploring Operation: 51+61=112, Resulting Numbers: [74, 112] Generated Node #0,3,3: 63:[74, 112] Operation: 51+61=112 Moving to Node #0,3,0 Current State: 63:[61, 23], Operations: ['24+37=61', '74-51=23'] Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,63 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[2, 27], Operations: ['74/37=2', '51-24=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[74, 10], Operations: ['24+37=61', '61-51=10'] Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,63 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[2, 75], Operations: ['74/37=2', '24+51=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[51, 22], Operations: ['74/37=2', '24-2=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[24, 53], Operations: ['74/37=2', '51+2=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[51, 13], Operations: ['24+37=61', '74-61=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[74, 112], Operations: ['24+37=61', '51+61=112'] Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,63 unequal: No Solution Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,63 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 53, 34, 73 ]
32
[ "18+53=71", "73-34=39", "71-39=32" ]
Current State: 32:[18, 53, 34, 73], Operations: [] Exploring Operation: 18+53=71, Resulting Numbers: [34, 73, 71] Generated Node #2: [34, 73, 71] from Operation: 18+53=71 Current State: 32:[34, 73, 71], Operations: ['18+53=71'] Exploring Operation: 73-34=39, Resulting Numbers: [71, 39] Generated Node #3: [71, 39] from Operation: 73-34=39 Current State: 32:[71, 39], Operations: ['18+53=71', '73-34=39'] Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[18, 53, 34, 73], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [18, 34, 20] Generated Node #0,0: 32:[18, 34, 20] Operation: 73-53=20 Moving to Node #0,0 Current State: 32:[18, 34, 20], Operations: ['73-53=20'] Exploring Operation: 20-18=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 32:[34, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[34, 2], Operations: ['73-53=20', '20-18=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[18, 53, 34, 73], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [18, 34, 20] Generated Node #0,0: 32:[18, 34, 20] Operation: 73-53=20 Moving to Node #0,0 Current State: 32:[18, 34, 20], Operations: ['73-53=20'] Exploring Operation: 20-18=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 32:[34, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 32:[34, 2], Operations: ['73-53=20', '20-18=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 25, 35, 24 ]
16
[ "25/5=5", "35-24=11", "5+11=16" ]
Current State: 16:[5, 25, 35, 24], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [35, 24, 5] Generated Node #2: [35, 24, 5] from Operation: 25/5=5 Current State: 16:[35, 24, 5], Operations: ['25/5=5'] Exploring Operation: 35-24=11, Resulting Numbers: [5, 11] Generated Node #3: [5, 11] from Operation: 35-24=11 Current State: 16:[5, 11], Operations: ['25/5=5', '35-24=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 25, 35, 24], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [25, 24, 7] Generated Node #0,0: 16:[25, 24, 7] Operation: 35/5=7 Exploring Operation: 35-25=10, Resulting Numbers: [5, 24, 10] Generated Node #0,1: 16:[5, 24, 10] Operation: 35-25=10 Exploring Operation: 35-24=11, Resulting Numbers: [5, 25, 11] Generated Node #0,2: 16:[5, 25, 11] Operation: 35-24=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[5, 24, 10], Operations: ['35-25=10'] Exploring Operation: 24-5=19, Resulting Numbers: [10, 19] Generated Node #0,1,0: 16:[10, 19] Operation: 24-5=19 Exploring Operation: 10/5=2, Resulting Numbers: [24, 2] Generated Node #0,1,1: 16:[24, 2] Operation: 10/5=2 Exploring Operation: 24-10=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 16:[5, 14] Operation: 24-10=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[5, 14], Operations: ['35-25=10', '24-10=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,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,1,0 Current State: 16:[10, 19], Operations: ['35-25=10', '24-5=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,16 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,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,1,1 Current State: 16:[24, 2], Operations: ['35-25=10', '10/5=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[5, 25, 11], Operations: ['35-24=11'] Exploring Operation: 25-11=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 16:[5, 14] Operation: 25-11=14 Exploring Operation: 25-5=20, Resulting Numbers: [11, 20] Generated Node #0,2,1: 16:[11, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [11, 5] Generated Node #0,2,2: 16:[11, 5] Operation: 25/5=5 Moving to Node #0,2,0 Current State: 16:[5, 14], Operations: ['35-24=11', '25-11=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[11, 5], Operations: ['35-24=11', '25/5=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 25, 35, 24], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [5, 25, 11] Generated Node #0,2: 16:[5, 25, 11] Operation: 35-24=11 Moving to Node #0,2 Current State: 16:[5, 25, 11], Operations: ['35-24=11'] Exploring Operation: 25/5=5, Resulting Numbers: [11, 5] Generated Node #0,2,2: 16:[11, 5] Operation: 25/5=5 Moving to Node #0,2,2 Current State: 16:[11, 5], Operations: ['35-24=11', '25/5=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 92, 76, 88, 17 ]
63
[ "92+76=168", "88+17=105", "168-105=63" ]
Current State: 63:[92, 76, 88, 17], Operations: [] Exploring Operation: 92+76=168, Resulting Numbers: [88, 17, 168] Generated Node #2: [88, 17, 168] from Operation: 92+76=168 Current State: 63:[88, 17, 168], Operations: ['92+76=168'] Exploring Operation: 88+17=105, Resulting Numbers: [168, 105] Generated Node #3: [168, 105] from Operation: 88+17=105 Current State: 63:[168, 105], Operations: ['92+76=168', '88+17=105'] Exploring Operation: 168-105=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[92, 76, 88, 17], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [76, 17, 4] Generated Node #0,0: 63:[76, 17, 4] Operation: 92-88=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[76, 17, 4], Operations: ['92-88=4'] Exploring Operation: 76-17=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 63:[4, 59] Operation: 76-17=59 Moving to Node #0,0,0 Current State: 63:[4, 59], Operations: ['92-88=4', '76-17=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[92, 76, 88, 17], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [76, 17, 4] Generated Node #0,0: 63:[76, 17, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 63:[76, 17, 4], Operations: ['92-88=4'] Exploring Operation: 76-17=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 63:[4, 59] Operation: 76-17=59 Moving to Node #0,0,0 Current State: 63:[4, 59], Operations: ['92-88=4', '76-17=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 41, 65, 9 ]
71
[ "56-41=15", "65-9=56", "15+56=71" ]
Current State: 71:[56, 41, 65, 9], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [65, 9, 15] Generated Node #2: [65, 9, 15] from Operation: 56-41=15 Current State: 71:[65, 9, 15], Operations: ['56-41=15'] Exploring Operation: 65-9=56, Resulting Numbers: [15, 56] Generated Node #3: [15, 56] from Operation: 65-9=56 Current State: 71:[15, 56], Operations: ['56-41=15', '65-9=56'] Exploring Operation: 15+56=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 41, 65, 9], Operations: [] Exploring Operation: 41+9=50, Resulting Numbers: [56, 65, 50] Generated Node #0,0: 71:[56, 65, 50] Operation: 41+9=50 Exploring Operation: 56+9=65, Resulting Numbers: [41, 65, 65] Generated Node #0,1: 71:[41, 65, 65] Operation: 56+9=65 Moving to Node #0,0 Current State: 71:[56, 65, 50], Operations: ['41+9=50'] Exploring Operation: 65+50=115, Resulting Numbers: [56, 115] Generated Node #0,0,0: 71:[56, 115] Operation: 65+50=115 Exploring Operation: 56+50=106, Resulting Numbers: [65, 106] Generated Node #0,0,1: 71:[65, 106] Operation: 56+50=106 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[65, 106], Operations: ['41+9=50', '56+50=106'] Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 65+106=171, Resulting Numbers: [171] 171,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[56, 115], Operations: ['41+9=50', '65+50=115'] Exploring Operation: 56+115=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,71 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: 71:[41, 65, 65], Operations: ['56+9=65'] Exploring Operation: 41+65=106, Resulting Numbers: [65, 106] Generated Node #0,1,0: 71:[65, 106] Operation: 41+65=106 Exploring Operation: 41+65=106, Resulting Numbers: [65, 106] Generated Node #0,1,1: 71:[65, 106] Operation: 41+65=106 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[65, 106], Operations: ['56+9=65', '41+65=106'] Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 65+106=171, Resulting Numbers: [171] 171,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:[65, 106], Operations: ['56+9=65', '41+65=106'] Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 65+106=171, Resulting Numbers: [171] 171,71 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
[ 91, 67, 20, 51 ]
69
[ "91-51=40", "40/20=2", "67+2=69" ]
Current State: 69:[91, 67, 20, 51], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [67, 20, 40] Generated Node #2: [67, 20, 40] from Operation: 91-51=40 Current State: 69:[67, 20, 40], Operations: ['91-51=40'] Exploring Operation: 40/20=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 40/20=2 Current State: 69:[67, 2], Operations: ['91-51=40', '40/20=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[91, 67, 20, 51], Operations: [] Exploring Operation: 91-20=71, Resulting Numbers: [67, 51, 71] Generated Node #0,0: 69:[67, 51, 71] Operation: 91-20=71 Exploring Operation: 20+51=71, Resulting Numbers: [91, 67, 71] Generated Node #0,1: 69:[91, 67, 71] Operation: 20+51=71 Exploring Operation: 91-67=24, Resulting Numbers: [20, 51, 24] Generated Node #0,2: 69:[20, 51, 24] Operation: 91-67=24 Exploring Operation: 91-51=40, Resulting Numbers: [67, 20, 40] Generated Node #0,3: 69:[67, 20, 40] Operation: 91-51=40 Moving to Node #0,0 Current State: 69:[67, 51, 71], Operations: ['91-20=71'] Exploring Operation: 67+51=118, Resulting Numbers: [71, 118] Generated Node #0,0,0: 69:[71, 118] Operation: 67+51=118 Exploring Operation: 67-51=16, Resulting Numbers: [71, 16] Generated Node #0,0,1: 69:[71, 16] Operation: 67-51=16 Exploring Operation: 71-67=4, Resulting Numbers: [51, 4] Generated Node #0,0,2: 69:[51, 4] Operation: 71-67=4 Exploring Operation: 71-51=20, Resulting Numbers: [67, 20] Generated Node #0,0,3: 69:[67, 20] Operation: 71-51=20 Moving to Node #0,3 Current State: 69:[67, 20, 40], Operations: ['91-51=40'] Exploring Operation: 40-20=20, Resulting Numbers: [67, 20] Generated Node #0,3,0: 69:[67, 20] Operation: 40-20=20 Exploring Operation: 20+40=60, Resulting Numbers: [67, 60] Generated Node #0,3,1: 69:[67, 60] Operation: 20+40=60 Exploring Operation: 40/20=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 69:[67, 2] Operation: 40/20=2 Exploring Operation: 67-40=27, Resulting Numbers: [20, 27] Generated Node #0,3,3: 69:[20, 27] Operation: 67-40=27 Moving to Node #0,2 Current State: 69:[20, 51, 24], Operations: ['91-67=24'] Exploring Operation: 51+24=75, Resulting Numbers: [20, 75] Generated Node #0,2,0: 69:[20, 75] Operation: 51+24=75 Exploring Operation: 20+51=71, Resulting Numbers: [24, 71] Generated Node #0,2,1: 69:[24, 71] Operation: 20+51=71 Exploring Operation: 51-24=27, Resulting Numbers: [20, 27] Generated Node #0,2,2: 69:[20, 27] Operation: 51-24=27 Exploring Operation: 51-20=31, Resulting Numbers: [24, 31] Generated Node #0,2,3: 69:[24, 31] Operation: 51-20=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[24, 71], Operations: ['91-67=24', '20+51=71'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,69 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,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,2,2 Current State: 69:[20, 27], Operations: ['91-67=24', '51-24=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,69 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,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,2,0 Current State: 69:[20, 75], Operations: ['91-67=24', '51+24=75'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,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,2,3 Current State: 69:[24, 31], Operations: ['91-67=24', '51-20=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,69 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: 69:[91, 67, 71], Operations: ['20+51=71'] Exploring Operation: 91-67=24, Resulting Numbers: [71, 24] Generated Node #0,1,0: 69:[71, 24] Operation: 91-67=24 Exploring Operation: 91+67=158, Resulting Numbers: [71, 158] Generated Node #0,1,1: 69:[71, 158] Operation: 91+67=158 Exploring Operation: 71-67=4, Resulting Numbers: [91, 4] Generated Node #0,1,2: 69:[91, 4] Operation: 71-67=4 Exploring Operation: 91-71=20, Resulting Numbers: [67, 20] Generated Node #0,1,3: 69:[67, 20] Operation: 91-71=20 Moving to Node #0,3,2 Current State: 69:[67, 2], Operations: ['91-51=40', '40/20=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[91, 67, 20, 51], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [67, 20, 40] Generated Node #0,3: 69:[67, 20, 40] Operation: 91-51=40 Moving to Node #0,3 Current State: 69:[67, 20, 40], Operations: ['91-51=40'] Exploring Operation: 40/20=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 69:[67, 2] Operation: 40/20=2 Moving to Node #0,3,2 Current State: 69:[67, 2], Operations: ['91-51=40', '40/20=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 52, 71, 88, 4 ]
12
[ "71-52=19", "4*19=76", "88-76=12" ]
Current State: 12:[52, 71, 88, 4], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [88, 4, 19] Generated Node #2: [88, 4, 19] from Operation: 71-52=19 Current State: 12:[88, 4, 19], Operations: ['71-52=19'] Exploring Operation: 4*19=76, Resulting Numbers: [88, 76] Generated Node #3: [88, 76] from Operation: 4*19=76 Current State: 12:[88, 76], Operations: ['71-52=19', '4*19=76'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[52, 71, 88, 4], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [88, 4, 19] Generated Node #0,0: 12:[88, 4, 19] Operation: 71-52=19 Exploring Operation: 88-71=17, Resulting Numbers: [52, 4, 17] Generated Node #0,1: 12:[52, 4, 17] Operation: 88-71=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[52, 4, 17], Operations: ['88-71=17'] Exploring Operation: 52-17=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 12:[4, 35] Operation: 52-17=35 Exploring Operation: 52/4=13, Resulting Numbers: [17, 13] Generated Node #0,1,1: 12:[17, 13] Operation: 52/4=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[17, 13], Operations: ['88-71=17', '52/4=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[4, 35], Operations: ['88-71=17', '52-17=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[88, 4, 19], Operations: ['71-52=19'] Exploring Operation: 88/4=22, Resulting Numbers: [19, 22] Generated Node #0,0,0: 12:[19, 22] Operation: 88/4=22 Exploring Operation: 88-19=69, Resulting Numbers: [4, 69] Generated Node #0,0,1: 12:[4, 69] Operation: 88-19=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[19, 22], Operations: ['71-52=19', '88/4=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[4, 69], Operations: ['71-52=19', '88-19=69'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 55, 74, 1 ]
38
[ "3-1=2", "74-55=19", "2*19=38" ]
Current State: 38:[3, 55, 74, 1], Operations: [] Exploring Operation: 3-1=2, Resulting Numbers: [55, 74, 2] Generated Node #2: [55, 74, 2] from Operation: 3-1=2 Current State: 38:[55, 74, 2], Operations: ['3-1=2'] Exploring Operation: 74-55=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 74-55=19 Current State: 38:[2, 19], Operations: ['3-1=2', '74-55=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[3, 55, 74, 1], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [3, 1, 19] Generated Node #0,0: 38:[3, 1, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 38:[3, 1, 19], Operations: ['74-55=19'] Exploring Operation: 3-1=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 38:[19, 2] Operation: 3-1=2 Moving to Node #0,0,0 Current State: 38:[19, 2], Operations: ['74-55=19', '3-1=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[3, 55, 74, 1], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [3, 1, 19] Generated Node #0,0: 38:[3, 1, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 38:[3, 1, 19], Operations: ['74-55=19'] Exploring Operation: 3-1=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 38:[19, 2] Operation: 3-1=2 Moving to Node #0,0,0 Current State: 38:[19, 2], Operations: ['74-55=19', '3-1=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 56, 96, 61, 26 ]
14
[ "61-56=5", "96-26=70", "70/5=14" ]
Current State: 14:[56, 96, 61, 26], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [96, 26, 5] Generated Node #2: [96, 26, 5] from Operation: 61-56=5 Current State: 14:[96, 26, 5], Operations: ['61-56=5'] Exploring Operation: 96-26=70, Resulting Numbers: [5, 70] Generated Node #3: [5, 70] from Operation: 96-26=70 Current State: 14:[5, 70], Operations: ['61-56=5', '96-26=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[56, 96, 61, 26], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [56, 26, 35] Generated Node #0,0: 14:[56, 26, 35] Operation: 96-61=35 Moving to Node #0,0 Current State: 14:[56, 26, 35], Operations: ['96-61=35'] Exploring Operation: 56-35=21, Resulting Numbers: [26, 21] Generated Node #0,0,0: 14:[26, 21] Operation: 56-35=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[26, 21], Operations: ['96-61=35', '56-35=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,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
[ 4, 65, 58, 9 ]
27
[ "65-4=61", "61-58=3", "9*3=27" ]
Current State: 27:[4, 65, 58, 9], Operations: [] Exploring Operation: 65-4=61, Resulting Numbers: [58, 9, 61] Generated Node #2: [58, 9, 61] from Operation: 65-4=61 Current State: 27:[58, 9, 61], Operations: ['65-4=61'] Exploring Operation: 61-58=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 61-58=3 Current State: 27:[9, 3], Operations: ['65-4=61', '61-58=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[4, 65, 58, 9], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [4, 9, 7] Generated Node #0,0: 27:[4, 9, 7] Operation: 65-58=7 Exploring Operation: 65-9=56, Resulting Numbers: [4, 58, 56] Generated Node #0,1: 27:[4, 58, 56] Operation: 65-9=56 Moving to Node #0,0 Current State: 27:[4, 9, 7], Operations: ['65-58=7'] Exploring Operation: 7-4=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 27:[9, 3] Operation: 7-4=3 Exploring Operation: 4*7=28, Resulting Numbers: [9, 28] Generated Node #0,0,1: 27:[9, 28] Operation: 4*7=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[9, 3], Operations: ['65-58=7', '7-4=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[4, 65, 58, 9], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [4, 9, 7] Generated Node #0,0: 27:[4, 9, 7] Operation: 65-58=7 Moving to Node #0,0 Current State: 27:[4, 9, 7], Operations: ['65-58=7'] Exploring Operation: 7-4=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 27:[9, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 27:[9, 3], Operations: ['65-58=7', '7-4=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 30, 42, 18, 10 ]
32
[ "30/10=3", "42/3=14", "18+14=32" ]
Current State: 32:[30, 42, 18, 10], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [42, 18, 3] Generated Node #2: [42, 18, 3] from Operation: 30/10=3 Current State: 32:[42, 18, 3], Operations: ['30/10=3'] Exploring Operation: 42/3=14, Resulting Numbers: [18, 14] Generated Node #3: [18, 14] from Operation: 42/3=14 Current State: 32:[18, 14], Operations: ['30/10=3', '42/3=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[30, 42, 18, 10], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [30, 18, 32] Generated Node #0,0: 32:[30, 18, 32] Operation: 42-10=32 Exploring Operation: 42-30=12, Resulting Numbers: [18, 10, 12] Generated Node #0,1: 32:[18, 10, 12] Operation: 42-30=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[30, 18, 32], Operations: ['42-10=32'] Exploring Operation: 32-30=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 32:[18, 2] Operation: 32-30=2 Exploring Operation: 30-18=12, Resulting Numbers: [32, 12] Generated Node #0,0,1: 32:[32, 12] Operation: 30-18=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[18, 2], Operations: ['42-10=32', '32-30=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,32 unequal: No Solution No 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: 32:[32, 12], Operations: ['42-10=32', '30-18=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,32 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: 32:[18, 10, 12], Operations: ['42-30=12'] Exploring Operation: 18-10=8, Resulting Numbers: [12, 8] Generated Node #0,1,0: 32:[12, 8] Operation: 18-10=8 Exploring Operation: 12-10=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 32:[18, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[18, 2], Operations: ['42-30=12', '12-10=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,32 unequal: No Solution No 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: 32:[12, 8], Operations: ['42-30=12', '18-10=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 27, 12, 71, 76 ]
75
[ "27-12=15", "76-71=5", "15*5=75" ]
Current State: 75:[27, 12, 71, 76], Operations: [] Exploring Operation: 27-12=15, Resulting Numbers: [71, 76, 15] Generated Node #2: [71, 76, 15] from Operation: 27-12=15 Current State: 75:[71, 76, 15], Operations: ['27-12=15'] Exploring Operation: 76-71=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 76-71=5 Current State: 75:[15, 5], Operations: ['27-12=15', '76-71=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[27, 12, 71, 76], Operations: [] Exploring Operation: 27-12=15, Resulting Numbers: [71, 76, 15] Generated Node #0,0: 75:[71, 76, 15] Operation: 27-12=15 Exploring Operation: 12+71=83, Resulting Numbers: [27, 76, 83] Generated Node #0,1: 75:[27, 76, 83] Operation: 12+71=83 Exploring Operation: 76-71=5, Resulting Numbers: [27, 12, 5] Generated Node #0,2: 75:[27, 12, 5] Operation: 76-71=5 Moving to Node #0,0 Current State: 75:[71, 76, 15], Operations: ['27-12=15'] Exploring Operation: 71+15=86, Resulting Numbers: [76, 86] Generated Node #0,0,0: 75:[76, 86] Operation: 71+15=86 Exploring Operation: 76-15=61, Resulting Numbers: [71, 61] Generated Node #0,0,1: 75:[71, 61] Operation: 76-15=61 Exploring Operation: 76-71=5, Resulting Numbers: [15, 5] Generated Node #0,0,2: 75:[15, 5] Operation: 76-71=5 Moving to Node #0,2 Current State: 75:[27, 12, 5], Operations: ['76-71=5'] Exploring Operation: 12-5=7, Resulting Numbers: [27, 7] Generated Node #0,2,0: 75:[27, 7] Operation: 12-5=7 Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,2,1: 75:[5, 15] Operation: 27-12=15 Exploring Operation: 12+5=17, Resulting Numbers: [27, 17] Generated Node #0,2,2: 75:[27, 17] Operation: 12+5=17 Moving to Node #0,1 Current State: 75:[27, 76, 83], Operations: ['12+71=83'] Exploring Operation: 83-76=7, Resulting Numbers: [27, 7] Generated Node #0,1,0: 75:[27, 7] Operation: 83-76=7 Exploring Operation: 76-27=49, Resulting Numbers: [83, 49] Generated Node #0,1,1: 75:[83, 49] Operation: 76-27=49 Exploring Operation: 83-27=56, Resulting Numbers: [76, 56] Generated Node #0,1,2: 75:[76, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[27, 7], Operations: ['12+71=83', '83-76=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,75 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[76, 56], Operations: ['12+71=83', '83-27=56'] Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[83, 49], Operations: ['12+71=83', '76-27=49'] Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,75 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,75 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: 75:[15, 5], Operations: ['27-12=15', '76-71=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[27, 12, 71, 76], Operations: [] Exploring Operation: 27-12=15, Resulting Numbers: [71, 76, 15] Generated Node #0,0: 75:[71, 76, 15] Operation: 27-12=15 Moving to Node #0,0 Current State: 75:[71, 76, 15], Operations: ['27-12=15'] Exploring Operation: 76-71=5, Resulting Numbers: [15, 5] Generated Node #0,0,2: 75:[15, 5] Operation: 76-71=5 Moving to Node #0,0,2 Current State: 75:[15, 5], Operations: ['27-12=15', '76-71=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 16, 1, 44, 9 ]
100
[ "16*1=16", "9*16=144", "144-44=100" ]
Current State: 100:[16, 1, 44, 9], Operations: [] Exploring Operation: 16*1=16, Resulting Numbers: [44, 9, 16] Generated Node #2: [44, 9, 16] from Operation: 16*1=16 Current State: 100:[44, 9, 16], Operations: ['16*1=16'] Exploring Operation: 9*16=144, Resulting Numbers: [44, 144] Generated Node #3: [44, 144] from Operation: 9*16=144 Current State: 100:[44, 144], Operations: ['16*1=16', '9*16=144'] Exploring Operation: 144-44=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[16, 1, 44, 9], Operations: [] Exploring Operation: 44+9=53, Resulting Numbers: [16, 1, 53] Generated Node #0,0: 100:[16, 1, 53] Operation: 44+9=53 Exploring Operation: 16+9=25, Resulting Numbers: [1, 44, 25] Generated Node #0,1: 100:[1, 44, 25] Operation: 16+9=25 Exploring Operation: 16-9=7, Resulting Numbers: [1, 44, 7] Generated Node #0,2: 100:[1, 44, 7] Operation: 16-9=7 Exploring Operation: 44-16=28, Resulting Numbers: [1, 9, 28] Generated Node #0,3: 100:[1, 9, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[1, 9, 28], Operations: ['44-16=28'] Exploring Operation: 28-9=19, Resulting Numbers: [1, 19] Generated Node #0,3,0: 100:[1, 19] Operation: 28-9=19 Exploring Operation: 1*9=9, Resulting Numbers: [28, 9] Generated Node #0,3,1: 100:[28, 9] Operation: 1*9=9 Exploring Operation: 1+9=10, Resulting Numbers: [28, 10] Generated Node #0,3,2: 100:[28, 10] Operation: 1+9=10 Exploring Operation: 28-1=27, Resulting Numbers: [9, 27] Generated Node #0,3,3: 100:[9, 27] Operation: 28-1=27 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[1, 19], Operations: ['44-16=28', '28-9=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,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,3,2 Current State: 100:[28, 10], Operations: ['44-16=28', '1+9=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,100 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,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,3,3 Current State: 100:[9, 27], Operations: ['44-16=28', '28-1=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,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,3,1 Current State: 100:[28, 9], Operations: ['44-16=28', '1*9=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[1, 44, 25], Operations: ['16+9=25'] Exploring Operation: 44/1=44, Resulting Numbers: [25, 44] Generated Node #0,1,0: 100:[25, 44] Operation: 44/1=44 Exploring Operation: 44-25=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 100:[1, 19] Operation: 44-25=19 Exploring Operation: 1*44=44, Resulting Numbers: [25, 44] Generated Node #0,1,2: 100:[25, 44] Operation: 1*44=44 Exploring Operation: 1+44=45, Resulting Numbers: [25, 45] Generated Node #0,1,3: 100:[25, 45] Operation: 1+44=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[1, 19], Operations: ['16+9=25', '44-25=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[25, 45], Operations: ['16+9=25', '1+44=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[25, 44], Operations: ['16+9=25', '44/1=44'] Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,100 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[25, 44], Operations: ['16+9=25', '1*44=44'] Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,100 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[16, 1, 53], Operations: ['44+9=53'] Exploring Operation: 53-1=52, Resulting Numbers: [16, 52] Generated Node #0,0,0: 100:[16, 52] Operation: 53-1=52 Exploring Operation: 16/1=16, Resulting Numbers: [53, 16] Generated Node #0,0,1: 100:[53, 16] Operation: 16/1=16 Exploring Operation: 16+1=17, Resulting Numbers: [53, 17] Generated Node #0,0,2: 100:[53, 17] Operation: 16+1=17 Exploring Operation: 16*1=16, Resulting Numbers: [53, 16] Generated Node #0,0,3: 100:[53, 16] Operation: 16*1=16 Moving to Node #0,0,0 Current State: 100:[16, 52], Operations: ['44+9=53', '53-1=52'] Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,100 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[53, 17], Operations: ['44+9=53', '16+1=17'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,100 unequal: No Solution Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[53, 16], Operations: ['44+9=53', '16*1=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,100 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[53, 16], Operations: ['44+9=53', '16/1=16'] Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,100 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[1, 44, 7], Operations: ['16-9=7'] Exploring Operation: 7-1=6, Resulting Numbers: [44, 6] Generated Node #0,2,0: 100:[44, 6] Operation: 7-1=6 Exploring Operation: 1+44=45, Resulting Numbers: [7, 45] Generated Node #0,2,1: 100:[7, 45] Operation: 1+44=45 Exploring Operation: 44+7=51, Resulting Numbers: [1, 51] Generated Node #0,2,2: 100:[1, 51] Operation: 44+7=51 Exploring Operation: 1*44=44, Resulting Numbers: [7, 44] Generated Node #0,2,3: 100:[7, 44] Operation: 1*44=44 Moving to Node #0,2,2 Current State: 100:[1, 51], Operations: ['16-9=7', '44+7=51'] Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[7, 45], Operations: ['16-9=7', '1+44=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[44, 6], Operations: ['16-9=7', '7-1=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[7, 44], Operations: ['16-9=7', '1*44=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,100 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,100 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
[ 3, 61, 19, 34 ]
30
[ "3*19=57", "61-34=27", "57-27=30" ]
Current State: 30:[3, 61, 19, 34], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [61, 34, 57] Generated Node #2: [61, 34, 57] from Operation: 3*19=57 Current State: 30:[61, 34, 57], Operations: ['3*19=57'] Exploring Operation: 61-34=27, Resulting Numbers: [57, 27] Generated Node #3: [57, 27] from Operation: 61-34=27 Current State: 30:[57, 27], Operations: ['3*19=57', '61-34=27'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[3, 61, 19, 34], Operations: [] Exploring Operation: 34-19=15, Resulting Numbers: [3, 61, 15] Generated Node #0,0: 30:[3, 61, 15] Operation: 34-19=15 Exploring Operation: 61-19=42, Resulting Numbers: [3, 34, 42] Generated Node #0,1: 30:[3, 34, 42] Operation: 61-19=42 Exploring Operation: 61-34=27, Resulting Numbers: [3, 19, 27] Generated Node #0,2: 30:[3, 19, 27] Operation: 61-34=27 Exploring Operation: 61-3=58, Resulting Numbers: [19, 34, 58] Generated Node #0,3: 30:[19, 34, 58] Operation: 61-3=58 Moving to Node #0,2 Current State: 30:[3, 19, 27], Operations: ['61-34=27'] Exploring Operation: 3+27=30, Resulting Numbers: [19, 30] Generated Node #0,2,0: 30:[19, 30] Operation: 3+27=30 Exploring Operation: 27/3=9, Resulting Numbers: [19, 9] Generated Node #0,2,1: 30:[19, 9] Operation: 27/3=9 Exploring Operation: 27-19=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 30:[3, 8] Operation: 27-19=8 Exploring Operation: 19-3=16, Resulting Numbers: [27, 16] Generated Node #0,2,3: 30:[27, 16] Operation: 19-3=16 Moving to Node #0,1 Current State: 30:[3, 34, 42], Operations: ['61-19=42'] Exploring Operation: 34-3=31, Resulting Numbers: [42, 31] Generated Node #0,1,0: 30:[42, 31] Operation: 34-3=31 Exploring Operation: 42-34=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 30:[3, 8] Operation: 42-34=8 Exploring Operation: 42-3=39, Resulting Numbers: [34, 39] Generated Node #0,1,2: 30:[34, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [34, 14] Generated Node #0,1,3: 30:[34, 14] Operation: 42/3=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[3, 8], Operations: ['61-19=42', '42-34=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,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,1,3 Current State: 30:[34, 14], Operations: ['61-19=42', '42/3=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,30 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,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,1,0 Current State: 30:[42, 31], Operations: ['61-19=42', '34-3=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,30 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,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,1,2 Current State: 30:[34, 39], Operations: ['61-19=42', '42-3=39'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,30 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: 30:[3, 61, 15], Operations: ['34-19=15'] Exploring Operation: 61-3=58, Resulting Numbers: [15, 58] Generated Node #0,0,0: 30:[15, 58] Operation: 61-3=58 Exploring Operation: 15-3=12, Resulting Numbers: [61, 12] Generated Node #0,0,1: 30:[61, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [61, 5] Generated Node #0,0,2: 30:[61, 5] Operation: 15/3=5 Exploring Operation: 61-15=46, Resulting Numbers: [3, 46] Generated Node #0,0,3: 30:[3, 46] Operation: 61-15=46 Moving to Node #0,3 Current State: 30:[19, 34, 58], Operations: ['61-3=58'] Exploring Operation: 58-19=39, Resulting Numbers: [34, 39] Generated Node #0,3,0: 30:[34, 39] Operation: 58-19=39 Exploring Operation: 19+34=53, Resulting Numbers: [58, 53] Generated Node #0,3,1: 30:[58, 53] Operation: 19+34=53 Exploring Operation: 58-34=24, Resulting Numbers: [19, 24] Generated Node #0,3,2: 30:[19, 24] Operation: 58-34=24 Exploring Operation: 34-19=15, Resulting Numbers: [58, 15] Generated Node #0,3,3: 30:[58, 15] Operation: 34-19=15 Moving to Node #0,2,2 Current State: 30:[3, 8], Operations: ['61-34=27', '27-19=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,2,3 Current State: 30:[27, 16], Operations: ['61-34=27', '19-3=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[19, 30], Operations: ['61-34=27', '3+27=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,30 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[19, 9], Operations: ['61-34=27', '27/3=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[19, 24], Operations: ['61-3=58', '58-34=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[34, 39], Operations: ['61-3=58', '58-19=39'] Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[3, 46], Operations: ['34-19=15', '61-15=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,30 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[15, 58], Operations: ['34-19=15', '61-3=58'] Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,30 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[58, 15], Operations: ['61-3=58', '34-19=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,30 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[61, 5], Operations: ['34-19=15', '15/3=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,30 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,30 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[61, 12], Operations: ['34-19=15', '15-3=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,30 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[58, 53], Operations: ['61-3=58', '19+34=53'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,30 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,30 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 7, 72, 46, 64 ]
26
[ "72+46=118", "64+118=182", "182/7=26" ]
Current State: 26:[7, 72, 46, 64], Operations: [] Exploring Operation: 72+46=118, Resulting Numbers: [7, 64, 118] Generated Node #2: [7, 64, 118] from Operation: 72+46=118 Current State: 26:[7, 64, 118], Operations: ['72+46=118'] Exploring Operation: 64+118=182, Resulting Numbers: [7, 182] Generated Node #3: [7, 182] from Operation: 64+118=182 Current State: 26:[7, 182], Operations: ['72+46=118', '64+118=182'] Exploring Operation: 182/7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[7, 72, 46, 64], Operations: [] Exploring Operation: 72-46=26, Resulting Numbers: [7, 64, 26] Generated Node #0,0: 26:[7, 64, 26] Operation: 72-46=26 Exploring Operation: 72-7=65, Resulting Numbers: [46, 64, 65] Generated Node #0,1: 26:[46, 64, 65] Operation: 72-7=65 Exploring Operation: 46-7=39, Resulting Numbers: [72, 64, 39] Generated Node #0,2: 26:[72, 64, 39] Operation: 46-7=39 Exploring Operation: 72-64=8, Resulting Numbers: [7, 46, 8] Generated Node #0,3: 26:[7, 46, 8] Operation: 72-64=8 Exploring Operation: 64-46=18, Resulting Numbers: [7, 72, 18] Generated Node #0,4: 26:[7, 72, 18] Operation: 64-46=18 Moving to Node #0,3 Current State: 26:[7, 46, 8], Operations: ['72-64=8'] Exploring Operation: 7+8=15, Resulting Numbers: [46, 15] Generated Node #0,3,0: 26:[46, 15] Operation: 7+8=15 Exploring Operation: 8-7=1, Resulting Numbers: [46, 1] Generated Node #0,3,1: 26:[46, 1] Operation: 8-7=1 Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,3,2: 26:[8, 39] Operation: 46-7=39 Exploring Operation: 7+46=53, Resulting Numbers: [8, 53] Generated Node #0,3,3: 26:[8, 53] Operation: 7+46=53 Exploring Operation: 46-8=38, Resulting Numbers: [7, 38] Generated Node #0,3,4: 26:[7, 38] Operation: 46-8=38 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 26:[7, 38], Operations: ['72-64=8', '46-8=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,26 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[8, 39], Operations: ['72-64=8', '46-7=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[46, 1], Operations: ['72-64=8', '8-7=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[46, 15], Operations: ['72-64=8', '7+8=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,26 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[8, 53], Operations: ['72-64=8', '7+46=53'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,26 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: 26:[7, 64, 26], Operations: ['72-46=26'] Exploring Operation: 26-7=19, Resulting Numbers: [64, 19] Generated Node #0,0,0: 26:[64, 19] Operation: 26-7=19 Exploring Operation: 7+26=33, Resulting Numbers: [64, 33] Generated Node #0,0,1: 26:[64, 33] Operation: 7+26=33 Exploring Operation: 64-26=38, Resulting Numbers: [7, 38] Generated Node #0,0,2: 26:[7, 38] Operation: 64-26=38 Exploring Operation: 64-7=57, Resulting Numbers: [26, 57] Generated Node #0,0,3: 26:[26, 57] Operation: 64-7=57 Exploring Operation: 7+64=71, Resulting Numbers: [26, 71] Generated Node #0,0,4: 26:[26, 71] Operation: 7+64=71 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[7, 38], Operations: ['72-46=26', '64-26=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,26 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[26, 57], Operations: ['72-46=26', '64-7=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,26 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[64, 19], Operations: ['72-46=26', '26-7=19'] Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,26 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[64, 33], Operations: ['72-46=26', '7+26=33'] Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,26 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 26:[26, 71], Operations: ['72-46=26', '7+64=71'] Exploring Operation: 26*71=1846, Resulting Numbers: [1846] 1846,26 unequal: No Solution Exploring Operation: 26+71=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,26 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: 26:[7, 72, 18], Operations: ['64-46=18'] Exploring Operation: 18-7=11, Resulting Numbers: [72, 11] Generated Node #0,4,0: 26:[72, 11] Operation: 18-7=11 Exploring Operation: 72-7=65, Resulting Numbers: [18, 65] Generated Node #0,4,1: 26:[18, 65] Operation: 72-7=65 Exploring Operation: 72-18=54, Resulting Numbers: [7, 54] Generated Node #0,4,2: 26:[7, 54] Operation: 72-18=54 Exploring Operation: 7+18=25, Resulting Numbers: [72, 25] Generated Node #0,4,3: 26:[72, 25] Operation: 7+18=25 Exploring Operation: 72/18=4, Resulting Numbers: [7, 4] Generated Node #0,4,4: 26:[7, 4] Operation: 72/18=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 26:[7, 4], Operations: ['64-46=18', '72/18=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 26:[7, 54], Operations: ['64-46=18', '72-18=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,26 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 26:[18, 65], Operations: ['64-46=18', '72-7=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 26:[72, 25], Operations: ['64-46=18', '7+18=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 26:[72, 11], Operations: ['64-46=18', '18-7=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,26 unequal: No Solution Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,26 unequal: No Solution Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,26 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: 26:[46, 64, 65], Operations: ['72-7=65'] Exploring Operation: 65-64=1, Resulting Numbers: [46, 1] Generated Node #0,1,0: 26:[46, 1] Operation: 65-64=1 Exploring Operation: 46+64=110, Resulting Numbers: [65, 110] Generated Node #0,1,1: 26:[65, 110] Operation: 46+64=110 Exploring Operation: 65-46=19, Resulting Numbers: [64, 19] Generated Node #0,1,2: 26:[64, 19] Operation: 65-46=19 Exploring Operation: 64-46=18, Resulting Numbers: [65, 18] Generated Node #0,1,3: 26:[65, 18] Operation: 64-46=18 Exploring Operation: 46+65=111, Resulting Numbers: [64, 111] Generated Node #0,1,4: 26:[64, 111] Operation: 46+65=111 Moving to Node #0,2 Current State: 26:[72, 64, 39], Operations: ['46-7=39'] Exploring Operation: 72-64=8, Resulting Numbers: [39, 8] Generated Node #0,2,0: 26:[39, 8] Operation: 72-64=8 Exploring Operation: 64-39=25, Resulting Numbers: [72, 25] Generated Node #0,2,1: 26:[72, 25] Operation: 64-39=25 Exploring Operation: 72+39=111, Resulting Numbers: [64, 111] Generated Node #0,2,2: 26:[64, 111] Operation: 72+39=111 Exploring Operation: 72+64=136, Resulting Numbers: [39, 136] Generated Node #0,2,3: 26:[39, 136] Operation: 72+64=136 Exploring Operation: 72-39=33, Resulting Numbers: [64, 33] Generated Node #0,2,4: 26:[64, 33] Operation: 72-39=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[39, 8], Operations: ['46-7=39', '72-64=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[64, 33], Operations: ['46-7=39', '72-39=33'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[72, 25], Operations: ['46-7=39', '64-39=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,26 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[64, 111], Operations: ['46-7=39', '72+39=111'] Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,26 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,26 unequal: No Solution Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[39, 136], Operations: ['46-7=39', '72+64=136'] Exploring Operation: 39*136=5304, Resulting Numbers: [5304] 5304,26 unequal: No Solution Exploring Operation: 136-39=97, Resulting Numbers: [97] 97,26 unequal: No Solution Exploring Operation: 39+136=175, Resulting Numbers: [175] 175,26 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: 26:[46, 1], Operations: ['72-7=65', '65-64=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[65, 18], Operations: ['72-7=65', '64-46=18'] Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[64, 19], Operations: ['72-7=65', '65-46=19'] Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,26 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[65, 110], Operations: ['72-7=65', '46+64=110'] Exploring Operation: 110-65=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 65+110=175, Resulting Numbers: [175] 175,26 unequal: No Solution Exploring Operation: 65*110=7150, Resulting Numbers: [7150] 7150,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[64, 111], Operations: ['72-7=65', '46+65=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,26 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,26 unequal: No Solution Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,26 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 43, 1, 96, 96 ]
42
[ "43*1=43", "96/96=1", "43-1=42" ]
Current State: 42:[43, 1, 96, 96], Operations: [] Exploring Operation: 43*1=43, Resulting Numbers: [96, 96, 43] Generated Node #2: [96, 96, 43] from Operation: 43*1=43 Current State: 42:[96, 96, 43], Operations: ['43*1=43'] Exploring Operation: 96/96=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 96/96=1 Current State: 42:[43, 1], Operations: ['43*1=43', '96/96=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[43, 1, 96, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [43, 1, 1] Generated Node #0,0: 42:[43, 1, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 42:[43, 1, 1], Operations: ['96/96=1'] Exploring Operation: 43-1=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 43-1=42 Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['96/96=1', '43-1=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[43, 1, 96, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [43, 1, 1] Generated Node #0,0: 42:[43, 1, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 42:[43, 1, 1], Operations: ['96/96=1'] Exploring Operation: 43-1=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 43-1=42 Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['96/96=1', '43-1=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 26, 19, 42, 84 ]
63
[ "19*84=1596", "42+1596=1638", "1638/26=63" ]
Current State: 63:[26, 19, 42, 84], Operations: [] Exploring Operation: 19*84=1596, Resulting Numbers: [26, 42, 1596] Generated Node #2: [26, 42, 1596] from Operation: 19*84=1596 Current State: 63:[26, 42, 1596], Operations: ['19*84=1596'] Exploring Operation: 42+1596=1638, Resulting Numbers: [26, 1638] Generated Node #3: [26, 1638] from Operation: 42+1596=1638 Current State: 63:[26, 1638], Operations: ['19*84=1596', '42+1596=1638'] Exploring Operation: 1638/26=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[26, 19, 42, 84], Operations: [] Exploring Operation: 42-26=16, Resulting Numbers: [19, 84, 16] Generated Node #0,0: 63:[19, 84, 16] Operation: 42-26=16 Exploring Operation: 84-26=58, Resulting Numbers: [19, 42, 58] Generated Node #0,1: 63:[19, 42, 58] Operation: 84-26=58 Exploring Operation: 26+42=68, Resulting Numbers: [19, 84, 68] Generated Node #0,2: 63:[19, 84, 68] Operation: 26+42=68 Exploring Operation: 19+42=61, Resulting Numbers: [26, 84, 61] Generated Node #0,3: 63:[26, 84, 61] Operation: 19+42=61 Exploring Operation: 84/42=2, Resulting Numbers: [26, 19, 2] Generated Node #0,4: 63:[26, 19, 2] Operation: 84/42=2 Moving to Node #0,4 Current State: 63:[26, 19, 2], Operations: ['84/42=2'] Exploring Operation: 19+2=21, Resulting Numbers: [26, 21] Generated Node #0,4,0: 63:[26, 21] Operation: 19+2=21 Exploring Operation: 26+2=28, Resulting Numbers: [19, 28] Generated Node #0,4,1: 63:[19, 28] Operation: 26+2=28 Exploring Operation: 26-2=24, Resulting Numbers: [19, 24] Generated Node #0,4,2: 63:[19, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [19, 13] Generated Node #0,4,3: 63:[19, 13] Operation: 26/2=13 Exploring Operation: 26-19=7, Resulting Numbers: [2, 7] Generated Node #0,4,4: 63:[2, 7] Operation: 26-19=7 Moving to Node #0,1 Current State: 63:[19, 42, 58], Operations: ['84-26=58'] Exploring Operation: 58-19=39, Resulting Numbers: [42, 39] Generated Node #0,1,0: 63:[42, 39] Operation: 58-19=39 Exploring Operation: 58-42=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 63:[19, 16] Operation: 58-42=16 Exploring Operation: 42-19=23, Resulting Numbers: [58, 23] Generated Node #0,1,2: 63:[58, 23] Operation: 42-19=23 Exploring Operation: 19+58=77, Resulting Numbers: [42, 77] Generated Node #0,1,3: 63:[42, 77] Operation: 19+58=77 Exploring Operation: 19+42=61, Resulting Numbers: [58, 61] Generated Node #0,1,4: 63:[58, 61] Operation: 19+42=61 Moving to Node #0,3 Current State: 63:[26, 84, 61], Operations: ['19+42=61'] Exploring Operation: 26+61=87, Resulting Numbers: [84, 87] Generated Node #0,3,0: 63:[84, 87] Operation: 26+61=87 Exploring Operation: 61-26=35, Resulting Numbers: [84, 35] Generated Node #0,3,1: 63:[84, 35] Operation: 61-26=35 Exploring Operation: 84-61=23, Resulting Numbers: [26, 23] Generated Node #0,3,2: 63:[26, 23] Operation: 84-61=23 Exploring Operation: 26+84=110, Resulting Numbers: [61, 110] Generated Node #0,3,3: 63:[61, 110] Operation: 26+84=110 Exploring Operation: 84-26=58, Resulting Numbers: [61, 58] Generated Node #0,3,4: 63:[61, 58] Operation: 84-26=58 Moving to Node #0,0 Current State: 63:[19, 84, 16], Operations: ['42-26=16'] Exploring Operation: 84+16=100, Resulting Numbers: [19, 100] Generated Node #0,0,0: 63:[19, 100] Operation: 84+16=100 Exploring Operation: 19-16=3, Resulting Numbers: [84, 3] Generated Node #0,0,1: 63:[84, 3] Operation: 19-16=3 Exploring Operation: 84-16=68, Resulting Numbers: [19, 68] Generated Node #0,0,2: 63:[19, 68] Operation: 84-16=68 Exploring Operation: 84-19=65, Resulting Numbers: [16, 65] Generated Node #0,0,3: 63:[16, 65] Operation: 84-19=65 Exploring Operation: 19+16=35, Resulting Numbers: [84, 35] Generated Node #0,0,4: 63:[84, 35] Operation: 19+16=35 Moving to Node #0,2 Current State: 63:[19, 84, 68], Operations: ['26+42=68'] Exploring Operation: 19+68=87, Resulting Numbers: [84, 87] Generated Node #0,2,0: 63:[84, 87] Operation: 19+68=87 Exploring Operation: 84-19=65, Resulting Numbers: [68, 65] Generated Node #0,2,1: 63:[68, 65] Operation: 84-19=65 Exploring Operation: 68-19=49, Resulting Numbers: [84, 49] Generated Node #0,2,2: 63:[84, 49] Operation: 68-19=49 Exploring Operation: 84-68=16, Resulting Numbers: [19, 16] Generated Node #0,2,3: 63:[19, 16] Operation: 84-68=16 Exploring Operation: 19+84=103, Resulting Numbers: [68, 103] Generated Node #0,2,4: 63:[68, 103] Operation: 19+84=103 Moving to Node #0,4,4 Current State: 63:[2, 7], Operations: ['84/42=2', '26-19=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,63 unequal: No Solution Moving to Node #0,4,2 Current State: 63:[19, 24], Operations: ['84/42=2', '26-2=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,63 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[26, 21], Operations: ['84/42=2', '19+2=21'] Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,63 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[19, 13], Operations: ['84/42=2', '26/2=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[58, 23], Operations: ['84-26=58', '42-19=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[19, 16], Operations: ['84-26=58', '58-42=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,63 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[61, 58], Operations: ['19+42=61', '84-26=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,63 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[26, 23], Operations: ['19+42=61', '84-61=23'] Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,63 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[19, 16], Operations: ['26+42=68', '84-68=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,63 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[68, 65], Operations: ['26+42=68', '84-19=65'] Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,63 unequal: No Solution Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[58, 61], Operations: ['84-26=58', '19+42=61'] Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,63 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[16, 65], Operations: ['42-26=16', '84-19=65'] Exploring Operation: 16*65=1040, Resulting Numbers: [1040] 1040,63 unequal: No Solution Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[19, 68], Operations: ['42-26=16', '84-16=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 19*68=1292, Resulting Numbers: [1292] 1292,63 unequal: No Solution Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[19, 28], Operations: ['84/42=2', '26+2=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[84, 3], Operations: ['42-26=16', '19-16=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[84, 35], Operations: ['19+42=61', '61-26=35'] Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[84, 49], Operations: ['26+42=68', '68-19=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,63 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,63 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[42, 77], Operations: ['84-26=58', '19+58=77'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[84, 35], Operations: ['42-26=16', '19+16=35'] Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,63 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[19, 100], Operations: ['42-26=16', '84+16=100'] Exploring Operation: 19+100=119, Resulting Numbers: [119] 119,63 unequal: No Solution Exploring Operation: 19*100=1900, Resulting Numbers: [1900] 1900,63 unequal: No Solution Exploring Operation: 100-19=81, Resulting Numbers: [81] 81,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[42, 39], Operations: ['84-26=58', '58-19=39'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[68, 103], Operations: ['26+42=68', '19+84=103'] Exploring Operation: 68+103=171, Resulting Numbers: [171] 171,63 unequal: No Solution Exploring Operation: 103-68=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 68*103=7004, Resulting Numbers: [7004] 7004,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[84, 87], Operations: ['26+42=68', '19+68=87'] Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,63 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[84, 87], Operations: ['19+42=61', '26+61=87'] Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,63 unequal: No Solution Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[61, 110], Operations: ['19+42=61', '26+84=110'] Exploring Operation: 61+110=171, Resulting Numbers: [171] 171,63 unequal: No Solution Exploring Operation: 110-61=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 61*110=6710, Resulting Numbers: [6710] 6710,63 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 16, 18, 30 ]
29
[ "33-16=17", "30-18=12", "17+12=29" ]
Current State: 29:[33, 16, 18, 30], Operations: [] Exploring Operation: 33-16=17, Resulting Numbers: [18, 30, 17] Generated Node #2: [18, 30, 17] from Operation: 33-16=17 Current State: 29:[18, 30, 17], Operations: ['33-16=17'] Exploring Operation: 30-18=12, Resulting Numbers: [17, 12] Generated Node #3: [17, 12] from Operation: 30-18=12 Current State: 29:[17, 12], Operations: ['33-16=17', '30-18=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[33, 16, 18, 30], Operations: [] Exploring Operation: 16+18=34, Resulting Numbers: [33, 30, 34] Generated Node #0,0: 29:[33, 30, 34] Operation: 16+18=34 Exploring Operation: 33-16=17, Resulting Numbers: [18, 30, 17] Generated Node #0,1: 29:[18, 30, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[33, 30, 34], Operations: ['16+18=34'] Exploring Operation: 34-33=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 29:[30, 1] Operation: 34-33=1 Exploring Operation: 34-30=4, Resulting Numbers: [33, 4] Generated Node #0,0,1: 29:[33, 4] Operation: 34-30=4 Moving to Node #0,0,0 Current State: 29:[30, 1], Operations: ['16+18=34', '34-33=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[33, 16, 18, 30], Operations: [] Exploring Operation: 16+18=34, Resulting Numbers: [33, 30, 34] Generated Node #0,0: 29:[33, 30, 34] Operation: 16+18=34 Moving to Node #0,0 Current State: 29:[33, 30, 34], Operations: ['16+18=34'] Exploring Operation: 34-33=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 29:[30, 1] Operation: 34-33=1 Moving to Node #0,0,0 Current State: 29:[30, 1], Operations: ['16+18=34', '34-33=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 54, 27, 47, 34 ]
79
[ "54/27=2", "47+34=81", "81-2=79" ]
Current State: 79:[54, 27, 47, 34], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [47, 34, 2] Generated Node #2: [47, 34, 2] from Operation: 54/27=2 Current State: 79:[47, 34, 2], Operations: ['54/27=2'] Exploring Operation: 47+34=81, Resulting Numbers: [2, 81] Generated Node #3: [2, 81] from Operation: 47+34=81 Current State: 79:[2, 81], Operations: ['54/27=2', '47+34=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[54, 27, 47, 34], Operations: [] Exploring Operation: 27+34=61, Resulting Numbers: [54, 47, 61] Generated Node #0,0: 79:[54, 47, 61] Operation: 27+34=61 Exploring Operation: 27+47=74, Resulting Numbers: [54, 34, 74] Generated Node #0,1: 79:[54, 34, 74] Operation: 27+47=74 Moving to Node #0,0 Current State: 79:[54, 47, 61], Operations: ['27+34=61'] Exploring Operation: 47+61=108, Resulting Numbers: [54, 108] Generated Node #0,0,0: 79:[54, 108] Operation: 47+61=108 Exploring Operation: 54+47=101, Resulting Numbers: [61, 101] Generated Node #0,0,1: 79:[61, 101] Operation: 54+47=101 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[61, 101], Operations: ['27+34=61', '54+47=101'] Exploring Operation: 101-61=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 61+101=162, Resulting Numbers: [162] 162,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[54, 108], Operations: ['27+34=61', '47+61=108'] Exploring Operation: 108/54=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[54, 34, 74], Operations: ['27+47=74'] Exploring Operation: 34+74=108, Resulting Numbers: [54, 108] Generated Node #0,1,0: 79:[54, 108] Operation: 34+74=108 Exploring Operation: 54+34=88, Resulting Numbers: [74, 88] Generated Node #0,1,1: 79:[74, 88] Operation: 54+34=88 Moving to Node #0,1,1 Current State: 79:[74, 88], Operations: ['27+47=74', '54+34=88'] Exploring Operation: 74+88=162, Resulting Numbers: [162] 162,79 unequal: No Solution Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[54, 108], Operations: ['27+47=74', '34+74=108'] Exploring Operation: 108/54=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic