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
[ 96, 62, 81, 77 ]
86
[ "81-77=4", "96/4=24", "62+24=86" ]
Current State: 86:[96, 62, 81, 77], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [96, 62, 4] Generated Node #2: [96, 62, 4] from Operation: 81-77=4 Current State: 86:[96, 62, 4], Operations: ['81-77=4'] Exploring Operation: 96/4=24, Resulting Numbers: [62, 24] Generated Node #3: [62, 24] from Operation: 96/4=24 Current State: 86:[62, 24], Operations: ['81-77=4', '96/4=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[96, 62, 81, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [96, 81, 15] Generated Node #0,0: 86:[96, 81, 15] Operation: 77-62=15 Exploring Operation: 96-62=34, Resulting Numbers: [81, 77, 34] Generated Node #0,1: 86:[81, 77, 34] Operation: 96-62=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[81, 77, 34], Operations: ['96-62=34'] Exploring Operation: 77-34=43, Resulting Numbers: [81, 43] Generated Node #0,1,0: 86:[81, 43] Operation: 77-34=43 Exploring Operation: 81-77=4, Resulting Numbers: [34, 4] Generated Node #0,1,1: 86:[34, 4] Operation: 81-77=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[81, 43], Operations: ['96-62=34', '77-34=43'] Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,86 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[34, 4], Operations: ['96-62=34', '81-77=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[96, 81, 15], Operations: ['77-62=15'] Exploring Operation: 96-15=81, Resulting Numbers: [81, 81] Generated Node #0,0,0: 86:[81, 81] Operation: 96-15=81 Exploring Operation: 81+15=96, Resulting Numbers: [96, 96] Generated Node #0,0,1: 86:[96, 96] Operation: 81+15=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[81, 81], Operations: ['77-62=15', '96-15=81'] Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[96, 96], Operations: ['77-62=15', '81+15=96'] Exploring Operation: 96/96=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 96-96=0, Resulting Numbers: [0] 0,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 70, 43, 57, 71 ]
38
[ "71-57=14", "70/14=5", "43-5=38" ]
Current State: 38:[70, 43, 57, 71], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [70, 43, 14] Generated Node #2: [70, 43, 14] from Operation: 71-57=14 Current State: 38:[70, 43, 14], Operations: ['71-57=14'] Exploring Operation: 70/14=5, Resulting Numbers: [43, 5] Generated Node #3: [43, 5] from Operation: 70/14=5 Current State: 38:[43, 5], Operations: ['71-57=14', '70/14=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 43, 57, 71], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [70, 43, 14] Generated Node #0,0: 38:[70, 43, 14] Operation: 71-57=14 Exploring Operation: 70-43=27, Resulting Numbers: [57, 71, 27] Generated Node #0,1: 38:[57, 71, 27] Operation: 70-43=27 Exploring Operation: 71-70=1, Resulting Numbers: [43, 57, 1] Generated Node #0,2: 38:[43, 57, 1] Operation: 71-70=1 Exploring Operation: 70-57=13, Resulting Numbers: [43, 71, 13] Generated Node #0,3: 38:[43, 71, 13] Operation: 70-57=13 Moving to Node #0,2 Current State: 38:[43, 57, 1], Operations: ['71-70=1'] Exploring Operation: 43-1=42, Resulting Numbers: [57, 42] Generated Node #0,2,0: 38:[57, 42] Operation: 43-1=42 Exploring Operation: 57-1=56, Resulting Numbers: [43, 56] Generated Node #0,2,1: 38:[43, 56] Operation: 57-1=56 Exploring Operation: 43*1=43, Resulting Numbers: [57, 43] Generated Node #0,2,2: 38:[57, 43] Operation: 43*1=43 Exploring Operation: 57-43=14, Resulting Numbers: [1, 14] Generated Node #0,2,3: 38:[1, 14] Operation: 57-43=14 Moving to Node #0,0 Current State: 38:[70, 43, 14], Operations: ['71-57=14'] Exploring Operation: 70/14=5, Resulting Numbers: [43, 5] Generated Node #0,0,0: 38:[43, 5] Operation: 70/14=5 Exploring Operation: 43-14=29, Resulting Numbers: [70, 29] Generated Node #0,0,1: 38:[70, 29] Operation: 43-14=29 Exploring Operation: 70-14=56, Resulting Numbers: [43, 56] Generated Node #0,0,2: 38:[43, 56] Operation: 70-14=56 Exploring Operation: 70-43=27, Resulting Numbers: [14, 27] Generated Node #0,0,3: 38:[14, 27] Operation: 70-43=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[43, 5], Operations: ['71-57=14', '70/14=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[70, 43, 57, 71], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [70, 43, 14] Generated Node #0,0: 38:[70, 43, 14] Operation: 71-57=14 Moving to Node #0,0 Current State: 38:[70, 43, 14], Operations: ['71-57=14'] Exploring Operation: 70/14=5, Resulting Numbers: [43, 5] Generated Node #0,0,0: 38:[43, 5] Operation: 70/14=5 Moving to Node #0,0,0 Current State: 38:[43, 5], Operations: ['71-57=14', '70/14=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 89, 49, 40, 46 ]
37
[ "89+49=138", "138/46=3", "40-3=37" ]
Current State: 37:[89, 49, 40, 46], Operations: [] Exploring Operation: 89+49=138, Resulting Numbers: [40, 46, 138] Generated Node #2: [40, 46, 138] from Operation: 89+49=138 Current State: 37:[40, 46, 138], Operations: ['89+49=138'] Exploring Operation: 138/46=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 138/46=3 Current State: 37:[40, 3], Operations: ['89+49=138', '138/46=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[89, 49, 40, 46], Operations: [] Exploring Operation: 89-40=49, Resulting Numbers: [49, 46, 49] Generated Node #0,0: 37:[49, 46, 49] Operation: 89-40=49 Exploring Operation: 89-46=43, Resulting Numbers: [49, 40, 43] Generated Node #0,1: 37:[49, 40, 43] Operation: 89-46=43 Exploring Operation: 89-49=40, Resulting Numbers: [40, 46, 40] Generated Node #0,2: 37:[40, 46, 40] Operation: 89-49=40 Exploring Operation: 49-40=9, Resulting Numbers: [89, 46, 9] Generated Node #0,3: 37:[89, 46, 9] Operation: 49-40=9 Exploring Operation: 49-46=3, Resulting Numbers: [89, 40, 3] Generated Node #0,4: 37:[89, 40, 3] Operation: 49-46=3 Moving to Node #0,2 Current State: 37:[40, 46, 40], Operations: ['89-49=40'] Exploring Operation: 40-40=0, Resulting Numbers: [46, 0] Generated Node #0,2,0: 37:[46, 0] Operation: 40-40=0 Exploring Operation: 40/40=1, Resulting Numbers: [46, 1] Generated Node #0,2,1: 37:[46, 1] Operation: 40/40=1 Exploring Operation: 46-40=6, Resulting Numbers: [40, 6] Generated Node #0,2,2: 37:[40, 6] Operation: 46-40=6 Exploring Operation: 46-40=6, Resulting Numbers: [40, 6] Generated Node #0,2,3: 37:[40, 6] Operation: 46-40=6 Exploring Operation: 40+46=86, Resulting Numbers: [40, 86] Generated Node #0,2,4: 37:[40, 86] Operation: 40+46=86 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[40, 6], Operations: ['89-49=40', '46-40=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[40, 6], Operations: ['89-49=40', '46-40=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[46, 1], Operations: ['89-49=40', '40/40=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[46, 0], Operations: ['89-49=40', '40-40=0'] Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[40, 86], Operations: ['89-49=40', '40+46=86'] Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,37 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,37 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,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:[49, 40, 43], Operations: ['89-46=43'] Exploring Operation: 43-40=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 37:[49, 3] Operation: 43-40=3 Exploring Operation: 49-40=9, Resulting Numbers: [43, 9] Generated Node #0,1,1: 37:[43, 9] Operation: 49-40=9 Exploring Operation: 49-43=6, Resulting Numbers: [40, 6] Generated Node #0,1,2: 37:[40, 6] Operation: 49-43=6 Exploring Operation: 49+43=92, Resulting Numbers: [40, 92] Generated Node #0,1,3: 37:[40, 92] Operation: 49+43=92 Exploring Operation: 49+40=89, Resulting Numbers: [43, 89] Generated Node #0,1,4: 37:[43, 89] Operation: 49+40=89 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[43, 9], Operations: ['89-46=43', '49-40=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,37 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,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,2 Current State: 37:[40, 6], Operations: ['89-46=43', '49-43=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,37 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,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:[49, 3], Operations: ['89-46=43', '43-40=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,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,3 Current State: 37:[40, 92], Operations: ['89-46=43', '49+43=92'] Exploring Operation: 40+92=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 40*92=3680, Resulting Numbers: [3680] 3680,37 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,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,4 Current State: 37:[43, 89], Operations: ['89-46=43', '49+40=89'] Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 43*89=3827, Resulting Numbers: [3827] 3827,37 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: 37:[49, 46, 49], Operations: ['89-40=49'] Exploring Operation: 49-46=3, Resulting Numbers: [49, 3] Generated Node #0,0,0: 37:[49, 3] Operation: 49-46=3 Exploring Operation: 49-46=3, Resulting Numbers: [49, 3] Generated Node #0,0,1: 37:[49, 3] Operation: 49-46=3 Exploring Operation: 49-49=0, Resulting Numbers: [46, 0] Generated Node #0,0,2: 37:[46, 0] Operation: 49-49=0 Exploring Operation: 49+46=95, Resulting Numbers: [49, 95] Generated Node #0,0,3: 37:[49, 95] Operation: 49+46=95 Exploring Operation: 49/49=1, Resulting Numbers: [46, 1] Generated Node #0,0,4: 37:[46, 1] Operation: 49/49=1 Moving to Node #0,3 Current State: 37:[89, 46, 9], Operations: ['49-40=9'] Exploring Operation: 89-46=43, Resulting Numbers: [9, 43] Generated Node #0,3,0: 37:[9, 43] Operation: 89-46=43 Exploring Operation: 89+9=98, Resulting Numbers: [46, 98] Generated Node #0,3,1: 37:[46, 98] Operation: 89+9=98 Exploring Operation: 89-9=80, Resulting Numbers: [46, 80] Generated Node #0,3,2: 37:[46, 80] Operation: 89-9=80 Exploring Operation: 46+9=55, Resulting Numbers: [89, 55] Generated Node #0,3,3: 37:[89, 55] Operation: 46+9=55 Exploring Operation: 46-9=37, Resulting Numbers: [89, 37] Generated Node #0,3,4: 37:[89, 37] Operation: 46-9=37 Moving to Node #0,4 Current State: 37:[89, 40, 3], Operations: ['49-46=3'] Exploring Operation: 89-3=86, Resulting Numbers: [40, 86] Generated Node #0,4,0: 37:[40, 86] Operation: 89-3=86 Exploring Operation: 89+3=92, Resulting Numbers: [40, 92] Generated Node #0,4,1: 37:[40, 92] Operation: 89+3=92 Exploring Operation: 89-40=49, Resulting Numbers: [3, 49] Generated Node #0,4,2: 37:[3, 49] Operation: 89-40=49 Exploring Operation: 40-3=37, Resulting Numbers: [89, 37] Generated Node #0,4,3: 37:[89, 37] Operation: 40-3=37 Exploring Operation: 40+3=43, Resulting Numbers: [89, 43] Generated Node #0,4,4: 37:[89, 43] Operation: 40+3=43 Moving to Node #0,3,0 Current State: 37:[9, 43], Operations: ['49-40=9', '89-46=43'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[46, 1], Operations: ['89-40=49', '49/49=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[49, 3], Operations: ['89-40=49', '49-46=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[49, 3], Operations: ['89-40=49', '49-46=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,37 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[3, 49], Operations: ['49-46=3', '89-40=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[46, 0], Operations: ['89-40=49', '49-49=0'] Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[46, 80], Operations: ['49-40=9', '89-9=80'] Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,37 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[89, 37], Operations: ['49-46=3', '40-3=37'] Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,37 unequal: No Solution Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[89, 37], Operations: ['49-40=9', '46-9=37'] Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,37 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[40, 86], Operations: ['49-46=3', '89-3=86'] Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,37 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,37 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[40, 92], Operations: ['49-46=3', '89+3=92'] Exploring Operation: 40+92=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 40*92=3680, Resulting Numbers: [3680] 3680,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[89, 43], Operations: ['49-46=3', '40+3=43'] Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 89*43=3827, Resulting Numbers: [3827] 3827,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[89, 55], Operations: ['49-40=9', '46+9=55'] Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,37 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[49, 95], Operations: ['89-40=49', '49+46=95'] Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,37 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[46, 98], Operations: ['49-40=9', '89+9=98'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,37 unequal: No Solution Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 98, 61, 31 ]
19
[ "98/2=49", "61-31=30", "49-30=19" ]
Current State: 19:[2, 98, 61, 31], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [61, 31, 49] Generated Node #2: [61, 31, 49] from Operation: 98/2=49 Current State: 19:[61, 31, 49], Operations: ['98/2=49'] Exploring Operation: 61-31=30, Resulting Numbers: [49, 30] Generated Node #3: [49, 30] from Operation: 61-31=30 Current State: 19:[49, 30], Operations: ['98/2=49', '61-31=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 98, 61, 31], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [61, 31, 49] Generated Node #0,0: 19:[61, 31, 49] Operation: 98/2=49 Exploring Operation: 98-61=37, Resulting Numbers: [2, 31, 37] Generated Node #0,1: 19:[2, 31, 37] Operation: 98-61=37 Moving to Node #0,1 Current State: 19:[2, 31, 37], Operations: ['98-61=37'] Exploring Operation: 31-2=29, Resulting Numbers: [37, 29] Generated Node #0,1,0: 19:[37, 29] Operation: 31-2=29 Exploring Operation: 37-2=35, Resulting Numbers: [31, 35] Generated Node #0,1,1: 19:[31, 35] Operation: 37-2=35 Moving to Node #0,0 Current State: 19:[61, 31, 49], Operations: ['98/2=49'] Exploring Operation: 61-31=30, Resulting Numbers: [49, 30] Generated Node #0,0,0: 19:[49, 30] Operation: 61-31=30 Exploring Operation: 61-49=12, Resulting Numbers: [31, 12] Generated Node #0,0,1: 19:[31, 12] Operation: 61-49=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[31, 12], Operations: ['98/2=49', '61-49=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[2, 98, 61, 31], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [61, 31, 49] Generated Node #0,0: 19:[61, 31, 49] Operation: 98/2=49 Moving to Node #0,0 Current State: 19:[61, 31, 49], Operations: ['98/2=49'] Exploring Operation: 61-49=12, Resulting Numbers: [31, 12] Generated Node #0,0,1: 19:[31, 12] Operation: 61-49=12 Moving to Node #0,0,1 Current State: 19:[31, 12], Operations: ['98/2=49', '61-49=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 45, 63, 83, 79 ]
14
[ "63-45=18", "83-79=4", "18-4=14" ]
Current State: 14:[45, 63, 83, 79], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [83, 79, 18] Generated Node #2: [83, 79, 18] from Operation: 63-45=18 Current State: 14:[83, 79, 18], Operations: ['63-45=18'] Exploring Operation: 83-79=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 83-79=4 Current State: 14:[18, 4], Operations: ['63-45=18', '83-79=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[45, 63, 83, 79], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [83, 79, 18] Generated Node #0,0: 14:[83, 79, 18] Operation: 63-45=18 Exploring Operation: 83-79=4, Resulting Numbers: [45, 63, 4] Generated Node #0,1: 14:[45, 63, 4] Operation: 83-79=4 Exploring Operation: 79-63=16, Resulting Numbers: [45, 83, 16] Generated Node #0,2: 14:[45, 83, 16] Operation: 79-63=16 Exploring Operation: 83-63=20, Resulting Numbers: [45, 79, 20] Generated Node #0,3: 14:[45, 79, 20] Operation: 83-63=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[45, 63, 4], Operations: ['83-79=4'] Exploring Operation: 63-45=18, Resulting Numbers: [4, 18] Generated Node #0,1,0: 14:[4, 18] Operation: 63-45=18 Exploring Operation: 63-4=59, Resulting Numbers: [45, 59] Generated Node #0,1,1: 14:[45, 59] Operation: 63-4=59 Exploring Operation: 45-4=41, Resulting Numbers: [63, 41] Generated Node #0,1,2: 14:[63, 41] Operation: 45-4=41 Exploring Operation: 45+4=49, Resulting Numbers: [63, 49] Generated Node #0,1,3: 14:[63, 49] Operation: 45+4=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[4, 18], Operations: ['83-79=4', '63-45=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[45, 63, 83, 79], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [45, 63, 4] Generated Node #0,1: 14:[45, 63, 4] Operation: 83-79=4 Moving to Node #0,1 Current State: 14:[45, 63, 4], Operations: ['83-79=4'] Exploring Operation: 63-45=18, Resulting Numbers: [4, 18] Generated Node #0,1,0: 14:[4, 18] Operation: 63-45=18 Moving to Node #0,1,0 Current State: 14:[4, 18], Operations: ['83-79=4', '63-45=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 58, 12, 8, 18 ]
36
[ "58-12=46", "18-8=10", "46-10=36" ]
Current State: 36:[58, 12, 8, 18], Operations: [] Exploring Operation: 58-12=46, Resulting Numbers: [8, 18, 46] Generated Node #2: [8, 18, 46] from Operation: 58-12=46 Current State: 36:[8, 18, 46], Operations: ['58-12=46'] Exploring Operation: 18-8=10, Resulting Numbers: [46, 10] Generated Node #3: [46, 10] from Operation: 18-8=10 Current State: 36:[46, 10], Operations: ['58-12=46', '18-8=10'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[58, 12, 8, 18], Operations: [] Exploring Operation: 58-18=40, Resulting Numbers: [12, 8, 40] Generated Node #0,0: 36:[12, 8, 40] Operation: 58-18=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[12, 8, 40], Operations: ['58-18=40'] Exploring Operation: 40/8=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 36:[12, 5] Operation: 40/8=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[12, 5], Operations: ['58-18=40', '40/8=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,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
[ 14, 14, 33, 17 ]
44
[ "14+14=28", "33-17=16", "28+16=44" ]
Current State: 44:[14, 14, 33, 17], Operations: [] Exploring Operation: 14+14=28, Resulting Numbers: [33, 17, 28] Generated Node #2: [33, 17, 28] from Operation: 14+14=28 Current State: 44:[33, 17, 28], Operations: ['14+14=28'] Exploring Operation: 33-17=16, Resulting Numbers: [28, 16] Generated Node #3: [28, 16] from Operation: 33-17=16 Current State: 44:[28, 16], Operations: ['14+14=28', '33-17=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[14, 14, 33, 17], Operations: [] Exploring Operation: 14+33=47, Resulting Numbers: [14, 17, 47] Generated Node #0,0: 44:[14, 17, 47] Operation: 14+33=47 Exploring Operation: 33-14=19, Resulting Numbers: [14, 17, 19] Generated Node #0,1: 44:[14, 17, 19] Operation: 33-14=19 Exploring Operation: 14+33=47, Resulting Numbers: [14, 17, 47] Generated Node #0,2: 44:[14, 17, 47] Operation: 14+33=47 Moving to Node #0,0 Current State: 44:[14, 17, 47], Operations: ['14+33=47'] Exploring Operation: 14+17=31, Resulting Numbers: [47, 31] Generated Node #0,0,0: 44:[47, 31] Operation: 14+17=31 Exploring Operation: 47-17=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 44:[14, 30] Operation: 47-17=30 Exploring Operation: 17-14=3, Resulting Numbers: [47, 3] Generated Node #0,0,2: 44:[47, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[47, 3], Operations: ['14+33=47', '17-14=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[14, 14, 33, 17], Operations: [] Exploring Operation: 14+33=47, Resulting Numbers: [14, 17, 47] Generated Node #0,0: 44:[14, 17, 47] Operation: 14+33=47 Moving to Node #0,0 Current State: 44:[14, 17, 47], Operations: ['14+33=47'] Exploring Operation: 17-14=3, Resulting Numbers: [47, 3] Generated Node #0,0,2: 44:[47, 3] Operation: 17-14=3 Moving to Node #0,0,2 Current State: 44:[47, 3], Operations: ['14+33=47', '17-14=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 88, 73, 31, 84 ]
86
[ "73-31=42", "84/42=2", "88-2=86" ]
Current State: 86:[88, 73, 31, 84], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [88, 84, 42] Generated Node #2: [88, 84, 42] from Operation: 73-31=42 Current State: 86:[88, 84, 42], Operations: ['73-31=42'] Exploring Operation: 84/42=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 84/42=2 Current State: 86:[88, 2], Operations: ['73-31=42', '84/42=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[88, 73, 31, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [88, 31, 11] Generated Node #0,0: 86:[88, 31, 11] Operation: 84-73=11 Exploring Operation: 73-31=42, Resulting Numbers: [88, 84, 42] Generated Node #0,1: 86:[88, 84, 42] Operation: 73-31=42 Exploring Operation: 73+31=104, Resulting Numbers: [88, 84, 104] Generated Node #0,2: 86:[88, 84, 104] Operation: 73+31=104 Exploring Operation: 88-73=15, Resulting Numbers: [31, 84, 15] Generated Node #0,3: 86:[31, 84, 15] Operation: 88-73=15 Exploring Operation: 84-31=53, Resulting Numbers: [88, 73, 53] Generated Node #0,4: 86:[88, 73, 53] Operation: 84-31=53 Moving to Node #0,1 Current State: 86:[88, 84, 42], Operations: ['73-31=42'] Exploring Operation: 84-42=42, Resulting Numbers: [88, 42] Generated Node #0,1,0: 86:[88, 42] Operation: 84-42=42 Exploring Operation: 84/42=2, Resulting Numbers: [88, 2] Generated Node #0,1,1: 86:[88, 2] Operation: 84/42=2 Exploring Operation: 88-84=4, Resulting Numbers: [42, 4] Generated Node #0,1,2: 86:[42, 4] Operation: 88-84=4 Exploring Operation: 84+42=126, Resulting Numbers: [88, 126] Generated Node #0,1,3: 86:[88, 126] Operation: 84+42=126 Exploring Operation: 88-42=46, Resulting Numbers: [84, 46] Generated Node #0,1,4: 86:[84, 46] Operation: 88-42=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[88, 2], Operations: ['73-31=42', '84/42=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[88, 73, 31, 84], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [88, 84, 42] Generated Node #0,1: 86:[88, 84, 42] Operation: 73-31=42 Moving to Node #0,1 Current State: 86:[88, 84, 42], Operations: ['73-31=42'] Exploring Operation: 84/42=2, Resulting Numbers: [88, 2] Generated Node #0,1,1: 86:[88, 2] Operation: 84/42=2 Moving to Node #0,1,1 Current State: 86:[88, 2], Operations: ['73-31=42', '84/42=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 99, 52, 69, 95 ]
56
[ "99-95=4", "52/4=13", "69-13=56" ]
Current State: 56:[99, 52, 69, 95], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [52, 69, 4] Generated Node #2: [52, 69, 4] from Operation: 99-95=4 Current State: 56:[52, 69, 4], Operations: ['99-95=4'] Exploring Operation: 52/4=13, Resulting Numbers: [69, 13] Generated Node #3: [69, 13] from Operation: 52/4=13 Current State: 56:[69, 13], Operations: ['99-95=4', '52/4=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[99, 52, 69, 95], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [52, 69, 4] Generated Node #0,0: 56:[52, 69, 4] Operation: 99-95=4 Exploring Operation: 99-69=30, Resulting Numbers: [52, 95, 30] Generated Node #0,1: 56:[52, 95, 30] Operation: 99-69=30 Exploring Operation: 95-69=26, Resulting Numbers: [99, 52, 26] Generated Node #0,2: 56:[99, 52, 26] Operation: 95-69=26 Exploring Operation: 99-52=47, Resulting Numbers: [69, 95, 47] Generated Node #0,3: 56:[69, 95, 47] Operation: 99-52=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[52, 69, 4], Operations: ['99-95=4'] Exploring Operation: 52+4=56, Resulting Numbers: [69, 56] Generated Node #0,0,0: 56:[69, 56] Operation: 52+4=56 Exploring Operation: 52/4=13, Resulting Numbers: [69, 13] Generated Node #0,0,1: 56:[69, 13] Operation: 52/4=13 Exploring Operation: 69-52=17, Resulting Numbers: [4, 17] Generated Node #0,0,2: 56:[4, 17] Operation: 69-52=17 Exploring Operation: 69-4=65, Resulting Numbers: [52, 65] Generated Node #0,0,3: 56:[52, 65] Operation: 69-4=65 Moving to Node #0,0,2 Current State: 56:[4, 17], Operations: ['99-95=4', '69-52=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[52, 65], Operations: ['99-95=4', '69-4=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 52*65=3380, Resulting Numbers: [3380] 3380,56 unequal: No Solution Exploring Operation: 52+65=117, Resulting Numbers: [117] 117,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[69, 56], Operations: ['99-95=4', '52+4=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,56 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[69, 13], Operations: ['99-95=4', '52/4=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[99, 52, 69, 95], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [52, 69, 4] Generated Node #0,0: 56:[52, 69, 4] Operation: 99-95=4 Moving to Node #0,0 Current State: 56:[52, 69, 4], Operations: ['99-95=4'] Exploring Operation: 52/4=13, Resulting Numbers: [69, 13] Generated Node #0,0,1: 56:[69, 13] Operation: 52/4=13 Moving to Node #0,0,1 Current State: 56:[69, 13], Operations: ['99-95=4', '52/4=13'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 15, 41, 58, 5 ]
20
[ "15/5=3", "58-41=17", "3+17=20" ]
Current State: 20:[15, 41, 58, 5], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [41, 58, 3] Generated Node #2: [41, 58, 3] from Operation: 15/5=3 Current State: 20:[41, 58, 3], Operations: ['15/5=3'] Exploring Operation: 58-41=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 58-41=17 Current State: 20:[3, 17], Operations: ['15/5=3', '58-41=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[15, 41, 58, 5], Operations: [] Exploring Operation: 41-15=26, Resulting Numbers: [58, 5, 26] Generated Node #0,0: 20:[58, 5, 26] Operation: 41-15=26 Exploring Operation: 15+5=20, Resulting Numbers: [41, 58, 20] Generated Node #0,1: 20:[41, 58, 20] Operation: 15+5=20 Exploring Operation: 58-15=43, Resulting Numbers: [41, 5, 43] Generated Node #0,2: 20:[41, 5, 43] Operation: 58-15=43 Exploring Operation: 58-41=17, Resulting Numbers: [15, 5, 17] Generated Node #0,3: 20:[15, 5, 17] Operation: 58-41=17 Moving to Node #0,3 Current State: 20:[15, 5, 17], Operations: ['58-41=17'] Exploring Operation: 15/5=3, Resulting Numbers: [17, 3] Generated Node #0,3,0: 20:[17, 3] Operation: 15/5=3 Exploring Operation: 15+5=20, Resulting Numbers: [17, 20] Generated Node #0,3,1: 20:[17, 20] Operation: 15+5=20 Exploring Operation: 17-15=2, Resulting Numbers: [5, 2] Generated Node #0,3,2: 20:[5, 2] Operation: 17-15=2 Exploring Operation: 15-5=10, Resulting Numbers: [17, 10] Generated Node #0,3,3: 20:[17, 10] Operation: 15-5=10 Moving to Node #0,2 Current State: 20:[41, 5, 43], Operations: ['58-15=43'] Exploring Operation: 41+5=46, Resulting Numbers: [43, 46] Generated Node #0,2,0: 20:[43, 46] Operation: 41+5=46 Exploring Operation: 43-5=38, Resulting Numbers: [41, 38] Generated Node #0,2,1: 20:[41, 38] Operation: 43-5=38 Exploring Operation: 41-5=36, Resulting Numbers: [43, 36] Generated Node #0,2,2: 20:[43, 36] Operation: 41-5=36 Exploring Operation: 43-41=2, Resulting Numbers: [5, 2] Generated Node #0,2,3: 20:[5, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 20:[58, 5, 26], Operations: ['41-15=26'] Exploring Operation: 58+5=63, Resulting Numbers: [26, 63] Generated Node #0,0,0: 20:[26, 63] Operation: 58+5=63 Exploring Operation: 26-5=21, Resulting Numbers: [58, 21] Generated Node #0,0,1: 20:[58, 21] Operation: 26-5=21 Exploring Operation: 58-5=53, Resulting Numbers: [26, 53] Generated Node #0,0,2: 20:[26, 53] Operation: 58-5=53 Exploring Operation: 58-26=32, Resulting Numbers: [5, 32] Generated Node #0,0,3: 20:[5, 32] Operation: 58-26=32 Moving to Node #0,1 Current State: 20:[41, 58, 20], Operations: ['15+5=20'] Exploring Operation: 58-20=38, Resulting Numbers: [41, 38] Generated Node #0,1,0: 20:[41, 38] Operation: 58-20=38 Exploring Operation: 41-20=21, Resulting Numbers: [58, 21] Generated Node #0,1,1: 20:[58, 21] Operation: 41-20=21 Exploring Operation: 41+58=99, Resulting Numbers: [20, 99] Generated Node #0,1,2: 20:[20, 99] Operation: 41+58=99 Exploring Operation: 58-41=17, Resulting Numbers: [20, 17] Generated Node #0,1,3: 20:[20, 17] Operation: 58-41=17 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[20, 17], Operations: ['15+5=20', '58-41=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,20 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[41, 38], Operations: ['15+5=20', '58-20=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,20 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[58, 21], Operations: ['15+5=20', '41-20=21'] Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,20 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[20, 99], Operations: ['15+5=20', '41+58=99'] Exploring Operation: 20*99=1980, Resulting Numbers: [1980] 1980,20 unequal: No Solution Exploring Operation: 20+99=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 20:[5, 2], Operations: ['58-41=17', '17-15=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[5, 2], Operations: ['58-15=43', '43-41=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[17, 10], Operations: ['58-41=17', '15-5=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,20 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[17, 20], Operations: ['58-41=17', '15+5=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,20 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[17, 3], Operations: ['58-41=17', '15/5=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[15, 41, 58, 5], Operations: [] Exploring Operation: 58-41=17, Resulting Numbers: [15, 5, 17] Generated Node #0,3: 20:[15, 5, 17] Operation: 58-41=17 Moving to Node #0,3 Current State: 20:[15, 5, 17], Operations: ['58-41=17'] Exploring Operation: 15/5=3, Resulting Numbers: [17, 3] Generated Node #0,3,0: 20:[17, 3] Operation: 15/5=3 Moving to Node #0,3,0 Current State: 20:[17, 3], Operations: ['58-41=17', '15/5=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 57, 8, 24, 4 ]
53
[ "24-8=16", "16/4=4", "57-4=53" ]
Current State: 53:[57, 8, 24, 4], Operations: [] Exploring Operation: 24-8=16, Resulting Numbers: [57, 4, 16] Generated Node #2: [57, 4, 16] from Operation: 24-8=16 Current State: 53:[57, 4, 16], Operations: ['24-8=16'] Exploring Operation: 16/4=4, Resulting Numbers: [57, 4] Generated Node #3: [57, 4] from Operation: 16/4=4 Current State: 53:[57, 4], Operations: ['24-8=16', '16/4=4'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[57, 8, 24, 4], Operations: [] Exploring Operation: 57-4=53, Resulting Numbers: [8, 24, 53] Generated Node #0,0: 53:[8, 24, 53] Operation: 57-4=53 Exploring Operation: 8*4=32, Resulting Numbers: [57, 24, 32] Generated Node #0,1: 53:[57, 24, 32] Operation: 8*4=32 Exploring Operation: 8+24=32, Resulting Numbers: [57, 4, 32] Generated Node #0,2: 53:[57, 4, 32] Operation: 8+24=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[57, 24, 32], Operations: ['8*4=32'] Exploring Operation: 57+24=81, Resulting Numbers: [32, 81] Generated Node #0,1,0: 53:[32, 81] Operation: 57+24=81 Exploring Operation: 57-24=33, Resulting Numbers: [32, 33] Generated Node #0,1,1: 53:[32, 33] Operation: 57-24=33 Exploring Operation: 24+32=56, Resulting Numbers: [57, 56] Generated Node #0,1,2: 53:[57, 56] Operation: 24+32=56 Moving to Node #0,1,2 Current State: 53:[57, 56], Operations: ['8*4=32', '24+32=56'] Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,53 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[32, 33], Operations: ['8*4=32', '57-24=33'] Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,53 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[32, 81], Operations: ['8*4=32', '57+24=81'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 32*81=2592, Resulting Numbers: [2592] 2592,53 unequal: No Solution Exploring Operation: 32+81=113, Resulting Numbers: [113] 113,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:[8, 24, 53], Operations: ['57-4=53'] Exploring Operation: 24-8=16, Resulting Numbers: [53, 16] Generated Node #0,0,0: 53:[53, 16] Operation: 24-8=16 Exploring Operation: 8+53=61, Resulting Numbers: [24, 61] Generated Node #0,0,1: 53:[24, 61] Operation: 8+53=61 Exploring Operation: 8+24=32, Resulting Numbers: [53, 32] Generated Node #0,0,2: 53:[53, 32] Operation: 8+24=32 Moving to Node #0,0,2 Current State: 53:[53, 32], Operations: ['57-4=53', '8+24=32'] Exploring Operation: 53*32=1696, Resulting Numbers: [1696] 1696,53 unequal: No Solution Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[53, 16], Operations: ['57-4=53', '24-8=16'] Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[24, 61], Operations: ['57-4=53', '8+53=61'] Exploring Operation: 24*61=1464, Resulting Numbers: [1464] 1464,53 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 24+61=85, Resulting Numbers: [85] 85,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[57, 4, 32], Operations: ['8+24=32'] Exploring Operation: 57+4=61, Resulting Numbers: [32, 61] Generated Node #0,2,0: 53:[32, 61] Operation: 57+4=61 Exploring Operation: 4+32=36, Resulting Numbers: [57, 36] Generated Node #0,2,1: 53:[57, 36] Operation: 4+32=36 Exploring Operation: 57-4=53, Resulting Numbers: [32, 53] Generated Node #0,2,2: 53:[32, 53] Operation: 57-4=53 Moving to Node #0,2,1 Current State: 53:[57, 36], Operations: ['8+24=32', '4+32=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,53 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[32, 53], Operations: ['8+24=32', '57-4=53'] Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,53 unequal: No Solution Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,53 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[32, 61], Operations: ['8+24=32', '57+4=61'] Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,53 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,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
[ 3, 65, 21, 19 ]
65
[ "21-3=18", "19-18=1", "65*1=65" ]
Current State: 65:[3, 65, 21, 19], Operations: [] Exploring Operation: 21-3=18, Resulting Numbers: [65, 19, 18] Generated Node #2: [65, 19, 18] from Operation: 21-3=18 Current State: 65:[65, 19, 18], Operations: ['21-3=18'] Exploring Operation: 19-18=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 19-18=1 Current State: 65:[65, 1], Operations: ['21-3=18', '19-18=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[3, 65, 21, 19], Operations: [] Exploring Operation: 3*21=63, Resulting Numbers: [65, 19, 63] Generated Node #0,0: 65:[65, 19, 63] Operation: 3*21=63 Exploring Operation: 21-19=2, Resulting Numbers: [3, 65, 2] Generated Node #0,1: 65:[3, 65, 2] Operation: 21-19=2 Moving to Node #0,1 Current State: 65:[3, 65, 2], Operations: ['21-19=2'] Exploring Operation: 3*2=6, Resulting Numbers: [65, 6] Generated Node #0,1,0: 65:[65, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [65, 5] Generated Node #0,1,1: 65:[65, 5] Operation: 3+2=5 Moving to Node #0,0 Current State: 65:[65, 19, 63], Operations: ['3*21=63'] Exploring Operation: 19+63=82, Resulting Numbers: [65, 82] Generated Node #0,0,0: 65:[65, 82] Operation: 19+63=82 Exploring Operation: 65-63=2, Resulting Numbers: [19, 2] Generated Node #0,0,1: 65:[19, 2] Operation: 65-63=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[19, 2], Operations: ['3*21=63', '65-63=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[65, 82], Operations: ['3*21=63', '19+63=82'] Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 65+82=147, Resulting Numbers: [147] 147,65 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: 65:[65, 5], Operations: ['21-19=2', '3+2=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[65, 6], Operations: ['21-19=2', '3*2=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 71, 26, 2, 29 ]
24
[ "71+29=100", "100/2=50", "50-26=24" ]
Current State: 24:[71, 26, 2, 29], Operations: [] Exploring Operation: 71+29=100, Resulting Numbers: [26, 2, 100] Generated Node #2: [26, 2, 100] from Operation: 71+29=100 Current State: 24:[26, 2, 100], Operations: ['71+29=100'] Exploring Operation: 100/2=50, Resulting Numbers: [26, 50] Generated Node #3: [26, 50] from Operation: 100/2=50 Current State: 24:[26, 50], Operations: ['71+29=100', '100/2=50'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[71, 26, 2, 29], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [26, 2, 42] Generated Node #0,0: 24:[26, 2, 42] Operation: 71-29=42 Exploring Operation: 71-26=45, Resulting Numbers: [2, 29, 45] Generated Node #0,1: 24:[2, 29, 45] Operation: 71-26=45 Exploring Operation: 29-26=3, Resulting Numbers: [71, 2, 3] Generated Node #0,2: 24:[71, 2, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[26, 2, 42], Operations: ['71-29=42'] Exploring Operation: 42-26=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 24:[2, 16] Operation: 42-26=16 Exploring Operation: 42/2=21, Resulting Numbers: [26, 21] Generated Node #0,0,1: 24:[26, 21] Operation: 42/2=21 Exploring Operation: 26-2=24, Resulting Numbers: [42, 24] Generated Node #0,0,2: 24:[42, 24] Operation: 26-2=24 Moving to Node #0,0,0 Current State: 24:[2, 16], Operations: ['71-29=42', '42-26=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[26, 21], Operations: ['71-29=42', '42/2=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,24 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[42, 24], Operations: ['71-29=42', '26-2=24'] Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,24 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[2, 29, 45], Operations: ['71-26=45'] Exploring Operation: 29-2=27, Resulting Numbers: [45, 27] Generated Node #0,1,0: 24:[45, 27] Operation: 29-2=27 Exploring Operation: 45-29=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 24:[2, 16] Operation: 45-29=16 Exploring Operation: 45-2=43, Resulting Numbers: [29, 43] Generated Node #0,1,2: 24:[29, 43] Operation: 45-2=43 Moving to Node #0,1,1 Current State: 24:[2, 16], Operations: ['71-26=45', '45-29=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[45, 27], Operations: ['71-26=45', '29-2=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[29, 43], Operations: ['71-26=45', '45-2=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,24 unequal: No Solution Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[71, 2, 3], Operations: ['29-26=3'] Exploring Operation: 71-2=69, Resulting Numbers: [3, 69] Generated Node #0,2,0: 24:[3, 69] Operation: 71-2=69 Exploring Operation: 2*3=6, Resulting Numbers: [71, 6] Generated Node #0,2,1: 24:[71, 6] Operation: 2*3=6 Exploring Operation: 71-3=68, Resulting Numbers: [2, 68] Generated Node #0,2,2: 24:[2, 68] Operation: 71-3=68 Moving to Node #0,2,2 Current State: 24:[2, 68], Operations: ['29-26=3', '71-3=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[3, 69], Operations: ['29-26=3', '71-2=69'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[71, 6], Operations: ['29-26=3', '2*3=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,24 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 63, 3, 24 ]
10
[ "63-32=31", "24-3=21", "31-21=10" ]
Current State: 10:[32, 63, 3, 24], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [3, 24, 31] Generated Node #2: [3, 24, 31] from Operation: 63-32=31 Current State: 10:[3, 24, 31], Operations: ['63-32=31'] Exploring Operation: 24-3=21, Resulting Numbers: [31, 21] Generated Node #3: [31, 21] from Operation: 24-3=21 Current State: 10:[31, 21], Operations: ['63-32=31', '24-3=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[32, 63, 3, 24], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [3, 24, 31] Generated Node #0,0: 10:[3, 24, 31] Operation: 63-32=31 Moving to Node #0,0 Current State: 10:[3, 24, 31], Operations: ['63-32=31'] Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['63-32=31', '31-24=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[32, 63, 3, 24], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [3, 24, 31] Generated Node #0,0: 10:[3, 24, 31] Operation: 63-32=31 Moving to Node #0,0 Current State: 10:[3, 24, 31], Operations: ['63-32=31'] Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 31-24=7 Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['63-32=31', '31-24=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 69, 72, 31 ]
31
[ "4+69=73", "73-72=1", "31*1=31" ]
Current State: 31:[4, 69, 72, 31], Operations: [] Exploring Operation: 4+69=73, Resulting Numbers: [72, 31, 73] Generated Node #2: [72, 31, 73] from Operation: 4+69=73 Current State: 31:[72, 31, 73], Operations: ['4+69=73'] Exploring Operation: 73-72=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 73-72=1 Current State: 31:[31, 1], Operations: ['4+69=73', '73-72=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[4, 69, 72, 31], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [69, 31, 18] Generated Node #0,0: 31:[69, 31, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[69, 31, 18], Operations: ['72/4=18'] Exploring Operation: 69-31=38, Resulting Numbers: [18, 38] Generated Node #0,0,0: 31:[18, 38] Operation: 69-31=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[18, 38], Operations: ['72/4=18', '69-31=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,31 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
[ 50, 64, 85, 61 ]
45
[ "50+85=135", "64-61=3", "135/3=45" ]
Current State: 45:[50, 64, 85, 61], Operations: [] Exploring Operation: 50+85=135, Resulting Numbers: [64, 61, 135] Generated Node #2: [64, 61, 135] from Operation: 50+85=135 Current State: 45:[64, 61, 135], Operations: ['50+85=135'] Exploring Operation: 64-61=3, Resulting Numbers: [135, 3] Generated Node #3: [135, 3] from Operation: 64-61=3 Current State: 45:[135, 3], Operations: ['50+85=135', '64-61=3'] Exploring Operation: 135/3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[50, 64, 85, 61], Operations: [] Exploring Operation: 85-64=21, Resulting Numbers: [50, 61, 21] Generated Node #0,0: 45:[50, 61, 21] Operation: 85-64=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[50, 61, 21], Operations: ['85-64=21'] Exploring Operation: 61-50=11, Resulting Numbers: [21, 11] Generated Node #0,0,0: 45:[21, 11] Operation: 61-50=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[21, 11], Operations: ['85-64=21', '61-50=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,45 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
[ 19, 25, 62, 14 ]
63
[ "19-14=5", "25*5=125", "125-62=63" ]
Current State: 63:[19, 25, 62, 14], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [25, 62, 5] Generated Node #2: [25, 62, 5] from Operation: 19-14=5 Current State: 63:[25, 62, 5], Operations: ['19-14=5'] Exploring Operation: 25*5=125, Resulting Numbers: [62, 125] Generated Node #3: [62, 125] from Operation: 25*5=125 Current State: 63:[62, 125], Operations: ['19-14=5', '25*5=125'] Exploring Operation: 125-62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[19, 25, 62, 14], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [19, 62, 11] Generated Node #0,0: 63:[19, 62, 11] Operation: 25-14=11 Exploring Operation: 25-19=6, Resulting Numbers: [62, 14, 6] Generated Node #0,1: 63:[62, 14, 6] Operation: 25-19=6 Moving to Node #0,0 Current State: 63:[19, 62, 11], Operations: ['25-14=11'] Exploring Operation: 19+11=30, Resulting Numbers: [62, 30] Generated Node #0,0,0: 63:[62, 30] Operation: 19+11=30 Exploring Operation: 19-11=8, Resulting Numbers: [62, 8] Generated Node #0,0,1: 63:[62, 8] Operation: 19-11=8 Moving to Node #0,1 Current State: 63:[62, 14, 6], Operations: ['25-19=6'] Exploring Operation: 14-6=8, Resulting Numbers: [62, 8] Generated Node #0,1,0: 63:[62, 8] Operation: 14-6=8 Exploring Operation: 14+6=20, Resulting Numbers: [62, 20] Generated Node #0,1,1: 63:[62, 20] Operation: 14+6=20 Moving to Node #0,0,1 Current State: 63:[62, 8], Operations: ['25-14=11', '19-11=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,63 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[62, 8], Operations: ['25-19=6', '14-6=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[62, 20], Operations: ['25-19=6', '14+6=20'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[62, 30], Operations: ['25-14=11', '19+11=30'] Exploring Operation: 62+30=92, Resulting Numbers: [92] 92,63 unequal: No Solution Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,63 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 24, 81, 58, 9 ]
56
[ "24+81=105", "58-9=49", "105-49=56" ]
Current State: 56:[24, 81, 58, 9], Operations: [] Exploring Operation: 24+81=105, Resulting Numbers: [58, 9, 105] Generated Node #2: [58, 9, 105] from Operation: 24+81=105 Current State: 56:[58, 9, 105], Operations: ['24+81=105'] Exploring Operation: 58-9=49, Resulting Numbers: [105, 49] Generated Node #3: [105, 49] from Operation: 58-9=49 Current State: 56:[105, 49], Operations: ['24+81=105', '58-9=49'] Exploring Operation: 105-49=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[24, 81, 58, 9], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [58, 9, 57] Generated Node #0,0: 56:[58, 9, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 56:[58, 9, 57], Operations: ['81-24=57'] Exploring Operation: 58-57=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 56:[9, 1] Operation: 58-57=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[9, 1], Operations: ['81-24=57', '58-57=1'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 3, 30, 18 ]
42
[ "14+18=32", "30/3=10", "32+10=42" ]
Current State: 42:[14, 3, 30, 18], Operations: [] Exploring Operation: 14+18=32, Resulting Numbers: [3, 30, 32] Generated Node #2: [3, 30, 32] from Operation: 14+18=32 Current State: 42:[3, 30, 32], Operations: ['14+18=32'] Exploring Operation: 30/3=10, Resulting Numbers: [32, 10] Generated Node #3: [32, 10] from Operation: 30/3=10 Current State: 42:[32, 10], Operations: ['14+18=32', '30/3=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[14, 3, 30, 18], Operations: [] Exploring Operation: 30-14=16, Resulting Numbers: [3, 18, 16] Generated Node #0,0: 42:[3, 18, 16] Operation: 30-14=16 Exploring Operation: 30-18=12, Resulting Numbers: [14, 3, 12] Generated Node #0,1: 42:[14, 3, 12] Operation: 30-18=12 Exploring Operation: 14+30=44, Resulting Numbers: [3, 18, 44] Generated Node #0,2: 42:[3, 18, 44] Operation: 14+30=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[14, 3, 12], Operations: ['30-18=12'] Exploring Operation: 3+12=15, Resulting Numbers: [14, 15] Generated Node #0,1,0: 42:[14, 15] Operation: 3+12=15 Exploring Operation: 14-12=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 42:[3, 2] Operation: 14-12=2 Exploring Operation: 12/3=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 42:[14, 4] Operation: 12/3=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[3, 2], Operations: ['30-18=12', '14-12=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[14, 15], Operations: ['30-18=12', '3+12=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[14, 4], Operations: ['30-18=12', '12/3=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 18, 16], Operations: ['30-14=16'] Exploring Operation: 18/3=6, Resulting Numbers: [16, 6] Generated Node #0,0,0: 42:[16, 6] Operation: 18/3=6 Exploring Operation: 3+18=21, Resulting Numbers: [16, 21] Generated Node #0,0,1: 42:[16, 21] Operation: 3+18=21 Exploring Operation: 18-16=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 42:[3, 2] Operation: 18-16=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[3, 2], Operations: ['30-14=16', '18-16=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[16, 6], Operations: ['30-14=16', '18/3=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[16, 21], Operations: ['30-14=16', '3+18=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,42 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[3, 18, 44], Operations: ['14+30=44'] Exploring Operation: 18-3=15, Resulting Numbers: [44, 15] Generated Node #0,2,0: 42:[44, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [44, 6] Generated Node #0,2,1: 42:[44, 6] Operation: 18/3=6 Exploring Operation: 3+18=21, Resulting Numbers: [44, 21] Generated Node #0,2,2: 42:[44, 21] Operation: 3+18=21 Moving to Node #0,2,1 Current State: 42:[44, 6], Operations: ['14+30=44', '18/3=6'] Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,42 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[44, 21], Operations: ['14+30=44', '3+18=21'] Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,42 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[44, 15], Operations: ['14+30=44', '18-3=15'] Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,42 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 54, 8, 12, 26 ]
62
[ "54*8=432", "432/12=36", "26+36=62" ]
Current State: 62:[54, 8, 12, 26], Operations: [] Exploring Operation: 54*8=432, Resulting Numbers: [12, 26, 432] Generated Node #2: [12, 26, 432] from Operation: 54*8=432 Current State: 62:[12, 26, 432], Operations: ['54*8=432'] Exploring Operation: 432/12=36, Resulting Numbers: [26, 36] Generated Node #3: [26, 36] from Operation: 432/12=36 Current State: 62:[26, 36], Operations: ['54*8=432', '432/12=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[54, 8, 12, 26], Operations: [] Exploring Operation: 12-8=4, Resulting Numbers: [54, 26, 4] Generated Node #0,0: 62:[54, 26, 4] Operation: 12-8=4 Exploring Operation: 54-26=28, Resulting Numbers: [8, 12, 28] Generated Node #0,1: 62:[8, 12, 28] Operation: 54-26=28 Exploring Operation: 54+12=66, Resulting Numbers: [8, 26, 66] Generated Node #0,2: 62:[8, 26, 66] Operation: 54+12=66 Exploring Operation: 54+8=62, Resulting Numbers: [12, 26, 62] Generated Node #0,3: 62:[12, 26, 62] Operation: 54+8=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[54, 26, 4], Operations: ['12-8=4'] Exploring Operation: 54-4=50, Resulting Numbers: [26, 50] Generated Node #0,0,0: 62:[26, 50] Operation: 54-4=50 Exploring Operation: 54+4=58, Resulting Numbers: [26, 58] Generated Node #0,0,1: 62:[26, 58] Operation: 54+4=58 Exploring Operation: 26+4=30, Resulting Numbers: [54, 30] Generated Node #0,0,2: 62:[54, 30] Operation: 26+4=30 Exploring Operation: 54-26=28, Resulting Numbers: [4, 28] Generated Node #0,0,3: 62:[4, 28] Operation: 54-26=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[4, 28], Operations: ['12-8=4', '54-26=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,62 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,62 unequal: No Solution No 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: 62:[26, 58], Operations: ['12-8=4', '54+4=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,62 unequal: No Solution No 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: 62:[54, 30], Operations: ['12-8=4', '26+4=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,62 unequal: No Solution No 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: 62:[26, 50], Operations: ['12-8=4', '54-4=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,62 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,62 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: 62:[8, 26, 66], Operations: ['54+12=66'] Exploring Operation: 8+26=34, Resulting Numbers: [66, 34] Generated Node #0,2,0: 62:[66, 34] Operation: 8+26=34 Exploring Operation: 66-8=58, Resulting Numbers: [26, 58] Generated Node #0,2,1: 62:[26, 58] Operation: 66-8=58 Exploring Operation: 26-8=18, Resulting Numbers: [66, 18] Generated Node #0,2,2: 62:[66, 18] Operation: 26-8=18 Exploring Operation: 66-26=40, Resulting Numbers: [8, 40] Generated Node #0,2,3: 62:[8, 40] Operation: 66-26=40 Moving to Node #0,2,0 Current State: 62:[66, 34], Operations: ['54+12=66', '8+26=34'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,62 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[26, 58], Operations: ['54+12=66', '66-8=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,62 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[8, 40], Operations: ['54+12=66', '66-26=40'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,62 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[66, 18], Operations: ['54+12=66', '26-8=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,62 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[12, 26, 62], Operations: ['54+8=62'] Exploring Operation: 12+26=38, Resulting Numbers: [62, 38] Generated Node #0,3,0: 62:[62, 38] Operation: 12+26=38 Exploring Operation: 62-26=36, Resulting Numbers: [12, 36] Generated Node #0,3,1: 62:[12, 36] Operation: 62-26=36 Exploring Operation: 26-12=14, Resulting Numbers: [62, 14] Generated Node #0,3,2: 62:[62, 14] Operation: 26-12=14 Exploring Operation: 12+62=74, Resulting Numbers: [26, 74] Generated Node #0,3,3: 62:[26, 74] Operation: 12+62=74 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[62, 38], Operations: ['54+8=62', '12+26=38'] Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,62 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,62 unequal: No Solution No 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: 62:[62, 14], Operations: ['54+8=62', '26-12=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,62 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,62 unequal: No Solution No 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: 62:[12, 36], Operations: ['54+8=62', '62-26=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,62 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[26, 74], Operations: ['54+8=62', '12+62=74'] Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,62 unequal: No Solution Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,62 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,62 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: 62:[8, 12, 28], Operations: ['54-26=28'] Exploring Operation: 12-8=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 62:[28, 4] Operation: 12-8=4 Exploring Operation: 8+28=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 62:[12, 36] Operation: 8+28=36 Exploring Operation: 8+12=20, Resulting Numbers: [28, 20] Generated Node #0,1,2: 62:[28, 20] Operation: 8+12=20 Exploring Operation: 12+28=40, Resulting Numbers: [8, 40] Generated Node #0,1,3: 62:[8, 40] Operation: 12+28=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[28, 4], Operations: ['54-26=28', '12-8=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,62 unequal: No Solution No 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: 62:[28, 20], Operations: ['54-26=28', '8+12=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,62 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,62 unequal: No Solution No 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: 62:[12, 36], Operations: ['54-26=28', '8+28=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,62 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[8, 40], Operations: ['54-26=28', '12+28=40'] Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,62 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 2, 12, 86, 39 ]
82
[ "86-39=47", "2*47=94", "94-12=82" ]
Current State: 82:[2, 12, 86, 39], Operations: [] Exploring Operation: 86-39=47, Resulting Numbers: [2, 12, 47] Generated Node #2: [2, 12, 47] from Operation: 86-39=47 Current State: 82:[2, 12, 47], Operations: ['86-39=47'] Exploring Operation: 2*47=94, Resulting Numbers: [12, 94] Generated Node #3: [12, 94] from Operation: 2*47=94 Current State: 82:[12, 94], Operations: ['86-39=47', '2*47=94'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[2, 12, 86, 39], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [86, 39, 6] Generated Node #0,0: 82:[86, 39, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[86, 39, 6], Operations: ['12/2=6'] Exploring Operation: 86-6=80, Resulting Numbers: [39, 80] Generated Node #0,0,0: 82:[39, 80] Operation: 86-6=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[39, 80], Operations: ['12/2=6', '86-6=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 10, 64, 94 ]
68
[ "9*10=90", "64+94=158", "158-90=68" ]
Current State: 68:[9, 10, 64, 94], Operations: [] Exploring Operation: 9*10=90, Resulting Numbers: [64, 94, 90] Generated Node #2: [64, 94, 90] from Operation: 9*10=90 Current State: 68:[64, 94, 90], Operations: ['9*10=90'] Exploring Operation: 64+94=158, Resulting Numbers: [90, 158] Generated Node #3: [90, 158] from Operation: 64+94=158 Current State: 68:[90, 158], Operations: ['9*10=90', '64+94=158'] Exploring Operation: 158-90=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[9, 10, 64, 94], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [9, 10, 30] Generated Node #0,0: 68:[9, 10, 30] Operation: 94-64=30 Moving to Node #0,0 Current State: 68:[9, 10, 30], Operations: ['94-64=30'] Exploring Operation: 10-9=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 68:[30, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[30, 1], Operations: ['94-64=30', '10-9=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 7, 89, 24 ]
55
[ "91-89=2", "24*2=48", "7+48=55" ]
Current State: 55:[91, 7, 89, 24], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [7, 24, 2] Generated Node #2: [7, 24, 2] from Operation: 91-89=2 Current State: 55:[7, 24, 2], Operations: ['91-89=2'] Exploring Operation: 24*2=48, Resulting Numbers: [7, 48] Generated Node #3: [7, 48] from Operation: 24*2=48 Current State: 55:[7, 48], Operations: ['91-89=2', '24*2=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[91, 7, 89, 24], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [7, 24, 2] Generated Node #0,0: 55:[7, 24, 2] Operation: 91-89=2 Moving to Node #0,0 Current State: 55:[7, 24, 2], Operations: ['91-89=2'] Exploring Operation: 24/2=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 55:[7, 12] Operation: 24/2=12 Moving to Node #0,0,0 Current State: 55:[7, 12], Operations: ['91-89=2', '24/2=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,55 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 39, 6, 2, 74 ]
27
[ "39+6=45", "74-2=72", "72-45=27" ]
Current State: 27:[39, 6, 2, 74], Operations: [] Exploring Operation: 39+6=45, Resulting Numbers: [2, 74, 45] Generated Node #2: [2, 74, 45] from Operation: 39+6=45 Current State: 27:[2, 74, 45], Operations: ['39+6=45'] Exploring Operation: 74-2=72, Resulting Numbers: [45, 72] Generated Node #3: [45, 72] from Operation: 74-2=72 Current State: 27:[45, 72], Operations: ['39+6=45', '74-2=72'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[39, 6, 2, 74], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [39, 6, 37] Generated Node #0,0: 27:[39, 6, 37] Operation: 74/2=37 Exploring Operation: 74-39=35, Resulting Numbers: [6, 2, 35] Generated Node #0,1: 27:[6, 2, 35] Operation: 74-39=35 Moving to Node #0,1 Current State: 27:[6, 2, 35], Operations: ['74-39=35'] Exploring Operation: 6/2=3, Resulting Numbers: [35, 3] Generated Node #0,1,0: 27:[35, 3] Operation: 6/2=3 Exploring Operation: 35-6=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 27:[2, 29] Operation: 35-6=29 Moving to Node #0,0 Current State: 27:[39, 6, 37], Operations: ['74/2=37'] Exploring Operation: 39-6=33, Resulting Numbers: [37, 33] Generated Node #0,0,0: 27:[37, 33] Operation: 39-6=33 Exploring Operation: 39-37=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 27:[6, 2] Operation: 39-37=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[6, 2], Operations: ['74/2=37', '39-37=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[37, 33], Operations: ['74/2=37', '39-6=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,27 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: 27:[2, 29], Operations: ['74-39=35', '35-6=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[39, 6, 2, 74], Operations: [] Exploring Operation: 74-39=35, Resulting Numbers: [6, 2, 35] Generated Node #0,1: 27:[6, 2, 35] Operation: 74-39=35 Moving to Node #0,1 Current State: 27:[6, 2, 35], Operations: ['74-39=35'] Exploring Operation: 35-6=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 27:[2, 29] Operation: 35-6=29 Moving to Node #0,1,1 Current State: 27:[2, 29], Operations: ['74-39=35', '35-6=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 79, 61, 80, 13 ]
48
[ "80-79=1", "61-13=48", "1*48=48" ]
Current State: 48:[79, 61, 80, 13], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [61, 13, 1] Generated Node #2: [61, 13, 1] from Operation: 80-79=1 Current State: 48:[61, 13, 1], Operations: ['80-79=1'] Exploring Operation: 61-13=48, Resulting Numbers: [1, 48] Generated Node #3: [1, 48] from Operation: 61-13=48 Current State: 48:[1, 48], Operations: ['80-79=1', '61-13=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[79, 61, 80, 13], Operations: [] Exploring Operation: 61-13=48, Resulting Numbers: [79, 80, 48] Generated Node #0,0: 48:[79, 80, 48] Operation: 61-13=48 Exploring Operation: 79-13=66, Resulting Numbers: [61, 80, 66] Generated Node #0,1: 48:[61, 80, 66] Operation: 79-13=66 Exploring Operation: 80-79=1, Resulting Numbers: [61, 13, 1] Generated Node #0,2: 48:[61, 13, 1] Operation: 80-79=1 Exploring Operation: 80-61=19, Resulting Numbers: [79, 13, 19] Generated Node #0,3: 48:[79, 13, 19] Operation: 80-61=19 Exploring Operation: 79-61=18, Resulting Numbers: [80, 13, 18] Generated Node #0,4: 48:[80, 13, 18] Operation: 79-61=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[61, 13, 1], Operations: ['80-79=1'] Exploring Operation: 61-1=60, Resulting Numbers: [13, 60] Generated Node #0,2,0: 48:[13, 60] Operation: 61-1=60 Exploring Operation: 61*1=61, Resulting Numbers: [13, 61] Generated Node #0,2,1: 48:[13, 61] Operation: 61*1=61 Exploring Operation: 61/1=61, Resulting Numbers: [13, 61] Generated Node #0,2,2: 48:[13, 61] Operation: 61/1=61 Exploring Operation: 61-13=48, Resulting Numbers: [1, 48] Generated Node #0,2,3: 48:[1, 48] Operation: 61-13=48 Exploring Operation: 13-1=12, Resulting Numbers: [61, 12] Generated Node #0,2,4: 48:[61, 12] Operation: 13-1=12 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[1, 48], Operations: ['80-79=1', '61-13=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[79, 61, 80, 13], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [61, 13, 1] Generated Node #0,2: 48:[61, 13, 1] Operation: 80-79=1 Moving to Node #0,2 Current State: 48:[61, 13, 1], Operations: ['80-79=1'] Exploring Operation: 61-13=48, Resulting Numbers: [1, 48] Generated Node #0,2,3: 48:[1, 48] Operation: 61-13=48 Moving to Node #0,2,3 Current State: 48:[1, 48], Operations: ['80-79=1', '61-13=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 29, 28, 71, 56 ]
40
[ "71-29=42", "56/28=2", "42-2=40" ]
Current State: 40:[29, 28, 71, 56], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [28, 56, 42] Generated Node #2: [28, 56, 42] from Operation: 71-29=42 Current State: 40:[28, 56, 42], Operations: ['71-29=42'] Exploring Operation: 56/28=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 56/28=2 Current State: 40:[42, 2], Operations: ['71-29=42', '56/28=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[29, 28, 71, 56], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [29, 28, 15] Generated Node #0,0: 40:[29, 28, 15] Operation: 71-56=15 Moving to Node #0,0 Current State: 40:[29, 28, 15], Operations: ['71-56=15'] Exploring Operation: 29-28=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 40:[15, 1] Operation: 29-28=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[15, 1], Operations: ['71-56=15', '29-28=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,40 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
[ 37, 83, 11, 60 ]
51
[ "37*83=3071", "3071-11=3060", "3060/60=51" ]
Current State: 51:[37, 83, 11, 60], Operations: [] Exploring Operation: 37*83=3071, Resulting Numbers: [11, 60, 3071] Generated Node #2: [11, 60, 3071] from Operation: 37*83=3071 Current State: 51:[11, 60, 3071], Operations: ['37*83=3071'] Exploring Operation: 3071-11=3060, Resulting Numbers: [60, 3060] Generated Node #3: [60, 3060] from Operation: 3071-11=3060 Current State: 51:[60, 3060], Operations: ['37*83=3071', '3071-11=3060'] Exploring Operation: 3060/60=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[37, 83, 11, 60], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [11, 60, 46] Generated Node #0,0: 51:[11, 60, 46] Operation: 83-37=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[11, 60, 46], Operations: ['83-37=46'] Exploring Operation: 60-11=49, Resulting Numbers: [46, 49] Generated Node #0,0,0: 51:[46, 49] Operation: 60-11=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[46, 49], Operations: ['83-37=46', '60-11=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 47, 24, 15, 40 ]
38
[ "24*15=360", "360/40=9", "47-9=38" ]
Current State: 38:[47, 24, 15, 40], Operations: [] Exploring Operation: 24*15=360, Resulting Numbers: [47, 40, 360] Generated Node #2: [47, 40, 360] from Operation: 24*15=360 Current State: 38:[47, 40, 360], Operations: ['24*15=360'] Exploring Operation: 360/40=9, Resulting Numbers: [47, 9] Generated Node #3: [47, 9] from Operation: 360/40=9 Current State: 38:[47, 9], Operations: ['24*15=360', '360/40=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[47, 24, 15, 40], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [15, 40, 23] Generated Node #0,0: 38:[15, 40, 23] Operation: 47-24=23 Moving to Node #0,0 Current State: 38:[15, 40, 23], Operations: ['47-24=23'] Exploring Operation: 15+23=38, Resulting Numbers: [40, 38] Generated Node #0,0,0: 38:[40, 38] Operation: 15+23=38 Moving to Node #0,0,0 Current State: 38:[40, 38], Operations: ['47-24=23', '15+23=38'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,38 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 2, 58, 89 ]
79
[ "34*2=68", "58+89=147", "147-68=79" ]
Current State: 79:[34, 2, 58, 89], Operations: [] Exploring Operation: 34*2=68, Resulting Numbers: [58, 89, 68] Generated Node #2: [58, 89, 68] from Operation: 34*2=68 Current State: 79:[58, 89, 68], Operations: ['34*2=68'] Exploring Operation: 58+89=147, Resulting Numbers: [68, 147] Generated Node #3: [68, 147] from Operation: 58+89=147 Current State: 79:[68, 147], Operations: ['34*2=68', '58+89=147'] Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 2, 58, 89], Operations: [] Exploring Operation: 89-2=87, Resulting Numbers: [34, 58, 87] Generated Node #0,0: 79:[34, 58, 87] Operation: 89-2=87 Exploring Operation: 34+2=36, Resulting Numbers: [58, 89, 36] Generated Node #0,1: 79:[58, 89, 36] Operation: 34+2=36 Exploring Operation: 2+58=60, Resulting Numbers: [34, 89, 60] Generated Node #0,2: 79:[34, 89, 60] Operation: 2+58=60 Exploring Operation: 34*2=68, Resulting Numbers: [58, 89, 68] Generated Node #0,3: 79:[58, 89, 68] Operation: 34*2=68 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[58, 89, 68], Operations: ['34*2=68'] Exploring Operation: 89-58=31, Resulting Numbers: [68, 31] Generated Node #0,3,0: 79:[68, 31] Operation: 89-58=31 Exploring Operation: 68-58=10, Resulting Numbers: [89, 10] Generated Node #0,3,1: 79:[89, 10] Operation: 68-58=10 Exploring Operation: 58+68=126, Resulting Numbers: [89, 126] Generated Node #0,3,2: 79:[89, 126] Operation: 58+68=126 Exploring Operation: 58+89=147, Resulting Numbers: [68, 147] Generated Node #0,3,3: 79:[68, 147] Operation: 58+89=147 Moving to Node #0,3,2 Current State: 79:[89, 126], Operations: ['34*2=68', '58+68=126'] Exploring Operation: 126-89=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 89*126=11214, Resulting Numbers: [11214] 11214,79 unequal: No Solution Exploring Operation: 89+126=215, Resulting Numbers: [215] 215,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[68, 31], Operations: ['34*2=68', '89-58=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,79 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[68, 147], Operations: ['34*2=68', '58+89=147'] Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[34, 2, 58, 89], Operations: [] Exploring Operation: 34*2=68, Resulting Numbers: [58, 89, 68] Generated Node #0,3: 79:[58, 89, 68] Operation: 34*2=68 Moving to Node #0,3 Current State: 79:[58, 89, 68], Operations: ['34*2=68'] Exploring Operation: 58+89=147, Resulting Numbers: [68, 147] Generated Node #0,3,3: 79:[68, 147] Operation: 58+89=147 Moving to Node #0,3,3 Current State: 79:[68, 147], Operations: ['34*2=68', '58+89=147'] Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 95, 72, 13, 3 ]
82
[ "95-72=23", "3*23=69", "13+69=82" ]
Current State: 82:[95, 72, 13, 3], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [13, 3, 23] Generated Node #2: [13, 3, 23] from Operation: 95-72=23 Current State: 82:[13, 3, 23], Operations: ['95-72=23'] Exploring Operation: 3*23=69, Resulting Numbers: [13, 69] Generated Node #3: [13, 69] from Operation: 3*23=69 Current State: 82:[13, 69], Operations: ['95-72=23', '3*23=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[95, 72, 13, 3], Operations: [] Exploring Operation: 95-13=82, Resulting Numbers: [72, 3, 82] Generated Node #0,0: 82:[72, 3, 82] Operation: 95-13=82 Moving to Node #0,0 Current State: 82:[72, 3, 82], Operations: ['95-13=82'] Exploring Operation: 72+3=75, Resulting Numbers: [82, 75] Generated Node #0,0,0: 82:[82, 75] Operation: 72+3=75 Moving to Node #0,0,0 Current State: 82:[82, 75], Operations: ['95-13=82', '72+3=75'] Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 60, 14, 8 ]
24
[ "60/2=30", "14-8=6", "30-6=24" ]
Current State: 24:[2, 60, 14, 8], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [14, 8, 30] Generated Node #2: [14, 8, 30] from Operation: 60/2=30 Current State: 24:[14, 8, 30], Operations: ['60/2=30'] Exploring Operation: 14-8=6, Resulting Numbers: [30, 6] Generated Node #3: [30, 6] from Operation: 14-8=6 Current State: 24:[30, 6], Operations: ['60/2=30', '14-8=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 60, 14, 8], Operations: [] Exploring Operation: 60-14=46, Resulting Numbers: [2, 8, 46] Generated Node #0,0: 24:[2, 8, 46] Operation: 60-14=46 Exploring Operation: 60-2=58, Resulting Numbers: [14, 8, 58] Generated Node #0,1: 24:[14, 8, 58] Operation: 60-2=58 Exploring Operation: 14-2=12, Resulting Numbers: [60, 8, 12] Generated Node #0,2: 24:[60, 8, 12] Operation: 14-2=12 Exploring Operation: 60-8=52, Resulting Numbers: [2, 14, 52] Generated Node #0,3: 24:[2, 14, 52] Operation: 60-8=52 Exploring Operation: 60/2=30, Resulting Numbers: [14, 8, 30] Generated Node #0,4: 24:[14, 8, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,4 Current State: 24:[14, 8, 30], Operations: ['60/2=30'] Exploring Operation: 30-14=16, Resulting Numbers: [8, 16] Generated Node #0,4,0: 24:[8, 16] Operation: 30-14=16 Exploring Operation: 8+30=38, Resulting Numbers: [14, 38] Generated Node #0,4,1: 24:[14, 38] Operation: 8+30=38 Exploring Operation: 30-8=22, Resulting Numbers: [14, 22] Generated Node #0,4,2: 24:[14, 22] Operation: 30-8=22 Exploring Operation: 14+8=22, Resulting Numbers: [30, 22] Generated Node #0,4,3: 24:[30, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [30, 6] Generated Node #0,4,4: 24:[30, 6] Operation: 14-8=6 Moving to Node #0,4,0 Current State: 24:[8, 16], Operations: ['60/2=30', '30-14=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[2, 60, 14, 8], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [14, 8, 30] Generated Node #0,4: 24:[14, 8, 30] Operation: 60/2=30 Moving to Node #0,4 Current State: 24:[14, 8, 30], Operations: ['60/2=30'] Exploring Operation: 30-14=16, Resulting Numbers: [8, 16] Generated Node #0,4,0: 24:[8, 16] Operation: 30-14=16 Moving to Node #0,4,0 Current State: 24:[8, 16], Operations: ['60/2=30', '30-14=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 59, 11, 1, 49 ]
97
[ "59-11=48", "1*49=49", "48+49=97" ]
Current State: 97:[59, 11, 1, 49], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [1, 49, 48] Generated Node #2: [1, 49, 48] from Operation: 59-11=48 Current State: 97:[1, 49, 48], Operations: ['59-11=48'] Exploring Operation: 1*49=49, Resulting Numbers: [48, 49] Generated Node #3: [48, 49] from Operation: 1*49=49 Current State: 97:[48, 49], Operations: ['59-11=48', '1*49=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[59, 11, 1, 49], Operations: [] Exploring Operation: 59+1=60, Resulting Numbers: [11, 49, 60] Generated Node #0,0: 97:[11, 49, 60] Operation: 59+1=60 Exploring Operation: 59+11=70, Resulting Numbers: [1, 49, 70] Generated Node #0,1: 97:[1, 49, 70] Operation: 59+11=70 Exploring Operation: 11+1=12, Resulting Numbers: [59, 49, 12] Generated Node #0,2: 97:[59, 49, 12] Operation: 11+1=12 Moving to Node #0,0 Current State: 97:[11, 49, 60], Operations: ['59+1=60'] Exploring Operation: 11+49=60, Resulting Numbers: [60, 60] Generated Node #0,0,0: 97:[60, 60] Operation: 11+49=60 Exploring Operation: 49-11=38, Resulting Numbers: [60, 38] Generated Node #0,0,1: 97:[60, 38] Operation: 49-11=38 Exploring Operation: 11+60=71, Resulting Numbers: [49, 71] Generated Node #0,0,2: 97:[49, 71] Operation: 11+60=71 Moving to Node #0,1 Current State: 97:[1, 49, 70], Operations: ['59+11=70'] Exploring Operation: 1+49=50, Resulting Numbers: [70, 50] Generated Node #0,1,0: 97:[70, 50] Operation: 1+49=50 Exploring Operation: 1*49=49, Resulting Numbers: [70, 49] Generated Node #0,1,1: 97:[70, 49] Operation: 1*49=49 Exploring Operation: 1+70=71, Resulting Numbers: [49, 71] Generated Node #0,1,2: 97:[49, 71] Operation: 1+70=71 Moving to Node #0,2 Current State: 97:[59, 49, 12], Operations: ['11+1=12'] Exploring Operation: 49+12=61, Resulting Numbers: [59, 61] Generated Node #0,2,0: 97:[59, 61] Operation: 49+12=61 Exploring Operation: 59+12=71, Resulting Numbers: [49, 71] Generated Node #0,2,1: 97:[49, 71] Operation: 59+12=71 Exploring Operation: 59+49=108, Resulting Numbers: [12, 108] Generated Node #0,2,2: 97:[12, 108] Operation: 59+49=108 Moving to Node #0,0,0 Current State: 97:[60, 60], Operations: ['59+1=60', '11+49=60'] Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[59, 61], Operations: ['11+1=12', '49+12=61'] Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,97 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[49, 71], Operations: ['59+1=60', '11+60=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,97 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[49, 71], Operations: ['59+11=70', '1+70=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,97 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[49, 71], Operations: ['11+1=12', '59+12=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,97 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[70, 50], Operations: ['59+11=70', '1+49=50'] Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,97 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[70, 49], Operations: ['59+11=70', '1*49=49'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 70*49=3430, Resulting Numbers: [3430] 3430,97 unequal: No Solution Exploring Operation: 70+49=119, Resulting Numbers: [119] 119,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[60, 38], Operations: ['59+1=60', '49-11=38'] Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,97 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,97 unequal: No Solution Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[12, 108], Operations: ['11+1=12', '59+49=108'] Exploring Operation: 108/12=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,97 unequal: No Solution Exploring Operation: 12+108=120, Resulting Numbers: [120] 120,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 3, 60, 27 ]
71
[ "60-50=10", "3*27=81", "81-10=71" ]
Current State: 71:[50, 3, 60, 27], Operations: [] Exploring Operation: 60-50=10, Resulting Numbers: [3, 27, 10] Generated Node #2: [3, 27, 10] from Operation: 60-50=10 Current State: 71:[3, 27, 10], Operations: ['60-50=10'] Exploring Operation: 3*27=81, Resulting Numbers: [10, 81] Generated Node #3: [10, 81] from Operation: 3*27=81 Current State: 71:[10, 81], Operations: ['60-50=10', '3*27=81'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[50, 3, 60, 27], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [50, 27, 63] Generated Node #0,0: 71:[50, 27, 63] Operation: 3+60=63 Exploring Operation: 50+3=53, Resulting Numbers: [60, 27, 53] Generated Node #0,1: 71:[60, 27, 53] Operation: 50+3=53 Exploring Operation: 3*27=81, Resulting Numbers: [50, 60, 81] Generated Node #0,2: 71:[50, 60, 81] Operation: 3*27=81 Exploring Operation: 3+27=30, Resulting Numbers: [50, 60, 30] Generated Node #0,3: 71:[50, 60, 30] Operation: 3+27=30 Moving to Node #0,2 Current State: 71:[50, 60, 81], Operations: ['3*27=81'] Exploring Operation: 50+60=110, Resulting Numbers: [81, 110] Generated Node #0,2,0: 71:[81, 110] Operation: 50+60=110 Exploring Operation: 81-50=31, Resulting Numbers: [60, 31] Generated Node #0,2,1: 71:[60, 31] Operation: 81-50=31 Exploring Operation: 60-50=10, Resulting Numbers: [81, 10] Generated Node #0,2,2: 71:[81, 10] Operation: 60-50=10 Exploring Operation: 50+81=131, Resulting Numbers: [60, 131] Generated Node #0,2,3: 71:[60, 131] Operation: 50+81=131 Moving to Node #0,1 Current State: 71:[60, 27, 53], Operations: ['50+3=53'] Exploring Operation: 60+27=87, Resulting Numbers: [53, 87] Generated Node #0,1,0: 71:[53, 87] Operation: 60+27=87 Exploring Operation: 53-27=26, Resulting Numbers: [60, 26] Generated Node #0,1,1: 71:[60, 26] Operation: 53-27=26 Exploring Operation: 60-27=33, Resulting Numbers: [53, 33] Generated Node #0,1,2: 71:[53, 33] Operation: 60-27=33 Exploring Operation: 27+53=80, Resulting Numbers: [60, 80] Generated Node #0,1,3: 71:[60, 80] Operation: 27+53=80 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[60, 80], Operations: ['50+3=53', '27+53=80'] Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,71 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[53, 87], Operations: ['50+3=53', '60+27=87'] Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[60, 26], Operations: ['50+3=53', '53-27=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,71 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[53, 33], Operations: ['50+3=53', '60-27=33'] Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 71:[50, 27, 63], Operations: ['3+60=63'] Exploring Operation: 27+63=90, Resulting Numbers: [50, 90] Generated Node #0,0,0: 71:[50, 90] Operation: 27+63=90 Exploring Operation: 50+27=77, Resulting Numbers: [63, 77] Generated Node #0,0,1: 71:[63, 77] Operation: 50+27=77 Exploring Operation: 50-27=23, Resulting Numbers: [63, 23] Generated Node #0,0,2: 71:[63, 23] Operation: 50-27=23 Exploring Operation: 63-27=36, Resulting Numbers: [50, 36] Generated Node #0,0,3: 71:[50, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[63, 77], Operations: ['3+60=63', '50+27=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,71 unequal: No Solution Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[50, 90], Operations: ['3+60=63', '27+63=90'] Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,71 unequal: No Solution Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[63, 23], Operations: ['3+60=63', '50-27=23'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,71 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[50, 36], Operations: ['3+60=63', '63-27=36'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,71 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 71:[50, 60, 30], Operations: ['3+27=30'] Exploring Operation: 50+30=80, Resulting Numbers: [60, 80] Generated Node #0,3,0: 71:[60, 80] Operation: 50+30=80 Exploring Operation: 60-30=30, Resulting Numbers: [50, 30] Generated Node #0,3,1: 71:[50, 30] Operation: 60-30=30 Exploring Operation: 60+30=90, Resulting Numbers: [50, 90] Generated Node #0,3,2: 71:[50, 90] Operation: 60+30=90 Exploring Operation: 50-30=20, Resulting Numbers: [60, 20] Generated Node #0,3,3: 71:[60, 20] Operation: 50-30=20 Moving to Node #0,3,0 Current State: 71:[60, 80], Operations: ['3+27=30', '50+30=80'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[50, 90], Operations: ['3+27=30', '60+30=90'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,71 unequal: No Solution Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[81, 110], Operations: ['3*27=81', '50+60=110'] Exploring Operation: 110-81=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 81*110=8910, Resulting Numbers: [8910] 8910,71 unequal: No Solution Exploring Operation: 81+110=191, Resulting Numbers: [191] 191,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[60, 31], Operations: ['3*27=81', '81-50=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,71 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[50, 30], Operations: ['3+27=30', '60-30=30'] Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,71 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[60, 20], Operations: ['3+27=30', '50-30=20'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 60*20=1200, Resulting Numbers: [1200] 1200,71 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[81, 10], Operations: ['3*27=81', '60-50=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[50, 3, 60, 27], Operations: [] Exploring Operation: 3*27=81, Resulting Numbers: [50, 60, 81] Generated Node #0,2: 71:[50, 60, 81] Operation: 3*27=81 Moving to Node #0,2 Current State: 71:[50, 60, 81], Operations: ['3*27=81'] Exploring Operation: 60-50=10, Resulting Numbers: [81, 10] Generated Node #0,2,2: 71:[81, 10] Operation: 60-50=10 Moving to Node #0,2,2 Current State: 71:[81, 10], Operations: ['3*27=81', '60-50=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 13, 95, 74, 55 ]
42
[ "95+74=169", "169/13=13", "55-13=42" ]
Current State: 42:[13, 95, 74, 55], Operations: [] Exploring Operation: 95+74=169, Resulting Numbers: [13, 55, 169] Generated Node #2: [13, 55, 169] from Operation: 95+74=169 Current State: 42:[13, 55, 169], Operations: ['95+74=169'] Exploring Operation: 169/13=13, Resulting Numbers: [55, 13] Generated Node #3: [55, 13] from Operation: 169/13=13 Current State: 42:[55, 13], Operations: ['95+74=169', '169/13=13'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[13, 95, 74, 55], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [13, 74, 40] Generated Node #0,0: 42:[13, 74, 40] Operation: 95-55=40 Exploring Operation: 74-55=19, Resulting Numbers: [13, 95, 19] Generated Node #0,1: 42:[13, 95, 19] Operation: 74-55=19 Exploring Operation: 95-74=21, Resulting Numbers: [13, 55, 21] Generated Node #0,2: 42:[13, 55, 21] Operation: 95-74=21 Moving to Node #0,2 Current State: 42:[13, 55, 21], Operations: ['95-74=21'] Exploring Operation: 55-13=42, Resulting Numbers: [21, 42] Generated Node #0,2,0: 42:[21, 42] Operation: 55-13=42 Exploring Operation: 21-13=8, Resulting Numbers: [55, 8] Generated Node #0,2,1: 42:[55, 8] Operation: 21-13=8 Exploring Operation: 55-21=34, Resulting Numbers: [13, 34] Generated Node #0,2,2: 42:[13, 34] Operation: 55-21=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[21, 42], Operations: ['95-74=21', '55-13=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[13, 34], Operations: ['95-74=21', '55-21=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,42 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[55, 8], Operations: ['95-74=21', '21-13=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,42 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,42 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: 42:[13, 74, 40], Operations: ['95-55=40'] Exploring Operation: 74-13=61, Resulting Numbers: [40, 61] Generated Node #0,0,0: 42:[40, 61] Operation: 74-13=61 Exploring Operation: 74-40=34, Resulting Numbers: [13, 34] Generated Node #0,0,1: 42:[13, 34] Operation: 74-40=34 Exploring Operation: 40-13=27, Resulting Numbers: [74, 27] Generated Node #0,0,2: 42:[74, 27] Operation: 40-13=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[13, 34], Operations: ['95-55=40', '74-40=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,42 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[40, 61], Operations: ['95-55=40', '74-13=61'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[74, 27], Operations: ['95-55=40', '40-13=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,42 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,42 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: 42:[13, 95, 19], Operations: ['74-55=19'] Exploring Operation: 95-13=82, Resulting Numbers: [19, 82] Generated Node #0,1,0: 42:[19, 82] Operation: 95-13=82 Exploring Operation: 95/19=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 42:[13, 5] Operation: 95/19=5 Exploring Operation: 95-19=76, Resulting Numbers: [13, 76] Generated Node #0,1,2: 42:[13, 76] Operation: 95-19=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[13, 5], Operations: ['74-55=19', '95/19=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[13, 76], Operations: ['74-55=19', '95-19=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,42 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[19, 82], Operations: ['74-55=19', '95-13=82'] Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 19*82=1558, Resulting Numbers: [1558] 1558,42 unequal: No Solution Exploring Operation: 19+82=101, Resulting Numbers: [101] 101,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 84, 99, 3, 9 ]
20
[ "84+99=183", "183-3=180", "180/9=20" ]
Current State: 20:[84, 99, 3, 9], Operations: [] Exploring Operation: 84+99=183, Resulting Numbers: [3, 9, 183] Generated Node #2: [3, 9, 183] from Operation: 84+99=183 Current State: 20:[3, 9, 183], Operations: ['84+99=183'] Exploring Operation: 183-3=180, Resulting Numbers: [9, 180] Generated Node #3: [9, 180] from Operation: 183-3=180 Current State: 20:[9, 180], Operations: ['84+99=183', '183-3=180'] Exploring Operation: 180/9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[84, 99, 3, 9], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [3, 9, 15] Generated Node #0,0: 20:[3, 9, 15] Operation: 99-84=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[3, 9, 15], Operations: ['99-84=15'] Exploring Operation: 15/3=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 20:[9, 5] Operation: 15/3=5 Moving to Node #0,0,0 Current State: 20:[9, 5], Operations: ['99-84=15', '15/3=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,20 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
[ 3, 3, 67, 15 ]
59
[ "67-3=64", "15/3=5", "64-5=59" ]
Current State: 59:[3, 3, 67, 15], Operations: [] Exploring Operation: 67-3=64, Resulting Numbers: [15, 64] Generated Node #2: [15, 64] from Operation: 67-3=64 Current State: 59:[15, 64], Operations: ['67-3=64'] Exploring Operation: 15/3=5, Resulting Numbers: [64, 5] Generated Node #3: [64, 5] from Operation: 15/3=5 Current State: 59:[64, 5], Operations: ['67-3=64', '15/3=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[3, 3, 67, 15], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [3, 67, 45] Generated Node #0,0: 59:[3, 67, 45] Operation: 3*15=45 Exploring Operation: 3*3=9, Resulting Numbers: [67, 15, 9] Generated Node #0,1: 59:[67, 15, 9] Operation: 3*3=9 Exploring Operation: 3*15=45, Resulting Numbers: [3, 67, 45] Generated Node #0,2: 59:[3, 67, 45] Operation: 3*15=45 Exploring Operation: 3+3=6, Resulting Numbers: [67, 15, 6] Generated Node #0,3: 59:[67, 15, 6] Operation: 3+3=6 Exploring Operation: 67-3=64, Resulting Numbers: [3, 15, 64] Generated Node #0,4: 59:[3, 15, 64] Operation: 67-3=64 Moving to Node #0,0 Current State: 59:[3, 67, 45], Operations: ['3*15=45'] Exploring Operation: 67-3=64, Resulting Numbers: [45, 64] Generated Node #0,0,0: 59:[45, 64] Operation: 67-3=64 Exploring Operation: 3+45=48, Resulting Numbers: [67, 48] Generated Node #0,0,1: 59:[67, 48] Operation: 3+45=48 Exploring Operation: 45/3=15, Resulting Numbers: [67, 15] Generated Node #0,0,2: 59:[67, 15] Operation: 45/3=15 Exploring Operation: 3+67=70, Resulting Numbers: [45, 70] Generated Node #0,0,3: 59:[45, 70] Operation: 3+67=70 Exploring Operation: 45-3=42, Resulting Numbers: [67, 42] Generated Node #0,0,4: 59:[67, 42] Operation: 45-3=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[45, 64], Operations: ['3*15=45', '67-3=64'] Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[67, 48], Operations: ['3*15=45', '3+45=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[45, 70], Operations: ['3*15=45', '3+67=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,59 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[67, 42], Operations: ['3*15=45', '45-3=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,59 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[67, 15], Operations: ['3*15=45', '45/3=15'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[3, 67, 45], Operations: ['3*15=45'] Exploring Operation: 45/3=15, Resulting Numbers: [67, 15] Generated Node #0,2,0: 59:[67, 15] Operation: 45/3=15 Exploring Operation: 67-3=64, Resulting Numbers: [45, 64] Generated Node #0,2,1: 59:[45, 64] Operation: 67-3=64 Exploring Operation: 3+67=70, Resulting Numbers: [45, 70] Generated Node #0,2,2: 59:[45, 70] Operation: 3+67=70 Exploring Operation: 45-3=42, Resulting Numbers: [67, 42] Generated Node #0,2,3: 59:[67, 42] Operation: 45-3=42 Exploring Operation: 3+45=48, Resulting Numbers: [67, 48] Generated Node #0,2,4: 59:[67, 48] Operation: 3+45=48 Moving to Node #0,1 Current State: 59:[67, 15, 9], Operations: ['3*3=9'] Exploring Operation: 15-9=6, Resulting Numbers: [67, 6] Generated Node #0,1,0: 59:[67, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [67, 24] Generated Node #0,1,1: 59:[67, 24] Operation: 15+9=24 Exploring Operation: 67+9=76, Resulting Numbers: [15, 76] Generated Node #0,1,2: 59:[15, 76] Operation: 67+9=76 Exploring Operation: 67-15=52, Resulting Numbers: [9, 52] Generated Node #0,1,3: 59:[9, 52] Operation: 67-15=52 Exploring Operation: 67-9=58, Resulting Numbers: [15, 58] Generated Node #0,1,4: 59:[15, 58] Operation: 67-9=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[67, 24], Operations: ['3*3=9', '15+9=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,59 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[15, 58], Operations: ['3*3=9', '67-9=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[9, 52], Operations: ['3*3=9', '67-15=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,59 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[67, 6], Operations: ['3*3=9', '15-9=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,59 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[15, 76], Operations: ['3*3=9', '67+9=76'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,59 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,59 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: 59:[67, 15, 6], Operations: ['3+3=6'] Exploring Operation: 67+6=73, Resulting Numbers: [15, 73] Generated Node #0,3,0: 59:[15, 73] Operation: 67+6=73 Exploring Operation: 15+6=21, Resulting Numbers: [67, 21] Generated Node #0,3,1: 59:[67, 21] Operation: 15+6=21 Exploring Operation: 15-6=9, Resulting Numbers: [67, 9] Generated Node #0,3,2: 59:[67, 9] Operation: 15-6=9 Exploring Operation: 15*6=90, Resulting Numbers: [67, 90] Generated Node #0,3,3: 59:[67, 90] Operation: 15*6=90 Exploring Operation: 67-6=61, Resulting Numbers: [15, 61] Generated Node #0,3,4: 59:[15, 61] Operation: 67-6=61 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[67, 90], Operations: ['3+3=6', '15*6=90'] Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,59 unequal: No Solution Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 67*90=6030, Resulting Numbers: [6030] 6030,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:[67, 21], Operations: ['3+3=6', '15+6=21'] Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,59 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 67-21=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,4 Current State: 59:[15, 61], Operations: ['3+3=6', '67-6=61'] Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,59 unequal: No Solution Exploring Operation: 61-15=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,0 Current State: 59:[15, 73], Operations: ['3+3=6', '67+6=73'] Exploring Operation: 15*73=1095, Resulting Numbers: [1095] 1095,59 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 15+73=88, Resulting Numbers: [88] 88,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:[67, 9], Operations: ['3+3=6', '15-6=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,59 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,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:[3, 15, 64], Operations: ['67-3=64'] Exploring Operation: 3+15=18, Resulting Numbers: [64, 18] Generated Node #0,4,0: 59:[64, 18] Operation: 3+15=18 Exploring Operation: 3*15=45, Resulting Numbers: [64, 45] Generated Node #0,4,1: 59:[64, 45] Operation: 3*15=45 Exploring Operation: 3+64=67, Resulting Numbers: [15, 67] Generated Node #0,4,2: 59:[15, 67] Operation: 3+64=67 Exploring Operation: 15-3=12, Resulting Numbers: [64, 12] Generated Node #0,4,3: 59:[64, 12] Operation: 15-3=12 Exploring Operation: 64-3=61, Resulting Numbers: [15, 61] Generated Node #0,4,4: 59:[15, 61] Operation: 64-3=61 Moving to Node #0,2,1 Current State: 59:[45, 64], Operations: ['3*15=45', '67-3=64'] Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[64, 45], Operations: ['67-3=64', '3*15=45'] Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[67, 48], Operations: ['3*15=45', '3+45=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,59 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[45, 70], Operations: ['3*15=45', '3+67=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,59 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[67, 42], Operations: ['3*15=45', '45-3=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,59 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,59 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[64, 18], Operations: ['67-3=64', '3+15=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,59 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[15, 61], Operations: ['67-3=64', '64-3=61'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[64, 12], Operations: ['67-3=64', '15-3=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[15, 67], Operations: ['67-3=64', '3+64=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[67, 15], Operations: ['3*15=45', '45/3=15'] Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 83, 73, 21, 79 ]
10
[ "83-73=10", "21+79=100", "100/10=10" ]
Current State: 10:[83, 73, 21, 79], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [21, 79, 10] Generated Node #2: [21, 79, 10] from Operation: 83-73=10 Current State: 10:[21, 79, 10], Operations: ['83-73=10'] Exploring Operation: 21+79=100, Resulting Numbers: [10, 100] Generated Node #3: [10, 100] from Operation: 21+79=100 Current State: 10:[10, 100], Operations: ['83-73=10', '21+79=100'] Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[83, 73, 21, 79], Operations: [] Exploring Operation: 83-21=62, Resulting Numbers: [73, 79, 62] Generated Node #0,0: 10:[73, 79, 62] Operation: 83-21=62 Exploring Operation: 83-73=10, Resulting Numbers: [21, 79, 10] Generated Node #0,1: 10:[21, 79, 10] Operation: 83-73=10 Exploring Operation: 79-73=6, Resulting Numbers: [83, 21, 6] Generated Node #0,2: 10:[83, 21, 6] Operation: 79-73=6 Exploring Operation: 83-79=4, Resulting Numbers: [73, 21, 4] Generated Node #0,3: 10:[73, 21, 4] Operation: 83-79=4 Exploring Operation: 73-21=52, Resulting Numbers: [83, 79, 52] Generated Node #0,4: 10:[83, 79, 52] Operation: 73-21=52 Moving to Node #0,3 Current State: 10:[73, 21, 4], Operations: ['83-79=4'] Exploring Operation: 73-4=69, Resulting Numbers: [21, 69] Generated Node #0,3,0: 10:[21, 69] Operation: 73-4=69 Exploring Operation: 73-21=52, Resulting Numbers: [4, 52] Generated Node #0,3,1: 10:[4, 52] Operation: 73-21=52 Exploring Operation: 73+4=77, Resulting Numbers: [21, 77] Generated Node #0,3,2: 10:[21, 77] Operation: 73+4=77 Exploring Operation: 21-4=17, Resulting Numbers: [73, 17] Generated Node #0,3,3: 10:[73, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [73, 25] Generated Node #0,3,4: 10:[73, 25] Operation: 21+4=25 Moving to Node #0,1 Current State: 10:[21, 79, 10], Operations: ['83-73=10'] Exploring Operation: 79-21=58, Resulting Numbers: [10, 58] Generated Node #0,1,0: 10:[10, 58] Operation: 79-21=58 Exploring Operation: 21+10=31, Resulting Numbers: [79, 31] Generated Node #0,1,1: 10:[79, 31] Operation: 21+10=31 Exploring Operation: 21-10=11, Resulting Numbers: [79, 11] Generated Node #0,1,2: 10:[79, 11] Operation: 21-10=11 Exploring Operation: 21+79=100, Resulting Numbers: [10, 100] Generated Node #0,1,3: 10:[10, 100] Operation: 21+79=100 Exploring Operation: 79-10=69, Resulting Numbers: [21, 69] Generated Node #0,1,4: 10:[21, 69] Operation: 79-10=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[10, 58], Operations: ['83-73=10', '79-21=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,10 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,10 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[79, 11], Operations: ['83-73=10', '21-10=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,10 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[21, 69], Operations: ['83-73=10', '79-10=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[79, 31], Operations: ['83-73=10', '21+10=31'] Exploring Operation: 79*31=2449, Resulting Numbers: [2449] 2449,10 unequal: No Solution Exploring Operation: 79+31=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[10, 100], Operations: ['83-73=10', '21+79=100'] Exploring Operation: 10+100=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 10*100=1000, Resulting Numbers: [1000] 1000,10 unequal: No Solution Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[83, 73, 21, 79], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [21, 79, 10] Generated Node #0,1: 10:[21, 79, 10] Operation: 83-73=10 Moving to Node #0,1 Current State: 10:[21, 79, 10], Operations: ['83-73=10'] Exploring Operation: 21+79=100, Resulting Numbers: [10, 100] Generated Node #0,1,3: 10:[10, 100] Operation: 21+79=100 Moving to Node #0,1,3 Current State: 10:[10, 100], Operations: ['83-73=10', '21+79=100'] Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 80, 26, 50, 23 ]
19
[ "80-26=54", "50+23=73", "73-54=19" ]
Current State: 19:[80, 26, 50, 23], Operations: [] Exploring Operation: 80-26=54, Resulting Numbers: [50, 23, 54] Generated Node #2: [50, 23, 54] from Operation: 80-26=54 Current State: 19:[50, 23, 54], Operations: ['80-26=54'] Exploring Operation: 50+23=73, Resulting Numbers: [54, 73] Generated Node #3: [54, 73] from Operation: 50+23=73 Current State: 19:[54, 73], Operations: ['80-26=54', '50+23=73'] Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[80, 26, 50, 23], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [26, 23, 30] Generated Node #0,0: 19:[26, 23, 30] Operation: 80-50=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[26, 23, 30], Operations: ['80-50=30'] Exploring Operation: 30-26=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 19:[23, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[23, 4], Operations: ['80-50=30', '30-26=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[80, 26, 50, 23], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [26, 23, 30] Generated Node #0,0: 19:[26, 23, 30] Operation: 80-50=30 Moving to Node #0,0 Current State: 19:[26, 23, 30], Operations: ['80-50=30'] Exploring Operation: 30-26=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 19:[23, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 19:[23, 4], Operations: ['80-50=30', '30-26=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 54, 3, 96, 55 ]
15
[ "54+96=150", "3*55=165", "165-150=15" ]
Current State: 15:[54, 3, 96, 55], Operations: [] Exploring Operation: 54+96=150, Resulting Numbers: [3, 55, 150] Generated Node #2: [3, 55, 150] from Operation: 54+96=150 Current State: 15:[3, 55, 150], Operations: ['54+96=150'] Exploring Operation: 3*55=165, Resulting Numbers: [150, 165] Generated Node #3: [150, 165] from Operation: 3*55=165 Current State: 15:[150, 165], Operations: ['54+96=150', '3*55=165'] Exploring Operation: 165-150=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[54, 3, 96, 55], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [54, 3, 41] Generated Node #0,0: 15:[54, 3, 41] Operation: 96-55=41 Moving to Node #0,0 Current State: 15:[54, 3, 41], Operations: ['96-55=41'] Exploring Operation: 54-41=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 15:[3, 13] Operation: 54-41=13 Moving to Node #0,0,0 Current State: 15:[3, 13], Operations: ['96-55=41', '54-41=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 16, 23, 36, 3 ]
45
[ "23-3=20", "36*20=720", "720/16=45" ]
Current State: 45:[16, 23, 36, 3], Operations: [] Exploring Operation: 23-3=20, Resulting Numbers: [16, 36, 20] Generated Node #2: [16, 36, 20] from Operation: 23-3=20 Current State: 45:[16, 36, 20], Operations: ['23-3=20'] Exploring Operation: 36*20=720, Resulting Numbers: [16, 720] Generated Node #3: [16, 720] from Operation: 36*20=720 Current State: 45:[16, 720], Operations: ['23-3=20', '36*20=720'] Exploring Operation: 720/16=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[16, 23, 36, 3], Operations: [] Exploring Operation: 36/3=12, Resulting Numbers: [16, 23, 12] Generated Node #0,0: 45:[16, 23, 12] Operation: 36/3=12 Exploring Operation: 23-16=7, Resulting Numbers: [36, 3, 7] Generated Node #0,1: 45:[36, 3, 7] Operation: 23-16=7 Exploring Operation: 36-23=13, Resulting Numbers: [16, 3, 13] Generated Node #0,2: 45:[16, 3, 13] Operation: 36-23=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[16, 3, 13], Operations: ['36-23=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16, 16] Generated Node #0,2,0: 45:[16, 16] Operation: 3+13=16 Exploring Operation: 16-13=3, Resulting Numbers: [3, 3] Generated Node #0,2,1: 45:[3, 3] Operation: 16-13=3 Exploring Operation: 13-3=10, Resulting Numbers: [16, 10] Generated Node #0,2,2: 45:[16, 10] Operation: 13-3=10 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[3, 3], Operations: ['36-23=13', '16-13=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,45 unequal: No Solution No 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: 45:[16, 16], Operations: ['36-23=13', '3+13=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,45 unequal: No Solution No 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: 45:[16, 10], Operations: ['36-23=13', '13-3=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,45 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: 45:[36, 3, 7], Operations: ['23-16=7'] Exploring Operation: 36+3=39, Resulting Numbers: [7, 39] Generated Node #0,1,0: 45:[7, 39] Operation: 36+3=39 Exploring Operation: 36+7=43, Resulting Numbers: [3, 43] Generated Node #0,1,1: 45:[3, 43] Operation: 36+7=43 Exploring Operation: 36/3=12, Resulting Numbers: [7, 12] Generated Node #0,1,2: 45:[7, 12] Operation: 36/3=12 Moving to Node #0,1,1 Current State: 45:[3, 43], Operations: ['23-16=7', '36+7=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[7, 12], Operations: ['23-16=7', '36/3=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[7, 39], Operations: ['23-16=7', '36+3=39'] Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,45 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[16, 23, 12], Operations: ['36/3=12'] Exploring Operation: 16+23=39, Resulting Numbers: [12, 39] Generated Node #0,0,0: 45:[12, 39] Operation: 16+23=39 Exploring Operation: 23-12=11, Resulting Numbers: [16, 11] Generated Node #0,0,1: 45:[16, 11] Operation: 23-12=11 Exploring Operation: 23-16=7, Resulting Numbers: [12, 7] Generated Node #0,0,2: 45:[12, 7] Operation: 23-16=7 Moving to Node #0,0,1 Current State: 45:[16, 11], Operations: ['36/3=12', '23-12=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[12, 7], Operations: ['36/3=12', '23-16=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[12, 39], Operations: ['36/3=12', '16+23=39'] Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,45 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 75, 78, 51, 60 ]
93
[ "78-75=3", "51*3=153", "153-60=93" ]
Current State: 93:[75, 78, 51, 60], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [51, 60, 3] Generated Node #2: [51, 60, 3] from Operation: 78-75=3 Current State: 93:[51, 60, 3], Operations: ['78-75=3'] Exploring Operation: 51*3=153, Resulting Numbers: [60, 153] Generated Node #3: [60, 153] from Operation: 51*3=153 Current State: 93:[60, 153], Operations: ['78-75=3', '51*3=153'] Exploring Operation: 153-60=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[75, 78, 51, 60], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [51, 60, 3] Generated Node #0,0: 93:[51, 60, 3] Operation: 78-75=3 Exploring Operation: 75-60=15, Resulting Numbers: [78, 51, 15] Generated Node #0,1: 93:[78, 51, 15] Operation: 75-60=15 Exploring Operation: 60-51=9, Resulting Numbers: [75, 78, 9] Generated Node #0,2: 93:[75, 78, 9] Operation: 60-51=9 Moving to Node #0,2 Current State: 93:[75, 78, 9], Operations: ['60-51=9'] Exploring Operation: 75+9=84, Resulting Numbers: [78, 84] Generated Node #0,2,0: 93:[78, 84] Operation: 75+9=84 Exploring Operation: 78+9=87, Resulting Numbers: [75, 87] Generated Node #0,2,1: 93:[75, 87] Operation: 78+9=87 Exploring Operation: 78-75=3, Resulting Numbers: [9, 3] Generated Node #0,2,2: 93:[9, 3] Operation: 78-75=3 Moving to Node #0,1 Current State: 93:[78, 51, 15], Operations: ['75-60=15'] Exploring Operation: 78+15=93, Resulting Numbers: [51, 93] Generated Node #0,1,0: 93:[51, 93] Operation: 78+15=93 Exploring Operation: 78-51=27, Resulting Numbers: [15, 27] Generated Node #0,1,1: 93:[15, 27] Operation: 78-51=27 Exploring Operation: 51-15=36, Resulting Numbers: [78, 36] Generated Node #0,1,2: 93:[78, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[15, 27], Operations: ['75-60=15', '78-51=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,93 unequal: No Solution No 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: 93:[51, 93], Operations: ['75-60=15', '78+15=93'] Exploring Operation: 51+93=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 51*93=4743, Resulting Numbers: [4743] 4743,93 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,93 unequal: No Solution No 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: 93:[78, 36], Operations: ['75-60=15', '51-15=36'] Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,93 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,93 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: 93:[51, 60, 3], Operations: ['78-75=3'] Exploring Operation: 60/3=20, Resulting Numbers: [51, 20] Generated Node #0,0,0: 93:[51, 20] Operation: 60/3=20 Exploring Operation: 60-51=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 93:[3, 9] Operation: 60-51=9 Exploring Operation: 51+60=111, Resulting Numbers: [3, 111] Generated Node #0,0,2: 93:[3, 111] Operation: 51+60=111 Moving to Node #0,2,2 Current State: 93:[9, 3], Operations: ['60-51=9', '78-75=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[3, 9], Operations: ['78-75=3', '60-51=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[3, 111], Operations: ['78-75=3', '51+60=111'] Exploring Operation: 111/3=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 3+111=114, Resulting Numbers: [114] 114,93 unequal: No Solution Exploring Operation: 111-3=108, Resulting Numbers: [108] 108,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[75, 87], Operations: ['60-51=9', '78+9=87'] Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,93 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,93 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[78, 84], Operations: ['60-51=9', '75+9=84'] Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,93 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[51, 20], Operations: ['78-75=3', '60/3=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,93 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 25, 37, 87 ]
21
[ "37+87=124", "124/31=4", "25-4=21" ]
Current State: 21:[31, 25, 37, 87], Operations: [] Exploring Operation: 37+87=124, Resulting Numbers: [31, 25, 124] Generated Node #2: [31, 25, 124] from Operation: 37+87=124 Current State: 21:[31, 25, 124], Operations: ['37+87=124'] Exploring Operation: 124/31=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 124/31=4 Current State: 21:[25, 4], Operations: ['37+87=124', '124/31=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[31, 25, 37, 87], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [31, 25, 50] Generated Node #0,0: 21:[31, 25, 50] Operation: 87-37=50 Exploring Operation: 37-31=6, Resulting Numbers: [25, 87, 6] Generated Node #0,1: 21:[25, 87, 6] Operation: 37-31=6 Exploring Operation: 87-25=62, Resulting Numbers: [31, 37, 62] Generated Node #0,2: 21:[31, 37, 62] Operation: 87-25=62 Exploring Operation: 87-31=56, Resulting Numbers: [25, 37, 56] Generated Node #0,3: 21:[25, 37, 56] Operation: 87-31=56 Moving to Node #0,0 Current State: 21:[31, 25, 50], Operations: ['87-37=50'] Exploring Operation: 31-25=6, Resulting Numbers: [50, 6] Generated Node #0,0,0: 21:[50, 6] Operation: 31-25=6 Exploring Operation: 50-25=25, Resulting Numbers: [31, 25] Generated Node #0,0,1: 21:[31, 25] Operation: 50-25=25 Exploring Operation: 50-31=19, Resulting Numbers: [25, 19] Generated Node #0,0,2: 21:[25, 19] Operation: 50-31=19 Exploring Operation: 50/25=2, Resulting Numbers: [31, 2] Generated Node #0,0,3: 21:[31, 2] Operation: 50/25=2 Moving to Node #0,3 Current State: 21:[25, 37, 56], Operations: ['87-31=56'] Exploring Operation: 56-37=19, Resulting Numbers: [25, 19] Generated Node #0,3,0: 21:[25, 19] Operation: 56-37=19 Exploring Operation: 37-25=12, Resulting Numbers: [56, 12] Generated Node #0,3,1: 21:[56, 12] Operation: 37-25=12 Exploring Operation: 25+37=62, Resulting Numbers: [56, 62] Generated Node #0,3,2: 21:[56, 62] Operation: 25+37=62 Exploring Operation: 56-25=31, Resulting Numbers: [37, 31] Generated Node #0,3,3: 21:[37, 31] Operation: 56-25=31 Moving to Node #0,2 Current State: 21:[31, 37, 62], Operations: ['87-25=62'] Exploring Operation: 62-37=25, Resulting Numbers: [31, 25] Generated Node #0,2,0: 21:[31, 25] Operation: 62-37=25 Exploring Operation: 62/31=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 21:[37, 2] Operation: 62/31=2 Exploring Operation: 37-31=6, Resulting Numbers: [62, 6] Generated Node #0,2,2: 21:[62, 6] Operation: 37-31=6 Exploring Operation: 62-31=31, Resulting Numbers: [37, 31] Generated Node #0,2,3: 21:[37, 31] Operation: 62-31=31 Moving to Node #0,1 Current State: 21:[25, 87, 6], Operations: ['37-31=6'] Exploring Operation: 25+6=31, Resulting Numbers: [87, 31] Generated Node #0,1,0: 21:[87, 31] Operation: 25+6=31 Exploring Operation: 25-6=19, Resulting Numbers: [87, 19] Generated Node #0,1,1: 21:[87, 19] Operation: 25-6=19 Exploring Operation: 87-25=62, Resulting Numbers: [6, 62] Generated Node #0,1,2: 21:[6, 62] Operation: 87-25=62 Exploring Operation: 87-6=81, Resulting Numbers: [25, 81] Generated Node #0,1,3: 21:[25, 81] Operation: 87-6=81 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[6, 62], Operations: ['37-31=6', '87-25=62'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,21 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[25, 81], Operations: ['37-31=6', '87-6=81'] Exploring Operation: 25*81=2025, Resulting Numbers: [2025] 2025,21 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 25+81=106, Resulting Numbers: [106] 106,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[87, 19], Operations: ['37-31=6', '25-6=19'] Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,21 unequal: No Solution Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[87, 31], Operations: ['37-31=6', '25+6=31'] Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,21 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 21:[25, 19], Operations: ['87-37=50', '50-31=19'] Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,21 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[25, 19], Operations: ['87-31=56', '56-37=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 25*19=475, Resulting Numbers: [475] 475,21 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[31, 2], Operations: ['87-37=50', '50/25=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[31, 25], Operations: ['87-37=50', '50-25=25'] Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[31, 25], Operations: ['87-25=62', '62-37=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,21 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[37, 2], Operations: ['87-25=62', '62/31=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,21 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[37, 31], Operations: ['87-31=56', '56-25=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[37, 31], Operations: ['87-25=62', '62-31=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,21 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[50, 6], Operations: ['87-37=50', '31-25=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,21 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[56, 12], Operations: ['87-31=56', '37-25=12'] Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,21 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[62, 6], Operations: ['87-25=62', '37-31=6'] Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,21 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[56, 62], Operations: ['87-31=56', '25+37=62'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,21 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,21 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 11, 20, 13 ]
57
[ "20+13=33", "19*33=627", "627/11=57" ]
Current State: 57:[19, 11, 20, 13], Operations: [] Exploring Operation: 20+13=33, Resulting Numbers: [19, 11, 33] Generated Node #2: [19, 11, 33] from Operation: 20+13=33 Current State: 57:[19, 11, 33], Operations: ['20+13=33'] Exploring Operation: 19*33=627, Resulting Numbers: [11, 627] Generated Node #3: [11, 627] from Operation: 19*33=627 Current State: 57:[11, 627], Operations: ['20+13=33', '19*33=627'] Exploring Operation: 627/11=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[19, 11, 20, 13], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [20, 13, 8] Generated Node #0,0: 57:[20, 13, 8] Operation: 19-11=8 Exploring Operation: 13-11=2, Resulting Numbers: [19, 20, 2] Generated Node #0,1: 57:[19, 20, 2] Operation: 13-11=2 Exploring Operation: 20-11=9, Resulting Numbers: [19, 13, 9] Generated Node #0,2: 57:[19, 13, 9] Operation: 20-11=9 Exploring Operation: 19-13=6, Resulting Numbers: [11, 20, 6] Generated Node #0,3: 57:[11, 20, 6] Operation: 19-13=6 Exploring Operation: 11+13=24, Resulting Numbers: [19, 20, 24] Generated Node #0,4: 57:[19, 20, 24] Operation: 11+13=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[19, 20, 2], Operations: ['13-11=2'] Exploring Operation: 20-19=1, Resulting Numbers: [2, 1] Generated Node #0,1,0: 57:[2, 1] Operation: 20-19=1 Exploring Operation: 20+2=22, Resulting Numbers: [19, 22] Generated Node #0,1,1: 57:[19, 22] Operation: 20+2=22 Exploring Operation: 19-2=17, Resulting Numbers: [20, 17] Generated Node #0,1,2: 57:[20, 17] Operation: 19-2=17 Exploring Operation: 19+2=21, Resulting Numbers: [20, 21] Generated Node #0,1,3: 57:[20, 21] Operation: 19+2=21 Exploring Operation: 20-2=18, Resulting Numbers: [19, 18] Generated Node #0,1,4: 57:[19, 18] Operation: 20-2=18 Moving to Node #0,1,4 Current State: 57:[19, 18], Operations: ['13-11=2', '20-2=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[19, 22], Operations: ['13-11=2', '20+2=22'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[20, 21], Operations: ['13-11=2', '19+2=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,57 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[2, 1], Operations: ['13-11=2', '20-19=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[20, 17], Operations: ['13-11=2', '19-2=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,57 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[19, 20, 24], Operations: ['11+13=24'] Exploring Operation: 20+24=44, Resulting Numbers: [19, 44] Generated Node #0,4,0: 57:[19, 44] Operation: 20+24=44 Exploring Operation: 19+24=43, Resulting Numbers: [20, 43] Generated Node #0,4,1: 57:[20, 43] Operation: 19+24=43 Exploring Operation: 24-20=4, Resulting Numbers: [19, 4] Generated Node #0,4,2: 57:[19, 4] Operation: 24-20=4 Exploring Operation: 20-19=1, Resulting Numbers: [24, 1] Generated Node #0,4,3: 57:[24, 1] Operation: 20-19=1 Exploring Operation: 24-19=5, Resulting Numbers: [20, 5] Generated Node #0,4,4: 57:[20, 5] Operation: 24-19=5 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 57:[19, 4], Operations: ['11+13=24', '24-20=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,57 unequal: No Solution No 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: 57:[20, 5], Operations: ['11+13=24', '24-19=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,57 unequal: No Solution No 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: 57:[24, 1], Operations: ['11+13=24', '20-19=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,57 unequal: No Solution No 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: 57:[19, 44], Operations: ['11+13=24', '20+24=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,57 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 57:[20, 43], Operations: ['11+13=24', '19+24=43'] Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,57 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[20, 13, 8], Operations: ['19-11=8'] Exploring Operation: 20-8=12, Resulting Numbers: [13, 12] Generated Node #0,0,0: 57:[13, 12] Operation: 20-8=12 Exploring Operation: 20-13=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 57:[8, 7] Operation: 20-13=7 Exploring Operation: 20+8=28, Resulting Numbers: [13, 28] Generated Node #0,0,2: 57:[13, 28] Operation: 20+8=28 Exploring Operation: 13-8=5, Resulting Numbers: [20, 5] Generated Node #0,0,3: 57:[20, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [20, 21] Generated Node #0,0,4: 57:[20, 21] Operation: 13+8=21 Moving to Node #0,0,3 Current State: 57:[20, 5], Operations: ['19-11=8', '13-8=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,57 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,57 unequal: No Solution Moving to Node #0,0,4 Current State: 57:[20, 21], Operations: ['19-11=8', '13+8=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[8, 7], Operations: ['19-11=8', '20-13=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[13, 12], Operations: ['19-11=8', '20-8=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[13, 28], Operations: ['19-11=8', '20+8=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[19, 13, 9], Operations: ['20-11=9'] Exploring Operation: 13+9=22, Resulting Numbers: [19, 22] Generated Node #0,2,0: 57:[19, 22] Operation: 13+9=22 Exploring Operation: 19+9=28, Resulting Numbers: [13, 28] Generated Node #0,2,1: 57:[13, 28] Operation: 19+9=28 Exploring Operation: 19-13=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 57:[9, 6] Operation: 19-13=6 Exploring Operation: 13-9=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 57:[19, 4] Operation: 13-9=4 Exploring Operation: 19-9=10, Resulting Numbers: [13, 10] Generated Node #0,2,4: 57:[13, 10] Operation: 19-9=10 Moving to Node #0,2,3 Current State: 57:[19, 4], Operations: ['20-11=9', '13-9=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[19, 22], Operations: ['20-11=9', '13+9=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[9, 6], Operations: ['20-11=9', '19-13=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,2,4 Current State: 57:[13, 10], Operations: ['20-11=9', '19-9=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,57 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[13, 28], Operations: ['20-11=9', '19+9=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,57 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[11, 20, 6], Operations: ['19-13=6'] Exploring Operation: 11-6=5, Resulting Numbers: [20, 5] Generated Node #0,3,0: 57:[20, 5] Operation: 11-6=5 Exploring Operation: 20-6=14, Resulting Numbers: [11, 14] Generated Node #0,3,1: 57:[11, 14] Operation: 20-6=14 Exploring Operation: 11+6=17, Resulting Numbers: [20, 17] Generated Node #0,3,2: 57:[20, 17] Operation: 11+6=17 Exploring Operation: 11*6=66, Resulting Numbers: [20, 66] Generated Node #0,3,3: 57:[20, 66] Operation: 11*6=66 Exploring Operation: 20-11=9, Resulting Numbers: [6, 9] Generated Node #0,3,4: 57:[6, 9] Operation: 20-11=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[20, 5], Operations: ['19-13=6', '11-6=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,57 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,57 unequal: No Solution No 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: 57:[20, 17], Operations: ['19-13=6', '11+6=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,57 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,57 unequal: No Solution No 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: 57:[6, 9], Operations: ['19-13=6', '20-11=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,57 unequal: No Solution No 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: 57:[20, 66], Operations: ['19-13=6', '11*6=66'] Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,57 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,57 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,57 unequal: No Solution No 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: 57:[11, 14], Operations: ['19-13=6', '20-6=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,57 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,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_5
mult_heuristic
[ 56, 38, 75, 67 ]
48
[ "56+38=94", "75+67=142", "142-94=48" ]
Current State: 48:[56, 38, 75, 67], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [75, 67, 94] Generated Node #2: [75, 67, 94] from Operation: 56+38=94 Current State: 48:[75, 67, 94], Operations: ['56+38=94'] Exploring Operation: 75+67=142, Resulting Numbers: [94, 142] Generated Node #3: [94, 142] from Operation: 75+67=142 Current State: 48:[94, 142], Operations: ['56+38=94', '75+67=142'] Exploring Operation: 142-94=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[56, 38, 75, 67], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [56, 38, 8] Generated Node #0,0: 48:[56, 38, 8] Operation: 75-67=8 Moving to Node #0,0 Current State: 48:[56, 38, 8], Operations: ['75-67=8'] Exploring Operation: 56-38=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 48:[8, 18] Operation: 56-38=18 Moving to Node #0,0,0 Current State: 48:[8, 18], Operations: ['75-67=8', '56-38=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 99, 93, 99, 83 ]
10
[ "99+93=192", "99+83=182", "192-182=10" ]
Current State: 10:[99, 93, 99, 83], Operations: [] Exploring Operation: 99+93=192, Resulting Numbers: [83, 192] Generated Node #2: [83, 192] from Operation: 99+93=192 Current State: 10:[83, 192], Operations: ['99+93=192'] Exploring Operation: 99+83=182, Resulting Numbers: [192, 182] Generated Node #3: [192, 182] from Operation: 99+83=182 Current State: 10:[192, 182], Operations: ['99+93=192', '99+83=182'] Exploring Operation: 192-182=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[99, 93, 99, 83], Operations: [] Exploring Operation: 99-99=0, Resulting Numbers: [93, 83, 0] Generated Node #0,0: 10:[93, 83, 0] Operation: 99-99=0 Exploring Operation: 99-93=6, Resulting Numbers: [99, 83, 6] Generated Node #0,1: 10:[99, 83, 6] Operation: 99-93=6 Exploring Operation: 99-83=16, Resulting Numbers: [93, 99, 16] Generated Node #0,2: 10:[93, 99, 16] Operation: 99-83=16 Exploring Operation: 99/99=1, Resulting Numbers: [93, 83, 1] Generated Node #0,3: 10:[93, 83, 1] Operation: 99/99=1 Exploring Operation: 99-93=6, Resulting Numbers: [99, 83, 6] Generated Node #0,4: 10:[99, 83, 6] Operation: 99-93=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[93, 83, 1], Operations: ['99/99=1'] Exploring Operation: 83-1=82, Resulting Numbers: [93, 82] Generated Node #0,3,0: 10:[93, 82] Operation: 83-1=82 Exploring Operation: 93-1=92, Resulting Numbers: [83, 92] Generated Node #0,3,1: 10:[83, 92] Operation: 93-1=92 Exploring Operation: 93/1=93, Resulting Numbers: [83, 93] Generated Node #0,3,2: 10:[83, 93] Operation: 93/1=93 Exploring Operation: 93*1=93, Resulting Numbers: [83, 93] Generated Node #0,3,3: 10:[83, 93] Operation: 93*1=93 Exploring Operation: 93-83=10, Resulting Numbers: [1, 10] Generated Node #0,3,4: 10:[1, 10] Operation: 93-83=10 Moving to Node #0,3,4 Current State: 10:[1, 10], Operations: ['99/99=1', '93-83=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[99, 93, 99, 83], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [93, 83, 1] Generated Node #0,3: 10:[93, 83, 1] Operation: 99/99=1 Moving to Node #0,3 Current State: 10:[93, 83, 1], Operations: ['99/99=1'] Exploring Operation: 93-83=10, Resulting Numbers: [1, 10] Generated Node #0,3,4: 10:[1, 10] Operation: 93-83=10 Moving to Node #0,3,4 Current State: 10:[1, 10], Operations: ['99/99=1', '93-83=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 85, 3, 51, 49 ]
44
[ "85+3=88", "51-49=2", "88/2=44" ]
Current State: 44:[85, 3, 51, 49], Operations: [] Exploring Operation: 85+3=88, Resulting Numbers: [51, 49, 88] Generated Node #2: [51, 49, 88] from Operation: 85+3=88 Current State: 44:[51, 49, 88], Operations: ['85+3=88'] Exploring Operation: 51-49=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 51-49=2 Current State: 44:[88, 2], Operations: ['85+3=88', '51-49=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[85, 3, 51, 49], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [3, 49, 34] Generated Node #0,0: 44:[3, 49, 34] Operation: 85-51=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[3, 49, 34], Operations: ['85-51=34'] Exploring Operation: 49-34=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 44:[3, 15] Operation: 49-34=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[3, 15], Operations: ['85-51=34', '49-34=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 8, 50, 59 ]
68
[ "67-8=59", "59-50=9", "59+9=68" ]
Current State: 68:[67, 8, 50, 59], Operations: [] Exploring Operation: 67-8=59, Resulting Numbers: [50, 59, 59] Generated Node #2: [50, 59, 59] from Operation: 67-8=59 Current State: 68:[50, 59, 59], Operations: ['67-8=59'] Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,68 equal: Goal Reached Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[67, 8, 50, 59], Operations: [] Exploring Operation: 50-8=42, Resulting Numbers: [67, 59, 42] Generated Node #0,0: 68:[67, 59, 42] Operation: 50-8=42 Exploring Operation: 59-50=9, Resulting Numbers: [67, 8, 9] Generated Node #0,1: 68:[67, 8, 9] Operation: 59-50=9 Exploring Operation: 67-50=17, Resulting Numbers: [8, 59, 17] Generated Node #0,2: 68:[8, 59, 17] Operation: 67-50=17 Moving to Node #0,1 Current State: 68:[67, 8, 9], Operations: ['59-50=9'] Exploring Operation: 9-8=1, Resulting Numbers: [67, 1] Generated Node #0,1,0: 68:[67, 1] Operation: 9-8=1 Exploring Operation: 8+9=17, Resulting Numbers: [67, 17] Generated Node #0,1,1: 68:[67, 17] Operation: 8+9=17 Exploring Operation: 8*9=72, Resulting Numbers: [67, 72] Generated Node #0,1,2: 68:[67, 72] Operation: 8*9=72 Moving to Node #0,2 Current State: 68:[8, 59, 17], Operations: ['67-50=17'] Exploring Operation: 8+59=67, Resulting Numbers: [17, 67] Generated Node #0,2,0: 68:[17, 67] Operation: 8+59=67 Exploring Operation: 59-17=42, Resulting Numbers: [8, 42] Generated Node #0,2,1: 68:[8, 42] Operation: 59-17=42 Exploring Operation: 59+17=76, Resulting Numbers: [8, 76] Generated Node #0,2,2: 68:[8, 76] Operation: 59+17=76 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[17, 67], Operations: ['67-50=17', '8+59=67'] Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,68 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[8, 42], Operations: ['67-50=17', '59-17=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,68 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[8, 76], Operations: ['67-50=17', '59+17=76'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[67, 8, 50, 59], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [8, 59, 17] Generated Node #0,2: 68:[8, 59, 17] Operation: 67-50=17 Moving to Node #0,2 Current State: 68:[8, 59, 17], Operations: ['67-50=17'] Exploring Operation: 59+17=76, Resulting Numbers: [8, 76] Generated Node #0,2,2: 68:[8, 76] Operation: 59+17=76 Moving to Node #0,2,2 Current State: 68:[8, 76], Operations: ['67-50=17', '59+17=76'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
mult_heuristic
[ 4, 41, 6, 69 ]
100
[ "41-4=37", "69-6=63", "37+63=100" ]
Current State: 100:[4, 41, 6, 69], Operations: [] Exploring Operation: 41-4=37, Resulting Numbers: [6, 69, 37] Generated Node #2: [6, 69, 37] from Operation: 41-4=37 Current State: 100:[6, 69, 37], Operations: ['41-4=37'] Exploring Operation: 69-6=63, Resulting Numbers: [37, 63] Generated Node #3: [37, 63] from Operation: 69-6=63 Current State: 100:[37, 63], Operations: ['41-4=37', '69-6=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 41, 6, 69], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [4, 6, 28] Generated Node #0,0: 100:[4, 6, 28] Operation: 69-41=28 Exploring Operation: 41+69=110, Resulting Numbers: [4, 6, 110] Generated Node #0,1: 100:[4, 6, 110] Operation: 41+69=110 Exploring Operation: 41+6=47, Resulting Numbers: [4, 69, 47] Generated Node #0,2: 100:[4, 69, 47] Operation: 41+6=47 Moving to Node #0,0 Current State: 100:[4, 6, 28], Operations: ['69-41=28'] Exploring Operation: 4+6=10, Resulting Numbers: [28, 10] Generated Node #0,0,0: 100:[28, 10] Operation: 4+6=10 Exploring Operation: 28-4=24, Resulting Numbers: [6, 24] Generated Node #0,0,1: 100:[6, 24] Operation: 28-4=24 Exploring Operation: 28-6=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 100:[4, 22] Operation: 28-6=22 Moving to Node #0,1 Current State: 100:[4, 6, 110], Operations: ['41+69=110'] Exploring Operation: 110-4=106, Resulting Numbers: [6, 106] Generated Node #0,1,0: 100:[6, 106] Operation: 110-4=106 Exploring Operation: 110-6=104, Resulting Numbers: [4, 104] Generated Node #0,1,1: 100:[4, 104] Operation: 110-6=104 Exploring Operation: 4+6=10, Resulting Numbers: [110, 10] Generated Node #0,1,2: 100:[110, 10] Operation: 4+6=10 Moving to Node #0,2 Current State: 100:[4, 69, 47], Operations: ['41+6=47'] Exploring Operation: 69+47=116, Resulting Numbers: [4, 116] Generated Node #0,2,0: 100:[4, 116] Operation: 69+47=116 Exploring Operation: 69-47=22, Resulting Numbers: [4, 22] Generated Node #0,2,1: 100:[4, 22] Operation: 69-47=22 Exploring Operation: 69-4=65, Resulting Numbers: [47, 65] Generated Node #0,2,2: 100:[47, 65] Operation: 69-4=65 Moving to Node #0,0,1 Current State: 100:[6, 24], Operations: ['69-41=28', '28-4=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[4, 22], Operations: ['41+6=47', '69-47=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[4, 22], Operations: ['69-41=28', '28-6=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[28, 10], Operations: ['69-41=28', '4+6=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,100 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[4, 104], Operations: ['41+69=110', '110-6=104'] Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 4+104=108, Resulting Numbers: [108] 108,100 unequal: No Solution Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[4, 41, 6, 69], Operations: [] Exploring Operation: 41+69=110, Resulting Numbers: [4, 6, 110] Generated Node #0,1: 100:[4, 6, 110] Operation: 41+69=110 Moving to Node #0,1 Current State: 100:[4, 6, 110], Operations: ['41+69=110'] Exploring Operation: 110-6=104, Resulting Numbers: [4, 104] Generated Node #0,1,1: 100:[4, 104] Operation: 110-6=104 Moving to Node #0,1,1 Current State: 100:[4, 104], Operations: ['41+69=110', '110-6=104'] Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 64, 42, 51, 35 ]
90
[ "64+42=106", "51-35=16", "106-16=90" ]
Current State: 90:[64, 42, 51, 35], Operations: [] Exploring Operation: 64+42=106, Resulting Numbers: [51, 35, 106] Generated Node #2: [51, 35, 106] from Operation: 64+42=106 Current State: 90:[51, 35, 106], Operations: ['64+42=106'] Exploring Operation: 51-35=16, Resulting Numbers: [106, 16] Generated Node #3: [106, 16] from Operation: 51-35=16 Current State: 90:[106, 16], Operations: ['64+42=106', '51-35=16'] Exploring Operation: 106-16=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[64, 42, 51, 35], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [42, 35, 13] Generated Node #0,0: 90:[42, 35, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[42, 35, 13], Operations: ['64-51=13'] Exploring Operation: 42-35=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 90:[13, 7] Operation: 42-35=7 Moving to Node #0,0,0 Current State: 90:[13, 7], Operations: ['64-51=13', '42-35=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 10, 22, 33, 13 ]
77
[ "13-10=3", "33*3=99", "99-22=77" ]
Current State: 77:[10, 22, 33, 13], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [22, 33, 3] Generated Node #2: [22, 33, 3] from Operation: 13-10=3 Current State: 77:[22, 33, 3], Operations: ['13-10=3'] Exploring Operation: 33*3=99, Resulting Numbers: [22, 99] Generated Node #3: [22, 99] from Operation: 33*3=99 Current State: 77:[22, 99], Operations: ['13-10=3', '33*3=99'] Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[10, 22, 33, 13], Operations: [] Exploring Operation: 33-22=11, Resulting Numbers: [10, 13, 11] Generated Node #0,0: 77:[10, 13, 11] Operation: 33-22=11 Moving to Node #0,0 Current State: 77:[10, 13, 11], Operations: ['33-22=11'] Exploring Operation: 13-10=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 77:[11, 3] Operation: 13-10=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[11, 3], Operations: ['33-22=11', '13-10=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 37, 86, 67 ]
57
[ "59+37=96", "86+67=153", "153-96=57" ]
Current State: 57:[59, 37, 86, 67], Operations: [] Exploring Operation: 59+37=96, Resulting Numbers: [86, 67, 96] Generated Node #2: [86, 67, 96] from Operation: 59+37=96 Current State: 57:[86, 67, 96], Operations: ['59+37=96'] Exploring Operation: 86+67=153, Resulting Numbers: [96, 153] Generated Node #3: [96, 153] from Operation: 86+67=153 Current State: 57:[96, 153], Operations: ['59+37=96', '86+67=153'] Exploring Operation: 153-96=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[59, 37, 86, 67], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [59, 86, 30] Generated Node #0,0: 57:[59, 86, 30] Operation: 67-37=30 Exploring Operation: 59-37=22, Resulting Numbers: [86, 67, 22] Generated Node #0,1: 57:[86, 67, 22] Operation: 59-37=22 Exploring Operation: 86-59=27, Resulting Numbers: [37, 67, 27] Generated Node #0,2: 57:[37, 67, 27] Operation: 86-59=27 Exploring Operation: 86-37=49, Resulting Numbers: [59, 67, 49] Generated Node #0,3: 57:[59, 67, 49] Operation: 86-37=49 Exploring Operation: 86-67=19, Resulting Numbers: [59, 37, 19] Generated Node #0,4: 57:[59, 37, 19] Operation: 86-67=19 Moving to Node #0,3 Current State: 57:[59, 67, 49], Operations: ['86-37=49'] Exploring Operation: 59+49=108, Resulting Numbers: [67, 108] Generated Node #0,3,0: 57:[67, 108] Operation: 59+49=108 Exploring Operation: 59-49=10, Resulting Numbers: [67, 10] Generated Node #0,3,1: 57:[67, 10] Operation: 59-49=10 Exploring Operation: 67-59=8, Resulting Numbers: [49, 8] Generated Node #0,3,2: 57:[49, 8] Operation: 67-59=8 Exploring Operation: 67+49=116, Resulting Numbers: [59, 116] Generated Node #0,3,3: 57:[59, 116] Operation: 67+49=116 Exploring Operation: 67-49=18, Resulting Numbers: [59, 18] Generated Node #0,3,4: 57:[59, 18] Operation: 67-49=18 Moving to Node #0,4 Current State: 57:[59, 37, 19], Operations: ['86-67=19'] Exploring Operation: 59-37=22, Resulting Numbers: [19, 22] Generated Node #0,4,0: 57:[19, 22] Operation: 59-37=22 Exploring Operation: 59+37=96, Resulting Numbers: [19, 96] Generated Node #0,4,1: 57:[19, 96] Operation: 59+37=96 Exploring Operation: 37-19=18, Resulting Numbers: [59, 18] Generated Node #0,4,2: 57:[59, 18] Operation: 37-19=18 Exploring Operation: 59-19=40, Resulting Numbers: [37, 40] Generated Node #0,4,3: 57:[37, 40] Operation: 59-19=40 Exploring Operation: 37+19=56, Resulting Numbers: [59, 56] Generated Node #0,4,4: 57:[59, 56] Operation: 37+19=56 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 57:[19, 22], Operations: ['86-67=19', '59-37=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[59, 18], Operations: ['86-67=19', '37-19=18'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,57 unequal: No Solution Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[59, 56], Operations: ['86-67=19', '37+19=56'] Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,57 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 57:[37, 40], Operations: ['86-67=19', '59-19=40'] Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,57 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,57 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 57:[19, 96], Operations: ['86-67=19', '59+37=96'] Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,57 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,57 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: 57:[37, 67, 27], Operations: ['86-59=27'] Exploring Operation: 37+27=64, Resulting Numbers: [67, 64] Generated Node #0,2,0: 57:[67, 64] Operation: 37+27=64 Exploring Operation: 67-27=40, Resulting Numbers: [37, 40] Generated Node #0,2,1: 57:[37, 40] Operation: 67-27=40 Exploring Operation: 37-27=10, Resulting Numbers: [67, 10] Generated Node #0,2,2: 57:[67, 10] Operation: 37-27=10 Exploring Operation: 67-37=30, Resulting Numbers: [27, 30] Generated Node #0,2,3: 57:[27, 30] Operation: 67-37=30 Exploring Operation: 37+67=104, Resulting Numbers: [27, 104] Generated Node #0,2,4: 57:[27, 104] Operation: 37+67=104 Moving to Node #0,0 Current State: 57:[59, 86, 30], Operations: ['67-37=30'] Exploring Operation: 59+30=89, Resulting Numbers: [86, 89] Generated Node #0,0,0: 57:[86, 89] Operation: 59+30=89 Exploring Operation: 86-30=56, Resulting Numbers: [59, 56] Generated Node #0,0,1: 57:[59, 56] Operation: 86-30=56 Exploring Operation: 59-30=29, Resulting Numbers: [86, 29] Generated Node #0,0,2: 57:[86, 29] Operation: 59-30=29 Exploring Operation: 86-59=27, Resulting Numbers: [30, 27] Generated Node #0,0,3: 57:[30, 27] Operation: 86-59=27 Exploring Operation: 86+30=116, Resulting Numbers: [59, 116] Generated Node #0,0,4: 57:[59, 116] Operation: 86+30=116 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[59, 56], Operations: ['67-37=30', '86-30=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,57 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 57:[30, 27], Operations: ['67-37=30', '86-59=27'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,57 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[59, 37, 86, 67], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [59, 86, 30] Generated Node #0,0: 57:[59, 86, 30] Operation: 67-37=30 Moving to Node #0,0 Current State: 57:[59, 86, 30], Operations: ['67-37=30'] Exploring Operation: 86-59=27, Resulting Numbers: [30, 27] Generated Node #0,0,3: 57:[30, 27] Operation: 86-59=27 Moving to Node #0,0,3 Current State: 57:[30, 27], Operations: ['67-37=30', '86-59=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_5
sum_heuristic
[ 35, 42, 54, 34 ]
95
[ "42-35=7", "54+34=88", "7+88=95" ]
Current State: 95:[35, 42, 54, 34], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [54, 34, 7] Generated Node #2: [54, 34, 7] from Operation: 42-35=7 Current State: 95:[54, 34, 7], Operations: ['42-35=7'] Exploring Operation: 54+34=88, Resulting Numbers: [7, 88] Generated Node #3: [7, 88] from Operation: 54+34=88 Current State: 95:[7, 88], Operations: ['42-35=7', '54+34=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[35, 42, 54, 34], Operations: [] Exploring Operation: 42+54=96, Resulting Numbers: [35, 34, 96] Generated Node #0,0: 95:[35, 34, 96] Operation: 42+54=96 Moving to Node #0,0 Current State: 95:[35, 34, 96], Operations: ['42+54=96'] Exploring Operation: 35-34=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 95:[96, 1] Operation: 35-34=1 Moving to Node #0,0,0 Current State: 95:[96, 1], Operations: ['42+54=96', '35-34=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[35, 42, 54, 34], Operations: [] Exploring Operation: 42+54=96, Resulting Numbers: [35, 34, 96] Generated Node #0,0: 95:[35, 34, 96] Operation: 42+54=96 Moving to Node #0,0 Current State: 95:[35, 34, 96], Operations: ['42+54=96'] Exploring Operation: 35-34=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 95:[96, 1] Operation: 35-34=1 Moving to Node #0,0,0 Current State: 95:[96, 1], Operations: ['42+54=96', '35-34=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 9, 58, 96, 68 ]
77
[ "58-9=49", "96-68=28", "49+28=77" ]
Current State: 77:[9, 58, 96, 68], Operations: [] Exploring Operation: 58-9=49, Resulting Numbers: [96, 68, 49] Generated Node #2: [96, 68, 49] from Operation: 58-9=49 Current State: 77:[96, 68, 49], Operations: ['58-9=49'] Exploring Operation: 96-68=28, Resulting Numbers: [49, 28] Generated Node #3: [49, 28] from Operation: 96-68=28 Current State: 77:[49, 28], Operations: ['58-9=49', '96-68=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[9, 58, 96, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [9, 96, 10] Generated Node #0,0: 77:[9, 96, 10] Operation: 68-58=10 Exploring Operation: 96-58=38, Resulting Numbers: [9, 68, 38] Generated Node #0,1: 77:[9, 68, 38] Operation: 96-58=38 Exploring Operation: 9+58=67, Resulting Numbers: [96, 68, 67] Generated Node #0,2: 77:[96, 68, 67] Operation: 9+58=67 Exploring Operation: 9+68=77, Resulting Numbers: [58, 96, 77] Generated Node #0,3: 77:[58, 96, 77] Operation: 9+68=77 Exploring Operation: 96-9=87, Resulting Numbers: [58, 68, 87] Generated Node #0,4: 77:[58, 68, 87] Operation: 96-9=87 Moving to Node #0,0 Current State: 77:[9, 96, 10], Operations: ['68-58=10'] Exploring Operation: 96-10=86, Resulting Numbers: [9, 86] Generated Node #0,0,0: 77:[9, 86] Operation: 96-10=86 Exploring Operation: 9+96=105, Resulting Numbers: [10, 105] Generated Node #0,0,1: 77:[10, 105] Operation: 9+96=105 Exploring Operation: 10-9=1, Resulting Numbers: [96, 1] Generated Node #0,0,2: 77:[96, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [96, 19] Generated Node #0,0,3: 77:[96, 19] Operation: 9+10=19 Exploring Operation: 96-9=87, Resulting Numbers: [10, 87] Generated Node #0,0,4: 77:[10, 87] Operation: 96-9=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[9, 86], Operations: ['68-58=10', '96-10=86'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[9, 58, 96, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [9, 96, 10] Generated Node #0,0: 77:[9, 96, 10] Operation: 68-58=10 Moving to Node #0,0 Current State: 77:[9, 96, 10], Operations: ['68-58=10'] Exploring Operation: 96-10=86, Resulting Numbers: [9, 86] Generated Node #0,0,0: 77:[9, 86] Operation: 96-10=86 Moving to Node #0,0,0 Current State: 77:[9, 86], Operations: ['68-58=10', '96-10=86'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 89, 38, 18, 74 ]
91
[ "74-38=36", "36/18=2", "89+2=91" ]
Current State: 91:[89, 38, 18, 74], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [89, 18, 36] Generated Node #2: [89, 18, 36] from Operation: 74-38=36 Current State: 91:[89, 18, 36], Operations: ['74-38=36'] Exploring Operation: 36/18=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 36/18=2 Current State: 91:[89, 2], Operations: ['74-38=36', '36/18=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[89, 38, 18, 74], Operations: [] Exploring Operation: 38-18=20, Resulting Numbers: [89, 74, 20] Generated Node #0,0: 91:[89, 74, 20] Operation: 38-18=20 Moving to Node #0,0 Current State: 91:[89, 74, 20], Operations: ['38-18=20'] Exploring Operation: 74+20=94, Resulting Numbers: [89, 94] Generated Node #0,0,0: 91:[89, 94] Operation: 74+20=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[89, 94], Operations: ['38-18=20', '74+20=94'] Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,91 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
[ 40, 61, 20, 18 ]
17
[ "61-40=21", "20+18=38", "38-21=17" ]
Current State: 17:[40, 61, 20, 18], Operations: [] Exploring Operation: 61-40=21, Resulting Numbers: [20, 18, 21] Generated Node #2: [20, 18, 21] from Operation: 61-40=21 Current State: 17:[20, 18, 21], Operations: ['61-40=21'] Exploring Operation: 20+18=38, Resulting Numbers: [21, 38] Generated Node #3: [21, 38] from Operation: 20+18=38 Current State: 17:[21, 38], Operations: ['61-40=21', '20+18=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 61, 20, 18], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [61, 18, 20] Generated Node #0,0: 17:[61, 18, 20] Operation: 40-20=20 Exploring Operation: 61-40=21, Resulting Numbers: [20, 18, 21] Generated Node #0,1: 17:[20, 18, 21] Operation: 61-40=21 Exploring Operation: 61-20=41, Resulting Numbers: [40, 18, 41] Generated Node #0,2: 17:[40, 18, 41] Operation: 61-20=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 18, 21], Operations: ['61-40=21'] Exploring Operation: 21-18=3, Resulting Numbers: [20, 3] Generated Node #0,1,0: 17:[20, 3] Operation: 21-18=3 Exploring Operation: 21-20=1, Resulting Numbers: [18, 1] Generated Node #0,1,1: 17:[18, 1] Operation: 21-20=1 Exploring Operation: 20-18=2, Resulting Numbers: [21, 2] Generated Node #0,1,2: 17:[21, 2] Operation: 20-18=2 Moving to Node #0,1,0 Current State: 17:[20, 3], Operations: ['61-40=21', '21-18=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 61, 20, 18], Operations: [] Exploring Operation: 61-40=21, Resulting Numbers: [20, 18, 21] Generated Node #0,1: 17:[20, 18, 21] Operation: 61-40=21 Moving to Node #0,1 Current State: 17:[20, 18, 21], Operations: ['61-40=21'] Exploring Operation: 21-18=3, Resulting Numbers: [20, 3] Generated Node #0,1,0: 17:[20, 3] Operation: 21-18=3 Moving to Node #0,1,0 Current State: 17:[20, 3], Operations: ['61-40=21', '21-18=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 19, 46, 2, 48 ]
34
[ "19+46=65", "65-48=17", "2*17=34" ]
Current State: 34:[19, 46, 2, 48], Operations: [] Exploring Operation: 19+46=65, Resulting Numbers: [2, 48, 65] Generated Node #2: [2, 48, 65] from Operation: 19+46=65 Current State: 34:[2, 48, 65], Operations: ['19+46=65'] Exploring Operation: 65-48=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 65-48=17 Current State: 34:[2, 17], Operations: ['19+46=65', '65-48=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[19, 46, 2, 48], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [19, 2, 2] Generated Node #0,0: 34:[19, 2, 2] Operation: 48-46=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[19, 2, 2], Operations: ['48-46=2'] Exploring Operation: 19-2=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 34:[2, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[2, 17], Operations: ['48-46=2', '19-2=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[19, 46, 2, 48], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [19, 2, 2] Generated Node #0,0: 34:[19, 2, 2] Operation: 48-46=2 Moving to Node #0,0 Current State: 34:[19, 2, 2], Operations: ['48-46=2'] Exploring Operation: 19-2=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 34:[2, 17] Operation: 19-2=17 Moving to Node #0,0,0 Current State: 34:[2, 17], Operations: ['48-46=2', '19-2=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 58, 63, 15 ]
25
[ "58-5=53", "63+15=78", "78-53=25" ]
Current State: 25:[5, 58, 63, 15], Operations: [] Exploring Operation: 58-5=53, Resulting Numbers: [63, 15, 53] Generated Node #2: [63, 15, 53] from Operation: 58-5=53 Current State: 25:[63, 15, 53], Operations: ['58-5=53'] Exploring Operation: 63+15=78, Resulting Numbers: [53, 78] Generated Node #3: [53, 78] from Operation: 63+15=78 Current State: 25:[53, 78], Operations: ['58-5=53', '63+15=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 58, 63, 15], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [58, 63, 3] Generated Node #0,0: 25:[58, 63, 3] Operation: 15/5=3 Exploring Operation: 58-15=43, Resulting Numbers: [5, 63, 43] Generated Node #0,1: 25:[5, 63, 43] Operation: 58-15=43 Exploring Operation: 63-58=5, Resulting Numbers: [5, 15, 5] Generated Node #0,2: 25:[5, 15, 5] Operation: 63-58=5 Exploring Operation: 63-15=48, Resulting Numbers: [5, 58, 48] Generated Node #0,3: 25:[5, 58, 48] Operation: 63-15=48 Moving to Node #0,2 Current State: 25:[5, 15, 5], Operations: ['63-58=5'] Exploring Operation: 15/5=3, Resulting Numbers: [5, 3] Generated Node #0,2,0: 25:[5, 3] Operation: 15/5=3 Exploring Operation: 15/5=3, Resulting Numbers: [5, 3] Generated Node #0,2,1: 25:[5, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [5, 10] Generated Node #0,2,2: 25:[5, 10] Operation: 15-5=10 Exploring Operation: 5+15=20, Resulting Numbers: [5, 20] Generated Node #0,2,3: 25:[5, 20] Operation: 5+15=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[5, 3], Operations: ['63-58=5', '15/5=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,25 unequal: No Solution No 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: 25:[5, 3], Operations: ['63-58=5', '15/5=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,25 unequal: No Solution No 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: 25:[5, 10], Operations: ['63-58=5', '15-5=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,25 unequal: No Solution No 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: 25:[5, 20], Operations: ['63-58=5', '5+15=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 58, 63, 15], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [5, 15, 5] Generated Node #0,2: 25:[5, 15, 5] Operation: 63-58=5 Moving to Node #0,2 Current State: 25:[5, 15, 5], Operations: ['63-58=5'] Exploring Operation: 5+15=20, Resulting Numbers: [5, 20] Generated Node #0,2,3: 25:[5, 20] Operation: 5+15=20 Moving to Node #0,2,3 Current State: 25:[5, 20], Operations: ['63-58=5', '5+15=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 92, 23, 20, 97 ]
98
[ "23+97=120", "120/20=6", "92+6=98" ]
Current State: 98:[92, 23, 20, 97], Operations: [] Exploring Operation: 23+97=120, Resulting Numbers: [92, 20, 120] Generated Node #2: [92, 20, 120] from Operation: 23+97=120 Current State: 98:[92, 20, 120], Operations: ['23+97=120'] Exploring Operation: 120/20=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 120/20=6 Current State: 98:[92, 6], Operations: ['23+97=120', '120/20=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[92, 23, 20, 97], Operations: [] Exploring Operation: 92+23=115, Resulting Numbers: [20, 97, 115] Generated Node #0,0: 98:[20, 97, 115] Operation: 92+23=115 Exploring Operation: 97-92=5, Resulting Numbers: [23, 20, 5] Generated Node #0,1: 98:[23, 20, 5] Operation: 97-92=5 Exploring Operation: 92/23=4, Resulting Numbers: [20, 97, 4] Generated Node #0,2: 98:[20, 97, 4] Operation: 92/23=4 Exploring Operation: 23-20=3, Resulting Numbers: [92, 97, 3] Generated Node #0,3: 98:[92, 97, 3] Operation: 23-20=3 Exploring Operation: 23+20=43, Resulting Numbers: [92, 97, 43] Generated Node #0,4: 98:[92, 97, 43] Operation: 23+20=43 Moving to Node #0,3 Current State: 98:[92, 97, 3], Operations: ['23-20=3'] Exploring Operation: 92+3=95, Resulting Numbers: [97, 95] Generated Node #0,3,0: 98:[97, 95] Operation: 92+3=95 Exploring Operation: 97+3=100, Resulting Numbers: [92, 100] Generated Node #0,3,1: 98:[92, 100] Operation: 97+3=100 Exploring Operation: 97-92=5, Resulting Numbers: [3, 5] Generated Node #0,3,2: 98:[3, 5] Operation: 97-92=5 Exploring Operation: 92-3=89, Resulting Numbers: [97, 89] Generated Node #0,3,3: 98:[97, 89] Operation: 92-3=89 Exploring Operation: 97-3=94, Resulting Numbers: [92, 94] Generated Node #0,3,4: 98:[92, 94] Operation: 97-3=94 Moving to Node #0,2 Current State: 98:[20, 97, 4], Operations: ['92/23=4'] Exploring Operation: 97-4=93, Resulting Numbers: [20, 93] Generated Node #0,2,0: 98:[20, 93] Operation: 97-4=93 Exploring Operation: 20/4=5, Resulting Numbers: [97, 5] Generated Node #0,2,1: 98:[97, 5] Operation: 20/4=5 Exploring Operation: 97+4=101, Resulting Numbers: [20, 101] Generated Node #0,2,2: 98:[20, 101] Operation: 97+4=101 Exploring Operation: 20+4=24, Resulting Numbers: [97, 24] Generated Node #0,2,3: 98:[97, 24] Operation: 20+4=24 Exploring Operation: 20-4=16, Resulting Numbers: [97, 16] Generated Node #0,2,4: 98:[97, 16] Operation: 20-4=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[97, 5], Operations: ['92/23=4', '20/4=5'] Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,98 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,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,2,4 Current State: 98:[97, 16], Operations: ['92/23=4', '20-4=16'] Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,98 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,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,2,2 Current State: 98:[20, 101], Operations: ['92/23=4', '97+4=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 20*101=2020, Resulting Numbers: [2020] 2020,98 unequal: No Solution Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,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,2,0 Current State: 98:[20, 93], Operations: ['92/23=4', '97-4=93'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 20+93=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 20*93=1860, Resulting Numbers: [1860] 1860,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,2,3 Current State: 98:[97, 24], Operations: ['92/23=4', '20+4=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,98 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,98 unequal: No Solution Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,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:[92, 97, 43], Operations: ['23+20=43'] Exploring Operation: 92-43=49, Resulting Numbers: [97, 49] Generated Node #0,4,0: 98:[97, 49] Operation: 92-43=49 Exploring Operation: 97-43=54, Resulting Numbers: [92, 54] Generated Node #0,4,1: 98:[92, 54] Operation: 97-43=54 Exploring Operation: 92+43=135, Resulting Numbers: [97, 135] Generated Node #0,4,2: 98:[97, 135] Operation: 92+43=135 Exploring Operation: 97-92=5, Resulting Numbers: [43, 5] Generated Node #0,4,3: 98:[43, 5] Operation: 97-92=5 Exploring Operation: 97+43=140, Resulting Numbers: [92, 140] Generated Node #0,4,4: 98:[92, 140] Operation: 97+43=140 Moving to Node #0,1 Current State: 98:[23, 20, 5], Operations: ['97-92=5'] Exploring Operation: 20-5=15, Resulting Numbers: [23, 15] Generated Node #0,1,0: 98:[23, 15] Operation: 20-5=15 Exploring Operation: 23-5=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 98:[20, 18] Operation: 23-5=18 Exploring Operation: 20*5=100, Resulting Numbers: [23, 100] Generated Node #0,1,2: 98:[23, 100] Operation: 20*5=100 Exploring Operation: 23+20=43, Resulting Numbers: [5, 43] Generated Node #0,1,3: 98:[5, 43] Operation: 23+20=43 Exploring Operation: 23-20=3, Resulting Numbers: [5, 3] Generated Node #0,1,4: 98:[5, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 98:[5, 3], Operations: ['97-92=5', '23-20=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,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,1,3 Current State: 98:[5, 43], Operations: ['97-92=5', '23+20=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,98 unequal: No Solution Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,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,1,0 Current State: 98:[23, 15], Operations: ['97-92=5', '20-5=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,98 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,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,1,1 Current State: 98:[20, 18], Operations: ['97-92=5', '23-5=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,98 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,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,1,2 Current State: 98:[23, 100], Operations: ['97-92=5', '20*5=100'] Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,98 unequal: No Solution Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,98 unequal: No Solution Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,98 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: 98:[20, 97, 115], Operations: ['92+23=115'] Exploring Operation: 115-97=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 98:[20, 18] Operation: 115-97=18 Exploring Operation: 20+115=135, Resulting Numbers: [97, 135] Generated Node #0,0,1: 98:[97, 135] Operation: 20+115=135 Exploring Operation: 20+97=117, Resulting Numbers: [115, 117] Generated Node #0,0,2: 98:[115, 117] Operation: 20+97=117 Exploring Operation: 97-20=77, Resulting Numbers: [115, 77] Generated Node #0,0,3: 98:[115, 77] Operation: 97-20=77 Exploring Operation: 115-20=95, Resulting Numbers: [97, 95] Generated Node #0,0,4: 98:[97, 95] Operation: 115-20=95 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 98:[97, 95], Operations: ['92+23=115', '115-20=95'] Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,98 unequal: No Solution Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[20, 18], Operations: ['92+23=115', '115-97=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,98 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[115, 117], Operations: ['92+23=115', '20+97=117'] Exploring Operation: 115*117=13455, Resulting Numbers: [13455] 13455,98 unequal: No Solution Exploring Operation: 117-115=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 115+117=232, Resulting Numbers: [232] 232,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[97, 135], Operations: ['92+23=115', '20+115=135'] Exploring Operation: 135-97=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 97+135=232, Resulting Numbers: [232] 232,98 unequal: No Solution Exploring Operation: 97*135=13095, Resulting Numbers: [13095] 13095,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[115, 77], Operations: ['92+23=115', '97-20=77'] Exploring Operation: 115*77=8855, Resulting Numbers: [8855] 8855,98 unequal: No Solution Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 115+77=192, Resulting Numbers: [192] 192,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 98:[97, 49], Operations: ['23+20=43', '92-43=49'] Exploring Operation: 97*49=4753, Resulting Numbers: [4753] 4753,98 unequal: No Solution Exploring Operation: 97-49=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 97+49=146, Resulting Numbers: [146] 146,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[3, 5], Operations: ['23-20=3', '97-92=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[97, 95], Operations: ['23-20=3', '92+3=95'] Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,98 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[43, 5], Operations: ['23+20=43', '97-92=5'] Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,98 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[92, 100], Operations: ['23-20=3', '97+3=100'] Exploring Operation: 92+100=192, Resulting Numbers: [192] 192,98 unequal: No Solution Exploring Operation: 92*100=9200, Resulting Numbers: [9200] 9200,98 unequal: No Solution Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[92, 94], Operations: ['23-20=3', '97-3=94'] Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,98 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[97, 89], Operations: ['23-20=3', '92-3=89'] Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 97+89=186, Resulting Numbers: [186] 186,98 unequal: No Solution Exploring Operation: 97*89=8633, Resulting Numbers: [8633] 8633,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[92, 54], Operations: ['23+20=43', '97-43=54'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,98 unequal: No Solution Exploring Operation: 92*54=4968, Resulting Numbers: [4968] 4968,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[97, 135], Operations: ['23+20=43', '92+43=135'] Exploring Operation: 97+135=232, Resulting Numbers: [232] 232,98 unequal: No Solution Exploring Operation: 97*135=13095, Resulting Numbers: [13095] 13095,98 unequal: No Solution Exploring Operation: 135-97=38, Resulting Numbers: [38] 38,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[92, 140], Operations: ['23+20=43', '97+43=140'] Exploring Operation: 140-92=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 92*140=12880, Resulting Numbers: [12880] 12880,98 unequal: No Solution Exploring Operation: 92+140=232, Resulting Numbers: [232] 232,98 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 82, 82, 27, 56 ]
56
[ "82-82=0", "27*0=0", "56+0=56" ]
Current State: 56:[82, 82, 27, 56], Operations: [] Exploring Operation: 82-82=0, Resulting Numbers: [27, 56, 0] Generated Node #2: [27, 56, 0] from Operation: 82-82=0 Current State: 56:[27, 56, 0], Operations: ['82-82=0'] Exploring Operation: 27*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 27*0=0 Current State: 56:[56, 0], Operations: ['82-82=0', '27*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[82, 82, 27, 56], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [27, 56, 1] Generated Node #0,0: 56:[27, 56, 1] Operation: 82/82=1 Moving to Node #0,0 Current State: 56:[27, 56, 1], Operations: ['82/82=1'] Exploring Operation: 27+1=28, Resulting Numbers: [56, 28] Generated Node #0,0,0: 56:[56, 28] Operation: 27+1=28 Moving to Node #0,0,0 Current State: 56:[56, 28], Operations: ['82/82=1', '27+1=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 3, 1, 6 ]
96
[ "49-1=48", "6/3=2", "48*2=96" ]
Current State: 96:[49, 3, 1, 6], Operations: [] Exploring Operation: 49-1=48, Resulting Numbers: [3, 6, 48] Generated Node #2: [3, 6, 48] from Operation: 49-1=48 Current State: 96:[3, 6, 48], Operations: ['49-1=48'] Exploring Operation: 6/3=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 6/3=2 Current State: 96:[48, 2], Operations: ['49-1=48', '6/3=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[49, 3, 1, 6], Operations: [] Exploring Operation: 49-1=48, Resulting Numbers: [3, 6, 48] Generated Node #0,0: 96:[3, 6, 48] Operation: 49-1=48 Moving to Node #0,0 Current State: 96:[3, 6, 48], Operations: ['49-1=48'] Exploring Operation: 6-3=3, Resulting Numbers: [48, 3] Generated Node #0,0,0: 96:[48, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[48, 3], Operations: ['49-1=48', '6-3=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,96 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
[ 46, 29, 32, 43 ]
86
[ "46+29=75", "43-32=11", "75+11=86" ]
Current State: 86:[46, 29, 32, 43], Operations: [] Exploring Operation: 46+29=75, Resulting Numbers: [32, 43, 75] Generated Node #2: [32, 43, 75] from Operation: 46+29=75 Current State: 86:[32, 43, 75], Operations: ['46+29=75'] Exploring Operation: 43-32=11, Resulting Numbers: [75, 11] Generated Node #3: [75, 11] from Operation: 43-32=11 Current State: 86:[75, 11], Operations: ['46+29=75', '43-32=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[46, 29, 32, 43], Operations: [] Exploring Operation: 29+32=61, Resulting Numbers: [46, 43, 61] Generated Node #0,0: 86:[46, 43, 61] Operation: 29+32=61 Exploring Operation: 46+32=78, Resulting Numbers: [29, 43, 78] Generated Node #0,1: 86:[29, 43, 78] Operation: 46+32=78 Exploring Operation: 46+29=75, Resulting Numbers: [32, 43, 75] Generated Node #0,2: 86:[32, 43, 75] Operation: 46+29=75 Exploring Operation: 32-29=3, Resulting Numbers: [46, 43, 3] Generated Node #0,3: 86:[46, 43, 3] Operation: 32-29=3 Moving to Node #0,3 Current State: 86:[46, 43, 3], Operations: ['32-29=3'] Exploring Operation: 46+43=89, Resulting Numbers: [3, 89] Generated Node #0,3,0: 86:[3, 89] Operation: 46+43=89 Exploring Operation: 46+3=49, Resulting Numbers: [43, 49] Generated Node #0,3,1: 86:[43, 49] Operation: 46+3=49 Exploring Operation: 46-3=43, Resulting Numbers: [43, 43] Generated Node #0,3,2: 86:[43, 43] Operation: 46-3=43 Exploring Operation: 46-43=3, Resulting Numbers: [3, 3] Generated Node #0,3,3: 86:[3, 3] Operation: 46-43=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[43, 43], Operations: ['32-29=3', '46-3=43'] Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,86 unequal: No Solution Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[46, 29, 32, 43], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [46, 43, 3] Generated Node #0,3: 86:[46, 43, 3] Operation: 32-29=3 Moving to Node #0,3 Current State: 86:[46, 43, 3], Operations: ['32-29=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43, 43] Generated Node #0,3,2: 86:[43, 43] Operation: 46-3=43 Moving to Node #0,3,2 Current State: 86:[43, 43], Operations: ['32-29=3', '46-3=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 62, 41, 22, 63 ]
64
[ "62-41=21", "22+63=85", "85-21=64" ]
Current State: 64:[62, 41, 22, 63], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [22, 63, 21] Generated Node #2: [22, 63, 21] from Operation: 62-41=21 Current State: 64:[22, 63, 21], Operations: ['62-41=21'] Exploring Operation: 22+63=85, Resulting Numbers: [21, 85] Generated Node #3: [21, 85] from Operation: 22+63=85 Current State: 64:[21, 85], Operations: ['62-41=21', '22+63=85'] Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[62, 41, 22, 63], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [62, 22, 22] Generated Node #0,0: 64:[62, 22, 22] Operation: 63-41=22 Exploring Operation: 41+22=63, Resulting Numbers: [62, 63, 63] Generated Node #0,1: 64:[62, 63, 63] Operation: 41+22=63 Exploring Operation: 41-22=19, Resulting Numbers: [62, 63, 19] Generated Node #0,2: 64:[62, 63, 19] Operation: 41-22=19 Exploring Operation: 62-41=21, Resulting Numbers: [22, 63, 21] Generated Node #0,3: 64:[22, 63, 21] Operation: 62-41=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[62, 63, 63], Operations: ['41+22=63'] Exploring Operation: 63-62=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 64:[63, 1] Operation: 63-62=1 Exploring Operation: 63-62=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 64:[63, 1] Operation: 63-62=1 Exploring Operation: 63/63=1, Resulting Numbers: [62, 1] Generated Node #0,1,2: 64:[62, 1] Operation: 63/63=1 Exploring Operation: 63-63=0, Resulting Numbers: [62, 0] Generated Node #0,1,3: 64:[62, 0] Operation: 63-63=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[63, 1], Operations: ['41+22=63', '63-62=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[62, 41, 22, 63], Operations: [] Exploring Operation: 41+22=63, Resulting Numbers: [62, 63, 63] Generated Node #0,1: 64:[62, 63, 63] Operation: 41+22=63 Moving to Node #0,1 Current State: 64:[62, 63, 63], Operations: ['41+22=63'] Exploring Operation: 63-62=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 64:[63, 1] Operation: 63-62=1 Moving to Node #0,1,0 Current State: 64:[63, 1], Operations: ['41+22=63', '63-62=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 5, 26, 90, 31 ]
89
[ "5+26=31", "31/31=1", "90-1=89" ]
Current State: 89:[5, 26, 90, 31], Operations: [] Exploring Operation: 5+26=31, Resulting Numbers: [90, 31, 31] Generated Node #2: [90, 31, 31] from Operation: 5+26=31 Current State: 89:[90, 31, 31], Operations: ['5+26=31'] Exploring Operation: 31/31=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 31/31=1 Current State: 89:[90, 1], Operations: ['5+26=31', '31/31=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[5, 26, 90, 31], Operations: [] Exploring Operation: 5+26=31, Resulting Numbers: [90, 31, 31] Generated Node #0,0: 89:[90, 31, 31] Operation: 5+26=31 Exploring Operation: 5*26=130, Resulting Numbers: [90, 31, 130] Generated Node #0,1: 89:[90, 31, 130] Operation: 5*26=130 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[90, 31, 130], Operations: ['5*26=130'] Exploring Operation: 130-31=99, Resulting Numbers: [90, 99] Generated Node #0,1,0: 89:[90, 99] Operation: 130-31=99 Exploring Operation: 90-31=59, Resulting Numbers: [130, 59] Generated Node #0,1,1: 89:[130, 59] Operation: 90-31=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[90, 99], Operations: ['5*26=130', '130-31=99'] Exploring Operation: 90+99=189, Resulting Numbers: [189] 189,89 unequal: No Solution Exploring Operation: 99-90=9, Resulting Numbers: [9] 9,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[130, 59], Operations: ['5*26=130', '90-31=59'] Exploring Operation: 130-59=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 130+59=189, Resulting Numbers: [189] 189,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[90, 31, 31], Operations: ['5+26=31'] Exploring Operation: 90-31=59, Resulting Numbers: [31, 59] Generated Node #0,0,0: 89:[31, 59] Operation: 90-31=59 Exploring Operation: 31+31=62, Resulting Numbers: [90, 62] Generated Node #0,0,1: 89:[90, 62] Operation: 31+31=62 Moving to Node #0,0,1 Current State: 89:[90, 62], Operations: ['5+26=31', '31+31=62'] Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,89 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[31, 59], Operations: ['5+26=31', '90-31=59'] Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,89 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
[ 65, 68, 55, 5 ]
34
[ "65-55=10", "68*5=340", "340/10=34" ]
Current State: 34:[65, 68, 55, 5], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [68, 5, 10] Generated Node #2: [68, 5, 10] from Operation: 65-55=10 Current State: 34:[68, 5, 10], Operations: ['65-55=10'] Exploring Operation: 68*5=340, Resulting Numbers: [10, 340] Generated Node #3: [10, 340] from Operation: 68*5=340 Current State: 34:[10, 340], Operations: ['65-55=10', '68*5=340'] Exploring Operation: 340/10=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[65, 68, 55, 5], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [55, 5, 3] Generated Node #0,0: 34:[55, 5, 3] Operation: 68-65=3 Exploring Operation: 68-55=13, Resulting Numbers: [65, 5, 13] Generated Node #0,1: 34:[65, 5, 13] Operation: 68-55=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[55, 5, 3], Operations: ['68-65=3'] Exploring Operation: 55/5=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 34:[3, 11] Operation: 55/5=11 Exploring Operation: 55-5=50, Resulting Numbers: [3, 50] Generated Node #0,0,1: 34:[3, 50] Operation: 55-5=50 Moving to Node #0,0,0 Current State: 34:[3, 11], Operations: ['68-65=3', '55/5=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[3, 50], Operations: ['68-65=3', '55-5=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,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 Current State: 34:[65, 5, 13], Operations: ['68-55=13'] Exploring Operation: 65/5=13, Resulting Numbers: [13, 13] Generated Node #0,1,0: 34:[13, 13] Operation: 65/5=13 Exploring Operation: 65/13=5, Resulting Numbers: [5, 5] Generated Node #0,1,1: 34:[5, 5] Operation: 65/13=5 Moving to Node #0,1,1 Current State: 34:[5, 5], Operations: ['68-55=13', '65/13=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[13, 13], Operations: ['68-55=13', '65/5=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,34 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
[ 24, 72, 90, 42 ]
74
[ "90-42=48", "48/24=2", "72+2=74" ]
Current State: 74:[24, 72, 90, 42], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [24, 72, 48] Generated Node #2: [24, 72, 48] from Operation: 90-42=48 Current State: 74:[24, 72, 48], Operations: ['90-42=48'] Exploring Operation: 48/24=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 48/24=2 Current State: 74:[72, 2], Operations: ['90-42=48', '48/24=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[24, 72, 90, 42], Operations: [] Exploring Operation: 90-24=66, Resulting Numbers: [72, 42, 66] Generated Node #0,0: 74:[72, 42, 66] Operation: 90-24=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[72, 42, 66], Operations: ['90-24=66'] Exploring Operation: 72-66=6, Resulting Numbers: [42, 6] Generated Node #0,0,0: 74:[42, 6] Operation: 72-66=6 Moving to Node #0,0,0 Current State: 74:[42, 6], Operations: ['90-24=66', '72-66=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,74 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
[ 60, 99, 78, 9 ]
29
[ "78-60=18", "99/9=11", "18+11=29" ]
Current State: 29:[60, 99, 78, 9], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [99, 9, 18] Generated Node #2: [99, 9, 18] from Operation: 78-60=18 Current State: 29:[99, 9, 18], Operations: ['78-60=18'] Exploring Operation: 99/9=11, Resulting Numbers: [18, 11] Generated Node #3: [18, 11] from Operation: 99/9=11 Current State: 29:[18, 11], Operations: ['78-60=18', '99/9=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[60, 99, 78, 9], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [78, 9, 39] Generated Node #0,0: 29:[78, 9, 39] Operation: 99-60=39 Exploring Operation: 99-78=21, Resulting Numbers: [60, 9, 21] Generated Node #0,1: 29:[60, 9, 21] Operation: 99-78=21 Moving to Node #0,1 Current State: 29:[60, 9, 21], Operations: ['99-78=21'] Exploring Operation: 60-9=51, Resulting Numbers: [21, 51] Generated Node #0,1,0: 29:[21, 51] Operation: 60-9=51 Exploring Operation: 60-21=39, Resulting Numbers: [9, 39] Generated Node #0,1,1: 29:[9, 39] Operation: 60-21=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[21, 51], Operations: ['99-78=21', '60-9=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[9, 39], Operations: ['99-78=21', '60-21=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[78, 9, 39], Operations: ['99-60=39'] Exploring Operation: 78-39=39, Resulting Numbers: [9, 39] Generated Node #0,0,0: 29:[9, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [9, 2] Generated Node #0,0,1: 29:[9, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[9, 39], Operations: ['99-60=39', '78-39=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,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,0,1 Current State: 29:[9, 2], Operations: ['99-60=39', '78/39=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,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
sum_heuristic
[ 38, 65, 91, 46 ]
89
[ "65-46=19", "38/19=2", "91-2=89" ]
Current State: 89:[38, 65, 91, 46], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [38, 91, 19] Generated Node #2: [38, 91, 19] from Operation: 65-46=19 Current State: 89:[38, 91, 19], Operations: ['65-46=19'] Exploring Operation: 38/19=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 38/19=2 Current State: 89:[91, 2], Operations: ['65-46=19', '38/19=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 65, 91, 46], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [91, 46, 27] Generated Node #0,0: 89:[91, 46, 27] Operation: 65-38=27 Exploring Operation: 65+46=111, Resulting Numbers: [38, 91, 111] Generated Node #0,1: 89:[38, 91, 111] Operation: 65+46=111 Exploring Operation: 91-38=53, Resulting Numbers: [65, 46, 53] Generated Node #0,2: 89:[65, 46, 53] Operation: 91-38=53 Exploring Operation: 38+46=84, Resulting Numbers: [65, 91, 84] Generated Node #0,3: 89:[65, 91, 84] Operation: 38+46=84 Exploring Operation: 38+65=103, Resulting Numbers: [91, 46, 103] Generated Node #0,4: 89:[91, 46, 103] Operation: 38+65=103 Moving to Node #0,3 Current State: 89:[65, 91, 84], Operations: ['38+46=84'] Exploring Operation: 91-84=7, Resulting Numbers: [65, 7] Generated Node #0,3,0: 89:[65, 7] Operation: 91-84=7 Exploring Operation: 91-65=26, Resulting Numbers: [84, 26] Generated Node #0,3,1: 89:[84, 26] Operation: 91-65=26 Exploring Operation: 65+84=149, Resulting Numbers: [91, 149] Generated Node #0,3,2: 89:[91, 149] Operation: 65+84=149 Exploring Operation: 65+91=156, Resulting Numbers: [84, 156] Generated Node #0,3,3: 89:[84, 156] Operation: 65+91=156 Exploring Operation: 84-65=19, Resulting Numbers: [91, 19] Generated Node #0,3,4: 89:[91, 19] Operation: 84-65=19 Moving to Node #0,4 Current State: 89:[91, 46, 103], Operations: ['38+65=103'] Exploring Operation: 91+46=137, Resulting Numbers: [103, 137] Generated Node #0,4,0: 89:[103, 137] Operation: 91+46=137 Exploring Operation: 91-46=45, Resulting Numbers: [103, 45] Generated Node #0,4,1: 89:[103, 45] Operation: 91-46=45 Exploring Operation: 46+103=149, Resulting Numbers: [91, 149] Generated Node #0,4,2: 89:[91, 149] Operation: 46+103=149 Exploring Operation: 103-46=57, Resulting Numbers: [91, 57] Generated Node #0,4,3: 89:[91, 57] Operation: 103-46=57 Exploring Operation: 103-91=12, Resulting Numbers: [46, 12] Generated Node #0,4,4: 89:[46, 12] Operation: 103-91=12 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 89:[91, 57], Operations: ['38+65=103', '103-46=57'] Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,89 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,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,4,1 Current State: 89:[103, 45], Operations: ['38+65=103', '91-46=45'] Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 103+45=148, Resulting Numbers: [148] 148,89 unequal: No Solution Exploring Operation: 103*45=4635, Resulting Numbers: [4635] 4635,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,4,0 Current State: 89:[103, 137], Operations: ['38+65=103', '91+46=137'] Exploring Operation: 103*137=14111, Resulting Numbers: [14111] 14111,89 unequal: No Solution Exploring Operation: 103+137=240, Resulting Numbers: [240] 240,89 unequal: No Solution Exploring Operation: 137-103=34, Resulting Numbers: [34] 34,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,4,2 Current State: 89:[91, 149], Operations: ['38+65=103', '46+103=149'] Exploring Operation: 149-91=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 91*149=13559, Resulting Numbers: [13559] 13559,89 unequal: No Solution Exploring Operation: 91+149=240, Resulting Numbers: [240] 240,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,4,4 Current State: 89:[46, 12], Operations: ['38+65=103', '103-91=12'] Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,89 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,89 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: 89:[38, 91, 111], Operations: ['65+46=111'] Exploring Operation: 111-38=73, Resulting Numbers: [91, 73] Generated Node #0,1,0: 89:[91, 73] Operation: 111-38=73 Exploring Operation: 91-38=53, Resulting Numbers: [111, 53] Generated Node #0,1,1: 89:[111, 53] Operation: 91-38=53 Exploring Operation: 38+91=129, Resulting Numbers: [111, 129] Generated Node #0,1,2: 89:[111, 129] Operation: 38+91=129 Exploring Operation: 38+111=149, Resulting Numbers: [91, 149] Generated Node #0,1,3: 89:[91, 149] Operation: 38+111=149 Exploring Operation: 111-91=20, Resulting Numbers: [38, 20] Generated Node #0,1,4: 89:[38, 20] Operation: 111-91=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[91, 73], Operations: ['65+46=111', '111-38=73'] Exploring Operation: 91+73=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 91*73=6643, Resulting Numbers: [6643] 6643,89 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,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:[111, 53], Operations: ['65+46=111', '91-38=53'] Exploring Operation: 111-53=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 111*53=5883, Resulting Numbers: [5883] 5883,89 unequal: No Solution Exploring Operation: 111+53=164, Resulting Numbers: [164] 164,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[111, 129], Operations: ['65+46=111', '38+91=129'] Exploring Operation: 129-111=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 111*129=14319, Resulting Numbers: [14319] 14319,89 unequal: No Solution Exploring Operation: 111+129=240, Resulting Numbers: [240] 240,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[91, 149], Operations: ['65+46=111', '38+111=149'] Exploring Operation: 91*149=13559, Resulting Numbers: [13559] 13559,89 unequal: No Solution Exploring Operation: 91+149=240, Resulting Numbers: [240] 240,89 unequal: No Solution Exploring Operation: 149-91=58, Resulting Numbers: [58] 58,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,4 Current State: 89:[38, 20], Operations: ['65+46=111', '111-91=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,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:[65, 46, 53], Operations: ['91-38=53'] Exploring Operation: 65+53=118, Resulting Numbers: [46, 118] Generated Node #0,2,0: 89:[46, 118] Operation: 65+53=118 Exploring Operation: 65-46=19, Resulting Numbers: [53, 19] Generated Node #0,2,1: 89:[53, 19] Operation: 65-46=19 Exploring Operation: 46+53=99, Resulting Numbers: [65, 99] Generated Node #0,2,2: 89:[65, 99] Operation: 46+53=99 Exploring Operation: 65+46=111, Resulting Numbers: [53, 111] Generated Node #0,2,3: 89:[53, 111] Operation: 65+46=111 Exploring Operation: 53-46=7, Resulting Numbers: [65, 7] Generated Node #0,2,4: 89:[65, 7] Operation: 53-46=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[65, 99], Operations: ['91-38=53', '46+53=99'] Exploring Operation: 65*99=6435, Resulting Numbers: [6435] 6435,89 unequal: No Solution Exploring Operation: 65+99=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,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,3 Current State: 89:[53, 111], Operations: ['91-38=53', '65+46=111'] Exploring Operation: 53+111=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 111-53=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 53*111=5883, Resulting Numbers: [5883] 5883,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:[46, 118], Operations: ['91-38=53', '65+53=118'] Exploring Operation: 46*118=5428, Resulting Numbers: [5428] 5428,89 unequal: No Solution Exploring Operation: 118-46=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 46+118=164, Resulting Numbers: [164] 164,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[53, 19], Operations: ['91-38=53', '65-46=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,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,4 Current State: 89:[65, 7], Operations: ['91-38=53', '53-46=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,89 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,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:[91, 46, 27], Operations: ['65-38=27'] Exploring Operation: 46-27=19, Resulting Numbers: [91, 19] Generated Node #0,0,0: 89:[91, 19] Operation: 46-27=19 Exploring Operation: 91+27=118, Resulting Numbers: [46, 118] Generated Node #0,0,1: 89:[46, 118] Operation: 91+27=118 Exploring Operation: 91-46=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 89:[27, 45] Operation: 91-46=45 Exploring Operation: 91-27=64, Resulting Numbers: [46, 64] Generated Node #0,0,3: 89:[46, 64] Operation: 91-27=64 Exploring Operation: 46+27=73, Resulting Numbers: [91, 73] Generated Node #0,0,4: 89:[91, 73] Operation: 46+27=73 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[91, 73], Operations: ['65-38=27', '46+27=73'] Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 91+73=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 91*73=6643, Resulting Numbers: [6643] 6643,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[46, 64], Operations: ['65-38=27', '91-27=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[91, 19], Operations: ['65-38=27', '46-27=19'] Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,89 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[46, 118], Operations: ['65-38=27', '91+27=118'] Exploring Operation: 46*118=5428, Resulting Numbers: [5428] 5428,89 unequal: No Solution Exploring Operation: 46+118=164, Resulting Numbers: [164] 164,89 unequal: No Solution Exploring Operation: 118-46=72, Resulting Numbers: [72] 72,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[27, 45], Operations: ['65-38=27', '91-46=45'] Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 89:[91, 149], Operations: ['38+46=84', '65+84=149'] Exploring Operation: 149-91=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 91*149=13559, Resulting Numbers: [13559] 13559,89 unequal: No Solution Exploring Operation: 91+149=240, Resulting Numbers: [240] 240,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[84, 26], Operations: ['38+46=84', '91-65=26'] Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,89 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,89 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[84, 156], Operations: ['38+46=84', '65+91=156'] Exploring Operation: 84*156=13104, Resulting Numbers: [13104] 13104,89 unequal: No Solution Exploring Operation: 156-84=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 84+156=240, Resulting Numbers: [240] 240,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[91, 19], Operations: ['38+46=84', '84-65=19'] Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,89 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[65, 7], Operations: ['38+46=84', '91-84=7'] Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,89 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,89 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 29, 5, 4 ]
83
[ "5+4=9", "6*9=54", "29+54=83" ]
Current State: 83:[6, 29, 5, 4], Operations: [] Exploring Operation: 5+4=9, Resulting Numbers: [6, 29, 9] Generated Node #2: [6, 29, 9] from Operation: 5+4=9 Current State: 83:[6, 29, 9], Operations: ['5+4=9'] Exploring Operation: 6*9=54, Resulting Numbers: [29, 54] Generated Node #3: [29, 54] from Operation: 6*9=54 Current State: 83:[29, 54], Operations: ['5+4=9', '6*9=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[6, 29, 5, 4], Operations: [] Exploring Operation: 6*5=30, Resulting Numbers: [29, 4, 30] Generated Node #0,0: 83:[29, 4, 30] Operation: 6*5=30 Exploring Operation: 6*4=24, Resulting Numbers: [29, 5, 24] Generated Node #0,1: 83:[29, 5, 24] Operation: 6*4=24 Exploring Operation: 29*4=116, Resulting Numbers: [6, 5, 116] Generated Node #0,2: 83:[6, 5, 116] Operation: 29*4=116 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[29, 4, 30], Operations: ['6*5=30'] Exploring Operation: 29*4=116, Resulting Numbers: [30, 116] Generated Node #0,0,0: 83:[30, 116] Operation: 29*4=116 Exploring Operation: 29+4=33, Resulting Numbers: [30, 33] Generated Node #0,0,1: 83:[30, 33] Operation: 29+4=33 Exploring Operation: 4*30=120, Resulting Numbers: [29, 120] Generated Node #0,0,2: 83:[29, 120] Operation: 4*30=120 Moving to Node #0,0,0 Current State: 83:[30, 116], Operations: ['6*5=30', '29*4=116'] Exploring Operation: 116-30=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 30*116=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 30+116=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[29, 120], Operations: ['6*5=30', '4*30=120'] Exploring Operation: 29+120=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 29*120=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 120-29=91, Resulting Numbers: [91] 91,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[30, 33], Operations: ['6*5=30', '29+4=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[6, 5, 116], Operations: ['29*4=116'] Exploring Operation: 6+5=11, Resulting Numbers: [116, 11] Generated Node #0,2,0: 83:[116, 11] Operation: 6+5=11 Exploring Operation: 6*5=30, Resulting Numbers: [116, 30] Generated Node #0,2,1: 83:[116, 30] Operation: 6*5=30 Exploring Operation: 116-6=110, Resulting Numbers: [5, 110] Generated Node #0,2,2: 83:[5, 110] Operation: 116-6=110 Moving to Node #0,2,1 Current State: 83:[116, 30], Operations: ['29*4=116', '6*5=30'] Exploring Operation: 116*30=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 116-30=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 116+30=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[116, 11], Operations: ['29*4=116', '6+5=11'] Exploring Operation: 116*11=1276, Resulting Numbers: [1276] 1276,83 unequal: No Solution Exploring Operation: 116-11=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 116+11=127, Resulting Numbers: [127] 127,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[5, 110], Operations: ['29*4=116', '116-6=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,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,1 Current State: 83:[29, 5, 24], Operations: ['6*4=24'] Exploring Operation: 29+24=53, Resulting Numbers: [5, 53] Generated Node #0,1,0: 83:[5, 53] Operation: 29+24=53 Exploring Operation: 5*24=120, Resulting Numbers: [29, 120] Generated Node #0,1,1: 83:[29, 120] Operation: 5*24=120 Exploring Operation: 29+5=34, Resulting Numbers: [24, 34] Generated Node #0,1,2: 83:[24, 34] Operation: 29+5=34 Moving to Node #0,1,1 Current State: 83:[29, 120], Operations: ['6*4=24', '5*24=120'] Exploring Operation: 29+120=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 29*120=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 120-29=91, Resulting Numbers: [91] 91,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[5, 53], Operations: ['6*4=24', '29+24=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,83 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[24, 34], Operations: ['6*4=24', '29+5=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,83 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 1, 39, 30 ]
72
[ "2+1=3", "39+30=69", "3+69=72" ]
Current State: 72:[2, 1, 39, 30], Operations: [] Exploring Operation: 2+1=3, Resulting Numbers: [39, 30, 3] Generated Node #2: [39, 30, 3] from Operation: 2+1=3 Current State: 72:[39, 30, 3], Operations: ['2+1=3'] Exploring Operation: 39+30=69, Resulting Numbers: [3, 69] Generated Node #3: [3, 69] from Operation: 39+30=69 Current State: 72:[3, 69], Operations: ['2+1=3', '39+30=69'] Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 1, 39, 30], Operations: [] Exploring Operation: 30/2=15, Resulting Numbers: [1, 39, 15] Generated Node #0,0: 72:[1, 39, 15] Operation: 30/2=15 Exploring Operation: 39-30=9, Resulting Numbers: [2, 1, 9] Generated Node #0,1: 72:[2, 1, 9] Operation: 39-30=9 Exploring Operation: 39+30=69, Resulting Numbers: [2, 1, 69] Generated Node #0,2: 72:[2, 1, 69] Operation: 39+30=69 Exploring Operation: 39-2=37, Resulting Numbers: [1, 30, 37] Generated Node #0,3: 72:[1, 30, 37] Operation: 39-2=37 Moving to Node #0,1 Current State: 72:[2, 1, 9], Operations: ['39-30=9'] Exploring Operation: 2/1=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 72:[9, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [9, 2] Generated Node #0,1,1: 72:[9, 2] Operation: 2*1=2 Exploring Operation: 1*9=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 72:[2, 9] Operation: 1*9=9 Exploring Operation: 2+1=3, Resulting Numbers: [9, 3] Generated Node #0,1,3: 72:[9, 3] Operation: 2+1=3 Moving to Node #0,2 Current State: 72:[2, 1, 69], Operations: ['39+30=69'] Exploring Operation: 2+69=71, Resulting Numbers: [1, 71] Generated Node #0,2,0: 72:[1, 71] Operation: 2+69=71 Exploring Operation: 1+69=70, Resulting Numbers: [2, 70] Generated Node #0,2,1: 72:[2, 70] Operation: 1+69=70 Exploring Operation: 2*1=2, Resulting Numbers: [69, 2] Generated Node #0,2,2: 72:[69, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [69, 3] Generated Node #0,2,3: 72:[69, 3] Operation: 2+1=3 Moving to Node #0,0 Current State: 72:[1, 39, 15], Operations: ['30/2=15'] Exploring Operation: 15-1=14, Resulting Numbers: [39, 14] Generated Node #0,0,0: 72:[39, 14] Operation: 15-1=14 Exploring Operation: 39-15=24, Resulting Numbers: [1, 24] Generated Node #0,0,1: 72:[1, 24] Operation: 39-15=24 Exploring Operation: 1+15=16, Resulting Numbers: [39, 16] Generated Node #0,0,2: 72:[39, 16] Operation: 1+15=16 Exploring Operation: 39-1=38, Resulting Numbers: [15, 38] Generated Node #0,0,3: 72:[15, 38] Operation: 39-1=38 Moving to Node #0,3 Current State: 72:[1, 30, 37], Operations: ['39-2=37'] Exploring Operation: 1+30=31, Resulting Numbers: [37, 31] Generated Node #0,3,0: 72:[37, 31] Operation: 1+30=31 Exploring Operation: 37-30=7, Resulting Numbers: [1, 7] Generated Node #0,3,1: 72:[1, 7] Operation: 37-30=7 Exploring Operation: 30-1=29, Resulting Numbers: [37, 29] Generated Node #0,3,2: 72:[37, 29] Operation: 30-1=29 Exploring Operation: 37-1=36, Resulting Numbers: [30, 36] Generated Node #0,3,3: 72:[30, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[1, 7], Operations: ['39-2=37', '37-30=7'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[37, 31], Operations: ['39-2=37', '1+30=31'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,72 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[37, 29], Operations: ['39-2=37', '30-1=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[30, 36], Operations: ['39-2=37', '37-1=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,72 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 72:[9, 2], Operations: ['39-30=9', '2/1=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[2, 9], Operations: ['39-30=9', '1*9=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[9, 2], Operations: ['39-30=9', '2*1=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[9, 3], Operations: ['39-30=9', '2+1=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[1, 24], Operations: ['30/2=15', '39-15=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[2, 70], Operations: ['39+30=69', '1+69=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 1, 39, 30], Operations: [] Exploring Operation: 39+30=69, Resulting Numbers: [2, 1, 69] Generated Node #0,2: 72:[2, 1, 69] Operation: 39+30=69 Moving to Node #0,2 Current State: 72:[2, 1, 69], Operations: ['39+30=69'] Exploring Operation: 1+69=70, Resulting Numbers: [2, 70] Generated Node #0,2,1: 72:[2, 70] Operation: 1+69=70 Moving to Node #0,2,1 Current State: 72:[2, 70], Operations: ['39+30=69', '1+69=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.951389
hs_4
mult_heuristic
[ 27, 49, 29, 43 ]
90
[ "27+49=76", "43-29=14", "76+14=90" ]
Current State: 90:[27, 49, 29, 43], Operations: [] Exploring Operation: 27+49=76, Resulting Numbers: [29, 43, 76] Generated Node #2: [29, 43, 76] from Operation: 27+49=76 Current State: 90:[29, 43, 76], Operations: ['27+49=76'] Exploring Operation: 43-29=14, Resulting Numbers: [76, 14] Generated Node #3: [76, 14] from Operation: 43-29=14 Current State: 90:[76, 14], Operations: ['27+49=76', '43-29=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[27, 49, 29, 43], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [27, 29, 6] Generated Node #0,0: 90:[27, 29, 6] Operation: 49-43=6 Exploring Operation: 49+43=92, Resulting Numbers: [27, 29, 92] Generated Node #0,1: 90:[27, 29, 92] Operation: 49+43=92 Exploring Operation: 29-27=2, Resulting Numbers: [49, 43, 2] Generated Node #0,2: 90:[49, 43, 2] Operation: 29-27=2 Exploring Operation: 43-27=16, Resulting Numbers: [49, 29, 16] Generated Node #0,3: 90:[49, 29, 16] Operation: 43-27=16 Moving to Node #0,0 Current State: 90:[27, 29, 6], Operations: ['49-43=6'] Exploring Operation: 29+6=35, Resulting Numbers: [27, 35] Generated Node #0,0,0: 90:[27, 35] Operation: 29+6=35 Exploring Operation: 27+6=33, Resulting Numbers: [29, 33] Generated Node #0,0,1: 90:[29, 33] Operation: 27+6=33 Exploring Operation: 27-6=21, Resulting Numbers: [29, 21] Generated Node #0,0,2: 90:[29, 21] Operation: 27-6=21 Exploring Operation: 29-27=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 90:[6, 2] Operation: 29-27=2 Moving to Node #0,2 Current State: 90:[49, 43, 2], Operations: ['29-27=2'] Exploring Operation: 49-2=47, Resulting Numbers: [43, 47] Generated Node #0,2,0: 90:[43, 47] Operation: 49-2=47 Exploring Operation: 43+2=45, Resulting Numbers: [49, 45] Generated Node #0,2,1: 90:[49, 45] Operation: 43+2=45 Exploring Operation: 49-43=6, Resulting Numbers: [2, 6] Generated Node #0,2,2: 90:[2, 6] Operation: 49-43=6 Exploring Operation: 49+43=92, Resulting Numbers: [2, 92] Generated Node #0,2,3: 90:[2, 92] Operation: 49+43=92 Moving to Node #0,1 Current State: 90:[27, 29, 92], Operations: ['49+43=92'] Exploring Operation: 29-27=2, Resulting Numbers: [92, 2] Generated Node #0,1,0: 90:[92, 2] Operation: 29-27=2 Exploring Operation: 92-29=63, Resulting Numbers: [27, 63] Generated Node #0,1,1: 90:[27, 63] Operation: 92-29=63 Exploring Operation: 92-27=65, Resulting Numbers: [29, 65] Generated Node #0,1,2: 90:[29, 65] Operation: 92-27=65 Exploring Operation: 27+29=56, Resulting Numbers: [92, 56] Generated Node #0,1,3: 90:[92, 56] Operation: 27+29=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[92, 2], Operations: ['49+43=92', '29-27=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,90 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[27, 49, 29, 43], Operations: [] Exploring Operation: 49+43=92, Resulting Numbers: [27, 29, 92] Generated Node #0,1: 90:[27, 29, 92] Operation: 49+43=92 Moving to Node #0,1 Current State: 90:[27, 29, 92], Operations: ['49+43=92'] Exploring Operation: 29-27=2, Resulting Numbers: [92, 2] Generated Node #0,1,0: 90:[92, 2] Operation: 29-27=2 Moving to Node #0,1,0 Current State: 90:[92, 2], Operations: ['49+43=92', '29-27=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 52, 7, 45, 98 ]
99
[ "52-7=45", "45/45=1", "98+1=99" ]
Current State: 99:[52, 7, 45, 98], Operations: [] Exploring Operation: 52-7=45, Resulting Numbers: [45, 98, 45] Generated Node #2: [45, 98, 45] from Operation: 52-7=45 Current State: 99:[45, 98, 45], Operations: ['52-7=45'] Exploring Operation: 45/45=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 45/45=1 Current State: 99:[98, 1], Operations: ['52-7=45', '45/45=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[52, 7, 45, 98], Operations: [] Exploring Operation: 52+45=97, Resulting Numbers: [7, 98, 97] Generated Node #0,0: 99:[7, 98, 97] Operation: 52+45=97 Exploring Operation: 52-7=45, Resulting Numbers: [45, 98, 45] Generated Node #0,1: 99:[45, 98, 45] Operation: 52-7=45 Exploring Operation: 45-7=38, Resulting Numbers: [52, 98, 38] Generated Node #0,2: 99:[52, 98, 38] Operation: 45-7=38 Exploring Operation: 52-45=7, Resulting Numbers: [7, 98, 7] Generated Node #0,3: 99:[7, 98, 7] Operation: 52-45=7 Moving to Node #0,0 Current State: 99:[7, 98, 97], Operations: ['52+45=97'] Exploring Operation: 7+97=104, Resulting Numbers: [98, 104] Generated Node #0,0,0: 99:[98, 104] Operation: 7+97=104 Exploring Operation: 98/7=14, Resulting Numbers: [97, 14] Generated Node #0,0,1: 99:[97, 14] Operation: 98/7=14 Exploring Operation: 7+98=105, Resulting Numbers: [97, 105] Generated Node #0,0,2: 99:[97, 105] Operation: 7+98=105 Exploring Operation: 98-97=1, Resulting Numbers: [7, 1] Generated Node #0,0,3: 99:[7, 1] Operation: 98-97=1 Moving to Node #0,3 Current State: 99:[7, 98, 7], Operations: ['52-45=7'] Exploring Operation: 98/7=14, Resulting Numbers: [7, 14] Generated Node #0,3,0: 99:[7, 14] Operation: 98/7=14 Exploring Operation: 7-7=0, Resulting Numbers: [98, 0] Generated Node #0,3,1: 99:[98, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [98, 1] Generated Node #0,3,2: 99:[98, 1] Operation: 7/7=1 Exploring Operation: 7+7=14, Resulting Numbers: [98, 14] Generated Node #0,3,3: 99:[98, 14] Operation: 7+7=14 Moving to Node #0,2 Current State: 99:[52, 98, 38], Operations: ['45-7=38'] Exploring Operation: 98-38=60, Resulting Numbers: [52, 60] Generated Node #0,2,0: 99:[52, 60] Operation: 98-38=60 Exploring Operation: 52-38=14, Resulting Numbers: [98, 14] Generated Node #0,2,1: 99:[98, 14] Operation: 52-38=14 Exploring Operation: 52+38=90, Resulting Numbers: [98, 90] Generated Node #0,2,2: 99:[98, 90] Operation: 52+38=90 Exploring Operation: 98-52=46, Resulting Numbers: [38, 46] Generated Node #0,2,3: 99:[38, 46] Operation: 98-52=46 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[98, 14], Operations: ['45-7=38', '52-38=14'] Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 98*14=1372, Resulting Numbers: [1372] 1372,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,2 Current State: 99:[98, 90], Operations: ['45-7=38', '52+38=90'] Exploring Operation: 98*90=8820, Resulting Numbers: [8820] 8820,99 unequal: No Solution Exploring Operation: 98+90=188, Resulting Numbers: [188] 188,99 unequal: No Solution Exploring Operation: 98-90=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,2,3 Current State: 99:[38, 46], Operations: ['45-7=38', '98-52=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,99 unequal: No Solution Exploring Operation: 46-38=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,2,0 Current State: 99:[52, 60], Operations: ['45-7=38', '98-38=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,99 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,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:[45, 98, 45], Operations: ['52-7=45'] Exploring Operation: 98-45=53, Resulting Numbers: [45, 53] Generated Node #0,1,0: 99:[45, 53] Operation: 98-45=53 Exploring Operation: 45+45=90, Resulting Numbers: [98, 90] Generated Node #0,1,1: 99:[98, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [98, 0] Generated Node #0,1,2: 99:[98, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [98, 1] Generated Node #0,1,3: 99:[98, 1] Operation: 45/45=1 Moving to Node #0,3,2 Current State: 99:[98, 1], Operations: ['52-45=7', '7/7=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,99 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,99 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,99 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[52, 7, 45, 98], Operations: [] Exploring Operation: 52-45=7, Resulting Numbers: [7, 98, 7] Generated Node #0,3: 99:[7, 98, 7] Operation: 52-45=7 Moving to Node #0,3 Current State: 99:[7, 98, 7], Operations: ['52-45=7'] Exploring Operation: 7/7=1, Resulting Numbers: [98, 1] Generated Node #0,3,2: 99:[98, 1] Operation: 7/7=1 Moving to Node #0,3,2 Current State: 99:[98, 1], Operations: ['52-45=7', '7/7=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 9, 97, 61, 43 ]
88
[ "9+97=106", "61-43=18", "106-18=88" ]
Current State: 88:[9, 97, 61, 43], Operations: [] Exploring Operation: 9+97=106, Resulting Numbers: [61, 43, 106] Generated Node #2: [61, 43, 106] from Operation: 9+97=106 Current State: 88:[61, 43, 106], Operations: ['9+97=106'] Exploring Operation: 61-43=18, Resulting Numbers: [106, 18] Generated Node #3: [106, 18] from Operation: 61-43=18 Current State: 88:[106, 18], Operations: ['9+97=106', '61-43=18'] Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[9, 97, 61, 43], Operations: [] Exploring Operation: 97-9=88, Resulting Numbers: [61, 43, 88] Generated Node #0,0: 88:[61, 43, 88] Operation: 97-9=88 Exploring Operation: 61-43=18, Resulting Numbers: [9, 97, 18] Generated Node #0,1: 88:[9, 97, 18] Operation: 61-43=18 Exploring Operation: 97-61=36, Resulting Numbers: [9, 43, 36] Generated Node #0,2: 88:[9, 43, 36] Operation: 97-61=36 Exploring Operation: 61-9=52, Resulting Numbers: [97, 43, 52] Generated Node #0,3: 88:[97, 43, 52] Operation: 61-9=52 Moving to Node #0,2 Current State: 88:[9, 43, 36], Operations: ['97-61=36'] Exploring Operation: 36-9=27, Resulting Numbers: [43, 27] Generated Node #0,2,0: 88:[43, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [43, 4] Generated Node #0,2,1: 88:[43, 4] Operation: 36/9=4 Exploring Operation: 9+36=45, Resulting Numbers: [43, 45] Generated Node #0,2,2: 88:[43, 45] Operation: 9+36=45 Exploring Operation: 43-36=7, Resulting Numbers: [9, 7] Generated Node #0,2,3: 88:[9, 7] Operation: 43-36=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[43, 4], Operations: ['97-61=36', '36/9=4'] Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,88 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,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,2,2 Current State: 88:[43, 45], Operations: ['97-61=36', '9+36=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,88 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[9, 97, 61, 43], Operations: [] Exploring Operation: 97-61=36, Resulting Numbers: [9, 43, 36] Generated Node #0,2: 88:[9, 43, 36] Operation: 97-61=36 Moving to Node #0,2 Current State: 88:[9, 43, 36], Operations: ['97-61=36'] Exploring Operation: 9+36=45, Resulting Numbers: [43, 45] Generated Node #0,2,2: 88:[43, 45] Operation: 9+36=45 Moving to Node #0,2,2 Current State: 88:[43, 45], Operations: ['97-61=36', '9+36=45'] Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 39, 68, 39, 33 ]
34
[ "39/39=1", "68-33=35", "35-1=34" ]
Current State: 34:[39, 68, 39, 33], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [68, 33, 1] Generated Node #2: [68, 33, 1] from Operation: 39/39=1 Current State: 34:[68, 33, 1], Operations: ['39/39=1'] Exploring Operation: 68-33=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 68-33=35 Current State: 34:[1, 35], Operations: ['39/39=1', '68-33=35'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[39, 68, 39, 33], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [68, 33, 1] Generated Node #0,0: 34:[68, 33, 1] Operation: 39/39=1 Exploring Operation: 68-39=29, Resulting Numbers: [39, 33, 29] Generated Node #0,1: 34:[39, 33, 29] Operation: 68-39=29 Exploring Operation: 68-39=29, Resulting Numbers: [39, 33, 29] Generated Node #0,2: 34:[39, 33, 29] Operation: 68-39=29 Exploring Operation: 68-33=35, Resulting Numbers: [39, 39, 35] Generated Node #0,3: 34:[39, 39, 35] Operation: 68-33=35 Exploring Operation: 39-39=0, Resulting Numbers: [68, 33, 0] Generated Node #0,4: 34:[68, 33, 0] Operation: 39-39=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[39, 33, 29], Operations: ['68-39=29'] Exploring Operation: 39+29=68, Resulting Numbers: [33, 68] Generated Node #0,1,0: 34:[33, 68] Operation: 39+29=68 Exploring Operation: 33-29=4, Resulting Numbers: [39, 4] Generated Node #0,1,1: 34:[39, 4] Operation: 33-29=4 Exploring Operation: 39-33=6, Resulting Numbers: [29, 6] Generated Node #0,1,2: 34:[29, 6] Operation: 39-33=6 Exploring Operation: 39-29=10, Resulting Numbers: [33, 10] Generated Node #0,1,3: 34:[33, 10] Operation: 39-29=10 Exploring Operation: 33+29=62, Resulting Numbers: [39, 62] Generated Node #0,1,4: 34:[39, 62] Operation: 33+29=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[39, 4], Operations: ['68-39=29', '33-29=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,34 unequal: No Solution No 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: 34:[33, 10], Operations: ['68-39=29', '39-29=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,34 unequal: No Solution No 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: 34:[29, 6], Operations: ['68-39=29', '39-33=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,34 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,34 unequal: No Solution No 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: 34:[39, 62], Operations: ['68-39=29', '33+29=62'] Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,34 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,34 unequal: No Solution No 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: 34:[33, 68], Operations: ['68-39=29', '39+29=68'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,34 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,34 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: 34:[39, 33, 29], Operations: ['68-39=29'] Exploring Operation: 39+29=68, Resulting Numbers: [33, 68] Generated Node #0,2,0: 34:[33, 68] Operation: 39+29=68 Exploring Operation: 33-29=4, Resulting Numbers: [39, 4] Generated Node #0,2,1: 34:[39, 4] Operation: 33-29=4 Exploring Operation: 39-33=6, Resulting Numbers: [29, 6] Generated Node #0,2,2: 34:[29, 6] Operation: 39-33=6 Exploring Operation: 33+29=62, Resulting Numbers: [39, 62] Generated Node #0,2,3: 34:[39, 62] Operation: 33+29=62 Exploring Operation: 39-29=10, Resulting Numbers: [33, 10] Generated Node #0,2,4: 34:[33, 10] Operation: 39-29=10 Moving to Node #0,2,1 Current State: 34:[39, 4], Operations: ['68-39=29', '33-29=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,34 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[33, 10], Operations: ['68-39=29', '39-29=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,34 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[29, 6], Operations: ['68-39=29', '39-33=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,34 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[39, 62], Operations: ['68-39=29', '33+29=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,34 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[33, 68], Operations: ['68-39=29', '39+29=68'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,34 unequal: No Solution Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,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,3 Current State: 34:[39, 39, 35], Operations: ['68-33=35'] Exploring Operation: 39/39=1, Resulting Numbers: [35, 1] Generated Node #0,3,0: 34:[35, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [35, 0] Generated Node #0,3,1: 34:[35, 0] Operation: 39-39=0 Exploring Operation: 39-35=4, Resulting Numbers: [39, 4] Generated Node #0,3,2: 34:[39, 4] Operation: 39-35=4 Exploring Operation: 39-35=4, Resulting Numbers: [39, 4] Generated Node #0,3,3: 34:[39, 4] Operation: 39-35=4 Exploring Operation: 39+39=78, Resulting Numbers: [35, 78] Generated Node #0,3,4: 34:[35, 78] Operation: 39+39=78 Moving to Node #0,3,0 Current State: 34:[35, 1], Operations: ['68-33=35', '39/39=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[39, 68, 39, 33], Operations: [] Exploring Operation: 68-33=35, Resulting Numbers: [39, 39, 35] Generated Node #0,3: 34:[39, 39, 35] Operation: 68-33=35 Moving to Node #0,3 Current State: 34:[39, 39, 35], Operations: ['68-33=35'] Exploring Operation: 39/39=1, Resulting Numbers: [35, 1] Generated Node #0,3,0: 34:[35, 1] Operation: 39/39=1 Moving to Node #0,3,0 Current State: 34:[35, 1], Operations: ['68-33=35', '39/39=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 29, 79, 36, 83 ]
80
[ "29+79=108", "108/36=3", "83-3=80" ]
Current State: 80:[29, 79, 36, 83], Operations: [] Exploring Operation: 29+79=108, Resulting Numbers: [36, 83, 108] Generated Node #2: [36, 83, 108] from Operation: 29+79=108 Current State: 80:[36, 83, 108], Operations: ['29+79=108'] Exploring Operation: 108/36=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 108/36=3 Current State: 80:[83, 3], Operations: ['29+79=108', '108/36=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[29, 79, 36, 83], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [29, 83, 43] Generated Node #0,0: 80:[29, 83, 43] Operation: 79-36=43 Exploring Operation: 36-29=7, Resulting Numbers: [79, 83, 7] Generated Node #0,1: 80:[79, 83, 7] Operation: 36-29=7 Exploring Operation: 79-29=50, Resulting Numbers: [36, 83, 50] Generated Node #0,2: 80:[36, 83, 50] Operation: 79-29=50 Exploring Operation: 83-79=4, Resulting Numbers: [29, 36, 4] Generated Node #0,3: 80:[29, 36, 4] Operation: 83-79=4 Moving to Node #0,1 Current State: 80:[79, 83, 7], Operations: ['36-29=7'] Exploring Operation: 83-7=76, Resulting Numbers: [79, 76] Generated Node #0,1,0: 80:[79, 76] Operation: 83-7=76 Exploring Operation: 79+7=86, Resulting Numbers: [83, 86] Generated Node #0,1,1: 80:[83, 86] Operation: 79+7=86 Exploring Operation: 83-79=4, Resulting Numbers: [7, 4] Generated Node #0,1,2: 80:[7, 4] Operation: 83-79=4 Exploring Operation: 79-7=72, Resulting Numbers: [83, 72] Generated Node #0,1,3: 80:[83, 72] Operation: 79-7=72 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[7, 4], Operations: ['36-29=7', '83-79=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[79, 76], Operations: ['36-29=7', '83-7=76'] Exploring Operation: 79-76=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 79+76=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 79*76=6004, Resulting Numbers: [6004] 6004,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[83, 86], Operations: ['36-29=7', '79+7=86'] Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,80 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,80 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[83, 72], Operations: ['36-29=7', '79-7=72'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 80:[29, 36, 4], Operations: ['83-79=4'] Exploring Operation: 29-4=25, Resulting Numbers: [36, 25] Generated Node #0,3,0: 80:[36, 25] Operation: 29-4=25 Exploring Operation: 36-29=7, Resulting Numbers: [4, 7] Generated Node #0,3,1: 80:[4, 7] Operation: 36-29=7 Exploring Operation: 36/4=9, Resulting Numbers: [29, 9] Generated Node #0,3,2: 80:[29, 9] Operation: 36/4=9 Exploring Operation: 36+4=40, Resulting Numbers: [29, 40] Generated Node #0,3,3: 80:[29, 40] Operation: 36+4=40 Moving to Node #0,0 Current State: 80:[29, 83, 43], Operations: ['79-36=43'] Exploring Operation: 43-29=14, Resulting Numbers: [83, 14] Generated Node #0,0,0: 80:[83, 14] Operation: 43-29=14 Exploring Operation: 83-43=40, Resulting Numbers: [29, 40] Generated Node #0,0,1: 80:[29, 40] Operation: 83-43=40 Exploring Operation: 83-29=54, Resulting Numbers: [43, 54] Generated Node #0,0,2: 80:[43, 54] Operation: 83-29=54 Exploring Operation: 29+43=72, Resulting Numbers: [83, 72] Generated Node #0,0,3: 80:[83, 72] Operation: 29+43=72 Moving to Node #0,2 Current State: 80:[36, 83, 50], Operations: ['79-29=50'] Exploring Operation: 83-36=47, Resulting Numbers: [50, 47] Generated Node #0,2,0: 80:[50, 47] Operation: 83-36=47 Exploring Operation: 83-50=33, Resulting Numbers: [36, 33] Generated Node #0,2,1: 80:[36, 33] Operation: 83-50=33 Exploring Operation: 36+50=86, Resulting Numbers: [83, 86] Generated Node #0,2,2: 80:[83, 86] Operation: 36+50=86 Exploring Operation: 50-36=14, Resulting Numbers: [83, 14] Generated Node #0,2,3: 80:[83, 14] Operation: 50-36=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[83, 14], Operations: ['79-29=50', '50-36=14'] Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,80 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[83, 86], Operations: ['79-29=50', '36+50=86'] Exploring Operation: 83+86=169, Resulting Numbers: [169] 169,80 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 83*86=7138, Resulting Numbers: [7138] 7138,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[36, 33], Operations: ['79-29=50', '83-50=33'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,80 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[50, 47], Operations: ['79-29=50', '83-36=47'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 80:[4, 7], Operations: ['83-79=4', '36-29=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[83, 14], Operations: ['79-36=43', '43-29=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[29, 40], Operations: ['83-79=4', '36+4=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[29, 40], Operations: ['79-36=43', '83-43=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,80 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[36, 25], Operations: ['83-79=4', '29-4=25'] Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,80 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,80 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[29, 9], Operations: ['83-79=4', '36/4=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,80 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[83, 72], Operations: ['79-36=43', '29+43=72'] Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,80 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[43, 54], Operations: ['79-36=43', '83-29=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,80 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 65, 2, 72, 7 ]
28
[ "72-65=7", "7+7=14", "2*14=28" ]
Current State: 28:[65, 2, 72, 7], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [2, 7, 7] Generated Node #2: [2, 7, 7] from Operation: 72-65=7 Current State: 28:[2, 7, 7], Operations: ['72-65=7'] Exploring Operation: 7+7=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 7+7=14 Current State: 28:[2, 14], Operations: ['72-65=7', '7+7=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[65, 2, 72, 7], Operations: [] Exploring Operation: 65-7=58, Resulting Numbers: [2, 72, 58] Generated Node #0,0: 28:[2, 72, 58] Operation: 65-7=58 Exploring Operation: 72/2=36, Resulting Numbers: [65, 7, 36] Generated Node #0,1: 28:[65, 7, 36] Operation: 72/2=36 Exploring Operation: 65-2=63, Resulting Numbers: [72, 7, 63] Generated Node #0,2: 28:[72, 7, 63] Operation: 65-2=63 Exploring Operation: 72-65=7, Resulting Numbers: [2, 7, 7] Generated Node #0,3: 28:[2, 7, 7] Operation: 72-65=7 Exploring Operation: 72-7=65, Resulting Numbers: [65, 2, 65] Generated Node #0,4: 28:[65, 2, 65] Operation: 72-7=65 Moving to Node #0,3 Current State: 28:[2, 7, 7], Operations: ['72-65=7'] Exploring Operation: 2*7=14, Resulting Numbers: [7, 14] Generated Node #0,3,0: 28:[7, 14] Operation: 2*7=14 Exploring Operation: 7-2=5, Resulting Numbers: [7, 5] Generated Node #0,3,1: 28:[7, 5] Operation: 7-2=5 Exploring Operation: 7-2=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 28:[7, 5] Operation: 7-2=5 Exploring Operation: 2*7=14, Resulting Numbers: [7, 14] Generated Node #0,3,3: 28:[7, 14] Operation: 2*7=14 Exploring Operation: 7+7=14, Resulting Numbers: [2, 14] Generated Node #0,3,4: 28:[2, 14] Operation: 7+7=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[7, 14], Operations: ['72-65=7', '2*7=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,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,3 Current State: 28:[7, 14], Operations: ['72-65=7', '2*7=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,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,4 Current State: 28:[2, 14], Operations: ['72-65=7', '7+7=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[65, 2, 72, 7], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [2, 7, 7] Generated Node #0,3: 28:[2, 7, 7] Operation: 72-65=7 Moving to Node #0,3 Current State: 28:[2, 7, 7], Operations: ['72-65=7'] Exploring Operation: 7+7=14, Resulting Numbers: [2, 14] Generated Node #0,3,4: 28:[2, 14] Operation: 7+7=14 Moving to Node #0,3,4 Current State: 28:[2, 14], Operations: ['72-65=7', '7+7=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 43, 69, 57, 29 ]
26
[ "43+69=112", "57+29=86", "112-86=26" ]
Current State: 26:[43, 69, 57, 29], Operations: [] Exploring Operation: 43+69=112, Resulting Numbers: [57, 29, 112] Generated Node #2: [57, 29, 112] from Operation: 43+69=112 Current State: 26:[57, 29, 112], Operations: ['43+69=112'] Exploring Operation: 57+29=86, Resulting Numbers: [112, 86] Generated Node #3: [112, 86] from Operation: 57+29=86 Current State: 26:[112, 86], Operations: ['43+69=112', '57+29=86'] Exploring Operation: 112-86=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[43, 69, 57, 29], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [43, 57, 40] Generated Node #0,0: 26:[43, 57, 40] Operation: 69-29=40 Exploring Operation: 69-43=26, Resulting Numbers: [57, 29, 26] Generated Node #0,1: 26:[57, 29, 26] Operation: 69-43=26 Exploring Operation: 57-43=14, Resulting Numbers: [69, 29, 14] Generated Node #0,2: 26:[69, 29, 14] Operation: 57-43=14 Exploring Operation: 69-57=12, Resulting Numbers: [43, 29, 12] Generated Node #0,3: 26:[43, 29, 12] Operation: 69-57=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[43, 29, 12], Operations: ['69-57=12'] Exploring Operation: 43-12=31, Resulting Numbers: [29, 31] Generated Node #0,3,0: 26:[29, 31] Operation: 43-12=31 Exploring Operation: 43+12=55, Resulting Numbers: [29, 55] Generated Node #0,3,1: 26:[29, 55] Operation: 43+12=55 Exploring Operation: 29-12=17, Resulting Numbers: [43, 17] Generated Node #0,3,2: 26:[43, 17] Operation: 29-12=17 Exploring Operation: 43-29=14, Resulting Numbers: [12, 14] Generated Node #0,3,3: 26:[12, 14] Operation: 43-29=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[12, 14], Operations: ['69-57=12', '43-29=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[43, 69, 57, 29], Operations: [] Exploring Operation: 69-57=12, Resulting Numbers: [43, 29, 12] Generated Node #0,3: 26:[43, 29, 12] Operation: 69-57=12 Moving to Node #0,3 Current State: 26:[43, 29, 12], Operations: ['69-57=12'] Exploring Operation: 43-29=14, Resulting Numbers: [12, 14] Generated Node #0,3,3: 26:[12, 14] Operation: 43-29=14 Moving to Node #0,3,3 Current State: 26:[12, 14], Operations: ['69-57=12', '43-29=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 82, 10, 40, 45 ]
87
[ "82+10=92", "45-40=5", "92-5=87" ]
Current State: 87:[82, 10, 40, 45], Operations: [] Exploring Operation: 82+10=92, Resulting Numbers: [40, 45, 92] Generated Node #2: [40, 45, 92] from Operation: 82+10=92 Current State: 87:[40, 45, 92], Operations: ['82+10=92'] Exploring Operation: 45-40=5, Resulting Numbers: [92, 5] Generated Node #3: [92, 5] from Operation: 45-40=5 Current State: 87:[92, 5], Operations: ['82+10=92', '45-40=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[82, 10, 40, 45], Operations: [] Exploring Operation: 40+45=85, Resulting Numbers: [82, 10, 85] Generated Node #0,0: 87:[82, 10, 85] Operation: 40+45=85 Moving to Node #0,0 Current State: 87:[82, 10, 85], Operations: ['40+45=85'] Exploring Operation: 82+10=92, Resulting Numbers: [85, 92] Generated Node #0,0,0: 87:[85, 92] Operation: 82+10=92 Moving to Node #0,0,0 Current State: 87:[85, 92], Operations: ['40+45=85', '82+10=92'] Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 5, 66, 9 ]
100
[ "30-5=25", "66+9=75", "25+75=100" ]
Current State: 100:[30, 5, 66, 9], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [66, 9, 25] Generated Node #2: [66, 9, 25] from Operation: 30-5=25 Current State: 100:[66, 9, 25], Operations: ['30-5=25'] Exploring Operation: 66+9=75, Resulting Numbers: [25, 75] Generated Node #3: [25, 75] from Operation: 66+9=75 Current State: 100:[25, 75], Operations: ['30-5=25', '66+9=75'] Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[30, 5, 66, 9], Operations: [] Exploring Operation: 30+66=96, Resulting Numbers: [5, 9, 96] Generated Node #0,0: 100:[5, 9, 96] Operation: 30+66=96 Exploring Operation: 66-9=57, Resulting Numbers: [30, 5, 57] Generated Node #0,1: 100:[30, 5, 57] Operation: 66-9=57 Exploring Operation: 66-30=36, Resulting Numbers: [5, 9, 36] Generated Node #0,2: 100:[5, 9, 36] Operation: 66-30=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[5, 9, 96], Operations: ['30+66=96'] Exploring Operation: 9+96=105, Resulting Numbers: [5, 105] Generated Node #0,0,0: 100:[5, 105] Operation: 9+96=105 Exploring Operation: 5+96=101, Resulting Numbers: [9, 101] Generated Node #0,0,1: 100:[9, 101] Operation: 5+96=101 Exploring Operation: 9-5=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 100:[96, 4] Operation: 9-5=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[9, 101], Operations: ['30+66=96', '5+96=101'] Exploring Operation: 9+101=110, Resulting Numbers: [110] 110,100 unequal: No Solution Exploring Operation: 101-9=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 9*101=909, Resulting Numbers: [909] 909,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:[96, 4], Operations: ['30+66=96', '9-5=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[30, 5, 66, 9], Operations: [] Exploring Operation: 30+66=96, Resulting Numbers: [5, 9, 96] Generated Node #0,0: 100:[5, 9, 96] Operation: 30+66=96 Moving to Node #0,0 Current State: 100:[5, 9, 96], Operations: ['30+66=96'] Exploring Operation: 9-5=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 100:[96, 4] Operation: 9-5=4 Moving to Node #0,0,2 Current State: 100:[96, 4], Operations: ['30+66=96', '9-5=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 43, 88, 67, 22 ]
83
[ "43+67=110", "110/22=5", "88-5=83" ]
Current State: 83:[43, 88, 67, 22], Operations: [] Exploring Operation: 43+67=110, Resulting Numbers: [88, 22, 110] Generated Node #2: [88, 22, 110] from Operation: 43+67=110 Current State: 83:[88, 22, 110], Operations: ['43+67=110'] Exploring Operation: 110/22=5, Resulting Numbers: [88, 5] Generated Node #3: [88, 5] from Operation: 110/22=5 Current State: 83:[88, 5], Operations: ['43+67=110', '110/22=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[43, 88, 67, 22], Operations: [] Exploring Operation: 43+22=65, Resulting Numbers: [88, 67, 65] Generated Node #0,0: 83:[88, 67, 65] Operation: 43+22=65 Exploring Operation: 67+22=89, Resulting Numbers: [43, 88, 89] Generated Node #0,1: 83:[43, 88, 89] Operation: 67+22=89 Exploring Operation: 88-22=66, Resulting Numbers: [43, 67, 66] Generated Node #0,2: 83:[43, 67, 66] Operation: 88-22=66 Exploring Operation: 43-22=21, Resulting Numbers: [88, 67, 21] Generated Node #0,3: 83:[88, 67, 21] Operation: 43-22=21 Moving to Node #0,0 Current State: 83:[88, 67, 65], Operations: ['43+22=65'] Exploring Operation: 88-65=23, Resulting Numbers: [67, 23] Generated Node #0,0,0: 83:[67, 23] Operation: 88-65=23 Exploring Operation: 67+65=132, Resulting Numbers: [88, 132] Generated Node #0,0,1: 83:[88, 132] Operation: 67+65=132 Exploring Operation: 88-67=21, Resulting Numbers: [65, 21] Generated Node #0,0,2: 83:[65, 21] Operation: 88-67=21 Exploring Operation: 88+65=153, Resulting Numbers: [67, 153] Generated Node #0,0,3: 83:[67, 153] Operation: 88+65=153 Moving to Node #0,1 Current State: 83:[43, 88, 89], Operations: ['67+22=89'] Exploring Operation: 88-43=45, Resulting Numbers: [89, 45] Generated Node #0,1,0: 83:[89, 45] Operation: 88-43=45 Exploring Operation: 43+89=132, Resulting Numbers: [88, 132] Generated Node #0,1,1: 83:[88, 132] Operation: 43+89=132 Exploring Operation: 89-43=46, Resulting Numbers: [88, 46] Generated Node #0,1,2: 83:[88, 46] Operation: 89-43=46 Exploring Operation: 43+88=131, Resulting Numbers: [89, 131] Generated Node #0,1,3: 83:[89, 131] Operation: 43+88=131 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[88, 46], Operations: ['67+22=89', '89-43=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,83 unequal: No Solution Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,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,1,0 Current State: 83:[89, 45], Operations: ['67+22=89', '88-43=45'] Exploring Operation: 89+45=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 89*45=4005, Resulting Numbers: [4005] 4005,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,1,1 Current State: 83:[88, 132], Operations: ['67+22=89', '43+89=132'] Exploring Operation: 88*132=11616, Resulting Numbers: [11616] 11616,83 unequal: No Solution Exploring Operation: 132-88=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 88+132=220, Resulting Numbers: [220] 220,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,1,3 Current State: 83:[89, 131], Operations: ['67+22=89', '43+88=131'] Exploring Operation: 89*131=11659, Resulting Numbers: [11659] 11659,83 unequal: No Solution Exploring Operation: 131-89=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 89+131=220, Resulting Numbers: [220] 220,83 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: 83:[43, 67, 66], Operations: ['88-22=66'] Exploring Operation: 43+66=109, Resulting Numbers: [67, 109] Generated Node #0,2,0: 83:[67, 109] Operation: 43+66=109 Exploring Operation: 67-43=24, Resulting Numbers: [66, 24] Generated Node #0,2,1: 83:[66, 24] Operation: 67-43=24 Exploring Operation: 43+67=110, Resulting Numbers: [66, 110] Generated Node #0,2,2: 83:[66, 110] Operation: 43+67=110 Exploring Operation: 66-43=23, Resulting Numbers: [67, 23] Generated Node #0,2,3: 83:[67, 23] Operation: 66-43=23 Moving to Node #0,3 Current State: 83:[88, 67, 21], Operations: ['43-22=21'] Exploring Operation: 88+21=109, Resulting Numbers: [67, 109] Generated Node #0,3,0: 83:[67, 109] Operation: 88+21=109 Exploring Operation: 67-21=46, Resulting Numbers: [88, 46] Generated Node #0,3,1: 83:[88, 46] Operation: 67-21=46 Exploring Operation: 88-21=67, Resulting Numbers: [67, 67] Generated Node #0,3,2: 83:[67, 67] Operation: 88-21=67 Exploring Operation: 67+21=88, Resulting Numbers: [88, 88] Generated Node #0,3,3: 83:[88, 88] Operation: 67+21=88 Moving to Node #0,3,3 Current State: 83:[88, 88], Operations: ['43-22=21', '67+21=88'] Exploring Operation: 88*88=7744, Resulting Numbers: [7744] 7744,83 unequal: No Solution Exploring Operation: 88/88=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 88-88=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 88+88=176, Resulting Numbers: [176] 176,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[67, 67], Operations: ['43-22=21', '88-21=67'] Exploring Operation: 67+67=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 67-67=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 67*67=4489, Resulting Numbers: [4489] 4489,83 unequal: No Solution Exploring Operation: 67/67=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[88, 46], Operations: ['43-22=21', '67-21=46'] Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,83 unequal: No Solution Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[67, 109], Operations: ['88-22=66', '43+66=109'] Exploring Operation: 67*109=7303, Resulting Numbers: [7303] 7303,83 unequal: No Solution Exploring Operation: 67+109=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 109-67=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[67, 109], Operations: ['43-22=21', '88+21=109'] Exploring Operation: 67*109=7303, Resulting Numbers: [7303] 7303,83 unequal: No Solution Exploring Operation: 67+109=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 109-67=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[66, 110], Operations: ['88-22=66', '43+67=110'] Exploring Operation: 66*110=7260, Resulting Numbers: [7260] 7260,83 unequal: No Solution Exploring Operation: 110-66=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 66+110=176, Resulting Numbers: [176] 176,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[88, 132], Operations: ['43+22=65', '67+65=132'] Exploring Operation: 88+132=220, Resulting Numbers: [220] 220,83 unequal: No Solution Exploring Operation: 88*132=11616, Resulting Numbers: [11616] 11616,83 unequal: No Solution Exploring Operation: 132-88=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[66, 24], Operations: ['88-22=66', '67-43=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,83 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[67, 23], Operations: ['43+22=65', '88-65=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,83 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[67, 23], Operations: ['88-22=66', '66-43=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,83 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[65, 21], Operations: ['43+22=65', '88-67=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,83 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[67, 153], Operations: ['43+22=65', '88+65=153'] Exploring Operation: 153-67=86, Resulting Numbers: [86] 86,83 unequal: No Solution Exploring Operation: 67+153=220, Resulting Numbers: [220] 220,83 unequal: No Solution Exploring Operation: 67*153=10251, Resulting Numbers: [10251] 10251,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 3, 94, 80 ]
31
[ "94-57=37", "3*37=111", "111-80=31" ]
Current State: 31:[57, 3, 94, 80], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [3, 80, 37] Generated Node #2: [3, 80, 37] from Operation: 94-57=37 Current State: 31:[3, 80, 37], Operations: ['94-57=37'] Exploring Operation: 3*37=111, Resulting Numbers: [80, 111] Generated Node #3: [80, 111] from Operation: 3*37=111 Current State: 31:[80, 111], Operations: ['94-57=37', '3*37=111'] Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 3, 94, 80], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [57, 3, 14] Generated Node #0,0: 31:[57, 3, 14] Operation: 94-80=14 Exploring Operation: 94-57=37, Resulting Numbers: [3, 80, 37] Generated Node #0,1: 31:[3, 80, 37] Operation: 94-57=37 Exploring Operation: 57/3=19, Resulting Numbers: [94, 80, 19] Generated Node #0,2: 31:[94, 80, 19] Operation: 57/3=19 Exploring Operation: 80-57=23, Resulting Numbers: [3, 94, 23] Generated Node #0,3: 31:[3, 94, 23] Operation: 80-57=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[57, 3, 14], Operations: ['94-80=14'] Exploring Operation: 3*14=42, Resulting Numbers: [57, 42] Generated Node #0,0,0: 31:[57, 42] Operation: 3*14=42 Exploring Operation: 57-3=54, Resulting Numbers: [14, 54] Generated Node #0,0,1: 31:[14, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [14, 19] Generated Node #0,0,2: 31:[14, 19] Operation: 57/3=19 Exploring Operation: 57-14=43, Resulting Numbers: [3, 43] Generated Node #0,0,3: 31:[3, 43] Operation: 57-14=43 Moving to Node #0,0,2 Current State: 31:[14, 19], Operations: ['94-80=14', '57/3=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,31 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[57, 42], Operations: ['94-80=14', '3*14=42'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,31 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[3, 43], Operations: ['94-80=14', '57-14=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,31 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[14, 54], Operations: ['94-80=14', '57-3=54'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,31 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[3, 80, 37], Operations: ['94-57=37'] Exploring Operation: 3+80=83, Resulting Numbers: [37, 83] Generated Node #0,1,0: 31:[37, 83] Operation: 3+80=83 Exploring Operation: 80-3=77, Resulting Numbers: [37, 77] Generated Node #0,1,1: 31:[37, 77] Operation: 80-3=77 Exploring Operation: 37-3=34, Resulting Numbers: [80, 34] Generated Node #0,1,2: 31:[80, 34] Operation: 37-3=34 Exploring Operation: 80-37=43, Resulting Numbers: [3, 43] Generated Node #0,1,3: 31:[3, 43] Operation: 80-37=43 Moving to Node #0,1,3 Current State: 31:[3, 43], Operations: ['94-57=37', '80-37=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,31 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[80, 34], Operations: ['94-57=37', '37-3=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,31 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[37, 77], Operations: ['94-57=37', '80-3=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,31 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[37, 83], Operations: ['94-57=37', '3+80=83'] Exploring Operation: 83-37=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 37+83=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 37*83=3071, Resulting Numbers: [3071] 3071,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 Current State: 31:[3, 94, 23], Operations: ['80-57=23'] Exploring Operation: 3+23=26, Resulting Numbers: [94, 26] Generated Node #0,3,0: 31:[94, 26] Operation: 3+23=26 Exploring Operation: 3+94=97, Resulting Numbers: [23, 97] Generated Node #0,3,1: 31:[23, 97] Operation: 3+94=97 Exploring Operation: 94-3=91, Resulting Numbers: [23, 91] Generated Node #0,3,2: 31:[23, 91] Operation: 94-3=91 Exploring Operation: 94-23=71, Resulting Numbers: [3, 71] Generated Node #0,3,3: 31:[3, 71] Operation: 94-23=71 Moving to Node #0,3,0 Current State: 31:[94, 26], Operations: ['80-57=23', '3+23=26'] Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 94+26=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 94*26=2444, Resulting Numbers: [2444] 2444,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[3, 71], Operations: ['80-57=23', '94-23=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,31 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[23, 91], Operations: ['80-57=23', '94-3=91'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,31 unequal: No Solution Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[23, 97], Operations: ['80-57=23', '3+94=97'] Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,31 unequal: No Solution Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,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 Current State: 31:[94, 80, 19], Operations: ['57/3=19'] Exploring Operation: 94+19=113, Resulting Numbers: [80, 113] Generated Node #0,2,0: 31:[80, 113] Operation: 94+19=113 Exploring Operation: 94-80=14, Resulting Numbers: [19, 14] Generated Node #0,2,1: 31:[19, 14] Operation: 94-80=14 Exploring Operation: 80-19=61, Resulting Numbers: [94, 61] Generated Node #0,2,2: 31:[94, 61] Operation: 80-19=61 Exploring Operation: 94-19=75, Resulting Numbers: [80, 75] Generated Node #0,2,3: 31:[80, 75] Operation: 94-19=75 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[19, 14], Operations: ['57/3=19', '94-80=14'] Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,31 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,31 unequal: No Solution No 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: 31:[94, 61], Operations: ['57/3=19', '80-19=61'] Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 94+61=155, Resulting Numbers: [155] 155,31 unequal: No Solution Exploring Operation: 94*61=5734, Resulting Numbers: [5734] 5734,31 unequal: No Solution No 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: 31:[80, 75], Operations: ['57/3=19', '94-19=75'] Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 80*75=6000, Resulting Numbers: [6000] 6000,31 unequal: No Solution Exploring Operation: 80+75=155, Resulting Numbers: [155] 155,31 unequal: No Solution No 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: 31:[80, 113], Operations: ['57/3=19', '94+19=113'] Exploring Operation: 80*113=9040, Resulting Numbers: [9040] 9040,31 unequal: No Solution Exploring Operation: 80+113=193, Resulting Numbers: [193] 193,31 unequal: No Solution Exploring Operation: 113-80=33, Resulting Numbers: [33] 33,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 22, 20, 8, 47 ]
64
[ "22*20=440", "8*47=376", "440-376=64" ]
Current State: 64:[22, 20, 8, 47], Operations: [] Exploring Operation: 22*20=440, Resulting Numbers: [8, 47, 440] Generated Node #2: [8, 47, 440] from Operation: 22*20=440 Current State: 64:[8, 47, 440], Operations: ['22*20=440'] Exploring Operation: 8*47=376, Resulting Numbers: [440, 376] Generated Node #3: [440, 376] from Operation: 8*47=376 Current State: 64:[440, 376], Operations: ['22*20=440', '8*47=376'] Exploring Operation: 440-376=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[22, 20, 8, 47], Operations: [] Exploring Operation: 22+47=69, Resulting Numbers: [20, 8, 69] Generated Node #0,0: 64:[20, 8, 69] Operation: 22+47=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[20, 8, 69], Operations: ['22+47=69'] Exploring Operation: 69-8=61, Resulting Numbers: [20, 61] Generated Node #0,0,0: 64:[20, 61] Operation: 69-8=61 Moving to Node #0,0,0 Current State: 64:[20, 61], Operations: ['22+47=69', '69-8=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,64 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
[ 8, 59, 4, 11 ]
36
[ "59-8=51", "4+11=15", "51-15=36" ]
Current State: 36:[8, 59, 4, 11], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [4, 11, 51] Generated Node #2: [4, 11, 51] from Operation: 59-8=51 Current State: 36:[4, 11, 51], Operations: ['59-8=51'] Exploring Operation: 4+11=15, Resulting Numbers: [51, 15] Generated Node #3: [51, 15] from Operation: 4+11=15 Current State: 36:[51, 15], Operations: ['59-8=51', '4+11=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[8, 59, 4, 11], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [8, 4, 48] Generated Node #0,0: 36:[8, 4, 48] Operation: 59-11=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[8, 4, 48], Operations: ['59-11=48'] Exploring Operation: 48/8=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 36:[4, 6] Operation: 48/8=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[4, 6], Operations: ['59-11=48', '48/8=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,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
[ 39, 93, 16, 85 ]
63
[ "39+93=132", "85-16=69", "132-69=63" ]
Current State: 63:[39, 93, 16, 85], Operations: [] Exploring Operation: 39+93=132, Resulting Numbers: [16, 85, 132] Generated Node #2: [16, 85, 132] from Operation: 39+93=132 Current State: 63:[16, 85, 132], Operations: ['39+93=132'] Exploring Operation: 85-16=69, Resulting Numbers: [132, 69] Generated Node #3: [132, 69] from Operation: 85-16=69 Current State: 63:[132, 69], Operations: ['39+93=132', '85-16=69'] Exploring Operation: 132-69=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[39, 93, 16, 85], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [39, 85, 77] Generated Node #0,0: 63:[39, 85, 77] Operation: 93-16=77 Exploring Operation: 39-16=23, Resulting Numbers: [93, 85, 23] Generated Node #0,1: 63:[93, 85, 23] Operation: 39-16=23 Exploring Operation: 93-39=54, Resulting Numbers: [16, 85, 54] Generated Node #0,2: 63:[16, 85, 54] Operation: 93-39=54 Exploring Operation: 85-39=46, Resulting Numbers: [93, 16, 46] Generated Node #0,3: 63:[93, 16, 46] Operation: 85-39=46 Exploring Operation: 93-85=8, Resulting Numbers: [39, 16, 8] Generated Node #0,4: 63:[39, 16, 8] Operation: 93-85=8 Moving to Node #0,4 Current State: 63:[39, 16, 8], Operations: ['93-85=8'] Exploring Operation: 39-8=31, Resulting Numbers: [16, 31] Generated Node #0,4,0: 63:[16, 31] Operation: 39-8=31 Exploring Operation: 16-8=8, Resulting Numbers: [39, 8] Generated Node #0,4,1: 63:[39, 8] Operation: 16-8=8 Exploring Operation: 39-16=23, Resulting Numbers: [8, 23] Generated Node #0,4,2: 63:[8, 23] Operation: 39-16=23 Exploring Operation: 39+16=55, Resulting Numbers: [8, 55] Generated Node #0,4,3: 63:[8, 55] Operation: 39+16=55 Exploring Operation: 16/8=2, Resulting Numbers: [39, 2] Generated Node #0,4,4: 63:[39, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 63:[8, 23], Operations: ['93-85=8', '39-16=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,63 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,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,4,3 Current State: 63:[8, 55], Operations: ['93-85=8', '39+16=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,63 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[39, 93, 16, 85], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [39, 16, 8] Generated Node #0,4: 63:[39, 16, 8] Operation: 93-85=8 Moving to Node #0,4 Current State: 63:[39, 16, 8], Operations: ['93-85=8'] Exploring Operation: 39+16=55, Resulting Numbers: [8, 55] Generated Node #0,4,3: 63:[8, 55] Operation: 39+16=55 Moving to Node #0,4,3 Current State: 63:[8, 55], Operations: ['93-85=8', '39+16=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 5, 96, 5, 82 ]
11
[ "5*5=25", "96-82=14", "25-14=11" ]
Current State: 11:[5, 96, 5, 82], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [96, 82, 25] Generated Node #2: [96, 82, 25] from Operation: 5*5=25 Current State: 11:[96, 82, 25], Operations: ['5*5=25'] Exploring Operation: 96-82=14, Resulting Numbers: [25, 14] Generated Node #3: [25, 14] from Operation: 96-82=14 Current State: 11:[25, 14], Operations: ['5*5=25', '96-82=14'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[5, 96, 5, 82], Operations: [] Exploring Operation: 96-82=14, Resulting Numbers: [5, 5, 14] Generated Node #0,0: 11:[5, 5, 14] Operation: 96-82=14 Exploring Operation: 96-5=91, Resulting Numbers: [5, 82, 91] Generated Node #0,1: 11:[5, 82, 91] Operation: 96-5=91 Exploring Operation: 82-5=77, Resulting Numbers: [96, 5, 77] Generated Node #0,2: 11:[96, 5, 77] Operation: 82-5=77 Exploring Operation: 5+5=10, Resulting Numbers: [96, 82, 10] Generated Node #0,3: 11:[96, 82, 10] Operation: 5+5=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[5, 5, 14], Operations: ['96-82=14'] Exploring Operation: 5/5=1, Resulting Numbers: [14, 1] Generated Node #0,0,0: 11:[14, 1] Operation: 5/5=1 Exploring Operation: 5+5=10, Resulting Numbers: [14, 10] Generated Node #0,0,1: 11:[14, 10] Operation: 5+5=10 Exploring Operation: 14-5=9, Resulting Numbers: [5, 9] Generated Node #0,0,2: 11:[5, 9] Operation: 14-5=9 Exploring Operation: 14-5=9, Resulting Numbers: [5, 9] Generated Node #0,0,3: 11:[5, 9] Operation: 14-5=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[14, 10], Operations: ['96-82=14', '5+5=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[5, 9], Operations: ['96-82=14', '14-5=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 11:[5, 9], Operations: ['96-82=14', '14-5=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[14, 1], Operations: ['96-82=14', '5/5=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[5, 82, 91], Operations: ['96-5=91'] Exploring Operation: 82-5=77, Resulting Numbers: [91, 77] Generated Node #0,1,0: 11:[91, 77] Operation: 82-5=77 Exploring Operation: 91-82=9, Resulting Numbers: [5, 9] Generated Node #0,1,1: 11:[5, 9] Operation: 91-82=9 Exploring Operation: 91-5=86, Resulting Numbers: [82, 86] Generated Node #0,1,2: 11:[82, 86] Operation: 91-5=86 Exploring Operation: 5+82=87, Resulting Numbers: [91, 87] Generated Node #0,1,3: 11:[91, 87] Operation: 5+82=87 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[5, 9], Operations: ['96-5=91', '91-82=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[91, 77], Operations: ['96-5=91', '82-5=77'] Exploring Operation: 91*77=7007, Resulting Numbers: [7007] 7007,11 unequal: No Solution Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 91+77=168, Resulting Numbers: [168] 168,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[82, 86], Operations: ['96-5=91', '91-5=86'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[91, 87], Operations: ['96-5=91', '5+82=87'] Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,11 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[96, 5, 77], Operations: ['82-5=77'] Exploring Operation: 96-5=91, Resulting Numbers: [77, 91] Generated Node #0,2,0: 11:[77, 91] Operation: 96-5=91 Exploring Operation: 96+5=101, Resulting Numbers: [77, 101] Generated Node #0,2,1: 11:[77, 101] Operation: 96+5=101 Exploring Operation: 96-77=19, Resulting Numbers: [5, 19] Generated Node #0,2,2: 11:[5, 19] Operation: 96-77=19 Exploring Operation: 77-5=72, Resulting Numbers: [96, 72] Generated Node #0,2,3: 11:[96, 72] Operation: 77-5=72 Moving to Node #0,2,2 Current State: 11:[5, 19], Operations: ['82-5=77', '96-77=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[96, 72], Operations: ['82-5=77', '77-5=72'] Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,11 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[77, 91], Operations: ['82-5=77', '96-5=91'] Exploring Operation: 77*91=7007, Resulting Numbers: [7007] 7007,11 unequal: No Solution Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 77+91=168, Resulting Numbers: [168] 168,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[77, 101], Operations: ['82-5=77', '96+5=101'] Exploring Operation: 77+101=178, Resulting Numbers: [178] 178,11 unequal: No Solution Exploring Operation: 101-77=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 77*101=7777, Resulting Numbers: [7777] 7777,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[96, 82, 10], Operations: ['5+5=10'] Exploring Operation: 96-10=86, Resulting Numbers: [82, 86] Generated Node #0,3,0: 11:[82, 86] Operation: 96-10=86 Exploring Operation: 96+10=106, Resulting Numbers: [82, 106] Generated Node #0,3,1: 11:[82, 106] Operation: 96+10=106 Exploring Operation: 82-10=72, Resulting Numbers: [96, 72] Generated Node #0,3,2: 11:[96, 72] Operation: 82-10=72 Exploring Operation: 96-82=14, Resulting Numbers: [10, 14] Generated Node #0,3,3: 11:[10, 14] Operation: 96-82=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 11:[10, 14], Operations: ['5+5=10', '96-82=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 11:[82, 86], Operations: ['5+5=10', '96-10=86'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 11:[96, 72], Operations: ['5+5=10', '82-10=72'] Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,11 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 11:[82, 106], Operations: ['5+5=10', '96+10=106'] Exploring Operation: 82+106=188, Resulting Numbers: [188] 188,11 unequal: No Solution Exploring Operation: 106-82=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 82*106=8692, Resulting Numbers: [8692] 8692,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 28, 20, 70, 60 ]
33
[ "28*70=1960", "20+1960=1980", "1980/60=33" ]
Current State: 33:[28, 20, 70, 60], Operations: [] Exploring Operation: 28*70=1960, Resulting Numbers: [20, 60, 1960] Generated Node #2: [20, 60, 1960] from Operation: 28*70=1960 Current State: 33:[20, 60, 1960], Operations: ['28*70=1960'] Exploring Operation: 20+1960=1980, Resulting Numbers: [60, 1980] Generated Node #3: [60, 1980] from Operation: 20+1960=1980 Current State: 33:[60, 1980], Operations: ['28*70=1960', '20+1960=1980'] Exploring Operation: 1980/60=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[28, 20, 70, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [28, 20, 10] Generated Node #0,0: 33:[28, 20, 10] Operation: 70-60=10 Moving to Node #0,0 Current State: 33:[28, 20, 10], Operations: ['70-60=10'] Exploring Operation: 28-20=8, Resulting Numbers: [10, 8] Generated Node #0,0,0: 33:[10, 8] Operation: 28-20=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[10, 8], Operations: ['70-60=10', '28-20=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,33 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, 48, 83, 61 ]
22
[ "49-48=1", "83-61=22", "1*22=22" ]
Current State: 22:[49, 48, 83, 61], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [83, 61, 1] Generated Node #2: [83, 61, 1] from Operation: 49-48=1 Current State: 22:[83, 61, 1], Operations: ['49-48=1'] Exploring Operation: 83-61=22, Resulting Numbers: [1, 22] Generated Node #3: [1, 22] from Operation: 83-61=22 Current State: 22:[1, 22], Operations: ['49-48=1', '83-61=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[49, 48, 83, 61], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [49, 48, 22] Generated Node #0,0: 22:[49, 48, 22] Operation: 83-61=22 Exploring Operation: 83-49=34, Resulting Numbers: [48, 61, 34] Generated Node #0,1: 22:[48, 61, 34] Operation: 83-49=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[49, 48, 22], Operations: ['83-61=22'] Exploring Operation: 49-22=27, Resulting Numbers: [48, 27] Generated Node #0,0,0: 22:[48, 27] Operation: 49-22=27 Exploring Operation: 49-48=1, Resulting Numbers: [22, 1] Generated Node #0,0,1: 22:[22, 1] Operation: 49-48=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[22, 1], Operations: ['83-61=22', '49-48=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[49, 48, 83, 61], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [49, 48, 22] Generated Node #0,0: 22:[49, 48, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 22:[49, 48, 22], Operations: ['83-61=22'] Exploring Operation: 49-48=1, Resulting Numbers: [22, 1] Generated Node #0,0,1: 22:[22, 1] Operation: 49-48=1 Moving to Node #0,0,1 Current State: 22:[22, 1], Operations: ['83-61=22', '49-48=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 36, 68, 34, 4 ]
20
[ "36+4=40", "68/34=2", "40/2=20" ]
Current State: 20:[36, 68, 34, 4], Operations: [] Exploring Operation: 36+4=40, Resulting Numbers: [68, 34, 40] Generated Node #2: [68, 34, 40] from Operation: 36+4=40 Current State: 20:[68, 34, 40], Operations: ['36+4=40'] Exploring Operation: 68/34=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 68/34=2 Current State: 20:[40, 2], Operations: ['36+4=40', '68/34=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[36, 68, 34, 4], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [36, 34, 17] Generated Node #0,0: 20:[36, 34, 17] Operation: 68/4=17 Exploring Operation: 68/34=2, Resulting Numbers: [36, 4, 2] Generated Node #0,1: 20:[36, 4, 2] Operation: 68/34=2 Exploring Operation: 68-36=32, Resulting Numbers: [34, 4, 32] Generated Node #0,2: 20:[34, 4, 32] Operation: 68-36=32 Exploring Operation: 68-34=34, Resulting Numbers: [36, 4, 34] Generated Node #0,3: 20:[36, 4, 34] Operation: 68-34=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[36, 4, 2], Operations: ['68/34=2'] Exploring Operation: 36-4=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 20:[2, 32] Operation: 36-4=32 Exploring Operation: 36/2=18, Resulting Numbers: [4, 18] Generated Node #0,1,1: 20:[4, 18] Operation: 36/2=18 Exploring Operation: 36/4=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 20:[2, 9] Operation: 36/4=9 Exploring Operation: 36-2=34, Resulting Numbers: [4, 34] Generated Node #0,1,3: 20:[4, 34] Operation: 36-2=34 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[2, 9], Operations: ['68/34=2', '36/4=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[4, 18], Operations: ['68/34=2', '36/2=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[2, 32], Operations: ['68/34=2', '36-4=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[4, 34], Operations: ['68/34=2', '36-2=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[34, 4, 32], Operations: ['68-36=32'] Exploring Operation: 32/4=8, Resulting Numbers: [34, 8] Generated Node #0,2,0: 20:[34, 8] Operation: 32/4=8 Exploring Operation: 34-32=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 20:[4, 2] Operation: 34-32=2 Exploring Operation: 32-4=28, Resulting Numbers: [34, 28] Generated Node #0,2,2: 20:[34, 28] Operation: 32-4=28 Exploring Operation: 34-4=30, Resulting Numbers: [32, 30] Generated Node #0,2,3: 20:[32, 30] Operation: 34-4=30 Moving to Node #0,2,1 Current State: 20:[4, 2], Operations: ['68-36=32', '34-32=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[34, 8], Operations: ['68-36=32', '32/4=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[32, 30], Operations: ['68-36=32', '34-4=30'] Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,20 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[34, 28], Operations: ['68-36=32', '32-4=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,20 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[36, 4, 34], Operations: ['68-34=34'] Exploring Operation: 36-4=32, Resulting Numbers: [34, 32] Generated Node #0,3,0: 20:[34, 32] Operation: 36-4=32 Exploring Operation: 34-4=30, Resulting Numbers: [36, 30] Generated Node #0,3,1: 20:[36, 30] Operation: 34-4=30 Exploring Operation: 36-34=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 20:[4, 2] Operation: 36-34=2 Exploring Operation: 36/4=9, Resulting Numbers: [34, 9] Generated Node #0,3,3: 20:[34, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[4, 2], Operations: ['68-34=34', '36-34=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[34, 9], Operations: ['68-34=34', '36/4=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,20 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[34, 32], Operations: ['68-34=34', '36-4=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,20 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[36, 30], Operations: ['68-34=34', '34-4=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,20 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[36, 34, 17], Operations: ['68/4=17'] Exploring Operation: 36-17=19, Resulting Numbers: [34, 19] Generated Node #0,0,0: 20:[34, 19] Operation: 36-17=19 Exploring Operation: 34/17=2, Resulting Numbers: [36, 2] Generated Node #0,0,1: 20:[36, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [36, 17] Generated Node #0,0,2: 20:[36, 17] Operation: 34-17=17 Exploring Operation: 36-34=2, Resulting Numbers: [17, 2] Generated Node #0,0,3: 20:[17, 2] Operation: 36-34=2 Moving to Node #0,0,3 Current State: 20:[17, 2], Operations: ['68/4=17', '36-34=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[34, 19], Operations: ['68/4=17', '36-17=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,20 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[36, 2], Operations: ['68/4=17', '34/17=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,20 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[36, 17], Operations: ['68/4=17', '34-17=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,20 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,20 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
[ 74, 33, 25, 79 ]
53
[ "74+33=107", "79-25=54", "107-54=53" ]
Current State: 53:[74, 33, 25, 79], Operations: [] Exploring Operation: 74+33=107, Resulting Numbers: [25, 79, 107] Generated Node #2: [25, 79, 107] from Operation: 74+33=107 Current State: 53:[25, 79, 107], Operations: ['74+33=107'] Exploring Operation: 79-25=54, Resulting Numbers: [107, 54] Generated Node #3: [107, 54] from Operation: 79-25=54 Current State: 53:[107, 54], Operations: ['74+33=107', '79-25=54'] Exploring Operation: 107-54=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[74, 33, 25, 79], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [74, 33, 54] Generated Node #0,0: 53:[74, 33, 54] Operation: 79-25=54 Moving to Node #0,0 Current State: 53:[74, 33, 54], Operations: ['79-25=54'] Exploring Operation: 74-33=41, Resulting Numbers: [54, 41] Generated Node #0,0,0: 53:[54, 41] Operation: 74-33=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[54, 41], Operations: ['79-25=54', '74-33=41'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,53 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
[ 92, 30, 70, 91 ]
41
[ "92-30=62", "91-70=21", "62-21=41" ]
Current State: 41:[92, 30, 70, 91], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [70, 91, 62] Generated Node #2: [70, 91, 62] from Operation: 92-30=62 Current State: 41:[70, 91, 62], Operations: ['92-30=62'] Exploring Operation: 91-70=21, Resulting Numbers: [62, 21] Generated Node #3: [62, 21] from Operation: 91-70=21 Current State: 41:[62, 21], Operations: ['92-30=62', '91-70=21'] Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[92, 30, 70, 91], Operations: [] Exploring Operation: 91-70=21, Resulting Numbers: [92, 30, 21] Generated Node #0,0: 41:[92, 30, 21] Operation: 91-70=21 Exploring Operation: 92-91=1, Resulting Numbers: [30, 70, 1] Generated Node #0,1: 41:[30, 70, 1] Operation: 92-91=1 Exploring Operation: 92-70=22, Resulting Numbers: [30, 91, 22] Generated Node #0,2: 41:[30, 91, 22] Operation: 92-70=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[30, 70, 1], Operations: ['92-91=1'] Exploring Operation: 30+1=31, Resulting Numbers: [70, 31] Generated Node #0,1,0: 41:[70, 31] Operation: 30+1=31 Exploring Operation: 30*1=30, Resulting Numbers: [70, 30] Generated Node #0,1,1: 41:[70, 30] Operation: 30*1=30 Exploring Operation: 70-1=69, Resulting Numbers: [30, 69] Generated Node #0,1,2: 41:[30, 69] Operation: 70-1=69 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[70, 31], Operations: ['92-91=1', '30+1=31'] Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,41 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,41 unequal: No Solution No 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: 41:[30, 69], Operations: ['92-91=1', '70-1=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,41 unequal: No Solution No 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: 41:[70, 30], Operations: ['92-91=1', '30*1=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[30, 91, 22], Operations: ['92-70=22'] Exploring Operation: 30+22=52, Resulting Numbers: [91, 52] Generated Node #0,2,0: 41:[91, 52] Operation: 30+22=52 Exploring Operation: 91-22=69, Resulting Numbers: [30, 69] Generated Node #0,2,1: 41:[30, 69] Operation: 91-22=69 Exploring Operation: 91-30=61, Resulting Numbers: [22, 61] Generated Node #0,2,2: 41:[22, 61] Operation: 91-30=61 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[30, 69], Operations: ['92-70=22', '91-22=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,41 unequal: No Solution No 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: 41:[22, 61], Operations: ['92-70=22', '91-30=61'] Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,41 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,41 unequal: No Solution No 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: 41:[91, 52], Operations: ['92-70=22', '30+22=52'] Exploring Operation: 91*52=4732, Resulting Numbers: [4732] 4732,41 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 91+52=143, Resulting Numbers: [143] 143,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[92, 30, 21], Operations: ['91-70=21'] Exploring Operation: 30+21=51, Resulting Numbers: [92, 51] Generated Node #0,0,0: 41:[92, 51] Operation: 30+21=51 Exploring Operation: 92-21=71, Resulting Numbers: [30, 71] Generated Node #0,0,1: 41:[30, 71] Operation: 92-21=71 Exploring Operation: 92-30=62, Resulting Numbers: [21, 62] Generated Node #0,0,2: 41:[21, 62] Operation: 92-30=62 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[30, 71], Operations: ['91-70=21', '92-21=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[92, 30, 70, 91], Operations: [] Exploring Operation: 91-70=21, Resulting Numbers: [92, 30, 21] Generated Node #0,0: 41:[92, 30, 21] Operation: 91-70=21 Moving to Node #0,0 Current State: 41:[92, 30, 21], Operations: ['91-70=21'] Exploring Operation: 92-21=71, Resulting Numbers: [30, 71] Generated Node #0,0,1: 41:[30, 71] Operation: 92-21=71 Moving to Node #0,0,1 Current State: 41:[30, 71], Operations: ['91-70=21', '92-21=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 15, 37, 90, 33 ]
42
[ "33-15=18", "90/18=5", "37+5=42" ]
Current State: 42:[15, 37, 90, 33], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [37, 90, 18] Generated Node #2: [37, 90, 18] from Operation: 33-15=18 Current State: 42:[37, 90, 18], Operations: ['33-15=18'] Exploring Operation: 90/18=5, Resulting Numbers: [37, 5] Generated Node #3: [37, 5] from Operation: 90/18=5 Current State: 42:[37, 5], Operations: ['33-15=18', '90/18=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 37, 90, 33], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [15, 33, 53] Generated Node #0,0: 42:[15, 33, 53] Operation: 90-37=53 Exploring Operation: 90-33=57, Resulting Numbers: [15, 37, 57] Generated Node #0,1: 42:[15, 37, 57] Operation: 90-33=57 Exploring Operation: 90/15=6, Resulting Numbers: [37, 33, 6] Generated Node #0,2: 42:[37, 33, 6] Operation: 90/15=6 Moving to Node #0,2 Current State: 42:[37, 33, 6], Operations: ['90/15=6'] Exploring Operation: 37-33=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 42:[6, 4] Operation: 37-33=4 Exploring Operation: 33+6=39, Resulting Numbers: [37, 39] Generated Node #0,2,1: 42:[37, 39] Operation: 33+6=39 Exploring Operation: 37+6=43, Resulting Numbers: [33, 43] Generated Node #0,2,2: 42:[33, 43] Operation: 37+6=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[6, 4], Operations: ['90/15=6', '37-33=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[37, 39], Operations: ['90/15=6', '33+6=39'] Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,42 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[33, 43], Operations: ['90/15=6', '37+6=43'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,42 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,42 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: 42:[15, 33, 53], Operations: ['90-37=53'] Exploring Operation: 33-15=18, Resulting Numbers: [53, 18] Generated Node #0,0,0: 42:[53, 18] Operation: 33-15=18 Exploring Operation: 53-15=38, Resulting Numbers: [33, 38] Generated Node #0,0,1: 42:[33, 38] Operation: 53-15=38 Exploring Operation: 53-33=20, Resulting Numbers: [15, 20] Generated Node #0,0,2: 42:[15, 20] Operation: 53-33=20 Moving to Node #0,1 Current State: 42:[15, 37, 57], Operations: ['90-33=57'] Exploring Operation: 37-15=22, Resulting Numbers: [57, 22] Generated Node #0,1,0: 42:[57, 22] Operation: 37-15=22 Exploring Operation: 57-15=42, Resulting Numbers: [37, 42] Generated Node #0,1,1: 42:[37, 42] Operation: 57-15=42 Exploring Operation: 57-37=20, Resulting Numbers: [15, 20] Generated Node #0,1,2: 42:[15, 20] Operation: 57-37=20 Moving to Node #0,0,2 Current State: 42:[15, 20], Operations: ['90-37=53', '53-33=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[15, 20], Operations: ['90-33=57', '57-37=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,42 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[37, 42], Operations: ['90-33=57', '57-15=42'] Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,42 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[33, 38], Operations: ['90-37=53', '53-15=38'] Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,42 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,42 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[53, 18], Operations: ['90-37=53', '33-15=18'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,42 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[57, 22], Operations: ['90-33=57', '37-15=22'] Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,42 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,42 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 12, 13, 22, 66 ]
43
[ "13-12=1", "66-22=44", "44-1=43" ]
Current State: 43:[12, 13, 22, 66], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [22, 66, 1] Generated Node #2: [22, 66, 1] from Operation: 13-12=1 Current State: 43:[22, 66, 1], Operations: ['13-12=1'] Exploring Operation: 66-22=44, Resulting Numbers: [1, 44] Generated Node #3: [1, 44] from Operation: 66-22=44 Current State: 43:[1, 44], Operations: ['13-12=1', '66-22=44'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 13, 22, 66], Operations: [] Exploring Operation: 12+13=25, Resulting Numbers: [22, 66, 25] Generated Node #0,0: 43:[22, 66, 25] Operation: 12+13=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[22, 66, 25], Operations: ['12+13=25'] Exploring Operation: 66-22=44, Resulting Numbers: [25, 44] Generated Node #0,0,0: 43:[25, 44] Operation: 66-22=44 Moving to Node #0,0,0 Current State: 43:[25, 44], Operations: ['12+13=25', '66-22=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,43 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
[ 38, 54, 12, 7 ]
87
[ "38+54=92", "12-7=5", "92-5=87" ]
Current State: 87:[38, 54, 12, 7], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [12, 7, 92] Generated Node #2: [12, 7, 92] from Operation: 38+54=92 Current State: 87:[12, 7, 92], Operations: ['38+54=92'] Exploring Operation: 12-7=5, Resulting Numbers: [92, 5] Generated Node #3: [92, 5] from Operation: 12-7=5 Current State: 87:[92, 5], Operations: ['38+54=92', '12-7=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[38, 54, 12, 7], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [12, 7, 16] Generated Node #0,0: 87:[12, 7, 16] Operation: 54-38=16 Exploring Operation: 38+54=92, Resulting Numbers: [12, 7, 92] Generated Node #0,1: 87:[12, 7, 92] Operation: 38+54=92 Exploring Operation: 54-12=42, Resulting Numbers: [38, 7, 42] Generated Node #0,2: 87:[38, 7, 42] Operation: 54-12=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[12, 7, 92], Operations: ['38+54=92'] Exploring Operation: 12-7=5, Resulting Numbers: [92, 5] Generated Node #0,1,0: 87:[92, 5] Operation: 12-7=5 Exploring Operation: 12*7=84, Resulting Numbers: [92, 84] Generated Node #0,1,1: 87:[92, 84] Operation: 12*7=84 Exploring Operation: 92-12=80, Resulting Numbers: [7, 80] Generated Node #0,1,2: 87:[7, 80] Operation: 92-12=80 Moving to Node #0,1,0 Current State: 87:[92, 5], Operations: ['38+54=92', '12-7=5'] Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,87 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[38, 54, 12, 7], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [12, 7, 92] Generated Node #0,1: 87:[12, 7, 92] Operation: 38+54=92 Moving to Node #0,1 Current State: 87:[12, 7, 92], Operations: ['38+54=92'] Exploring Operation: 12-7=5, Resulting Numbers: [92, 5] Generated Node #0,1,0: 87:[92, 5] Operation: 12-7=5 Moving to Node #0,1,0 Current State: 87:[92, 5], Operations: ['38+54=92', '12-7=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 30, 4, 65, 40 ]
10
[ "4*65=260", "40+260=300", "300/30=10" ]
Current State: 10:[30, 4, 65, 40], Operations: [] Exploring Operation: 4*65=260, Resulting Numbers: [30, 40, 260] Generated Node #2: [30, 40, 260] from Operation: 4*65=260 Current State: 10:[30, 40, 260], Operations: ['4*65=260'] Exploring Operation: 40+260=300, Resulting Numbers: [30, 300] Generated Node #3: [30, 300] from Operation: 40+260=300 Current State: 10:[30, 300], Operations: ['4*65=260', '40+260=300'] Exploring Operation: 300/30=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[30, 4, 65, 40], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [4, 65, 10] Generated Node #0,0: 10:[4, 65, 10] Operation: 40-30=10 Exploring Operation: 65-30=35, Resulting Numbers: [4, 40, 35] Generated Node #0,1: 10:[4, 40, 35] Operation: 65-30=35 Exploring Operation: 40/4=10, Resulting Numbers: [30, 65, 10] Generated Node #0,2: 10:[30, 65, 10] Operation: 40/4=10 Exploring Operation: 65-40=25, Resulting Numbers: [30, 4, 25] Generated Node #0,3: 10:[30, 4, 25] Operation: 65-40=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[30, 4, 25], Operations: ['65-40=25'] Exploring Operation: 30+4=34, Resulting Numbers: [25, 34] Generated Node #0,3,0: 10:[25, 34] Operation: 30+4=34 Exploring Operation: 25-4=21, Resulting Numbers: [30, 21] Generated Node #0,3,1: 10:[30, 21] Operation: 25-4=21 Exploring Operation: 30-25=5, Resulting Numbers: [4, 5] Generated Node #0,3,2: 10:[4, 5] Operation: 30-25=5 Exploring Operation: 30-4=26, Resulting Numbers: [25, 26] Generated Node #0,3,3: 10:[25, 26] Operation: 30-4=26 Moving to Node #0,3,2 Current State: 10:[4, 5], Operations: ['65-40=25', '30-25=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[25, 26], Operations: ['65-40=25', '30-4=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[30, 21], Operations: ['65-40=25', '25-4=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[25, 34], Operations: ['65-40=25', '30+4=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[4, 65, 10], Operations: ['40-30=10'] Exploring Operation: 65-10=55, Resulting Numbers: [4, 55] Generated Node #0,0,0: 10:[4, 55] Operation: 65-10=55 Exploring Operation: 4+65=69, Resulting Numbers: [10, 69] Generated Node #0,0,1: 10:[10, 69] Operation: 4+65=69 Exploring Operation: 65-4=61, Resulting Numbers: [10, 61] Generated Node #0,0,2: 10:[10, 61] Operation: 65-4=61 Exploring Operation: 10-4=6, Resulting Numbers: [65, 6] Generated Node #0,0,3: 10:[65, 6] Operation: 10-4=6 Moving to Node #0,0,0 Current State: 10:[4, 55], Operations: ['40-30=10', '65-10=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[10, 61], Operations: ['40-30=10', '65-4=61'] Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,10 unequal: No Solution Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[65, 6], Operations: ['40-30=10', '10-4=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[10, 69], Operations: ['40-30=10', '4+65=69'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 10*69=690, Resulting Numbers: [690] 690,10 unequal: No Solution Exploring Operation: 10+69=79, Resulting Numbers: [79] 79,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[4, 40, 35], Operations: ['65-30=35'] Exploring Operation: 40/4=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 10:[35, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [35, 36] Generated Node #0,1,1: 10:[35, 36] Operation: 40-4=36 Exploring Operation: 40-35=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 10:[4, 5] Operation: 40-35=5 Exploring Operation: 35-4=31, Resulting Numbers: [40, 31] Generated Node #0,1,3: 10:[40, 31] Operation: 35-4=31 Moving to Node #0,1,2 Current State: 10:[4, 5], Operations: ['65-30=35', '40-35=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[35, 10], Operations: ['65-30=35', '40/4=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[40, 31], Operations: ['65-30=35', '35-4=31'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,10 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[35, 36], Operations: ['65-30=35', '40-4=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,10 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[30, 65, 10], Operations: ['40/4=10'] Exploring Operation: 30-10=20, Resulting Numbers: [65, 20] Generated Node #0,2,0: 10:[65, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [65, 3] Generated Node #0,2,1: 10:[65, 3] Operation: 30/10=3 Exploring Operation: 65-30=35, Resulting Numbers: [10, 35] Generated Node #0,2,2: 10:[10, 35] Operation: 65-30=35 Exploring Operation: 65-10=55, Resulting Numbers: [30, 55] Generated Node #0,2,3: 10:[30, 55] Operation: 65-10=55 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[10, 35], Operations: ['40/4=10', '65-30=35'] Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,10 unequal: No Solution No 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: 10:[65, 3], Operations: ['40/4=10', '30/10=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,10 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,10 unequal: No Solution No 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: 10:[65, 20], Operations: ['40/4=10', '30-10=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,10 unequal: No Solution Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,10 unequal: No Solution No 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: 10:[30, 55], Operations: ['40/4=10', '65-10=55'] Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,10 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,10 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
[ 75, 16, 81, 4 ]
40
[ "75+16=91", "91-81=10", "4*10=40" ]
Current State: 40:[75, 16, 81, 4], Operations: [] Exploring Operation: 75+16=91, Resulting Numbers: [81, 4, 91] Generated Node #2: [81, 4, 91] from Operation: 75+16=91 Current State: 40:[81, 4, 91], Operations: ['75+16=91'] Exploring Operation: 91-81=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 91-81=10 Current State: 40:[4, 10], Operations: ['75+16=91', '91-81=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[75, 16, 81, 4], Operations: [] Exploring Operation: 16+4=20, Resulting Numbers: [75, 81, 20] Generated Node #0,0: 40:[75, 81, 20] Operation: 16+4=20 Exploring Operation: 81-75=6, Resulting Numbers: [16, 4, 6] Generated Node #0,1: 40:[16, 4, 6] Operation: 81-75=6 Exploring Operation: 75-16=59, Resulting Numbers: [81, 4, 59] Generated Node #0,2: 40:[81, 4, 59] Operation: 75-16=59 Exploring Operation: 81-16=65, Resulting Numbers: [75, 4, 65] Generated Node #0,3: 40:[75, 4, 65] Operation: 81-16=65 Exploring Operation: 75-4=71, Resulting Numbers: [16, 81, 71] Generated Node #0,4: 40:[16, 81, 71] Operation: 75-4=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[16, 4, 6], Operations: ['81-75=6'] Exploring Operation: 16-4=12, Resulting Numbers: [6, 12] Generated Node #0,1,0: 40:[6, 12] Operation: 16-4=12 Exploring Operation: 16+6=22, Resulting Numbers: [4, 22] Generated Node #0,1,1: 40:[4, 22] Operation: 16+6=22 Exploring Operation: 16+4=20, Resulting Numbers: [6, 20] Generated Node #0,1,2: 40:[6, 20] Operation: 16+4=20 Exploring Operation: 16-6=10, Resulting Numbers: [4, 10] Generated Node #0,1,3: 40:[4, 10] Operation: 16-6=10 Exploring Operation: 16/4=4, Resulting Numbers: [6, 4] Generated Node #0,1,4: 40:[6, 4] Operation: 16/4=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 40:[4, 10], Operations: ['81-75=6', '16-6=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[75, 16, 81, 4], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [16, 4, 6] Generated Node #0,1: 40:[16, 4, 6] Operation: 81-75=6 Moving to Node #0,1 Current State: 40:[16, 4, 6], Operations: ['81-75=6'] Exploring Operation: 16-6=10, Resulting Numbers: [4, 10] Generated Node #0,1,3: 40:[4, 10] Operation: 16-6=10 Moving to Node #0,1,3 Current State: 40:[4, 10], Operations: ['81-75=6', '16-6=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 40, 15, 3, 64 ]
72
[ "40*3=120", "120/15=8", "64+8=72" ]
Current State: 72:[40, 15, 3, 64], Operations: [] Exploring Operation: 40*3=120, Resulting Numbers: [15, 64, 120] Generated Node #2: [15, 64, 120] from Operation: 40*3=120 Current State: 72:[15, 64, 120], Operations: ['40*3=120'] Exploring Operation: 120/15=8, Resulting Numbers: [64, 8] Generated Node #3: [64, 8] from Operation: 120/15=8 Current State: 72:[64, 8], Operations: ['40*3=120', '120/15=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[40, 15, 3, 64], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [15, 3, 24] Generated Node #0,0: 72:[15, 3, 24] Operation: 64-40=24 Exploring Operation: 15+64=79, Resulting Numbers: [40, 3, 79] Generated Node #0,1: 72:[40, 3, 79] Operation: 15+64=79 Exploring Operation: 15+3=18, Resulting Numbers: [40, 64, 18] Generated Node #0,2: 72:[40, 64, 18] Operation: 15+3=18 Exploring Operation: 40-3=37, Resulting Numbers: [15, 64, 37] Generated Node #0,3: 72:[15, 64, 37] Operation: 40-3=37 Exploring Operation: 40-15=25, Resulting Numbers: [3, 64, 25] Generated Node #0,4: 72:[3, 64, 25] Operation: 40-15=25 Moving to Node #0,0 Current State: 72:[15, 3, 24], Operations: ['64-40=24'] Exploring Operation: 15+24=39, Resulting Numbers: [3, 39] Generated Node #0,0,0: 72:[3, 39] Operation: 15+24=39 Exploring Operation: 15/3=5, Resulting Numbers: [24, 5] Generated Node #0,0,1: 72:[24, 5] Operation: 15/3=5 Exploring Operation: 15+3=18, Resulting Numbers: [24, 18] Generated Node #0,0,2: 72:[24, 18] Operation: 15+3=18 Exploring Operation: 15-3=12, Resulting Numbers: [24, 12] Generated Node #0,0,3: 72:[24, 12] Operation: 15-3=12 Exploring Operation: 24-15=9, Resulting Numbers: [3, 9] Generated Node #0,0,4: 72:[3, 9] Operation: 24-15=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[24, 18], Operations: ['64-40=24', '15+3=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,72 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[24, 12], Operations: ['64-40=24', '15-3=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,72 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[3, 9], Operations: ['64-40=24', '24-15=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[24, 5], Operations: ['64-40=24', '15/3=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[3, 39], Operations: ['64-40=24', '15+24=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,72 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: 72:[3, 64, 25], Operations: ['40-15=25'] Exploring Operation: 64-25=39, Resulting Numbers: [3, 39] Generated Node #0,4,0: 72:[3, 39] Operation: 64-25=39 Exploring Operation: 64-3=61, Resulting Numbers: [25, 61] Generated Node #0,4,1: 72:[25, 61] Operation: 64-3=61 Exploring Operation: 3+64=67, Resulting Numbers: [25, 67] Generated Node #0,4,2: 72:[25, 67] Operation: 3+64=67 Exploring Operation: 3*25=75, Resulting Numbers: [64, 75] Generated Node #0,4,3: 72:[64, 75] Operation: 3*25=75 Exploring Operation: 25-3=22, Resulting Numbers: [64, 22] Generated Node #0,4,4: 72:[64, 22] Operation: 25-3=22 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[3, 39], Operations: ['40-15=25', '64-25=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[25, 67], Operations: ['40-15=25', '3+64=67'] Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,72 unequal: No Solution Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[64, 22], Operations: ['40-15=25', '25-3=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 64*22=1408, Resulting Numbers: [1408] 1408,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[64, 75], Operations: ['40-15=25', '3*25=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,72 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[25, 61], Operations: ['40-15=25', '64-3=61'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,72 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: 72:[40, 3, 79], Operations: ['15+64=79'] Exploring Operation: 40+3=43, Resulting Numbers: [79, 43] Generated Node #0,1,0: 72:[79, 43] Operation: 40+3=43 Exploring Operation: 3+79=82, Resulting Numbers: [40, 82] Generated Node #0,1,1: 72:[40, 82] Operation: 3+79=82 Exploring Operation: 40-3=37, Resulting Numbers: [79, 37] Generated Node #0,1,2: 72:[79, 37] Operation: 40-3=37 Exploring Operation: 79-3=76, Resulting Numbers: [40, 76] Generated Node #0,1,3: 72:[40, 76] Operation: 79-3=76 Exploring Operation: 79-40=39, Resulting Numbers: [3, 39] Generated Node #0,1,4: 72:[3, 39] Operation: 79-40=39 Moving to Node #0,2 Current State: 72:[40, 64, 18], Operations: ['15+3=18'] Exploring Operation: 64-18=46, Resulting Numbers: [40, 46] Generated Node #0,2,0: 72:[40, 46] Operation: 64-18=46 Exploring Operation: 40+18=58, Resulting Numbers: [64, 58] Generated Node #0,2,1: 72:[64, 58] Operation: 40+18=58 Exploring Operation: 64+18=82, Resulting Numbers: [40, 82] Generated Node #0,2,2: 72:[40, 82] Operation: 64+18=82 Exploring Operation: 64-40=24, Resulting Numbers: [18, 24] Generated Node #0,2,3: 72:[18, 24] Operation: 64-40=24 Exploring Operation: 40-18=22, Resulting Numbers: [64, 22] Generated Node #0,2,4: 72:[64, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[18, 24], Operations: ['15+3=18', '64-40=24'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,72 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[64, 22], Operations: ['15+3=18', '40-18=22'] Exploring Operation: 64*22=1408, Resulting Numbers: [1408] 1408,72 unequal: No Solution Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[40, 46], Operations: ['15+3=18', '64-18=46'] Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,72 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[40, 82], Operations: ['15+3=18', '64+18=82'] Exploring Operation: 40+82=122, Resulting Numbers: [122] 122,72 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 40*82=3280, Resulting Numbers: [3280] 3280,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[64, 58], Operations: ['15+3=18', '40+18=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,72 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,72 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: 72:[15, 64, 37], Operations: ['40-3=37'] Exploring Operation: 64-15=49, Resulting Numbers: [37, 49] Generated Node #0,3,0: 72:[37, 49] Operation: 64-15=49 Exploring Operation: 64-37=27, Resulting Numbers: [15, 27] Generated Node #0,3,1: 72:[15, 27] Operation: 64-37=27 Exploring Operation: 15+37=52, Resulting Numbers: [64, 52] Generated Node #0,3,2: 72:[64, 52] Operation: 15+37=52 Exploring Operation: 15+64=79, Resulting Numbers: [37, 79] Generated Node #0,3,3: 72:[37, 79] Operation: 15+64=79 Exploring Operation: 37-15=22, Resulting Numbers: [64, 22] Generated Node #0,3,4: 72:[64, 22] Operation: 37-15=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[15, 27], Operations: ['40-3=37', '64-37=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[37, 79], Operations: ['40-3=37', '15+64=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,72 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[64, 22], Operations: ['40-3=37', '37-15=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,72 unequal: No Solution Exploring Operation: 64*22=1408, Resulting Numbers: [1408] 1408,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[37, 49], Operations: ['40-3=37', '64-15=49'] Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,72 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[64, 52], Operations: ['40-3=37', '15+37=52'] Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,72 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 72:[3, 39], Operations: ['15+64=79', '79-40=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[40, 76], Operations: ['15+64=79', '79-3=76'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,72 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[79, 37], Operations: ['15+64=79', '40-3=37'] Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,72 unequal: No Solution Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[79, 43], Operations: ['15+64=79', '40+3=43'] Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,72 unequal: No Solution Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[40, 82], Operations: ['15+64=79', '3+79=82'] Exploring Operation: 40*82=3280, Resulting Numbers: [3280] 3280,72 unequal: No Solution Exploring Operation: 40+82=122, Resulting Numbers: [122] 122,72 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 90, 39, 3, 34 ]
69
[ "90-34=56", "39/3=13", "56+13=69" ]
Current State: 69:[90, 39, 3, 34], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [39, 3, 56] Generated Node #2: [39, 3, 56] from Operation: 90-34=56 Current State: 69:[39, 3, 56], Operations: ['90-34=56'] Exploring Operation: 39/3=13, Resulting Numbers: [56, 13] Generated Node #3: [56, 13] from Operation: 39/3=13 Current State: 69:[56, 13], Operations: ['90-34=56', '39/3=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[90, 39, 3, 34], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [90, 3, 5] Generated Node #0,0: 69:[90, 3, 5] Operation: 39-34=5 Exploring Operation: 39+34=73, Resulting Numbers: [90, 3, 73] Generated Node #0,1: 69:[90, 3, 73] Operation: 39+34=73 Exploring Operation: 90-39=51, Resulting Numbers: [3, 34, 51] Generated Node #0,2: 69:[3, 34, 51] Operation: 90-39=51 Moving to Node #0,0 Current State: 69:[90, 3, 5], Operations: ['39-34=5'] Exploring Operation: 90/3=30, Resulting Numbers: [5, 30] Generated Node #0,0,0: 69:[5, 30] Operation: 90/3=30 Exploring Operation: 90/5=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 69:[3, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [3, 85] Generated Node #0,0,2: 69:[3, 85] Operation: 90-5=85 Moving to Node #0,1 Current State: 69:[90, 3, 73], Operations: ['39+34=73'] Exploring Operation: 90/3=30, Resulting Numbers: [73, 30] Generated Node #0,1,0: 69:[73, 30] Operation: 90/3=30 Exploring Operation: 90-73=17, Resulting Numbers: [3, 17] Generated Node #0,1,1: 69:[3, 17] Operation: 90-73=17 Exploring Operation: 90-3=87, Resulting Numbers: [73, 87] Generated Node #0,1,2: 69:[73, 87] Operation: 90-3=87 Moving to Node #0,2 Current State: 69:[3, 34, 51], Operations: ['90-39=51'] Exploring Operation: 34+51=85, Resulting Numbers: [3, 85] Generated Node #0,2,0: 69:[3, 85] Operation: 34+51=85 Exploring Operation: 51/3=17, Resulting Numbers: [34, 17] Generated Node #0,2,1: 69:[34, 17] Operation: 51/3=17 Exploring Operation: 51-34=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 69:[3, 17] Operation: 51-34=17 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[3, 17], Operations: ['90-39=51', '51-34=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[3, 85], Operations: ['90-39=51', '34+51=85'] Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,69 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[34, 17], Operations: ['90-39=51', '51/3=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 69:[3, 18], Operations: ['39-34=5', '90/5=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[3, 17], Operations: ['39+34=73', '90-73=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[5, 30], Operations: ['39-34=5', '90/3=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[73, 30], Operations: ['39+34=73', '90/3=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,69 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[3, 85], Operations: ['39-34=5', '90-5=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[73, 87], Operations: ['39+34=73', '90-3=87'] Exploring Operation: 73*87=6351, Resulting Numbers: [6351] 6351,69 unequal: No Solution Exploring Operation: 73+87=160, Resulting Numbers: [160] 160,69 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 80, 58, 72, 22 ]
40
[ "58-22=36", "80*36=2880", "2880/72=40" ]
Current State: 40:[80, 58, 72, 22], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [80, 72, 36] Generated Node #2: [80, 72, 36] from Operation: 58-22=36 Current State: 40:[80, 72, 36], Operations: ['58-22=36'] Exploring Operation: 80*36=2880, Resulting Numbers: [72, 2880] Generated Node #3: [72, 2880] from Operation: 80*36=2880 Current State: 40:[72, 2880], Operations: ['58-22=36', '80*36=2880'] Exploring Operation: 2880/72=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[80, 58, 72, 22], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [80, 22, 14] Generated Node #0,0: 40:[80, 22, 14] Operation: 72-58=14 Exploring Operation: 80-58=22, Resulting Numbers: [72, 22, 22] Generated Node #0,1: 40:[72, 22, 22] Operation: 80-58=22 Exploring Operation: 80-72=8, Resulting Numbers: [58, 22, 8] Generated Node #0,2: 40:[58, 22, 8] Operation: 80-72=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[58, 22, 8], Operations: ['80-72=8'] Exploring Operation: 58-22=36, Resulting Numbers: [8, 36] Generated Node #0,2,0: 40:[8, 36] Operation: 58-22=36 Exploring Operation: 58-8=50, Resulting Numbers: [22, 50] Generated Node #0,2,1: 40:[22, 50] Operation: 58-8=50 Exploring Operation: 22-8=14, Resulting Numbers: [58, 14] Generated Node #0,2,2: 40:[58, 14] Operation: 22-8=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[8, 36], Operations: ['80-72=8', '58-22=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[22, 50], Operations: ['80-72=8', '58-8=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[58, 14], Operations: ['80-72=8', '22-8=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[72, 22, 22], Operations: ['80-58=22'] Exploring Operation: 72-22=50, Resulting Numbers: [22, 50] Generated Node #0,1,0: 40:[22, 50] Operation: 72-22=50 Exploring Operation: 72-22=50, Resulting Numbers: [22, 50] Generated Node #0,1,1: 40:[22, 50] Operation: 72-22=50 Exploring Operation: 22/22=1, Resulting Numbers: [72, 1] Generated Node #0,1,2: 40:[72, 1] Operation: 22/22=1 Moving to Node #0,1,0 Current State: 40:[22, 50], Operations: ['80-58=22', '72-22=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,40 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[22, 50], Operations: ['80-58=22', '72-22=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,40 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[72, 1], Operations: ['80-58=22', '22/22=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,40 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,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:[80, 22, 14], Operations: ['72-58=14'] Exploring Operation: 80-14=66, Resulting Numbers: [22, 66] Generated Node #0,0,0: 40:[22, 66] Operation: 80-14=66 Exploring Operation: 22-14=8, Resulting Numbers: [80, 8] Generated Node #0,0,1: 40:[80, 8] Operation: 22-14=8 Exploring Operation: 80-22=58, Resulting Numbers: [14, 58] Generated Node #0,0,2: 40:[14, 58] Operation: 80-22=58 Moving to Node #0,0,2 Current State: 40:[14, 58], Operations: ['72-58=14', '80-22=58'] Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[22, 66], Operations: ['72-58=14', '80-14=66'] Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[80, 8], Operations: ['72-58=14', '22-14=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,40 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,40 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
[ 34, 65, 54, 69 ]
84
[ "34+65=99", "69-54=15", "99-15=84" ]
Current State: 84:[34, 65, 54, 69], Operations: [] Exploring Operation: 34+65=99, Resulting Numbers: [54, 69, 99] Generated Node #2: [54, 69, 99] from Operation: 34+65=99 Current State: 84:[54, 69, 99], Operations: ['34+65=99'] Exploring Operation: 69-54=15, Resulting Numbers: [99, 15] Generated Node #3: [99, 15] from Operation: 69-54=15 Current State: 84:[99, 15], Operations: ['34+65=99', '69-54=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[34, 65, 54, 69], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [34, 54, 4] Generated Node #0,0: 84:[34, 54, 4] Operation: 69-65=4 Moving to Node #0,0 Current State: 84:[34, 54, 4], Operations: ['69-65=4'] Exploring Operation: 54-34=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 84:[4, 20] Operation: 54-34=20 Moving to Node #0,0,0 Current State: 84:[4, 20], Operations: ['69-65=4', '54-34=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 47, 93, 54 ]
71
[ "79-47=32", "93-54=39", "32+39=71" ]
Current State: 71:[79, 47, 93, 54], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [93, 54, 32] Generated Node #2: [93, 54, 32] from Operation: 79-47=32 Current State: 71:[93, 54, 32], Operations: ['79-47=32'] Exploring Operation: 93-54=39, Resulting Numbers: [32, 39] Generated Node #3: [32, 39] from Operation: 93-54=39 Current State: 71:[32, 39], Operations: ['79-47=32', '93-54=39'] Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[79, 47, 93, 54], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [79, 54, 46] Generated Node #0,0: 71:[79, 54, 46] Operation: 93-47=46 Exploring Operation: 47+54=101, Resulting Numbers: [79, 93, 101] Generated Node #0,1: 71:[79, 93, 101] Operation: 47+54=101 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[79, 54, 46], Operations: ['93-47=46'] Exploring Operation: 79-46=33, Resulting Numbers: [54, 33] Generated Node #0,0,0: 71:[54, 33] Operation: 79-46=33 Exploring Operation: 54+46=100, Resulting Numbers: [79, 100] Generated Node #0,0,1: 71:[79, 100] Operation: 54+46=100 Moving to Node #0,0,1 Current State: 71:[79, 100], Operations: ['93-47=46', '54+46=100'] Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[54, 33], Operations: ['93-47=46', '79-46=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,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:[79, 93, 101], Operations: ['47+54=101'] Exploring Operation: 101-79=22, Resulting Numbers: [93, 22] Generated Node #0,1,0: 71:[93, 22] Operation: 101-79=22 Exploring Operation: 101-93=8, Resulting Numbers: [79, 8] Generated Node #0,1,1: 71:[79, 8] Operation: 101-93=8 Moving to Node #0,1,0 Current State: 71:[93, 22], Operations: ['47+54=101', '101-79=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[79, 47, 93, 54], Operations: [] Exploring Operation: 47+54=101, Resulting Numbers: [79, 93, 101] Generated Node #0,1: 71:[79, 93, 101] Operation: 47+54=101 Moving to Node #0,1 Current State: 71:[79, 93, 101], Operations: ['47+54=101'] Exploring Operation: 101-79=22, Resulting Numbers: [93, 22] Generated Node #0,1,0: 71:[93, 22] Operation: 101-79=22 Moving to Node #0,1,0 Current State: 71:[93, 22], Operations: ['47+54=101', '101-79=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 54, 40, 10, 94 ]
11
[ "54+40=94", "94/94=1", "10+1=11" ]
Current State: 11:[54, 40, 10, 94], Operations: [] Exploring Operation: 54+40=94, Resulting Numbers: [10, 94, 94] Generated Node #2: [10, 94, 94] from Operation: 54+40=94 Current State: 11:[10, 94, 94], Operations: ['54+40=94'] Exploring Operation: 94/94=1, Resulting Numbers: [10, 1] Generated Node #3: [10, 1] from Operation: 94/94=1 Current State: 11:[10, 1], Operations: ['54+40=94', '94/94=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[54, 40, 10, 94], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [40, 10, 40] Generated Node #0,0: 11:[40, 10, 40] Operation: 94-54=40 Exploring Operation: 54-40=14, Resulting Numbers: [10, 94, 14] Generated Node #0,1: 11:[10, 94, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[40, 10, 40], Operations: ['94-54=40'] Exploring Operation: 40-40=0, Resulting Numbers: [10, 0] Generated Node #0,0,0: 11:[10, 0] Operation: 40-40=0 Exploring Operation: 40/40=1, Resulting Numbers: [10, 1] Generated Node #0,0,1: 11:[10, 1] Operation: 40/40=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[10, 1], Operations: ['94-54=40', '40/40=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[54, 40, 10, 94], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [40, 10, 40] Generated Node #0,0: 11:[40, 10, 40] Operation: 94-54=40 Moving to Node #0,0 Current State: 11:[40, 10, 40], Operations: ['94-54=40'] Exploring Operation: 40/40=1, Resulting Numbers: [10, 1] Generated Node #0,0,1: 11:[10, 1] Operation: 40/40=1 Moving to Node #0,0,1 Current State: 11:[10, 1], Operations: ['94-54=40', '40/40=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic