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
[ 9, 17, 16, 95 ]
86
[ "95-9=86", "17-16=1", "86*1=86" ]
Current State: 86:[9, 17, 16, 95], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [17, 16, 86] Generated Node #2: [17, 16, 86] from Operation: 95-9=86 Current State: 86:[17, 16, 86], Operations: ['95-9=86'] Exploring Operation: 17-16=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 17-16=1 Current State: 86:[86, 1], Operations: ['95-9=86', '17-16=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[9, 17, 16, 95], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [17, 16, 86] Generated Node #0,0: 86:[17, 16, 86] Operation: 95-9=86 Exploring Operation: 16-9=7, Resulting Numbers: [17, 95, 7] Generated Node #0,1: 86:[17, 95, 7] Operation: 16-9=7 Exploring Operation: 17+16=33, Resulting Numbers: [9, 95, 33] Generated Node #0,2: 86:[9, 95, 33] Operation: 17+16=33 Exploring Operation: 17-9=8, Resulting Numbers: [16, 95, 8] Generated Node #0,3: 86:[16, 95, 8] Operation: 17-9=8 Exploring Operation: 17-16=1, Resulting Numbers: [9, 95, 1] Generated Node #0,4: 86:[9, 95, 1] Operation: 17-16=1 Moving to Node #0,4 Current State: 86:[9, 95, 1], Operations: ['17-16=1'] Exploring Operation: 95-9=86, Resulting Numbers: [1, 86] Generated Node #0,4,0: 86:[1, 86] Operation: 95-9=86 Exploring Operation: 9/1=9, Resulting Numbers: [95, 9] Generated Node #0,4,1: 86:[95, 9] Operation: 9/1=9 Exploring Operation: 95-1=94, Resulting Numbers: [9, 94] Generated Node #0,4,2: 86:[9, 94] Operation: 95-1=94 Exploring Operation: 9-1=8, Resulting Numbers: [95, 8] Generated Node #0,4,3: 86:[95, 8] Operation: 9-1=8 Exploring Operation: 9*1=9, Resulting Numbers: [95, 9] Generated Node #0,4,4: 86:[95, 9] Operation: 9*1=9 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[1, 86], Operations: ['17-16=1', '95-9=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 1+86=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[9, 17, 16, 95], Operations: [] Exploring Operation: 17-16=1, Resulting Numbers: [9, 95, 1] Generated Node #0,4: 86:[9, 95, 1] Operation: 17-16=1 Moving to Node #0,4 Current State: 86:[9, 95, 1], Operations: ['17-16=1'] Exploring Operation: 95-9=86, Resulting Numbers: [1, 86] Generated Node #0,4,0: 86:[1, 86] Operation: 95-9=86 Moving to Node #0,4,0 Current State: 86:[1, 86], Operations: ['17-16=1', '95-9=86'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 15, 70, 80, 39 ]
34
[ "15+70=85", "80+39=119", "119-85=34" ]
Current State: 34:[15, 70, 80, 39], Operations: [] Exploring Operation: 15+70=85, Resulting Numbers: [80, 39, 85] Generated Node #2: [80, 39, 85] from Operation: 15+70=85 Current State: 34:[80, 39, 85], Operations: ['15+70=85'] Exploring Operation: 80+39=119, Resulting Numbers: [85, 119] Generated Node #3: [85, 119] from Operation: 80+39=119 Current State: 34:[85, 119], Operations: ['15+70=85', '80+39=119'] Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 70, 80, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [15, 70, 41] Generated Node #0,0: 34:[15, 70, 41] Operation: 80-39=41 Exploring Operation: 80-70=10, Resulting Numbers: [15, 39, 10] Generated Node #0,1: 34:[15, 39, 10] Operation: 80-70=10 Moving to Node #0,1 Current State: 34:[15, 39, 10], Operations: ['80-70=10'] Exploring Operation: 39-10=29, Resulting Numbers: [15, 29] Generated Node #0,1,0: 34:[15, 29] Operation: 39-10=29 Exploring Operation: 15-10=5, Resulting Numbers: [39, 5] Generated Node #0,1,1: 34:[39, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[15, 29], Operations: ['80-70=10', '39-10=29'] Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,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,1,1 Current State: 34:[39, 5], Operations: ['80-70=10', '15-10=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[15, 70, 80, 39], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [15, 39, 10] Generated Node #0,1: 34:[15, 39, 10] Operation: 80-70=10 Moving to Node #0,1 Current State: 34:[15, 39, 10], Operations: ['80-70=10'] Exploring Operation: 15-10=5, Resulting Numbers: [39, 5] Generated Node #0,1,1: 34:[39, 5] Operation: 15-10=5 Moving to Node #0,1,1 Current State: 34:[39, 5], Operations: ['80-70=10', '15-10=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 50, 42, 14, 27 ]
59
[ "42/14=3", "27/3=9", "50+9=59" ]
Current State: 59:[50, 42, 14, 27], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [50, 27, 3] Generated Node #2: [50, 27, 3] from Operation: 42/14=3 Current State: 59:[50, 27, 3], Operations: ['42/14=3'] Exploring Operation: 27/3=9, Resulting Numbers: [50, 9] Generated Node #3: [50, 9] from Operation: 27/3=9 Current State: 59:[50, 9], Operations: ['42/14=3', '27/3=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[50, 42, 14, 27], Operations: [] Exploring Operation: 42+14=56, Resulting Numbers: [50, 27, 56] Generated Node #0,0: 59:[50, 27, 56] Operation: 42+14=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[50, 27, 56], Operations: ['42+14=56'] Exploring Operation: 50+27=77, Resulting Numbers: [56, 77] Generated Node #0,0,0: 59:[56, 77] Operation: 50+27=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[56, 77], Operations: ['42+14=56', '50+27=77'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 94, 22, 98, 61 ]
87
[ "94-22=72", "98+61=159", "159-72=87" ]
Current State: 87:[94, 22, 98, 61], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [98, 61, 72] Generated Node #2: [98, 61, 72] from Operation: 94-22=72 Current State: 87:[98, 61, 72], Operations: ['94-22=72'] Exploring Operation: 98+61=159, Resulting Numbers: [72, 159] Generated Node #3: [72, 159] from Operation: 98+61=159 Current State: 87:[72, 159], Operations: ['94-22=72', '98+61=159'] Exploring Operation: 159-72=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[94, 22, 98, 61], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [22, 98, 33] Generated Node #0,0: 87:[22, 98, 33] Operation: 94-61=33 Moving to Node #0,0 Current State: 87:[22, 98, 33], Operations: ['94-61=33'] Exploring Operation: 98-22=76, Resulting Numbers: [33, 76] Generated Node #0,0,0: 87:[33, 76] Operation: 98-22=76 Moving to Node #0,0,0 Current State: 87:[33, 76], Operations: ['94-61=33', '98-22=76'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,87 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 17, 31, 64, 51 ]
92
[ "51/17=3", "31+64=95", "95-3=92" ]
Current State: 92:[17, 31, 64, 51], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [31, 64, 3] Generated Node #2: [31, 64, 3] from Operation: 51/17=3 Current State: 92:[31, 64, 3], Operations: ['51/17=3'] Exploring Operation: 31+64=95, Resulting Numbers: [3, 95] Generated Node #3: [3, 95] from Operation: 31+64=95 Current State: 92:[3, 95], Operations: ['51/17=3', '31+64=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[17, 31, 64, 51], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [17, 31, 13] Generated Node #0,0: 92:[17, 31, 13] Operation: 64-51=13 Exploring Operation: 31+64=95, Resulting Numbers: [17, 51, 95] Generated Node #0,1: 92:[17, 51, 95] Operation: 31+64=95 Exploring Operation: 64-17=47, Resulting Numbers: [31, 51, 47] Generated Node #0,2: 92:[31, 51, 47] Operation: 64-17=47 Exploring Operation: 64-31=33, Resulting Numbers: [17, 51, 33] Generated Node #0,3: 92:[17, 51, 33] Operation: 64-31=33 Exploring Operation: 17+64=81, Resulting Numbers: [31, 51, 81] Generated Node #0,4: 92:[31, 51, 81] Operation: 17+64=81 Moving to Node #0,1 Current State: 92:[17, 51, 95], Operations: ['31+64=95'] Exploring Operation: 95-17=78, Resulting Numbers: [51, 78] Generated Node #0,1,0: 92:[51, 78] Operation: 95-17=78 Exploring Operation: 51-17=34, Resulting Numbers: [95, 34] Generated Node #0,1,1: 92:[95, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [95, 3] Generated Node #0,1,2: 92:[95, 3] Operation: 51/17=3 Exploring Operation: 17+51=68, Resulting Numbers: [95, 68] Generated Node #0,1,3: 92:[95, 68] Operation: 17+51=68 Exploring Operation: 95-51=44, Resulting Numbers: [17, 44] Generated Node #0,1,4: 92:[17, 44] Operation: 95-51=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[95, 3], Operations: ['31+64=95', '51/17=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,92 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[17, 31, 64, 51], Operations: [] Exploring Operation: 31+64=95, Resulting Numbers: [17, 51, 95] Generated Node #0,1: 92:[17, 51, 95] Operation: 31+64=95 Moving to Node #0,1 Current State: 92:[17, 51, 95], Operations: ['31+64=95'] Exploring Operation: 51/17=3, Resulting Numbers: [95, 3] Generated Node #0,1,2: 92:[95, 3] Operation: 51/17=3 Moving to Node #0,1,2 Current State: 92:[95, 3], Operations: ['31+64=95', '51/17=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 19, 36, 87, 48 ]
97
[ "87*48=4176", "4176/36=116", "116-19=97" ]
Current State: 97:[19, 36, 87, 48], Operations: [] Exploring Operation: 87*48=4176, Resulting Numbers: [19, 36, 4176] Generated Node #2: [19, 36, 4176] from Operation: 87*48=4176 Current State: 97:[19, 36, 4176], Operations: ['87*48=4176'] Exploring Operation: 4176/36=116, Resulting Numbers: [19, 116] Generated Node #3: [19, 116] from Operation: 4176/36=116 Current State: 97:[19, 116], Operations: ['87*48=4176', '4176/36=116'] Exploring Operation: 116-19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[19, 36, 87, 48], Operations: [] Exploring Operation: 19+36=55, Resulting Numbers: [87, 48, 55] Generated Node #0,0: 97:[87, 48, 55] Operation: 19+36=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[87, 48, 55], Operations: ['19+36=55'] Exploring Operation: 48+55=103, Resulting Numbers: [87, 103] Generated Node #0,0,0: 97:[87, 103] Operation: 48+55=103 Moving to Node #0,0,0 Current State: 97:[87, 103], Operations: ['19+36=55', '48+55=103'] Exploring Operation: 103-87=16, Resulting Numbers: [16] 16,97 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
[ 7, 56, 2, 37 ]
53
[ "56/7=8", "2*8=16", "37+16=53" ]
Current State: 53:[7, 56, 2, 37], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [2, 37, 8] Generated Node #2: [2, 37, 8] from Operation: 56/7=8 Current State: 53:[2, 37, 8], Operations: ['56/7=8'] Exploring Operation: 2*8=16, Resulting Numbers: [37, 16] Generated Node #3: [37, 16] from Operation: 2*8=16 Current State: 53:[37, 16], Operations: ['56/7=8', '2*8=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[7, 56, 2, 37], Operations: [] Exploring Operation: 7+2=9, Resulting Numbers: [56, 37, 9] Generated Node #0,0: 53:[56, 37, 9] Operation: 7+2=9 Exploring Operation: 7+37=44, Resulting Numbers: [56, 2, 44] Generated Node #0,1: 53:[56, 2, 44] Operation: 7+37=44 Exploring Operation: 7*2=14, Resulting Numbers: [56, 37, 14] Generated Node #0,2: 53:[56, 37, 14] Operation: 7*2=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[56, 37, 14], Operations: ['7*2=14'] Exploring Operation: 56-14=42, Resulting Numbers: [37, 42] Generated Node #0,2,0: 53:[37, 42] Operation: 56-14=42 Exploring Operation: 56+14=70, Resulting Numbers: [37, 70] Generated Node #0,2,1: 53:[37, 70] Operation: 56+14=70 Exploring Operation: 37+14=51, Resulting Numbers: [56, 51] Generated Node #0,2,2: 53:[56, 51] Operation: 37+14=51 Moving to Node #0,2,2 Current State: 53:[56, 51], Operations: ['7*2=14', '37+14=51'] Exploring Operation: 56*51=2856, Resulting Numbers: [2856] 2856,53 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 56+51=107, Resulting Numbers: [107] 107,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[37, 42], Operations: ['7*2=14', '56-14=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[37, 70], Operations: ['7*2=14', '56+14=70'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,53 unequal: No Solution Exploring Operation: 37+70=107, Resulting Numbers: [107] 107,53 unequal: No Solution Exploring Operation: 37*70=2590, Resulting Numbers: [2590] 2590,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[56, 37, 9], Operations: ['7+2=9'] Exploring Operation: 56+9=65, Resulting Numbers: [37, 65] Generated Node #0,0,0: 53:[37, 65] Operation: 56+9=65 Exploring Operation: 56-9=47, Resulting Numbers: [37, 47] Generated Node #0,0,1: 53:[37, 47] Operation: 56-9=47 Exploring Operation: 37+9=46, Resulting Numbers: [56, 46] Generated Node #0,0,2: 53:[56, 46] Operation: 37+9=46 Moving to Node #0,0,2 Current State: 53:[56, 46], Operations: ['7+2=9', '37+9=46'] Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,53 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[37, 47], Operations: ['7+2=9', '56-9=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,53 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[37, 65], Operations: ['7+2=9', '56+9=65'] Exploring Operation: 37*65=2405, Resulting Numbers: [2405] 2405,53 unequal: No Solution Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[56, 2, 44], Operations: ['7+37=44'] Exploring Operation: 2+44=46, Resulting Numbers: [56, 46] Generated Node #0,1,0: 53:[56, 46] Operation: 2+44=46 Exploring Operation: 56+2=58, Resulting Numbers: [44, 58] Generated Node #0,1,1: 53:[44, 58] Operation: 56+2=58 Exploring Operation: 56-2=54, Resulting Numbers: [44, 54] Generated Node #0,1,2: 53:[44, 54] Operation: 56-2=54 Moving to Node #0,1,0 Current State: 53:[56, 46], Operations: ['7+37=44', '2+44=46'] Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[44, 54], Operations: ['7+37=44', '56-2=54'] Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,53 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[44, 58], Operations: ['7+37=44', '56+2=58'] Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 44*58=2552, Resulting Numbers: [2552] 2552,53 unequal: No Solution Exploring Operation: 44+58=102, Resulting Numbers: [102] 102,53 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
[ 37, 80, 27, 80 ]
11
[ "37-27=10", "80/80=1", "10+1=11" ]
Current State: 11:[37, 80, 27, 80], Operations: [] Exploring Operation: 37-27=10, Resulting Numbers: [80, 80, 10] Generated Node #2: [80, 80, 10] from Operation: 37-27=10 Current State: 11:[80, 80, 10], Operations: ['37-27=10'] Exploring Operation: 80/80=1, Resulting Numbers: [10, 1] Generated Node #3: [10, 1] from Operation: 80/80=1 Current State: 11:[10, 1], Operations: ['37-27=10', '80/80=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[37, 80, 27, 80], Operations: [] Exploring Operation: 80-80=0, Resulting Numbers: [37, 27, 0] Generated Node #0,0: 11:[37, 27, 0] Operation: 80-80=0 Exploring Operation: 80/80=1, Resulting Numbers: [37, 27, 1] Generated Node #0,1: 11:[37, 27, 1] Operation: 80/80=1 Moving to Node #0,1 Current State: 11:[37, 27, 1], Operations: ['80/80=1'] Exploring Operation: 37-1=36, Resulting Numbers: [27, 36] Generated Node #0,1,0: 11:[27, 36] Operation: 37-1=36 Exploring Operation: 37-27=10, Resulting Numbers: [1, 10] Generated Node #0,1,1: 11:[1, 10] Operation: 37-27=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[1, 10], Operations: ['80/80=1', '37-27=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[37, 80, 27, 80], Operations: [] Exploring Operation: 80/80=1, Resulting Numbers: [37, 27, 1] Generated Node #0,1: 11:[37, 27, 1] Operation: 80/80=1 Moving to Node #0,1 Current State: 11:[37, 27, 1], Operations: ['80/80=1'] Exploring Operation: 37-27=10, Resulting Numbers: [1, 10] Generated Node #0,1,1: 11:[1, 10] Operation: 37-27=10 Moving to Node #0,1,1 Current State: 11:[1, 10], Operations: ['80/80=1', '37-27=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 60, 2, 27, 36 ]
53
[ "60+2=62", "36-27=9", "62-9=53" ]
Current State: 53:[60, 2, 27, 36], Operations: [] Exploring Operation: 60+2=62, Resulting Numbers: [27, 36, 62] Generated Node #2: [27, 36, 62] from Operation: 60+2=62 Current State: 53:[27, 36, 62], Operations: ['60+2=62'] Exploring Operation: 36-27=9, Resulting Numbers: [62, 9] Generated Node #3: [62, 9] from Operation: 36-27=9 Current State: 53:[62, 9], Operations: ['60+2=62', '36-27=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[60, 2, 27, 36], Operations: [] Exploring Operation: 60-2=58, Resulting Numbers: [27, 36, 58] Generated Node #0,0: 53:[27, 36, 58] Operation: 60-2=58 Exploring Operation: 2*27=54, Resulting Numbers: [60, 36, 54] Generated Node #0,1: 53:[60, 36, 54] Operation: 2*27=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[60, 36, 54], Operations: ['2*27=54'] Exploring Operation: 54-36=18, Resulting Numbers: [60, 18] Generated Node #0,1,0: 53:[60, 18] Operation: 54-36=18 Exploring Operation: 60-36=24, Resulting Numbers: [54, 24] Generated Node #0,1,1: 53:[54, 24] Operation: 60-36=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[54, 24], Operations: ['2*27=54', '60-36=24'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[60, 18], Operations: ['2*27=54', '54-36=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[27, 36, 58], Operations: ['60-2=58'] Exploring Operation: 27+36=63, Resulting Numbers: [58, 63] Generated Node #0,0,0: 53:[58, 63] Operation: 27+36=63 Exploring Operation: 58-27=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 53:[36, 31] Operation: 58-27=31 Moving to Node #0,0,0 Current State: 53:[58, 63], Operations: ['60-2=58', '27+36=63'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[36, 31], Operations: ['60-2=58', '58-27=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,53 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
[ 84, 78, 84, 85 ]
78
[ "84-84=0", "85*0=0", "78+0=78" ]
Current State: 78:[84, 78, 84, 85], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [78, 85, 0] Generated Node #2: [78, 85, 0] from Operation: 84-84=0 Current State: 78:[78, 85, 0], Operations: ['84-84=0'] Exploring Operation: 85*0=0, Resulting Numbers: [78, 0] Generated Node #3: [78, 0] from Operation: 85*0=0 Current State: 78:[78, 0], Operations: ['84-84=0', '85*0=0'] Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[84, 78, 84, 85], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [78, 84, 1] Generated Node #0,0: 78:[78, 84, 1] Operation: 85-84=1 Exploring Operation: 84/84=1, Resulting Numbers: [78, 85, 1] Generated Node #0,1: 78:[78, 85, 1] Operation: 84/84=1 Exploring Operation: 84-84=0, Resulting Numbers: [78, 85, 0] Generated Node #0,2: 78:[78, 85, 0] Operation: 84-84=0 Exploring Operation: 85-84=1, Resulting Numbers: [84, 78, 1] Generated Node #0,3: 78:[84, 78, 1] Operation: 85-84=1 Exploring Operation: 84-78=6, Resulting Numbers: [84, 85, 6] Generated Node #0,4: 78:[84, 85, 6] Operation: 84-78=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[78, 84, 1], Operations: ['85-84=1'] Exploring Operation: 84-1=83, Resulting Numbers: [78, 83] Generated Node #0,0,0: 78:[78, 83] Operation: 84-1=83 Exploring Operation: 84-78=6, Resulting Numbers: [1, 6] Generated Node #0,0,1: 78:[1, 6] Operation: 84-78=6 Exploring Operation: 84*1=84, Resulting Numbers: [78, 84] Generated Node #0,0,2: 78:[78, 84] Operation: 84*1=84 Exploring Operation: 78*1=78, Resulting Numbers: [84, 78] Generated Node #0,0,3: 78:[84, 78] Operation: 78*1=78 Exploring Operation: 78/1=78, Resulting Numbers: [84, 78] Generated Node #0,0,4: 78:[84, 78] Operation: 78/1=78 Moving to Node #0,0,1 Current State: 78:[1, 6], Operations: ['85-84=1', '84-78=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[78, 83], Operations: ['85-84=1', '84-1=83'] Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,78 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[78, 84], Operations: ['85-84=1', '84*1=84'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[84, 78], Operations: ['85-84=1', '78*1=78'] Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[84, 78], Operations: ['85-84=1', '78/1=78'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[84, 78, 1], Operations: ['85-84=1'] Exploring Operation: 84-1=83, Resulting Numbers: [78, 83] Generated Node #0,3,0: 78:[78, 83] Operation: 84-1=83 Exploring Operation: 84*1=84, Resulting Numbers: [78, 84] Generated Node #0,3,1: 78:[78, 84] Operation: 84*1=84 Exploring Operation: 84-78=6, Resulting Numbers: [1, 6] Generated Node #0,3,2: 78:[1, 6] Operation: 84-78=6 Exploring Operation: 84/1=84, Resulting Numbers: [78, 84] Generated Node #0,3,3: 78:[78, 84] Operation: 84/1=84 Exploring Operation: 78*1=78, Resulting Numbers: [84, 78] Generated Node #0,3,4: 78:[84, 78] Operation: 78*1=78 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[1, 6], Operations: ['85-84=1', '84-78=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,78 unequal: No Solution No 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: 78:[78, 83], Operations: ['85-84=1', '84-1=83'] Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,78 unequal: No Solution Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,78 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,78 unequal: No Solution No 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: 78:[78, 84], Operations: ['85-84=1', '84*1=84'] Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,78 unequal: No Solution No 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: 78:[78, 84], Operations: ['85-84=1', '84/1=84'] Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution No 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: 78:[84, 78], Operations: ['85-84=1', '78*1=78'] Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,78 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: 78:[78, 85, 1], Operations: ['84/84=1'] Exploring Operation: 85-78=7, Resulting Numbers: [1, 7] Generated Node #0,1,0: 78:[1, 7] Operation: 85-78=7 Exploring Operation: 78*1=78, Resulting Numbers: [85, 78] Generated Node #0,1,1: 78:[85, 78] Operation: 78*1=78 Exploring Operation: 85*1=85, Resulting Numbers: [78, 85] Generated Node #0,1,2: 78:[78, 85] Operation: 85*1=85 Exploring Operation: 78/1=78, Resulting Numbers: [85, 78] Generated Node #0,1,3: 78:[85, 78] Operation: 78/1=78 Exploring Operation: 85-1=84, Resulting Numbers: [78, 84] Generated Node #0,1,4: 78:[78, 84] Operation: 85-1=84 Moving to Node #0,1,0 Current State: 78:[1, 7], Operations: ['84/84=1', '85-78=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[78, 84], Operations: ['84/84=1', '85-1=84'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[85, 78], Operations: ['84/84=1', '78*1=78'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,78 unequal: No Solution Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[78, 85], Operations: ['84/84=1', '85*1=85'] Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,78 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[85, 78], Operations: ['84/84=1', '78/1=78'] Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,78 unequal: No Solution Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,78 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[78, 85, 0], Operations: ['84-84=0'] Exploring Operation: 85*0=0, Resulting Numbers: [78, 0] Generated Node #0,2,0: 78:[78, 0] Operation: 85*0=0 Exploring Operation: 85+0=85, Resulting Numbers: [78, 85] Generated Node #0,2,1: 78:[78, 85] Operation: 85+0=85 Exploring Operation: 85-78=7, Resulting Numbers: [0, 7] Generated Node #0,2,2: 78:[0, 7] Operation: 85-78=7 Exploring Operation: 78+0=78, Resulting Numbers: [85, 78] Generated Node #0,2,3: 78:[85, 78] Operation: 78+0=78 Exploring Operation: 78-0=78, Resulting Numbers: [85, 78] Generated Node #0,2,4: 78:[85, 78] Operation: 78-0=78 Moving to Node #0,2,0 Current State: 78:[78, 0], Operations: ['84-84=0', '85*0=0'] Exploring Operation: 78-0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[84, 78, 84, 85], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [78, 85, 0] Generated Node #0,2: 78:[78, 85, 0] Operation: 84-84=0 Moving to Node #0,2 Current State: 78:[78, 85, 0], Operations: ['84-84=0'] Exploring Operation: 85*0=0, Resulting Numbers: [78, 0] Generated Node #0,2,0: 78:[78, 0] Operation: 85*0=0 Moving to Node #0,2,0 Current State: 78:[78, 0], Operations: ['84-84=0', '85*0=0'] Exploring Operation: 78-0=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.932292
hs_5
sum_heuristic
[ 45, 23, 10, 95 ]
83
[ "45-23=22", "10+95=105", "105-22=83" ]
Current State: 83:[45, 23, 10, 95], Operations: [] Exploring Operation: 45-23=22, Resulting Numbers: [10, 95, 22] Generated Node #2: [10, 95, 22] from Operation: 45-23=22 Current State: 83:[10, 95, 22], Operations: ['45-23=22'] Exploring Operation: 10+95=105, Resulting Numbers: [22, 105] Generated Node #3: [22, 105] from Operation: 10+95=105 Current State: 83:[22, 105], Operations: ['45-23=22', '10+95=105'] Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[45, 23, 10, 95], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [23, 95, 35] Generated Node #0,0: 83:[23, 95, 35] Operation: 45-10=35 Exploring Operation: 23+10=33, Resulting Numbers: [45, 95, 33] Generated Node #0,1: 83:[45, 95, 33] Operation: 23+10=33 Exploring Operation: 45+23=68, Resulting Numbers: [10, 95, 68] Generated Node #0,2: 83:[10, 95, 68] Operation: 45+23=68 Exploring Operation: 45+10=55, Resulting Numbers: [23, 95, 55] Generated Node #0,3: 83:[23, 95, 55] Operation: 45+10=55 Exploring Operation: 95-10=85, Resulting Numbers: [45, 23, 85] Generated Node #0,4: 83:[45, 23, 85] Operation: 95-10=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[45, 95, 33], Operations: ['23+10=33'] Exploring Operation: 45-33=12, Resulting Numbers: [95, 12] Generated Node #0,1,0: 83:[95, 12] Operation: 45-33=12 Exploring Operation: 45+33=78, Resulting Numbers: [95, 78] Generated Node #0,1,1: 83:[95, 78] Operation: 45+33=78 Exploring Operation: 95-33=62, Resulting Numbers: [45, 62] Generated Node #0,1,2: 83:[45, 62] Operation: 95-33=62 Exploring Operation: 95+33=128, Resulting Numbers: [45, 128] Generated Node #0,1,3: 83:[45, 128] Operation: 95+33=128 Exploring Operation: 95-45=50, Resulting Numbers: [33, 50] Generated Node #0,1,4: 83:[33, 50] Operation: 95-45=50 Moving to Node #0,1,1 Current State: 83:[95, 78], Operations: ['23+10=33', '45+33=78'] Exploring Operation: 95-78=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 95*78=7410, Resulting Numbers: [7410] 7410,83 unequal: No Solution Exploring Operation: 95+78=173, Resulting Numbers: [173] 173,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[45, 62], Operations: ['23+10=33', '95-33=62'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,83 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[95, 12], Operations: ['23+10=33', '45-33=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[45, 23, 10, 95], Operations: [] Exploring Operation: 23+10=33, Resulting Numbers: [45, 95, 33] Generated Node #0,1: 83:[45, 95, 33] Operation: 23+10=33 Moving to Node #0,1 Current State: 83:[45, 95, 33], Operations: ['23+10=33'] Exploring Operation: 45-33=12, Resulting Numbers: [95, 12] Generated Node #0,1,0: 83:[95, 12] Operation: 45-33=12 Moving to Node #0,1,0 Current State: 83:[95, 12], Operations: ['23+10=33', '45-33=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 46, 55, 31, 52 ]
18
[ "46+55=101", "31+52=83", "101-83=18" ]
Current State: 18:[46, 55, 31, 52], Operations: [] Exploring Operation: 46+55=101, Resulting Numbers: [31, 52, 101] Generated Node #2: [31, 52, 101] from Operation: 46+55=101 Current State: 18:[31, 52, 101], Operations: ['46+55=101'] Exploring Operation: 31+52=83, Resulting Numbers: [101, 83] Generated Node #3: [101, 83] from Operation: 31+52=83 Current State: 18:[101, 83], Operations: ['46+55=101', '31+52=83'] Exploring Operation: 101-83=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[46, 55, 31, 52], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [46, 31, 3] Generated Node #0,0: 18:[46, 31, 3] Operation: 55-52=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[46, 31, 3], Operations: ['55-52=3'] Exploring Operation: 46-31=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 18:[3, 15] Operation: 46-31=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[3, 15], Operations: ['55-52=3', '46-31=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[46, 55, 31, 52], Operations: [] Exploring Operation: 55-52=3, Resulting Numbers: [46, 31, 3] Generated Node #0,0: 18:[46, 31, 3] Operation: 55-52=3 Moving to Node #0,0 Current State: 18:[46, 31, 3], Operations: ['55-52=3'] Exploring Operation: 46-31=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 18:[3, 15] Operation: 46-31=15 Moving to Node #0,0,0 Current State: 18:[3, 15], Operations: ['55-52=3', '46-31=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 50, 54, 44, 35 ]
44
[ "50-44=6", "54/6=9", "35+9=44" ]
Current State: 44:[50, 54, 44, 35], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [54, 35, 6] Generated Node #2: [54, 35, 6] from Operation: 50-44=6 Current State: 44:[54, 35, 6], Operations: ['50-44=6'] Exploring Operation: 54/6=9, Resulting Numbers: [35, 9] Generated Node #3: [35, 9] from Operation: 54/6=9 Current State: 44:[35, 9], Operations: ['50-44=6', '54/6=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[50, 54, 44, 35], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [50, 44, 19] Generated Node #0,0: 44:[50, 44, 19] Operation: 54-35=19 Exploring Operation: 50-35=15, Resulting Numbers: [54, 44, 15] Generated Node #0,1: 44:[54, 44, 15] Operation: 50-35=15 Exploring Operation: 54-50=4, Resulting Numbers: [44, 35, 4] Generated Node #0,2: 44:[44, 35, 4] Operation: 54-50=4 Moving to Node #0,0 Current State: 44:[50, 44, 19], Operations: ['54-35=19'] Exploring Operation: 50-44=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 44:[19, 6] Operation: 50-44=6 Exploring Operation: 50-19=31, Resulting Numbers: [44, 31] Generated Node #0,0,1: 44:[44, 31] Operation: 50-19=31 Exploring Operation: 44-19=25, Resulting Numbers: [50, 25] Generated Node #0,0,2: 44:[50, 25] Operation: 44-19=25 Moving to Node #0,2 Current State: 44:[44, 35, 4], Operations: ['54-50=4'] Exploring Operation: 44/4=11, Resulting Numbers: [35, 11] Generated Node #0,2,0: 44:[35, 11] Operation: 44/4=11 Exploring Operation: 44-35=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 44:[4, 9] Operation: 44-35=9 Exploring Operation: 35+4=39, Resulting Numbers: [44, 39] Generated Node #0,2,2: 44:[44, 39] Operation: 35+4=39 Moving to Node #0,1 Current State: 44:[54, 44, 15], Operations: ['50-35=15'] Exploring Operation: 54-44=10, Resulting Numbers: [15, 10] Generated Node #0,1,0: 44:[15, 10] Operation: 54-44=10 Exploring Operation: 44-15=29, Resulting Numbers: [54, 29] Generated Node #0,1,1: 44:[54, 29] Operation: 44-15=29 Exploring Operation: 54-15=39, Resulting Numbers: [44, 39] Generated Node #0,1,2: 44:[44, 39] Operation: 54-15=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[15, 10], Operations: ['50-35=15', '54-44=10'] Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,44 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[44, 39], Operations: ['50-35=15', '54-15=39'] Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,44 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[54, 29], Operations: ['50-35=15', '44-15=29'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 54+29=83, Resulting Numbers: [83] 83,44 unequal: No Solution Exploring Operation: 54*29=1566, Resulting Numbers: [1566] 1566,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 44:[4, 9], Operations: ['54-50=4', '44-35=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[19, 6], Operations: ['54-35=19', '50-44=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,44 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[44, 39], Operations: ['54-50=4', '35+4=39'] Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,44 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[50, 25], Operations: ['54-35=19', '44-19=25'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[44, 31], Operations: ['54-35=19', '50-19=31'] Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,44 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[35, 11], Operations: ['54-50=4', '44/4=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,44 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,44 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 75, 22, 93, 14 ]
26
[ "75-22=53", "93-14=79", "79-53=26" ]
Current State: 26:[75, 22, 93, 14], Operations: [] Exploring Operation: 75-22=53, Resulting Numbers: [93, 14, 53] Generated Node #2: [93, 14, 53] from Operation: 75-22=53 Current State: 26:[93, 14, 53], Operations: ['75-22=53'] Exploring Operation: 93-14=79, Resulting Numbers: [53, 79] Generated Node #3: [53, 79] from Operation: 93-14=79 Current State: 26:[53, 79], Operations: ['75-22=53', '93-14=79'] Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[75, 22, 93, 14], Operations: [] Exploring Operation: 75-22=53, Resulting Numbers: [93, 14, 53] Generated Node #0,0: 26:[93, 14, 53] Operation: 75-22=53 Exploring Operation: 93-75=18, Resulting Numbers: [22, 14, 18] Generated Node #0,1: 26:[22, 14, 18] Operation: 93-75=18 Moving to Node #0,1 Current State: 26:[22, 14, 18], Operations: ['93-75=18'] Exploring Operation: 22-18=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 26:[14, 4] Operation: 22-18=4 Exploring Operation: 18-14=4, Resulting Numbers: [22, 4] Generated Node #0,1,1: 26:[22, 4] Operation: 18-14=4 Moving to Node #0,0 Current State: 26:[93, 14, 53], Operations: ['75-22=53'] Exploring Operation: 93-14=79, Resulting Numbers: [53, 79] Generated Node #0,0,0: 26:[53, 79] Operation: 93-14=79 Exploring Operation: 93-53=40, Resulting Numbers: [14, 40] Generated Node #0,0,1: 26:[14, 40] Operation: 93-53=40 Moving to Node #0,1,0 Current State: 26:[14, 4], Operations: ['93-75=18', '22-18=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[22, 4], Operations: ['93-75=18', '18-14=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[75, 22, 93, 14], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [22, 14, 18] Generated Node #0,1: 26:[22, 14, 18] Operation: 93-75=18 Moving to Node #0,1 Current State: 26:[22, 14, 18], Operations: ['93-75=18'] Exploring Operation: 18-14=4, Resulting Numbers: [22, 4] Generated Node #0,1,1: 26:[22, 4] Operation: 18-14=4 Moving to Node #0,1,1 Current State: 26:[22, 4], Operations: ['93-75=18', '18-14=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 50, 76, 87, 4 ]
17
[ "76-50=26", "4*26=104", "104-87=17" ]
Current State: 17:[50, 76, 87, 4], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [87, 4, 26] Generated Node #2: [87, 4, 26] from Operation: 76-50=26 Current State: 17:[87, 4, 26], Operations: ['76-50=26'] Exploring Operation: 4*26=104, Resulting Numbers: [87, 104] Generated Node #3: [87, 104] from Operation: 4*26=104 Current State: 17:[87, 104], Operations: ['76-50=26', '4*26=104'] Exploring Operation: 104-87=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[50, 76, 87, 4], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [50, 4, 11] Generated Node #0,0: 17:[50, 4, 11] Operation: 87-76=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[50, 4, 11], Operations: ['87-76=11'] Exploring Operation: 50-4=46, Resulting Numbers: [11, 46] Generated Node #0,0,0: 17:[11, 46] Operation: 50-4=46 Moving to Node #0,0,0 Current State: 17:[11, 46], Operations: ['87-76=11', '50-4=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,17 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
[ 3, 4, 10, 17 ]
99
[ "10-4=6", "17*6=102", "102-3=99" ]
Current State: 99:[3, 4, 10, 17], Operations: [] Exploring Operation: 10-4=6, Resulting Numbers: [3, 17, 6] Generated Node #2: [3, 17, 6] from Operation: 10-4=6 Current State: 99:[3, 17, 6], Operations: ['10-4=6'] Exploring Operation: 17*6=102, Resulting Numbers: [3, 102] Generated Node #3: [3, 102] from Operation: 17*6=102 Current State: 99:[3, 102], Operations: ['10-4=6', '17*6=102'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[3, 4, 10, 17], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [3, 4, 7] Generated Node #0,0: 99:[3, 4, 7] Operation: 17-10=7 Exploring Operation: 17-4=13, Resulting Numbers: [3, 10, 13] Generated Node #0,1: 99:[3, 10, 13] Operation: 17-4=13 Exploring Operation: 10+17=27, Resulting Numbers: [3, 4, 27] Generated Node #0,2: 99:[3, 4, 27] Operation: 10+17=27 Exploring Operation: 17-3=14, Resulting Numbers: [4, 10, 14] Generated Node #0,3: 99:[4, 10, 14] Operation: 17-3=14 Exploring Operation: 3*4=12, Resulting Numbers: [10, 17, 12] Generated Node #0,4: 99:[10, 17, 12] Operation: 3*4=12 Moving to Node #0,0 Current State: 99:[3, 4, 7], Operations: ['17-10=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 99:[4, 4] Operation: 7-3=4 Exploring Operation: 4+7=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 99:[3, 11] Operation: 4+7=11 Exploring Operation: 3+7=10, Resulting Numbers: [4, 10] Generated Node #0,0,2: 99:[4, 10] Operation: 3+7=10 Exploring Operation: 7-4=3, Resulting Numbers: [3, 3] Generated Node #0,0,3: 99:[3, 3] Operation: 7-4=3 Exploring Operation: 3*4=12, Resulting Numbers: [7, 12] Generated Node #0,0,4: 99:[7, 12] Operation: 3*4=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[3, 11], Operations: ['17-10=7', '4+7=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[3, 3], Operations: ['17-10=7', '7-4=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[4, 4], Operations: ['17-10=7', '7-3=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[4, 10], Operations: ['17-10=7', '3+7=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 99:[7, 12], Operations: ['17-10=7', '3*4=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,99 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: 99:[3, 10, 13], Operations: ['17-4=13'] Exploring Operation: 3+10=13, Resulting Numbers: [13, 13] Generated Node #0,1,0: 99:[13, 13] Operation: 3+10=13 Exploring Operation: 13-10=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 99:[3, 3] Operation: 13-10=3 Exploring Operation: 13-3=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 99:[10, 10] Operation: 13-3=10 Exploring Operation: 3*10=30, Resulting Numbers: [13, 30] Generated Node #0,1,3: 99:[13, 30] Operation: 3*10=30 Exploring Operation: 10-3=7, Resulting Numbers: [13, 7] Generated Node #0,1,4: 99:[13, 7] Operation: 10-3=7 Moving to Node #0,3 Current State: 99:[4, 10, 14], Operations: ['17-3=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4, 4] Generated Node #0,3,0: 99:[4, 4] Operation: 14-10=4 Exploring Operation: 4+10=14, Resulting Numbers: [14, 14] Generated Node #0,3,1: 99:[14, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [14, 6] Generated Node #0,3,2: 99:[14, 6] Operation: 10-4=6 Exploring Operation: 4+14=18, Resulting Numbers: [10, 18] Generated Node #0,3,3: 99:[10, 18] Operation: 4+14=18 Exploring Operation: 14-4=10, Resulting Numbers: [10, 10] Generated Node #0,3,4: 99:[10, 10] Operation: 14-4=10 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[4, 4], Operations: ['17-3=14', '14-10=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 99:[10, 10], Operations: ['17-3=14', '14-4=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[14, 14], Operations: ['17-3=14', '4+10=14'] Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 14*14=196, Resulting Numbers: [196] 196,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[14, 6], Operations: ['17-3=14', '10-4=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[10, 18], Operations: ['17-3=14', '4+14=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,99 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: 99:[3, 4, 27], Operations: ['10+17=27'] Exploring Operation: 3+27=30, Resulting Numbers: [4, 30] Generated Node #0,2,0: 99:[4, 30] Operation: 3+27=30 Exploring Operation: 3*4=12, Resulting Numbers: [27, 12] Generated Node #0,2,1: 99:[27, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [27, 7] Generated Node #0,2,2: 99:[27, 7] Operation: 3+4=7 Exploring Operation: 4+27=31, Resulting Numbers: [3, 31] Generated Node #0,2,3: 99:[3, 31] Operation: 4+27=31 Exploring Operation: 27/3=9, Resulting Numbers: [4, 9] Generated Node #0,2,4: 99:[4, 9] Operation: 27/3=9 Moving to Node #0,4 Current State: 99:[10, 17, 12], Operations: ['3*4=12'] Exploring Operation: 10+17=27, Resulting Numbers: [12, 27] Generated Node #0,4,0: 99:[12, 27] Operation: 10+17=27 Exploring Operation: 17+12=29, Resulting Numbers: [10, 29] Generated Node #0,4,1: 99:[10, 29] Operation: 17+12=29 Exploring Operation: 17-12=5, Resulting Numbers: [10, 5] Generated Node #0,4,2: 99:[10, 5] Operation: 17-12=5 Exploring Operation: 12-10=2, Resulting Numbers: [17, 2] Generated Node #0,4,3: 99:[17, 2] Operation: 12-10=2 Exploring Operation: 17-10=7, Resulting Numbers: [12, 7] Generated Node #0,4,4: 99:[12, 7] Operation: 17-10=7 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 99:[10, 5], Operations: ['3*4=12', '17-12=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 99:[12, 7], Operations: ['3*4=12', '17-10=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 99:[10, 29], Operations: ['3*4=12', '17+12=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,99 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 99:[12, 27], Operations: ['3*4=12', '10+17=27'] Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,99 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 99:[17, 2], Operations: ['3*4=12', '12-10=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 99:[3, 3], Operations: ['17-4=13', '13-10=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[4, 9], Operations: ['10+17=27', '27/3=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[3, 31], Operations: ['10+17=27', '4+27=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[10, 10], Operations: ['17-4=13', '13-3=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[13, 13], Operations: ['17-4=13', '3+10=13'] Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,99 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[13, 7], Operations: ['17-4=13', '10-3=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[4, 30], Operations: ['10+17=27', '3+27=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[13, 30], Operations: ['17-4=13', '3*10=30'] Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,99 unequal: No Solution Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[27, 12], Operations: ['10+17=27', '3*4=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,99 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[27, 7], Operations: ['10+17=27', '3+4=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,99 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 70, 40, 10, 6 ]
41
[ "70/10=7", "40-6=34", "7+34=41" ]
Current State: 41:[70, 40, 10, 6], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [40, 6, 7] Generated Node #2: [40, 6, 7] from Operation: 70/10=7 Current State: 41:[40, 6, 7], Operations: ['70/10=7'] Exploring Operation: 40-6=34, Resulting Numbers: [7, 34] Generated Node #3: [7, 34] from Operation: 40-6=34 Current State: 41:[7, 34], Operations: ['70/10=7', '40-6=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[70, 40, 10, 6], Operations: [] Exploring Operation: 70-10=60, Resulting Numbers: [40, 6, 60] Generated Node #0,0: 41:[40, 6, 60] Operation: 70-10=60 Exploring Operation: 10+6=16, Resulting Numbers: [70, 40, 16] Generated Node #0,1: 41:[70, 40, 16] Operation: 10+6=16 Exploring Operation: 70-6=64, Resulting Numbers: [40, 10, 64] Generated Node #0,2: 41:[40, 10, 64] Operation: 70-6=64 Exploring Operation: 10*6=60, Resulting Numbers: [70, 40, 60] Generated Node #0,3: 41:[70, 40, 60] Operation: 10*6=60 Moving to Node #0,3 Current State: 41:[70, 40, 60], Operations: ['10*6=60'] Exploring Operation: 70+40=110, Resulting Numbers: [60, 110] Generated Node #0,3,0: 41:[60, 110] Operation: 70+40=110 Exploring Operation: 60-40=20, Resulting Numbers: [70, 20] Generated Node #0,3,1: 41:[70, 20] Operation: 60-40=20 Exploring Operation: 70-40=30, Resulting Numbers: [60, 30] Generated Node #0,3,2: 41:[60, 30] Operation: 70-40=30 Exploring Operation: 70-60=10, Resulting Numbers: [40, 10] Generated Node #0,3,3: 41:[40, 10] Operation: 70-60=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[60, 30], Operations: ['10*6=60', '70-40=30'] Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[40, 10], Operations: ['10*6=60', '70-60=10'] Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,41 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[70, 20], Operations: ['10*6=60', '60-40=20'] Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,41 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[60, 110], Operations: ['10*6=60', '70+40=110'] Exploring Operation: 60+110=170, Resulting Numbers: [170] 170,41 unequal: No Solution Exploring Operation: 110-60=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 60*110=6600, Resulting Numbers: [6600] 6600,41 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: 41:[70, 40, 16], Operations: ['10+6=16'] Exploring Operation: 70+16=86, Resulting Numbers: [40, 86] Generated Node #0,1,0: 41:[40, 86] Operation: 70+16=86 Exploring Operation: 40+16=56, Resulting Numbers: [70, 56] Generated Node #0,1,1: 41:[70, 56] Operation: 40+16=56 Exploring Operation: 70-16=54, Resulting Numbers: [40, 54] Generated Node #0,1,2: 41:[40, 54] Operation: 70-16=54 Exploring Operation: 70-40=30, Resulting Numbers: [16, 30] Generated Node #0,1,3: 41:[16, 30] Operation: 70-40=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[40, 54], Operations: ['10+6=16', '70-16=54'] Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[16, 30], Operations: ['10+6=16', '70-40=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[70, 56], Operations: ['10+6=16', '40+16=56'] Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,41 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[40, 86], Operations: ['10+6=16', '70+16=86'] Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,41 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: 41:[40, 6, 60], Operations: ['70-10=60'] Exploring Operation: 40+6=46, Resulting Numbers: [60, 46] Generated Node #0,0,0: 41:[60, 46] Operation: 40+6=46 Exploring Operation: 6+60=66, Resulting Numbers: [40, 66] Generated Node #0,0,1: 41:[40, 66] Operation: 6+60=66 Exploring Operation: 60-6=54, Resulting Numbers: [40, 54] Generated Node #0,0,2: 41:[40, 54] Operation: 60-6=54 Exploring Operation: 40-6=34, Resulting Numbers: [60, 34] Generated Node #0,0,3: 41:[60, 34] Operation: 40-6=34 Moving to Node #0,2 Current State: 41:[40, 10, 64], Operations: ['70-6=64'] Exploring Operation: 40-10=30, Resulting Numbers: [64, 30] Generated Node #0,2,0: 41:[64, 30] Operation: 40-10=30 Exploring Operation: 64-10=54, Resulting Numbers: [40, 54] Generated Node #0,2,1: 41:[40, 54] Operation: 64-10=54 Exploring Operation: 40+10=50, Resulting Numbers: [64, 50] Generated Node #0,2,2: 41:[64, 50] Operation: 40+10=50 Exploring Operation: 10+64=74, Resulting Numbers: [40, 74] Generated Node #0,2,3: 41:[40, 74] Operation: 10+64=74 Moving to Node #0,0,2 Current State: 41:[40, 54], Operations: ['70-10=60', '60-6=54'] Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,41 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[40, 54], Operations: ['70-6=64', '64-10=54'] Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,41 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[60, 46], Operations: ['70-10=60', '40+6=46'] Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,41 unequal: No Solution Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[40, 66], Operations: ['70-10=60', '6+60=66'] Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[60, 34], Operations: ['70-10=60', '40-6=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[64, 50], Operations: ['70-6=64', '40+10=50'] Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,41 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,41 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[64, 30], Operations: ['70-6=64', '40-10=30'] Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,41 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[40, 74], Operations: ['70-6=64', '10+64=74'] Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 40*74=2960, Resulting Numbers: [2960] 2960,41 unequal: No Solution Exploring Operation: 40+74=114, Resulting Numbers: [114] 114,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 69, 96, 24, 59 ]
14
[ "69-59=10", "96/24=4", "10+4=14" ]
Current State: 14:[69, 96, 24, 59], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [96, 24, 10] Generated Node #2: [96, 24, 10] from Operation: 69-59=10 Current State: 14:[96, 24, 10], Operations: ['69-59=10'] Exploring Operation: 96/24=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 96/24=4 Current State: 14:[10, 4], Operations: ['69-59=10', '96/24=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[69, 96, 24, 59], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [69, 59, 4] Generated Node #0,0: 14:[69, 59, 4] Operation: 96/24=4 Exploring Operation: 96-69=27, Resulting Numbers: [24, 59, 27] Generated Node #0,1: 14:[24, 59, 27] Operation: 96-69=27 Exploring Operation: 69-59=10, Resulting Numbers: [96, 24, 10] Generated Node #0,2: 14:[96, 24, 10] Operation: 69-59=10 Exploring Operation: 69-24=45, Resulting Numbers: [96, 59, 45] Generated Node #0,3: 14:[96, 59, 45] Operation: 69-24=45 Exploring Operation: 96-59=37, Resulting Numbers: [69, 24, 37] Generated Node #0,4: 14:[69, 24, 37] Operation: 96-59=37 Moving to Node #0,1 Current State: 14:[24, 59, 27], Operations: ['96-69=27'] Exploring Operation: 24+27=51, Resulting Numbers: [59, 51] Generated Node #0,1,0: 14:[59, 51] Operation: 24+27=51 Exploring Operation: 24+59=83, Resulting Numbers: [27, 83] Generated Node #0,1,1: 14:[27, 83] Operation: 24+59=83 Exploring Operation: 59-24=35, Resulting Numbers: [27, 35] Generated Node #0,1,2: 14:[27, 35] Operation: 59-24=35 Exploring Operation: 27-24=3, Resulting Numbers: [59, 3] Generated Node #0,1,3: 14:[59, 3] Operation: 27-24=3 Exploring Operation: 59-27=32, Resulting Numbers: [24, 32] Generated Node #0,1,4: 14:[24, 32] Operation: 59-27=32 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[24, 32], Operations: ['96-69=27', '59-27=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,14 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[27, 35], Operations: ['96-69=27', '59-24=35'] Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,14 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 14:[59, 3], Operations: ['96-69=27', '27-24=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,14 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[59, 51], Operations: ['96-69=27', '24+27=51'] Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,14 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[27, 83], Operations: ['96-69=27', '24+59=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,14 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,14 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,14 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: 14:[69, 24, 37], Operations: ['96-59=37'] Exploring Operation: 69+24=93, Resulting Numbers: [37, 93] Generated Node #0,4,0: 14:[37, 93] Operation: 69+24=93 Exploring Operation: 69+37=106, Resulting Numbers: [24, 106] Generated Node #0,4,1: 14:[24, 106] Operation: 69+37=106 Exploring Operation: 69-37=32, Resulting Numbers: [24, 32] Generated Node #0,4,2: 14:[24, 32] Operation: 69-37=32 Exploring Operation: 69-24=45, Resulting Numbers: [37, 45] Generated Node #0,4,3: 14:[37, 45] Operation: 69-24=45 Exploring Operation: 37-24=13, Resulting Numbers: [69, 13] Generated Node #0,4,4: 14:[69, 13] Operation: 37-24=13 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 14:[24, 32], Operations: ['96-59=37', '69-37=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,14 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,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,4,3 Current State: 14:[37, 45], Operations: ['96-59=37', '69-24=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 37*45=1665, Resulting Numbers: [1665] 1665,14 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,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,4,4 Current State: 14:[69, 13], Operations: ['96-59=37', '37-24=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,14 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,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,4,0 Current State: 14:[37, 93], Operations: ['96-59=37', '69+24=93'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,14 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,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,4,1 Current State: 14:[24, 106], Operations: ['96-59=37', '69+37=106'] Exploring Operation: 24*106=2544, Resulting Numbers: [2544] 2544,14 unequal: No Solution Exploring Operation: 24+106=130, Resulting Numbers: [130] 130,14 unequal: No Solution Exploring Operation: 106-24=82, Resulting Numbers: [82] 82,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[96, 24, 10], Operations: ['69-59=10'] Exploring Operation: 96/24=4, Resulting Numbers: [10, 4] Generated Node #0,2,0: 14:[10, 4] Operation: 96/24=4 Exploring Operation: 96-10=86, Resulting Numbers: [24, 86] Generated Node #0,2,1: 14:[24, 86] Operation: 96-10=86 Exploring Operation: 96+10=106, Resulting Numbers: [24, 106] Generated Node #0,2,2: 14:[24, 106] Operation: 96+10=106 Exploring Operation: 96-24=72, Resulting Numbers: [10, 72] Generated Node #0,2,3: 14:[10, 72] Operation: 96-24=72 Exploring Operation: 24-10=14, Resulting Numbers: [96, 14] Generated Node #0,2,4: 14:[96, 14] Operation: 24-10=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[10, 4], Operations: ['69-59=10', '96/24=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,14 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[69, 96, 24, 59], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [96, 24, 10] Generated Node #0,2: 14:[96, 24, 10] Operation: 69-59=10 Moving to Node #0,2 Current State: 14:[96, 24, 10], Operations: ['69-59=10'] Exploring Operation: 96/24=4, Resulting Numbers: [10, 4] Generated Node #0,2,0: 14:[10, 4] Operation: 96/24=4 Moving to Node #0,2,0 Current State: 14:[10, 4], Operations: ['69-59=10', '96/24=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 49, 7, 39, 69 ]
37
[ "49/7=7", "69-39=30", "7+30=37" ]
Current State: 37:[49, 7, 39, 69], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [39, 69, 7] Generated Node #2: [39, 69, 7] from Operation: 49/7=7 Current State: 37:[39, 69, 7], Operations: ['49/7=7'] Exploring Operation: 69-39=30, Resulting Numbers: [7, 30] Generated Node #3: [7, 30] from Operation: 69-39=30 Current State: 37:[7, 30], Operations: ['49/7=7', '69-39=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[49, 7, 39, 69], Operations: [] Exploring Operation: 69-7=62, Resulting Numbers: [49, 39, 62] Generated Node #0,0: 37:[49, 39, 62] Operation: 69-7=62 Exploring Operation: 69-49=20, Resulting Numbers: [7, 39, 20] Generated Node #0,1: 37:[7, 39, 20] Operation: 69-49=20 Exploring Operation: 49-7=42, Resulting Numbers: [39, 69, 42] Generated Node #0,2: 37:[39, 69, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[49, 39, 62], Operations: ['69-7=62'] Exploring Operation: 49-39=10, Resulting Numbers: [62, 10] Generated Node #0,0,0: 37:[62, 10] Operation: 49-39=10 Exploring Operation: 62-49=13, Resulting Numbers: [39, 13] Generated Node #0,0,1: 37:[39, 13] Operation: 62-49=13 Exploring Operation: 62-39=23, Resulting Numbers: [49, 23] Generated Node #0,0,2: 37:[49, 23] Operation: 62-39=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[39, 13], Operations: ['69-7=62', '62-49=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,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:[49, 23], Operations: ['69-7=62', '62-39=23'] Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,37 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,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:[62, 10], Operations: ['69-7=62', '49-39=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,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:[39, 69, 42], Operations: ['49-7=42'] Exploring Operation: 69-42=27, Resulting Numbers: [39, 27] Generated Node #0,2,0: 37:[39, 27] Operation: 69-42=27 Exploring Operation: 69-39=30, Resulting Numbers: [42, 30] Generated Node #0,2,1: 37:[42, 30] Operation: 69-39=30 Exploring Operation: 42-39=3, Resulting Numbers: [69, 3] Generated Node #0,2,2: 37:[69, 3] Operation: 42-39=3 Moving to Node #0,2,0 Current State: 37:[39, 27], Operations: ['49-7=42', '69-42=27'] Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,37 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[42, 30], Operations: ['49-7=42', '69-39=30'] Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[69, 3], Operations: ['49-7=42', '42-39=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,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,1 Current State: 37:[7, 39, 20], Operations: ['69-49=20'] Exploring Operation: 7+20=27, Resulting Numbers: [39, 27] Generated Node #0,1,0: 37:[39, 27] Operation: 7+20=27 Exploring Operation: 7+39=46, Resulting Numbers: [20, 46] Generated Node #0,1,1: 37:[20, 46] Operation: 7+39=46 Exploring Operation: 39-7=32, Resulting Numbers: [20, 32] Generated Node #0,1,2: 37:[20, 32] Operation: 39-7=32 Moving to Node #0,1,0 Current State: 37:[39, 27], Operations: ['69-49=20', '7+20=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[20, 32], Operations: ['69-49=20', '39-7=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,37 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[20, 46], Operations: ['69-49=20', '7+39=46'] Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,37 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,37 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
[ 39, 30, 58, 37 ]
90
[ "39+30=69", "58-37=21", "69+21=90" ]
Current State: 90:[39, 30, 58, 37], Operations: [] Exploring Operation: 39+30=69, Resulting Numbers: [58, 37, 69] Generated Node #2: [58, 37, 69] from Operation: 39+30=69 Current State: 90:[58, 37, 69], Operations: ['39+30=69'] Exploring Operation: 58-37=21, Resulting Numbers: [69, 21] Generated Node #3: [69, 21] from Operation: 58-37=21 Current State: 90:[69, 21], Operations: ['39+30=69', '58-37=21'] Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[39, 30, 58, 37], Operations: [] Exploring Operation: 58+37=95, Resulting Numbers: [39, 30, 95] Generated Node #0,0: 90:[39, 30, 95] Operation: 58+37=95 Exploring Operation: 58-39=19, Resulting Numbers: [30, 37, 19] Generated Node #0,1: 90:[30, 37, 19] Operation: 58-39=19 Exploring Operation: 58-37=21, Resulting Numbers: [39, 30, 21] Generated Node #0,2: 90:[39, 30, 21] Operation: 58-37=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[30, 37, 19], Operations: ['58-39=19'] Exploring Operation: 37-19=18, Resulting Numbers: [30, 18] Generated Node #0,1,0: 90:[30, 18] Operation: 37-19=18 Exploring Operation: 30-19=11, Resulting Numbers: [37, 11] Generated Node #0,1,1: 90:[37, 11] Operation: 30-19=11 Exploring Operation: 37-30=7, Resulting Numbers: [19, 7] Generated Node #0,1,2: 90:[19, 7] Operation: 37-30=7 Moving to Node #0,1,0 Current State: 90:[30, 18], Operations: ['58-39=19', '37-19=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,90 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[19, 7], Operations: ['58-39=19', '37-30=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,90 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[37, 11], Operations: ['58-39=19', '30-19=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,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,2 Current State: 90:[39, 30, 21], Operations: ['58-37=21'] Exploring Operation: 39-30=9, Resulting Numbers: [21, 9] Generated Node #0,2,0: 90:[21, 9] Operation: 39-30=9 Exploring Operation: 30-21=9, Resulting Numbers: [39, 9] Generated Node #0,2,1: 90:[39, 9] Operation: 30-21=9 Exploring Operation: 39-21=18, Resulting Numbers: [30, 18] Generated Node #0,2,2: 90:[30, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[30, 18], Operations: ['58-37=21', '39-21=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,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,2,0 Current State: 90:[21, 9], Operations: ['58-37=21', '39-30=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,90 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,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,2,1 Current State: 90:[39, 9], Operations: ['58-37=21', '30-21=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,90 unequal: No Solution Exploring Operation: 39-9=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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[39, 30, 95], Operations: ['58+37=95'] Exploring Operation: 39+30=69, Resulting Numbers: [95, 69] Generated Node #0,0,0: 90:[95, 69] Operation: 39+30=69 Exploring Operation: 95-39=56, Resulting Numbers: [30, 56] Generated Node #0,0,1: 90:[30, 56] Operation: 95-39=56 Exploring Operation: 39-30=9, Resulting Numbers: [95, 9] Generated Node #0,0,2: 90:[95, 9] Operation: 39-30=9 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[95, 9], Operations: ['58+37=95', '39-30=9'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,90 unequal: No Solution Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,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:[30, 56], Operations: ['58+37=95', '95-39=56'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,90 unequal: No Solution Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,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:[95, 69], Operations: ['58+37=95', '39+30=69'] Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,90 unequal: No Solution Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,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_3
sum_heuristic
[ 38, 64, 23, 99 ]
62
[ "99-23=76", "76/38=2", "64-2=62" ]
Current State: 62:[38, 64, 23, 99], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [38, 64, 76] Generated Node #2: [38, 64, 76] from Operation: 99-23=76 Current State: 62:[38, 64, 76], Operations: ['99-23=76'] Exploring Operation: 76/38=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 76/38=2 Current State: 62:[64, 2], Operations: ['99-23=76', '76/38=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[38, 64, 23, 99], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [38, 64, 76] Generated Node #0,0: 62:[38, 64, 76] Operation: 99-23=76 Exploring Operation: 99-64=35, Resulting Numbers: [38, 23, 35] Generated Node #0,1: 62:[38, 23, 35] Operation: 99-64=35 Exploring Operation: 99-38=61, Resulting Numbers: [64, 23, 61] Generated Node #0,2: 62:[64, 23, 61] Operation: 99-38=61 Moving to Node #0,2 Current State: 62:[64, 23, 61], Operations: ['99-38=61'] Exploring Operation: 64-61=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 62:[23, 3] Operation: 64-61=3 Exploring Operation: 64-23=41, Resulting Numbers: [61, 41] Generated Node #0,2,1: 62:[61, 41] Operation: 64-23=41 Exploring Operation: 61-23=38, Resulting Numbers: [64, 38] Generated Node #0,2,2: 62:[64, 38] Operation: 61-23=38 Moving to Node #0,1 Current State: 62:[38, 23, 35], Operations: ['99-64=35'] Exploring Operation: 38+23=61, Resulting Numbers: [35, 61] Generated Node #0,1,0: 62:[35, 61] Operation: 38+23=61 Exploring Operation: 38-35=3, Resulting Numbers: [23, 3] Generated Node #0,1,1: 62:[23, 3] Operation: 38-35=3 Exploring Operation: 23+35=58, Resulting Numbers: [38, 58] Generated Node #0,1,2: 62:[38, 58] Operation: 23+35=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[35, 61], Operations: ['99-64=35', '38+23=61'] Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,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:[23, 3], Operations: ['99-64=35', '38-35=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,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:[38, 58], Operations: ['99-64=35', '23+35=58'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,62 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,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:[38, 64, 76], Operations: ['99-23=76'] Exploring Operation: 76-64=12, Resulting Numbers: [38, 12] Generated Node #0,0,0: 62:[38, 12] Operation: 76-64=12 Exploring Operation: 76-38=38, Resulting Numbers: [64, 38] Generated Node #0,0,1: 62:[64, 38] Operation: 76-38=38 Exploring Operation: 76/38=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 62:[64, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[64, 2], Operations: ['99-23=76', '76/38=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[38, 64, 23, 99], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [38, 64, 76] Generated Node #0,0: 62:[38, 64, 76] Operation: 99-23=76 Moving to Node #0,0 Current State: 62:[38, 64, 76], Operations: ['99-23=76'] Exploring Operation: 76/38=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 62:[64, 2] Operation: 76/38=2 Moving to Node #0,0,2 Current State: 62:[64, 2], Operations: ['99-23=76', '76/38=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 91, 3, 22, 35 ]
65
[ "3+22=25", "91*25=2275", "2275/35=65" ]
Current State: 65:[91, 3, 22, 35], Operations: [] Exploring Operation: 3+22=25, Resulting Numbers: [91, 35, 25] Generated Node #2: [91, 35, 25] from Operation: 3+22=25 Current State: 65:[91, 35, 25], Operations: ['3+22=25'] Exploring Operation: 91*25=2275, Resulting Numbers: [35, 2275] Generated Node #3: [35, 2275] from Operation: 91*25=2275 Current State: 65:[35, 2275], Operations: ['3+22=25', '91*25=2275'] Exploring Operation: 2275/35=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[91, 3, 22, 35], Operations: [] Exploring Operation: 35-22=13, Resulting Numbers: [91, 3, 13] Generated Node #0,0: 65:[91, 3, 13] Operation: 35-22=13 Exploring Operation: 91-22=69, Resulting Numbers: [3, 35, 69] Generated Node #0,1: 65:[3, 35, 69] Operation: 91-22=69 Exploring Operation: 22+35=57, Resulting Numbers: [91, 3, 57] Generated Node #0,2: 65:[91, 3, 57] Operation: 22+35=57 Exploring Operation: 91-35=56, Resulting Numbers: [3, 22, 56] Generated Node #0,3: 65:[3, 22, 56] Operation: 91-35=56 Exploring Operation: 3*22=66, Resulting Numbers: [91, 35, 66] Generated Node #0,4: 65:[91, 35, 66] Operation: 3*22=66 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[3, 22, 56], Operations: ['91-35=56'] Exploring Operation: 3+56=59, Resulting Numbers: [22, 59] Generated Node #0,3,0: 65:[22, 59] Operation: 3+56=59 Exploring Operation: 22+56=78, Resulting Numbers: [3, 78] Generated Node #0,3,1: 65:[3, 78] Operation: 22+56=78 Exploring Operation: 22-3=19, Resulting Numbers: [56, 19] Generated Node #0,3,2: 65:[56, 19] Operation: 22-3=19 Exploring Operation: 3*22=66, Resulting Numbers: [56, 66] Generated Node #0,3,3: 65:[56, 66] Operation: 3*22=66 Exploring Operation: 3+22=25, Resulting Numbers: [56, 25] Generated Node #0,3,4: 65:[56, 25] Operation: 3+22=25 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[56, 66], Operations: ['91-35=56', '3*22=66'] Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,65 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,65 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 65:[22, 59], Operations: ['91-35=56', '3+56=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,65 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 65:[3, 78], Operations: ['91-35=56', '22+56=78'] Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,65 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[56, 19], Operations: ['91-35=56', '22-3=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,65 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 65:[56, 25], Operations: ['91-35=56', '3+22=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,65 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[91, 3, 13], Operations: ['35-22=13'] Exploring Operation: 91/13=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 65:[3, 7] Operation: 91/13=7 Exploring Operation: 3+13=16, Resulting Numbers: [91, 16] Generated Node #0,0,1: 65:[91, 16] Operation: 3+13=16 Exploring Operation: 91+3=94, Resulting Numbers: [13, 94] Generated Node #0,0,2: 65:[13, 94] Operation: 91+3=94 Exploring Operation: 91-3=88, Resulting Numbers: [13, 88] Generated Node #0,0,3: 65:[13, 88] Operation: 91-3=88 Exploring Operation: 91-13=78, Resulting Numbers: [3, 78] Generated Node #0,0,4: 65:[3, 78] Operation: 91-13=78 Moving to Node #0,0,0 Current State: 65:[3, 7], Operations: ['35-22=13', '91/13=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[3, 78], Operations: ['35-22=13', '91-13=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[13, 88], Operations: ['35-22=13', '91-3=88'] Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,65 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[91, 16], Operations: ['35-22=13', '3+13=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,65 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[13, 94], Operations: ['35-22=13', '91+3=94'] Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,65 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[3, 35, 69], Operations: ['91-22=69'] Exploring Operation: 3+69=72, Resulting Numbers: [35, 72] Generated Node #0,1,0: 65:[35, 72] Operation: 3+69=72 Exploring Operation: 69-35=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 65:[3, 34] Operation: 69-35=34 Exploring Operation: 69-3=66, Resulting Numbers: [35, 66] Generated Node #0,1,2: 65:[35, 66] Operation: 69-3=66 Exploring Operation: 3+35=38, Resulting Numbers: [69, 38] Generated Node #0,1,3: 65:[69, 38] Operation: 3+35=38 Exploring Operation: 35-3=32, Resulting Numbers: [69, 32] Generated Node #0,1,4: 65:[69, 32] Operation: 35-3=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[3, 34], Operations: ['91-22=69', '69-35=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,65 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[35, 66], Operations: ['91-22=69', '69-3=66'] Exploring Operation: 35+66=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 35*66=2310, Resulting Numbers: [2310] 2310,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 65:[69, 32], Operations: ['91-22=69', '35-3=32'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,65 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[35, 72], Operations: ['91-22=69', '3+69=72'] Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,65 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[69, 38], Operations: ['91-22=69', '3+35=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,65 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[91, 3, 57], Operations: ['22+35=57'] Exploring Operation: 57/3=19, Resulting Numbers: [91, 19] Generated Node #0,2,0: 65:[91, 19] Operation: 57/3=19 Exploring Operation: 3+57=60, Resulting Numbers: [91, 60] Generated Node #0,2,1: 65:[91, 60] Operation: 3+57=60 Exploring Operation: 91-57=34, Resulting Numbers: [3, 34] Generated Node #0,2,2: 65:[3, 34] Operation: 91-57=34 Exploring Operation: 91-3=88, Resulting Numbers: [57, 88] Generated Node #0,2,3: 65:[57, 88] Operation: 91-3=88 Exploring Operation: 91+3=94, Resulting Numbers: [57, 94] Generated Node #0,2,4: 65:[57, 94] Operation: 91+3=94 Moving to Node #0,2,2 Current State: 65:[3, 34], Operations: ['22+35=57', '91-57=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,65 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[57, 88], Operations: ['22+35=57', '91-3=88'] Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 57+88=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 57*88=5016, Resulting Numbers: [5016] 5016,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[91, 60], Operations: ['22+35=57', '3+57=60'] Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 91*60=5460, Resulting Numbers: [5460] 5460,65 unequal: No Solution Exploring Operation: 91+60=151, Resulting Numbers: [151] 151,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[91, 19], Operations: ['22+35=57', '57/3=19'] Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,65 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[57, 94], Operations: ['22+35=57', '91+3=94'] Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 57+94=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 57*94=5358, Resulting Numbers: [5358] 5358,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[91, 35, 66], Operations: ['3*22=66'] Exploring Operation: 91+35=126, Resulting Numbers: [66, 126] Generated Node #0,4,0: 65:[66, 126] Operation: 91+35=126 Exploring Operation: 66-35=31, Resulting Numbers: [91, 31] Generated Node #0,4,1: 65:[91, 31] Operation: 66-35=31 Exploring Operation: 91-66=25, Resulting Numbers: [35, 25] Generated Node #0,4,2: 65:[35, 25] Operation: 91-66=25 Exploring Operation: 91-35=56, Resulting Numbers: [66, 56] Generated Node #0,4,3: 65:[66, 56] Operation: 91-35=56 Exploring Operation: 35+66=101, Resulting Numbers: [91, 101] Generated Node #0,4,4: 65:[91, 101] Operation: 35+66=101 Moving to Node #0,4,3 Current State: 65:[66, 56], Operations: ['3*22=66', '91-35=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,65 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,65 unequal: No Solution Moving to Node #0,4,2 Current State: 65:[35, 25], Operations: ['3*22=66', '91-66=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,65 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[91, 31], Operations: ['3*22=66', '66-35=31'] Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 91+31=122, Resulting Numbers: [122] 122,65 unequal: No Solution Exploring Operation: 91*31=2821, Resulting Numbers: [2821] 2821,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[66, 126], Operations: ['3*22=66', '91+35=126'] Exploring Operation: 126-66=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 66*126=8316, Resulting Numbers: [8316] 8316,65 unequal: No Solution Exploring Operation: 66+126=192, Resulting Numbers: [192] 192,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[91, 101], Operations: ['3*22=66', '35+66=101'] Exploring Operation: 101-91=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 91+101=192, Resulting Numbers: [192] 192,65 unequal: No Solution Exploring Operation: 91*101=9191, Resulting Numbers: [9191] 9191,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 52, 18, 14, 35 ]
28
[ "52+18=70", "14*70=980", "980/35=28" ]
Current State: 28:[52, 18, 14, 35], Operations: [] Exploring Operation: 52+18=70, Resulting Numbers: [14, 35, 70] Generated Node #2: [14, 35, 70] from Operation: 52+18=70 Current State: 28:[14, 35, 70], Operations: ['52+18=70'] Exploring Operation: 14*70=980, Resulting Numbers: [35, 980] Generated Node #3: [35, 980] from Operation: 14*70=980 Current State: 28:[35, 980], Operations: ['52+18=70', '14*70=980'] Exploring Operation: 980/35=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[52, 18, 14, 35], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [14, 35, 34] Generated Node #0,0: 28:[14, 35, 34] Operation: 52-18=34 Exploring Operation: 35-18=17, Resulting Numbers: [52, 14, 17] Generated Node #0,1: 28:[52, 14, 17] Operation: 35-18=17 Exploring Operation: 52-35=17, Resulting Numbers: [18, 14, 17] Generated Node #0,2: 28:[18, 14, 17] Operation: 52-35=17 Exploring Operation: 52-14=38, Resulting Numbers: [18, 35, 38] Generated Node #0,3: 28:[18, 35, 38] Operation: 52-14=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[18, 14, 17], Operations: ['52-35=17'] Exploring Operation: 17-14=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 28:[18, 3] Operation: 17-14=3 Exploring Operation: 18-17=1, Resulting Numbers: [14, 1] Generated Node #0,2,1: 28:[14, 1] Operation: 18-17=1 Exploring Operation: 18-14=4, Resulting Numbers: [17, 4] Generated Node #0,2,2: 28:[17, 4] Operation: 18-14=4 Exploring Operation: 18+14=32, Resulting Numbers: [17, 32] Generated Node #0,2,3: 28:[17, 32] Operation: 18+14=32 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[14, 1], Operations: ['52-35=17', '18-17=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[17, 4], Operations: ['52-35=17', '18-14=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[18, 3], Operations: ['52-35=17', '17-14=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[17, 32], Operations: ['52-35=17', '18+14=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,28 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[14, 35, 34], Operations: ['52-18=34'] Exploring Operation: 14+35=49, Resulting Numbers: [34, 49] Generated Node #0,0,0: 28:[34, 49] Operation: 14+35=49 Exploring Operation: 35-14=21, Resulting Numbers: [34, 21] Generated Node #0,0,1: 28:[34, 21] Operation: 35-14=21 Exploring Operation: 34-14=20, Resulting Numbers: [35, 20] Generated Node #0,0,2: 28:[35, 20] Operation: 34-14=20 Exploring Operation: 35-34=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 28:[14, 1] Operation: 35-34=1 Moving to Node #0,0,3 Current State: 28:[14, 1], Operations: ['52-18=34', '35-34=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[35, 20], Operations: ['52-18=34', '34-14=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[34, 21], Operations: ['52-18=34', '35-14=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[34, 49], Operations: ['52-18=34', '14+35=49'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,28 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,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,3 Current State: 28:[18, 35, 38], Operations: ['52-14=38'] Exploring Operation: 35-18=17, Resulting Numbers: [38, 17] Generated Node #0,3,0: 28:[38, 17] Operation: 35-18=17 Exploring Operation: 38-18=20, Resulting Numbers: [35, 20] Generated Node #0,3,1: 28:[35, 20] Operation: 38-18=20 Exploring Operation: 38-35=3, Resulting Numbers: [18, 3] Generated Node #0,3,2: 28:[18, 3] Operation: 38-35=3 Exploring Operation: 18+35=53, Resulting Numbers: [38, 53] Generated Node #0,3,3: 28:[38, 53] Operation: 18+35=53 Moving to Node #0,3,2 Current State: 28:[18, 3], Operations: ['52-14=38', '38-35=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[35, 20], Operations: ['52-14=38', '38-18=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[38, 17], Operations: ['52-14=38', '35-18=17'] Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[38, 53], Operations: ['52-14=38', '18+35=53'] Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,28 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,28 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[52, 14, 17], Operations: ['35-18=17'] Exploring Operation: 14+17=31, Resulting Numbers: [52, 31] Generated Node #0,1,0: 28:[52, 31] Operation: 14+17=31 Exploring Operation: 17-14=3, Resulting Numbers: [52, 3] Generated Node #0,1,1: 28:[52, 3] Operation: 17-14=3 Exploring Operation: 52-14=38, Resulting Numbers: [17, 38] Generated Node #0,1,2: 28:[17, 38] Operation: 52-14=38 Exploring Operation: 52-17=35, Resulting Numbers: [14, 35] Generated Node #0,1,3: 28:[14, 35] Operation: 52-17=35 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 28:[14, 35], Operations: ['35-18=17', '52-17=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,28 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,28 unequal: No Solution No 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:[17, 38], Operations: ['35-18=17', '52-14=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,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,1 Current State: 28:[52, 3], Operations: ['35-18=17', '17-14=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,28 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,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:[52, 31], Operations: ['35-18=17', '14+17=31'] Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,28 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,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_4
sum_heuristic
[ 66, 86, 83, 42 ]
52
[ "86-83=3", "42/3=14", "66-14=52" ]
Current State: 52:[66, 86, 83, 42], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [66, 42, 3] Generated Node #2: [66, 42, 3] from Operation: 86-83=3 Current State: 52:[66, 42, 3], Operations: ['86-83=3'] Exploring Operation: 42/3=14, Resulting Numbers: [66, 14] Generated Node #3: [66, 14] from Operation: 42/3=14 Current State: 52:[66, 14], Operations: ['86-83=3', '42/3=14'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[66, 86, 83, 42], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [66, 42, 3] Generated Node #0,0: 52:[66, 42, 3] Operation: 86-83=3 Moving to Node #0,0 Current State: 52:[66, 42, 3], Operations: ['86-83=3'] Exploring Operation: 66-42=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 52:[3, 24] Operation: 66-42=24 Moving to Node #0,0,0 Current State: 52:[3, 24], Operations: ['86-83=3', '66-42=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,52 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 3, 22, 26 ]
67
[ "26-22=4", "3*4=12", "79-12=67" ]
Current State: 67:[79, 3, 22, 26], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [79, 3, 4] Generated Node #2: [79, 3, 4] from Operation: 26-22=4 Current State: 67:[79, 3, 4], Operations: ['26-22=4'] Exploring Operation: 3*4=12, Resulting Numbers: [79, 12] Generated Node #3: [79, 12] from Operation: 3*4=12 Current State: 67:[79, 12], Operations: ['26-22=4', '3*4=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[79, 3, 22, 26], Operations: [] Exploring Operation: 3*26=78, Resulting Numbers: [79, 22, 78] Generated Node #0,0: 67:[79, 22, 78] Operation: 3*26=78 Exploring Operation: 3*22=66, Resulting Numbers: [79, 26, 66] Generated Node #0,1: 67:[79, 26, 66] Operation: 3*22=66 Exploring Operation: 79-3=76, Resulting Numbers: [22, 26, 76] Generated Node #0,2: 67:[22, 26, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[79, 26, 66], Operations: ['3*22=66'] Exploring Operation: 79+26=105, Resulting Numbers: [66, 105] Generated Node #0,1,0: 67:[66, 105] Operation: 79+26=105 Exploring Operation: 26+66=92, Resulting Numbers: [79, 92] Generated Node #0,1,1: 67:[79, 92] Operation: 26+66=92 Exploring Operation: 79-26=53, Resulting Numbers: [66, 53] Generated Node #0,1,2: 67:[66, 53] Operation: 79-26=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[66, 53], Operations: ['3*22=66', '79-26=53'] Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 66*53=3498, Resulting Numbers: [3498] 3498,67 unequal: No Solution Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,67 unequal: No Solution No 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: 67:[79, 92], Operations: ['3*22=66', '26+66=92'] Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,67 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,67 unequal: No Solution No 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: 67:[66, 105], Operations: ['3*22=66', '79+26=105'] Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 66*105=6930, Resulting Numbers: [6930] 6930,67 unequal: No Solution Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,67 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: 67:[79, 22, 78], Operations: ['3*26=78'] Exploring Operation: 78-22=56, Resulting Numbers: [79, 56] Generated Node #0,0,0: 67:[79, 56] Operation: 78-22=56 Exploring Operation: 79+22=101, Resulting Numbers: [78, 101] Generated Node #0,0,1: 67:[78, 101] Operation: 79+22=101 Exploring Operation: 79-22=57, Resulting Numbers: [78, 57] Generated Node #0,0,2: 67:[78, 57] Operation: 79-22=57 Moving to Node #0,0,2 Current State: 67:[78, 57], Operations: ['3*26=78', '79-22=57'] Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,67 unequal: No Solution Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[79, 56], Operations: ['3*26=78', '78-22=56'] Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[78, 101], Operations: ['3*26=78', '79+22=101'] Exploring Operation: 101-78=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 78+101=179, Resulting Numbers: [179] 179,67 unequal: No Solution Exploring Operation: 78*101=7878, Resulting Numbers: [7878] 7878,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[22, 26, 76], Operations: ['79-3=76'] Exploring Operation: 76-26=50, Resulting Numbers: [22, 50] Generated Node #0,2,0: 67:[22, 50] Operation: 76-26=50 Exploring Operation: 22+26=48, Resulting Numbers: [76, 48] Generated Node #0,2,1: 67:[76, 48] Operation: 22+26=48 Exploring Operation: 76-22=54, Resulting Numbers: [26, 54] Generated Node #0,2,2: 67:[26, 54] Operation: 76-22=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[76, 48], Operations: ['79-3=76', '22+26=48'] Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 76*48=3648, Resulting Numbers: [3648] 3648,67 unequal: No Solution Exploring Operation: 76+48=124, Resulting Numbers: [124] 124,67 unequal: No Solution No 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: 67:[26, 54], Operations: ['79-3=76', '76-22=54'] Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,67 unequal: No Solution No 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: 67:[22, 50], Operations: ['79-3=76', '76-26=50'] Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,67 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,67 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 30, 16, 88, 15 ]
88
[ "30-16=14", "15-14=1", "88*1=88" ]
Current State: 88:[30, 16, 88, 15], Operations: [] Exploring Operation: 30-16=14, Resulting Numbers: [88, 15, 14] Generated Node #2: [88, 15, 14] from Operation: 30-16=14 Current State: 88:[88, 15, 14], Operations: ['30-16=14'] Exploring Operation: 15-14=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 15-14=1 Current State: 88:[88, 1], Operations: ['30-16=14', '15-14=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[30, 16, 88, 15], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [16, 88, 2] Generated Node #0,0: 88:[16, 88, 2] Operation: 30/15=2 Exploring Operation: 30+15=45, Resulting Numbers: [16, 88, 45] Generated Node #0,1: 88:[16, 88, 45] Operation: 30+15=45 Exploring Operation: 30-16=14, Resulting Numbers: [88, 15, 14] Generated Node #0,2: 88:[88, 15, 14] Operation: 30-16=14 Exploring Operation: 30+16=46, Resulting Numbers: [88, 15, 46] Generated Node #0,3: 88:[88, 15, 46] Operation: 30+16=46 Moving to Node #0,0 Current State: 88:[16, 88, 2], Operations: ['30/15=2'] Exploring Operation: 88/2=44, Resulting Numbers: [16, 44] Generated Node #0,0,0: 88:[16, 44] Operation: 88/2=44 Exploring Operation: 16/2=8, Resulting Numbers: [88, 8] Generated Node #0,0,1: 88:[88, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [88, 14] Generated Node #0,0,2: 88:[88, 14] Operation: 16-2=14 Exploring Operation: 16+2=18, Resulting Numbers: [88, 18] Generated Node #0,0,3: 88:[88, 18] Operation: 16+2=18 Moving to Node #0,3 Current State: 88:[88, 15, 46], Operations: ['30+16=46'] Exploring Operation: 88+15=103, Resulting Numbers: [46, 103] Generated Node #0,3,0: 88:[46, 103] Operation: 88+15=103 Exploring Operation: 46-15=31, Resulting Numbers: [88, 31] Generated Node #0,3,1: 88:[88, 31] Operation: 46-15=31 Exploring Operation: 88-46=42, Resulting Numbers: [15, 42] Generated Node #0,3,2: 88:[15, 42] Operation: 88-46=42 Exploring Operation: 88-15=73, Resulting Numbers: [46, 73] Generated Node #0,3,3: 88:[46, 73] Operation: 88-15=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[15, 42], Operations: ['30+16=46', '88-46=42'] Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,88 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[88, 31], Operations: ['30+16=46', '46-15=31'] Exploring Operation: 88*31=2728, Resulting Numbers: [2728] 2728,88 unequal: No Solution Exploring Operation: 88+31=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[46, 103], Operations: ['30+16=46', '88+15=103'] Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 46*103=4738, Resulting Numbers: [4738] 4738,88 unequal: No Solution Exploring Operation: 46+103=149, Resulting Numbers: [149] 149,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[46, 73], Operations: ['30+16=46', '88-15=73'] Exploring Operation: 46+73=119, Resulting Numbers: [119] 119,88 unequal: No Solution Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 46*73=3358, Resulting Numbers: [3358] 3358,88 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: 88:[16, 88, 45], Operations: ['30+15=45'] Exploring Operation: 88-45=43, Resulting Numbers: [16, 43] Generated Node #0,1,0: 88:[16, 43] Operation: 88-45=43 Exploring Operation: 16+88=104, Resulting Numbers: [45, 104] Generated Node #0,1,1: 88:[45, 104] Operation: 16+88=104 Exploring Operation: 45-16=29, Resulting Numbers: [88, 29] Generated Node #0,1,2: 88:[88, 29] Operation: 45-16=29 Exploring Operation: 88-16=72, Resulting Numbers: [45, 72] Generated Node #0,1,3: 88:[45, 72] Operation: 88-16=72 Moving to Node #0,2 Current State: 88:[88, 15, 14], Operations: ['30-16=14'] Exploring Operation: 15+14=29, Resulting Numbers: [88, 29] Generated Node #0,2,0: 88:[88, 29] Operation: 15+14=29 Exploring Operation: 88+15=103, Resulting Numbers: [14, 103] Generated Node #0,2,1: 88:[14, 103] Operation: 88+15=103 Exploring Operation: 15-14=1, Resulting Numbers: [88, 1] Generated Node #0,2,2: 88:[88, 1] Operation: 15-14=1 Exploring Operation: 88-15=73, Resulting Numbers: [14, 73] Generated Node #0,2,3: 88:[14, 73] Operation: 88-15=73 Moving to Node #0,0,1 Current State: 88:[88, 8], Operations: ['30/15=2', '16/2=8'] Exploring Operation: 88*8=704, Resulting Numbers: [704] 704,88 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[88, 1], Operations: ['30-16=14', '15-14=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[30, 16, 88, 15], Operations: [] Exploring Operation: 30-16=14, Resulting Numbers: [88, 15, 14] Generated Node #0,2: 88:[88, 15, 14] Operation: 30-16=14 Moving to Node #0,2 Current State: 88:[88, 15, 14], Operations: ['30-16=14'] Exploring Operation: 15-14=1, Resulting Numbers: [88, 1] Generated Node #0,2,2: 88:[88, 1] Operation: 15-14=1 Moving to Node #0,2,2 Current State: 88:[88, 1], Operations: ['30-16=14', '15-14=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 50, 40, 2, 94 ]
99
[ "50-40=10", "10/2=5", "94+5=99" ]
Current State: 99:[50, 40, 2, 94], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [2, 94, 10] Generated Node #2: [2, 94, 10] from Operation: 50-40=10 Current State: 99:[2, 94, 10], Operations: ['50-40=10'] Exploring Operation: 10/2=5, Resulting Numbers: [94, 5] Generated Node #3: [94, 5] from Operation: 10/2=5 Current State: 99:[94, 5], Operations: ['50-40=10', '10/2=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[50, 40, 2, 94], Operations: [] Exploring Operation: 50*2=100, Resulting Numbers: [40, 94, 100] Generated Node #0,0: 99:[40, 94, 100] Operation: 50*2=100 Exploring Operation: 50-40=10, Resulting Numbers: [2, 94, 10] Generated Node #0,1: 99:[2, 94, 10] Operation: 50-40=10 Exploring Operation: 50+40=90, Resulting Numbers: [2, 94, 90] Generated Node #0,2: 99:[2, 94, 90] Operation: 50+40=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[2, 94, 10], Operations: ['50-40=10'] Exploring Operation: 2+10=12, Resulting Numbers: [94, 12] Generated Node #0,1,0: 99:[94, 12] Operation: 2+10=12 Exploring Operation: 2+94=96, Resulting Numbers: [10, 96] Generated Node #0,1,1: 99:[10, 96] Operation: 2+94=96 Exploring Operation: 10-2=8, Resulting Numbers: [94, 8] Generated Node #0,1,2: 99:[94, 8] Operation: 10-2=8 Moving to Node #0,1,1 Current State: 99:[10, 96], Operations: ['50-40=10', '2+94=96'] Exploring Operation: 10+96=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,99 unequal: No Solution Exploring Operation: 10*96=960, Resulting Numbers: [960] 960,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[94, 12], Operations: ['50-40=10', '2+10=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,99 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[94, 8], Operations: ['50-40=10', '10-2=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,99 unequal: No Solution Exploring Operation: 94+8=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 94*8=752, Resulting Numbers: [752] 752,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[40, 94, 100], Operations: ['50*2=100'] Exploring Operation: 100-40=60, Resulting Numbers: [94, 60] Generated Node #0,0,0: 99:[94, 60] Operation: 100-40=60 Exploring Operation: 100-94=6, Resulting Numbers: [40, 6] Generated Node #0,0,1: 99:[40, 6] Operation: 100-94=6 Exploring Operation: 94-40=54, Resulting Numbers: [100, 54] Generated Node #0,0,2: 99:[100, 54] Operation: 94-40=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[40, 6], Operations: ['50*2=100', '100-94=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,99 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[100, 54], Operations: ['50*2=100', '94-40=54'] Exploring Operation: 100*54=5400, Resulting Numbers: [5400] 5400,99 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 100+54=154, Resulting Numbers: [154] 154,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[94, 60], Operations: ['50*2=100', '100-40=60'] Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,99 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[2, 94, 90], Operations: ['50+40=90'] Exploring Operation: 2+90=92, Resulting Numbers: [94, 92] Generated Node #0,2,0: 99:[94, 92] Operation: 2+90=92 Exploring Operation: 94-90=4, Resulting Numbers: [2, 4] Generated Node #0,2,1: 99:[2, 4] Operation: 94-90=4 Exploring Operation: 2+94=96, Resulting Numbers: [90, 96] Generated Node #0,2,2: 99:[90, 96] Operation: 2+94=96 Moving to Node #0,2,1 Current State: 99:[2, 4], Operations: ['50+40=90', '94-90=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[94, 92], Operations: ['50+40=90', '2+90=92'] Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 94+92=186, Resulting Numbers: [186] 186,99 unequal: No Solution Exploring Operation: 94*92=8648, Resulting Numbers: [8648] 8648,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[90, 96], Operations: ['50+40=90', '2+94=96'] Exploring Operation: 90+96=186, Resulting Numbers: [186] 186,99 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 90*96=8640, Resulting Numbers: [8640] 8640,99 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
[ 18, 75, 61, 10 ]
14
[ "75-18=57", "61+10=71", "71-57=14" ]
Current State: 14:[18, 75, 61, 10], Operations: [] Exploring Operation: 75-18=57, Resulting Numbers: [61, 10, 57] Generated Node #2: [61, 10, 57] from Operation: 75-18=57 Current State: 14:[61, 10, 57], Operations: ['75-18=57'] Exploring Operation: 61+10=71, Resulting Numbers: [57, 71] Generated Node #3: [57, 71] from Operation: 61+10=71 Current State: 14:[57, 71], Operations: ['75-18=57', '61+10=71'] Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[18, 75, 61, 10], Operations: [] Exploring Operation: 75-10=65, Resulting Numbers: [18, 61, 65] Generated Node #0,0: 14:[18, 61, 65] Operation: 75-10=65 Exploring Operation: 61-18=43, Resulting Numbers: [75, 10, 43] Generated Node #0,1: 14:[75, 10, 43] Operation: 61-18=43 Exploring Operation: 75-61=14, Resulting Numbers: [18, 10, 14] Generated Node #0,2: 14:[18, 10, 14] Operation: 75-61=14 Exploring Operation: 75-18=57, Resulting Numbers: [61, 10, 57] Generated Node #0,3: 14:[61, 10, 57] Operation: 75-18=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[18, 10, 14], Operations: ['75-61=14'] Exploring Operation: 18-10=8, Resulting Numbers: [14, 8] Generated Node #0,2,0: 14:[14, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [14, 28] Generated Node #0,2,1: 14:[14, 28] Operation: 18+10=28 Exploring Operation: 18-14=4, Resulting Numbers: [10, 4] Generated Node #0,2,2: 14:[10, 4] Operation: 18-14=4 Exploring Operation: 14-10=4, Resulting Numbers: [18, 4] Generated Node #0,2,3: 14:[18, 4] Operation: 14-10=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[14, 8], Operations: ['75-61=14', '18-10=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[10, 4], Operations: ['75-61=14', '18-14=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[18, 75, 61, 10], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [18, 10, 14] Generated Node #0,2: 14:[18, 10, 14] Operation: 75-61=14 Moving to Node #0,2 Current State: 14:[18, 10, 14], Operations: ['75-61=14'] Exploring Operation: 18-14=4, Resulting Numbers: [10, 4] Generated Node #0,2,2: 14:[10, 4] Operation: 18-14=4 Moving to Node #0,2,2 Current State: 14:[10, 4], Operations: ['75-61=14', '18-14=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 68, 36, 96, 92 ]
28
[ "68-36=32", "96-92=4", "32-4=28" ]
Current State: 28:[68, 36, 96, 92], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [96, 92, 32] Generated Node #2: [96, 92, 32] from Operation: 68-36=32 Current State: 28:[96, 92, 32], Operations: ['68-36=32'] Exploring Operation: 96-92=4, Resulting Numbers: [32, 4] Generated Node #3: [32, 4] from Operation: 96-92=4 Current State: 28:[32, 4], Operations: ['68-36=32', '96-92=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[68, 36, 96, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [68, 36, 4] Generated Node #0,0: 28:[68, 36, 4] Operation: 96-92=4 Exploring Operation: 96-68=28, Resulting Numbers: [36, 92, 28] Generated Node #0,1: 28:[36, 92, 28] Operation: 96-68=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[68, 36, 4], Operations: ['96-92=4'] Exploring Operation: 68/4=17, Resulting Numbers: [36, 17] Generated Node #0,0,0: 28:[36, 17] Operation: 68/4=17 Exploring Operation: 68-36=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 28:[4, 32] Operation: 68-36=32 Moving to Node #0,0,1 Current State: 28:[4, 32], Operations: ['96-92=4', '68-36=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[68, 36, 96, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [68, 36, 4] Generated Node #0,0: 28:[68, 36, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 28:[68, 36, 4], Operations: ['96-92=4'] Exploring Operation: 68-36=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 28:[4, 32] Operation: 68-36=32 Moving to Node #0,0,1 Current State: 28:[4, 32], Operations: ['96-92=4', '68-36=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 16, 16, 11, 20 ]
100
[ "16-11=5", "16*5=80", "20+80=100" ]
Current State: 100:[16, 16, 11, 20], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [20, 5] Generated Node #2: [20, 5] from Operation: 16-11=5 Current State: 100:[20, 5], Operations: ['16-11=5'] Exploring Operation: 16*5=80, Resulting Numbers: [20, 80] Generated Node #3: [20, 80] from Operation: 16*5=80 Current State: 100:[20, 80], Operations: ['16-11=5', '16*5=80'] Exploring Operation: 20+80=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[16, 16, 11, 20], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [16, 20, 5] Generated Node #0,0: 100:[16, 20, 5] Operation: 16-11=5 Exploring Operation: 16-16=0, Resulting Numbers: [11, 20, 0] Generated Node #0,1: 100:[11, 20, 0] Operation: 16-16=0 Exploring Operation: 16/16=1, Resulting Numbers: [11, 20, 1] Generated Node #0,2: 100:[11, 20, 1] Operation: 16/16=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[11, 20, 1], Operations: ['16/16=1'] Exploring Operation: 11/1=11, Resulting Numbers: [20, 11] Generated Node #0,2,0: 100:[20, 11] Operation: 11/1=11 Exploring Operation: 11*1=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 100:[20, 11] Operation: 11*1=11 Exploring Operation: 11-1=10, Resulting Numbers: [20, 10] Generated Node #0,2,2: 100:[20, 10] Operation: 11-1=10 Moving to Node #0,2,2 Current State: 100:[20, 10], Operations: ['16/16=1', '11-1=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[20, 11], Operations: ['16/16=1', '11/1=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[20, 11], Operations: ['16/16=1', '11*1=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[11, 20, 0], Operations: ['16-16=0'] Exploring Operation: 20+0=20, Resulting Numbers: [11, 20] Generated Node #0,1,0: 100:[11, 20] Operation: 20+0=20 Exploring Operation: 11-0=11, Resulting Numbers: [20, 11] Generated Node #0,1,1: 100:[20, 11] Operation: 11-0=11 Exploring Operation: 11+0=11, Resulting Numbers: [20, 11] Generated Node #0,1,2: 100:[20, 11] Operation: 11+0=11 Moving to Node #0,1,0 Current State: 100:[11, 20], Operations: ['16-16=0', '20+0=20'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[20, 11], Operations: ['16-16=0', '11-0=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[20, 11], Operations: ['16-16=0', '11+0=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[16, 20, 5], Operations: ['16-11=5'] Exploring Operation: 16+5=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 100:[20, 21] Operation: 16+5=21 Exploring Operation: 20-16=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 100:[5, 4] Operation: 20-16=4 Exploring Operation: 16-5=11, Resulting Numbers: [20, 11] Generated Node #0,0,2: 100:[20, 11] Operation: 16-5=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[5, 4], Operations: ['16-11=5', '20-16=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[20, 21], Operations: ['16-11=5', '16+5=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,100 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[20, 11], Operations: ['16-11=5', '16-5=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,100 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 84, 83, 3, 29 ]
88
[ "84-83=1", "3*29=87", "1+87=88" ]
Current State: 88:[84, 83, 3, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [3, 29, 1] Generated Node #2: [3, 29, 1] from Operation: 84-83=1 Current State: 88:[3, 29, 1], Operations: ['84-83=1'] Exploring Operation: 3*29=87, Resulting Numbers: [1, 87] Generated Node #3: [1, 87] from Operation: 3*29=87 Current State: 88:[1, 87], Operations: ['84-83=1', '3*29=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[84, 83, 3, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [3, 29, 1] Generated Node #0,0: 88:[3, 29, 1] Operation: 84-83=1 Exploring Operation: 3*29=87, Resulting Numbers: [84, 83, 87] Generated Node #0,1: 88:[84, 83, 87] Operation: 3*29=87 Exploring Operation: 84+3=87, Resulting Numbers: [83, 29, 87] Generated Node #0,2: 88:[83, 29, 87] Operation: 84+3=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[3, 29, 1], Operations: ['84-83=1'] Exploring Operation: 3*29=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 88:[1, 87] Operation: 3*29=87 Exploring Operation: 29-3=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 88:[1, 26] Operation: 29-3=26 Exploring Operation: 3+1=4, Resulting Numbers: [29, 4] Generated Node #0,0,2: 88:[29, 4] Operation: 3+1=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[1, 87], Operations: ['84-83=1', '3*29=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[84, 83, 3, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [3, 29, 1] Generated Node #0,0: 88:[3, 29, 1] Operation: 84-83=1 Moving to Node #0,0 Current State: 88:[3, 29, 1], Operations: ['84-83=1'] Exploring Operation: 3*29=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 88:[1, 87] Operation: 3*29=87 Moving to Node #0,0,0 Current State: 88:[1, 87], Operations: ['84-83=1', '3*29=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 60, 25, 13, 90 ]
65
[ "60+25=85", "90-85=5", "13*5=65" ]
Current State: 65:[60, 25, 13, 90], Operations: [] Exploring Operation: 60+25=85, Resulting Numbers: [13, 90, 85] Generated Node #2: [13, 90, 85] from Operation: 60+25=85 Current State: 65:[13, 90, 85], Operations: ['60+25=85'] Exploring Operation: 90-85=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 90-85=5 Current State: 65:[13, 5], Operations: ['60+25=85', '90-85=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[60, 25, 13, 90], Operations: [] Exploring Operation: 25-13=12, Resulting Numbers: [60, 90, 12] Generated Node #0,0: 65:[60, 90, 12] Operation: 25-13=12 Exploring Operation: 90-60=30, Resulting Numbers: [25, 13, 30] Generated Node #0,1: 65:[25, 13, 30] Operation: 90-60=30 Exploring Operation: 90-13=77, Resulting Numbers: [60, 25, 77] Generated Node #0,2: 65:[60, 25, 77] Operation: 90-13=77 Exploring Operation: 90-25=65, Resulting Numbers: [60, 13, 65] Generated Node #0,3: 65:[60, 13, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[60, 13, 65], Operations: ['90-25=65'] Exploring Operation: 65/13=5, Resulting Numbers: [60, 5] Generated Node #0,3,0: 65:[60, 5] Operation: 65/13=5 Exploring Operation: 60-13=47, Resulting Numbers: [65, 47] Generated Node #0,3,1: 65:[65, 47] Operation: 60-13=47 Exploring Operation: 65-60=5, Resulting Numbers: [13, 5] Generated Node #0,3,2: 65:[13, 5] Operation: 65-60=5 Exploring Operation: 60+13=73, Resulting Numbers: [65, 73] Generated Node #0,3,3: 65:[65, 73] Operation: 60+13=73 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[13, 5], Operations: ['90-25=65', '65-60=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[60, 25, 13, 90], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [60, 13, 65] Generated Node #0,3: 65:[60, 13, 65] Operation: 90-25=65 Moving to Node #0,3 Current State: 65:[60, 13, 65], Operations: ['90-25=65'] Exploring Operation: 65-60=5, Resulting Numbers: [13, 5] Generated Node #0,3,2: 65:[13, 5] Operation: 65-60=5 Moving to Node #0,3,2 Current State: 65:[13, 5], Operations: ['90-25=65', '65-60=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 6, 6, 34, 2 ]
36
[ "6-6=0", "34+2=36", "0+36=36" ]
Current State: 36:[6, 6, 34, 2], Operations: [] Exploring Operation: 6-6=0, Resulting Numbers: [34, 2, 0] Generated Node #2: [34, 2, 0] from Operation: 6-6=0 Current State: 36:[34, 2, 0], Operations: ['6-6=0'] Exploring Operation: 34+2=36, Resulting Numbers: [0, 36] Generated Node #3: [0, 36] from Operation: 34+2=36 Current State: 36:[0, 36], Operations: ['6-6=0', '34+2=36'] Exploring Operation: 0+36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[6, 6, 34, 2], Operations: [] Exploring Operation: 34+2=36, Resulting Numbers: [6, 6, 36] Generated Node #0,0: 36:[6, 6, 36] Operation: 34+2=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[6, 6, 36], Operations: ['34+2=36'] Exploring Operation: 6+6=12, Resulting Numbers: [36, 12] Generated Node #0,0,0: 36:[36, 12] Operation: 6+6=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[36, 12], Operations: ['34+2=36', '6+6=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 3, 31, 49 ]
36
[ "30+31=61", "61-49=12", "3*12=36" ]
Current State: 36:[30, 3, 31, 49], Operations: [] Exploring Operation: 30+31=61, Resulting Numbers: [3, 49, 61] Generated Node #2: [3, 49, 61] from Operation: 30+31=61 Current State: 36:[3, 49, 61], Operations: ['30+31=61'] Exploring Operation: 61-49=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 61-49=12 Current State: 36:[3, 12], Operations: ['30+31=61', '61-49=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[30, 3, 31, 49], Operations: [] Exploring Operation: 49-30=19, Resulting Numbers: [3, 31, 19] Generated Node #0,0: 36:[3, 31, 19] Operation: 49-30=19 Exploring Operation: 49-31=18, Resulting Numbers: [30, 3, 18] Generated Node #0,1: 36:[30, 3, 18] Operation: 49-31=18 Moving to Node #0,0 Current State: 36:[3, 31, 19], Operations: ['49-30=19'] Exploring Operation: 3+31=34, Resulting Numbers: [19, 34] Generated Node #0,0,0: 36:[19, 34] Operation: 3+31=34 Exploring Operation: 31-19=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 36:[3, 12] Operation: 31-19=12 Moving to Node #0,1 Current State: 36:[30, 3, 18], Operations: ['49-31=18'] Exploring Operation: 30/3=10, Resulting Numbers: [18, 10] Generated Node #0,1,0: 36:[18, 10] Operation: 30/3=10 Exploring Operation: 30-18=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 36:[3, 12] Operation: 30-18=12 Moving to Node #0,0,1 Current State: 36:[3, 12], Operations: ['49-30=19', '31-19=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[30, 3, 31, 49], Operations: [] Exploring Operation: 49-30=19, Resulting Numbers: [3, 31, 19] Generated Node #0,0: 36:[3, 31, 19] Operation: 49-30=19 Moving to Node #0,0 Current State: 36:[3, 31, 19], Operations: ['49-30=19'] Exploring Operation: 31-19=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 36:[3, 12] Operation: 31-19=12 Moving to Node #0,0,1 Current State: 36:[3, 12], Operations: ['49-30=19', '31-19=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 84, 28, 89, 16 ]
39
[ "84+28=112", "89-16=73", "112-73=39" ]
Current State: 39:[84, 28, 89, 16], Operations: [] Exploring Operation: 84+28=112, Resulting Numbers: [89, 16, 112] Generated Node #2: [89, 16, 112] from Operation: 84+28=112 Current State: 39:[89, 16, 112], Operations: ['84+28=112'] Exploring Operation: 89-16=73, Resulting Numbers: [112, 73] Generated Node #3: [112, 73] from Operation: 89-16=73 Current State: 39:[112, 73], Operations: ['84+28=112', '89-16=73'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 28, 89, 16], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [28, 16, 5] Generated Node #0,0: 39:[28, 16, 5] Operation: 89-84=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[28, 16, 5], Operations: ['89-84=5'] Exploring Operation: 28-16=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 39:[5, 12] Operation: 28-16=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[5, 12], Operations: ['89-84=5', '28-16=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 10, 80, 82, 87 ]
78
[ "87-82=5", "10/5=2", "80-2=78" ]
Current State: 78:[10, 80, 82, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [10, 80, 5] Generated Node #2: [10, 80, 5] from Operation: 87-82=5 Current State: 78:[10, 80, 5], Operations: ['87-82=5'] Exploring Operation: 10/5=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 10/5=2 Current State: 78:[80, 2], Operations: ['87-82=5', '10/5=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[10, 80, 82, 87], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [82, 87, 8] Generated Node #0,0: 78:[82, 87, 8] Operation: 80/10=8 Exploring Operation: 87-80=7, Resulting Numbers: [10, 82, 7] Generated Node #0,1: 78:[10, 82, 7] Operation: 87-80=7 Exploring Operation: 87-10=77, Resulting Numbers: [80, 82, 77] Generated Node #0,2: 78:[80, 82, 77] Operation: 87-10=77 Exploring Operation: 87-82=5, Resulting Numbers: [10, 80, 5] Generated Node #0,3: 78:[10, 80, 5] Operation: 87-82=5 Exploring Operation: 82-80=2, Resulting Numbers: [10, 87, 2] Generated Node #0,4: 78:[10, 87, 2] Operation: 82-80=2 Moving to Node #0,3 Current State: 78:[10, 80, 5], Operations: ['87-82=5'] Exploring Operation: 80-5=75, Resulting Numbers: [10, 75] Generated Node #0,3,0: 78:[10, 75] Operation: 80-5=75 Exploring Operation: 10-5=5, Resulting Numbers: [80, 5] Generated Node #0,3,1: 78:[80, 5] Operation: 10-5=5 Exploring Operation: 10+5=15, Resulting Numbers: [80, 15] Generated Node #0,3,2: 78:[80, 15] Operation: 10+5=15 Exploring Operation: 80/10=8, Resulting Numbers: [5, 8] Generated Node #0,3,3: 78:[5, 8] Operation: 80/10=8 Exploring Operation: 10/5=2, Resulting Numbers: [80, 2] Generated Node #0,3,4: 78:[80, 2] Operation: 10/5=2 Moving to Node #0,2 Current State: 78:[80, 82, 77], Operations: ['87-10=77'] Exploring Operation: 82+77=159, Resulting Numbers: [80, 159] Generated Node #0,2,0: 78:[80, 159] Operation: 82+77=159 Exploring Operation: 80+77=157, Resulting Numbers: [82, 157] Generated Node #0,2,1: 78:[82, 157] Operation: 80+77=157 Exploring Operation: 80-77=3, Resulting Numbers: [82, 3] Generated Node #0,2,2: 78:[82, 3] Operation: 80-77=3 Exploring Operation: 82-80=2, Resulting Numbers: [77, 2] Generated Node #0,2,3: 78:[77, 2] Operation: 82-80=2 Exploring Operation: 82-77=5, Resulting Numbers: [80, 5] Generated Node #0,2,4: 78:[80, 5] Operation: 82-77=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[77, 2], Operations: ['87-10=77', '82-80=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,78 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 78:[80, 5], Operations: ['87-10=77', '82-77=5'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,78 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[82, 3], Operations: ['87-10=77', '80-77=3'] Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,78 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[80, 159], Operations: ['87-10=77', '82+77=159'] Exploring Operation: 80*159=12720, Resulting Numbers: [12720] 12720,78 unequal: No Solution Exploring Operation: 159-80=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 80+159=239, Resulting Numbers: [239] 239,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[82, 157], Operations: ['87-10=77', '80+77=157'] Exploring Operation: 82*157=12874, Resulting Numbers: [12874] 12874,78 unequal: No Solution Exploring Operation: 157-82=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 82+157=239, Resulting Numbers: [239] 239,78 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: 78:[10, 82, 7], Operations: ['87-80=7'] Exploring Operation: 82-10=72, Resulting Numbers: [7, 72] Generated Node #0,1,0: 78:[7, 72] Operation: 82-10=72 Exploring Operation: 10-7=3, Resulting Numbers: [82, 3] Generated Node #0,1,1: 78:[82, 3] Operation: 10-7=3 Exploring Operation: 10*7=70, Resulting Numbers: [82, 70] Generated Node #0,1,2: 78:[82, 70] Operation: 10*7=70 Exploring Operation: 82-7=75, Resulting Numbers: [10, 75] Generated Node #0,1,3: 78:[10, 75] Operation: 82-7=75 Exploring Operation: 10+7=17, Resulting Numbers: [82, 17] Generated Node #0,1,4: 78:[82, 17] Operation: 10+7=17 Moving to Node #0,4 Current State: 78:[10, 87, 2], Operations: ['82-80=2'] Exploring Operation: 10-2=8, Resulting Numbers: [87, 8] Generated Node #0,4,0: 78:[87, 8] Operation: 10-2=8 Exploring Operation: 10/2=5, Resulting Numbers: [87, 5] Generated Node #0,4,1: 78:[87, 5] Operation: 10/2=5 Exploring Operation: 10+2=12, Resulting Numbers: [87, 12] Generated Node #0,4,2: 78:[87, 12] Operation: 10+2=12 Exploring Operation: 87-2=85, Resulting Numbers: [10, 85] Generated Node #0,4,3: 78:[10, 85] Operation: 87-2=85 Exploring Operation: 87-10=77, Resulting Numbers: [2, 77] Generated Node #0,4,4: 78:[2, 77] Operation: 87-10=77 Moving to Node #0,0 Current State: 78:[82, 87, 8], Operations: ['80/10=8'] Exploring Operation: 87-82=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 78:[8, 5] Operation: 87-82=5 Exploring Operation: 87-8=79, Resulting Numbers: [82, 79] Generated Node #0,0,1: 78:[82, 79] Operation: 87-8=79 Exploring Operation: 82+8=90, Resulting Numbers: [87, 90] Generated Node #0,0,2: 78:[87, 90] Operation: 82+8=90 Exploring Operation: 87+8=95, Resulting Numbers: [82, 95] Generated Node #0,0,3: 78:[82, 95] Operation: 87+8=95 Exploring Operation: 82-8=74, Resulting Numbers: [87, 74] Generated Node #0,0,4: 78:[87, 74] Operation: 82-8=74 Moving to Node #0,4,4 Current State: 78:[2, 77], Operations: ['82-80=2', '87-10=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,78 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,78 unequal: No Solution Moving to Node #0,3,4 Current State: 78:[80, 2], Operations: ['87-82=5', '10/5=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[10, 80, 82, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [10, 80, 5] Generated Node #0,3: 78:[10, 80, 5] Operation: 87-82=5 Moving to Node #0,3 Current State: 78:[10, 80, 5], Operations: ['87-82=5'] Exploring Operation: 10/5=2, Resulting Numbers: [80, 2] Generated Node #0,3,4: 78:[80, 2] Operation: 10/5=2 Moving to Node #0,3,4 Current State: 78:[80, 2], Operations: ['87-82=5', '10/5=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.953125
hs_5
sum_heuristic
[ 3, 33, 99, 88 ]
87
[ "3*33=99", "99/99=1", "88-1=87" ]
Current State: 87:[3, 33, 99, 88], Operations: [] Exploring Operation: 3*33=99, Resulting Numbers: [99, 88, 99] Generated Node #2: [99, 88, 99] from Operation: 3*33=99 Current State: 87:[99, 88, 99], Operations: ['3*33=99'] Exploring Operation: 99/99=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 99/99=1 Current State: 87:[88, 1], Operations: ['3*33=99', '99/99=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[3, 33, 99, 88], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [3, 88, 3] Generated Node #0,0: 87:[3, 88, 3] Operation: 99/33=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[3, 88, 3], Operations: ['99/33=3'] Exploring Operation: 88-3=85, Resulting Numbers: [3, 85] Generated Node #0,0,0: 87:[3, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[3, 85], Operations: ['99/33=3', '88-3=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 83, 25, 51, 49 ]
42
[ "83-25=58", "51+49=100", "100-58=42" ]
Current State: 42:[83, 25, 51, 49], Operations: [] Exploring Operation: 83-25=58, Resulting Numbers: [51, 49, 58] Generated Node #2: [51, 49, 58] from Operation: 83-25=58 Current State: 42:[51, 49, 58], Operations: ['83-25=58'] Exploring Operation: 51+49=100, Resulting Numbers: [58, 100] Generated Node #3: [58, 100] from Operation: 51+49=100 Current State: 42:[58, 100], Operations: ['83-25=58', '51+49=100'] Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[83, 25, 51, 49], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [25, 49, 32] Generated Node #0,0: 42:[25, 49, 32] Operation: 83-51=32 Exploring Operation: 83-49=34, Resulting Numbers: [25, 51, 34] Generated Node #0,1: 42:[25, 51, 34] Operation: 83-49=34 Moving to Node #0,0 Current State: 42:[25, 49, 32], Operations: ['83-51=32'] Exploring Operation: 49-32=17, Resulting Numbers: [25, 17] Generated Node #0,0,0: 42:[25, 17] Operation: 49-32=17 Exploring Operation: 32-25=7, Resulting Numbers: [49, 7] Generated Node #0,0,1: 42:[49, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 42:[25, 51, 34], Operations: ['83-49=34'] Exploring Operation: 34-25=9, Resulting Numbers: [51, 9] Generated Node #0,1,0: 42:[51, 9] Operation: 34-25=9 Exploring Operation: 51-34=17, Resulting Numbers: [25, 17] Generated Node #0,1,1: 42:[25, 17] Operation: 51-34=17 Moving to Node #0,0,0 Current State: 42:[25, 17], Operations: ['83-51=32', '49-32=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[83, 25, 51, 49], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [25, 49, 32] Generated Node #0,0: 42:[25, 49, 32] Operation: 83-51=32 Moving to Node #0,0 Current State: 42:[25, 49, 32], Operations: ['83-51=32'] Exploring Operation: 49-32=17, Resulting Numbers: [25, 17] Generated Node #0,0,0: 42:[25, 17] Operation: 49-32=17 Moving to Node #0,0,0 Current State: 42:[25, 17], Operations: ['83-51=32', '49-32=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 99, 78, 31, 99 ]
31
[ "99-99=0", "78*0=0", "31+0=31" ]
Current State: 31:[99, 78, 31, 99], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [78, 31, 0] Generated Node #2: [78, 31, 0] from Operation: 99-99=0 Current State: 31:[78, 31, 0], Operations: ['99-99=0'] Exploring Operation: 78*0=0, Resulting Numbers: [31, 0] Generated Node #3: [31, 0] from Operation: 78*0=0 Current State: 31:[31, 0], Operations: ['99-99=0', '78*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[99, 78, 31, 99], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [78, 31, 1] Generated Node #0,0: 31:[78, 31, 1] Operation: 99/99=1 Exploring Operation: 99-99=0, Resulting Numbers: [78, 31, 0] Generated Node #0,1: 31:[78, 31, 0] Operation: 99-99=0 Exploring Operation: 99-78=21, Resulting Numbers: [99, 31, 21] Generated Node #0,2: 31:[99, 31, 21] Operation: 99-78=21 Exploring Operation: 99-78=21, Resulting Numbers: [31, 99, 21] Generated Node #0,3: 31:[31, 99, 21] Operation: 99-78=21 Moving to Node #0,0 Current State: 31:[78, 31, 1], Operations: ['99/99=1'] Exploring Operation: 78/1=78, Resulting Numbers: [31, 78] Generated Node #0,0,0: 31:[31, 78] Operation: 78/1=78 Exploring Operation: 78-31=47, Resulting Numbers: [1, 47] Generated Node #0,0,1: 31:[1, 47] Operation: 78-31=47 Exploring Operation: 78*1=78, Resulting Numbers: [31, 78] Generated Node #0,0,2: 31:[31, 78] Operation: 78*1=78 Exploring Operation: 78-1=77, Resulting Numbers: [31, 77] Generated Node #0,0,3: 31:[31, 77] Operation: 78-1=77 Moving to Node #0,2 Current State: 31:[99, 31, 21], Operations: ['99-78=21'] Exploring Operation: 99-31=68, Resulting Numbers: [21, 68] Generated Node #0,2,0: 31:[21, 68] Operation: 99-31=68 Exploring Operation: 31+21=52, Resulting Numbers: [99, 52] Generated Node #0,2,1: 31:[99, 52] Operation: 31+21=52 Exploring Operation: 99-21=78, Resulting Numbers: [31, 78] Generated Node #0,2,2: 31:[31, 78] Operation: 99-21=78 Exploring Operation: 99+21=120, Resulting Numbers: [31, 120] Generated Node #0,2,3: 31:[31, 120] Operation: 99+21=120 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[21, 68], Operations: ['99-78=21', '99-31=68'] Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[31, 78], Operations: ['99-78=21', '99-21=78'] Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,31 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[99, 52], Operations: ['99-78=21', '31+21=52'] Exploring Operation: 99+52=151, Resulting Numbers: [151] 151,31 unequal: No Solution Exploring Operation: 99*52=5148, Resulting Numbers: [5148] 5148,31 unequal: No Solution Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[31, 120], Operations: ['99-78=21', '99+21=120'] Exploring Operation: 120-31=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 31*120=3720, Resulting Numbers: [3720] 3720,31 unequal: No Solution Exploring Operation: 31+120=151, Resulting Numbers: [151] 151,31 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: 31:[78, 31, 0], Operations: ['99-99=0'] Exploring Operation: 78-31=47, Resulting Numbers: [0, 47] Generated Node #0,1,0: 31:[0, 47] Operation: 78-31=47 Exploring Operation: 78-0=78, Resulting Numbers: [31, 78] Generated Node #0,1,1: 31:[31, 78] Operation: 78-0=78 Exploring Operation: 78+0=78, Resulting Numbers: [31, 78] Generated Node #0,1,2: 31:[31, 78] Operation: 78+0=78 Exploring Operation: 78*0=0, Resulting Numbers: [31, 0] Generated Node #0,1,3: 31:[31, 0] Operation: 78*0=0 Moving to Node #0,3 Current State: 31:[31, 99, 21], Operations: ['99-78=21'] Exploring Operation: 31-21=10, Resulting Numbers: [99, 10] Generated Node #0,3,0: 31:[99, 10] Operation: 31-21=10 Exploring Operation: 99-31=68, Resulting Numbers: [21, 68] Generated Node #0,3,1: 31:[21, 68] Operation: 99-31=68 Exploring Operation: 99-21=78, Resulting Numbers: [31, 78] Generated Node #0,3,2: 31:[31, 78] Operation: 99-21=78 Exploring Operation: 31+21=52, Resulting Numbers: [99, 52] Generated Node #0,3,3: 31:[99, 52] Operation: 31+21=52 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[21, 68], Operations: ['99-78=21', '99-31=68'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[31, 78], Operations: ['99-78=21', '99-21=78'] Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,31 unequal: No Solution Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[99, 10], Operations: ['99-78=21', '31-21=10'] Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 99*10=990, Resulting Numbers: [990] 990,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[99, 52], Operations: ['99-78=21', '31+21=52'] Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 99*52=5148, Resulting Numbers: [5148] 5148,31 unequal: No Solution Exploring Operation: 99+52=151, Resulting Numbers: [151] 151,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 31:[31, 0], Operations: ['99-99=0', '78*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[99, 78, 31, 99], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [78, 31, 0] Generated Node #0,1: 31:[78, 31, 0] Operation: 99-99=0 Moving to Node #0,1 Current State: 31:[78, 31, 0], Operations: ['99-99=0'] Exploring Operation: 78*0=0, Resulting Numbers: [31, 0] Generated Node #0,1,3: 31:[31, 0] Operation: 78*0=0 Moving to Node #0,1,3 Current State: 31:[31, 0], Operations: ['99-99=0', '78*0=0'] Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.957465
hs_4
mult_heuristic
[ 27, 30, 85, 67 ]
21
[ "30-27=3", "85-67=18", "3+18=21" ]
Current State: 21:[27, 30, 85, 67], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [85, 67, 3] Generated Node #2: [85, 67, 3] from Operation: 30-27=3 Current State: 21:[85, 67, 3], Operations: ['30-27=3'] Exploring Operation: 85-67=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 85-67=18 Current State: 21:[3, 18], Operations: ['30-27=3', '85-67=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[27, 30, 85, 67], Operations: [] Exploring Operation: 85-30=55, Resulting Numbers: [27, 67, 55] Generated Node #0,0: 21:[27, 67, 55] Operation: 85-30=55 Exploring Operation: 85-67=18, Resulting Numbers: [27, 30, 18] Generated Node #0,1: 21:[27, 30, 18] Operation: 85-67=18 Exploring Operation: 67-30=37, Resulting Numbers: [27, 85, 37] Generated Node #0,2: 21:[27, 85, 37] Operation: 67-30=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[27, 30, 18], Operations: ['85-67=18'] Exploring Operation: 30-27=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 21:[18, 3] Operation: 30-27=3 Exploring Operation: 27-18=9, Resulting Numbers: [30, 9] Generated Node #0,1,1: 21:[30, 9] Operation: 27-18=9 Exploring Operation: 30-18=12, Resulting Numbers: [27, 12] Generated Node #0,1,2: 21:[27, 12] Operation: 30-18=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[18, 3], Operations: ['85-67=18', '30-27=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[27, 30, 85, 67], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [27, 30, 18] Generated Node #0,1: 21:[27, 30, 18] Operation: 85-67=18 Moving to Node #0,1 Current State: 21:[27, 30, 18], Operations: ['85-67=18'] Exploring Operation: 30-27=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 21:[18, 3] Operation: 30-27=3 Moving to Node #0,1,0 Current State: 21:[18, 3], Operations: ['85-67=18', '30-27=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 64, 16, 3, 97 ]
59
[ "64+16=80", "97+80=177", "177/3=59" ]
Current State: 59:[64, 16, 3, 97], Operations: [] Exploring Operation: 64+16=80, Resulting Numbers: [3, 97, 80] Generated Node #2: [3, 97, 80] from Operation: 64+16=80 Current State: 59:[3, 97, 80], Operations: ['64+16=80'] Exploring Operation: 97+80=177, Resulting Numbers: [3, 177] Generated Node #3: [3, 177] from Operation: 97+80=177 Current State: 59:[3, 177], Operations: ['64+16=80', '97+80=177'] Exploring Operation: 177/3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[64, 16, 3, 97], Operations: [] Exploring Operation: 16*3=48, Resulting Numbers: [64, 97, 48] Generated Node #0,0: 59:[64, 97, 48] Operation: 16*3=48 Exploring Operation: 16+3=19, Resulting Numbers: [64, 97, 19] Generated Node #0,1: 59:[64, 97, 19] Operation: 16+3=19 Exploring Operation: 64-3=61, Resulting Numbers: [16, 97, 61] Generated Node #0,2: 59:[16, 97, 61] Operation: 64-3=61 Exploring Operation: 97-3=94, Resulting Numbers: [64, 16, 94] Generated Node #0,3: 59:[64, 16, 94] Operation: 97-3=94 Exploring Operation: 97-16=81, Resulting Numbers: [64, 3, 81] Generated Node #0,4: 59:[64, 3, 81] Operation: 97-16=81 Moving to Node #0,0 Current State: 59:[64, 97, 48], Operations: ['16*3=48'] Exploring Operation: 97-64=33, Resulting Numbers: [48, 33] Generated Node #0,0,0: 59:[48, 33] Operation: 97-64=33 Exploring Operation: 97+48=145, Resulting Numbers: [64, 145] Generated Node #0,0,1: 59:[64, 145] Operation: 97+48=145 Exploring Operation: 64-48=16, Resulting Numbers: [97, 16] Generated Node #0,0,2: 59:[97, 16] Operation: 64-48=16 Exploring Operation: 64+48=112, Resulting Numbers: [97, 112] Generated Node #0,0,3: 59:[97, 112] Operation: 64+48=112 Exploring Operation: 97-48=49, Resulting Numbers: [64, 49] Generated Node #0,0,4: 59:[64, 49] Operation: 97-48=49 Moving to Node #0,2 Current State: 59:[16, 97, 61], Operations: ['64-3=61'] Exploring Operation: 16+97=113, Resulting Numbers: [61, 113] Generated Node #0,2,0: 59:[61, 113] Operation: 16+97=113 Exploring Operation: 16+61=77, Resulting Numbers: [97, 77] Generated Node #0,2,1: 59:[97, 77] Operation: 16+61=77 Exploring Operation: 97-61=36, Resulting Numbers: [16, 36] Generated Node #0,2,2: 59:[16, 36] Operation: 97-61=36 Exploring Operation: 97-16=81, Resulting Numbers: [61, 81] Generated Node #0,2,3: 59:[61, 81] Operation: 97-16=81 Exploring Operation: 61-16=45, Resulting Numbers: [97, 45] Generated Node #0,2,4: 59:[97, 45] Operation: 61-16=45 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[61, 81], Operations: ['64-3=61', '97-16=81'] Exploring Operation: 61*81=4941, Resulting Numbers: [4941] 4941,59 unequal: No Solution Exploring Operation: 61+81=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 59:[97, 45], Operations: ['64-3=61', '61-16=45'] Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,59 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[61, 113], Operations: ['64-3=61', '16+97=113'] Exploring Operation: 61+113=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 61*113=6893, Resulting Numbers: [6893] 6893,59 unequal: No Solution Exploring Operation: 113-61=52, Resulting Numbers: [52] 52,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[97, 77], Operations: ['64-3=61', '16+61=77'] Exploring Operation: 97*77=7469, Resulting Numbers: [7469] 7469,59 unequal: No Solution Exploring Operation: 97+77=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[16, 36], Operations: ['64-3=61', '97-61=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,59 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: 59:[64, 3, 81], Operations: ['97-16=81'] Exploring Operation: 81-3=78, Resulting Numbers: [64, 78] Generated Node #0,4,0: 59:[64, 78] Operation: 81-3=78 Exploring Operation: 3+81=84, Resulting Numbers: [64, 84] Generated Node #0,4,1: 59:[64, 84] Operation: 3+81=84 Exploring Operation: 64-3=61, Resulting Numbers: [81, 61] Generated Node #0,4,2: 59:[81, 61] Operation: 64-3=61 Exploring Operation: 64+3=67, Resulting Numbers: [81, 67] Generated Node #0,4,3: 59:[81, 67] Operation: 64+3=67 Exploring Operation: 81/3=27, Resulting Numbers: [64, 27] Generated Node #0,4,4: 59:[64, 27] Operation: 81/3=27 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[64, 78], Operations: ['97-16=81', '81-3=78'] Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[81, 61], Operations: ['97-16=81', '64-3=61'] Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,59 unequal: No Solution Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[64, 84], Operations: ['97-16=81', '3+81=84'] Exploring Operation: 64*84=5376, Resulting Numbers: [5376] 5376,59 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 64+84=148, Resulting Numbers: [148] 148,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[81, 67], Operations: ['97-16=81', '64+3=67'] Exploring Operation: 81*67=5427, Resulting Numbers: [5427] 5427,59 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[64, 27], Operations: ['97-16=81', '81/3=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,59 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[64, 97, 19], Operations: ['16+3=19'] Exploring Operation: 64+19=83, Resulting Numbers: [97, 83] Generated Node #0,1,0: 59:[97, 83] Operation: 64+19=83 Exploring Operation: 97-19=78, Resulting Numbers: [64, 78] Generated Node #0,1,1: 59:[64, 78] Operation: 97-19=78 Exploring Operation: 64-19=45, Resulting Numbers: [97, 45] Generated Node #0,1,2: 59:[97, 45] Operation: 64-19=45 Exploring Operation: 97+19=116, Resulting Numbers: [64, 116] Generated Node #0,1,3: 59:[64, 116] Operation: 97+19=116 Exploring Operation: 97-64=33, Resulting Numbers: [19, 33] Generated Node #0,1,4: 59:[19, 33] Operation: 97-64=33 Moving to Node #0,3 Current State: 59:[64, 16, 94], Operations: ['97-3=94'] Exploring Operation: 64+16=80, Resulting Numbers: [94, 80] Generated Node #0,3,0: 59:[94, 80] Operation: 64+16=80 Exploring Operation: 16+94=110, Resulting Numbers: [64, 110] Generated Node #0,3,1: 59:[64, 110] Operation: 16+94=110 Exploring Operation: 94-64=30, Resulting Numbers: [16, 30] Generated Node #0,3,2: 59:[16, 30] Operation: 94-64=30 Exploring Operation: 64-16=48, Resulting Numbers: [94, 48] Generated Node #0,3,3: 59:[94, 48] Operation: 64-16=48 Exploring Operation: 94-16=78, Resulting Numbers: [64, 78] Generated Node #0,3,4: 59:[64, 78] Operation: 94-16=78 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[64, 78], Operations: ['97-3=94', '94-16=78'] Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,59 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[94, 48], Operations: ['97-3=94', '64-16=48'] Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,59 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[94, 80], Operations: ['97-3=94', '64+16=80'] Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,59 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[64, 110], Operations: ['97-3=94', '16+94=110'] Exploring Operation: 64*110=7040, Resulting Numbers: [7040] 7040,59 unequal: No Solution Exploring Operation: 64+110=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 110-64=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[16, 30], Operations: ['97-3=94', '94-64=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,59 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 59:[64, 49], Operations: ['16*3=48', '97-48=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,59 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[64, 78], Operations: ['16+3=19', '97-19=78'] Exploring Operation: 64*78=4992, Resulting Numbers: [4992] 4992,59 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 64+78=142, Resulting Numbers: [142] 142,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[48, 33], Operations: ['16*3=48', '97-64=33'] Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 48*33=1584, Resulting Numbers: [1584] 1584,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[97, 45], Operations: ['16+3=19', '64-19=45'] Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,59 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[97, 83], Operations: ['16+3=19', '64+19=83'] Exploring Operation: 97+83=180, Resulting Numbers: [180] 180,59 unequal: No Solution Exploring Operation: 97*83=8051, Resulting Numbers: [8051] 8051,59 unequal: No Solution Exploring Operation: 97-83=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[64, 116], Operations: ['16+3=19', '97+19=116'] Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 64*116=7424, Resulting Numbers: [7424] 7424,59 unequal: No Solution Exploring Operation: 64+116=180, Resulting Numbers: [180] 180,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[19, 33], Operations: ['16+3=19', '97-64=33'] Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,59 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[97, 16], Operations: ['16*3=48', '64-48=16'] Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,59 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[97, 112], Operations: ['16*3=48', '64+48=112'] Exploring Operation: 97*112=10864, Resulting Numbers: [10864] 10864,59 unequal: No Solution Exploring Operation: 97+112=209, Resulting Numbers: [209] 209,59 unequal: No Solution Exploring Operation: 112-97=15, Resulting Numbers: [15] 15,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[64, 145], Operations: ['16*3=48', '97+48=145'] Exploring Operation: 64+145=209, Resulting Numbers: [209] 209,59 unequal: No Solution Exploring Operation: 64*145=9280, Resulting Numbers: [9280] 9280,59 unequal: No Solution Exploring Operation: 145-64=81, Resulting Numbers: [81] 81,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 35, 29, 2 ]
47
[ "29-6=23", "35*2=70", "70-23=47" ]
Current State: 47:[6, 35, 29, 2], Operations: [] Exploring Operation: 29-6=23, Resulting Numbers: [35, 2, 23] Generated Node #2: [35, 2, 23] from Operation: 29-6=23 Current State: 47:[35, 2, 23], Operations: ['29-6=23'] Exploring Operation: 35*2=70, Resulting Numbers: [23, 70] Generated Node #3: [23, 70] from Operation: 35*2=70 Current State: 47:[23, 70], Operations: ['29-6=23', '35*2=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[6, 35, 29, 2], Operations: [] Exploring Operation: 29*2=58, Resulting Numbers: [6, 35, 58] Generated Node #0,0: 47:[6, 35, 58] Operation: 29*2=58 Exploring Operation: 6+29=35, Resulting Numbers: [35, 2, 35] Generated Node #0,1: 47:[35, 2, 35] Operation: 6+29=35 Exploring Operation: 6*2=12, Resulting Numbers: [35, 29, 12] Generated Node #0,2: 47:[35, 29, 12] Operation: 6*2=12 Exploring Operation: 6+35=41, Resulting Numbers: [29, 2, 41] Generated Node #0,3: 47:[29, 2, 41] Operation: 6+35=41 Moving to Node #0,0 Current State: 47:[6, 35, 58], Operations: ['29*2=58'] Exploring Operation: 6+58=64, Resulting Numbers: [35, 64] Generated Node #0,0,0: 47:[35, 64] Operation: 6+58=64 Exploring Operation: 6+35=41, Resulting Numbers: [58, 41] Generated Node #0,0,1: 47:[58, 41] Operation: 6+35=41 Exploring Operation: 58-6=52, Resulting Numbers: [35, 52] Generated Node #0,0,2: 47:[35, 52] Operation: 58-6=52 Exploring Operation: 35-6=29, Resulting Numbers: [58, 29] Generated Node #0,0,3: 47:[58, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[58, 41], Operations: ['29*2=58', '6+35=41'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,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:[35, 52], Operations: ['29*2=58', '58-6=52'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 35*52=1820, Resulting Numbers: [1820] 1820,47 unequal: No Solution Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,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:[35, 64], Operations: ['29*2=58', '6+58=64'] Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 35*64=2240, Resulting Numbers: [2240] 2240,47 unequal: No Solution Exploring Operation: 35+64=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[58, 29], Operations: ['29*2=58', '35-6=29'] Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,47 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,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:[35, 29, 12], Operations: ['6*2=12'] Exploring Operation: 29-12=17, Resulting Numbers: [35, 17] Generated Node #0,2,0: 47:[35, 17] Operation: 29-12=17 Exploring Operation: 35-12=23, Resulting Numbers: [29, 23] Generated Node #0,2,1: 47:[29, 23] Operation: 35-12=23 Exploring Operation: 35+12=47, Resulting Numbers: [29, 47] Generated Node #0,2,2: 47:[29, 47] Operation: 35+12=47 Exploring Operation: 29+12=41, Resulting Numbers: [35, 41] Generated Node #0,2,3: 47:[35, 41] Operation: 29+12=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[29, 47], Operations: ['6*2=12', '35+12=47'] Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,47 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[35, 41], Operations: ['6*2=12', '29+12=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,47 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[35, 17], Operations: ['6*2=12', '29-12=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,47 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,47 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[29, 23], Operations: ['6*2=12', '35-12=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,47 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,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:[29, 2, 41], Operations: ['6+35=41'] Exploring Operation: 29*2=58, Resulting Numbers: [41, 58] Generated Node #0,3,0: 47:[41, 58] Operation: 29*2=58 Exploring Operation: 2+41=43, Resulting Numbers: [29, 43] Generated Node #0,3,1: 47:[29, 43] Operation: 2+41=43 Exploring Operation: 29-2=27, Resulting Numbers: [41, 27] Generated Node #0,3,2: 47:[41, 27] Operation: 29-2=27 Exploring Operation: 29+2=31, Resulting Numbers: [41, 31] Generated Node #0,3,3: 47:[41, 31] Operation: 29+2=31 Moving to Node #0,1 Current State: 47:[35, 2, 35], Operations: ['6+29=35'] Exploring Operation: 35+2=37, Resulting Numbers: [35, 37] Generated Node #0,1,0: 47:[35, 37] Operation: 35+2=37 Exploring Operation: 35-2=33, Resulting Numbers: [35, 33] Generated Node #0,1,1: 47:[35, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [35, 37] Generated Node #0,1,2: 47:[35, 37] Operation: 2+35=37 Exploring Operation: 35-2=33, Resulting Numbers: [35, 33] Generated Node #0,1,3: 47:[35, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[35, 37], Operations: ['6+29=35', '35+2=37'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,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:[35, 37], Operations: ['6+29=35', '2+35=37'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,47 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,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:[35, 33], Operations: ['6+29=35', '35-2=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,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,3 Current State: 47:[35, 33], Operations: ['6+29=35', '35-2=33'] Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,47 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,47 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: 47:[41, 58], Operations: ['6+35=41', '29*2=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,47 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[41, 31], Operations: ['6+35=41', '29+2=31'] Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[29, 43], Operations: ['6+35=41', '2+41=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[41, 27], Operations: ['6+35=41', '29-2=27'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,47 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 46, 51, 40 ]
29
[ "40-37=3", "51/3=17", "46-17=29" ]
Current State: 29:[37, 46, 51, 40], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [46, 51, 3] Generated Node #2: [46, 51, 3] from Operation: 40-37=3 Current State: 29:[46, 51, 3], Operations: ['40-37=3'] Exploring Operation: 51/3=17, Resulting Numbers: [46, 17] Generated Node #3: [46, 17] from Operation: 51/3=17 Current State: 29:[46, 17], Operations: ['40-37=3', '51/3=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[37, 46, 51, 40], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [37, 40, 5] Generated Node #0,0: 29:[37, 40, 5] Operation: 51-46=5 Exploring Operation: 51-37=14, Resulting Numbers: [46, 40, 14] Generated Node #0,1: 29:[46, 40, 14] Operation: 51-37=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[37, 40, 5], Operations: ['51-46=5'] Exploring Operation: 40-5=35, Resulting Numbers: [37, 35] Generated Node #0,0,0: 29:[37, 35] Operation: 40-5=35 Exploring Operation: 37-5=32, Resulting Numbers: [40, 32] Generated Node #0,0,1: 29:[40, 32] Operation: 37-5=32 Moving to Node #0,0,0 Current State: 29:[37, 35], Operations: ['51-46=5', '40-5=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[40, 32], Operations: ['51-46=5', '37-5=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[46, 40, 14], Operations: ['51-37=14'] Exploring Operation: 40-14=26, Resulting Numbers: [46, 26] Generated Node #0,1,0: 29:[46, 26] Operation: 40-14=26 Exploring Operation: 46-14=32, Resulting Numbers: [40, 32] Generated Node #0,1,1: 29:[40, 32] Operation: 46-14=32 Moving to Node #0,1,1 Current State: 29:[40, 32], Operations: ['51-37=14', '46-14=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[46, 26], Operations: ['51-37=14', '40-14=26'] Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,29 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
[ 64, 50, 70, 2 ]
22
[ "64+50=114", "114-70=44", "44/2=22" ]
Current State: 22:[64, 50, 70, 2], Operations: [] Exploring Operation: 64+50=114, Resulting Numbers: [70, 2, 114] Generated Node #2: [70, 2, 114] from Operation: 64+50=114 Current State: 22:[70, 2, 114], Operations: ['64+50=114'] Exploring Operation: 114-70=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 114-70=44 Current State: 22:[2, 44], Operations: ['64+50=114', '114-70=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[64, 50, 70, 2], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [64, 2, 20] Generated Node #0,0: 22:[64, 2, 20] Operation: 70-50=20 Exploring Operation: 70-64=6, Resulting Numbers: [50, 2, 6] Generated Node #0,1: 22:[50, 2, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[50, 2, 6], Operations: ['70-64=6'] Exploring Operation: 50/2=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 22:[6, 25] Operation: 50/2=25 Exploring Operation: 50-6=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 22:[2, 44] Operation: 50-6=44 Moving to Node #0,1,0 Current State: 22:[6, 25], Operations: ['70-64=6', '50/2=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[2, 44], Operations: ['70-64=6', '50-6=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[64, 50, 70, 2], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [50, 2, 6] Generated Node #0,1: 22:[50, 2, 6] Operation: 70-64=6 Moving to Node #0,1 Current State: 22:[50, 2, 6], Operations: ['70-64=6'] Exploring Operation: 50-6=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 22:[2, 44] Operation: 50-6=44 Moving to Node #0,1,1 Current State: 22:[2, 44], Operations: ['70-64=6', '50-6=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 12, 69, 23, 86 ]
77
[ "86-12=74", "69/23=3", "74+3=77" ]
Current State: 77:[12, 69, 23, 86], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [69, 23, 74] Generated Node #2: [69, 23, 74] from Operation: 86-12=74 Current State: 77:[69, 23, 74], Operations: ['86-12=74'] Exploring Operation: 69/23=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 69/23=3 Current State: 77:[74, 3], Operations: ['86-12=74', '69/23=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[12, 69, 23, 86], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [69, 23, 74] Generated Node #0,0: 77:[69, 23, 74] Operation: 86-12=74 Exploring Operation: 69/23=3, Resulting Numbers: [12, 86, 3] Generated Node #0,1: 77:[12, 86, 3] Operation: 69/23=3 Exploring Operation: 23-12=11, Resulting Numbers: [69, 86, 11] Generated Node #0,2: 77:[69, 86, 11] Operation: 23-12=11 Exploring Operation: 86-69=17, Resulting Numbers: [12, 23, 17] Generated Node #0,3: 77:[12, 23, 17] Operation: 86-69=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[12, 86, 3], Operations: ['69/23=3'] Exploring Operation: 86-12=74, Resulting Numbers: [3, 74] Generated Node #0,1,0: 77:[3, 74] Operation: 86-12=74 Exploring Operation: 86-3=83, Resulting Numbers: [12, 83] Generated Node #0,1,1: 77:[12, 83] Operation: 86-3=83 Exploring Operation: 12/3=4, Resulting Numbers: [86, 4] Generated Node #0,1,2: 77:[86, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [86, 9] Generated Node #0,1,3: 77:[86, 9] Operation: 12-3=9 Moving to Node #0,1,0 Current State: 77:[3, 74], Operations: ['69/23=3', '86-12=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,77 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[12, 69, 23, 86], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [12, 86, 3] Generated Node #0,1: 77:[12, 86, 3] Operation: 69/23=3 Moving to Node #0,1 Current State: 77:[12, 86, 3], Operations: ['69/23=3'] Exploring Operation: 86-12=74, Resulting Numbers: [3, 74] Generated Node #0,1,0: 77:[3, 74] Operation: 86-12=74 Moving to Node #0,1,0 Current State: 77:[3, 74], Operations: ['69/23=3', '86-12=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 41, 30, 77, 2 ]
89
[ "41+77=118", "118/2=59", "30+59=89" ]
Current State: 89:[41, 30, 77, 2], Operations: [] Exploring Operation: 41+77=118, Resulting Numbers: [30, 2, 118] Generated Node #2: [30, 2, 118] from Operation: 41+77=118 Current State: 89:[30, 2, 118], Operations: ['41+77=118'] Exploring Operation: 118/2=59, Resulting Numbers: [30, 59] Generated Node #3: [30, 59] from Operation: 118/2=59 Current State: 89:[30, 59], Operations: ['41+77=118', '118/2=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[41, 30, 77, 2], Operations: [] Exploring Operation: 41+30=71, Resulting Numbers: [77, 2, 71] Generated Node #0,0: 89:[77, 2, 71] Operation: 41+30=71 Exploring Operation: 41*2=82, Resulting Numbers: [30, 77, 82] Generated Node #0,1: 89:[30, 77, 82] Operation: 41*2=82 Exploring Operation: 30*2=60, Resulting Numbers: [41, 77, 60] Generated Node #0,2: 89:[41, 77, 60] Operation: 30*2=60 Moving to Node #0,1 Current State: 89:[30, 77, 82], Operations: ['41*2=82'] Exploring Operation: 30+82=112, Resulting Numbers: [77, 112] Generated Node #0,1,0: 89:[77, 112] Operation: 30+82=112 Exploring Operation: 77-30=47, Resulting Numbers: [82, 47] Generated Node #0,1,1: 89:[82, 47] Operation: 77-30=47 Exploring Operation: 30+77=107, Resulting Numbers: [82, 107] Generated Node #0,1,2: 89:[82, 107] Operation: 30+77=107 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[82, 107], Operations: ['41*2=82', '30+77=107'] Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,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,0 Current State: 89:[77, 112], Operations: ['41*2=82', '30+82=112'] Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,89 unequal: No Solution Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,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:[82, 47], Operations: ['41*2=82', '77-30=47'] Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,89 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,89 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 89:[41, 77, 60], Operations: ['30*2=60'] Exploring Operation: 41+77=118, Resulting Numbers: [60, 118] Generated Node #0,2,0: 89:[60, 118] Operation: 41+77=118 Exploring Operation: 41+60=101, Resulting Numbers: [77, 101] Generated Node #0,2,1: 89:[77, 101] Operation: 41+60=101 Exploring Operation: 77-41=36, Resulting Numbers: [60, 36] Generated Node #0,2,2: 89:[60, 36] Operation: 77-41=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[77, 101], Operations: ['30*2=60', '41+60=101'] Exploring Operation: 101-77=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 77+101=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 77*101=7777, Resulting Numbers: [7777] 7777,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[60, 118], Operations: ['30*2=60', '41+77=118'] Exploring Operation: 118-60=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 60+118=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 60*118=7080, Resulting Numbers: [7080] 7080,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[60, 36], Operations: ['30*2=60', '77-41=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,89 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,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:[77, 2, 71], Operations: ['41+30=71'] Exploring Operation: 77+2=79, Resulting Numbers: [71, 79] Generated Node #0,0,0: 89:[71, 79] Operation: 77+2=79 Exploring Operation: 2+71=73, Resulting Numbers: [77, 73] Generated Node #0,0,1: 89:[77, 73] Operation: 2+71=73 Exploring Operation: 77-2=75, Resulting Numbers: [71, 75] Generated Node #0,0,2: 89:[71, 75] Operation: 77-2=75 Moving to Node #0,0,0 Current State: 89:[71, 79], Operations: ['41+30=71', '77+2=79'] Exploring Operation: 71*79=5609, Resulting Numbers: [5609] 5609,89 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 71+79=150, Resulting Numbers: [150] 150,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[77, 73], Operations: ['41+30=71', '2+71=73'] Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 77*73=5621, Resulting Numbers: [5621] 5621,89 unequal: No Solution Exploring Operation: 77+73=150, Resulting Numbers: [150] 150,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[71, 75], Operations: ['41+30=71', '77-2=75'] Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 94, 93, 88 ]
64
[ "88-24=64", "94-93=1", "64*1=64" ]
Current State: 64:[24, 94, 93, 88], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [94, 93, 64] Generated Node #2: [94, 93, 64] from Operation: 88-24=64 Current State: 64:[94, 93, 64], Operations: ['88-24=64'] Exploring Operation: 94-93=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 94-93=1 Current State: 64:[64, 1], Operations: ['88-24=64', '94-93=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[24, 94, 93, 88], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [24, 88, 1] Generated Node #0,0: 64:[24, 88, 1] Operation: 94-93=1 Exploring Operation: 94-88=6, Resulting Numbers: [24, 93, 6] Generated Node #0,1: 64:[24, 93, 6] Operation: 94-88=6 Exploring Operation: 94-24=70, Resulting Numbers: [93, 88, 70] Generated Node #0,2: 64:[93, 88, 70] Operation: 94-24=70 Exploring Operation: 93-88=5, Resulting Numbers: [24, 94, 5] Generated Node #0,3: 64:[24, 94, 5] Operation: 93-88=5 Moving to Node #0,0 Current State: 64:[24, 88, 1], Operations: ['94-93=1'] Exploring Operation: 24+1=25, Resulting Numbers: [88, 25] Generated Node #0,0,0: 64:[88, 25] Operation: 24+1=25 Exploring Operation: 88-24=64, Resulting Numbers: [1, 64] Generated Node #0,0,1: 64:[1, 64] Operation: 88-24=64 Exploring Operation: 24-1=23, Resulting Numbers: [88, 23] Generated Node #0,0,2: 64:[88, 23] Operation: 24-1=23 Exploring Operation: 88-1=87, Resulting Numbers: [24, 87] Generated Node #0,0,3: 64:[24, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[1, 64], Operations: ['94-93=1', '88-24=64'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[24, 94, 93, 88], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [24, 88, 1] Generated Node #0,0: 64:[24, 88, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 64:[24, 88, 1], Operations: ['94-93=1'] Exploring Operation: 88-24=64, Resulting Numbers: [1, 64] Generated Node #0,0,1: 64:[1, 64] Operation: 88-24=64 Moving to Node #0,0,1 Current State: 64:[1, 64], Operations: ['94-93=1', '88-24=64'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 97, 75, 25, 56 ]
71
[ "75/25=3", "56*3=168", "168-97=71" ]
Current State: 71:[97, 75, 25, 56], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [97, 56, 3] Generated Node #2: [97, 56, 3] from Operation: 75/25=3 Current State: 71:[97, 56, 3], Operations: ['75/25=3'] Exploring Operation: 56*3=168, Resulting Numbers: [97, 168] Generated Node #3: [97, 168] from Operation: 56*3=168 Current State: 71:[97, 168], Operations: ['75/25=3', '56*3=168'] Exploring Operation: 168-97=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[97, 75, 25, 56], Operations: [] Exploring Operation: 75-25=50, Resulting Numbers: [97, 56, 50] Generated Node #0,0: 71:[97, 56, 50] Operation: 75-25=50 Exploring Operation: 97+25=122, Resulting Numbers: [75, 56, 122] Generated Node #0,1: 71:[75, 56, 122] Operation: 97+25=122 Exploring Operation: 75+25=100, Resulting Numbers: [97, 56, 100] Generated Node #0,2: 71:[97, 56, 100] Operation: 75+25=100 Exploring Operation: 97-25=72, Resulting Numbers: [75, 56, 72] Generated Node #0,3: 71:[75, 56, 72] Operation: 97-25=72 Exploring Operation: 25+56=81, Resulting Numbers: [97, 75, 81] Generated Node #0,4: 71:[97, 75, 81] Operation: 25+56=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[75, 56, 72], Operations: ['97-25=72'] Exploring Operation: 72-56=16, Resulting Numbers: [75, 16] Generated Node #0,3,0: 71:[75, 16] Operation: 72-56=16 Exploring Operation: 75+56=131, Resulting Numbers: [72, 131] Generated Node #0,3,1: 71:[72, 131] Operation: 75+56=131 Exploring Operation: 75-56=19, Resulting Numbers: [72, 19] Generated Node #0,3,2: 71:[72, 19] Operation: 75-56=19 Exploring Operation: 75-72=3, Resulting Numbers: [56, 3] Generated Node #0,3,3: 71:[56, 3] Operation: 75-72=3 Exploring Operation: 56+72=128, Resulting Numbers: [75, 128] Generated Node #0,3,4: 71:[75, 128] Operation: 56+72=128 Moving to Node #0,3,2 Current State: 71:[72, 19], Operations: ['97-25=72', '75-56=19'] Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,71 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[75, 16], Operations: ['97-25=72', '72-56=16'] Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,71 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[72, 131], Operations: ['97-25=72', '75+56=131'] Exploring Operation: 72*131=9432, Resulting Numbers: [9432] 9432,71 unequal: No Solution Exploring Operation: 72+131=203, Resulting Numbers: [203] 203,71 unequal: No Solution Exploring Operation: 131-72=59, Resulting Numbers: [59] 59,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[75, 128], Operations: ['97-25=72', '56+72=128'] Exploring Operation: 75*128=9600, Resulting Numbers: [9600] 9600,71 unequal: No Solution Exploring Operation: 128-75=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 75+128=203, Resulting Numbers: [203] 203,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[56, 3], Operations: ['97-25=72', '75-72=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,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,4 Current State: 71:[97, 75, 81], Operations: ['25+56=81'] Exploring Operation: 97+75=172, Resulting Numbers: [81, 172] Generated Node #0,4,0: 71:[81, 172] Operation: 97+75=172 Exploring Operation: 97-81=16, Resulting Numbers: [75, 16] Generated Node #0,4,1: 71:[75, 16] Operation: 97-81=16 Exploring Operation: 81-75=6, Resulting Numbers: [97, 6] Generated Node #0,4,2: 71:[97, 6] Operation: 81-75=6 Exploring Operation: 97+81=178, Resulting Numbers: [75, 178] Generated Node #0,4,3: 71:[75, 178] Operation: 97+81=178 Exploring Operation: 97-75=22, Resulting Numbers: [81, 22] Generated Node #0,4,4: 71:[81, 22] Operation: 97-75=22 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 71:[75, 16], Operations: ['25+56=81', '97-81=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,71 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 71:[81, 22], Operations: ['25+56=81', '97-75=22'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,71 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 71:[97, 6], Operations: ['25+56=81', '81-75=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,71 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[81, 172], Operations: ['25+56=81', '97+75=172'] Exploring Operation: 81*172=13932, Resulting Numbers: [13932] 13932,71 unequal: No Solution Exploring Operation: 172-81=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 81+172=253, Resulting Numbers: [253] 253,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 71:[75, 178], Operations: ['25+56=81', '97+81=178'] Exploring Operation: 178-75=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 75+178=253, Resulting Numbers: [253] 253,71 unequal: No Solution Exploring Operation: 75*178=13350, Resulting Numbers: [13350] 13350,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[97, 56, 50], Operations: ['75-25=50'] Exploring Operation: 97-50=47, Resulting Numbers: [56, 47] Generated Node #0,0,0: 71:[56, 47] Operation: 97-50=47 Exploring Operation: 97-56=41, Resulting Numbers: [50, 41] Generated Node #0,0,1: 71:[50, 41] Operation: 97-56=41 Exploring Operation: 56-50=6, Resulting Numbers: [97, 6] Generated Node #0,0,2: 71:[97, 6] Operation: 56-50=6 Exploring Operation: 56+50=106, Resulting Numbers: [97, 106] Generated Node #0,0,3: 71:[97, 106] Operation: 56+50=106 Exploring Operation: 97+50=147, Resulting Numbers: [56, 147] Generated Node #0,0,4: 71:[56, 147] Operation: 97+50=147 Moving to Node #0,0,0 Current State: 71:[56, 47], Operations: ['75-25=50', '97-50=47'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[50, 41], Operations: ['75-25=50', '97-56=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,71 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[97, 106], Operations: ['75-25=50', '56+50=106'] Exploring Operation: 97+106=203, Resulting Numbers: [203] 203,71 unequal: No Solution Exploring Operation: 106-97=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 97*106=10282, Resulting Numbers: [10282] 10282,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[97, 6], Operations: ['75-25=50', '56-50=6'] Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[56, 147], Operations: ['75-25=50', '97+50=147'] Exploring Operation: 56*147=8232, Resulting Numbers: [8232] 8232,71 unequal: No Solution Exploring Operation: 147-56=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 56+147=203, Resulting Numbers: [203] 203,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 Current State: 71:[75, 56, 122], Operations: ['97+25=122'] Exploring Operation: 122-56=66, Resulting Numbers: [75, 66] Generated Node #0,1,0: 71:[75, 66] Operation: 122-56=66 Exploring Operation: 56+122=178, Resulting Numbers: [75, 178] Generated Node #0,1,1: 71:[75, 178] Operation: 56+122=178 Exploring Operation: 122-75=47, Resulting Numbers: [56, 47] Generated Node #0,1,2: 71:[56, 47] Operation: 122-75=47 Exploring Operation: 75+56=131, Resulting Numbers: [122, 131] Generated Node #0,1,3: 71:[122, 131] Operation: 75+56=131 Exploring Operation: 75-56=19, Resulting Numbers: [122, 19] Generated Node #0,1,4: 71:[122, 19] Operation: 75-56=19 Moving to Node #0,1,0 Current State: 71:[75, 66], Operations: ['97+25=122', '122-56=66'] Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,71 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[56, 47], Operations: ['97+25=122', '122-75=47'] Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,71 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[122, 19], Operations: ['97+25=122', '75-56=19'] Exploring Operation: 122*19=2318, Resulting Numbers: [2318] 2318,71 unequal: No Solution Exploring Operation: 122+19=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 122-19=103, Resulting Numbers: [103] 103,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[75, 178], Operations: ['97+25=122', '56+122=178'] Exploring Operation: 75*178=13350, Resulting Numbers: [13350] 13350,71 unequal: No Solution Exploring Operation: 178-75=103, Resulting Numbers: [103] 103,71 unequal: No Solution Exploring Operation: 75+178=253, Resulting Numbers: [253] 253,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[122, 131], Operations: ['97+25=122', '75+56=131'] Exploring Operation: 122*131=15982, Resulting Numbers: [15982] 15982,71 unequal: No Solution Exploring Operation: 131-122=9, Resulting Numbers: [9] 9,71 unequal: No Solution Exploring Operation: 122+131=253, Resulting Numbers: [253] 253,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[97, 56, 100], Operations: ['75+25=100'] Exploring Operation: 97+56=153, Resulting Numbers: [100, 153] Generated Node #0,2,0: 71:[100, 153] Operation: 97+56=153 Exploring Operation: 56+100=156, Resulting Numbers: [97, 156] Generated Node #0,2,1: 71:[97, 156] Operation: 56+100=156 Exploring Operation: 97-56=41, Resulting Numbers: [100, 41] Generated Node #0,2,2: 71:[100, 41] Operation: 97-56=41 Exploring Operation: 100-56=44, Resulting Numbers: [97, 44] Generated Node #0,2,3: 71:[97, 44] Operation: 100-56=44 Exploring Operation: 100-97=3, Resulting Numbers: [56, 3] Generated Node #0,2,4: 71:[56, 3] Operation: 100-97=3 Moving to Node #0,2,3 Current State: 71:[97, 44], Operations: ['75+25=100', '100-56=44'] Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,71 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[100, 41], Operations: ['75+25=100', '97-56=41'] Exploring Operation: 100*41=4100, Resulting Numbers: [4100] 4100,71 unequal: No Solution Exploring Operation: 100+41=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[56, 3], Operations: ['75+25=100', '100-97=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,71 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,71 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[100, 153], Operations: ['75+25=100', '97+56=153'] Exploring Operation: 100*153=15300, Resulting Numbers: [15300] 15300,71 unequal: No Solution Exploring Operation: 153-100=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 100+153=253, Resulting Numbers: [253] 253,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[97, 156], Operations: ['75+25=100', '56+100=156'] Exploring Operation: 97*156=15132, Resulting Numbers: [15132] 15132,71 unequal: No Solution Exploring Operation: 97+156=253, Resulting Numbers: [253] 253,71 unequal: No Solution Exploring Operation: 156-97=59, Resulting Numbers: [59] 59,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 65, 52, 30, 37 ]
67
[ "52-37=15", "30/15=2", "65+2=67" ]
Current State: 67:[65, 52, 30, 37], Operations: [] Exploring Operation: 52-37=15, Resulting Numbers: [65, 30, 15] Generated Node #2: [65, 30, 15] from Operation: 52-37=15 Current State: 67:[65, 30, 15], Operations: ['52-37=15'] Exploring Operation: 30/15=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 30/15=2 Current State: 67:[65, 2], Operations: ['52-37=15', '30/15=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 52, 30, 37], Operations: [] Exploring Operation: 30+37=67, Resulting Numbers: [65, 52, 67] Generated Node #0,0: 67:[65, 52, 67] Operation: 30+37=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[65, 52, 67], Operations: ['30+37=67'] Exploring Operation: 65+52=117, Resulting Numbers: [67, 117] Generated Node #0,0,0: 67:[67, 117] Operation: 65+52=117 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[67, 117], Operations: ['30+37=67', '65+52=117'] Exploring Operation: 117-67=50, Resulting Numbers: [50] 50,67 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
[ 56, 5, 81, 76 ]
66
[ "56+5=61", "81-76=5", "61+5=66" ]
Current State: 66:[56, 5, 81, 76], Operations: [] Exploring Operation: 56+5=61, Resulting Numbers: [81, 76, 61] Generated Node #2: [81, 76, 61] from Operation: 56+5=61 Current State: 66:[81, 76, 61], Operations: ['56+5=61'] Exploring Operation: 81-76=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 81-76=5 Current State: 66:[61, 5], Operations: ['56+5=61', '81-76=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[56, 5, 81, 76], Operations: [] Exploring Operation: 56+5=61, Resulting Numbers: [81, 76, 61] Generated Node #0,0: 66:[81, 76, 61] Operation: 56+5=61 Exploring Operation: 81-76=5, Resulting Numbers: [56, 5, 5] Generated Node #0,1: 66:[56, 5, 5] Operation: 81-76=5 Exploring Operation: 81-5=76, Resulting Numbers: [56, 76, 76] Generated Node #0,2: 66:[56, 76, 76] Operation: 81-5=76 Exploring Operation: 81-56=25, Resulting Numbers: [5, 76, 25] Generated Node #0,3: 66:[5, 76, 25] Operation: 81-56=25 Exploring Operation: 76-56=20, Resulting Numbers: [5, 81, 20] Generated Node #0,4: 66:[5, 81, 20] Operation: 76-56=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[56, 5, 5], Operations: ['81-76=5'] Exploring Operation: 56+5=61, Resulting Numbers: [5, 61] Generated Node #0,1,0: 66:[5, 61] Operation: 56+5=61 Exploring Operation: 56+5=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 66:[5, 61] Operation: 56+5=61 Exploring Operation: 5+5=10, Resulting Numbers: [56, 10] Generated Node #0,1,2: 66:[56, 10] Operation: 5+5=10 Exploring Operation: 5/5=1, Resulting Numbers: [56, 1] Generated Node #0,1,3: 66:[56, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [56, 0] Generated Node #0,1,4: 66:[56, 0] Operation: 5-5=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[5, 61], Operations: ['81-76=5', '56+5=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[56, 5, 81, 76], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [56, 5, 5] Generated Node #0,1: 66:[56, 5, 5] Operation: 81-76=5 Moving to Node #0,1 Current State: 66:[56, 5, 5], Operations: ['81-76=5'] Exploring Operation: 56+5=61, Resulting Numbers: [5, 61] Generated Node #0,1,0: 66:[5, 61] Operation: 56+5=61 Moving to Node #0,1,0 Current State: 66:[5, 61], Operations: ['81-76=5', '56+5=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 78, 36, 56, 12 ]
91
[ "78*56=4368", "36+12=48", "4368/48=91" ]
Current State: 91:[78, 36, 56, 12], Operations: [] Exploring Operation: 78*56=4368, Resulting Numbers: [36, 12, 4368] Generated Node #2: [36, 12, 4368] from Operation: 78*56=4368 Current State: 91:[36, 12, 4368], Operations: ['78*56=4368'] Exploring Operation: 36+12=48, Resulting Numbers: [4368, 48] Generated Node #3: [4368, 48] from Operation: 36+12=48 Current State: 91:[4368, 48], Operations: ['78*56=4368', '36+12=48'] Exploring Operation: 4368/48=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[78, 36, 56, 12], Operations: [] Exploring Operation: 36+56=92, Resulting Numbers: [78, 12, 92] Generated Node #0,0: 91:[78, 12, 92] Operation: 36+56=92 Exploring Operation: 56-36=20, Resulting Numbers: [78, 12, 20] Generated Node #0,1: 91:[78, 12, 20] Operation: 56-36=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[78, 12, 92], Operations: ['36+56=92'] Exploring Operation: 92-78=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 91:[12, 14] Operation: 92-78=14 Exploring Operation: 78+12=90, Resulting Numbers: [92, 90] Generated Node #0,0,1: 91:[92, 90] Operation: 78+12=90 Moving to Node #0,0,0 Current State: 91:[12, 14], Operations: ['36+56=92', '92-78=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[92, 90], Operations: ['36+56=92', '78+12=90'] Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 92+90=182, Resulting Numbers: [182] 182,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[78, 12, 20], Operations: ['56-36=20'] Exploring Operation: 78+12=90, Resulting Numbers: [20, 90] Generated Node #0,1,0: 91:[20, 90] Operation: 78+12=90 Exploring Operation: 78+20=98, Resulting Numbers: [12, 98] Generated Node #0,1,1: 91:[12, 98] Operation: 78+20=98 Moving to Node #0,1,0 Current State: 91:[20, 90], Operations: ['56-36=20', '78+12=90'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[12, 98], Operations: ['56-36=20', '78+20=98'] Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,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
[ 80, 54, 69, 57 ]
18
[ "80-57=23", "54*23=1242", "1242/69=18" ]
Current State: 18:[80, 54, 69, 57], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [54, 69, 23] Generated Node #2: [54, 69, 23] from Operation: 80-57=23 Current State: 18:[54, 69, 23], Operations: ['80-57=23'] Exploring Operation: 54*23=1242, Resulting Numbers: [69, 1242] Generated Node #3: [69, 1242] from Operation: 54*23=1242 Current State: 18:[69, 1242], Operations: ['80-57=23', '54*23=1242'] Exploring Operation: 1242/69=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[80, 54, 69, 57], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [54, 69, 23] Generated Node #0,0: 18:[54, 69, 23] Operation: 80-57=23 Exploring Operation: 80-54=26, Resulting Numbers: [69, 57, 26] Generated Node #0,1: 18:[69, 57, 26] Operation: 80-54=26 Exploring Operation: 69-57=12, Resulting Numbers: [80, 54, 12] Generated Node #0,2: 18:[80, 54, 12] Operation: 69-57=12 Exploring Operation: 80-69=11, Resulting Numbers: [54, 57, 11] Generated Node #0,3: 18:[54, 57, 11] Operation: 80-69=11 Moving to Node #0,3 Current State: 18:[54, 57, 11], Operations: ['80-69=11'] Exploring Operation: 57-54=3, Resulting Numbers: [11, 3] Generated Node #0,3,0: 18:[11, 3] Operation: 57-54=3 Exploring Operation: 57-11=46, Resulting Numbers: [54, 46] Generated Node #0,3,1: 18:[54, 46] Operation: 57-11=46 Exploring Operation: 54-11=43, Resulting Numbers: [57, 43] Generated Node #0,3,2: 18:[57, 43] Operation: 54-11=43 Exploring Operation: 54+11=65, Resulting Numbers: [57, 65] Generated Node #0,3,3: 18:[57, 65] Operation: 54+11=65 Moving to Node #0,0 Current State: 18:[54, 69, 23], Operations: ['80-57=23'] Exploring Operation: 69/23=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 18:[54, 3] Operation: 69/23=3 Exploring Operation: 54-23=31, Resulting Numbers: [69, 31] Generated Node #0,0,1: 18:[69, 31] Operation: 54-23=31 Exploring Operation: 69-23=46, Resulting Numbers: [54, 46] Generated Node #0,0,2: 18:[54, 46] Operation: 69-23=46 Exploring Operation: 69-54=15, Resulting Numbers: [23, 15] Generated Node #0,0,3: 18:[23, 15] Operation: 69-54=15 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[23, 15], Operations: ['80-57=23', '69-54=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,18 unequal: No Solution Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,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,0,0 Current State: 18:[54, 3], Operations: ['80-57=23', '69/23=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[80, 54, 69, 57], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [54, 69, 23] Generated Node #0,0: 18:[54, 69, 23] Operation: 80-57=23 Moving to Node #0,0 Current State: 18:[54, 69, 23], Operations: ['80-57=23'] Exploring Operation: 69/23=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 18:[54, 3] Operation: 69/23=3 Moving to Node #0,0,0 Current State: 18:[54, 3], Operations: ['80-57=23', '69/23=3'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 17, 3, 23, 72 ]
22
[ "23-17=6", "72-6=66", "66/3=22" ]
Current State: 22:[17, 3, 23, 72], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [3, 72, 6] Generated Node #2: [3, 72, 6] from Operation: 23-17=6 Current State: 22:[3, 72, 6], Operations: ['23-17=6'] Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #3: [3, 66] from Operation: 72-6=66 Current State: 22:[3, 66], Operations: ['23-17=6', '72-6=66'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[17, 3, 23, 72], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [17, 23, 24] Generated Node #0,0: 22:[17, 23, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[17, 23, 24], Operations: ['72/3=24'] Exploring Operation: 24-17=7, Resulting Numbers: [23, 7] Generated Node #0,0,0: 22:[23, 7] Operation: 24-17=7 Moving to Node #0,0,0 Current State: 22:[23, 7], Operations: ['72/3=24', '24-17=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 74, 1, 28 ]
74
[ "26+1=27", "28-27=1", "74*1=74" ]
Current State: 74:[26, 74, 1, 28], Operations: [] Exploring Operation: 26+1=27, Resulting Numbers: [74, 28, 27] Generated Node #2: [74, 28, 27] from Operation: 26+1=27 Current State: 74:[74, 28, 27], Operations: ['26+1=27'] Exploring Operation: 28-27=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 28-27=1 Current State: 74:[74, 1], Operations: ['26+1=27', '28-27=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[26, 74, 1, 28], Operations: [] Exploring Operation: 26+1=27, Resulting Numbers: [74, 28, 27] Generated Node #0,0: 74:[74, 28, 27] Operation: 26+1=27 Exploring Operation: 28-26=2, Resulting Numbers: [74, 1, 2] Generated Node #0,1: 74:[74, 1, 2] Operation: 28-26=2 Exploring Operation: 1+28=29, Resulting Numbers: [26, 74, 29] Generated Node #0,2: 74:[26, 74, 29] Operation: 1+28=29 Exploring Operation: 26+28=54, Resulting Numbers: [74, 1, 54] Generated Node #0,3: 74:[74, 1, 54] Operation: 26+28=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[74, 1, 2], Operations: ['28-26=2'] Exploring Operation: 74*1=74, Resulting Numbers: [2, 74] Generated Node #0,1,0: 74:[2, 74] Operation: 74*1=74 Exploring Operation: 2/1=2, Resulting Numbers: [74, 2] Generated Node #0,1,1: 74:[74, 2] Operation: 2/1=2 Exploring Operation: 74/1=74, Resulting Numbers: [2, 74] Generated Node #0,1,2: 74:[2, 74] Operation: 74/1=74 Exploring Operation: 1*2=2, Resulting Numbers: [74, 2] Generated Node #0,1,3: 74:[74, 2] Operation: 1*2=2 Moving to Node #0,1,0 Current State: 74:[2, 74], Operations: ['28-26=2', '74*1=74'] Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[2, 74], Operations: ['28-26=2', '74/1=74'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[74, 2], Operations: ['28-26=2', '2/1=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[74, 2], Operations: ['28-26=2', '1*2=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,74 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,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,3 Current State: 74:[74, 1, 54], Operations: ['26+28=54'] Exploring Operation: 74*1=74, Resulting Numbers: [54, 74] Generated Node #0,3,0: 74:[54, 74] Operation: 74*1=74 Exploring Operation: 74/1=74, Resulting Numbers: [54, 74] Generated Node #0,3,1: 74:[54, 74] Operation: 74/1=74 Exploring Operation: 54-1=53, Resulting Numbers: [74, 53] Generated Node #0,3,2: 74:[74, 53] Operation: 54-1=53 Exploring Operation: 1*54=54, Resulting Numbers: [74, 54] Generated Node #0,3,3: 74:[74, 54] Operation: 1*54=54 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 74:[74, 53], Operations: ['26+28=54', '54-1=53'] Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,74 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 74:[54, 74], Operations: ['26+28=54', '74*1=74'] Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,74 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 74:[54, 74], Operations: ['26+28=54', '74/1=74'] Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,74 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,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:[74, 54], Operations: ['26+28=54', '1*54=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,74 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,74 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[74, 28, 27], Operations: ['26+1=27'] Exploring Operation: 74-28=46, Resulting Numbers: [27, 46] Generated Node #0,0,0: 74:[27, 46] Operation: 74-28=46 Exploring Operation: 74-27=47, Resulting Numbers: [28, 47] Generated Node #0,0,1: 74:[28, 47] Operation: 74-27=47 Exploring Operation: 28+27=55, Resulting Numbers: [74, 55] Generated Node #0,0,2: 74:[74, 55] Operation: 28+27=55 Exploring Operation: 28-27=1, Resulting Numbers: [74, 1] Generated Node #0,0,3: 74:[74, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[74, 1], Operations: ['26+1=27', '28-27=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[26, 74, 1, 28], Operations: [] Exploring Operation: 26+1=27, Resulting Numbers: [74, 28, 27] Generated Node #0,0: 74:[74, 28, 27] Operation: 26+1=27 Moving to Node #0,0 Current State: 74:[74, 28, 27], Operations: ['26+1=27'] Exploring Operation: 28-27=1, Resulting Numbers: [74, 1] Generated Node #0,0,3: 74:[74, 1] Operation: 28-27=1 Moving to Node #0,0,3 Current State: 74:[74, 1], Operations: ['26+1=27', '28-27=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 91, 48, 58, 12 ]
27
[ "91-48=43", "58+12=70", "70-43=27" ]
Current State: 27:[91, 48, 58, 12], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [58, 12, 43] Generated Node #2: [58, 12, 43] from Operation: 91-48=43 Current State: 27:[58, 12, 43], Operations: ['91-48=43'] Exploring Operation: 58+12=70, Resulting Numbers: [43, 70] Generated Node #3: [43, 70] from Operation: 58+12=70 Current State: 27:[43, 70], Operations: ['91-48=43', '58+12=70'] Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[91, 48, 58, 12], Operations: [] Exploring Operation: 91-58=33, Resulting Numbers: [48, 12, 33] Generated Node #0,0: 27:[48, 12, 33] Operation: 91-58=33 Exploring Operation: 58-48=10, Resulting Numbers: [91, 12, 10] Generated Node #0,1: 27:[91, 12, 10] Operation: 58-48=10 Exploring Operation: 91-48=43, Resulting Numbers: [58, 12, 43] Generated Node #0,2: 27:[58, 12, 43] Operation: 91-48=43 Moving to Node #0,0 Current State: 27:[48, 12, 33], Operations: ['91-58=33'] Exploring Operation: 48/12=4, Resulting Numbers: [33, 4] Generated Node #0,0,0: 27:[33, 4] Operation: 48/12=4 Exploring Operation: 48-33=15, Resulting Numbers: [12, 15] Generated Node #0,0,1: 27:[12, 15] Operation: 48-33=15 Exploring Operation: 48-12=36, Resulting Numbers: [33, 36] Generated Node #0,0,2: 27:[33, 36] Operation: 48-12=36 Moving to Node #0,2 Current State: 27:[58, 12, 43], Operations: ['91-48=43'] Exploring Operation: 58-12=46, Resulting Numbers: [43, 46] Generated Node #0,2,0: 27:[43, 46] Operation: 58-12=46 Exploring Operation: 43-12=31, Resulting Numbers: [58, 31] Generated Node #0,2,1: 27:[58, 31] Operation: 43-12=31 Exploring Operation: 58-43=15, Resulting Numbers: [12, 15] Generated Node #0,2,2: 27:[12, 15] Operation: 58-43=15 Moving to Node #0,1 Current State: 27:[91, 12, 10], Operations: ['58-48=10'] Exploring Operation: 12-10=2, Resulting Numbers: [91, 2] Generated Node #0,1,0: 27:[91, 2] Operation: 12-10=2 Exploring Operation: 91-12=79, Resulting Numbers: [10, 79] Generated Node #0,1,1: 27:[10, 79] Operation: 91-12=79 Exploring Operation: 91-10=81, Resulting Numbers: [12, 81] Generated Node #0,1,2: 27:[12, 81] Operation: 91-10=81 Moving to Node #0,0,0 Current State: 27:[33, 4], Operations: ['91-58=33', '48/12=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[12, 15], Operations: ['91-58=33', '48-33=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[91, 48, 58, 12], Operations: [] Exploring Operation: 91-58=33, Resulting Numbers: [48, 12, 33] Generated Node #0,0: 27:[48, 12, 33] Operation: 91-58=33 Moving to Node #0,0 Current State: 27:[48, 12, 33], Operations: ['91-58=33'] Exploring Operation: 48-33=15, Resulting Numbers: [12, 15] Generated Node #0,0,1: 27:[12, 15] Operation: 48-33=15 Moving to Node #0,0,1 Current State: 27:[12, 15], Operations: ['91-58=33', '48-33=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 38, 88, 30, 36 ]
59
[ "38-36=2", "88+30=118", "118/2=59" ]
Current State: 59:[38, 88, 30, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [88, 30, 2] Generated Node #2: [88, 30, 2] from Operation: 38-36=2 Current State: 59:[88, 30, 2], Operations: ['38-36=2'] Exploring Operation: 88+30=118, Resulting Numbers: [2, 118] Generated Node #3: [2, 118] from Operation: 88+30=118 Current State: 59:[2, 118], Operations: ['38-36=2', '88+30=118'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[38, 88, 30, 36], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [38, 36, 58] Generated Node #0,0: 59:[38, 36, 58] Operation: 88-30=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[38, 36, 58], Operations: ['88-30=58'] Exploring Operation: 38+36=74, Resulting Numbers: [58, 74] Generated Node #0,0,0: 59:[58, 74] Operation: 38+36=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[58, 74], Operations: ['88-30=58', '38+36=74'] Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 71, 81, 35, 34 ]
83
[ "71+81=152", "35+34=69", "152-69=83" ]
Current State: 83:[71, 81, 35, 34], Operations: [] Exploring Operation: 71+81=152, Resulting Numbers: [35, 34, 152] Generated Node #2: [35, 34, 152] from Operation: 71+81=152 Current State: 83:[35, 34, 152], Operations: ['71+81=152'] Exploring Operation: 35+34=69, Resulting Numbers: [152, 69] Generated Node #3: [152, 69] from Operation: 35+34=69 Current State: 83:[152, 69], Operations: ['71+81=152', '35+34=69'] Exploring Operation: 152-69=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[71, 81, 35, 34], Operations: [] Exploring Operation: 71+34=105, Resulting Numbers: [81, 35, 105] Generated Node #0,0: 83:[81, 35, 105] Operation: 71+34=105 Exploring Operation: 81+34=115, Resulting Numbers: [71, 35, 115] Generated Node #0,1: 83:[71, 35, 115] Operation: 81+34=115 Exploring Operation: 81+35=116, Resulting Numbers: [71, 34, 116] Generated Node #0,2: 83:[71, 34, 116] Operation: 81+35=116 Exploring Operation: 35+34=69, Resulting Numbers: [71, 81, 69] Generated Node #0,3: 83:[71, 81, 69] Operation: 35+34=69 Exploring Operation: 71+35=106, Resulting Numbers: [81, 34, 106] Generated Node #0,4: 83:[81, 34, 106] Operation: 71+35=106 Moving to Node #0,3 Current State: 83:[71, 81, 69], Operations: ['35+34=69'] Exploring Operation: 71+69=140, Resulting Numbers: [81, 140] Generated Node #0,3,0: 83:[81, 140] Operation: 71+69=140 Exploring Operation: 71+81=152, Resulting Numbers: [69, 152] Generated Node #0,3,1: 83:[69, 152] Operation: 71+81=152 Exploring Operation: 81+69=150, Resulting Numbers: [71, 150] Generated Node #0,3,2: 83:[71, 150] Operation: 81+69=150 Exploring Operation: 71-69=2, Resulting Numbers: [81, 2] Generated Node #0,3,3: 83:[81, 2] Operation: 71-69=2 Exploring Operation: 81-69=12, Resulting Numbers: [71, 12] Generated Node #0,3,4: 83:[71, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[81, 140], Operations: ['35+34=69', '71+69=140'] Exploring Operation: 81+140=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,83 unequal: No Solution Exploring Operation: 81*140=11340, Resulting Numbers: [11340] 11340,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[71, 150], Operations: ['35+34=69', '81+69=150'] Exploring Operation: 150-71=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 71+150=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 71*150=10650, Resulting Numbers: [10650] 10650,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[69, 152], Operations: ['35+34=69', '71+81=152'] Exploring Operation: 69+152=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 152-69=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[71, 81, 35, 34], Operations: [] Exploring Operation: 35+34=69, Resulting Numbers: [71, 81, 69] Generated Node #0,3: 83:[71, 81, 69] Operation: 35+34=69 Moving to Node #0,3 Current State: 83:[71, 81, 69], Operations: ['35+34=69'] Exploring Operation: 71+81=152, Resulting Numbers: [69, 152] Generated Node #0,3,1: 83:[69, 152] Operation: 71+81=152 Moving to Node #0,3,1 Current State: 83:[69, 152], Operations: ['35+34=69', '71+81=152'] Exploring Operation: 152-69=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 55, 53, 47, 2 ]
98
[ "55-53=2", "47+2=49", "2*49=98" ]
Current State: 98:[55, 53, 47, 2], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [47, 2, 2] Generated Node #2: [47, 2, 2] from Operation: 55-53=2 Current State: 98:[47, 2, 2], Operations: ['55-53=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,98 equal: Goal Reached Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[55, 53, 47, 2], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [47, 2, 2] Generated Node #0,0: 98:[47, 2, 2] Operation: 55-53=2 Exploring Operation: 55+47=102, Resulting Numbers: [53, 2, 102] Generated Node #0,1: 98:[53, 2, 102] Operation: 55+47=102 Exploring Operation: 53+47=100, Resulting Numbers: [55, 2, 100] Generated Node #0,2: 98:[55, 2, 100] Operation: 53+47=100 Exploring Operation: 55-47=8, Resulting Numbers: [53, 2, 8] Generated Node #0,3: 98:[53, 2, 8] Operation: 55-47=8 Exploring Operation: 53-47=6, Resulting Numbers: [55, 2, 6] Generated Node #0,4: 98:[55, 2, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 98:[47, 2, 2], Operations: ['55-53=2'] Exploring Operation: 47-2=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 98:[2, 45] Operation: 47-2=45 Exploring Operation: 47+2=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 98:[2, 49] Operation: 47+2=49 Exploring Operation: 2/2=1, Resulting Numbers: [47, 1] Generated Node #0,0,2: 98:[47, 1] Operation: 2/2=1 Exploring Operation: 47+2=49, Resulting Numbers: [2, 49] Generated Node #0,0,3: 98:[2, 49] Operation: 47+2=49 Exploring Operation: 47*2=94, Resulting Numbers: [2, 94] Generated Node #0,0,4: 98:[2, 94] Operation: 47*2=94 Moving to Node #0,3 Current State: 98:[53, 2, 8], Operations: ['55-47=8'] Exploring Operation: 2*8=16, Resulting Numbers: [53, 16] Generated Node #0,3,0: 98:[53, 16] Operation: 2*8=16 Exploring Operation: 53-8=45, Resulting Numbers: [2, 45] Generated Node #0,3,1: 98:[2, 45] Operation: 53-8=45 Exploring Operation: 8/2=4, Resulting Numbers: [53, 4] Generated Node #0,3,2: 98:[53, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [53, 6] Generated Node #0,3,3: 98:[53, 6] Operation: 8-2=6 Exploring Operation: 53-2=51, Resulting Numbers: [8, 51] Generated Node #0,3,4: 98:[8, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 98:[8, 51], Operations: ['55-47=8', '53-2=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,98 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[2, 45], Operations: ['55-47=8', '53-8=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[53, 6], Operations: ['55-47=8', '8-2=6'] Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[53, 16], Operations: ['55-47=8', '2*8=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,98 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[53, 4], Operations: ['55-47=8', '8/2=4'] Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,98 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,98 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: 98:[55, 2, 6], Operations: ['53-47=6'] Exploring Operation: 55-2=53, Resulting Numbers: [6, 53] Generated Node #0,4,0: 98:[6, 53] Operation: 55-2=53 Exploring Operation: 55-6=49, Resulting Numbers: [2, 49] Generated Node #0,4,1: 98:[2, 49] Operation: 55-6=49 Exploring Operation: 6/2=3, Resulting Numbers: [55, 3] Generated Node #0,4,2: 98:[55, 3] Operation: 6/2=3 Exploring Operation: 2+6=8, Resulting Numbers: [55, 8] Generated Node #0,4,3: 98:[55, 8] Operation: 2+6=8 Exploring Operation: 2*6=12, Resulting Numbers: [55, 12] Generated Node #0,4,4: 98:[55, 12] Operation: 2*6=12 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 98:[2, 49], Operations: ['53-47=6', '55-6=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[55, 53, 47, 2], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [55, 2, 6] Generated Node #0,4: 98:[55, 2, 6] Operation: 53-47=6 Moving to Node #0,4 Current State: 98:[55, 2, 6], Operations: ['53-47=6'] Exploring Operation: 55-6=49, Resulting Numbers: [2, 49] Generated Node #0,4,1: 98:[2, 49] Operation: 55-6=49 Moving to Node #0,4,1 Current State: 98:[2, 49], Operations: ['53-47=6', '55-6=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 75, 7, 16, 22 ]
21
[ "22-7=15", "75/15=5", "16+5=21" ]
Current State: 21:[75, 7, 16, 22], Operations: [] Exploring Operation: 22-7=15, Resulting Numbers: [75, 16, 15] Generated Node #2: [75, 16, 15] from Operation: 22-7=15 Current State: 21:[75, 16, 15], Operations: ['22-7=15'] Exploring Operation: 75/15=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 75/15=5 Current State: 21:[16, 5], Operations: ['22-7=15', '75/15=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[75, 7, 16, 22], Operations: [] Exploring Operation: 75-22=53, Resulting Numbers: [7, 16, 53] Generated Node #0,0: 21:[7, 16, 53] Operation: 75-22=53 Exploring Operation: 75-16=59, Resulting Numbers: [7, 22, 59] Generated Node #0,1: 21:[7, 22, 59] Operation: 75-16=59 Exploring Operation: 75-7=68, Resulting Numbers: [16, 22, 68] Generated Node #0,2: 21:[16, 22, 68] Operation: 75-7=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[7, 16, 53], Operations: ['75-22=53'] Exploring Operation: 53-16=37, Resulting Numbers: [7, 37] Generated Node #0,0,0: 21:[7, 37] Operation: 53-16=37 Exploring Operation: 53-7=46, Resulting Numbers: [16, 46] Generated Node #0,0,1: 21:[16, 46] Operation: 53-7=46 Exploring Operation: 7+16=23, Resulting Numbers: [53, 23] Generated Node #0,0,2: 21:[53, 23] Operation: 7+16=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[7, 37], Operations: ['75-22=53', '53-16=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,21 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[16, 46], Operations: ['75-22=53', '53-7=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,21 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[53, 23], Operations: ['75-22=53', '7+16=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[7, 22, 59], Operations: ['75-16=59'] Exploring Operation: 59-7=52, Resulting Numbers: [22, 52] Generated Node #0,1,0: 21:[22, 52] Operation: 59-7=52 Exploring Operation: 59-22=37, Resulting Numbers: [7, 37] Generated Node #0,1,1: 21:[7, 37] Operation: 59-22=37 Exploring Operation: 22-7=15, Resulting Numbers: [59, 15] Generated Node #0,1,2: 21:[59, 15] Operation: 22-7=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[7, 37], Operations: ['75-16=59', '59-22=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,21 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[22, 52], Operations: ['75-16=59', '59-7=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,21 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[59, 15], Operations: ['75-16=59', '22-7=15'] Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,21 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[16, 22, 68], Operations: ['75-7=68'] Exploring Operation: 22-16=6, Resulting Numbers: [68, 6] Generated Node #0,2,0: 21:[68, 6] Operation: 22-16=6 Exploring Operation: 68-16=52, Resulting Numbers: [22, 52] Generated Node #0,2,1: 21:[22, 52] Operation: 68-16=52 Exploring Operation: 68-22=46, Resulting Numbers: [16, 46] Generated Node #0,2,2: 21:[16, 46] Operation: 68-22=46 Moving to Node #0,2,2 Current State: 21:[16, 46], Operations: ['75-7=68', '68-22=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,21 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[22, 52], Operations: ['75-7=68', '68-16=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,21 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[68, 6], Operations: ['75-7=68', '22-16=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,21 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,21 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
[ 47, 50, 8, 27 ]
73
[ "50-47=3", "27*3=81", "81-8=73" ]
Current State: 73:[47, 50, 8, 27], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [8, 27, 3] Generated Node #2: [8, 27, 3] from Operation: 50-47=3 Current State: 73:[8, 27, 3], Operations: ['50-47=3'] Exploring Operation: 27*3=81, Resulting Numbers: [8, 81] Generated Node #3: [8, 81] from Operation: 27*3=81 Current State: 73:[8, 81], Operations: ['50-47=3', '27*3=81'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[47, 50, 8, 27], Operations: [] Exploring Operation: 50+8=58, Resulting Numbers: [47, 27, 58] Generated Node #0,0: 73:[47, 27, 58] Operation: 50+8=58 Exploring Operation: 47+8=55, Resulting Numbers: [50, 27, 55] Generated Node #0,1: 73:[50, 27, 55] Operation: 47+8=55 Exploring Operation: 47+27=74, Resulting Numbers: [50, 8, 74] Generated Node #0,2: 73:[50, 8, 74] Operation: 47+27=74 Exploring Operation: 8+27=35, Resulting Numbers: [47, 50, 35] Generated Node #0,3: 73:[47, 50, 35] Operation: 8+27=35 Moving to Node #0,0 Current State: 73:[47, 27, 58], Operations: ['50+8=58'] Exploring Operation: 47-27=20, Resulting Numbers: [58, 20] Generated Node #0,0,0: 73:[58, 20] Operation: 47-27=20 Exploring Operation: 58-27=31, Resulting Numbers: [47, 31] Generated Node #0,0,1: 73:[47, 31] Operation: 58-27=31 Exploring Operation: 47+27=74, Resulting Numbers: [58, 74] Generated Node #0,0,2: 73:[58, 74] Operation: 47+27=74 Exploring Operation: 27+58=85, Resulting Numbers: [47, 85] Generated Node #0,0,3: 73:[47, 85] Operation: 27+58=85 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[58, 74], Operations: ['50+8=58', '47+27=74'] Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 58*74=4292, Resulting Numbers: [4292] 4292,73 unequal: No Solution Exploring Operation: 58+74=132, Resulting Numbers: [132] 132,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[47, 85], Operations: ['50+8=58', '27+58=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[58, 20], Operations: ['50+8=58', '47-27=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,73 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[47, 31], Operations: ['50+8=58', '58-27=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 73:[47, 50, 35], Operations: ['8+27=35'] Exploring Operation: 47+50=97, Resulting Numbers: [35, 97] Generated Node #0,3,0: 73:[35, 97] Operation: 47+50=97 Exploring Operation: 50+35=85, Resulting Numbers: [47, 85] Generated Node #0,3,1: 73:[47, 85] Operation: 50+35=85 Exploring Operation: 47+35=82, Resulting Numbers: [50, 82] Generated Node #0,3,2: 73:[50, 82] Operation: 47+35=82 Exploring Operation: 47-35=12, Resulting Numbers: [50, 12] Generated Node #0,3,3: 73:[50, 12] Operation: 47-35=12 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[50, 82], Operations: ['8+27=35', '47+35=82'] Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,73 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[47, 85], Operations: ['8+27=35', '50+35=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[35, 97], Operations: ['8+27=35', '47+50=97'] Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,73 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[50, 12], Operations: ['8+27=35', '47-35=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,73 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,73 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: 73:[50, 27, 55], Operations: ['47+8=55'] Exploring Operation: 50+27=77, Resulting Numbers: [55, 77] Generated Node #0,1,0: 73:[55, 77] Operation: 50+27=77 Exploring Operation: 50-27=23, Resulting Numbers: [55, 23] Generated Node #0,1,1: 73:[55, 23] Operation: 50-27=23 Exploring Operation: 55-27=28, Resulting Numbers: [50, 28] Generated Node #0,1,2: 73:[50, 28] Operation: 55-27=28 Exploring Operation: 27+55=82, Resulting Numbers: [50, 82] Generated Node #0,1,3: 73:[50, 82] Operation: 27+55=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[55, 77], Operations: ['47+8=55', '50+27=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[50, 82], Operations: ['47+8=55', '27+55=82'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[55, 23], Operations: ['47+8=55', '50-27=23'] Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,73 unequal: No Solution Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[50, 28], Operations: ['47+8=55', '55-27=28'] Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,73 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[50, 8, 74], Operations: ['47+27=74'] Exploring Operation: 8+74=82, Resulting Numbers: [50, 82] Generated Node #0,2,0: 73:[50, 82] Operation: 8+74=82 Exploring Operation: 74-8=66, Resulting Numbers: [50, 66] Generated Node #0,2,1: 73:[50, 66] Operation: 74-8=66 Exploring Operation: 50-8=42, Resulting Numbers: [74, 42] Generated Node #0,2,2: 73:[74, 42] Operation: 50-8=42 Exploring Operation: 50+8=58, Resulting Numbers: [74, 58] Generated Node #0,2,3: 73:[74, 58] Operation: 50+8=58 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[74, 58], Operations: ['47+27=74', '50+8=58'] Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,73 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[50, 66], Operations: ['47+27=74', '74-8=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[50, 82], Operations: ['47+27=74', '8+74=82'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[74, 42], Operations: ['47+27=74', '50-8=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,73 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
[ 55, 13, 52, 48 ]
99
[ "55+48=103", "52/13=4", "103-4=99" ]
Current State: 99:[55, 13, 52, 48], Operations: [] Exploring Operation: 55+48=103, Resulting Numbers: [13, 52, 103] Generated Node #2: [13, 52, 103] from Operation: 55+48=103 Current State: 99:[13, 52, 103], Operations: ['55+48=103'] Exploring Operation: 52/13=4, Resulting Numbers: [103, 4] Generated Node #3: [103, 4] from Operation: 52/13=4 Current State: 99:[103, 4], Operations: ['55+48=103', '52/13=4'] Exploring Operation: 103-4=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[55, 13, 52, 48], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [13, 52, 7] Generated Node #0,0: 99:[13, 52, 7] Operation: 55-48=7 Exploring Operation: 55-52=3, Resulting Numbers: [13, 48, 3] Generated Node #0,1: 99:[13, 48, 3] Operation: 55-52=3 Exploring Operation: 55+52=107, Resulting Numbers: [13, 48, 107] Generated Node #0,2: 99:[13, 48, 107] Operation: 55+52=107 Moving to Node #0,1 Current State: 99:[13, 48, 3], Operations: ['55-52=3'] Exploring Operation: 48/3=16, Resulting Numbers: [13, 16] Generated Node #0,1,0: 99:[13, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [13, 45] Generated Node #0,1,1: 99:[13, 45] Operation: 48-3=45 Exploring Operation: 48-13=35, Resulting Numbers: [3, 35] Generated Node #0,1,2: 99:[3, 35] Operation: 48-13=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[3, 35], Operations: ['55-52=3', '48-13=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[13, 16], Operations: ['55-52=3', '48/3=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[13, 45], Operations: ['55-52=3', '48-3=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,99 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: 99:[13, 52, 7], Operations: ['55-48=7'] Exploring Operation: 52-7=45, Resulting Numbers: [13, 45] Generated Node #0,0,0: 99:[13, 45] Operation: 52-7=45 Exploring Operation: 52/13=4, Resulting Numbers: [7, 4] Generated Node #0,0,1: 99:[7, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [7, 39] Generated Node #0,0,2: 99:[7, 39] Operation: 52-13=39 Moving to Node #0,2 Current State: 99:[13, 48, 107], Operations: ['55+52=107'] Exploring Operation: 48-13=35, Resulting Numbers: [107, 35] Generated Node #0,2,0: 99:[107, 35] Operation: 48-13=35 Exploring Operation: 107-13=94, Resulting Numbers: [48, 94] Generated Node #0,2,1: 99:[48, 94] Operation: 107-13=94 Exploring Operation: 107-48=59, Resulting Numbers: [13, 59] Generated Node #0,2,2: 99:[13, 59] Operation: 107-48=59 Moving to Node #0,0,1 Current State: 99:[7, 4], Operations: ['55-48=7', '52/13=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[7, 39], Operations: ['55-48=7', '52-13=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,99 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[107, 35], Operations: ['55+52=107', '48-13=35'] Exploring Operation: 107*35=3745, Resulting Numbers: [3745] 3745,99 unequal: No Solution Exploring Operation: 107-35=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 107+35=142, Resulting Numbers: [142] 142,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[13, 45], Operations: ['55-48=7', '52-7=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,99 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[48, 94], Operations: ['55+52=107', '107-13=94'] Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,99 unequal: No Solution Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[13, 59], Operations: ['55+52=107', '107-48=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,99 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,99 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 5, 49, 8 ]
32
[ "5*5=25", "49+8=57", "57-25=32" ]
Current State: 32:[5, 5, 49, 8], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [49, 8, 25] Generated Node #2: [49, 8, 25] from Operation: 5*5=25 Current State: 32:[49, 8, 25], Operations: ['5*5=25'] Exploring Operation: 49+8=57, Resulting Numbers: [25, 57] Generated Node #3: [25, 57] from Operation: 49+8=57 Current State: 32:[25, 57], Operations: ['5*5=25', '49+8=57'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 5, 49, 8], Operations: [] Exploring Operation: 5/5=1, Resulting Numbers: [49, 8, 1] Generated Node #0,0: 32:[49, 8, 1] Operation: 5/5=1 Exploring Operation: 49-5=44, Resulting Numbers: [5, 8, 44] Generated Node #0,1: 32:[5, 8, 44] Operation: 49-5=44 Exploring Operation: 5+5=10, Resulting Numbers: [49, 8, 10] Generated Node #0,2: 32:[49, 8, 10] Operation: 5+5=10 Exploring Operation: 49-5=44, Resulting Numbers: [5, 8, 44] Generated Node #0,3: 32:[5, 8, 44] Operation: 49-5=44 Exploring Operation: 49-8=41, Resulting Numbers: [5, 5, 41] Generated Node #0,4: 32:[5, 5, 41] Operation: 49-8=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[5, 5, 41], Operations: ['49-8=41'] Exploring Operation: 5+5=10, Resulting Numbers: [41, 10] Generated Node #0,4,0: 32:[41, 10] Operation: 5+5=10 Exploring Operation: 5/5=1, Resulting Numbers: [41, 1] Generated Node #0,4,1: 32:[41, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [41, 0] Generated Node #0,4,2: 32:[41, 0] Operation: 5-5=0 Exploring Operation: 41-5=36, Resulting Numbers: [5, 36] Generated Node #0,4,3: 32:[5, 36] Operation: 41-5=36 Exploring Operation: 41-5=36, Resulting Numbers: [5, 36] Generated Node #0,4,4: 32:[5, 36] Operation: 41-5=36 Moving to Node #0,4,3 Current State: 32:[5, 36], Operations: ['49-8=41', '41-5=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[5, 36], Operations: ['49-8=41', '41-5=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,32 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[41, 1], Operations: ['49-8=41', '5/5=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[41, 10], Operations: ['49-8=41', '5+5=10'] Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,32 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[41, 0], Operations: ['49-8=41', '5-5=0'] Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 41-0=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 41*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[5, 8, 44], Operations: ['49-5=44'] Exploring Operation: 44-8=36, Resulting Numbers: [5, 36] Generated Node #0,1,0: 32:[5, 36] Operation: 44-8=36 Exploring Operation: 5+44=49, Resulting Numbers: [8, 49] Generated Node #0,1,1: 32:[8, 49] Operation: 5+44=49 Exploring Operation: 44-5=39, Resulting Numbers: [8, 39] Generated Node #0,1,2: 32:[8, 39] Operation: 44-5=39 Exploring Operation: 8-5=3, Resulting Numbers: [44, 3] Generated Node #0,1,3: 32:[44, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [44, 13] Generated Node #0,1,4: 32:[44, 13] Operation: 5+8=13 Moving to Node #0,1,0 Current State: 32:[5, 36], Operations: ['49-5=44', '44-8=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,32 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[8, 39], Operations: ['49-5=44', '44-5=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,32 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[44, 3], Operations: ['49-5=44', '8-5=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,32 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[44, 13], Operations: ['49-5=44', '5+8=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,32 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[8, 49], Operations: ['49-5=44', '5+44=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[5, 8, 44], Operations: ['49-5=44'] Exploring Operation: 44-5=39, Resulting Numbers: [8, 39] Generated Node #0,3,0: 32:[8, 39] Operation: 44-5=39 Exploring Operation: 8-5=3, Resulting Numbers: [44, 3] Generated Node #0,3,1: 32:[44, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [44, 13] Generated Node #0,3,2: 32:[44, 13] Operation: 5+8=13 Exploring Operation: 44-8=36, Resulting Numbers: [5, 36] Generated Node #0,3,3: 32:[5, 36] Operation: 44-8=36 Exploring Operation: 5+44=49, Resulting Numbers: [8, 49] Generated Node #0,3,4: 32:[8, 49] Operation: 5+44=49 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 32:[5, 36], Operations: ['49-5=44', '44-8=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,32 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,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,3,0 Current State: 32:[8, 39], Operations: ['49-5=44', '44-5=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,32 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,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,3,1 Current State: 32:[44, 3], Operations: ['49-5=44', '8-5=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,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,3,2 Current State: 32:[44, 13], Operations: ['49-5=44', '5+8=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,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,3,4 Current State: 32:[8, 49], Operations: ['49-5=44', '5+44=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,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,0 Current State: 32:[49, 8, 1], Operations: ['5/5=1'] Exploring Operation: 49-1=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 32:[8, 48] Operation: 49-1=48 Exploring Operation: 49-8=41, Resulting Numbers: [1, 41] Generated Node #0,0,1: 32:[1, 41] Operation: 49-8=41 Exploring Operation: 49/1=49, Resulting Numbers: [8, 49] Generated Node #0,0,2: 32:[8, 49] Operation: 49/1=49 Exploring Operation: 49*1=49, Resulting Numbers: [8, 49] Generated Node #0,0,3: 32:[8, 49] Operation: 49*1=49 Exploring Operation: 8*1=8, Resulting Numbers: [49, 8] Generated Node #0,0,4: 32:[49, 8] Operation: 8*1=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[1, 41], Operations: ['5/5=1', '49-8=41'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,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,0 Current State: 32:[8, 48], Operations: ['5/5=1', '49-1=48'] Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,32 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,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,2 Current State: 32:[8, 49], Operations: ['5/5=1', '49/1=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,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,3 Current State: 32:[8, 49], Operations: ['5/5=1', '49*1=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,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,4 Current State: 32:[49, 8], Operations: ['5/5=1', '8*1=8'] Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,32 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,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,2 Current State: 32:[49, 8, 10], Operations: ['5+5=10'] Exploring Operation: 49-8=41, Resulting Numbers: [10, 41] Generated Node #0,2,0: 32:[10, 41] Operation: 49-8=41 Exploring Operation: 49+8=57, Resulting Numbers: [10, 57] Generated Node #0,2,1: 32:[10, 57] Operation: 49+8=57 Exploring Operation: 8+10=18, Resulting Numbers: [49, 18] Generated Node #0,2,2: 32:[49, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [49, 2] Generated Node #0,2,3: 32:[49, 2] Operation: 10-8=2 Exploring Operation: 49-10=39, Resulting Numbers: [8, 39] Generated Node #0,2,4: 32:[8, 39] Operation: 49-10=39 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 32:[8, 39], Operations: ['5+5=10', '49-10=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,32 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,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,2,0 Current State: 32:[10, 41], Operations: ['5+5=10', '49-8=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,32 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,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,2,3 Current State: 32:[49, 2], Operations: ['5+5=10', '10-8=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,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,2,2 Current State: 32:[49, 18], Operations: ['5+5=10', '8+10=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,32 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,32 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,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,2,1 Current State: 32:[10, 57], Operations: ['5+5=10', '49+8=57'] Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,32 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,32 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,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_5
mult_heuristic
[ 44, 3, 51, 3 ]
90
[ "44+3=47", "3*47=141", "141-51=90" ]
Current State: 90:[44, 3, 51, 3], Operations: [] Exploring Operation: 44+3=47, Resulting Numbers: [51, 47] Generated Node #2: [51, 47] from Operation: 44+3=47 Current State: 90:[51, 47], Operations: ['44+3=47'] Exploring Operation: 3*47=141, Resulting Numbers: [51, 141] Generated Node #3: [51, 141] from Operation: 3*47=141 Current State: 90:[51, 141], Operations: ['44+3=47', '3*47=141'] Exploring Operation: 141-51=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[44, 3, 51, 3], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [44, 3, 17] Generated Node #0,0: 90:[44, 3, 17] Operation: 51/3=17 Exploring Operation: 51-44=7, Resulting Numbers: [3, 3, 7] Generated Node #0,1: 90:[3, 3, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[3, 3, 7], Operations: ['51-44=7'] Exploring Operation: 3+7=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 90:[3, 10] Operation: 3+7=10 Exploring Operation: 3+7=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 90:[3, 10] Operation: 3+7=10 Moving to Node #0,1,0 Current State: 90:[3, 10], Operations: ['51-44=7', '3+7=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[3, 10], Operations: ['51-44=7', '3+7=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[44, 3, 17], Operations: ['51/3=17'] Exploring Operation: 17-3=14, Resulting Numbers: [44, 14] Generated Node #0,0,0: 90:[44, 14] Operation: 17-3=14 Exploring Operation: 44+3=47, Resulting Numbers: [17, 47] Generated Node #0,0,1: 90:[17, 47] Operation: 44+3=47 Moving to Node #0,0,0 Current State: 90:[44, 14], Operations: ['51/3=17', '17-3=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[17, 47], Operations: ['51/3=17', '44+3=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,90 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
[ 78, 81, 69, 90 ]
63
[ "81-78=3", "90-69=21", "3*21=63" ]
Current State: 63:[78, 81, 69, 90], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [69, 90, 3] Generated Node #2: [69, 90, 3] from Operation: 81-78=3 Current State: 63:[69, 90, 3], Operations: ['81-78=3'] Exploring Operation: 90-69=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 90-69=21 Current State: 63:[3, 21], Operations: ['81-78=3', '90-69=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[78, 81, 69, 90], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [78, 81, 21] Generated Node #0,0: 63:[78, 81, 21] Operation: 90-69=21 Exploring Operation: 81-78=3, Resulting Numbers: [69, 90, 3] Generated Node #0,1: 63:[69, 90, 3] Operation: 81-78=3 Exploring Operation: 90-78=12, Resulting Numbers: [81, 69, 12] Generated Node #0,2: 63:[81, 69, 12] Operation: 90-78=12 Exploring Operation: 90-81=9, Resulting Numbers: [78, 69, 9] Generated Node #0,3: 63:[78, 69, 9] Operation: 90-81=9 Moving to Node #0,3 Current State: 63:[78, 69, 9], Operations: ['90-81=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69, 69] Generated Node #0,3,0: 63:[69, 69] Operation: 78-9=69 Exploring Operation: 78+9=87, Resulting Numbers: [69, 87] Generated Node #0,3,1: 63:[69, 87] Operation: 78+9=87 Exploring Operation: 69-9=60, Resulting Numbers: [78, 60] Generated Node #0,3,2: 63:[78, 60] Operation: 69-9=60 Exploring Operation: 78-69=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 63:[9, 9] Operation: 78-69=9 Moving to Node #0,2 Current State: 63:[81, 69, 12], Operations: ['90-78=12'] Exploring Operation: 81-12=69, Resulting Numbers: [69, 69] Generated Node #0,2,0: 63:[69, 69] Operation: 81-12=69 Exploring Operation: 81-69=12, Resulting Numbers: [12, 12] Generated Node #0,2,1: 63:[12, 12] Operation: 81-69=12 Exploring Operation: 69-12=57, Resulting Numbers: [81, 57] Generated Node #0,2,2: 63:[81, 57] Operation: 69-12=57 Exploring Operation: 81+12=93, Resulting Numbers: [69, 93] Generated Node #0,2,3: 63:[69, 93] Operation: 81+12=93 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[12, 12], Operations: ['90-78=12', '81-69=12'] Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,63 unequal: No Solution Exploring Operation: 12/12=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:[69, 69], Operations: ['90-78=12', '81-12=69'] Exploring Operation: 69/69=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 69+69=138, Resulting Numbers: [138] 138,63 unequal: No Solution Exploring Operation: 69-69=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 69*69=4761, Resulting Numbers: [4761] 4761,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:[81, 57], Operations: ['90-78=12', '69-12=57'] Exploring Operation: 81*57=4617, Resulting Numbers: [4617] 4617,63 unequal: No Solution Exploring Operation: 81+57=138, Resulting Numbers: [138] 138,63 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,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,3 Current State: 63:[69, 93], Operations: ['90-78=12', '81+12=93'] Exploring Operation: 69*93=6417, Resulting Numbers: [6417] 6417,63 unequal: No Solution Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 69+93=162, Resulting Numbers: [162] 162,63 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: 63:[69, 90, 3], Operations: ['81-78=3'] Exploring Operation: 90/3=30, Resulting Numbers: [69, 30] Generated Node #0,1,0: 63:[69, 30] Operation: 90/3=30 Exploring Operation: 90-69=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 63:[3, 21] Operation: 90-69=21 Exploring Operation: 69-3=66, Resulting Numbers: [90, 66] Generated Node #0,1,2: 63:[90, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [90, 23] Generated Node #0,1,3: 63:[90, 23] Operation: 69/3=23 Moving to Node #0,0 Current State: 63:[78, 81, 21], Operations: ['90-69=21'] Exploring Operation: 78-21=57, Resulting Numbers: [81, 57] Generated Node #0,0,0: 63:[81, 57] Operation: 78-21=57 Exploring Operation: 81-21=60, Resulting Numbers: [78, 60] Generated Node #0,0,1: 63:[78, 60] Operation: 81-21=60 Exploring Operation: 78+21=99, Resulting Numbers: [81, 99] Generated Node #0,0,2: 63:[81, 99] Operation: 78+21=99 Exploring Operation: 81-78=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 63:[21, 3] Operation: 81-78=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[21, 3], Operations: ['90-69=21', '81-78=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[78, 81, 69, 90], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [78, 81, 21] Generated Node #0,0: 63:[78, 81, 21] Operation: 90-69=21 Moving to Node #0,0 Current State: 63:[78, 81, 21], Operations: ['90-69=21'] Exploring Operation: 81-78=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 63:[21, 3] Operation: 81-78=3 Moving to Node #0,0,3 Current State: 63:[21, 3], Operations: ['90-69=21', '81-78=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 13, 66, 15, 48 ]
36
[ "15-13=2", "66-48=18", "2*18=36" ]
Current State: 36:[13, 66, 15, 48], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [66, 48, 2] Generated Node #2: [66, 48, 2] from Operation: 15-13=2 Current State: 36:[66, 48, 2], Operations: ['15-13=2'] Exploring Operation: 66-48=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 66-48=18 Current State: 36:[2, 18], Operations: ['15-13=2', '66-48=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[13, 66, 15, 48], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [13, 15, 18] Generated Node #0,0: 36:[13, 15, 18] Operation: 66-48=18 Moving to Node #0,0 Current State: 36:[13, 15, 18], Operations: ['66-48=18'] Exploring Operation: 15-13=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 15-13=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['66-48=18', '15-13=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[13, 66, 15, 48], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [13, 15, 18] Generated Node #0,0: 36:[13, 15, 18] Operation: 66-48=18 Moving to Node #0,0 Current State: 36:[13, 15, 18], Operations: ['66-48=18'] Exploring Operation: 15-13=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 15-13=2 Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['66-48=18', '15-13=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 6, 48, 54 ]
34
[ "48-5=43", "54/6=9", "43-9=34" ]
Current State: 34:[5, 6, 48, 54], Operations: [] Exploring Operation: 48-5=43, Resulting Numbers: [6, 54, 43] Generated Node #2: [6, 54, 43] from Operation: 48-5=43 Current State: 34:[6, 54, 43], Operations: ['48-5=43'] Exploring Operation: 54/6=9, Resulting Numbers: [43, 9] Generated Node #3: [43, 9] from Operation: 54/6=9 Current State: 34:[43, 9], Operations: ['48-5=43', '54/6=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[5, 6, 48, 54], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [5, 48, 9] Generated Node #0,0: 34:[5, 48, 9] Operation: 54/6=9 Exploring Operation: 54-48=6, Resulting Numbers: [5, 6, 6] Generated Node #0,1: 34:[5, 6, 6] Operation: 54-48=6 Moving to Node #0,1 Current State: 34:[5, 6, 6], Operations: ['54-48=6'] Exploring Operation: 6/6=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 34:[5, 1] Operation: 6/6=1 Exploring Operation: 6-5=1, Resulting Numbers: [6, 1] Generated Node #0,1,1: 34:[6, 1] Operation: 6-5=1 Moving to Node #0,0 Current State: 34:[5, 48, 9], Operations: ['54/6=9'] Exploring Operation: 48-9=39, Resulting Numbers: [5, 39] Generated Node #0,0,0: 34:[5, 39] Operation: 48-9=39 Exploring Operation: 48-5=43, Resulting Numbers: [9, 43] Generated Node #0,0,1: 34:[9, 43] Operation: 48-5=43 Moving to Node #0,1,0 Current State: 34:[5, 1], Operations: ['54-48=6', '6/6=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[6, 1], Operations: ['54-48=6', '6-5=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[5, 39], Operations: ['54/6=9', '48-9=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[5, 6, 48, 54], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [5, 48, 9] Generated Node #0,0: 34:[5, 48, 9] Operation: 54/6=9 Moving to Node #0,0 Current State: 34:[5, 48, 9], Operations: ['54/6=9'] Exploring Operation: 48-9=39, Resulting Numbers: [5, 39] Generated Node #0,0,0: 34:[5, 39] Operation: 48-9=39 Moving to Node #0,0,0 Current State: 34:[5, 39], Operations: ['54/6=9', '48-9=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 8, 23, 2, 19 ]
57
[ "19-8=11", "23*2=46", "11+46=57" ]
Current State: 57:[8, 23, 2, 19], Operations: [] Exploring Operation: 19-8=11, Resulting Numbers: [23, 2, 11] Generated Node #2: [23, 2, 11] from Operation: 19-8=11 Current State: 57:[23, 2, 11], Operations: ['19-8=11'] Exploring Operation: 23*2=46, Resulting Numbers: [11, 46] Generated Node #3: [11, 46] from Operation: 23*2=46 Current State: 57:[11, 46], Operations: ['19-8=11', '23*2=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[8, 23, 2, 19], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [2, 19, 15] Generated Node #0,0: 57:[2, 19, 15] Operation: 23-8=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[2, 19, 15], Operations: ['23-8=15'] Exploring Operation: 2+15=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 57:[19, 17] Operation: 2+15=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[19, 17], Operations: ['23-8=15', '2+15=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,57 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
[ 20, 49, 23, 42 ]
49
[ "20+23=43", "43-42=1", "49*1=49" ]
Current State: 49:[20, 49, 23, 42], Operations: [] Exploring Operation: 20+23=43, Resulting Numbers: [49, 42, 43] Generated Node #2: [49, 42, 43] from Operation: 20+23=43 Current State: 49:[49, 42, 43], Operations: ['20+23=43'] Exploring Operation: 43-42=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 43-42=1 Current State: 49:[49, 1], Operations: ['20+23=43', '43-42=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[20, 49, 23, 42], Operations: [] Exploring Operation: 20+23=43, Resulting Numbers: [49, 42, 43] Generated Node #0,0: 49:[49, 42, 43] Operation: 20+23=43 Exploring Operation: 23-20=3, Resulting Numbers: [49, 42, 3] Generated Node #0,1: 49:[49, 42, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[49, 42, 3], Operations: ['23-20=3'] Exploring Operation: 49-42=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 49:[3, 7] Operation: 49-42=7 Exploring Operation: 42+3=45, Resulting Numbers: [49, 45] Generated Node #0,1,1: 49:[49, 45] Operation: 42+3=45 Moving to Node #0,1,0 Current State: 49:[3, 7], Operations: ['23-20=3', '49-42=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[49, 45], Operations: ['23-20=3', '42+3=45'] Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,49 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[49, 42, 43], Operations: ['20+23=43'] Exploring Operation: 49-42=7, Resulting Numbers: [43, 7] Generated Node #0,0,0: 49:[43, 7] Operation: 49-42=7 Exploring Operation: 43-42=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 43-42=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[43, 7], Operations: ['20+23=43', '49-42=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['20+23=43', '43-42=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[20, 49, 23, 42], Operations: [] Exploring Operation: 20+23=43, Resulting Numbers: [49, 42, 43] Generated Node #0,0: 49:[49, 42, 43] Operation: 20+23=43 Moving to Node #0,0 Current State: 49:[49, 42, 43], Operations: ['20+23=43'] Exploring Operation: 43-42=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 43-42=1 Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['20+23=43', '43-42=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 76, 55, 26, 91 ]
86
[ "76-55=21", "91-26=65", "21+65=86" ]
Current State: 86:[76, 55, 26, 91], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [26, 91, 21] Generated Node #2: [26, 91, 21] from Operation: 76-55=21 Current State: 86:[26, 91, 21], Operations: ['76-55=21'] Exploring Operation: 91-26=65, Resulting Numbers: [21, 65] Generated Node #3: [21, 65] from Operation: 91-26=65 Current State: 86:[21, 65], Operations: ['76-55=21', '91-26=65'] Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[76, 55, 26, 91], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [55, 91, 50] Generated Node #0,0: 86:[55, 91, 50] Operation: 76-26=50 Exploring Operation: 55+26=81, Resulting Numbers: [76, 91, 81] Generated Node #0,1: 86:[76, 91, 81] Operation: 55+26=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[76, 91, 81], Operations: ['55+26=81'] Exploring Operation: 81-76=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 86:[91, 5] Operation: 81-76=5 Exploring Operation: 91-76=15, Resulting Numbers: [81, 15] Generated Node #0,1,1: 86:[81, 15] Operation: 91-76=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[91, 5], Operations: ['55+26=81', '81-76=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[76, 55, 26, 91], Operations: [] Exploring Operation: 55+26=81, Resulting Numbers: [76, 91, 81] Generated Node #0,1: 86:[76, 91, 81] Operation: 55+26=81 Moving to Node #0,1 Current State: 86:[76, 91, 81], Operations: ['55+26=81'] Exploring Operation: 81-76=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 86:[91, 5] Operation: 81-76=5 Moving to Node #0,1,0 Current State: 86:[91, 5], Operations: ['55+26=81', '81-76=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 20, 33, 43, 98 ]
42
[ "33-20=13", "98-43=55", "55-13=42" ]
Current State: 42:[20, 33, 43, 98], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [43, 98, 13] Generated Node #2: [43, 98, 13] from Operation: 33-20=13 Current State: 42:[43, 98, 13], Operations: ['33-20=13'] Exploring Operation: 98-43=55, Resulting Numbers: [13, 55] Generated Node #3: [13, 55] from Operation: 98-43=55 Current State: 42:[13, 55], Operations: ['33-20=13', '98-43=55'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[20, 33, 43, 98], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [33, 43, 78] Generated Node #0,0: 42:[33, 43, 78] Operation: 98-20=78 Exploring Operation: 98-43=55, Resulting Numbers: [20, 33, 55] Generated Node #0,1: 42:[20, 33, 55] Operation: 98-43=55 Exploring Operation: 98-33=65, Resulting Numbers: [20, 43, 65] Generated Node #0,2: 42:[20, 43, 65] Operation: 98-33=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[20, 33, 55], Operations: ['98-43=55'] Exploring Operation: 55-33=22, Resulting Numbers: [20, 22] Generated Node #0,1,0: 42:[20, 22] Operation: 55-33=22 Exploring Operation: 33-20=13, Resulting Numbers: [55, 13] Generated Node #0,1,1: 42:[55, 13] Operation: 33-20=13 Exploring Operation: 55-20=35, Resulting Numbers: [33, 35] Generated Node #0,1,2: 42:[33, 35] Operation: 55-20=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[20, 22], Operations: ['98-43=55', '55-33=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,42 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[20, 33, 43, 98], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [20, 33, 55] Generated Node #0,1: 42:[20, 33, 55] Operation: 98-43=55 Moving to Node #0,1 Current State: 42:[20, 33, 55], Operations: ['98-43=55'] Exploring Operation: 55-33=22, Resulting Numbers: [20, 22] Generated Node #0,1,0: 42:[20, 22] Operation: 55-33=22 Moving to Node #0,1,0 Current State: 42:[20, 22], Operations: ['98-43=55', '55-33=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 16, 24, 3, 76 ]
74
[ "16*3=48", "48/24=2", "76-2=74" ]
Current State: 74:[16, 24, 3, 76], Operations: [] Exploring Operation: 16*3=48, Resulting Numbers: [24, 76, 48] Generated Node #2: [24, 76, 48] from Operation: 16*3=48 Current State: 74:[24, 76, 48], Operations: ['16*3=48'] Exploring Operation: 48/24=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 48/24=2 Current State: 74:[76, 2], Operations: ['16*3=48', '48/24=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[16, 24, 3, 76], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [3, 76, 8] Generated Node #0,0: 74:[3, 76, 8] Operation: 24-16=8 Exploring Operation: 16+24=40, Resulting Numbers: [3, 76, 40] Generated Node #0,1: 74:[3, 76, 40] Operation: 16+24=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[3, 76, 40], Operations: ['16+24=40'] Exploring Operation: 76-40=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 74:[3, 36] Operation: 76-40=36 Exploring Operation: 40-3=37, Resulting Numbers: [76, 37] Generated Node #0,1,1: 74:[76, 37] Operation: 40-3=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[3, 36], Operations: ['16+24=40', '76-40=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,74 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,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:[76, 37], Operations: ['16+24=40', '40-3=37'] Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,74 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[3, 76, 8], Operations: ['24-16=8'] Exploring Operation: 8-3=5, Resulting Numbers: [76, 5] Generated Node #0,0,0: 74:[76, 5] Operation: 8-3=5 Exploring Operation: 76-3=73, Resulting Numbers: [8, 73] Generated Node #0,0,1: 74:[8, 73] Operation: 76-3=73 Moving to Node #0,0,0 Current State: 74:[76, 5], Operations: ['24-16=8', '8-3=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[8, 73], Operations: ['24-16=8', '76-3=73'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,74 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
[ 63, 77, 31, 84 ]
22
[ "84-77=7", "63/7=9", "31-9=22" ]
Current State: 22:[63, 77, 31, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [63, 31, 7] Generated Node #2: [63, 31, 7] from Operation: 84-77=7 Current State: 22:[63, 31, 7], Operations: ['84-77=7'] Exploring Operation: 63/7=9, Resulting Numbers: [31, 9] Generated Node #3: [31, 9] from Operation: 63/7=9 Current State: 22:[31, 9], Operations: ['84-77=7', '63/7=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[63, 77, 31, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [63, 31, 7] Generated Node #0,0: 22:[63, 31, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[63, 31, 7], Operations: ['84-77=7'] Exploring Operation: 63/7=9, Resulting Numbers: [31, 9] Generated Node #0,0,0: 22:[31, 9] Operation: 63/7=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[31, 9], Operations: ['84-77=7', '63/7=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[63, 77, 31, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [63, 31, 7] Generated Node #0,0: 22:[63, 31, 7] Operation: 84-77=7 Moving to Node #0,0 Current State: 22:[63, 31, 7], Operations: ['84-77=7'] Exploring Operation: 63/7=9, Resulting Numbers: [31, 9] Generated Node #0,0,0: 22:[31, 9] Operation: 63/7=9 Moving to Node #0,0,0 Current State: 22:[31, 9], Operations: ['84-77=7', '63/7=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 78, 86, 36, 19 ]
80
[ "78+36=114", "114/19=6", "86-6=80" ]
Current State: 80:[78, 86, 36, 19], Operations: [] Exploring Operation: 78+36=114, Resulting Numbers: [86, 19, 114] Generated Node #2: [86, 19, 114] from Operation: 78+36=114 Current State: 80:[86, 19, 114], Operations: ['78+36=114'] Exploring Operation: 114/19=6, Resulting Numbers: [86, 6] Generated Node #3: [86, 6] from Operation: 114/19=6 Current State: 80:[86, 6], Operations: ['78+36=114', '114/19=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[78, 86, 36, 19], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [36, 19, 8] Generated Node #0,0: 80:[36, 19, 8] Operation: 86-78=8 Exploring Operation: 36-19=17, Resulting Numbers: [78, 86, 17] Generated Node #0,1: 80:[78, 86, 17] Operation: 36-19=17 Exploring Operation: 78-36=42, Resulting Numbers: [86, 19, 42] Generated Node #0,2: 80:[86, 19, 42] Operation: 78-36=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[36, 19, 8], Operations: ['86-78=8'] Exploring Operation: 36+8=44, Resulting Numbers: [19, 44] Generated Node #0,0,0: 80:[19, 44] Operation: 36+8=44 Exploring Operation: 19-8=11, Resulting Numbers: [36, 11] Generated Node #0,0,1: 80:[36, 11] Operation: 19-8=11 Exploring Operation: 36-19=17, Resulting Numbers: [8, 17] Generated Node #0,0,2: 80:[8, 17] Operation: 36-19=17 Moving to Node #0,0,2 Current State: 80:[8, 17], Operations: ['86-78=8', '36-19=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[19, 44], Operations: ['86-78=8', '36+8=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,80 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[36, 11], Operations: ['86-78=8', '19-8=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,80 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[78, 86, 17], Operations: ['36-19=17'] Exploring Operation: 78+17=95, Resulting Numbers: [86, 95] Generated Node #0,1,0: 80:[86, 95] Operation: 78+17=95 Exploring Operation: 86-17=69, Resulting Numbers: [78, 69] Generated Node #0,1,1: 80:[78, 69] Operation: 86-17=69 Exploring Operation: 86-78=8, Resulting Numbers: [17, 8] Generated Node #0,1,2: 80:[17, 8] Operation: 86-78=8 Moving to Node #0,1,2 Current State: 80:[17, 8], Operations: ['36-19=17', '86-78=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[78, 69], Operations: ['36-19=17', '86-17=69'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,80 unequal: No Solution Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[86, 95], Operations: ['36-19=17', '78+17=95'] Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,80 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[86, 19, 42], Operations: ['78-36=42'] Exploring Operation: 86-42=44, Resulting Numbers: [19, 44] Generated Node #0,2,0: 80:[19, 44] Operation: 86-42=44 Exploring Operation: 42-19=23, Resulting Numbers: [86, 23] Generated Node #0,2,1: 80:[86, 23] Operation: 42-19=23 Exploring Operation: 86-19=67, Resulting Numbers: [42, 67] Generated Node #0,2,2: 80:[42, 67] Operation: 86-19=67 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[19, 44], Operations: ['78-36=42', '86-42=44'] Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,80 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,80 unequal: No Solution No 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: 80:[86, 23], Operations: ['78-36=42', '42-19=23'] Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,80 unequal: No Solution Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,80 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,80 unequal: No Solution No 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: 80:[42, 67], Operations: ['78-36=42', '86-19=67'] Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,80 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,80 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
[ 25, 12, 33, 25 ]
71
[ "25-12=13", "33+25=58", "13+58=71" ]
Current State: 71:[25, 12, 33, 25], Operations: [] Exploring Operation: 25-12=13, Resulting Numbers: [33, 13] Generated Node #2: [33, 13] from Operation: 25-12=13 Current State: 71:[33, 13], Operations: ['25-12=13'] Exploring Operation: 33+25=58, Resulting Numbers: [13, 58] Generated Node #3: [13, 58] from Operation: 33+25=58 Current State: 71:[13, 58], Operations: ['25-12=13', '33+25=58'] Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[25, 12, 33, 25], Operations: [] Exploring Operation: 25+25=50, Resulting Numbers: [12, 33, 50] Generated Node #0,0: 71:[12, 33, 50] Operation: 25+25=50 Exploring Operation: 12+33=45, Resulting Numbers: [25, 25, 45] Generated Node #0,1: 71:[25, 25, 45] Operation: 12+33=45 Exploring Operation: 25+12=37, Resulting Numbers: [33, 25, 37] Generated Node #0,2: 71:[33, 25, 37] Operation: 25+12=37 Exploring Operation: 25+33=58, Resulting Numbers: [12, 25, 58] Generated Node #0,3: 71:[12, 25, 58] Operation: 25+33=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[12, 33, 50], Operations: ['25+25=50'] Exploring Operation: 33-12=21, Resulting Numbers: [50, 21] Generated Node #0,0,0: 71:[50, 21] Operation: 33-12=21 Exploring Operation: 12+50=62, Resulting Numbers: [33, 62] Generated Node #0,0,1: 71:[33, 62] Operation: 12+50=62 Exploring Operation: 12+33=45, Resulting Numbers: [50, 45] Generated Node #0,0,2: 71:[50, 45] Operation: 12+33=45 Exploring Operation: 50-12=38, Resulting Numbers: [33, 38] Generated Node #0,0,3: 71:[33, 38] Operation: 50-12=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[33, 62], Operations: ['25+25=50', '12+50=62'] Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,71 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[50, 45], Operations: ['25+25=50', '12+33=45'] Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[50, 21], Operations: ['25+25=50', '33-12=21'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,71 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[25, 12, 33, 25], Operations: [] Exploring Operation: 25+25=50, Resulting Numbers: [12, 33, 50] Generated Node #0,0: 71:[12, 33, 50] Operation: 25+25=50 Moving to Node #0,0 Current State: 71:[12, 33, 50], Operations: ['25+25=50'] Exploring Operation: 33-12=21, Resulting Numbers: [50, 21] Generated Node #0,0,0: 71:[50, 21] Operation: 33-12=21 Moving to Node #0,0,0 Current State: 71:[50, 21], Operations: ['25+25=50', '33-12=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 2, 75, 16, 15 ]
19
[ "16-2=14", "75/15=5", "14+5=19" ]
Current State: 19:[2, 75, 16, 15], Operations: [] Exploring Operation: 16-2=14, Resulting Numbers: [75, 15, 14] Generated Node #2: [75, 15, 14] from Operation: 16-2=14 Current State: 19:[75, 15, 14], Operations: ['16-2=14'] Exploring Operation: 75/15=5, Resulting Numbers: [14, 5] Generated Node #3: [14, 5] from Operation: 75/15=5 Current State: 19:[14, 5], Operations: ['16-2=14', '75/15=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 75, 16, 15], Operations: [] Exploring Operation: 75-16=59, Resulting Numbers: [2, 15, 59] Generated Node #0,0: 19:[2, 15, 59] Operation: 75-16=59 Exploring Operation: 2+16=18, Resulting Numbers: [75, 15, 18] Generated Node #0,1: 19:[75, 15, 18] Operation: 2+16=18 Exploring Operation: 2+15=17, Resulting Numbers: [75, 16, 17] Generated Node #0,2: 19:[75, 16, 17] Operation: 2+15=17 Exploring Operation: 75/15=5, Resulting Numbers: [2, 16, 5] Generated Node #0,3: 19:[2, 16, 5] Operation: 75/15=5 Exploring Operation: 75-2=73, Resulting Numbers: [16, 15, 73] Generated Node #0,4: 19:[16, 15, 73] Operation: 75-2=73 Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[2, 16, 5], Operations: ['75/15=5'] Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #0,3,0: 19:[5, 14] Operation: 16-2=14 Exploring Operation: 2+5=7, Resulting Numbers: [16, 7] Generated Node #0,3,1: 19:[16, 7] Operation: 2+5=7 Exploring Operation: 2+16=18, Resulting Numbers: [5, 18] Generated Node #0,3,2: 19:[5, 18] Operation: 2+16=18 Exploring Operation: 5-2=3, Resulting Numbers: [16, 3] Generated Node #0,3,3: 19:[16, 3] Operation: 5-2=3 Exploring Operation: 2*5=10, Resulting Numbers: [16, 10] Generated Node #0,3,4: 19:[16, 10] Operation: 2*5=10 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 19:[16, 10], Operations: ['75/15=5', '2*5=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,19 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[16, 7], Operations: ['75/15=5', '2+5=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[5, 18], Operations: ['75/15=5', '2+16=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[5, 14], Operations: ['75/15=5', '16-2=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[2, 75, 16, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [2, 16, 5] Generated Node #0,3: 19:[2, 16, 5] Operation: 75/15=5 Moving to Node #0,3 Current State: 19:[2, 16, 5], Operations: ['75/15=5'] Exploring Operation: 16-2=14, Resulting Numbers: [5, 14] Generated Node #0,3,0: 19:[5, 14] Operation: 16-2=14 Moving to Node #0,3,0 Current State: 19:[5, 14], Operations: ['75/15=5', '16-2=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 6, 73, 83, 83 ]
57
[ "73+83=156", "156/6=26", "83-26=57" ]
Current State: 57:[6, 73, 83, 83], Operations: [] Exploring Operation: 73+83=156, Resulting Numbers: [6, 156] Generated Node #2: [6, 156] from Operation: 73+83=156 Current State: 57:[6, 156], Operations: ['73+83=156'] Exploring Operation: 156/6=26, Resulting Numbers: [26] 26,57 equal: Goal Reached Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[6, 73, 83, 83], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [6, 73, 1] Generated Node #0,0: 57:[6, 73, 1] Operation: 83/83=1 Moving to Node #0,0 Current State: 57:[6, 73, 1], Operations: ['83/83=1'] Exploring Operation: 73-6=67, Resulting Numbers: [1, 67] Generated Node #0,0,0: 57:[1, 67] Operation: 73-6=67 Moving to Node #0,0,0 Current State: 57:[1, 67], Operations: ['83/83=1', '73-6=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,57 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 18, 62, 65, 32 ]
22
[ "65-62=3", "18*3=54", "54-32=22" ]
Current State: 22:[18, 62, 65, 32], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [18, 32, 3] Generated Node #2: [18, 32, 3] from Operation: 65-62=3 Current State: 22:[18, 32, 3], Operations: ['65-62=3'] Exploring Operation: 18*3=54, Resulting Numbers: [32, 54] Generated Node #3: [32, 54] from Operation: 18*3=54 Current State: 22:[32, 54], Operations: ['65-62=3', '18*3=54'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 62, 65, 32], Operations: [] Exploring Operation: 62-18=44, Resulting Numbers: [65, 32, 44] Generated Node #0,0: 22:[65, 32, 44] Operation: 62-18=44 Exploring Operation: 65-18=47, Resulting Numbers: [62, 32, 47] Generated Node #0,1: 22:[62, 32, 47] Operation: 65-18=47 Exploring Operation: 65-62=3, Resulting Numbers: [18, 32, 3] Generated Node #0,2: 22:[18, 32, 3] Operation: 65-62=3 Exploring Operation: 62-32=30, Resulting Numbers: [18, 65, 30] Generated Node #0,3: 22:[18, 65, 30] Operation: 62-32=30 Exploring Operation: 65-32=33, Resulting Numbers: [18, 62, 33] Generated Node #0,4: 22:[18, 62, 33] Operation: 65-32=33 Moving to Node #0,2 Current State: 22:[18, 32, 3], Operations: ['65-62=3'] Exploring Operation: 32-3=29, Resulting Numbers: [18, 29] Generated Node #0,2,0: 22:[18, 29] Operation: 32-3=29 Exploring Operation: 18-3=15, Resulting Numbers: [32, 15] Generated Node #0,2,1: 22:[32, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [32, 6] Generated Node #0,2,2: 22:[32, 6] Operation: 18/3=6 Exploring Operation: 32-18=14, Resulting Numbers: [3, 14] Generated Node #0,2,3: 22:[3, 14] Operation: 32-18=14 Exploring Operation: 18+3=21, Resulting Numbers: [32, 21] Generated Node #0,2,4: 22:[32, 21] Operation: 18+3=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[3, 14], Operations: ['65-62=3', '32-18=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,22 unequal: No Solution No 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: 22:[18, 29], Operations: ['65-62=3', '32-3=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,22 unequal: No Solution No 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: 22:[32, 21], Operations: ['65-62=3', '18+3=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,22 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,22 unequal: No Solution No 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: 22:[32, 15], Operations: ['65-62=3', '18-3=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,22 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,22 unequal: No Solution No 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: 22:[32, 6], Operations: ['65-62=3', '18/3=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,22 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,22 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: 22:[18, 62, 33], Operations: ['65-32=33'] Exploring Operation: 62-18=44, Resulting Numbers: [33, 44] Generated Node #0,4,0: 22:[33, 44] Operation: 62-18=44 Exploring Operation: 18+62=80, Resulting Numbers: [33, 80] Generated Node #0,4,1: 22:[33, 80] Operation: 18+62=80 Exploring Operation: 33-18=15, Resulting Numbers: [62, 15] Generated Node #0,4,2: 22:[62, 15] Operation: 33-18=15 Exploring Operation: 18+33=51, Resulting Numbers: [62, 51] Generated Node #0,4,3: 22:[62, 51] Operation: 18+33=51 Exploring Operation: 62-33=29, Resulting Numbers: [18, 29] Generated Node #0,4,4: 22:[18, 29] Operation: 62-33=29 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[18, 29], Operations: ['65-32=33', '62-33=29'] Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,22 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,22 unequal: No Solution No 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: 22:[33, 44], Operations: ['65-32=33', '62-18=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,22 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,22 unequal: No Solution No 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: 22:[62, 15], Operations: ['65-32=33', '33-18=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,22 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,22 unequal: No Solution No 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: 22:[33, 80], Operations: ['65-32=33', '18+62=80'] Exploring Operation: 33*80=2640, Resulting Numbers: [2640] 2640,22 unequal: No Solution Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 33+80=113, Resulting Numbers: [113] 113,22 unequal: No Solution No 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: 22:[62, 51], Operations: ['65-32=33', '18+33=51'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 62*51=3162, Resulting Numbers: [3162] 3162,22 unequal: No Solution Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,22 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: 22:[18, 65, 30], Operations: ['62-32=30'] Exploring Operation: 30-18=12, Resulting Numbers: [65, 12] Generated Node #0,3,0: 22:[65, 12] Operation: 30-18=12 Exploring Operation: 18+65=83, Resulting Numbers: [30, 83] Generated Node #0,3,1: 22:[30, 83] Operation: 18+65=83 Exploring Operation: 65-30=35, Resulting Numbers: [18, 35] Generated Node #0,3,2: 22:[18, 35] Operation: 65-30=35 Exploring Operation: 18+30=48, Resulting Numbers: [65, 48] Generated Node #0,3,3: 22:[65, 48] Operation: 18+30=48 Exploring Operation: 65-18=47, Resulting Numbers: [30, 47] Generated Node #0,3,4: 22:[30, 47] Operation: 65-18=47 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[18, 35], Operations: ['62-32=30', '65-30=35'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[30, 47], Operations: ['62-32=30', '65-18=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,22 unequal: No Solution No 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: 22:[65, 12], Operations: ['62-32=30', '30-18=12'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,22 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,22 unequal: No Solution No 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: 22:[30, 83], Operations: ['62-32=30', '18+65=83'] Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,22 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,22 unequal: No Solution No 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: 22:[65, 48], Operations: ['62-32=30', '18+30=48'] Exploring Operation: 65*48=3120, Resulting Numbers: [3120] 3120,22 unequal: No Solution Exploring Operation: 65+48=113, Resulting Numbers: [113] 113,22 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,22 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: 22:[65, 32, 44], Operations: ['62-18=44'] Exploring Operation: 44-32=12, Resulting Numbers: [65, 12] Generated Node #0,0,0: 22:[65, 12] Operation: 44-32=12 Exploring Operation: 65-32=33, Resulting Numbers: [44, 33] Generated Node #0,0,1: 22:[44, 33] Operation: 65-32=33 Exploring Operation: 65-44=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 22:[32, 21] Operation: 65-44=21 Exploring Operation: 65+44=109, Resulting Numbers: [32, 109] Generated Node #0,0,3: 22:[32, 109] Operation: 65+44=109 Exploring Operation: 65+32=97, Resulting Numbers: [44, 97] Generated Node #0,0,4: 22:[44, 97] Operation: 65+32=97 Moving to Node #0,1 Current State: 22:[62, 32, 47], Operations: ['65-18=47'] Exploring Operation: 62-47=15, Resulting Numbers: [32, 15] Generated Node #0,1,0: 22:[32, 15] Operation: 62-47=15 Exploring Operation: 62-32=30, Resulting Numbers: [47, 30] Generated Node #0,1,1: 22:[47, 30] Operation: 62-32=30 Exploring Operation: 62+47=109, Resulting Numbers: [32, 109] Generated Node #0,1,2: 22:[32, 109] Operation: 62+47=109 Exploring Operation: 62+32=94, Resulting Numbers: [47, 94] Generated Node #0,1,3: 22:[47, 94] Operation: 62+32=94 Exploring Operation: 47-32=15, Resulting Numbers: [62, 15] Generated Node #0,1,4: 22:[62, 15] Operation: 47-32=15 Moving to Node #0,0,2 Current State: 22:[32, 21], Operations: ['62-18=44', '65-44=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,22 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[32, 15], Operations: ['65-18=47', '62-47=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[47, 30], Operations: ['65-18=47', '62-32=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[44, 33], Operations: ['62-18=44', '65-32=33'] Exploring Operation: 44*33=1452, Resulting Numbers: [1452] 1452,22 unequal: No Solution Exploring Operation: 44+33=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[65, 12], Operations: ['62-18=44', '44-32=12'] Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,22 unequal: No Solution Moving to Node #0,1,4 Current State: 22:[62, 15], Operations: ['65-18=47', '47-32=15'] Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,22 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[32, 109], Operations: ['65-18=47', '62+47=109'] Exploring Operation: 32+109=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 109-32=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 32*109=3488, Resulting Numbers: [3488] 3488,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[47, 94], Operations: ['65-18=47', '62+32=94'] Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 47+94=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 47*94=4418, Resulting Numbers: [4418] 4418,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[44, 97], Operations: ['62-18=44', '65+32=97'] Exploring Operation: 44*97=4268, Resulting Numbers: [4268] 4268,22 unequal: No Solution Exploring Operation: 44+97=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[32, 109], Operations: ['62-18=44', '65+44=109'] Exploring Operation: 32*109=3488, Resulting Numbers: [3488] 3488,22 unequal: No Solution Exploring Operation: 109-32=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 32+109=141, Resulting Numbers: [141] 141,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 23, 17, 15, 21 ]
30
[ "23-17=6", "15+21=36", "36-6=30" ]
Current State: 30:[23, 17, 15, 21], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [15, 21, 6] Generated Node #2: [15, 21, 6] from Operation: 23-17=6 Current State: 30:[15, 21, 6], Operations: ['23-17=6'] Exploring Operation: 15+21=36, Resulting Numbers: [6, 36] Generated Node #3: [6, 36] from Operation: 15+21=36 Current State: 30:[6, 36], Operations: ['23-17=6', '15+21=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[23, 17, 15, 21], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [17, 21, 8] Generated Node #0,0: 30:[17, 21, 8] Operation: 23-15=8 Exploring Operation: 23-17=6, Resulting Numbers: [15, 21, 6] Generated Node #0,1: 30:[15, 21, 6] Operation: 23-17=6 Exploring Operation: 21-17=4, Resulting Numbers: [23, 15, 4] Generated Node #0,2: 30:[23, 15, 4] Operation: 21-17=4 Exploring Operation: 21-15=6, Resulting Numbers: [23, 17, 6] Generated Node #0,3: 30:[23, 17, 6] Operation: 21-15=6 Exploring Operation: 23-21=2, Resulting Numbers: [17, 15, 2] Generated Node #0,4: 30:[17, 15, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[17, 15, 2], Operations: ['23-21=2'] Exploring Operation: 15*2=30, Resulting Numbers: [17, 30] Generated Node #0,4,0: 30:[17, 30] Operation: 15*2=30 Exploring Operation: 17-15=2, Resulting Numbers: [2, 2] Generated Node #0,4,1: 30:[2, 2] Operation: 17-15=2 Exploring Operation: 17+2=19, Resulting Numbers: [15, 19] Generated Node #0,4,2: 30:[15, 19] Operation: 17+2=19 Exploring Operation: 17-2=15, Resulting Numbers: [15, 15] Generated Node #0,4,3: 30:[15, 15] Operation: 17-2=15 Exploring Operation: 17+15=32, Resulting Numbers: [2, 32] Generated Node #0,4,4: 30:[2, 32] Operation: 17+15=32 Moving to Node #0,4,1 Current State: 30:[2, 2], Operations: ['23-21=2', '17-15=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[15, 15], Operations: ['23-21=2', '17-2=15'] Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,30 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[23, 17, 15, 21], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [17, 15, 2] Generated Node #0,4: 30:[17, 15, 2] Operation: 23-21=2 Moving to Node #0,4 Current State: 30:[17, 15, 2], Operations: ['23-21=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15, 15] Generated Node #0,4,3: 30:[15, 15] Operation: 17-2=15 Moving to Node #0,4,3 Current State: 30:[15, 15], Operations: ['23-21=2', '17-2=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 9, 63, 90, 3 ]
30
[ "9+90=99", "99/3=33", "63-33=30" ]
Current State: 30:[9, 63, 90, 3], Operations: [] Exploring Operation: 9+90=99, Resulting Numbers: [63, 3, 99] Generated Node #2: [63, 3, 99] from Operation: 9+90=99 Current State: 30:[63, 3, 99], Operations: ['9+90=99'] Exploring Operation: 99/3=33, Resulting Numbers: [63, 33] Generated Node #3: [63, 33] from Operation: 99/3=33 Current State: 30:[63, 33], Operations: ['9+90=99', '99/3=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[9, 63, 90, 3], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [9, 90, 21] Generated Node #0,0: 30:[9, 90, 21] Operation: 63/3=21 Exploring Operation: 63/9=7, Resulting Numbers: [90, 3, 7] Generated Node #0,1: 30:[90, 3, 7] Operation: 63/9=7 Exploring Operation: 90/3=30, Resulting Numbers: [9, 63, 30] Generated Node #0,2: 30:[9, 63, 30] Operation: 90/3=30 Exploring Operation: 90/9=10, Resulting Numbers: [63, 3, 10] Generated Node #0,3: 30:[63, 3, 10] Operation: 90/9=10 Exploring Operation: 90-63=27, Resulting Numbers: [9, 3, 27] Generated Node #0,4: 30:[9, 3, 27] Operation: 90-63=27 Moving to Node #0,4 Current State: 30:[9, 3, 27], Operations: ['90-63=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3, 3] Generated Node #0,4,0: 30:[3, 3] Operation: 27/9=3 Exploring Operation: 3+27=30, Resulting Numbers: [9, 30] Generated Node #0,4,1: 30:[9, 30] Operation: 3+27=30 Exploring Operation: 9/3=3, Resulting Numbers: [27, 3] Generated Node #0,4,2: 30:[27, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [27, 6] Generated Node #0,4,3: 30:[27, 6] Operation: 9-3=6 Exploring Operation: 27/3=9, Resulting Numbers: [9, 9] Generated Node #0,4,4: 30:[9, 9] Operation: 27/3=9 Moving to Node #0,3 Current State: 30:[63, 3, 10], Operations: ['90/9=10'] Exploring Operation: 3*10=30, Resulting Numbers: [63, 30] Generated Node #0,3,0: 30:[63, 30] Operation: 3*10=30 Exploring Operation: 63/3=21, Resulting Numbers: [10, 21] Generated Node #0,3,1: 30:[10, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [10, 60] Generated Node #0,3,2: 30:[10, 60] Operation: 63-3=60 Exploring Operation: 10-3=7, Resulting Numbers: [63, 7] Generated Node #0,3,3: 30:[63, 7] Operation: 10-3=7 Exploring Operation: 63-10=53, Resulting Numbers: [3, 53] Generated Node #0,3,4: 30:[3, 53] Operation: 63-10=53 Moving to Node #0,2 Current State: 30:[9, 63, 30], Operations: ['90/3=30'] Exploring Operation: 63-30=33, Resulting Numbers: [9, 33] Generated Node #0,2,0: 30:[9, 33] Operation: 63-30=33 Exploring Operation: 30-9=21, Resulting Numbers: [63, 21] Generated Node #0,2,1: 30:[63, 21] Operation: 30-9=21 Exploring Operation: 63-9=54, Resulting Numbers: [30, 54] Generated Node #0,2,2: 30:[30, 54] Operation: 63-9=54 Exploring Operation: 63/9=7, Resulting Numbers: [30, 7] Generated Node #0,2,3: 30:[30, 7] Operation: 63/9=7 Exploring Operation: 9+63=72, Resulting Numbers: [30, 72] Generated Node #0,2,4: 30:[30, 72] Operation: 9+63=72 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 30:[30, 7], Operations: ['90/3=30', '63/9=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,30 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[9, 33], Operations: ['90/3=30', '63-30=33'] Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[30, 54], Operations: ['90/3=30', '63-9=54'] Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[63, 21], Operations: ['90/3=30', '30-9=21'] Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 63*21=1323, Resulting Numbers: [1323] 1323,30 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 30:[30, 72], Operations: ['90/3=30', '9+63=72'] Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,30 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 30:[90, 3, 7], Operations: ['63/9=7'] Exploring Operation: 3+7=10, Resulting Numbers: [90, 10] Generated Node #0,1,0: 30:[90, 10] Operation: 3+7=10 Exploring Operation: 90/3=30, Resulting Numbers: [7, 30] Generated Node #0,1,1: 30:[7, 30] Operation: 90/3=30 Exploring Operation: 90-3=87, Resulting Numbers: [7, 87] Generated Node #0,1,2: 30:[7, 87] Operation: 90-3=87 Exploring Operation: 7-3=4, Resulting Numbers: [90, 4] Generated Node #0,1,3: 30:[90, 4] Operation: 7-3=4 Exploring Operation: 90-7=83, Resulting Numbers: [3, 83] Generated Node #0,1,4: 30:[3, 83] Operation: 90-7=83 Moving to Node #0,0 Current State: 30:[9, 90, 21], Operations: ['63/3=21'] Exploring Operation: 21-9=12, Resulting Numbers: [90, 12] Generated Node #0,0,0: 30:[90, 12] Operation: 21-9=12 Exploring Operation: 90/9=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 30:[21, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [21, 81] Generated Node #0,0,2: 30:[21, 81] Operation: 90-9=81 Exploring Operation: 9+21=30, Resulting Numbers: [90, 30] Generated Node #0,0,3: 30:[90, 30] Operation: 9+21=30 Exploring Operation: 90-21=69, Resulting Numbers: [9, 69] Generated Node #0,0,4: 30:[9, 69] Operation: 90-21=69 Moving to Node #0,4,0 Current State: 30:[3, 3], Operations: ['90-63=27', '27/9=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[9, 30], Operations: ['90-63=27', '3+27=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,30 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[7, 30], Operations: ['63/9=7', '90/3=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[9, 9], Operations: ['90-63=27', '27/3=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[27, 6], Operations: ['90-63=27', '9-3=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,30 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[27, 3], Operations: ['90-63=27', '9/3=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[9, 63, 90, 3], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [9, 3, 27] Generated Node #0,4: 30:[9, 3, 27] Operation: 90-63=27 Moving to Node #0,4 Current State: 30:[9, 3, 27], Operations: ['90-63=27'] Exploring Operation: 9/3=3, Resulting Numbers: [27, 3] Generated Node #0,4,2: 30:[27, 3] Operation: 9/3=3 Moving to Node #0,4,2 Current State: 30:[27, 3], Operations: ['90-63=27', '9/3=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.938368
hs_5
mult_heuristic
[ 1, 90, 86, 7 ]
99
[ "1+90=91", "91/7=13", "86+13=99" ]
Current State: 99:[1, 90, 86, 7], Operations: [] Exploring Operation: 1+90=91, Resulting Numbers: [86, 7, 91] Generated Node #2: [86, 7, 91] from Operation: 1+90=91 Current State: 99:[86, 7, 91], Operations: ['1+90=91'] Exploring Operation: 91/7=13, Resulting Numbers: [86, 13] Generated Node #3: [86, 13] from Operation: 91/7=13 Current State: 99:[86, 13], Operations: ['1+90=91', '91/7=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[1, 90, 86, 7], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [1, 7, 4] Generated Node #0,0: 99:[1, 7, 4] Operation: 90-86=4 Exploring Operation: 90+7=97, Resulting Numbers: [1, 86, 97] Generated Node #0,1: 99:[1, 86, 97] Operation: 90+7=97 Exploring Operation: 86+7=93, Resulting Numbers: [1, 90, 93] Generated Node #0,2: 99:[1, 90, 93] Operation: 86+7=93 Moving to Node #0,0 Current State: 99:[1, 7, 4], Operations: ['90-86=4'] Exploring Operation: 7+4=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 99:[1, 11] Operation: 7+4=11 Exploring Operation: 4-1=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 99:[7, 3] Operation: 4-1=3 Exploring Operation: 1+7=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 99:[4, 8] Operation: 1+7=8 Moving to Node #0,1 Current State: 99:[1, 86, 97], Operations: ['90+7=97'] Exploring Operation: 97-86=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 99:[1, 11] Operation: 97-86=11 Exploring Operation: 1+97=98, Resulting Numbers: [86, 98] Generated Node #0,1,1: 99:[86, 98] Operation: 1+97=98 Exploring Operation: 1+86=87, Resulting Numbers: [97, 87] Generated Node #0,1,2: 99:[97, 87] Operation: 1+86=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[1, 11], Operations: ['90+7=97', '97-86=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[86, 98], Operations: ['90+7=97', '1+97=98'] Exploring Operation: 86+98=184, Resulting Numbers: [184] 184,99 unequal: No Solution Exploring Operation: 98-86=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 86*98=8428, Resulting Numbers: [8428] 8428,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[97, 87], Operations: ['90+7=97', '1+86=87'] Exploring Operation: 97*87=8439, Resulting Numbers: [8439] 8439,99 unequal: No Solution Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 97+87=184, Resulting Numbers: [184] 184,99 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: 99:[1, 90, 93], Operations: ['86+7=93'] Exploring Operation: 1+90=91, Resulting Numbers: [93, 91] Generated Node #0,2,0: 99:[93, 91] Operation: 1+90=91 Exploring Operation: 1+93=94, Resulting Numbers: [90, 94] Generated Node #0,2,1: 99:[90, 94] Operation: 1+93=94 Exploring Operation: 93-90=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 99:[1, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[1, 3], Operations: ['86+7=93', '93-90=3'] Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[93, 91], Operations: ['86+7=93', '1+90=91'] Exploring Operation: 93+91=184, Resulting Numbers: [184] 184,99 unequal: No Solution Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 93*91=8463, Resulting Numbers: [8463] 8463,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[90, 94], Operations: ['86+7=93', '1+93=94'] Exploring Operation: 90*94=8460, Resulting Numbers: [8460] 8460,99 unequal: No Solution Exploring Operation: 90+94=184, Resulting Numbers: [184] 184,99 unequal: No Solution Exploring Operation: 94-90=4, Resulting Numbers: [4] 4,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 99:[1, 11], Operations: ['90-86=4', '7+4=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[7, 3], Operations: ['90-86=4', '4-1=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[4, 8], Operations: ['90-86=4', '1+7=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,99 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,99 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 98, 3, 78 ]
58
[ "6/3=2", "78*2=156", "156-98=58" ]
Current State: 58:[6, 98, 3, 78], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [98, 78, 2] Generated Node #2: [98, 78, 2] from Operation: 6/3=2 Current State: 58:[98, 78, 2], Operations: ['6/3=2'] Exploring Operation: 78*2=156, Resulting Numbers: [98, 156] Generated Node #3: [98, 156] from Operation: 78*2=156 Current State: 58:[98, 156], Operations: ['6/3=2', '78*2=156'] Exploring Operation: 156-98=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[6, 98, 3, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [98, 3, 13] Generated Node #0,0: 58:[98, 3, 13] Operation: 78/6=13 Exploring Operation: 98-78=20, Resulting Numbers: [6, 3, 20] Generated Node #0,1: 58:[6, 3, 20] Operation: 98-78=20 Exploring Operation: 78/3=26, Resulting Numbers: [6, 98, 26] Generated Node #0,2: 58:[6, 98, 26] Operation: 78/3=26 Moving to Node #0,1 Current State: 58:[6, 3, 20], Operations: ['98-78=20'] Exploring Operation: 3*20=60, Resulting Numbers: [6, 60] Generated Node #0,1,0: 58:[6, 60] Operation: 3*20=60 Exploring Operation: 6/3=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 58:[20, 2] Operation: 6/3=2 Exploring Operation: 6+20=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 58:[3, 26] Operation: 6+20=26 Moving to Node #0,2 Current State: 58:[6, 98, 26], Operations: ['78/3=26'] Exploring Operation: 6+26=32, Resulting Numbers: [98, 32] Generated Node #0,2,0: 58:[98, 32] Operation: 6+26=32 Exploring Operation: 98-26=72, Resulting Numbers: [6, 72] Generated Node #0,2,1: 58:[6, 72] Operation: 98-26=72 Exploring Operation: 98-6=92, Resulting Numbers: [26, 92] Generated Node #0,2,2: 58:[26, 92] Operation: 98-6=92 Moving to Node #0,0 Current State: 58:[98, 3, 13], Operations: ['78/6=13'] Exploring Operation: 13-3=10, Resulting Numbers: [98, 10] Generated Node #0,0,0: 58:[98, 10] Operation: 13-3=10 Exploring Operation: 98-3=95, Resulting Numbers: [13, 95] Generated Node #0,0,1: 58:[13, 95] Operation: 98-3=95 Exploring Operation: 98-13=85, Resulting Numbers: [3, 85] Generated Node #0,0,2: 58:[3, 85] Operation: 98-13=85 Moving to Node #0,1,2 Current State: 58:[3, 26], Operations: ['98-78=20', '6+20=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[6, 60], Operations: ['98-78=20', '3*20=60'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[20, 2], Operations: ['98-78=20', '6/3=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[6, 72], Operations: ['78/3=26', '98-26=72'] Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[3, 85], Operations: ['78/6=13', '98-13=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[26, 92], Operations: ['78/3=26', '98-6=92'] Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 26+92=118, Resulting Numbers: [118] 118,58 unequal: No Solution Exploring Operation: 26*92=2392, Resulting Numbers: [2392] 2392,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[98, 32], Operations: ['78/3=26', '6+26=32'] Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,58 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[98, 10], Operations: ['78/6=13', '13-3=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,58 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[13, 95], Operations: ['78/6=13', '98-3=95'] Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,58 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 27, 54, 48, 33 ]
83
[ "54/27=2", "48+33=81", "2+81=83" ]
Current State: 83:[27, 54, 48, 33], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [48, 33, 2] Generated Node #2: [48, 33, 2] from Operation: 54/27=2 Current State: 83:[48, 33, 2], Operations: ['54/27=2'] Exploring Operation: 48+33=81, Resulting Numbers: [2, 81] Generated Node #3: [2, 81] from Operation: 48+33=81 Current State: 83:[2, 81], Operations: ['54/27=2', '48+33=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[27, 54, 48, 33], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [48, 33, 81] Generated Node #0,0: 83:[48, 33, 81] Operation: 27+54=81 Exploring Operation: 27+48=75, Resulting Numbers: [54, 33, 75] Generated Node #0,1: 83:[54, 33, 75] Operation: 27+48=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[48, 33, 81], Operations: ['27+54=81'] Exploring Operation: 48+33=81, Resulting Numbers: [81, 81] Generated Node #0,0,0: 83:[81, 81] Operation: 48+33=81 Exploring Operation: 33+81=114, Resulting Numbers: [48, 114] Generated Node #0,0,1: 83:[48, 114] Operation: 33+81=114 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[81, 81], Operations: ['27+54=81', '48+33=81'] Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[48, 114], Operations: ['27+54=81', '33+81=114'] Exploring Operation: 48+114=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 114-48=66, Resulting Numbers: [66] 66,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[54, 33, 75], Operations: ['27+48=75'] Exploring Operation: 33+75=108, Resulting Numbers: [54, 108] Generated Node #0,1,0: 83:[54, 108] Operation: 33+75=108 Exploring Operation: 54+33=87, Resulting Numbers: [75, 87] Generated Node #0,1,1: 83:[75, 87] Operation: 54+33=87 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[75, 87], Operations: ['27+48=75', '54+33=87'] Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[54, 108], Operations: ['27+48=75', '33+75=108'] Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 54+108=162, Resulting Numbers: [162] 162,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 43, 35, 68, 6 ]
10
[ "43-35=8", "68-8=60", "60/6=10" ]
Current State: 10:[43, 35, 68, 6], Operations: [] Exploring Operation: 43-35=8, Resulting Numbers: [68, 6, 8] Generated Node #2: [68, 6, 8] from Operation: 43-35=8 Current State: 10:[68, 6, 8], Operations: ['43-35=8'] Exploring Operation: 68-8=60, Resulting Numbers: [6, 60] Generated Node #3: [6, 60] from Operation: 68-8=60 Current State: 10:[6, 60], Operations: ['43-35=8', '68-8=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[43, 35, 68, 6], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [35, 6, 25] Generated Node #0,0: 10:[35, 6, 25] Operation: 68-43=25 Moving to Node #0,0 Current State: 10:[35, 6, 25], Operations: ['68-43=25'] Exploring Operation: 35-25=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 10:[6, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 10:[6, 10], Operations: ['68-43=25', '35-25=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,10 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 73, 38, 54, 88 ]
69
[ "73-38=35", "88-54=34", "35+34=69" ]
Current State: 69:[73, 38, 54, 88], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [54, 88, 35] Generated Node #2: [54, 88, 35] from Operation: 73-38=35 Current State: 69:[54, 88, 35], Operations: ['73-38=35'] Exploring Operation: 88-54=34, Resulting Numbers: [35, 34] Generated Node #3: [35, 34] from Operation: 88-54=34 Current State: 69:[35, 34], Operations: ['73-38=35', '88-54=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[73, 38, 54, 88], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [73, 88, 16] Generated Node #0,0: 69:[73, 88, 16] Operation: 54-38=16 Moving to Node #0,0 Current State: 69:[73, 88, 16], Operations: ['54-38=16'] Exploring Operation: 88-16=72, Resulting Numbers: [73, 72] Generated Node #0,0,0: 69:[73, 72] Operation: 88-16=72 Moving to Node #0,0,0 Current State: 69:[73, 72], Operations: ['54-38=16', '88-16=72'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 24, 85, 89 ]
27
[ "24-1=23", "89-85=4", "23+4=27" ]
Current State: 27:[1, 24, 85, 89], Operations: [] Exploring Operation: 24-1=23, Resulting Numbers: [85, 89, 23] Generated Node #2: [85, 89, 23] from Operation: 24-1=23 Current State: 27:[85, 89, 23], Operations: ['24-1=23'] Exploring Operation: 89-85=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 89-85=4 Current State: 27:[23, 4], Operations: ['24-1=23', '89-85=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[1, 24, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [1, 24, 4] Generated Node #0,0: 27:[1, 24, 4] Operation: 89-85=4 Exploring Operation: 85-24=61, Resulting Numbers: [1, 89, 61] Generated Node #0,1: 27:[1, 89, 61] Operation: 85-24=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[1, 24, 4], Operations: ['89-85=4'] Exploring Operation: 4-1=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 27:[24, 3] Operation: 4-1=3 Exploring Operation: 1+24=25, Resulting Numbers: [4, 25] Generated Node #0,0,1: 27:[4, 25] Operation: 1+24=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[24, 3], Operations: ['89-85=4', '4-1=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[1, 24, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [1, 24, 4] Generated Node #0,0: 27:[1, 24, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 27:[1, 24, 4], Operations: ['89-85=4'] Exploring Operation: 4-1=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 27:[24, 3] Operation: 4-1=3 Moving to Node #0,0,0 Current State: 27:[24, 3], Operations: ['89-85=4', '4-1=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 39, 2, 30, 71 ]
37
[ "39*2=78", "71-30=41", "78-41=37" ]
Current State: 37:[39, 2, 30, 71], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [30, 71, 78] Generated Node #2: [30, 71, 78] from Operation: 39*2=78 Current State: 37:[30, 71, 78], Operations: ['39*2=78'] Exploring Operation: 71-30=41, Resulting Numbers: [78, 41] Generated Node #3: [78, 41] from Operation: 71-30=41 Current State: 37:[78, 41], Operations: ['39*2=78', '71-30=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[39, 2, 30, 71], Operations: [] Exploring Operation: 39-2=37, Resulting Numbers: [30, 71, 37] Generated Node #0,0: 37:[30, 71, 37] Operation: 39-2=37 Exploring Operation: 2+30=32, Resulting Numbers: [39, 71, 32] Generated Node #0,1: 37:[39, 71, 32] Operation: 2+30=32 Moving to Node #0,0 Current State: 37:[30, 71, 37], Operations: ['39-2=37'] Exploring Operation: 71-37=34, Resulting Numbers: [30, 34] Generated Node #0,0,0: 37:[30, 34] Operation: 71-37=34 Exploring Operation: 71-30=41, Resulting Numbers: [37, 41] Generated Node #0,0,1: 37:[37, 41] Operation: 71-30=41 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[37, 41], Operations: ['39-2=37', '71-30=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,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,0,0 Current State: 37:[30, 34], Operations: ['39-2=37', '71-37=34'] Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,37 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: 37:[39, 71, 32], Operations: ['2+30=32'] Exploring Operation: 71-39=32, Resulting Numbers: [32, 32] Generated Node #0,1,0: 37:[32, 32] Operation: 71-39=32 Exploring Operation: 71-32=39, Resulting Numbers: [39, 39] Generated Node #0,1,1: 37:[39, 39] Operation: 71-32=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[39, 39], Operations: ['2+30=32', '71-32=39'] Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,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,1,0 Current State: 37:[32, 32], Operations: ['2+30=32', '71-39=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,37 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
[ 32, 64, 49, 6 ]
38
[ "49-32=17", "6*17=102", "102-64=38" ]
Current State: 38:[32, 64, 49, 6], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [64, 6, 17] Generated Node #2: [64, 6, 17] from Operation: 49-32=17 Current State: 38:[64, 6, 17], Operations: ['49-32=17'] Exploring Operation: 6*17=102, Resulting Numbers: [64, 102] Generated Node #3: [64, 102] from Operation: 6*17=102 Current State: 38:[64, 102], Operations: ['49-32=17', '6*17=102'] Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[32, 64, 49, 6], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [49, 6, 2] Generated Node #0,0: 38:[49, 6, 2] Operation: 64/32=2 Exploring Operation: 64-49=15, Resulting Numbers: [32, 6, 15] Generated Node #0,1: 38:[32, 6, 15] Operation: 64-49=15 Moving to Node #0,1 Current State: 38:[32, 6, 15], Operations: ['64-49=15'] Exploring Operation: 32-15=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 38:[6, 17] Operation: 32-15=17 Exploring Operation: 32+6=38, Resulting Numbers: [15, 38] Generated Node #0,1,1: 38:[15, 38] Operation: 32+6=38 Moving to Node #0,0 Current State: 38:[49, 6, 2], Operations: ['64/32=2'] Exploring Operation: 49-6=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 38:[2, 43] Operation: 49-6=43 Exploring Operation: 6/2=3, Resulting Numbers: [49, 3] Generated Node #0,0,1: 38:[49, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[2, 43], Operations: ['64/32=2', '49-6=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[49, 3], Operations: ['64/32=2', '6/2=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,38 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 38:[15, 38], Operations: ['64-49=15', '32+6=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[6, 17], Operations: ['64-49=15', '32-15=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,38 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 30, 20, 39, 64 ]
38
[ "20*39=780", "780/30=26", "64-26=38" ]
Current State: 38:[30, 20, 39, 64], Operations: [] Exploring Operation: 20*39=780, Resulting Numbers: [30, 64, 780] Generated Node #2: [30, 64, 780] from Operation: 20*39=780 Current State: 38:[30, 64, 780], Operations: ['20*39=780'] Exploring Operation: 780/30=26, Resulting Numbers: [64, 26] Generated Node #3: [64, 26] from Operation: 780/30=26 Current State: 38:[64, 26], Operations: ['20*39=780', '780/30=26'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[30, 20, 39, 64], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [20, 39, 34] Generated Node #0,0: 38:[20, 39, 34] Operation: 64-30=34 Exploring Operation: 64-20=44, Resulting Numbers: [30, 39, 44] Generated Node #0,1: 38:[30, 39, 44] Operation: 64-20=44 Exploring Operation: 64-39=25, Resulting Numbers: [30, 20, 25] Generated Node #0,2: 38:[30, 20, 25] Operation: 64-39=25 Exploring Operation: 39-30=9, Resulting Numbers: [20, 64, 9] Generated Node #0,3: 38:[20, 64, 9] Operation: 39-30=9 Moving to Node #0,0 Current State: 38:[20, 39, 34], Operations: ['64-30=34'] Exploring Operation: 34-20=14, Resulting Numbers: [39, 14] Generated Node #0,0,0: 38:[39, 14] Operation: 34-20=14 Exploring Operation: 39-20=19, Resulting Numbers: [34, 19] Generated Node #0,0,1: 38:[34, 19] Operation: 39-20=19 Exploring Operation: 39-34=5, Resulting Numbers: [20, 5] Generated Node #0,0,2: 38:[20, 5] Operation: 39-34=5 Exploring Operation: 20+34=54, Resulting Numbers: [39, 54] Generated Node #0,0,3: 38:[39, 54] Operation: 20+34=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[34, 19], Operations: ['64-30=34', '39-20=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[20, 5], Operations: ['64-30=34', '39-34=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,38 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[39, 14], Operations: ['64-30=34', '34-20=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,38 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[39, 54], Operations: ['64-30=34', '20+34=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,38 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,38 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: 38:[30, 20, 25], Operations: ['64-39=25'] Exploring Operation: 20+25=45, Resulting Numbers: [30, 45] Generated Node #0,2,0: 38:[30, 45] Operation: 20+25=45 Exploring Operation: 25-20=5, Resulting Numbers: [30, 5] Generated Node #0,2,1: 38:[30, 5] Operation: 25-20=5 Exploring Operation: 30-20=10, Resulting Numbers: [25, 10] Generated Node #0,2,2: 38:[25, 10] Operation: 30-20=10 Exploring Operation: 30-25=5, Resulting Numbers: [20, 5] Generated Node #0,2,3: 38:[20, 5] Operation: 30-25=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[20, 5], Operations: ['64-39=25', '30-25=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[30, 5], Operations: ['64-39=25', '25-20=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,38 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[25, 10], Operations: ['64-39=25', '30-20=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[30, 45], Operations: ['64-39=25', '20+25=45'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,38 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,38 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: 38:[30, 39, 44], Operations: ['64-20=44'] Exploring Operation: 39-30=9, Resulting Numbers: [44, 9] Generated Node #0,1,0: 38:[44, 9] Operation: 39-30=9 Exploring Operation: 44-30=14, Resulting Numbers: [39, 14] Generated Node #0,1,1: 38:[39, 14] Operation: 44-30=14 Exploring Operation: 44-39=5, Resulting Numbers: [30, 5] Generated Node #0,1,2: 38:[30, 5] Operation: 44-39=5 Exploring Operation: 30+39=69, Resulting Numbers: [44, 69] Generated Node #0,1,3: 38:[44, 69] Operation: 30+39=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[39, 14], Operations: ['64-20=44', '44-30=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,38 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[30, 5], Operations: ['64-20=44', '44-39=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[44, 9], Operations: ['64-20=44', '39-30=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[44, 69], Operations: ['64-20=44', '30+39=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,38 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,38 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: 38:[20, 64, 9], Operations: ['39-30=9'] Exploring Operation: 64-9=55, Resulting Numbers: [20, 55] Generated Node #0,3,0: 38:[20, 55] Operation: 64-9=55 Exploring Operation: 64-20=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 38:[9, 44] Operation: 64-20=44 Exploring Operation: 20-9=11, Resulting Numbers: [64, 11] Generated Node #0,3,2: 38:[64, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [64, 29] Generated Node #0,3,3: 38:[64, 29] Operation: 20+9=29 Moving to Node #0,3,1 Current State: 38:[9, 44], Operations: ['39-30=9', '64-20=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,38 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[20, 55], Operations: ['39-30=9', '64-9=55'] Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,38 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[64, 11], Operations: ['39-30=9', '20-9=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[64, 29], Operations: ['39-30=9', '20+9=29'] Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,38 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,38 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 57, 65, 60 ]
80
[ "28+57=85", "65-60=5", "85-5=80" ]
Current State: 80:[28, 57, 65, 60], Operations: [] Exploring Operation: 28+57=85, Resulting Numbers: [65, 60, 85] Generated Node #2: [65, 60, 85] from Operation: 28+57=85 Current State: 80:[65, 60, 85], Operations: ['28+57=85'] Exploring Operation: 65-60=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 65-60=5 Current State: 80:[85, 5], Operations: ['28+57=85', '65-60=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[28, 57, 65, 60], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [28, 57, 5] Generated Node #0,0: 80:[28, 57, 5] Operation: 65-60=5 Exploring Operation: 60-57=3, Resulting Numbers: [28, 65, 3] Generated Node #0,1: 80:[28, 65, 3] Operation: 60-57=3 Moving to Node #0,1 Current State: 80:[28, 65, 3], Operations: ['60-57=3'] Exploring Operation: 65-28=37, Resulting Numbers: [3, 37] Generated Node #0,1,0: 80:[3, 37] Operation: 65-28=37 Exploring Operation: 28+65=93, Resulting Numbers: [3, 93] Generated Node #0,1,1: 80:[3, 93] Operation: 28+65=93 Moving to Node #0,0 Current State: 80:[28, 57, 5], Operations: ['65-60=5'] Exploring Operation: 28+57=85, Resulting Numbers: [5, 85] Generated Node #0,0,0: 80:[5, 85] Operation: 28+57=85 Exploring Operation: 57-28=29, Resulting Numbers: [5, 29] Generated Node #0,0,1: 80:[5, 29] Operation: 57-28=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[5, 85], Operations: ['65-60=5', '28+57=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[28, 57, 65, 60], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [28, 57, 5] Generated Node #0,0: 80:[28, 57, 5] Operation: 65-60=5 Moving to Node #0,0 Current State: 80:[28, 57, 5], Operations: ['65-60=5'] Exploring Operation: 28+57=85, Resulting Numbers: [5, 85] Generated Node #0,0,0: 80:[5, 85] Operation: 28+57=85 Moving to Node #0,0,0 Current State: 80:[5, 85], Operations: ['65-60=5', '28+57=85'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 68, 65, 21, 71 ]
41
[ "68+65=133", "21+71=92", "133-92=41" ]
Current State: 41:[68, 65, 21, 71], Operations: [] Exploring Operation: 68+65=133, Resulting Numbers: [21, 71, 133] Generated Node #2: [21, 71, 133] from Operation: 68+65=133 Current State: 41:[21, 71, 133], Operations: ['68+65=133'] Exploring Operation: 21+71=92, Resulting Numbers: [133, 92] Generated Node #3: [133, 92] from Operation: 21+71=92 Current State: 41:[133, 92], Operations: ['68+65=133', '21+71=92'] Exploring Operation: 133-92=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[68, 65, 21, 71], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [65, 71, 47] Generated Node #0,0: 41:[65, 71, 47] Operation: 68-21=47 Exploring Operation: 71-21=50, Resulting Numbers: [68, 65, 50] Generated Node #0,1: 41:[68, 65, 50] Operation: 71-21=50 Exploring Operation: 65-21=44, Resulting Numbers: [68, 71, 44] Generated Node #0,2: 41:[68, 71, 44] Operation: 65-21=44 Moving to Node #0,0 Current State: 41:[65, 71, 47], Operations: ['68-21=47'] Exploring Operation: 65-47=18, Resulting Numbers: [71, 18] Generated Node #0,0,0: 41:[71, 18] Operation: 65-47=18 Exploring Operation: 71-65=6, Resulting Numbers: [47, 6] Generated Node #0,0,1: 41:[47, 6] Operation: 71-65=6 Exploring Operation: 71-47=24, Resulting Numbers: [65, 24] Generated Node #0,0,2: 41:[65, 24] Operation: 71-47=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[47, 6], Operations: ['68-21=47', '71-65=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,41 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[68, 65, 21, 71], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [65, 71, 47] Generated Node #0,0: 41:[65, 71, 47] Operation: 68-21=47 Moving to Node #0,0 Current State: 41:[65, 71, 47], Operations: ['68-21=47'] Exploring Operation: 71-65=6, Resulting Numbers: [47, 6] Generated Node #0,0,1: 41:[47, 6] Operation: 71-65=6 Moving to Node #0,0,1 Current State: 41:[47, 6], Operations: ['68-21=47', '71-65=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 16, 9, 1, 10 ]
70
[ "16-9=7", "1*10=10", "7*10=70" ]
Current State: 70:[16, 9, 1, 10], Operations: [] Exploring Operation: 16-9=7, Resulting Numbers: [1, 10, 7] Generated Node #2: [1, 10, 7] from Operation: 16-9=7 Current State: 70:[1, 10, 7], Operations: ['16-9=7'] Exploring Operation: 1*10=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 1*10=10 Current State: 70:[7, 10], Operations: ['16-9=7', '1*10=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[16, 9, 1, 10], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [9, 10, 15] Generated Node #0,0: 70:[9, 10, 15] Operation: 16-1=15 Exploring Operation: 16*1=16, Resulting Numbers: [9, 10, 16] Generated Node #0,1: 70:[9, 10, 16] Operation: 16*1=16 Exploring Operation: 16-9=7, Resulting Numbers: [1, 10, 7] Generated Node #0,2: 70:[1, 10, 7] Operation: 16-9=7 Exploring Operation: 9+1=10, Resulting Numbers: [16, 10, 10] Generated Node #0,3: 70:[16, 10, 10] Operation: 9+1=10 Exploring Operation: 16/1=16, Resulting Numbers: [9, 10, 16] Generated Node #0,4: 70:[9, 10, 16] Operation: 16/1=16 Moving to Node #0,2 Current State: 70:[1, 10, 7], Operations: ['16-9=7'] Exploring Operation: 10/1=10, Resulting Numbers: [7, 10] Generated Node #0,2,0: 70:[7, 10] Operation: 10/1=10 Exploring Operation: 1*10=10, Resulting Numbers: [7, 10] Generated Node #0,2,1: 70:[7, 10] Operation: 1*10=10 Exploring Operation: 1*7=7, Resulting Numbers: [10, 7] Generated Node #0,2,2: 70:[10, 7] Operation: 1*7=7 Exploring Operation: 7/1=7, Resulting Numbers: [10, 7] Generated Node #0,2,3: 70:[10, 7] Operation: 7/1=7 Exploring Operation: 1+10=11, Resulting Numbers: [7, 11] Generated Node #0,2,4: 70:[7, 11] Operation: 1+10=11 Moving to Node #0,3 Current State: 70:[16, 10, 10], Operations: ['9+1=10'] Exploring Operation: 16-10=6, Resulting Numbers: [10, 6] Generated Node #0,3,0: 70:[10, 6] Operation: 16-10=6 Exploring Operation: 10-10=0, Resulting Numbers: [16, 0] Generated Node #0,3,1: 70:[16, 0] Operation: 10-10=0 Exploring Operation: 16-10=6, Resulting Numbers: [10, 6] Generated Node #0,3,2: 70:[10, 6] Operation: 16-10=6 Exploring Operation: 10/10=1, Resulting Numbers: [16, 1] Generated Node #0,3,3: 70:[16, 1] Operation: 10/10=1 Exploring Operation: 10+10=20, Resulting Numbers: [16, 20] Generated Node #0,3,4: 70:[16, 20] Operation: 10+10=20 Moving to Node #0,0 Current State: 70:[9, 10, 15], Operations: ['16-1=15'] Exploring Operation: 9+15=24, Resulting Numbers: [10, 24] Generated Node #0,0,0: 70:[10, 24] Operation: 9+15=24 Exploring Operation: 9+10=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 70:[15, 19] Operation: 9+10=19 Exploring Operation: 15-9=6, Resulting Numbers: [10, 6] Generated Node #0,0,2: 70:[10, 6] Operation: 15-9=6 Exploring Operation: 10-9=1, Resulting Numbers: [15, 1] Generated Node #0,0,3: 70:[15, 1] Operation: 10-9=1 Exploring Operation: 15-10=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 70:[9, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[10, 6], Operations: ['16-1=15', '15-9=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 70:[9, 5], Operations: ['16-1=15', '15-10=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[15, 1], Operations: ['16-1=15', '10-9=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[15, 19], Operations: ['16-1=15', '9+10=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,70 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[10, 24], Operations: ['16-1=15', '9+15=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,70 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,70 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: 70:[9, 10, 16], Operations: ['16*1=16'] Exploring Operation: 9+16=25, Resulting Numbers: [10, 25] Generated Node #0,1,0: 70:[10, 25] Operation: 9+16=25 Exploring Operation: 9+10=19, Resulting Numbers: [16, 19] Generated Node #0,1,1: 70:[16, 19] Operation: 9+10=19 Exploring Operation: 16-9=7, Resulting Numbers: [10, 7] Generated Node #0,1,2: 70:[10, 7] Operation: 16-9=7 Exploring Operation: 10-9=1, Resulting Numbers: [16, 1] Generated Node #0,1,3: 70:[16, 1] Operation: 10-9=1 Exploring Operation: 16-10=6, Resulting Numbers: [9, 6] Generated Node #0,1,4: 70:[9, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[10, 7], Operations: ['16*1=16', '16-9=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[16, 9, 1, 10], Operations: [] Exploring Operation: 16*1=16, Resulting Numbers: [9, 10, 16] Generated Node #0,1: 70:[9, 10, 16] Operation: 16*1=16 Moving to Node #0,1 Current State: 70:[9, 10, 16], Operations: ['16*1=16'] Exploring Operation: 16-9=7, Resulting Numbers: [10, 7] Generated Node #0,1,2: 70:[10, 7] Operation: 16-9=7 Moving to Node #0,1,2 Current State: 70:[10, 7], Operations: ['16*1=16', '16-9=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 60, 28, 25, 20 ]
56
[ "60/20=3", "28+25=53", "3+53=56" ]
Current State: 56:[60, 28, 25, 20], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [28, 25, 3] Generated Node #2: [28, 25, 3] from Operation: 60/20=3 Current State: 56:[28, 25, 3], Operations: ['60/20=3'] Exploring Operation: 28+25=53, Resulting Numbers: [3, 53] Generated Node #3: [3, 53] from Operation: 28+25=53 Current State: 56:[3, 53], Operations: ['60/20=3', '28+25=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[60, 28, 25, 20], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [60, 28, 5] Generated Node #0,0: 56:[60, 28, 5] Operation: 25-20=5 Exploring Operation: 60/20=3, Resulting Numbers: [28, 25, 3] Generated Node #0,1: 56:[28, 25, 3] Operation: 60/20=3 Exploring Operation: 28-20=8, Resulting Numbers: [60, 25, 8] Generated Node #0,2: 56:[60, 25, 8] Operation: 28-20=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[28, 25, 3], Operations: ['60/20=3'] Exploring Operation: 28+25=53, Resulting Numbers: [3, 53] Generated Node #0,1,0: 56:[3, 53] Operation: 28+25=53 Exploring Operation: 25+3=28, Resulting Numbers: [28, 28] Generated Node #0,1,1: 56:[28, 28] Operation: 25+3=28 Exploring Operation: 28-25=3, Resulting Numbers: [3, 3] Generated Node #0,1,2: 56:[3, 3] Operation: 28-25=3 Moving to Node #0,1,1 Current State: 56:[28, 28], Operations: ['60/20=3', '25+3=28'] Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[60, 28, 25, 20], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [28, 25, 3] Generated Node #0,1: 56:[28, 25, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 56:[28, 25, 3], Operations: ['60/20=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28, 28] Generated Node #0,1,1: 56:[28, 28] Operation: 25+3=28 Moving to Node #0,1,1 Current State: 56:[28, 28], Operations: ['60/20=3', '25+3=28'] Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 42, 2, 96, 89 ]
40
[ "42+96=138", "2*89=178", "178-138=40" ]
Current State: 40:[42, 2, 96, 89], Operations: [] Exploring Operation: 42+96=138, Resulting Numbers: [2, 89, 138] Generated Node #2: [2, 89, 138] from Operation: 42+96=138 Current State: 40:[2, 89, 138], Operations: ['42+96=138'] Exploring Operation: 2*89=178, Resulting Numbers: [138, 178] Generated Node #3: [138, 178] from Operation: 2*89=178 Current State: 40:[138, 178], Operations: ['42+96=138', '2*89=178'] Exploring Operation: 178-138=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[42, 2, 96, 89], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [42, 89, 48] Generated Node #0,0: 40:[42, 89, 48] Operation: 96/2=48 Exploring Operation: 96-89=7, Resulting Numbers: [42, 2, 7] Generated Node #0,1: 40:[42, 2, 7] Operation: 96-89=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[42, 2, 7], Operations: ['96-89=7'] Exploring Operation: 42-2=40, Resulting Numbers: [7, 40] Generated Node #0,1,0: 40:[7, 40] Operation: 42-2=40 Exploring Operation: 42/7=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 40:[2, 6] Operation: 42/7=6 Moving to Node #0,1,0 Current State: 40:[7, 40], Operations: ['96-89=7', '42-2=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[2, 6], Operations: ['96-89=7', '42/7=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[42, 89, 48], Operations: ['96/2=48'] Exploring Operation: 89-48=41, Resulting Numbers: [42, 41] Generated Node #0,0,0: 40:[42, 41] Operation: 89-48=41 Exploring Operation: 89-42=47, Resulting Numbers: [48, 47] Generated Node #0,0,1: 40:[48, 47] Operation: 89-42=47 Moving to Node #0,0,0 Current State: 40:[42, 41], Operations: ['96/2=48', '89-48=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,40 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[48, 47], Operations: ['96/2=48', '89-42=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,40 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,40 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, 95, 10, 40 ]
95
[ "31+10=41", "41-40=1", "95*1=95" ]
Current State: 95:[31, 95, 10, 40], Operations: [] Exploring Operation: 31+10=41, Resulting Numbers: [95, 40, 41] Generated Node #2: [95, 40, 41] from Operation: 31+10=41 Current State: 95:[95, 40, 41], Operations: ['31+10=41'] Exploring Operation: 41-40=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 41-40=1 Current State: 95:[95, 1], Operations: ['31+10=41', '41-40=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[31, 95, 10, 40], Operations: [] Exploring Operation: 31+40=71, Resulting Numbers: [95, 10, 71] Generated Node #0,0: 95:[95, 10, 71] Operation: 31+40=71 Exploring Operation: 40/10=4, Resulting Numbers: [31, 95, 4] Generated Node #0,1: 95:[31, 95, 4] Operation: 40/10=4 Exploring Operation: 40-31=9, Resulting Numbers: [95, 10, 9] Generated Node #0,2: 95:[95, 10, 9] Operation: 40-31=9 Exploring Operation: 40-10=30, Resulting Numbers: [31, 95, 30] Generated Node #0,3: 95:[31, 95, 30] Operation: 40-10=30 Exploring Operation: 31-10=21, Resulting Numbers: [95, 40, 21] Generated Node #0,4: 95:[95, 40, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[95, 10, 9], Operations: ['40-31=9'] Exploring Operation: 10+9=19, Resulting Numbers: [95, 19] Generated Node #0,2,0: 95:[95, 19] Operation: 10+9=19 Exploring Operation: 10*9=90, Resulting Numbers: [95, 90] Generated Node #0,2,1: 95:[95, 90] Operation: 10*9=90 Exploring Operation: 95+10=105, Resulting Numbers: [9, 105] Generated Node #0,2,2: 95:[9, 105] Operation: 95+10=105 Exploring Operation: 10-9=1, Resulting Numbers: [95, 1] Generated Node #0,2,3: 95:[95, 1] Operation: 10-9=1 Exploring Operation: 95-10=85, Resulting Numbers: [9, 85] Generated Node #0,2,4: 95:[9, 85] Operation: 95-10=85 Moving to Node #0,2,0 Current State: 95:[95, 19], Operations: ['40-31=9', '10+9=19'] Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,95 unequal: No Solution Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,95 unequal: No Solution Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[95, 1], Operations: ['40-31=9', '10-9=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[31, 95, 10, 40], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [95, 10, 9] Generated Node #0,2: 95:[95, 10, 9] Operation: 40-31=9 Moving to Node #0,2 Current State: 95:[95, 10, 9], Operations: ['40-31=9'] Exploring Operation: 10-9=1, Resulting Numbers: [95, 1] Generated Node #0,2,3: 95:[95, 1] Operation: 10-9=1 Moving to Node #0,2,3 Current State: 95:[95, 1], Operations: ['40-31=9', '10-9=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 48, 15, 53, 91 ]
96
[ "15+91=106", "48*106=5088", "5088/53=96" ]
Current State: 96:[48, 15, 53, 91], Operations: [] Exploring Operation: 15+91=106, Resulting Numbers: [48, 53, 106] Generated Node #2: [48, 53, 106] from Operation: 15+91=106 Current State: 96:[48, 53, 106], Operations: ['15+91=106'] Exploring Operation: 48*106=5088, Resulting Numbers: [53, 5088] Generated Node #3: [53, 5088] from Operation: 48*106=5088 Current State: 96:[53, 5088], Operations: ['15+91=106', '48*106=5088'] Exploring Operation: 5088/53=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 15, 53, 91], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [15, 91, 5] Generated Node #0,0: 96:[15, 91, 5] Operation: 53-48=5 Exploring Operation: 91-53=38, Resulting Numbers: [48, 15, 38] Generated Node #0,1: 96:[48, 15, 38] Operation: 91-53=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[15, 91, 5], Operations: ['53-48=5'] Exploring Operation: 15/5=3, Resulting Numbers: [91, 3] Generated Node #0,0,0: 96:[91, 3] Operation: 15/5=3 Exploring Operation: 91+5=96, Resulting Numbers: [15, 96] Generated Node #0,0,1: 96:[15, 96] Operation: 91+5=96 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[15, 96], Operations: ['53-48=5', '91+5=96'] Exploring Operation: 15+96=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[91, 3], Operations: ['53-48=5', '15/5=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,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,1 Current State: 96:[48, 15, 38], Operations: ['91-53=38'] Exploring Operation: 38-15=23, Resulting Numbers: [48, 23] Generated Node #0,1,0: 96:[48, 23] Operation: 38-15=23 Exploring Operation: 48-38=10, Resulting Numbers: [15, 10] Generated Node #0,1,1: 96:[15, 10] Operation: 48-38=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[48, 23], Operations: ['91-53=38', '38-15=23'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,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,1,1 Current State: 96:[15, 10], Operations: ['91-53=38', '48-38=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,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 No solution found.
0
hs_2
sum_heuristic
[ 19, 46, 9, 45 ]
49
[ "19*45=855", "855/9=95", "95-46=49" ]
Current State: 49:[19, 46, 9, 45], Operations: [] Exploring Operation: 19*45=855, Resulting Numbers: [46, 9, 855] Generated Node #2: [46, 9, 855] from Operation: 19*45=855 Current State: 49:[46, 9, 855], Operations: ['19*45=855'] Exploring Operation: 855/9=95, Resulting Numbers: [46, 95] Generated Node #3: [46, 95] from Operation: 855/9=95 Current State: 49:[46, 95], Operations: ['19*45=855', '855/9=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[19, 46, 9, 45], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [46, 45, 10] Generated Node #0,0: 49:[46, 45, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[46, 45, 10], Operations: ['19-9=10'] Exploring Operation: 46-45=1, Resulting Numbers: [10, 1] Generated Node #0,0,0: 49:[10, 1] Operation: 46-45=1 Moving to Node #0,0,0 Current State: 49:[10, 1], Operations: ['19-9=10', '46-45=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,49 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
[ 49, 34, 74, 95 ]
86
[ "49+34=83", "74+95=169", "169-83=86" ]
Current State: 86:[49, 34, 74, 95], Operations: [] Exploring Operation: 49+34=83, Resulting Numbers: [74, 95, 83] Generated Node #2: [74, 95, 83] from Operation: 49+34=83 Current State: 86:[74, 95, 83], Operations: ['49+34=83'] Exploring Operation: 74+95=169, Resulting Numbers: [83, 169] Generated Node #3: [83, 169] from Operation: 74+95=169 Current State: 86:[83, 169], Operations: ['49+34=83', '74+95=169'] Exploring Operation: 169-83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[49, 34, 74, 95], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [34, 74, 46] Generated Node #0,0: 86:[34, 74, 46] Operation: 95-49=46 Exploring Operation: 49+34=83, Resulting Numbers: [74, 95, 83] Generated Node #0,1: 86:[74, 95, 83] Operation: 49+34=83 Exploring Operation: 74-34=40, Resulting Numbers: [49, 95, 40] Generated Node #0,2: 86:[49, 95, 40] Operation: 74-34=40 Exploring Operation: 49-34=15, Resulting Numbers: [74, 95, 15] Generated Node #0,3: 86:[74, 95, 15] Operation: 49-34=15 Exploring Operation: 95-74=21, Resulting Numbers: [49, 34, 21] Generated Node #0,4: 86:[49, 34, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[49, 95, 40], Operations: ['74-34=40'] Exploring Operation: 95+40=135, Resulting Numbers: [49, 135] Generated Node #0,2,0: 86:[49, 135] Operation: 95+40=135 Exploring Operation: 95-40=55, Resulting Numbers: [49, 55] Generated Node #0,2,1: 86:[49, 55] Operation: 95-40=55 Exploring Operation: 49+40=89, Resulting Numbers: [95, 89] Generated Node #0,2,2: 86:[95, 89] Operation: 49+40=89 Exploring Operation: 49-40=9, Resulting Numbers: [95, 9] Generated Node #0,2,3: 86:[95, 9] Operation: 49-40=9 Exploring Operation: 95-49=46, Resulting Numbers: [40, 46] Generated Node #0,2,4: 86:[40, 46] Operation: 95-49=46 Moving to Node #0,2,4 Current State: 86:[40, 46], Operations: ['74-34=40', '95-49=46'] Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,86 unequal: No Solution Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[49, 34, 74, 95], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [49, 95, 40] Generated Node #0,2: 86:[49, 95, 40] Operation: 74-34=40 Moving to Node #0,2 Current State: 86:[49, 95, 40], Operations: ['74-34=40'] Exploring Operation: 95-49=46, Resulting Numbers: [40, 46] Generated Node #0,2,4: 86:[40, 46] Operation: 95-49=46 Moving to Node #0,2,4 Current State: 86:[40, 46], Operations: ['74-34=40', '95-49=46'] Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 59, 65, 83, 64 ]
13
[ "65-59=6", "83-64=19", "19-6=13" ]
Current State: 13:[59, 65, 83, 64], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [83, 64, 6] Generated Node #2: [83, 64, 6] from Operation: 65-59=6 Current State: 13:[83, 64, 6], Operations: ['65-59=6'] Exploring Operation: 83-64=19, Resulting Numbers: [6, 19] Generated Node #3: [6, 19] from Operation: 83-64=19 Current State: 13:[6, 19], Operations: ['65-59=6', '83-64=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[59, 65, 83, 64], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [83, 64, 6] Generated Node #0,0: 13:[83, 64, 6] Operation: 65-59=6 Exploring Operation: 83-65=18, Resulting Numbers: [59, 64, 18] Generated Node #0,1: 13:[59, 64, 18] Operation: 83-65=18 Exploring Operation: 65-64=1, Resulting Numbers: [59, 83, 1] Generated Node #0,2: 13:[59, 83, 1] Operation: 65-64=1 Exploring Operation: 83-64=19, Resulting Numbers: [59, 65, 19] Generated Node #0,3: 13:[59, 65, 19] Operation: 83-64=19 Exploring Operation: 83-59=24, Resulting Numbers: [65, 64, 24] Generated Node #0,4: 13:[65, 64, 24] Operation: 83-59=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[59, 64, 18], Operations: ['83-65=18'] Exploring Operation: 59-18=41, Resulting Numbers: [64, 41] Generated Node #0,1,0: 13:[64, 41] Operation: 59-18=41 Exploring Operation: 64-18=46, Resulting Numbers: [59, 46] Generated Node #0,1,1: 13:[59, 46] Operation: 64-18=46 Exploring Operation: 59+64=123, Resulting Numbers: [18, 123] Generated Node #0,1,2: 13:[18, 123] Operation: 59+64=123 Exploring Operation: 64-59=5, Resulting Numbers: [18, 5] Generated Node #0,1,3: 13:[18, 5] Operation: 64-59=5 Exploring Operation: 59+18=77, Resulting Numbers: [64, 77] Generated Node #0,1,4: 13:[64, 77] Operation: 59+18=77 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[18, 5], Operations: ['83-65=18', '64-59=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[59, 65, 83, 64], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [59, 64, 18] Generated Node #0,1: 13:[59, 64, 18] Operation: 83-65=18 Moving to Node #0,1 Current State: 13:[59, 64, 18], Operations: ['83-65=18'] Exploring Operation: 64-59=5, Resulting Numbers: [18, 5] Generated Node #0,1,3: 13:[18, 5] Operation: 64-59=5 Moving to Node #0,1,3 Current State: 13:[18, 5], Operations: ['83-65=18', '64-59=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 1, 27, 58, 98 ]
66
[ "27-1=26", "98-58=40", "26+40=66" ]
Current State: 66:[1, 27, 58, 98], Operations: [] Exploring Operation: 27-1=26, Resulting Numbers: [58, 98, 26] Generated Node #2: [58, 98, 26] from Operation: 27-1=26 Current State: 66:[58, 98, 26], Operations: ['27-1=26'] Exploring Operation: 98-58=40, Resulting Numbers: [26, 40] Generated Node #3: [26, 40] from Operation: 98-58=40 Current State: 66:[26, 40], Operations: ['27-1=26', '98-58=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[1, 27, 58, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [1, 27, 40] Generated Node #0,0: 66:[1, 27, 40] Operation: 98-58=40 Moving to Node #0,0 Current State: 66:[1, 27, 40], Operations: ['98-58=40'] Exploring Operation: 27+40=67, Resulting Numbers: [1, 67] Generated Node #0,0,0: 66:[1, 67] Operation: 27+40=67 Moving to Node #0,0,0 Current State: 66:[1, 67], Operations: ['98-58=40', '27+40=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[1, 27, 58, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [1, 27, 40] Generated Node #0,0: 66:[1, 27, 40] Operation: 98-58=40 Moving to Node #0,0 Current State: 66:[1, 27, 40], Operations: ['98-58=40'] Exploring Operation: 27+40=67, Resulting Numbers: [1, 67] Generated Node #0,0,0: 66:[1, 67] Operation: 27+40=67 Moving to Node #0,0,0 Current State: 66:[1, 67], Operations: ['98-58=40', '27+40=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 26, 84, 5, 8 ]
32
[ "26-5=21", "84*8=672", "672/21=32" ]
Current State: 32:[26, 84, 5, 8], Operations: [] Exploring Operation: 26-5=21, Resulting Numbers: [84, 8, 21] Generated Node #2: [84, 8, 21] from Operation: 26-5=21 Current State: 32:[84, 8, 21], Operations: ['26-5=21'] Exploring Operation: 84*8=672, Resulting Numbers: [21, 672] Generated Node #3: [21, 672] from Operation: 84*8=672 Current State: 32:[21, 672], Operations: ['26-5=21', '84*8=672'] Exploring Operation: 672/21=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[26, 84, 5, 8], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [5, 8, 58] Generated Node #0,0: 32:[5, 8, 58] Operation: 84-26=58 Exploring Operation: 84-8=76, Resulting Numbers: [26, 5, 76] Generated Node #0,1: 32:[26, 5, 76] Operation: 84-8=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[5, 8, 58], Operations: ['84-26=58'] Exploring Operation: 58-8=50, Resulting Numbers: [5, 50] Generated Node #0,0,0: 32:[5, 50] Operation: 58-8=50 Exploring Operation: 58-5=53, Resulting Numbers: [8, 53] Generated Node #0,0,1: 32:[8, 53] Operation: 58-5=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[5, 50], Operations: ['84-26=58', '58-8=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,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:[8, 53], Operations: ['84-26=58', '58-5=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,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:[26, 5, 76], Operations: ['84-8=76'] Exploring Operation: 26+5=31, Resulting Numbers: [76, 31] Generated Node #0,1,0: 32:[76, 31] Operation: 26+5=31 Exploring Operation: 76-26=50, Resulting Numbers: [5, 50] Generated Node #0,1,1: 32:[5, 50] Operation: 76-26=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[5, 50], Operations: ['84-8=76', '76-26=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,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:[76, 31], Operations: ['84-8=76', '26+5=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,32 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,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