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
[ 54, 90, 93, 3 ]
43
[ "90-54=36", "93+36=129", "129/3=43" ]
Current State: 43:[54, 90, 93, 3], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [93, 3, 36] Generated Node #2: [93, 3, 36] from Operation: 90-54=36 Current State: 43:[93, 3, 36], Operations: ['90-54=36'] Exploring Operation: 93+36=129, Resulting Numbers: [3, 129] Generated Node #3: [3, 129] from Operation: 93+36=129 Current State: 43:[3, 129], Operations: ['90-54=36', '93+36=129'] Exploring Operation: 129/3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[54, 90, 93, 3], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [54, 93, 30] Generated Node #0,0: 43:[54, 93, 30] Operation: 90/3=30 Exploring Operation: 93-54=39, Resulting Numbers: [90, 3, 39] Generated Node #0,1: 43:[90, 3, 39] Operation: 93-54=39 Exploring Operation: 93/3=31, Resulting Numbers: [54, 90, 31] Generated Node #0,2: 43:[54, 90, 31] Operation: 93/3=31 Moving to Node #0,2 Current State: 43:[54, 90, 31], Operations: ['93/3=31'] Exploring Operation: 90-31=59, Resulting Numbers: [54, 59] Generated Node #0,2,0: 43:[54, 59] Operation: 90-31=59 Exploring Operation: 90-54=36, Resulting Numbers: [31, 36] Generated Node #0,2,1: 43:[31, 36] Operation: 90-54=36 Exploring Operation: 54-31=23, Resulting Numbers: [90, 23] Generated Node #0,2,2: 43:[90, 23] Operation: 54-31=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[31, 36], Operations: ['93/3=31', '90-54=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[54, 59], Operations: ['93/3=31', '90-31=59'] Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,43 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[90, 23], Operations: ['93/3=31', '54-31=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,43 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,43 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: 43:[54, 93, 30], Operations: ['90/3=30'] Exploring Operation: 93-30=63, Resulting Numbers: [54, 63] Generated Node #0,0,0: 43:[54, 63] Operation: 93-30=63 Exploring Operation: 54-30=24, Resulting Numbers: [93, 24] Generated Node #0,0,1: 43:[93, 24] Operation: 54-30=24 Exploring Operation: 93-54=39, Resulting Numbers: [30, 39] Generated Node #0,0,2: 43:[30, 39] Operation: 93-54=39 Moving to Node #0,1 Current State: 43:[90, 3, 39], Operations: ['93-54=39'] Exploring Operation: 90-3=87, Resulting Numbers: [39, 87] Generated Node #0,1,0: 43:[39, 87] Operation: 90-3=87 Exploring Operation: 90-39=51, Resulting Numbers: [3, 51] Generated Node #0,1,1: 43:[3, 51] Operation: 90-39=51 Exploring Operation: 90/3=30, Resulting Numbers: [39, 30] Generated Node #0,1,2: 43:[39, 30] Operation: 90/3=30 Moving to Node #0,0,2 Current State: 43:[30, 39], Operations: ['90/3=30', '93-54=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,43 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[39, 30], Operations: ['93-54=39', '90/3=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,43 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[54, 63], Operations: ['90/3=30', '93-30=63'] Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,43 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[3, 51], Operations: ['93-54=39', '90-39=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[39, 87], Operations: ['93-54=39', '90-3=87'] Exploring Operation: 39*87=3393, Resulting Numbers: [3393] 3393,43 unequal: No Solution Exploring Operation: 39+87=126, Resulting Numbers: [126] 126,43 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[93, 24], Operations: ['90/3=30', '54-30=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,43 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,43 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 26, 68, 55, 17 ]
77
[ "26+55=81", "68/17=4", "81-4=77" ]
Current State: 77:[26, 68, 55, 17], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [68, 17, 81] Generated Node #2: [68, 17, 81] from Operation: 26+55=81 Current State: 77:[68, 17, 81], Operations: ['26+55=81'] Exploring Operation: 68/17=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 68/17=4 Current State: 77:[81, 4], Operations: ['26+55=81', '68/17=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[26, 68, 55, 17], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [68, 17, 81] Generated Node #0,0: 77:[68, 17, 81] Operation: 26+55=81 Exploring Operation: 68-55=13, Resulting Numbers: [26, 17, 13] Generated Node #0,1: 77:[26, 17, 13] Operation: 68-55=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[68, 17, 81], Operations: ['26+55=81'] Exploring Operation: 68/17=4, Resulting Numbers: [81, 4] Generated Node #0,0,0: 77:[81, 4] Operation: 68/17=4 Exploring Operation: 81-68=13, Resulting Numbers: [17, 13] Generated Node #0,0,1: 77:[17, 13] Operation: 81-68=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[81, 4], Operations: ['26+55=81', '68/17=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[26, 68, 55, 17], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [68, 17, 81] Generated Node #0,0: 77:[68, 17, 81] Operation: 26+55=81 Moving to Node #0,0 Current State: 77:[68, 17, 81], Operations: ['26+55=81'] Exploring Operation: 68/17=4, Resulting Numbers: [81, 4] Generated Node #0,0,0: 77:[81, 4] Operation: 68/17=4 Moving to Node #0,0,0 Current State: 77:[81, 4], Operations: ['26+55=81', '68/17=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 26, 31, 72, 85 ]
100
[ "26+31=57", "72+85=157", "157-57=100" ]
Current State: 100:[26, 31, 72, 85], Operations: [] Exploring Operation: 26+31=57, Resulting Numbers: [72, 85, 57] Generated Node #2: [72, 85, 57] from Operation: 26+31=57 Current State: 100:[72, 85, 57], Operations: ['26+31=57'] Exploring Operation: 72+85=157, Resulting Numbers: [57, 157] Generated Node #3: [57, 157] from Operation: 72+85=157 Current State: 100:[57, 157], Operations: ['26+31=57', '72+85=157'] Exploring Operation: 157-57=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[26, 31, 72, 85], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [31, 85, 46] Generated Node #0,0: 100:[31, 85, 46] Operation: 72-26=46 Exploring Operation: 85-72=13, Resulting Numbers: [26, 31, 13] Generated Node #0,1: 100:[26, 31, 13] Operation: 85-72=13 Exploring Operation: 31+72=103, Resulting Numbers: [26, 85, 103] Generated Node #0,2: 100:[26, 85, 103] Operation: 31+72=103 Exploring Operation: 26+72=98, Resulting Numbers: [31, 85, 98] Generated Node #0,3: 100:[31, 85, 98] Operation: 26+72=98 Moving to Node #0,1 Current State: 100:[26, 31, 13], Operations: ['85-72=13'] Exploring Operation: 31+13=44, Resulting Numbers: [26, 44] Generated Node #0,1,0: 100:[26, 44] Operation: 31+13=44 Exploring Operation: 31-13=18, Resulting Numbers: [26, 18] Generated Node #0,1,1: 100:[26, 18] Operation: 31-13=18 Exploring Operation: 26/13=2, Resulting Numbers: [31, 2] Generated Node #0,1,2: 100:[31, 2] Operation: 26/13=2 Exploring Operation: 31-26=5, Resulting Numbers: [13, 5] Generated Node #0,1,3: 100:[13, 5] Operation: 31-26=5 Moving to Node #0,2 Current State: 100:[26, 85, 103], Operations: ['31+72=103'] Exploring Operation: 103-85=18, Resulting Numbers: [26, 18] Generated Node #0,2,0: 100:[26, 18] Operation: 103-85=18 Exploring Operation: 26+85=111, Resulting Numbers: [103, 111] Generated Node #0,2,1: 100:[103, 111] Operation: 26+85=111 Exploring Operation: 85-26=59, Resulting Numbers: [103, 59] Generated Node #0,2,2: 100:[103, 59] Operation: 85-26=59 Exploring Operation: 103-26=77, Resulting Numbers: [85, 77] Generated Node #0,2,3: 100:[85, 77] Operation: 103-26=77 Moving to Node #0,3 Current State: 100:[31, 85, 98], Operations: ['26+72=98'] Exploring Operation: 98-31=67, Resulting Numbers: [85, 67] Generated Node #0,3,0: 100:[85, 67] Operation: 98-31=67 Exploring Operation: 31+85=116, Resulting Numbers: [98, 116] Generated Node #0,3,1: 100:[98, 116] Operation: 31+85=116 Exploring Operation: 98-85=13, Resulting Numbers: [31, 13] Generated Node #0,3,2: 100:[31, 13] Operation: 98-85=13 Exploring Operation: 85-31=54, Resulting Numbers: [98, 54] Generated Node #0,3,3: 100:[98, 54] Operation: 85-31=54 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[98, 54], Operations: ['26+72=98', '85-31=54'] Exploring Operation: 98*54=5292, Resulting Numbers: [5292] 5292,100 unequal: No Solution Exploring Operation: 98-54=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 98+54=152, Resulting Numbers: [152] 152,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[31, 13], Operations: ['26+72=98', '98-85=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,100 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[98, 116], Operations: ['26+72=98', '31+85=116'] Exploring Operation: 116-98=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 98+116=214, Resulting Numbers: [214] 214,100 unequal: No Solution Exploring Operation: 98*116=11368, Resulting Numbers: [11368] 11368,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[85, 67], Operations: ['26+72=98', '98-31=67'] Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,100 unequal: No Solution Exploring Operation: 85*67=5695, Resulting Numbers: [5695] 5695,100 unequal: No Solution Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,100 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: 100:[31, 85, 46], Operations: ['72-26=46'] Exploring Operation: 85-46=39, Resulting Numbers: [31, 39] Generated Node #0,0,0: 100:[31, 39] Operation: 85-46=39 Exploring Operation: 31+85=116, Resulting Numbers: [46, 116] Generated Node #0,0,1: 100:[46, 116] Operation: 31+85=116 Exploring Operation: 46-31=15, Resulting Numbers: [85, 15] Generated Node #0,0,2: 100:[85, 15] Operation: 46-31=15 Exploring Operation: 85-31=54, Resulting Numbers: [46, 54] Generated Node #0,0,3: 100:[46, 54] Operation: 85-31=54 Moving to Node #0,1,1 Current State: 100:[26, 18], Operations: ['85-72=13', '31-13=18'] Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,100 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[13, 5], Operations: ['85-72=13', '31-26=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[26, 18], Operations: ['31+72=103', '103-85=18'] Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[31, 2], Operations: ['85-72=13', '26/13=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[26, 44], Operations: ['85-72=13', '31+13=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 26*44=1144, Resulting Numbers: [1144] 1144,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[46, 54], Operations: ['72-26=46', '85-31=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[26, 31, 72, 85], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [31, 85, 46] Generated Node #0,0: 100:[31, 85, 46] Operation: 72-26=46 Moving to Node #0,0 Current State: 100:[31, 85, 46], Operations: ['72-26=46'] Exploring Operation: 85-31=54, Resulting Numbers: [46, 54] Generated Node #0,0,3: 100:[46, 54] Operation: 85-31=54 Moving to Node #0,0,3 Current State: 100:[46, 54], Operations: ['72-26=46', '85-31=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 43, 68, 4, 66 ]
94
[ "43+4=47", "68-66=2", "47*2=94" ]
Current State: 94:[43, 68, 4, 66], Operations: [] Exploring Operation: 43+4=47, Resulting Numbers: [68, 66, 47] Generated Node #2: [68, 66, 47] from Operation: 43+4=47 Current State: 94:[68, 66, 47], Operations: ['43+4=47'] Exploring Operation: 68-66=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 68-66=2 Current State: 94:[47, 2], Operations: ['43+4=47', '68-66=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[43, 68, 4, 66], Operations: [] Exploring Operation: 43+66=109, Resulting Numbers: [68, 4, 109] Generated Node #0,0: 94:[68, 4, 109] Operation: 43+66=109 Exploring Operation: 68-66=2, Resulting Numbers: [43, 4, 2] Generated Node #0,1: 94:[43, 4, 2] Operation: 68-66=2 Exploring Operation: 68/4=17, Resulting Numbers: [43, 66, 17] Generated Node #0,2: 94:[43, 66, 17] Operation: 68/4=17 Exploring Operation: 43+4=47, Resulting Numbers: [68, 66, 47] Generated Node #0,3: 94:[68, 66, 47] Operation: 43+4=47 Exploring Operation: 43+68=111, Resulting Numbers: [4, 66, 111] Generated Node #0,4: 94:[4, 66, 111] Operation: 43+68=111 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[43, 4, 2], Operations: ['68-66=2'] Exploring Operation: 43+4=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 43+4=47 Exploring Operation: 4-2=2, Resulting Numbers: [43, 2] Generated Node #0,1,1: 94:[43, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 94:[43, 2] Operation: 4/2=2 Exploring Operation: 43+2=45, Resulting Numbers: [4, 45] Generated Node #0,1,3: 94:[4, 45] Operation: 43+2=45 Exploring Operation: 43-4=39, Resulting Numbers: [2, 39] Generated Node #0,1,4: 94:[2, 39] Operation: 43-4=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['68-66=2', '43+4=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[43, 68, 4, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [43, 4, 2] Generated Node #0,1: 94:[43, 4, 2] Operation: 68-66=2 Moving to Node #0,1 Current State: 94:[43, 4, 2], Operations: ['68-66=2'] Exploring Operation: 43+4=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 94:[2, 47] Operation: 43+4=47 Moving to Node #0,1,0 Current State: 94:[2, 47], Operations: ['68-66=2', '43+4=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 45, 98, 46, 58 ]
34
[ "45*46=2070", "2070-98=1972", "1972/58=34" ]
Current State: 34:[45, 98, 46, 58], Operations: [] Exploring Operation: 45*46=2070, Resulting Numbers: [98, 58, 2070] Generated Node #2: [98, 58, 2070] from Operation: 45*46=2070 Current State: 34:[98, 58, 2070], Operations: ['45*46=2070'] Exploring Operation: 2070-98=1972, Resulting Numbers: [58, 1972] Generated Node #3: [58, 1972] from Operation: 2070-98=1972 Current State: 34:[58, 1972], Operations: ['45*46=2070', '2070-98=1972'] Exploring Operation: 1972/58=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 98, 46, 58], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [45, 46, 40] Generated Node #0,0: 34:[45, 46, 40] Operation: 98-58=40 Exploring Operation: 98-46=52, Resulting Numbers: [45, 58, 52] Generated Node #0,1: 34:[45, 58, 52] Operation: 98-46=52 Moving to Node #0,0 Current State: 34:[45, 46, 40], Operations: ['98-58=40'] Exploring Operation: 46-45=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 34:[40, 1] Operation: 46-45=1 Exploring Operation: 45-40=5, Resulting Numbers: [46, 5] Generated Node #0,0,1: 34:[46, 5] Operation: 45-40=5 Moving to Node #0,1 Current State: 34:[45, 58, 52], Operations: ['98-46=52'] Exploring Operation: 58-45=13, Resulting Numbers: [52, 13] Generated Node #0,1,0: 34:[52, 13] Operation: 58-45=13 Exploring Operation: 58-52=6, Resulting Numbers: [45, 6] Generated Node #0,1,1: 34:[45, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[45, 6], Operations: ['98-46=52', '58-52=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,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,0 Current State: 34:[52, 13], Operations: ['98-46=52', '58-45=13'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 34:[40, 1], Operations: ['98-58=40', '46-45=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[46, 5], Operations: ['98-58=40', '45-40=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,34 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 77, 49, 99, 91 ]
54
[ "91-49=42", "99*42=4158", "4158/77=54" ]
Current State: 54:[77, 49, 99, 91], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [77, 99, 42] Generated Node #2: [77, 99, 42] from Operation: 91-49=42 Current State: 54:[77, 99, 42], Operations: ['91-49=42'] Exploring Operation: 99*42=4158, Resulting Numbers: [77, 4158] Generated Node #3: [77, 4158] from Operation: 99*42=4158 Current State: 54:[77, 4158], Operations: ['91-49=42', '99*42=4158'] Exploring Operation: 4158/77=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[77, 49, 99, 91], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [77, 49, 8] Generated Node #0,0: 54:[77, 49, 8] Operation: 99-91=8 Exploring Operation: 91-77=14, Resulting Numbers: [49, 99, 14] Generated Node #0,1: 54:[49, 99, 14] Operation: 91-77=14 Exploring Operation: 99-77=22, Resulting Numbers: [49, 91, 22] Generated Node #0,2: 54:[49, 91, 22] Operation: 99-77=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[77, 49, 8], Operations: ['99-91=8'] Exploring Operation: 77-8=69, Resulting Numbers: [49, 69] Generated Node #0,0,0: 54:[49, 69] Operation: 77-8=69 Exploring Operation: 49+8=57, Resulting Numbers: [77, 57] Generated Node #0,0,1: 54:[77, 57] Operation: 49+8=57 Exploring Operation: 77-49=28, Resulting Numbers: [8, 28] Generated Node #0,0,2: 54:[8, 28] Operation: 77-49=28 Moving to Node #0,0,2 Current State: 54:[8, 28], Operations: ['99-91=8', '77-49=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[49, 69], Operations: ['99-91=8', '77-8=69'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,54 unequal: No Solution Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[77, 57], Operations: ['99-91=8', '49+8=57'] Exploring Operation: 77+57=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 77*57=4389, Resulting Numbers: [4389] 4389,54 unequal: No Solution Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,54 unequal: No Solution No 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: 54:[49, 91, 22], Operations: ['99-77=22'] Exploring Operation: 49-22=27, Resulting Numbers: [91, 27] Generated Node #0,2,0: 54:[91, 27] Operation: 49-22=27 Exploring Operation: 91-49=42, Resulting Numbers: [22, 42] Generated Node #0,2,1: 54:[22, 42] Operation: 91-49=42 Exploring Operation: 91-22=69, Resulting Numbers: [49, 69] Generated Node #0,2,2: 54:[49, 69] Operation: 91-22=69 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[22, 42], Operations: ['99-77=22', '91-49=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,54 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,54 unequal: No Solution No 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: 54:[49, 69], Operations: ['99-77=22', '91-22=69'] Exploring Operation: 49*69=3381, Resulting Numbers: [3381] 3381,54 unequal: No Solution Exploring Operation: 49+69=118, Resulting Numbers: [118] 118,54 unequal: No Solution Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,54 unequal: No Solution No 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: 54:[91, 27], Operations: ['99-77=22', '49-22=27'] Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,54 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,54 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: 54:[49, 99, 14], Operations: ['91-77=14'] Exploring Operation: 49-14=35, Resulting Numbers: [99, 35] Generated Node #0,1,0: 54:[99, 35] Operation: 49-14=35 Exploring Operation: 99-49=50, Resulting Numbers: [14, 50] Generated Node #0,1,1: 54:[14, 50] Operation: 99-49=50 Exploring Operation: 99-14=85, Resulting Numbers: [49, 85] Generated Node #0,1,2: 54:[49, 85] Operation: 99-14=85 Moving to Node #0,1,1 Current State: 54:[14, 50], Operations: ['91-77=14', '99-49=50'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,54 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[49, 85], Operations: ['91-77=14', '99-14=85'] Exploring Operation: 49*85=4165, Resulting Numbers: [4165] 4165,54 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,54 unequal: No Solution Exploring Operation: 49+85=134, Resulting Numbers: [134] 134,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[99, 35], Operations: ['91-77=14', '49-14=35'] Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,54 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,54 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
[ 48, 23, 7, 52 ]
26
[ "48+23=71", "52-7=45", "71-45=26" ]
Current State: 26:[48, 23, 7, 52], Operations: [] Exploring Operation: 48+23=71, Resulting Numbers: [7, 52, 71] Generated Node #2: [7, 52, 71] from Operation: 48+23=71 Current State: 26:[7, 52, 71], Operations: ['48+23=71'] Exploring Operation: 52-7=45, Resulting Numbers: [71, 45] Generated Node #3: [71, 45] from Operation: 52-7=45 Current State: 26:[71, 45], Operations: ['48+23=71', '52-7=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 23, 7, 52], Operations: [] Exploring Operation: 52-23=29, Resulting Numbers: [48, 7, 29] Generated Node #0,0: 26:[48, 7, 29] Operation: 52-23=29 Exploring Operation: 48-23=25, Resulting Numbers: [7, 52, 25] Generated Node #0,1: 26:[7, 52, 25] Operation: 48-23=25 Exploring Operation: 52-48=4, Resulting Numbers: [23, 7, 4] Generated Node #0,2: 26:[23, 7, 4] Operation: 52-48=4 Exploring Operation: 48-7=41, Resulting Numbers: [23, 52, 41] Generated Node #0,3: 26:[23, 52, 41] Operation: 48-7=41 Moving to Node #0,2 Current State: 26:[23, 7, 4], Operations: ['52-48=4'] Exploring Operation: 23-7=16, Resulting Numbers: [4, 16] Generated Node #0,2,0: 26:[4, 16] Operation: 23-7=16 Exploring Operation: 7*4=28, Resulting Numbers: [23, 28] Generated Node #0,2,1: 26:[23, 28] Operation: 7*4=28 Exploring Operation: 7+4=11, Resulting Numbers: [23, 11] Generated Node #0,2,2: 26:[23, 11] Operation: 7+4=11 Exploring Operation: 7-4=3, Resulting Numbers: [23, 3] Generated Node #0,2,3: 26:[23, 3] Operation: 7-4=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[23, 3], Operations: ['52-48=4', '7-4=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[48, 23, 7, 52], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [23, 7, 4] Generated Node #0,2: 26:[23, 7, 4] Operation: 52-48=4 Moving to Node #0,2 Current State: 26:[23, 7, 4], Operations: ['52-48=4'] Exploring Operation: 7-4=3, Resulting Numbers: [23, 3] Generated Node #0,2,3: 26:[23, 3] Operation: 7-4=3 Moving to Node #0,2,3 Current State: 26:[23, 3], Operations: ['52-48=4', '7-4=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 50, 73, 38, 30 ]
10
[ "73-38=35", "35-30=5", "50/5=10" ]
Current State: 10:[50, 73, 38, 30], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [50, 30, 35] Generated Node #2: [50, 30, 35] from Operation: 73-38=35 Current State: 10:[50, 30, 35], Operations: ['73-38=35'] Exploring Operation: 35-30=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 35-30=5 Current State: 10:[50, 5], Operations: ['73-38=35', '35-30=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[50, 73, 38, 30], Operations: [] Exploring Operation: 73-50=23, Resulting Numbers: [38, 30, 23] Generated Node #0,0: 10:[38, 30, 23] Operation: 73-50=23 Exploring Operation: 50-30=20, Resulting Numbers: [73, 38, 20] Generated Node #0,1: 10:[73, 38, 20] Operation: 50-30=20 Exploring Operation: 73-38=35, Resulting Numbers: [50, 30, 35] Generated Node #0,2: 10:[50, 30, 35] Operation: 73-38=35 Exploring Operation: 50-38=12, Resulting Numbers: [73, 30, 12] Generated Node #0,3: 10:[73, 30, 12] Operation: 50-38=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[38, 30, 23], Operations: ['73-50=23'] Exploring Operation: 38+30=68, Resulting Numbers: [23, 68] Generated Node #0,0,0: 10:[23, 68] Operation: 38+30=68 Exploring Operation: 38-30=8, Resulting Numbers: [23, 8] Generated Node #0,0,1: 10:[23, 8] Operation: 38-30=8 Exploring Operation: 30-23=7, Resulting Numbers: [38, 7] Generated Node #0,0,2: 10:[38, 7] Operation: 30-23=7 Exploring Operation: 38-23=15, Resulting Numbers: [30, 15] Generated Node #0,0,3: 10:[30, 15] Operation: 38-23=15 Moving to Node #0,0,1 Current State: 10:[23, 8], Operations: ['73-50=23', '38-30=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,10 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[30, 15], Operations: ['73-50=23', '38-23=15'] Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,10 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[38, 7], Operations: ['73-50=23', '30-23=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,10 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[23, 68], Operations: ['73-50=23', '38+30=68'] Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,10 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,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:[50, 30, 35], Operations: ['73-38=35'] Exploring Operation: 50-30=20, Resulting Numbers: [35, 20] Generated Node #0,2,0: 10:[35, 20] Operation: 50-30=20 Exploring Operation: 50+30=80, Resulting Numbers: [35, 80] Generated Node #0,2,1: 10:[35, 80] Operation: 50+30=80 Exploring Operation: 35-30=5, Resulting Numbers: [50, 5] Generated Node #0,2,2: 10:[50, 5] Operation: 35-30=5 Exploring Operation: 50-35=15, Resulting Numbers: [30, 15] Generated Node #0,2,3: 10:[30, 15] Operation: 50-35=15 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[30, 15], Operations: ['73-38=35', '50-35=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,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:[35, 20], Operations: ['73-38=35', '50-30=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,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,2 Current State: 10:[50, 5], Operations: ['73-38=35', '35-30=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[50, 73, 38, 30], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [50, 30, 35] Generated Node #0,2: 10:[50, 30, 35] Operation: 73-38=35 Moving to Node #0,2 Current State: 10:[50, 30, 35], Operations: ['73-38=35'] Exploring Operation: 35-30=5, Resulting Numbers: [50, 5] Generated Node #0,2,2: 10:[50, 5] Operation: 35-30=5 Moving to Node #0,2,2 Current State: 10:[50, 5], Operations: ['73-38=35', '35-30=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 84, 48, 82, 4 ]
49
[ "84+48=132", "132/4=33", "82-33=49" ]
Current State: 49:[84, 48, 82, 4], Operations: [] Exploring Operation: 84+48=132, Resulting Numbers: [82, 4, 132] Generated Node #2: [82, 4, 132] from Operation: 84+48=132 Current State: 49:[82, 4, 132], Operations: ['84+48=132'] Exploring Operation: 132/4=33, Resulting Numbers: [82, 33] Generated Node #3: [82, 33] from Operation: 132/4=33 Current State: 49:[82, 33], Operations: ['84+48=132', '132/4=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[84, 48, 82, 4], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [48, 4, 2] Generated Node #0,0: 49:[48, 4, 2] Operation: 84-82=2 Exploring Operation: 82-48=34, Resulting Numbers: [84, 4, 34] Generated Node #0,1: 49:[84, 4, 34] Operation: 82-48=34 Exploring Operation: 84/4=21, Resulting Numbers: [48, 82, 21] Generated Node #0,2: 49:[48, 82, 21] Operation: 84/4=21 Exploring Operation: 84-4=80, Resulting Numbers: [48, 82, 80] Generated Node #0,3: 49:[48, 82, 80] Operation: 84-4=80 Exploring Operation: 84-48=36, Resulting Numbers: [82, 4, 36] Generated Node #0,4: 49:[82, 4, 36] Operation: 84-48=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[48, 4, 2], Operations: ['84-82=2'] Exploring Operation: 4+2=6, Resulting Numbers: [48, 6] Generated Node #0,0,0: 49:[48, 6] Operation: 4+2=6 Exploring Operation: 4-2=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 49:[48, 2] Operation: 4-2=2 Exploring Operation: 48+2=50, Resulting Numbers: [4, 50] Generated Node #0,0,2: 49:[4, 50] Operation: 48+2=50 Exploring Operation: 48-2=46, Resulting Numbers: [4, 46] Generated Node #0,0,3: 49:[4, 46] Operation: 48-2=46 Exploring Operation: 4*2=8, Resulting Numbers: [48, 8] Generated Node #0,0,4: 49:[48, 8] Operation: 4*2=8 Moving to Node #0,0,0 Current State: 49:[48, 6], Operations: ['84-82=2', '4+2=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,49 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[48, 8], Operations: ['84-82=2', '4*2=8'] Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,49 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[4, 50], Operations: ['84-82=2', '48+2=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,49 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[48, 2], Operations: ['84-82=2', '4-2=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[4, 46], Operations: ['84-82=2', '48-2=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,49 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[48, 82, 21], Operations: ['84/4=21'] Exploring Operation: 48+21=69, Resulting Numbers: [82, 69] Generated Node #0,2,0: 49:[82, 69] Operation: 48+21=69 Exploring Operation: 82+21=103, Resulting Numbers: [48, 103] Generated Node #0,2,1: 49:[48, 103] Operation: 82+21=103 Exploring Operation: 82-48=34, Resulting Numbers: [21, 34] Generated Node #0,2,2: 49:[21, 34] Operation: 82-48=34 Exploring Operation: 82-21=61, Resulting Numbers: [48, 61] Generated Node #0,2,3: 49:[48, 61] Operation: 82-21=61 Exploring Operation: 48-21=27, Resulting Numbers: [82, 27] Generated Node #0,2,4: 49:[82, 27] Operation: 48-21=27 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[48, 61], Operations: ['84/4=21', '82-21=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[21, 34], Operations: ['84/4=21', '82-48=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[82, 69], Operations: ['84/4=21', '48+21=69'] Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,49 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 49:[82, 27], Operations: ['84/4=21', '48-21=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,49 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[48, 103], Operations: ['84/4=21', '82+21=103'] Exploring Operation: 48+103=151, Resulting Numbers: [151] 151,49 unequal: No Solution Exploring Operation: 103-48=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 48*103=4944, Resulting Numbers: [4944] 4944,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[82, 4, 36], Operations: ['84-48=36'] Exploring Operation: 82-4=78, Resulting Numbers: [36, 78] Generated Node #0,4,0: 49:[36, 78] Operation: 82-4=78 Exploring Operation: 36/4=9, Resulting Numbers: [82, 9] Generated Node #0,4,1: 49:[82, 9] Operation: 36/4=9 Exploring Operation: 4+36=40, Resulting Numbers: [82, 40] Generated Node #0,4,2: 49:[82, 40] Operation: 4+36=40 Exploring Operation: 82-36=46, Resulting Numbers: [4, 46] Generated Node #0,4,3: 49:[4, 46] Operation: 82-36=46 Exploring Operation: 82+4=86, Resulting Numbers: [36, 86] Generated Node #0,4,4: 49:[36, 86] Operation: 82+4=86 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[4, 46], Operations: ['84-48=36', '82-36=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,49 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[82, 9], Operations: ['84-48=36', '36/4=9'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,49 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[36, 78], Operations: ['84-48=36', '82-4=78'] Exploring Operation: 36*78=2808, Resulting Numbers: [2808] 2808,49 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 36+78=114, Resulting Numbers: [114] 114,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[82, 40], Operations: ['84-48=36', '4+36=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[36, 86], Operations: ['84-48=36', '82+4=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[84, 4, 34], Operations: ['82-48=34'] Exploring Operation: 84-34=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 49:[4, 50] Operation: 84-34=50 Exploring Operation: 84+4=88, Resulting Numbers: [34, 88] Generated Node #0,1,1: 49:[34, 88] Operation: 84+4=88 Exploring Operation: 4+34=38, Resulting Numbers: [84, 38] Generated Node #0,1,2: 49:[84, 38] Operation: 4+34=38 Exploring Operation: 84-4=80, Resulting Numbers: [34, 80] Generated Node #0,1,3: 49:[34, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [34, 21] Generated Node #0,1,4: 49:[34, 21] Operation: 84/4=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[4, 50], Operations: ['82-48=34', '84-34=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,49 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[34, 21], Operations: ['82-48=34', '84/4=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,49 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[84, 38], Operations: ['82-48=34', '4+34=38'] Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,49 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[34, 80], Operations: ['82-48=34', '84-4=80'] Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,49 unequal: No Solution Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[34, 88], Operations: ['82-48=34', '84+4=88'] Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,49 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[48, 82, 80], Operations: ['84-4=80'] Exploring Operation: 82-48=34, Resulting Numbers: [80, 34] Generated Node #0,3,0: 49:[80, 34] Operation: 82-48=34 Exploring Operation: 48+82=130, Resulting Numbers: [80, 130] Generated Node #0,3,1: 49:[80, 130] Operation: 48+82=130 Exploring Operation: 80-48=32, Resulting Numbers: [82, 32] Generated Node #0,3,2: 49:[82, 32] Operation: 80-48=32 Exploring Operation: 48+80=128, Resulting Numbers: [82, 128] Generated Node #0,3,3: 49:[82, 128] Operation: 48+80=128 Exploring Operation: 82-80=2, Resulting Numbers: [48, 2] Generated Node #0,3,4: 49:[48, 2] Operation: 82-80=2 Moving to Node #0,3,4 Current State: 49:[48, 2], Operations: ['84-4=80', '82-80=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[80, 34], Operations: ['84-4=80', '82-48=34'] Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[82, 32], Operations: ['84-4=80', '80-48=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[80, 130], Operations: ['84-4=80', '48+82=130'] Exploring Operation: 80*130=10400, Resulting Numbers: [10400] 10400,49 unequal: No Solution Exploring Operation: 80+130=210, Resulting Numbers: [210] 210,49 unequal: No Solution Exploring Operation: 130-80=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[82, 128], Operations: ['84-4=80', '48+80=128'] Exploring Operation: 82+128=210, Resulting Numbers: [210] 210,49 unequal: No Solution Exploring Operation: 82*128=10496, Resulting Numbers: [10496] 10496,49 unequal: No Solution Exploring Operation: 128-82=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 1, 89, 76, 52 ]
66
[ "1+89=90", "76-52=24", "90-24=66" ]
Current State: 66:[1, 89, 76, 52], Operations: [] Exploring Operation: 1+89=90, Resulting Numbers: [76, 52, 90] Generated Node #2: [76, 52, 90] from Operation: 1+89=90 Current State: 66:[76, 52, 90], Operations: ['1+89=90'] Exploring Operation: 76-52=24, Resulting Numbers: [90, 24] Generated Node #3: [90, 24] from Operation: 76-52=24 Current State: 66:[90, 24], Operations: ['1+89=90', '76-52=24'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[1, 89, 76, 52], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [1, 89, 24] Generated Node #0,0: 66:[1, 89, 24] Operation: 76-52=24 Exploring Operation: 89-52=37, Resulting Numbers: [1, 76, 37] Generated Node #0,1: 66:[1, 76, 37] Operation: 89-52=37 Exploring Operation: 89-76=13, Resulting Numbers: [1, 52, 13] Generated Node #0,2: 66:[1, 52, 13] Operation: 89-76=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[1, 76, 37], Operations: ['89-52=37'] Exploring Operation: 76-37=39, Resulting Numbers: [1, 39] Generated Node #0,1,0: 66:[1, 39] Operation: 76-37=39 Exploring Operation: 76-1=75, Resulting Numbers: [37, 75] Generated Node #0,1,1: 66:[37, 75] Operation: 76-1=75 Exploring Operation: 37-1=36, Resulting Numbers: [76, 36] Generated Node #0,1,2: 66:[76, 36] Operation: 37-1=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[1, 39], Operations: ['89-52=37', '76-37=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[37, 75], Operations: ['89-52=37', '76-1=75'] Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,66 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,66 unequal: No Solution Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[76, 36], Operations: ['89-52=37', '37-1=36'] Exploring Operation: 76*36=2736, Resulting Numbers: [2736] 2736,66 unequal: No Solution Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[1, 52, 13], Operations: ['89-76=13'] Exploring Operation: 52+13=65, Resulting Numbers: [1, 65] Generated Node #0,2,0: 66:[1, 65] Operation: 52+13=65 Exploring Operation: 52/13=4, Resulting Numbers: [1, 4] Generated Node #0,2,1: 66:[1, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [1, 39] Generated Node #0,2,2: 66:[1, 39] Operation: 52-13=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[1, 65], Operations: ['89-76=13', '52+13=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[1, 89, 76, 52], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [1, 52, 13] Generated Node #0,2: 66:[1, 52, 13] Operation: 89-76=13 Moving to Node #0,2 Current State: 66:[1, 52, 13], Operations: ['89-76=13'] Exploring Operation: 52+13=65, Resulting Numbers: [1, 65] Generated Node #0,2,0: 66:[1, 65] Operation: 52+13=65 Moving to Node #0,2,0 Current State: 66:[1, 65], Operations: ['89-76=13', '52+13=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 64, 4, 72, 62 ]
26
[ "64/4=16", "72-62=10", "16+10=26" ]
Current State: 26:[64, 4, 72, 62], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [72, 62, 16] Generated Node #2: [72, 62, 16] from Operation: 64/4=16 Current State: 26:[72, 62, 16], Operations: ['64/4=16'] Exploring Operation: 72-62=10, Resulting Numbers: [16, 10] Generated Node #3: [16, 10] from Operation: 72-62=10 Current State: 26:[16, 10], Operations: ['64/4=16', '72-62=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[64, 4, 72, 62], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [4, 62, 8] Generated Node #0,0: 26:[4, 62, 8] Operation: 72-64=8 Exploring Operation: 64-62=2, Resulting Numbers: [4, 72, 2] Generated Node #0,1: 26:[4, 72, 2] Operation: 64-62=2 Exploring Operation: 72/4=18, Resulting Numbers: [64, 62, 18] Generated Node #0,2: 26:[64, 62, 18] Operation: 72/4=18 Exploring Operation: 72-62=10, Resulting Numbers: [64, 4, 10] Generated Node #0,3: 26:[64, 4, 10] Operation: 72-62=10 Moving to Node #0,0 Current State: 26:[4, 62, 8], Operations: ['72-64=8'] Exploring Operation: 62-8=54, Resulting Numbers: [4, 54] Generated Node #0,0,0: 26:[4, 54] Operation: 62-8=54 Exploring Operation: 4+8=12, Resulting Numbers: [62, 12] Generated Node #0,0,1: 26:[62, 12] Operation: 4+8=12 Exploring Operation: 62-4=58, Resulting Numbers: [8, 58] Generated Node #0,0,2: 26:[8, 58] Operation: 62-4=58 Exploring Operation: 8/4=2, Resulting Numbers: [62, 2] Generated Node #0,0,3: 26:[62, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[4, 54], Operations: ['72-64=8', '62-8=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,26 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 26:[62, 2], Operations: ['72-64=8', '8/4=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,26 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,26 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[62, 12], Operations: ['72-64=8', '4+8=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[8, 58], Operations: ['72-64=8', '62-4=58'] Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,26 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,26 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: 26:[64, 4, 10], Operations: ['72-62=10'] Exploring Operation: 4+10=14, Resulting Numbers: [64, 14] Generated Node #0,3,0: 26:[64, 14] Operation: 4+10=14 Exploring Operation: 64/4=16, Resulting Numbers: [10, 16] Generated Node #0,3,1: 26:[10, 16] Operation: 64/4=16 Exploring Operation: 64-10=54, Resulting Numbers: [4, 54] Generated Node #0,3,2: 26:[4, 54] Operation: 64-10=54 Exploring Operation: 64-4=60, Resulting Numbers: [10, 60] Generated Node #0,3,3: 26:[10, 60] Operation: 64-4=60 Moving to Node #0,1 Current State: 26:[4, 72, 2], Operations: ['64-62=2'] Exploring Operation: 72-4=68, Resulting Numbers: [2, 68] Generated Node #0,1,0: 26:[2, 68] Operation: 72-4=68 Exploring Operation: 4-2=2, Resulting Numbers: [72, 2] Generated Node #0,1,1: 26:[72, 2] Operation: 4-2=2 Exploring Operation: 72/4=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 26:[2, 18] Operation: 72/4=18 Exploring Operation: 72/2=36, Resulting Numbers: [4, 36] Generated Node #0,1,3: 26:[4, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[2, 18], Operations: ['64-62=2', '72/4=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[4, 36], Operations: ['64-62=2', '72/2=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[2, 68], Operations: ['64-62=2', '72-4=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,26 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[72, 2], Operations: ['64-62=2', '4-2=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,26 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: 26:[64, 62, 18], Operations: ['72/4=18'] Exploring Operation: 64-62=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 26:[18, 2] Operation: 64-62=2 Exploring Operation: 64+18=82, Resulting Numbers: [62, 82] Generated Node #0,2,1: 26:[62, 82] Operation: 64+18=82 Exploring Operation: 64-18=46, Resulting Numbers: [62, 46] Generated Node #0,2,2: 26:[62, 46] Operation: 64-18=46 Exploring Operation: 62-18=44, Resulting Numbers: [64, 44] Generated Node #0,2,3: 26:[64, 44] Operation: 62-18=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[18, 2], Operations: ['72/4=18', '64-62=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,26 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[62, 46], Operations: ['72/4=18', '64-18=46'] Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,26 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[64, 44], Operations: ['72/4=18', '62-18=44'] Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,26 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,26 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[62, 82], Operations: ['72/4=18', '64+18=82'] Exploring Operation: 62*82=5084, Resulting Numbers: [5084] 5084,26 unequal: No Solution Exploring Operation: 62+82=144, Resulting Numbers: [144] 144,26 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,26 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: 26:[10, 16], Operations: ['72-62=10', '64/4=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,26 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[64, 4, 72, 62], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [64, 4, 10] Generated Node #0,3: 26:[64, 4, 10] Operation: 72-62=10 Moving to Node #0,3 Current State: 26:[64, 4, 10], Operations: ['72-62=10'] Exploring Operation: 64/4=16, Resulting Numbers: [10, 16] Generated Node #0,3,1: 26:[10, 16] Operation: 64/4=16 Moving to Node #0,3,1 Current State: 26:[10, 16], Operations: ['72-62=10', '64/4=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 36, 22, 24, 33 ]
51
[ "24-22=2", "36/2=18", "33+18=51" ]
Current State: 51:[36, 22, 24, 33], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [36, 33, 2] Generated Node #2: [36, 33, 2] from Operation: 24-22=2 Current State: 51:[36, 33, 2], Operations: ['24-22=2'] Exploring Operation: 36/2=18, Resulting Numbers: [33, 18] Generated Node #3: [33, 18] from Operation: 36/2=18 Current State: 51:[33, 18], Operations: ['24-22=2', '36/2=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[36, 22, 24, 33], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [22, 24, 3] Generated Node #0,0: 51:[22, 24, 3] Operation: 36-33=3 Exploring Operation: 36-24=12, Resulting Numbers: [22, 33, 12] Generated Node #0,1: 51:[22, 33, 12] Operation: 36-24=12 Exploring Operation: 22+33=55, Resulting Numbers: [36, 24, 55] Generated Node #0,2: 51:[36, 24, 55] Operation: 22+33=55 Exploring Operation: 36-22=14, Resulting Numbers: [24, 33, 14] Generated Node #0,3: 51:[24, 33, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[22, 24, 3], Operations: ['36-33=3'] Exploring Operation: 24-3=21, Resulting Numbers: [22, 21] Generated Node #0,0,0: 51:[22, 21] Operation: 24-3=21 Exploring Operation: 24-22=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 51:[3, 2] Operation: 24-22=2 Exploring Operation: 22-3=19, Resulting Numbers: [24, 19] Generated Node #0,0,2: 51:[24, 19] Operation: 22-3=19 Exploring Operation: 22+24=46, Resulting Numbers: [3, 46] Generated Node #0,0,3: 51:[3, 46] Operation: 22+24=46 Moving to Node #0,0,1 Current State: 51:[3, 2], Operations: ['36-33=3', '24-22=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[3, 46], Operations: ['36-33=3', '22+24=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[24, 19], Operations: ['36-33=3', '22-3=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,51 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[22, 21], Operations: ['36-33=3', '24-3=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,51 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[22, 33, 12], Operations: ['36-24=12'] Exploring Operation: 33-22=11, Resulting Numbers: [12, 11] Generated Node #0,1,0: 51:[12, 11] Operation: 33-22=11 Exploring Operation: 33+12=45, Resulting Numbers: [22, 45] Generated Node #0,1,1: 51:[22, 45] Operation: 33+12=45 Exploring Operation: 22+33=55, Resulting Numbers: [12, 55] Generated Node #0,1,2: 51:[12, 55] Operation: 22+33=55 Exploring Operation: 33-12=21, Resulting Numbers: [22, 21] Generated Node #0,1,3: 51:[22, 21] Operation: 33-12=21 Moving to Node #0,1,2 Current State: 51:[12, 55], Operations: ['36-24=12', '22+33=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,51 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[22, 21], Operations: ['36-24=12', '33-12=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,51 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[22, 45], Operations: ['36-24=12', '33+12=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[12, 11], Operations: ['36-24=12', '33-22=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,51 unequal: No Solution No 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: 51:[36, 24, 55], Operations: ['22+33=55'] Exploring Operation: 55-24=31, Resulting Numbers: [36, 31] Generated Node #0,2,0: 51:[36, 31] Operation: 55-24=31 Exploring Operation: 36+24=60, Resulting Numbers: [55, 60] Generated Node #0,2,1: 51:[55, 60] Operation: 36+24=60 Exploring Operation: 55-36=19, Resulting Numbers: [24, 19] Generated Node #0,2,2: 51:[24, 19] Operation: 55-36=19 Exploring Operation: 36-24=12, Resulting Numbers: [55, 12] Generated Node #0,2,3: 51:[55, 12] Operation: 36-24=12 Moving to Node #0,2,2 Current State: 51:[24, 19], Operations: ['22+33=55', '55-36=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,51 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[55, 12], Operations: ['22+33=55', '36-24=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,51 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[55, 60], Operations: ['22+33=55', '36+24=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,51 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[36, 31], Operations: ['22+33=55', '55-24=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,51 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,51 unequal: No Solution No 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: 51:[24, 33, 14], Operations: ['36-22=14'] Exploring Operation: 33-14=19, Resulting Numbers: [24, 19] Generated Node #0,3,0: 51:[24, 19] Operation: 33-14=19 Exploring Operation: 24+33=57, Resulting Numbers: [14, 57] Generated Node #0,3,1: 51:[14, 57] Operation: 24+33=57 Exploring Operation: 33+14=47, Resulting Numbers: [24, 47] Generated Node #0,3,2: 51:[24, 47] Operation: 33+14=47 Exploring Operation: 33-24=9, Resulting Numbers: [14, 9] Generated Node #0,3,3: 51:[14, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[24, 19], Operations: ['36-22=14', '33-14=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[14, 57], Operations: ['36-22=14', '24+33=57'] Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,51 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[14, 9], Operations: ['36-22=14', '33-24=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[24, 47], Operations: ['36-22=14', '33+14=47'] Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,51 unequal: No Solution Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,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_4
sum_heuristic
[ 18, 37, 10, 93 ]
97
[ "37-18=19", "10*19=190", "190-93=97" ]
Current State: 97:[18, 37, 10, 93], Operations: [] Exploring Operation: 37-18=19, Resulting Numbers: [10, 93, 19] Generated Node #2: [10, 93, 19] from Operation: 37-18=19 Current State: 97:[10, 93, 19], Operations: ['37-18=19'] Exploring Operation: 10*19=190, Resulting Numbers: [93, 190] Generated Node #3: [93, 190] from Operation: 10*19=190 Current State: 97:[93, 190], Operations: ['37-18=19', '10*19=190'] Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[18, 37, 10, 93], Operations: [] Exploring Operation: 18+37=55, Resulting Numbers: [10, 93, 55] Generated Node #0,0: 97:[10, 93, 55] Operation: 18+37=55 Exploring Operation: 18+10=28, Resulting Numbers: [37, 93, 28] Generated Node #0,1: 97:[37, 93, 28] Operation: 18+10=28 Exploring Operation: 37+10=47, Resulting Numbers: [18, 93, 47] Generated Node #0,2: 97:[18, 93, 47] Operation: 37+10=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[10, 93, 55], Operations: ['18+37=55'] Exploring Operation: 10+93=103, Resulting Numbers: [55, 103] Generated Node #0,0,0: 97:[55, 103] Operation: 10+93=103 Exploring Operation: 10+55=65, Resulting Numbers: [93, 65] Generated Node #0,0,1: 97:[93, 65] Operation: 10+55=65 Exploring Operation: 93-10=83, Resulting Numbers: [55, 83] Generated Node #0,0,2: 97:[55, 83] Operation: 93-10=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[93, 65], Operations: ['18+37=55', '10+55=65'] Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,97 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[55, 103], Operations: ['18+37=55', '10+93=103'] Exploring Operation: 103-55=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 55*103=5665, Resulting Numbers: [5665] 5665,97 unequal: No Solution Exploring Operation: 55+103=158, Resulting Numbers: [158] 158,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[55, 83], Operations: ['18+37=55', '93-10=83'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 55+83=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 55*83=4565, Resulting Numbers: [4565] 4565,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[37, 93, 28], Operations: ['18+10=28'] Exploring Operation: 37-28=9, Resulting Numbers: [93, 9] Generated Node #0,1,0: 97:[93, 9] Operation: 37-28=9 Exploring Operation: 93+28=121, Resulting Numbers: [37, 121] Generated Node #0,1,1: 97:[37, 121] Operation: 93+28=121 Exploring Operation: 37+28=65, Resulting Numbers: [93, 65] Generated Node #0,1,2: 97:[93, 65] Operation: 37+28=65 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[93, 65], Operations: ['18+10=28', '37+28=65'] Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,97 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[37, 121], Operations: ['18+10=28', '93+28=121'] Exploring Operation: 37+121=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 121-37=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 37*121=4477, Resulting Numbers: [4477] 4477,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[93, 9], Operations: ['18+10=28', '37-28=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,97 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[18, 93, 47], Operations: ['37+10=47'] Exploring Operation: 18+93=111, Resulting Numbers: [47, 111] Generated Node #0,2,0: 97:[47, 111] Operation: 18+93=111 Exploring Operation: 93-18=75, Resulting Numbers: [47, 75] Generated Node #0,2,1: 97:[47, 75] Operation: 93-18=75 Exploring Operation: 18+47=65, Resulting Numbers: [93, 65] Generated Node #0,2,2: 97:[93, 65] Operation: 18+47=65 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[93, 65], Operations: ['37+10=47', '18+47=65'] Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[47, 111], Operations: ['37+10=47', '18+93=111'] Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[47, 75], Operations: ['37+10=47', '93-18=75'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,97 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 94, 18, 61, 52 ]
85
[ "94-18=76", "61-52=9", "76+9=85" ]
Current State: 85:[94, 18, 61, 52], Operations: [] Exploring Operation: 94-18=76, Resulting Numbers: [61, 52, 76] Generated Node #2: [61, 52, 76] from Operation: 94-18=76 Current State: 85:[61, 52, 76], Operations: ['94-18=76'] Exploring Operation: 61-52=9, Resulting Numbers: [76, 9] Generated Node #3: [76, 9] from Operation: 61-52=9 Current State: 85:[76, 9], Operations: ['94-18=76', '61-52=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[94, 18, 61, 52], Operations: [] Exploring Operation: 18+61=79, Resulting Numbers: [94, 52, 79] Generated Node #0,0: 85:[94, 52, 79] Operation: 18+61=79 Exploring Operation: 61-52=9, Resulting Numbers: [94, 18, 9] Generated Node #0,1: 85:[94, 18, 9] Operation: 61-52=9 Exploring Operation: 18+52=70, Resulting Numbers: [94, 61, 70] Generated Node #0,2: 85:[94, 61, 70] Operation: 18+52=70 Exploring Operation: 61+52=113, Resulting Numbers: [94, 18, 113] Generated Node #0,3: 85:[94, 18, 113] Operation: 61+52=113 Moving to Node #0,1 Current State: 85:[94, 18, 9], Operations: ['61-52=9'] Exploring Operation: 94-18=76, Resulting Numbers: [9, 76] Generated Node #0,1,0: 85:[9, 76] Operation: 94-18=76 Exploring Operation: 94-9=85, Resulting Numbers: [18, 85] Generated Node #0,1,1: 85:[18, 85] Operation: 94-9=85 Exploring Operation: 18/9=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 85:[94, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [94, 9] Generated Node #0,1,3: 85:[94, 9] Operation: 18-9=9 Moving to Node #0,3 Current State: 85:[94, 18, 113], Operations: ['61+52=113'] Exploring Operation: 94+18=112, Resulting Numbers: [113, 112] Generated Node #0,3,0: 85:[113, 112] Operation: 94+18=112 Exploring Operation: 94-18=76, Resulting Numbers: [113, 76] Generated Node #0,3,1: 85:[113, 76] Operation: 94-18=76 Exploring Operation: 113-18=95, Resulting Numbers: [94, 95] Generated Node #0,3,2: 85:[94, 95] Operation: 113-18=95 Exploring Operation: 113-94=19, Resulting Numbers: [18, 19] Generated Node #0,3,3: 85:[18, 19] Operation: 113-94=19 Moving to Node #0,2 Current State: 85:[94, 61, 70], Operations: ['18+52=70'] Exploring Operation: 94-61=33, Resulting Numbers: [70, 33] Generated Node #0,2,0: 85:[70, 33] Operation: 94-61=33 Exploring Operation: 61+70=131, Resulting Numbers: [94, 131] Generated Node #0,2,1: 85:[94, 131] Operation: 61+70=131 Exploring Operation: 94-70=24, Resulting Numbers: [61, 24] Generated Node #0,2,2: 85:[61, 24] Operation: 94-70=24 Exploring Operation: 70-61=9, Resulting Numbers: [94, 9] Generated Node #0,2,3: 85:[94, 9] Operation: 70-61=9 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 85:[94, 9], Operations: ['18+52=70', '70-61=9'] Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,85 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[94, 18, 61, 52], Operations: [] Exploring Operation: 18+52=70, Resulting Numbers: [94, 61, 70] Generated Node #0,2: 85:[94, 61, 70] Operation: 18+52=70 Moving to Node #0,2 Current State: 85:[94, 61, 70], Operations: ['18+52=70'] Exploring Operation: 70-61=9, Resulting Numbers: [94, 9] Generated Node #0,2,3: 85:[94, 9] Operation: 70-61=9 Moving to Node #0,2,3 Current State: 85:[94, 9], Operations: ['18+52=70', '70-61=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 92, 35, 80, 55 ]
32
[ "92-35=57", "80-55=25", "57-25=32" ]
Current State: 32:[92, 35, 80, 55], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [80, 55, 57] Generated Node #2: [80, 55, 57] from Operation: 92-35=57 Current State: 32:[80, 55, 57], Operations: ['92-35=57'] Exploring Operation: 80-55=25, Resulting Numbers: [57, 25] Generated Node #3: [57, 25] from Operation: 80-55=25 Current State: 32:[57, 25], Operations: ['92-35=57', '80-55=25'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[92, 35, 80, 55], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [35, 80, 37] Generated Node #0,0: 32:[35, 80, 37] Operation: 92-55=37 Exploring Operation: 80-55=25, Resulting Numbers: [92, 35, 25] Generated Node #0,1: 32:[92, 35, 25] Operation: 80-55=25 Exploring Operation: 92-80=12, Resulting Numbers: [35, 55, 12] Generated Node #0,2: 32:[35, 55, 12] Operation: 92-80=12 Moving to Node #0,2 Current State: 32:[35, 55, 12], Operations: ['92-80=12'] Exploring Operation: 55-35=20, Resulting Numbers: [12, 20] Generated Node #0,2,0: 32:[12, 20] Operation: 55-35=20 Exploring Operation: 55-12=43, Resulting Numbers: [35, 43] Generated Node #0,2,1: 32:[35, 43] Operation: 55-12=43 Exploring Operation: 35-12=23, Resulting Numbers: [55, 23] Generated Node #0,2,2: 32:[55, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[12, 20], Operations: ['92-80=12', '55-35=20'] Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,32 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[92, 35, 80, 55], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [35, 55, 12] Generated Node #0,2: 32:[35, 55, 12] Operation: 92-80=12 Moving to Node #0,2 Current State: 32:[35, 55, 12], Operations: ['92-80=12'] Exploring Operation: 55-35=20, Resulting Numbers: [12, 20] Generated Node #0,2,0: 32:[12, 20] Operation: 55-35=20 Moving to Node #0,2,0 Current State: 32:[12, 20], Operations: ['92-80=12', '55-35=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 63, 27, 9, 20 ]
81
[ "63*9=567", "27-20=7", "567/7=81" ]
Current State: 81:[63, 27, 9, 20], Operations: [] Exploring Operation: 63*9=567, Resulting Numbers: [27, 20, 567] Generated Node #2: [27, 20, 567] from Operation: 63*9=567 Current State: 81:[27, 20, 567], Operations: ['63*9=567'] Exploring Operation: 27-20=7, Resulting Numbers: [567, 7] Generated Node #3: [567, 7] from Operation: 27-20=7 Current State: 81:[567, 7], Operations: ['63*9=567', '27-20=7'] Exploring Operation: 567/7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[63, 27, 9, 20], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [9, 20, 36] Generated Node #0,0: 81:[9, 20, 36] Operation: 63-27=36 Exploring Operation: 63/9=7, Resulting Numbers: [27, 20, 7] Generated Node #0,1: 81:[27, 20, 7] Operation: 63/9=7 Exploring Operation: 63+27=90, Resulting Numbers: [9, 20, 90] Generated Node #0,2: 81:[9, 20, 90] Operation: 63+27=90 Exploring Operation: 63+20=83, Resulting Numbers: [27, 9, 83] Generated Node #0,3: 81:[27, 9, 83] Operation: 63+20=83 Moving to Node #0,3 Current State: 81:[27, 9, 83], Operations: ['63+20=83'] Exploring Operation: 27-9=18, Resulting Numbers: [83, 18] Generated Node #0,3,0: 81:[83, 18] Operation: 27-9=18 Exploring Operation: 27+9=36, Resulting Numbers: [83, 36] Generated Node #0,3,1: 81:[83, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #0,3,2: 81:[83, 3] Operation: 27/9=3 Exploring Operation: 83-9=74, Resulting Numbers: [27, 74] Generated Node #0,3,3: 81:[27, 74] Operation: 83-9=74 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[83, 3], Operations: ['63+20=83', '27/9=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[27, 74], Operations: ['63+20=83', '83-9=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,81 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[83, 18], Operations: ['63+20=83', '27-9=18'] Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[83, 36], Operations: ['63+20=83', '27+9=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,81 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,81 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,81 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: 81:[27, 20, 7], Operations: ['63/9=7'] Exploring Operation: 27+7=34, Resulting Numbers: [20, 34] Generated Node #0,1,0: 81:[20, 34] Operation: 27+7=34 Exploring Operation: 20+7=27, Resulting Numbers: [27, 27] Generated Node #0,1,1: 81:[27, 27] Operation: 20+7=27 Exploring Operation: 27-20=7, Resulting Numbers: [7, 7] Generated Node #0,1,2: 81:[7, 7] Operation: 27-20=7 Exploring Operation: 20-7=13, Resulting Numbers: [27, 13] Generated Node #0,1,3: 81:[27, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[27, 27], Operations: ['63/9=7', '20+7=27'] Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 27*27=729, Resulting Numbers: [729] 729,81 unequal: No Solution Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[7, 7], Operations: ['63/9=7', '27-20=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[27, 13], Operations: ['63/9=7', '20-7=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[20, 34], Operations: ['63/9=7', '27+7=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,81 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 81:[9, 20, 90], Operations: ['63+27=90'] Exploring Operation: 9+20=29, Resulting Numbers: [90, 29] Generated Node #0,2,0: 81:[90, 29] Operation: 9+20=29 Exploring Operation: 90/9=10, Resulting Numbers: [20, 10] Generated Node #0,2,1: 81:[20, 10] Operation: 90/9=10 Exploring Operation: 20-9=11, Resulting Numbers: [90, 11] Generated Node #0,2,2: 81:[90, 11] Operation: 20-9=11 Exploring Operation: 90-9=81, Resulting Numbers: [20, 81] Generated Node #0,2,3: 81:[20, 81] Operation: 90-9=81 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[20, 81], Operations: ['63+27=90', '90-9=81'] Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 20*81=1620, Resulting Numbers: [1620] 1620,81 unequal: No Solution Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[20, 10], Operations: ['63+27=90', '90/9=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,81 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[90, 29], Operations: ['63+27=90', '9+20=29'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,81 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[90, 11], Operations: ['63+27=90', '20-9=11'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,81 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: 81:[9, 20, 36], Operations: ['63-27=36'] Exploring Operation: 36-20=16, Resulting Numbers: [9, 16] Generated Node #0,0,0: 81:[9, 16] Operation: 36-20=16 Exploring Operation: 9+20=29, Resulting Numbers: [36, 29] Generated Node #0,0,1: 81:[36, 29] Operation: 9+20=29 Exploring Operation: 36/9=4, Resulting Numbers: [20, 4] Generated Node #0,0,2: 81:[20, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [20, 27] Generated Node #0,0,3: 81:[20, 27] Operation: 36-9=27 Moving to Node #0,0,0 Current State: 81:[9, 16], Operations: ['63-27=36', '36-20=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[20, 27], Operations: ['63-27=36', '36-9=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,81 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[20, 4], Operations: ['63-27=36', '36/9=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[36, 29], Operations: ['63-27=36', '9+20=29'] Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,81 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 59, 48, 32, 4 ]
99
[ "59+48=107", "32/4=8", "107-8=99" ]
Current State: 99:[59, 48, 32, 4], Operations: [] Exploring Operation: 59+48=107, Resulting Numbers: [32, 4, 107] Generated Node #2: [32, 4, 107] from Operation: 59+48=107 Current State: 99:[32, 4, 107], Operations: ['59+48=107'] Exploring Operation: 32/4=8, Resulting Numbers: [107, 8] Generated Node #3: [107, 8] from Operation: 32/4=8 Current State: 99:[107, 8], Operations: ['59+48=107', '32/4=8'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[59, 48, 32, 4], Operations: [] Exploring Operation: 59+48=107, Resulting Numbers: [32, 4, 107] Generated Node #0,0: 99:[32, 4, 107] Operation: 59+48=107 Exploring Operation: 59-48=11, Resulting Numbers: [32, 4, 11] Generated Node #0,1: 99:[32, 4, 11] Operation: 59-48=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[32, 4, 11], Operations: ['59-48=11'] Exploring Operation: 32+4=36, Resulting Numbers: [11, 36] Generated Node #0,1,0: 99:[11, 36] Operation: 32+4=36 Exploring Operation: 32/4=8, Resulting Numbers: [11, 8] Generated Node #0,1,1: 99:[11, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[11, 8], Operations: ['59-48=11', '32/4=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[11, 36], Operations: ['59-48=11', '32+4=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[32, 4, 107], Operations: ['59+48=107'] Exploring Operation: 107-4=103, Resulting Numbers: [32, 103] Generated Node #0,0,0: 99:[32, 103] Operation: 107-4=103 Exploring Operation: 32/4=8, Resulting Numbers: [107, 8] Generated Node #0,0,1: 99:[107, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[32, 103], Operations: ['59+48=107', '107-4=103'] Exploring Operation: 32+103=135, Resulting Numbers: [135] 135,99 unequal: No Solution Exploring Operation: 103-32=71, Resulting Numbers: [71] 71,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[107, 8], Operations: ['59+48=107', '32/4=8'] Exploring Operation: 107+8=115, Resulting Numbers: [115] 115,99 unequal: No Solution Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[59, 48, 32, 4], Operations: [] Exploring Operation: 59+48=107, Resulting Numbers: [32, 4, 107] Generated Node #0,0: 99:[32, 4, 107] Operation: 59+48=107 Moving to Node #0,0 Current State: 99:[32, 4, 107], Operations: ['59+48=107'] Exploring Operation: 32/4=8, Resulting Numbers: [107, 8] Generated Node #0,0,1: 99:[107, 8] Operation: 32/4=8 Moving to Node #0,0,1 Current State: 99:[107, 8], Operations: ['59+48=107', '32/4=8'] Exploring Operation: 107-8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 70, 7, 8, 56 ]
54
[ "70/7=10", "8+56=64", "64-10=54" ]
Current State: 54:[70, 7, 8, 56], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [8, 56, 10] Generated Node #2: [8, 56, 10] from Operation: 70/7=10 Current State: 54:[8, 56, 10], Operations: ['70/7=10'] Exploring Operation: 8+56=64, Resulting Numbers: [10, 64] Generated Node #3: [10, 64] from Operation: 8+56=64 Current State: 54:[10, 64], Operations: ['70/7=10', '8+56=64'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[70, 7, 8, 56], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [8, 56, 10] Generated Node #0,0: 54:[8, 56, 10] Operation: 70/7=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[8, 56, 10], Operations: ['70/7=10'] Exploring Operation: 56/8=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 54:[10, 7] Operation: 56/8=7 Moving to Node #0,0,0 Current State: 54:[10, 7], Operations: ['70/7=10', '56/8=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 99, 90, 66, 2 ]
84
[ "99-90=9", "2*9=18", "66+18=84" ]
Current State: 84:[99, 90, 66, 2], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [66, 2, 9] Generated Node #2: [66, 2, 9] from Operation: 99-90=9 Current State: 84:[66, 2, 9], Operations: ['99-90=9'] Exploring Operation: 2*9=18, Resulting Numbers: [66, 18] Generated Node #3: [66, 18] from Operation: 2*9=18 Current State: 84:[66, 18], Operations: ['99-90=9', '2*9=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[99, 90, 66, 2], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [99, 2, 24] Generated Node #0,0: 84:[99, 2, 24] Operation: 90-66=24 Exploring Operation: 99-66=33, Resulting Numbers: [90, 2, 33] Generated Node #0,1: 84:[90, 2, 33] Operation: 99-66=33 Moving to Node #0,1 Current State: 84:[90, 2, 33], Operations: ['99-66=33'] Exploring Operation: 90-2=88, Resulting Numbers: [33, 88] Generated Node #0,1,0: 84:[33, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [33, 45] Generated Node #0,1,1: 84:[33, 45] Operation: 90/2=45 Moving to Node #0,0 Current State: 84:[99, 2, 24], Operations: ['90-66=24'] Exploring Operation: 24/2=12, Resulting Numbers: [99, 12] Generated Node #0,0,0: 84:[99, 12] Operation: 24/2=12 Exploring Operation: 99-24=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 84:[2, 75] Operation: 99-24=75 Moving to Node #0,1,1 Current State: 84:[33, 45], Operations: ['99-66=33', '90/2=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[2, 75], Operations: ['90-66=24', '99-24=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[33, 88], Operations: ['99-66=33', '90-2=88'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[99, 12], Operations: ['90-66=24', '24/2=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 99+12=111, Resulting Numbers: [111] 111,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 88, 87, 53, 64 ]
11
[ "88-87=1", "64-53=11", "1*11=11" ]
Current State: 11:[88, 87, 53, 64], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [53, 64, 1] Generated Node #2: [53, 64, 1] from Operation: 88-87=1 Current State: 11:[53, 64, 1], Operations: ['88-87=1'] Exploring Operation: 64-53=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 64-53=11 Current State: 11:[1, 11], Operations: ['88-87=1', '64-53=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[88, 87, 53, 64], Operations: [] Exploring Operation: 88-53=35, Resulting Numbers: [87, 64, 35] Generated Node #0,0: 11:[87, 64, 35] Operation: 88-53=35 Exploring Operation: 88-87=1, Resulting Numbers: [53, 64, 1] Generated Node #0,1: 11:[53, 64, 1] Operation: 88-87=1 Exploring Operation: 87-53=34, Resulting Numbers: [88, 64, 34] Generated Node #0,2: 11:[88, 64, 34] Operation: 87-53=34 Exploring Operation: 88-64=24, Resulting Numbers: [87, 53, 24] Generated Node #0,3: 11:[87, 53, 24] Operation: 88-64=24 Exploring Operation: 87-64=23, Resulting Numbers: [88, 53, 23] Generated Node #0,4: 11:[88, 53, 23] Operation: 87-64=23 Moving to Node #0,1 Current State: 11:[53, 64, 1], Operations: ['88-87=1'] Exploring Operation: 64-53=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 11:[1, 11] Operation: 64-53=11 Exploring Operation: 53-1=52, Resulting Numbers: [64, 52] Generated Node #0,1,1: 11:[64, 52] Operation: 53-1=52 Exploring Operation: 64-1=63, Resulting Numbers: [53, 63] Generated Node #0,1,2: 11:[53, 63] Operation: 64-1=63 Exploring Operation: 53/1=53, Resulting Numbers: [64, 53] Generated Node #0,1,3: 11:[64, 53] Operation: 53/1=53 Exploring Operation: 53*1=53, Resulting Numbers: [64, 53] Generated Node #0,1,4: 11:[64, 53] Operation: 53*1=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[1, 11], Operations: ['88-87=1', '64-53=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[88, 87, 53, 64], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [53, 64, 1] Generated Node #0,1: 11:[53, 64, 1] Operation: 88-87=1 Moving to Node #0,1 Current State: 11:[53, 64, 1], Operations: ['88-87=1'] Exploring Operation: 64-53=11, Resulting Numbers: [1, 11] Generated Node #0,1,0: 11:[1, 11] Operation: 64-53=11 Moving to Node #0,1,0 Current State: 11:[1, 11], Operations: ['88-87=1', '64-53=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 98, 27, 79 ]
53
[ "7+98=105", "79-27=52", "105-52=53" ]
Current State: 53:[7, 98, 27, 79], Operations: [] Exploring Operation: 7+98=105, Resulting Numbers: [27, 79, 105] Generated Node #2: [27, 79, 105] from Operation: 7+98=105 Current State: 53:[27, 79, 105], Operations: ['7+98=105'] Exploring Operation: 79-27=52, Resulting Numbers: [105, 52] Generated Node #3: [105, 52] from Operation: 79-27=52 Current State: 53:[105, 52], Operations: ['7+98=105', '79-27=52'] Exploring Operation: 105-52=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[7, 98, 27, 79], Operations: [] Exploring Operation: 98-7=91, Resulting Numbers: [27, 79, 91] Generated Node #0,0: 53:[27, 79, 91] Operation: 98-7=91 Moving to Node #0,0 Current State: 53:[27, 79, 91], Operations: ['98-7=91'] Exploring Operation: 91-27=64, Resulting Numbers: [79, 64] Generated Node #0,0,0: 53:[79, 64] Operation: 91-27=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[79, 64], Operations: ['98-7=91', '91-27=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,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
sum_heuristic
[ 17, 72, 83, 85 ]
53
[ "72-17=55", "85-83=2", "55-2=53" ]
Current State: 53:[17, 72, 83, 85], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [83, 85, 55] Generated Node #2: [83, 85, 55] from Operation: 72-17=55 Current State: 53:[83, 85, 55], Operations: ['72-17=55'] Exploring Operation: 85-83=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 85-83=2 Current State: 53:[55, 2], Operations: ['72-17=55', '85-83=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[17, 72, 83, 85], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [72, 83, 68] Generated Node #0,0: 53:[72, 83, 68] Operation: 85-17=68 Exploring Operation: 83-17=66, Resulting Numbers: [72, 85, 66] Generated Node #0,1: 53:[72, 85, 66] Operation: 83-17=66 Exploring Operation: 72-17=55, Resulting Numbers: [83, 85, 55] Generated Node #0,2: 53:[83, 85, 55] Operation: 72-17=55 Exploring Operation: 85/17=5, Resulting Numbers: [72, 83, 5] Generated Node #0,3: 53:[72, 83, 5] Operation: 85/17=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[72, 83, 68], Operations: ['85-17=68'] Exploring Operation: 83-72=11, Resulting Numbers: [68, 11] Generated Node #0,0,0: 53:[68, 11] Operation: 83-72=11 Exploring Operation: 72+83=155, Resulting Numbers: [68, 155] Generated Node #0,0,1: 53:[68, 155] Operation: 72+83=155 Exploring Operation: 72-68=4, Resulting Numbers: [83, 4] Generated Node #0,0,2: 53:[83, 4] Operation: 72-68=4 Exploring Operation: 83-68=15, Resulting Numbers: [72, 15] Generated Node #0,0,3: 53:[72, 15] Operation: 83-68=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[68, 11], Operations: ['85-17=68', '83-72=11'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,53 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[72, 15], Operations: ['85-17=68', '83-68=15'] Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[83, 4], Operations: ['85-17=68', '72-68=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,53 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[68, 155], Operations: ['85-17=68', '72+83=155'] Exploring Operation: 68+155=223, Resulting Numbers: [223] 223,53 unequal: No Solution Exploring Operation: 155-68=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 68*155=10540, Resulting Numbers: [10540] 10540,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[72, 85, 66], Operations: ['83-17=66'] Exploring Operation: 72-66=6, Resulting Numbers: [85, 6] Generated Node #0,1,0: 53:[85, 6] Operation: 72-66=6 Exploring Operation: 72+85=157, Resulting Numbers: [66, 157] Generated Node #0,1,1: 53:[66, 157] Operation: 72+85=157 Exploring Operation: 85-66=19, Resulting Numbers: [72, 19] Generated Node #0,1,2: 53:[72, 19] Operation: 85-66=19 Exploring Operation: 85-72=13, Resulting Numbers: [66, 13] Generated Node #0,1,3: 53:[66, 13] Operation: 85-72=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[72, 19], Operations: ['83-17=66', '85-66=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,53 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[17, 72, 83, 85], Operations: [] Exploring Operation: 83-17=66, Resulting Numbers: [72, 85, 66] Generated Node #0,1: 53:[72, 85, 66] Operation: 83-17=66 Moving to Node #0,1 Current State: 53:[72, 85, 66], Operations: ['83-17=66'] Exploring Operation: 85-66=19, Resulting Numbers: [72, 19] Generated Node #0,1,2: 53:[72, 19] Operation: 85-66=19 Moving to Node #0,1,2 Current State: 53:[72, 19], Operations: ['83-17=66', '85-66=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 36, 73, 10, 15 ]
19
[ "36*15=540", "540/10=54", "73-54=19" ]
Current State: 19:[36, 73, 10, 15], Operations: [] Exploring Operation: 36*15=540, Resulting Numbers: [73, 10, 540] Generated Node #2: [73, 10, 540] from Operation: 36*15=540 Current State: 19:[73, 10, 540], Operations: ['36*15=540'] Exploring Operation: 540/10=54, Resulting Numbers: [73, 54] Generated Node #3: [73, 54] from Operation: 540/10=54 Current State: 19:[73, 54], Operations: ['36*15=540', '540/10=54'] Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 73, 10, 15], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [10, 15, 37] Generated Node #0,0: 19:[10, 15, 37] Operation: 73-36=37 Exploring Operation: 36-10=26, Resulting Numbers: [73, 15, 26] Generated Node #0,1: 19:[73, 15, 26] Operation: 36-10=26 Moving to Node #0,0 Current State: 19:[10, 15, 37], Operations: ['73-36=37'] Exploring Operation: 37-10=27, Resulting Numbers: [15, 27] Generated Node #0,0,0: 19:[15, 27] Operation: 37-10=27 Exploring Operation: 37-15=22, Resulting Numbers: [10, 22] Generated Node #0,0,1: 19:[10, 22] Operation: 37-15=22 Moving to Node #0,1 Current State: 19:[73, 15, 26], Operations: ['36-10=26'] Exploring Operation: 73-15=58, Resulting Numbers: [26, 58] Generated Node #0,1,0: 19:[26, 58] Operation: 73-15=58 Exploring Operation: 73-26=47, Resulting Numbers: [15, 47] Generated Node #0,1,1: 19:[15, 47] Operation: 73-26=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[15, 47], Operations: ['36-10=26', '73-26=47'] Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,19 unequal: No Solution No 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: 19:[26, 58], Operations: ['36-10=26', '73-15=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 19:[15, 27], Operations: ['73-36=37', '37-10=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[10, 22], Operations: ['73-36=37', '37-15=22'] Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 89, 97, 24, 59 ]
43
[ "97-89=8", "59-24=35", "8+35=43" ]
Current State: 43:[89, 97, 24, 59], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [24, 59, 8] Generated Node #2: [24, 59, 8] from Operation: 97-89=8 Current State: 43:[24, 59, 8], Operations: ['97-89=8'] Exploring Operation: 59-24=35, Resulting Numbers: [8, 35] Generated Node #3: [8, 35] from Operation: 59-24=35 Current State: 43:[8, 35], Operations: ['97-89=8', '59-24=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[89, 97, 24, 59], Operations: [] Exploring Operation: 97-59=38, Resulting Numbers: [89, 24, 38] Generated Node #0,0: 43:[89, 24, 38] Operation: 97-59=38 Exploring Operation: 97-89=8, Resulting Numbers: [24, 59, 8] Generated Node #0,1: 43:[24, 59, 8] Operation: 97-89=8 Exploring Operation: 89-24=65, Resulting Numbers: [97, 59, 65] Generated Node #0,2: 43:[97, 59, 65] Operation: 89-24=65 Exploring Operation: 89-59=30, Resulting Numbers: [97, 24, 30] Generated Node #0,3: 43:[97, 24, 30] Operation: 89-59=30 Exploring Operation: 97-24=73, Resulting Numbers: [89, 59, 73] Generated Node #0,4: 43:[89, 59, 73] Operation: 97-24=73 Moving to Node #0,0 Current State: 43:[89, 24, 38], Operations: ['97-59=38'] Exploring Operation: 89+24=113, Resulting Numbers: [38, 113] Generated Node #0,0,0: 43:[38, 113] Operation: 89+24=113 Exploring Operation: 89-38=51, Resulting Numbers: [24, 51] Generated Node #0,0,1: 43:[24, 51] Operation: 89-38=51 Exploring Operation: 89-24=65, Resulting Numbers: [38, 65] Generated Node #0,0,2: 43:[38, 65] Operation: 89-24=65 Exploring Operation: 38-24=14, Resulting Numbers: [89, 14] Generated Node #0,0,3: 43:[89, 14] Operation: 38-24=14 Exploring Operation: 24+38=62, Resulting Numbers: [89, 62] Generated Node #0,0,4: 43:[89, 62] Operation: 24+38=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[24, 51], Operations: ['97-59=38', '89-38=51'] Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[38, 65], Operations: ['97-59=38', '89-24=65'] Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,43 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,43 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[89, 62], Operations: ['97-59=38', '24+38=62'] Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,43 unequal: No Solution Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,43 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[38, 113], Operations: ['97-59=38', '89+24=113'] Exploring Operation: 38+113=151, Resulting Numbers: [151] 151,43 unequal: No Solution Exploring Operation: 113-38=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 38*113=4294, Resulting Numbers: [4294] 4294,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[89, 14], Operations: ['97-59=38', '38-24=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,43 unequal: No Solution Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[24, 59, 8], Operations: ['97-89=8'] Exploring Operation: 24-8=16, Resulting Numbers: [59, 16] Generated Node #0,1,0: 43:[59, 16] Operation: 24-8=16 Exploring Operation: 59-24=35, Resulting Numbers: [8, 35] Generated Node #0,1,1: 43:[8, 35] Operation: 59-24=35 Exploring Operation: 59+8=67, Resulting Numbers: [24, 67] Generated Node #0,1,2: 43:[24, 67] Operation: 59+8=67 Exploring Operation: 59-8=51, Resulting Numbers: [24, 51] Generated Node #0,1,3: 43:[24, 51] Operation: 59-8=51 Exploring Operation: 24+8=32, Resulting Numbers: [59, 32] Generated Node #0,1,4: 43:[59, 32] Operation: 24+8=32 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[24, 51], Operations: ['97-89=8', '59-8=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,43 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 43:[59, 32], Operations: ['97-89=8', '24+8=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[59, 16], Operations: ['97-89=8', '24-8=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[89, 97, 24, 59], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [24, 59, 8] Generated Node #0,1: 43:[24, 59, 8] Operation: 97-89=8 Moving to Node #0,1 Current State: 43:[24, 59, 8], Operations: ['97-89=8'] Exploring Operation: 24-8=16, Resulting Numbers: [59, 16] Generated Node #0,1,0: 43:[59, 16] Operation: 24-8=16 Moving to Node #0,1,0 Current State: 43:[59, 16], Operations: ['97-89=8', '24-8=16'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 19, 20, 43, 36 ]
97
[ "19*43=817", "20*36=720", "817-720=97" ]
Current State: 97:[19, 20, 43, 36], Operations: [] Exploring Operation: 19*43=817, Resulting Numbers: [20, 36, 817] Generated Node #2: [20, 36, 817] from Operation: 19*43=817 Current State: 97:[20, 36, 817], Operations: ['19*43=817'] Exploring Operation: 20*36=720, Resulting Numbers: [817, 720] Generated Node #3: [817, 720] from Operation: 20*36=720 Current State: 97:[817, 720], Operations: ['19*43=817', '20*36=720'] Exploring Operation: 817-720=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[19, 20, 43, 36], Operations: [] Exploring Operation: 20+43=63, Resulting Numbers: [19, 36, 63] Generated Node #0,0: 97:[19, 36, 63] Operation: 20+43=63 Exploring Operation: 19+36=55, Resulting Numbers: [20, 43, 55] Generated Node #0,1: 97:[20, 43, 55] Operation: 19+36=55 Exploring Operation: 20+36=56, Resulting Numbers: [19, 43, 56] Generated Node #0,2: 97:[19, 43, 56] Operation: 20+36=56 Exploring Operation: 19+43=62, Resulting Numbers: [20, 36, 62] Generated Node #0,3: 97:[20, 36, 62] Operation: 19+43=62 Exploring Operation: 19+20=39, Resulting Numbers: [43, 36, 39] Generated Node #0,4: 97:[43, 36, 39] Operation: 19+20=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[19, 36, 63], Operations: ['20+43=63'] Exploring Operation: 19+63=82, Resulting Numbers: [36, 82] Generated Node #0,0,0: 97:[36, 82] Operation: 19+63=82 Exploring Operation: 63-19=44, Resulting Numbers: [36, 44] Generated Node #0,0,1: 97:[36, 44] Operation: 63-19=44 Exploring Operation: 19+36=55, Resulting Numbers: [63, 55] Generated Node #0,0,2: 97:[63, 55] Operation: 19+36=55 Exploring Operation: 36+63=99, Resulting Numbers: [19, 99] Generated Node #0,0,3: 97:[19, 99] Operation: 36+63=99 Exploring Operation: 36-19=17, Resulting Numbers: [63, 17] Generated Node #0,0,4: 97:[63, 17] Operation: 36-19=17 Moving to Node #0,0,0 Current State: 97:[36, 82], Operations: ['20+43=63', '19+63=82'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[63, 55], Operations: ['20+43=63', '19+36=55'] Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,97 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[19, 99], Operations: ['20+43=63', '36+63=99'] Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,97 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[36, 44], Operations: ['20+43=63', '63-19=44'] Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,97 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[63, 17], Operations: ['20+43=63', '36-19=17'] Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,97 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[20, 43, 55], Operations: ['19+36=55'] Exploring Operation: 43-20=23, Resulting Numbers: [55, 23] Generated Node #0,1,0: 97:[55, 23] Operation: 43-20=23 Exploring Operation: 43+55=98, Resulting Numbers: [20, 98] Generated Node #0,1,1: 97:[20, 98] Operation: 43+55=98 Exploring Operation: 20+55=75, Resulting Numbers: [43, 75] Generated Node #0,1,2: 97:[43, 75] Operation: 20+55=75 Exploring Operation: 55-20=35, Resulting Numbers: [43, 35] Generated Node #0,1,3: 97:[43, 35] Operation: 55-20=35 Exploring Operation: 20+43=63, Resulting Numbers: [55, 63] Generated Node #0,1,4: 97:[55, 63] Operation: 20+43=63 Moving to Node #0,1,2 Current State: 97:[43, 75], Operations: ['19+36=55', '20+55=75'] Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[55, 63], Operations: ['19+36=55', '20+43=63'] Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 55*63=3465, Resulting Numbers: [3465] 3465,97 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[20, 98], Operations: ['19+36=55', '43+55=98'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 20+98=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 20*98=1960, Resulting Numbers: [1960] 1960,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[55, 23], Operations: ['19+36=55', '43-20=23'] Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,97 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[43, 35], Operations: ['19+36=55', '55-20=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,97 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[19, 43, 56], Operations: ['20+36=56'] Exploring Operation: 56-19=37, Resulting Numbers: [43, 37] Generated Node #0,2,0: 97:[43, 37] Operation: 56-19=37 Exploring Operation: 43-19=24, Resulting Numbers: [56, 24] Generated Node #0,2,1: 97:[56, 24] Operation: 43-19=24 Exploring Operation: 19+43=62, Resulting Numbers: [56, 62] Generated Node #0,2,2: 97:[56, 62] Operation: 19+43=62 Exploring Operation: 43+56=99, Resulting Numbers: [19, 99] Generated Node #0,2,3: 97:[19, 99] Operation: 43+56=99 Exploring Operation: 19+56=75, Resulting Numbers: [43, 75] Generated Node #0,2,4: 97:[43, 75] Operation: 19+56=75 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[56, 62], Operations: ['20+36=56', '19+43=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,97 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 97:[43, 75], Operations: ['20+36=56', '19+56=75'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[19, 99], Operations: ['20+36=56', '43+56=99'] Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,97 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[43, 37], Operations: ['20+36=56', '56-19=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[56, 24], Operations: ['20+36=56', '43-19=24'] Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,97 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[20, 36, 62], Operations: ['19+43=62'] Exploring Operation: 36-20=16, Resulting Numbers: [62, 16] Generated Node #0,3,0: 97:[62, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [62, 56] Generated Node #0,3,1: 97:[62, 56] Operation: 20+36=56 Exploring Operation: 36+62=98, Resulting Numbers: [20, 98] Generated Node #0,3,2: 97:[20, 98] Operation: 36+62=98 Exploring Operation: 62-20=42, Resulting Numbers: [36, 42] Generated Node #0,3,3: 97:[36, 42] Operation: 62-20=42 Exploring Operation: 20+62=82, Resulting Numbers: [36, 82] Generated Node #0,3,4: 97:[36, 82] Operation: 20+62=82 Moving to Node #0,3,1 Current State: 97:[62, 56], Operations: ['19+43=62', '20+36=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,97 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[36, 82], Operations: ['19+43=62', '20+62=82'] Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[20, 98], Operations: ['19+43=62', '36+62=98'] Exploring Operation: 20*98=1960, Resulting Numbers: [1960] 1960,97 unequal: No Solution Exploring Operation: 20+98=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[62, 16], Operations: ['19+43=62', '36-20=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[36, 42], Operations: ['19+43=62', '62-20=42'] Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,97 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[43, 36, 39], Operations: ['19+20=39'] Exploring Operation: 39-36=3, Resulting Numbers: [43, 3] Generated Node #0,4,0: 97:[43, 3] Operation: 39-36=3 Exploring Operation: 36+39=75, Resulting Numbers: [43, 75] Generated Node #0,4,1: 97:[43, 75] Operation: 36+39=75 Exploring Operation: 43+36=79, Resulting Numbers: [39, 79] Generated Node #0,4,2: 97:[39, 79] Operation: 43+36=79 Exploring Operation: 43+39=82, Resulting Numbers: [36, 82] Generated Node #0,4,3: 97:[36, 82] Operation: 43+39=82 Exploring Operation: 43-36=7, Resulting Numbers: [39, 7] Generated Node #0,4,4: 97:[39, 7] Operation: 43-36=7 Moving to Node #0,4,1 Current State: 97:[43, 75], Operations: ['19+20=39', '36+39=75'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,97 unequal: No Solution Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[36, 82], Operations: ['19+20=39', '43+39=82'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,97 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[39, 79], Operations: ['19+20=39', '43+36=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[43, 3], Operations: ['19+20=39', '39-36=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[39, 7], Operations: ['19+20=39', '43-36=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 87, 39, 97, 79 ]
17
[ "87-79=8", "39+97=136", "136/8=17" ]
Current State: 17:[87, 39, 97, 79], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [39, 97, 8] Generated Node #2: [39, 97, 8] from Operation: 87-79=8 Current State: 17:[39, 97, 8], Operations: ['87-79=8'] Exploring Operation: 39+97=136, Resulting Numbers: [8, 136] Generated Node #3: [8, 136] from Operation: 39+97=136 Current State: 17:[8, 136], Operations: ['87-79=8', '39+97=136'] Exploring Operation: 136/8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[87, 39, 97, 79], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [39, 97, 8] Generated Node #0,0: 17:[39, 97, 8] Operation: 87-79=8 Exploring Operation: 97-79=18, Resulting Numbers: [87, 39, 18] Generated Node #0,1: 17:[87, 39, 18] Operation: 97-79=18 Exploring Operation: 87-39=48, Resulting Numbers: [97, 79, 48] Generated Node #0,2: 17:[97, 79, 48] Operation: 87-39=48 Exploring Operation: 97-87=10, Resulting Numbers: [39, 79, 10] Generated Node #0,3: 17:[39, 79, 10] Operation: 97-87=10 Moving to Node #0,3 Current State: 17:[39, 79, 10], Operations: ['97-87=10'] Exploring Operation: 39-10=29, Resulting Numbers: [79, 29] Generated Node #0,3,0: 17:[79, 29] Operation: 39-10=29 Exploring Operation: 79-39=40, Resulting Numbers: [10, 40] Generated Node #0,3,1: 17:[10, 40] Operation: 79-39=40 Exploring Operation: 39+10=49, Resulting Numbers: [79, 49] Generated Node #0,3,2: 17:[79, 49] Operation: 39+10=49 Exploring Operation: 79-10=69, Resulting Numbers: [39, 69] Generated Node #0,3,3: 17:[39, 69] Operation: 79-10=69 Moving to Node #0,1 Current State: 17:[87, 39, 18], Operations: ['97-79=18'] Exploring Operation: 39-18=21, Resulting Numbers: [87, 21] Generated Node #0,1,0: 17:[87, 21] Operation: 39-18=21 Exploring Operation: 87-39=48, Resulting Numbers: [18, 48] Generated Node #0,1,1: 17:[18, 48] Operation: 87-39=48 Exploring Operation: 87+39=126, Resulting Numbers: [18, 126] Generated Node #0,1,2: 17:[18, 126] Operation: 87+39=126 Exploring Operation: 87-18=69, Resulting Numbers: [39, 69] Generated Node #0,1,3: 17:[39, 69] Operation: 87-18=69 Moving to Node #0,0 Current State: 17:[39, 97, 8], Operations: ['87-79=8'] Exploring Operation: 39-8=31, Resulting Numbers: [97, 31] Generated Node #0,0,0: 17:[97, 31] Operation: 39-8=31 Exploring Operation: 97-39=58, Resulting Numbers: [8, 58] Generated Node #0,0,1: 17:[8, 58] Operation: 97-39=58 Exploring Operation: 39+8=47, Resulting Numbers: [97, 47] Generated Node #0,0,2: 17:[97, 47] Operation: 39+8=47 Exploring Operation: 97-8=89, Resulting Numbers: [39, 89] Generated Node #0,0,3: 17:[39, 89] Operation: 97-8=89 Moving to Node #0,2 Current State: 17:[97, 79, 48], Operations: ['87-39=48'] Exploring Operation: 97-48=49, Resulting Numbers: [79, 49] Generated Node #0,2,0: 17:[79, 49] Operation: 97-48=49 Exploring Operation: 97+79=176, Resulting Numbers: [48, 176] Generated Node #0,2,1: 17:[48, 176] Operation: 97+79=176 Exploring Operation: 79-48=31, Resulting Numbers: [97, 31] Generated Node #0,2,2: 17:[97, 31] Operation: 79-48=31 Exploring Operation: 97-79=18, Resulting Numbers: [48, 18] Generated Node #0,2,3: 17:[48, 18] Operation: 97-79=18 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[48, 18], Operations: ['87-39=48', '97-79=18'] Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[79, 49], Operations: ['87-39=48', '97-48=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[97, 31], Operations: ['87-39=48', '79-48=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[48, 176], Operations: ['87-39=48', '97+79=176'] Exploring Operation: 48+176=224, Resulting Numbers: [224] 224,17 unequal: No Solution Exploring Operation: 176-48=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 48*176=8448, Resulting Numbers: [8448] 8448,17 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: 17:[10, 40], Operations: ['97-87=10', '79-39=40'] Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,17 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[18, 48], Operations: ['97-79=18', '87-39=48'] Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[8, 58], Operations: ['87-79=8', '97-39=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[39, 69], Operations: ['97-87=10', '79-10=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,17 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[39, 69], Operations: ['97-79=18', '87-18=69'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[87, 21], Operations: ['97-79=18', '39-18=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,17 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[79, 29], Operations: ['97-87=10', '39-10=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[39, 89], Operations: ['87-79=8', '97-8=89'] Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,17 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[97, 31], Operations: ['87-79=8', '39-8=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,17 unequal: No Solution Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[79, 49], Operations: ['97-87=10', '39+10=49'] Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,17 unequal: No Solution Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,17 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[18, 126], Operations: ['97-79=18', '87+39=126'] Exploring Operation: 18+126=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 126/18=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 18*126=2268, Resulting Numbers: [2268] 2268,17 unequal: No Solution Exploring Operation: 126-18=108, Resulting Numbers: [108] 108,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[97, 47], Operations: ['87-79=8', '39+8=47'] Exploring Operation: 97*47=4559, Resulting Numbers: [4559] 4559,17 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,17 unequal: No Solution Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,17 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 23, 46, 96, 8 ]
80
[ "46/23=2", "8*2=16", "96-16=80" ]
Current State: 80:[23, 46, 96, 8], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [96, 8, 2] Generated Node #2: [96, 8, 2] from Operation: 46/23=2 Current State: 80:[96, 8, 2], Operations: ['46/23=2'] Exploring Operation: 8*2=16, Resulting Numbers: [96, 16] Generated Node #3: [96, 16] from Operation: 8*2=16 Current State: 80:[96, 16], Operations: ['46/23=2', '8*2=16'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[23, 46, 96, 8], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [23, 46, 12] Generated Node #0,0: 80:[23, 46, 12] Operation: 96/8=12 Moving to Node #0,0 Current State: 80:[23, 46, 12], Operations: ['96/8=12'] Exploring Operation: 46/23=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 80:[12, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 80:[12, 2], Operations: ['96/8=12', '46/23=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 41, 24, 75 ]
61
[ "79-41=38", "24+75=99", "99-38=61" ]
Current State: 61:[79, 41, 24, 75], Operations: [] Exploring Operation: 79-41=38, Resulting Numbers: [24, 75, 38] Generated Node #2: [24, 75, 38] from Operation: 79-41=38 Current State: 61:[24, 75, 38], Operations: ['79-41=38'] Exploring Operation: 24+75=99, Resulting Numbers: [38, 99] Generated Node #3: [38, 99] from Operation: 24+75=99 Current State: 61:[38, 99], Operations: ['79-41=38', '24+75=99'] Exploring Operation: 99-38=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[79, 41, 24, 75], Operations: [] Exploring Operation: 79+24=103, Resulting Numbers: [41, 75, 103] Generated Node #0,0: 61:[41, 75, 103] Operation: 79+24=103 Exploring Operation: 79-41=38, Resulting Numbers: [24, 75, 38] Generated Node #0,1: 61:[24, 75, 38] Operation: 79-41=38 Exploring Operation: 75-24=51, Resulting Numbers: [79, 41, 51] Generated Node #0,2: 61:[79, 41, 51] Operation: 75-24=51 Exploring Operation: 79-24=55, Resulting Numbers: [41, 75, 55] Generated Node #0,3: 61:[41, 75, 55] Operation: 79-24=55 Exploring Operation: 41+24=65, Resulting Numbers: [79, 75, 65] Generated Node #0,4: 61:[79, 75, 65] Operation: 41+24=65 Moving to Node #0,4 Current State: 61:[79, 75, 65], Operations: ['41+24=65'] Exploring Operation: 75-65=10, Resulting Numbers: [79, 10] Generated Node #0,4,0: 61:[79, 10] Operation: 75-65=10 Exploring Operation: 79+65=144, Resulting Numbers: [75, 144] Generated Node #0,4,1: 61:[75, 144] Operation: 79+65=144 Exploring Operation: 79-65=14, Resulting Numbers: [75, 14] Generated Node #0,4,2: 61:[75, 14] Operation: 79-65=14 Exploring Operation: 79-75=4, Resulting Numbers: [65, 4] Generated Node #0,4,3: 61:[65, 4] Operation: 79-75=4 Exploring Operation: 79+75=154, Resulting Numbers: [65, 154] Generated Node #0,4,4: 61:[65, 154] Operation: 79+75=154 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[75, 14], Operations: ['41+24=65', '79-65=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,61 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[79, 41, 24, 75], Operations: [] Exploring Operation: 41+24=65, Resulting Numbers: [79, 75, 65] Generated Node #0,4: 61:[79, 75, 65] Operation: 41+24=65 Moving to Node #0,4 Current State: 61:[79, 75, 65], Operations: ['41+24=65'] Exploring Operation: 79-65=14, Resulting Numbers: [75, 14] Generated Node #0,4,2: 61:[75, 14] Operation: 79-65=14 Moving to Node #0,4,2 Current State: 61:[75, 14], Operations: ['41+24=65', '79-65=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 94, 12, 77, 97 ]
41
[ "97-94=3", "12*3=36", "77-36=41" ]
Current State: 41:[94, 12, 77, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [12, 77, 3] Generated Node #2: [12, 77, 3] from Operation: 97-94=3 Current State: 41:[12, 77, 3], Operations: ['97-94=3'] Exploring Operation: 12*3=36, Resulting Numbers: [77, 36] Generated Node #3: [77, 36] from Operation: 12*3=36 Current State: 41:[77, 36], Operations: ['97-94=3', '12*3=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[94, 12, 77, 97], Operations: [] Exploring Operation: 94-77=17, Resulting Numbers: [12, 97, 17] Generated Node #0,0: 41:[12, 97, 17] Operation: 94-77=17 Exploring Operation: 97-77=20, Resulting Numbers: [94, 12, 20] Generated Node #0,1: 41:[94, 12, 20] Operation: 97-77=20 Exploring Operation: 97-94=3, Resulting Numbers: [12, 77, 3] Generated Node #0,2: 41:[12, 77, 3] Operation: 97-94=3 Moving to Node #0,1 Current State: 41:[94, 12, 20], Operations: ['97-77=20'] Exploring Operation: 94-20=74, Resulting Numbers: [12, 74] Generated Node #0,1,0: 41:[12, 74] Operation: 94-20=74 Exploring Operation: 94-12=82, Resulting Numbers: [20, 82] Generated Node #0,1,1: 41:[20, 82] Operation: 94-12=82 Exploring Operation: 12+20=32, Resulting Numbers: [94, 32] Generated Node #0,1,2: 41:[94, 32] Operation: 12+20=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[12, 74], Operations: ['97-77=20', '94-20=74'] Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,41 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[20, 82], Operations: ['97-77=20', '94-12=82'] Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,41 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[94, 32], Operations: ['97-77=20', '12+20=32'] Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,41 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: 41:[12, 77, 3], Operations: ['97-94=3'] Exploring Operation: 77-12=65, Resulting Numbers: [3, 65] Generated Node #0,2,0: 41:[3, 65] Operation: 77-12=65 Exploring Operation: 12+3=15, Resulting Numbers: [77, 15] Generated Node #0,2,1: 41:[77, 15] Operation: 12+3=15 Exploring Operation: 12*3=36, Resulting Numbers: [77, 36] Generated Node #0,2,2: 41:[77, 36] Operation: 12*3=36 Moving to Node #0,0 Current State: 41:[12, 97, 17], Operations: ['94-77=17'] Exploring Operation: 12+17=29, Resulting Numbers: [97, 29] Generated Node #0,0,0: 41:[97, 29] Operation: 12+17=29 Exploring Operation: 97-17=80, Resulting Numbers: [12, 80] Generated Node #0,0,1: 41:[12, 80] Operation: 97-17=80 Exploring Operation: 97-12=85, Resulting Numbers: [17, 85] Generated Node #0,0,2: 41:[17, 85] Operation: 97-12=85 Moving to Node #0,2,2 Current State: 41:[77, 36], Operations: ['97-94=3', '12*3=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[94, 12, 77, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [12, 77, 3] Generated Node #0,2: 41:[12, 77, 3] Operation: 97-94=3 Moving to Node #0,2 Current State: 41:[12, 77, 3], Operations: ['97-94=3'] Exploring Operation: 12*3=36, Resulting Numbers: [77, 36] Generated Node #0,2,2: 41:[77, 36] Operation: 12*3=36 Moving to Node #0,2,2 Current State: 41:[77, 36], Operations: ['97-94=3', '12*3=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 64, 69, 32, 23 ]
48
[ "64/32=2", "69-23=46", "2+46=48" ]
Current State: 48:[64, 69, 32, 23], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [69, 23, 2] Generated Node #2: [69, 23, 2] from Operation: 64/32=2 Current State: 48:[69, 23, 2], Operations: ['64/32=2'] Exploring Operation: 69-23=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 69-23=46 Current State: 48:[2, 46], Operations: ['64/32=2', '69-23=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[64, 69, 32, 23], Operations: [] Exploring Operation: 69-64=5, Resulting Numbers: [32, 23, 5] Generated Node #0,0: 48:[32, 23, 5] Operation: 69-64=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[32, 23, 5], Operations: ['69-64=5'] Exploring Operation: 32-23=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 48:[5, 9] Operation: 32-23=9 Moving to Node #0,0,0 Current State: 48:[5, 9], Operations: ['69-64=5', '32-23=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,48 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
[ 71, 98, 23, 98 ]
47
[ "71-23=48", "98/98=1", "48-1=47" ]
Current State: 47:[71, 98, 23, 98], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [98, 98, 48] Generated Node #2: [98, 98, 48] from Operation: 71-23=48 Current State: 47:[98, 98, 48], Operations: ['71-23=48'] Exploring Operation: 98/98=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 98/98=1 Current State: 47:[48, 1], Operations: ['71-23=48', '98/98=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[71, 98, 23, 98], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [23, 98, 27] Generated Node #0,0: 47:[23, 98, 27] Operation: 98-71=27 Exploring Operation: 98-98=0, Resulting Numbers: [71, 23, 0] Generated Node #0,1: 47:[71, 23, 0] Operation: 98-98=0 Exploring Operation: 98/98=1, Resulting Numbers: [71, 23, 1] Generated Node #0,2: 47:[71, 23, 1] Operation: 98/98=1 Exploring Operation: 98-71=27, Resulting Numbers: [98, 23, 27] Generated Node #0,3: 47:[98, 23, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[71, 23, 1], Operations: ['98/98=1'] Exploring Operation: 23+1=24, Resulting Numbers: [71, 24] Generated Node #0,2,0: 47:[71, 24] Operation: 23+1=24 Exploring Operation: 71-1=70, Resulting Numbers: [23, 70] Generated Node #0,2,1: 47:[23, 70] Operation: 71-1=70 Exploring Operation: 71-23=48, Resulting Numbers: [1, 48] Generated Node #0,2,2: 47:[1, 48] Operation: 71-23=48 Exploring Operation: 71*1=71, Resulting Numbers: [23, 71] Generated Node #0,2,3: 47:[23, 71] Operation: 71*1=71 Moving to Node #0,2,0 Current State: 47:[71, 24], Operations: ['98/98=1', '23+1=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,47 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[71, 98, 23, 98], Operations: [] Exploring Operation: 98/98=1, Resulting Numbers: [71, 23, 1] Generated Node #0,2: 47:[71, 23, 1] Operation: 98/98=1 Moving to Node #0,2 Current State: 47:[71, 23, 1], Operations: ['98/98=1'] Exploring Operation: 23+1=24, Resulting Numbers: [71, 24] Generated Node #0,2,0: 47:[71, 24] Operation: 23+1=24 Moving to Node #0,2,0 Current State: 47:[71, 24], Operations: ['98/98=1', '23+1=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 31, 55, 8, 5 ]
92
[ "31*5=155", "55+8=63", "155-63=92" ]
Current State: 92:[31, 55, 8, 5], Operations: [] Exploring Operation: 31*5=155, Resulting Numbers: [55, 8, 155] Generated Node #2: [55, 8, 155] from Operation: 31*5=155 Current State: 92:[55, 8, 155], Operations: ['31*5=155'] Exploring Operation: 55+8=63, Resulting Numbers: [155, 63] Generated Node #3: [155, 63] from Operation: 55+8=63 Current State: 92:[155, 63], Operations: ['31*5=155', '55+8=63'] Exploring Operation: 155-63=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[31, 55, 8, 5], Operations: [] Exploring Operation: 31-8=23, Resulting Numbers: [55, 5, 23] Generated Node #0,0: 92:[55, 5, 23] Operation: 31-8=23 Exploring Operation: 55-31=24, Resulting Numbers: [8, 5, 24] Generated Node #0,1: 92:[8, 5, 24] Operation: 55-31=24 Exploring Operation: 31+55=86, Resulting Numbers: [8, 5, 86] Generated Node #0,2: 92:[8, 5, 86] Operation: 31+55=86 Exploring Operation: 55-8=47, Resulting Numbers: [31, 5, 47] Generated Node #0,3: 92:[31, 5, 47] Operation: 55-8=47 Exploring Operation: 31-5=26, Resulting Numbers: [55, 8, 26] Generated Node #0,4: 92:[55, 8, 26] Operation: 31-5=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[8, 5, 24], Operations: ['55-31=24'] Exploring Operation: 24/8=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 92:[5, 3] Operation: 24/8=3 Exploring Operation: 24-5=19, Resulting Numbers: [8, 19] Generated Node #0,1,1: 92:[8, 19] Operation: 24-5=19 Exploring Operation: 8-5=3, Resulting Numbers: [24, 3] Generated Node #0,1,2: 92:[24, 3] Operation: 8-5=3 Exploring Operation: 8*5=40, Resulting Numbers: [24, 40] Generated Node #0,1,3: 92:[24, 40] Operation: 8*5=40 Exploring Operation: 24-8=16, Resulting Numbers: [5, 16] Generated Node #0,1,4: 92:[5, 16] Operation: 24-8=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[5, 3], Operations: ['55-31=24', '24/8=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[24, 3], Operations: ['55-31=24', '8-5=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[24, 40], Operations: ['55-31=24', '8*5=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,92 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[8, 19], Operations: ['55-31=24', '24-5=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,92 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 92:[5, 16], Operations: ['55-31=24', '24-8=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[55, 5, 23], Operations: ['31-8=23'] Exploring Operation: 55-5=50, Resulting Numbers: [23, 50] Generated Node #0,0,0: 92:[23, 50] Operation: 55-5=50 Exploring Operation: 55-23=32, Resulting Numbers: [5, 32] Generated Node #0,0,1: 92:[5, 32] Operation: 55-23=32 Exploring Operation: 5+23=28, Resulting Numbers: [55, 28] Generated Node #0,0,2: 92:[55, 28] Operation: 5+23=28 Exploring Operation: 55/5=11, Resulting Numbers: [23, 11] Generated Node #0,0,3: 92:[23, 11] Operation: 55/5=11 Exploring Operation: 55+5=60, Resulting Numbers: [23, 60] Generated Node #0,0,4: 92:[23, 60] Operation: 55+5=60 Moving to Node #0,0,0 Current State: 92:[23, 50], Operations: ['31-8=23', '55-5=50'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,92 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[23, 11], Operations: ['31-8=23', '55/5=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,92 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[5, 32], Operations: ['31-8=23', '55-23=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[55, 28], Operations: ['31-8=23', '5+23=28'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,92 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[23, 60], Operations: ['31-8=23', '55+5=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,92 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,92 unequal: No Solution No 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: 92:[31, 5, 47], Operations: ['55-8=47'] Exploring Operation: 31+5=36, Resulting Numbers: [47, 36] Generated Node #0,3,0: 92:[47, 36] Operation: 31+5=36 Exploring Operation: 47-31=16, Resulting Numbers: [5, 16] Generated Node #0,3,1: 92:[5, 16] Operation: 47-31=16 Exploring Operation: 47-5=42, Resulting Numbers: [31, 42] Generated Node #0,3,2: 92:[31, 42] Operation: 47-5=42 Exploring Operation: 5+47=52, Resulting Numbers: [31, 52] Generated Node #0,3,3: 92:[31, 52] Operation: 5+47=52 Exploring Operation: 31-5=26, Resulting Numbers: [47, 26] Generated Node #0,3,4: 92:[47, 26] Operation: 31-5=26 Moving to Node #0,3,4 Current State: 92:[47, 26], Operations: ['55-8=47', '31-5=26'] Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,92 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[5, 16], Operations: ['55-8=47', '47-31=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[47, 36], Operations: ['55-8=47', '31+5=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,92 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[31, 42], Operations: ['55-8=47', '47-5=42'] Exploring Operation: 31*42=1302, Resulting Numbers: [1302] 1302,92 unequal: No Solution Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[31, 52], Operations: ['55-8=47', '5+47=52'] Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,92 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,92 unequal: No Solution No 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: 92:[8, 5, 86], Operations: ['31+55=86'] Exploring Operation: 5+86=91, Resulting Numbers: [8, 91] Generated Node #0,2,0: 92:[8, 91] Operation: 5+86=91 Exploring Operation: 8*5=40, Resulting Numbers: [86, 40] Generated Node #0,2,1: 92:[86, 40] Operation: 8*5=40 Exploring Operation: 8+5=13, Resulting Numbers: [86, 13] Generated Node #0,2,2: 92:[86, 13] Operation: 8+5=13 Exploring Operation: 8+86=94, Resulting Numbers: [5, 94] Generated Node #0,2,3: 92:[5, 94] Operation: 8+86=94 Exploring Operation: 8-5=3, Resulting Numbers: [86, 3] Generated Node #0,2,4: 92:[86, 3] Operation: 8-5=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[5, 94], Operations: ['31+55=86', '8+86=94'] Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,92 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[8, 91], Operations: ['31+55=86', '5+86=91'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 8+91=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 8*91=728, Resulting Numbers: [728] 728,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[86, 3], Operations: ['31+55=86', '8-5=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,92 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[86, 40], Operations: ['31+55=86', '8*5=40'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[86, 13], Operations: ['31+55=86', '8+5=13'] Exploring Operation: 86*13=1118, Resulting Numbers: [1118] 1118,92 unequal: No Solution Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[55, 8, 26], Operations: ['31-5=26'] Exploring Operation: 55-8=47, Resulting Numbers: [26, 47] Generated Node #0,4,0: 92:[26, 47] Operation: 55-8=47 Exploring Operation: 55+26=81, Resulting Numbers: [8, 81] Generated Node #0,4,1: 92:[8, 81] Operation: 55+26=81 Exploring Operation: 26-8=18, Resulting Numbers: [55, 18] Generated Node #0,4,2: 92:[55, 18] Operation: 26-8=18 Exploring Operation: 55-26=29, Resulting Numbers: [8, 29] Generated Node #0,4,3: 92:[8, 29] Operation: 55-26=29 Exploring Operation: 55+8=63, Resulting Numbers: [26, 63] Generated Node #0,4,4: 92:[26, 63] Operation: 55+8=63 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 92:[26, 47], Operations: ['31-5=26', '55-8=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 92:[8, 29], Operations: ['31-5=26', '55-26=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 92:[55, 18], Operations: ['31-5=26', '26-8=18'] Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,92 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 92:[8, 81], Operations: ['31-5=26', '55+26=81'] Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,92 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 92:[26, 63], Operations: ['31-5=26', '55+8=63'] Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,92 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 29, 68, 48, 48 ]
96
[ "29+68=97", "48/48=1", "97-1=96" ]
Current State: 96:[29, 68, 48, 48], Operations: [] Exploring Operation: 29+68=97, Resulting Numbers: [48, 48, 97] Generated Node #2: [48, 48, 97] from Operation: 29+68=97 Current State: 96:[48, 48, 97], Operations: ['29+68=97'] Exploring Operation: 48/48=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 48/48=1 Current State: 96:[97, 1], Operations: ['29+68=97', '48/48=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[29, 68, 48, 48], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [29, 48, 20] Generated Node #0,0: 96:[29, 48, 20] Operation: 68-48=20 Exploring Operation: 68-48=20, Resulting Numbers: [29, 48, 20] Generated Node #0,1: 96:[29, 48, 20] Operation: 68-48=20 Exploring Operation: 29+68=97, Resulting Numbers: [48, 48, 97] Generated Node #0,2: 96:[48, 48, 97] Operation: 29+68=97 Exploring Operation: 68-29=39, Resulting Numbers: [48, 48, 39] Generated Node #0,3: 96:[48, 48, 39] Operation: 68-29=39 Moving to Node #0,2 Current State: 96:[48, 48, 97], Operations: ['29+68=97'] Exploring Operation: 97-48=49, Resulting Numbers: [48, 49] Generated Node #0,2,0: 96:[48, 49] Operation: 97-48=49 Exploring Operation: 48/48=1, Resulting Numbers: [97, 1] Generated Node #0,2,1: 96:[97, 1] Operation: 48/48=1 Exploring Operation: 48+48=96, Resulting Numbers: [97, 96] Generated Node #0,2,2: 96:[97, 96] Operation: 48+48=96 Exploring Operation: 97-48=49, Resulting Numbers: [48, 49] Generated Node #0,2,3: 96:[48, 49] Operation: 97-48=49 Moving to Node #0,1 Current State: 96:[29, 48, 20], Operations: ['68-48=20'] Exploring Operation: 48-20=28, Resulting Numbers: [29, 28] Generated Node #0,1,0: 96:[29, 28] Operation: 48-20=28 Exploring Operation: 48-29=19, Resulting Numbers: [20, 19] Generated Node #0,1,1: 96:[20, 19] Operation: 48-29=19 Exploring Operation: 29-20=9, Resulting Numbers: [48, 9] Generated Node #0,1,2: 96:[48, 9] Operation: 29-20=9 Exploring Operation: 29+20=49, Resulting Numbers: [48, 49] Generated Node #0,1,3: 96:[48, 49] Operation: 29+20=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[48, 9], Operations: ['68-48=20', '29-20=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,96 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[48, 49], Operations: ['68-48=20', '29+20=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[29, 28], Operations: ['68-48=20', '48-20=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[20, 19], Operations: ['68-48=20', '48-29=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,96 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,96 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: 96:[29, 48, 20], Operations: ['68-48=20'] Exploring Operation: 29+20=49, Resulting Numbers: [48, 49] Generated Node #0,0,0: 96:[48, 49] Operation: 29+20=49 Exploring Operation: 48-29=19, Resulting Numbers: [20, 19] Generated Node #0,0,1: 96:[20, 19] Operation: 48-29=19 Exploring Operation: 48-20=28, Resulting Numbers: [29, 28] Generated Node #0,0,2: 96:[29, 28] Operation: 48-20=28 Exploring Operation: 29-20=9, Resulting Numbers: [48, 9] Generated Node #0,0,3: 96:[48, 9] Operation: 29-20=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[48, 49], Operations: ['68-48=20', '29+20=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[48, 9], Operations: ['68-48=20', '29-20=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,96 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[20, 19], Operations: ['68-48=20', '48-29=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[29, 28], Operations: ['68-48=20', '48-20=28'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,96 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: 96:[48, 48, 39], Operations: ['68-29=39'] Exploring Operation: 48+48=96, Resulting Numbers: [39, 96] Generated Node #0,3,0: 96:[39, 96] Operation: 48+48=96 Exploring Operation: 48-39=9, Resulting Numbers: [48, 9] Generated Node #0,3,1: 96:[48, 9] Operation: 48-39=9 Exploring Operation: 48/48=1, Resulting Numbers: [39, 1] Generated Node #0,3,2: 96:[39, 1] Operation: 48/48=1 Exploring Operation: 48-39=9, Resulting Numbers: [48, 9] Generated Node #0,3,3: 96:[48, 9] Operation: 48-39=9 Moving to Node #0,2,0 Current State: 96:[48, 49], Operations: ['29+68=97', '97-48=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[48, 49], Operations: ['29+68=97', '97-48=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[48, 9], Operations: ['68-29=39', '48-39=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,96 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[97, 96], Operations: ['29+68=97', '48+48=96'] Exploring Operation: 97*96=9312, Resulting Numbers: [9312] 9312,96 unequal: No Solution Exploring Operation: 97+96=193, Resulting Numbers: [193] 193,96 unequal: No Solution Exploring Operation: 97-96=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[48, 9], Operations: ['68-29=39', '48-39=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[97, 1], Operations: ['29+68=97', '48/48=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[29, 68, 48, 48], Operations: [] Exploring Operation: 29+68=97, Resulting Numbers: [48, 48, 97] Generated Node #0,2: 96:[48, 48, 97] Operation: 29+68=97 Moving to Node #0,2 Current State: 96:[48, 48, 97], Operations: ['29+68=97'] Exploring Operation: 48/48=1, Resulting Numbers: [97, 1] Generated Node #0,2,1: 96:[97, 1] Operation: 48/48=1 Moving to Node #0,2,1 Current State: 96:[97, 1], Operations: ['29+68=97', '48/48=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.944444
hs_4
mult_heuristic
[ 4, 82, 27, 85 ]
39
[ "85-82=3", "4*3=12", "27+12=39" ]
Current State: 39:[4, 82, 27, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [4, 27, 3] Generated Node #2: [4, 27, 3] from Operation: 85-82=3 Current State: 39:[4, 27, 3], Operations: ['85-82=3'] Exploring Operation: 4*3=12, Resulting Numbers: [27, 12] Generated Node #3: [27, 12] from Operation: 4*3=12 Current State: 39:[27, 12], Operations: ['85-82=3', '4*3=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[4, 82, 27, 85], Operations: [] Exploring Operation: 82-27=55, Resulting Numbers: [4, 85, 55] Generated Node #0,0: 39:[4, 85, 55] Operation: 82-27=55 Exploring Operation: 85-82=3, Resulting Numbers: [4, 27, 3] Generated Node #0,1: 39:[4, 27, 3] Operation: 85-82=3 Moving to Node #0,1 Current State: 39:[4, 27, 3], Operations: ['85-82=3'] Exploring Operation: 4+27=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 39:[3, 31] Operation: 4+27=31 Exploring Operation: 27/3=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 39:[4, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[4, 9], Operations: ['85-82=3', '27/3=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[3, 31], Operations: ['85-82=3', '4+27=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,39 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: 39:[4, 85, 55], Operations: ['82-27=55'] Exploring Operation: 85-4=81, Resulting Numbers: [55, 81] Generated Node #0,0,0: 39:[55, 81] Operation: 85-4=81 Exploring Operation: 85-55=30, Resulting Numbers: [4, 30] Generated Node #0,0,1: 39:[4, 30] Operation: 85-55=30 Moving to Node #0,0,1 Current State: 39:[4, 30], Operations: ['82-27=55', '85-55=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[55, 81], Operations: ['82-27=55', '85-4=81'] Exploring Operation: 55+81=136, Resulting Numbers: [136] 136,39 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,39 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 26, 8, 46 ]
39
[ "46-34=12", "26*12=312", "312/8=39" ]
Current State: 39:[34, 26, 8, 46], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [26, 8, 12] Generated Node #2: [26, 8, 12] from Operation: 46-34=12 Current State: 39:[26, 8, 12], Operations: ['46-34=12'] Exploring Operation: 26*12=312, Resulting Numbers: [8, 312] Generated Node #3: [8, 312] from Operation: 26*12=312 Current State: 39:[8, 312], Operations: ['46-34=12', '26*12=312'] Exploring Operation: 312/8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[34, 26, 8, 46], Operations: [] Exploring Operation: 26+8=34, Resulting Numbers: [34, 46, 34] Generated Node #0,0: 39:[34, 46, 34] Operation: 26+8=34 Exploring Operation: 46-34=12, Resulting Numbers: [26, 8, 12] Generated Node #0,1: 39:[26, 8, 12] Operation: 46-34=12 Exploring Operation: 34-26=8, Resulting Numbers: [8, 46, 8] Generated Node #0,2: 39:[8, 46, 8] Operation: 34-26=8 Exploring Operation: 26-8=18, Resulting Numbers: [34, 46, 18] Generated Node #0,3: 39:[34, 46, 18] Operation: 26-8=18 Exploring Operation: 46-26=20, Resulting Numbers: [34, 8, 20] Generated Node #0,4: 39:[34, 8, 20] Operation: 46-26=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[34, 46, 34], Operations: ['26+8=34'] Exploring Operation: 34+34=68, Resulting Numbers: [46, 68] Generated Node #0,0,0: 39:[46, 68] Operation: 34+34=68 Exploring Operation: 34-34=0, Resulting Numbers: [46, 0] Generated Node #0,0,1: 39:[46, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [46, 1] Generated Node #0,0,2: 39:[46, 1] Operation: 34/34=1 Exploring Operation: 46-34=12, Resulting Numbers: [34, 12] Generated Node #0,0,3: 39:[34, 12] Operation: 46-34=12 Exploring Operation: 46-34=12, Resulting Numbers: [34, 12] Generated Node #0,0,4: 39:[34, 12] Operation: 46-34=12 Moving to Node #0,0,3 Current State: 39:[34, 12], Operations: ['26+8=34', '46-34=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,39 unequal: No Solution Moving to Node #0,0,4 Current State: 39:[34, 12], Operations: ['26+8=34', '46-34=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,39 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[46, 1], Operations: ['26+8=34', '34/34=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[46, 0], Operations: ['26+8=34', '34-34=0'] Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[46, 68], Operations: ['26+8=34', '34+34=68'] Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,39 unequal: No Solution Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[8, 46, 8], Operations: ['34-26=8'] Exploring Operation: 46-8=38, Resulting Numbers: [8, 38] Generated Node #0,2,0: 39:[8, 38] Operation: 46-8=38 Exploring Operation: 8-8=0, Resulting Numbers: [46, 0] Generated Node #0,2,1: 39:[46, 0] Operation: 8-8=0 Exploring Operation: 46-8=38, Resulting Numbers: [8, 38] Generated Node #0,2,2: 39:[8, 38] Operation: 46-8=38 Exploring Operation: 8/8=1, Resulting Numbers: [46, 1] Generated Node #0,2,3: 39:[46, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [46, 16] Generated Node #0,2,4: 39:[46, 16] Operation: 8+8=16 Moving to Node #0,2,0 Current State: 39:[8, 38], Operations: ['34-26=8', '46-8=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[8, 38], Operations: ['34-26=8', '46-8=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,39 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[46, 1], Operations: ['34-26=8', '8/8=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[46, 0], Operations: ['34-26=8', '8-8=0'] Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[46, 16], Operations: ['34-26=8', '8+8=16'] Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,39 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[34, 46, 18], Operations: ['26-8=18'] Exploring Operation: 46+18=64, Resulting Numbers: [34, 64] Generated Node #0,3,0: 39:[34, 64] Operation: 46+18=64 Exploring Operation: 34-18=16, Resulting Numbers: [46, 16] Generated Node #0,3,1: 39:[46, 16] Operation: 34-18=16 Exploring Operation: 46-18=28, Resulting Numbers: [34, 28] Generated Node #0,3,2: 39:[34, 28] Operation: 46-18=28 Exploring Operation: 46-34=12, Resulting Numbers: [18, 12] Generated Node #0,3,3: 39:[18, 12] Operation: 46-34=12 Exploring Operation: 34+18=52, Resulting Numbers: [46, 52] Generated Node #0,3,4: 39:[46, 52] Operation: 34+18=52 Moving to Node #0,3,3 Current State: 39:[18, 12], Operations: ['26-8=18', '46-34=12'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,39 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[46, 16], Operations: ['26-8=18', '34-18=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[34, 28], Operations: ['26-8=18', '46-18=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,39 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[46, 52], Operations: ['26-8=18', '34+18=52'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,39 unequal: No Solution Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[34, 64], Operations: ['26-8=18', '46+18=64'] Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,39 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,39 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[34, 8, 20], Operations: ['46-26=20'] Exploring Operation: 20-8=12, Resulting Numbers: [34, 12] Generated Node #0,4,0: 39:[34, 12] Operation: 20-8=12 Exploring Operation: 34-8=26, Resulting Numbers: [20, 26] Generated Node #0,4,1: 39:[20, 26] Operation: 34-8=26 Exploring Operation: 34-20=14, Resulting Numbers: [8, 14] Generated Node #0,4,2: 39:[8, 14] Operation: 34-20=14 Exploring Operation: 34+8=42, Resulting Numbers: [20, 42] Generated Node #0,4,3: 39:[20, 42] Operation: 34+8=42 Exploring Operation: 8+20=28, Resulting Numbers: [34, 28] Generated Node #0,4,4: 39:[34, 28] Operation: 8+20=28 Moving to Node #0,4,0 Current State: 39:[34, 12], Operations: ['46-26=20', '20-8=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,39 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,39 unequal: No Solution Moving to Node #0,4,2 Current State: 39:[8, 14], Operations: ['46-26=20', '34-20=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,39 unequal: No Solution Moving to Node #0,4,3 Current State: 39:[20, 42], Operations: ['46-26=20', '34+8=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,39 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,39 unequal: No Solution Moving to Node #0,4,4 Current State: 39:[34, 28], Operations: ['46-26=20', '8+20=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,39 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,39 unequal: No Solution Moving to Node #0,4,1 Current State: 39:[20, 26], Operations: ['46-26=20', '34-8=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[26, 8, 12], Operations: ['46-34=12'] Exploring Operation: 26+8=34, Resulting Numbers: [12, 34] Generated Node #0,1,0: 39:[12, 34] Operation: 26+8=34 Exploring Operation: 26-8=18, Resulting Numbers: [12, 18] Generated Node #0,1,1: 39:[12, 18] Operation: 26-8=18 Exploring Operation: 12-8=4, Resulting Numbers: [26, 4] Generated Node #0,1,2: 39:[26, 4] Operation: 12-8=4 Exploring Operation: 26-12=14, Resulting Numbers: [8, 14] Generated Node #0,1,3: 39:[8, 14] Operation: 26-12=14 Exploring Operation: 26+12=38, Resulting Numbers: [8, 38] Generated Node #0,1,4: 39:[8, 38] Operation: 26+12=38 Moving to Node #0,1,0 Current State: 39:[12, 34], Operations: ['46-34=12', '26+8=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,39 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[8, 14], Operations: ['46-34=12', '26-12=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[12, 18], Operations: ['46-34=12', '26-8=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[8, 38], Operations: ['46-34=12', '26+12=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[26, 4], Operations: ['46-34=12', '12-8=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 50, 90, 90, 92 ]
41
[ "92-50=42", "90/90=1", "42-1=41" ]
Current State: 41:[50, 90, 90, 92], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [90, 90, 42] Generated Node #2: [90, 90, 42] from Operation: 92-50=42 Current State: 41:[90, 90, 42], Operations: ['92-50=42'] Exploring Operation: 90/90=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 90/90=1 Current State: 41:[42, 1], Operations: ['92-50=42', '90/90=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 90, 90, 92], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [50, 90, 2] Generated Node #0,0: 41:[50, 90, 2] Operation: 92-90=2 Exploring Operation: 92-90=2, Resulting Numbers: [50, 90, 2] Generated Node #0,1: 41:[50, 90, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 41:[50, 90, 2], Operations: ['92-90=2'] Exploring Operation: 90/2=45, Resulting Numbers: [50, 45] Generated Node #0,0,0: 41:[50, 45] Operation: 90/2=45 Exploring Operation: 90-50=40, Resulting Numbers: [2, 40] Generated Node #0,0,1: 41:[2, 40] Operation: 90-50=40 Moving to Node #0,1 Current State: 41:[50, 90, 2], Operations: ['92-90=2'] Exploring Operation: 90/2=45, Resulting Numbers: [50, 45] Generated Node #0,1,0: 41:[50, 45] Operation: 90/2=45 Exploring Operation: 90-50=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 41:[2, 40] Operation: 90-50=40 Moving to Node #0,0,0 Current State: 41:[50, 45], Operations: ['92-90=2', '90/2=45'] Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,41 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[50, 45], Operations: ['92-90=2', '90/2=45'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[2, 40], Operations: ['92-90=2', '90-50=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[2, 40], Operations: ['92-90=2', '90-50=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,41 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 19, 11, 53 ]
48
[ "25*19=475", "53+475=528", "528/11=48" ]
Current State: 48:[25, 19, 11, 53], Operations: [] Exploring Operation: 25*19=475, Resulting Numbers: [11, 53, 475] Generated Node #2: [11, 53, 475] from Operation: 25*19=475 Current State: 48:[11, 53, 475], Operations: ['25*19=475'] Exploring Operation: 53+475=528, Resulting Numbers: [11, 528] Generated Node #3: [11, 528] from Operation: 53+475=528 Current State: 48:[11, 528], Operations: ['25*19=475', '53+475=528'] Exploring Operation: 528/11=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[25, 19, 11, 53], Operations: [] Exploring Operation: 25+19=44, Resulting Numbers: [11, 53, 44] Generated Node #0,0: 48:[11, 53, 44] Operation: 25+19=44 Exploring Operation: 25-19=6, Resulting Numbers: [11, 53, 6] Generated Node #0,1: 48:[11, 53, 6] Operation: 25-19=6 Exploring Operation: 53-25=28, Resulting Numbers: [19, 11, 28] Generated Node #0,2: 48:[19, 11, 28] Operation: 53-25=28 Exploring Operation: 19-11=8, Resulting Numbers: [25, 53, 8] Generated Node #0,3: 48:[25, 53, 8] Operation: 19-11=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[11, 53, 6], Operations: ['25-19=6'] Exploring Operation: 11+6=17, Resulting Numbers: [53, 17] Generated Node #0,1,0: 48:[53, 17] Operation: 11+6=17 Exploring Operation: 53-11=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 48:[6, 42] Operation: 53-11=42 Exploring Operation: 11-6=5, Resulting Numbers: [53, 5] Generated Node #0,1,2: 48:[53, 5] Operation: 11-6=5 Exploring Operation: 53-6=47, Resulting Numbers: [11, 47] Generated Node #0,1,3: 48:[11, 47] Operation: 53-6=47 Moving to Node #0,1,3 Current State: 48:[11, 47], Operations: ['25-19=6', '53-6=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[6, 42], Operations: ['25-19=6', '53-11=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[25, 19, 11, 53], Operations: [] Exploring Operation: 25-19=6, Resulting Numbers: [11, 53, 6] Generated Node #0,1: 48:[11, 53, 6] Operation: 25-19=6 Moving to Node #0,1 Current State: 48:[11, 53, 6], Operations: ['25-19=6'] Exploring Operation: 53-11=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 48:[6, 42] Operation: 53-11=42 Moving to Node #0,1,1 Current State: 48:[6, 42], Operations: ['25-19=6', '53-11=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 48, 7, 16, 81 ]
91
[ "48/16=3", "7+81=88", "3+88=91" ]
Current State: 91:[48, 7, 16, 81], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [7, 81, 3] Generated Node #2: [7, 81, 3] from Operation: 48/16=3 Current State: 91:[7, 81, 3], Operations: ['48/16=3'] Exploring Operation: 7+81=88, Resulting Numbers: [3, 88] Generated Node #3: [3, 88] from Operation: 7+81=88 Current State: 91:[3, 88], Operations: ['48/16=3', '7+81=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[48, 7, 16, 81], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [7, 81, 3] Generated Node #0,0: 91:[7, 81, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 91:[7, 81, 3], Operations: ['48/16=3'] Exploring Operation: 7+81=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 91:[3, 88] Operation: 7+81=88 Moving to Node #0,0,0 Current State: 91:[3, 88], Operations: ['48/16=3', '7+81=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[48, 7, 16, 81], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [7, 81, 3] Generated Node #0,0: 91:[7, 81, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 91:[7, 81, 3], Operations: ['48/16=3'] Exploring Operation: 7+81=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 91:[3, 88] Operation: 7+81=88 Moving to Node #0,0,0 Current State: 91:[3, 88], Operations: ['48/16=3', '7+81=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 57, 6, 80, 65 ]
82
[ "57+6=63", "80+65=145", "145-63=82" ]
Current State: 82:[57, 6, 80, 65], Operations: [] Exploring Operation: 57+6=63, Resulting Numbers: [80, 65, 63] Generated Node #2: [80, 65, 63] from Operation: 57+6=63 Current State: 82:[80, 65, 63], Operations: ['57+6=63'] Exploring Operation: 80+65=145, Resulting Numbers: [63, 145] Generated Node #3: [63, 145] from Operation: 80+65=145 Current State: 82:[63, 145], Operations: ['57+6=63', '80+65=145'] Exploring Operation: 145-63=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 6, 80, 65], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [6, 80, 8] Generated Node #0,0: 82:[6, 80, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[6, 80, 8], Operations: ['65-57=8'] Exploring Operation: 8-6=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 82:[80, 2] Operation: 8-6=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[80, 2], Operations: ['65-57=8', '8-6=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[57, 6, 80, 65], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [6, 80, 8] Generated Node #0,0: 82:[6, 80, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 82:[6, 80, 8], Operations: ['65-57=8'] Exploring Operation: 8-6=2, Resulting Numbers: [80, 2] Generated Node #0,0,0: 82:[80, 2] Operation: 8-6=2 Moving to Node #0,0,0 Current State: 82:[80, 2], Operations: ['65-57=8', '8-6=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 58, 81, 38, 32 ]
47
[ "81-58=23", "38+32=70", "70-23=47" ]
Current State: 47:[58, 81, 38, 32], Operations: [] Exploring Operation: 81-58=23, Resulting Numbers: [38, 32, 23] Generated Node #2: [38, 32, 23] from Operation: 81-58=23 Current State: 47:[38, 32, 23], Operations: ['81-58=23'] Exploring Operation: 38+32=70, Resulting Numbers: [23, 70] Generated Node #3: [23, 70] from Operation: 38+32=70 Current State: 47:[23, 70], Operations: ['81-58=23', '38+32=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[58, 81, 38, 32], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [58, 38, 49] Generated Node #0,0: 47:[58, 38, 49] Operation: 81-32=49 Exploring Operation: 81-38=43, Resulting Numbers: [58, 32, 43] Generated Node #0,1: 47:[58, 32, 43] Operation: 81-38=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[58, 38, 49], Operations: ['81-32=49'] Exploring Operation: 58-49=9, Resulting Numbers: [38, 9] Generated Node #0,0,0: 47:[38, 9] Operation: 58-49=9 Exploring Operation: 58-38=20, Resulting Numbers: [49, 20] Generated Node #0,0,1: 47:[49, 20] Operation: 58-38=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[49, 20], Operations: ['81-32=49', '58-38=20'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,47 unequal: No Solution No 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: 47:[38, 9], Operations: ['81-32=49', '58-49=9'] Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[58, 81, 38, 32], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [58, 38, 49] Generated Node #0,0: 47:[58, 38, 49] Operation: 81-32=49 Moving to Node #0,0 Current State: 47:[58, 38, 49], Operations: ['81-32=49'] Exploring Operation: 58-49=9, Resulting Numbers: [38, 9] Generated Node #0,0,0: 47:[38, 9] Operation: 58-49=9 Moving to Node #0,0,0 Current State: 47:[38, 9], Operations: ['81-32=49', '58-49=9'] Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 12, 69, 75, 39 ]
27
[ "69+75=144", "144/12=12", "39-12=27" ]
Current State: 27:[12, 69, 75, 39], Operations: [] Exploring Operation: 69+75=144, Resulting Numbers: [12, 39, 144] Generated Node #2: [12, 39, 144] from Operation: 69+75=144 Current State: 27:[12, 39, 144], Operations: ['69+75=144'] Exploring Operation: 144/12=12, Resulting Numbers: [39, 12] Generated Node #3: [39, 12] from Operation: 144/12=12 Current State: 27:[39, 12], Operations: ['69+75=144', '144/12=12'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[12, 69, 75, 39], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [12, 69, 36] Generated Node #0,0: 27:[12, 69, 36] Operation: 75-39=36 Exploring Operation: 75-12=63, Resulting Numbers: [69, 39, 63] Generated Node #0,1: 27:[69, 39, 63] Operation: 75-12=63 Exploring Operation: 69-39=30, Resulting Numbers: [12, 75, 30] Generated Node #0,2: 27:[12, 75, 30] Operation: 69-39=30 Exploring Operation: 75-69=6, Resulting Numbers: [12, 39, 6] Generated Node #0,3: 27:[12, 39, 6] Operation: 75-69=6 Exploring Operation: 69-12=57, Resulting Numbers: [75, 39, 57] Generated Node #0,4: 27:[75, 39, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[12, 39, 6], Operations: ['75-69=6'] Exploring Operation: 39-6=33, Resulting Numbers: [12, 33] Generated Node #0,3,0: 27:[12, 33] Operation: 39-6=33 Exploring Operation: 12/6=2, Resulting Numbers: [39, 2] Generated Node #0,3,1: 27:[39, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [39, 6] Generated Node #0,3,2: 27:[39, 6] Operation: 12-6=6 Exploring Operation: 39-12=27, Resulting Numbers: [6, 27] Generated Node #0,3,3: 27:[6, 27] Operation: 39-12=27 Exploring Operation: 12+6=18, Resulting Numbers: [39, 18] Generated Node #0,3,4: 27:[39, 18] Operation: 12+6=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[6, 27], Operations: ['75-69=6', '39-12=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,27 unequal: No Solution No 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: 27:[12, 33], Operations: ['75-69=6', '39-6=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,27 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,27 unequal: No Solution No 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: 27:[39, 2], Operations: ['75-69=6', '12/6=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,27 unequal: No Solution No 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: 27:[39, 6], Operations: ['75-69=6', '12-6=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,27 unequal: No Solution No 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: 27:[39, 18], Operations: ['75-69=6', '12+6=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,27 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,27 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: 27:[12, 69, 36], Operations: ['75-39=36'] Exploring Operation: 69-36=33, Resulting Numbers: [12, 33] Generated Node #0,0,0: 27:[12, 33] Operation: 69-36=33 Exploring Operation: 12+69=81, Resulting Numbers: [36, 81] Generated Node #0,0,1: 27:[36, 81] Operation: 12+69=81 Exploring Operation: 69-12=57, Resulting Numbers: [36, 57] Generated Node #0,0,2: 27:[36, 57] Operation: 69-12=57 Exploring Operation: 36/12=3, Resulting Numbers: [69, 3] Generated Node #0,0,3: 27:[69, 3] Operation: 36/12=3 Exploring Operation: 36-12=24, Resulting Numbers: [69, 24] Generated Node #0,0,4: 27:[69, 24] Operation: 36-12=24 Moving to Node #0,0,0 Current State: 27:[12, 33], Operations: ['75-39=36', '69-36=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,27 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[36, 57], Operations: ['75-39=36', '69-12=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[69, 3], Operations: ['75-39=36', '36/12=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,27 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[69, 24], Operations: ['75-39=36', '36-12=24'] Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,27 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[36, 81], Operations: ['75-39=36', '12+69=81'] Exploring Operation: 36+81=117, Resulting Numbers: [117] 117,27 unequal: No Solution Exploring Operation: 36*81=2916, Resulting Numbers: [2916] 2916,27 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,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,2 Current State: 27:[12, 75, 30], Operations: ['69-39=30'] Exploring Operation: 75-30=45, Resulting Numbers: [12, 45] Generated Node #0,2,0: 27:[12, 45] Operation: 75-30=45 Exploring Operation: 75-12=63, Resulting Numbers: [30, 63] Generated Node #0,2,1: 27:[30, 63] Operation: 75-12=63 Exploring Operation: 12+75=87, Resulting Numbers: [30, 87] Generated Node #0,2,2: 27:[30, 87] Operation: 12+75=87 Exploring Operation: 30-12=18, Resulting Numbers: [75, 18] Generated Node #0,2,3: 27:[75, 18] Operation: 30-12=18 Exploring Operation: 12+30=42, Resulting Numbers: [75, 42] Generated Node #0,2,4: 27:[75, 42] Operation: 12+30=42 Moving to Node #0,2,0 Current State: 27:[12, 45], Operations: ['69-39=30', '75-30=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,27 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[30, 63], Operations: ['69-39=30', '75-12=63'] Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,27 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[75, 18], Operations: ['69-39=30', '30-12=18'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,27 unequal: No Solution Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[30, 87], Operations: ['69-39=30', '12+75=87'] Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,27 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,27 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[75, 42], Operations: ['69-39=30', '12+30=42'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 75*42=3150, Resulting Numbers: [3150] 3150,27 unequal: No Solution Exploring Operation: 75+42=117, Resulting Numbers: [117] 117,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,1 Current State: 27:[69, 39, 63], Operations: ['75-12=63'] Exploring Operation: 69+63=132, Resulting Numbers: [39, 132] Generated Node #0,1,0: 27:[39, 132] Operation: 69+63=132 Exploring Operation: 63-39=24, Resulting Numbers: [69, 24] Generated Node #0,1,1: 27:[69, 24] Operation: 63-39=24 Exploring Operation: 69+39=108, Resulting Numbers: [63, 108] Generated Node #0,1,2: 27:[63, 108] Operation: 69+39=108 Exploring Operation: 69-39=30, Resulting Numbers: [63, 30] Generated Node #0,1,3: 27:[63, 30] Operation: 69-39=30 Exploring Operation: 69-63=6, Resulting Numbers: [39, 6] Generated Node #0,1,4: 27:[39, 6] Operation: 69-63=6 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 27:[39, 6], Operations: ['75-12=63', '69-63=6'] Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,27 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,27 unequal: No Solution No 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: 27:[63, 30], Operations: ['75-12=63', '69-39=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,27 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,27 unequal: No Solution No 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: 27:[69, 24], Operations: ['75-12=63', '63-39=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,27 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,27 unequal: No Solution No 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: 27:[39, 132], Operations: ['75-12=63', '69+63=132'] Exploring Operation: 39*132=5148, Resulting Numbers: [5148] 5148,27 unequal: No Solution Exploring Operation: 132-39=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 39+132=171, Resulting Numbers: [171] 171,27 unequal: No Solution No 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: 27:[63, 108], Operations: ['75-12=63', '69+39=108'] Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,27 unequal: No Solution Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,27 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[75, 39, 57], Operations: ['69-12=57'] Exploring Operation: 75+57=132, Resulting Numbers: [39, 132] Generated Node #0,4,0: 27:[39, 132] Operation: 75+57=132 Exploring Operation: 75+39=114, Resulting Numbers: [57, 114] Generated Node #0,4,1: 27:[57, 114] Operation: 75+39=114 Exploring Operation: 75-57=18, Resulting Numbers: [39, 18] Generated Node #0,4,2: 27:[39, 18] Operation: 75-57=18 Exploring Operation: 75-39=36, Resulting Numbers: [57, 36] Generated Node #0,4,3: 27:[57, 36] Operation: 75-39=36 Exploring Operation: 57-39=18, Resulting Numbers: [75, 18] Generated Node #0,4,4: 27:[75, 18] Operation: 57-39=18 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[39, 18], Operations: ['69-12=57', '75-57=18'] Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,27 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,27 unequal: No Solution No 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: 27:[57, 36], Operations: ['69-12=57', '75-39=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,27 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,27 unequal: No Solution No 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: 27:[75, 18], Operations: ['69-12=57', '57-39=18'] Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,27 unequal: No Solution No 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: 27:[39, 132], Operations: ['69-12=57', '75+57=132'] Exploring Operation: 39*132=5148, Resulting Numbers: [5148] 5148,27 unequal: No Solution Exploring Operation: 132-39=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 39+132=171, Resulting Numbers: [171] 171,27 unequal: No Solution No 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: 27:[57, 114], Operations: ['69-12=57', '75+39=114'] Exploring Operation: 114/57=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 57*114=6498, Resulting Numbers: [6498] 6498,27 unequal: No Solution Exploring Operation: 114-57=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 57+114=171, Resulting Numbers: [171] 171,27 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
[ 39, 27, 3, 20 ]
42
[ "39+27=66", "66/3=22", "20+22=42" ]
Current State: 42:[39, 27, 3, 20], Operations: [] Exploring Operation: 39+27=66, Resulting Numbers: [3, 20, 66] Generated Node #2: [3, 20, 66] from Operation: 39+27=66 Current State: 42:[3, 20, 66], Operations: ['39+27=66'] Exploring Operation: 66/3=22, Resulting Numbers: [20, 22] Generated Node #3: [20, 22] from Operation: 66/3=22 Current State: 42:[20, 22], Operations: ['39+27=66', '66/3=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[39, 27, 3, 20], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [3, 20, 12] Generated Node #0,0: 42:[3, 20, 12] Operation: 39-27=12 Exploring Operation: 27-20=7, Resulting Numbers: [39, 3, 7] Generated Node #0,1: 42:[39, 3, 7] Operation: 27-20=7 Exploring Operation: 27/3=9, Resulting Numbers: [39, 20, 9] Generated Node #0,2: 42:[39, 20, 9] Operation: 27/3=9 Moving to Node #0,0 Current State: 42:[3, 20, 12], Operations: ['39-27=12'] Exploring Operation: 20-12=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 42:[3, 8] Operation: 20-12=8 Exploring Operation: 12/3=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 42:[20, 4] Operation: 12/3=4 Exploring Operation: 3+12=15, Resulting Numbers: [20, 15] Generated Node #0,0,2: 42:[20, 15] Operation: 3+12=15 Moving to Node #0,1 Current State: 42:[39, 3, 7], Operations: ['27-20=7'] Exploring Operation: 3*7=21, Resulting Numbers: [39, 21] Generated Node #0,1,0: 42:[39, 21] Operation: 3*7=21 Exploring Operation: 39/3=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 42:[7, 13] Operation: 39/3=13 Exploring Operation: 39+3=42, Resulting Numbers: [7, 42] Generated Node #0,1,2: 42:[7, 42] Operation: 39+3=42 Moving to Node #0,2 Current State: 42:[39, 20, 9], Operations: ['27/3=9'] Exploring Operation: 39-20=19, Resulting Numbers: [9, 19] Generated Node #0,2,0: 42:[9, 19] Operation: 39-20=19 Exploring Operation: 20-9=11, Resulting Numbers: [39, 11] Generated Node #0,2,1: 42:[39, 11] Operation: 20-9=11 Exploring Operation: 39+9=48, Resulting Numbers: [20, 48] Generated Node #0,2,2: 42:[20, 48] Operation: 39+9=48 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[9, 19], Operations: ['27/3=9', '39-20=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,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:[39, 11], Operations: ['27/3=9', '20-9=11'] Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,42 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,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:[20, 48], Operations: ['27/3=9', '39+9=48'] Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,42 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 42:[7, 42], Operations: ['27-20=7', '39+3=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[3, 8], Operations: ['39-27=12', '20-12=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[7, 13], Operations: ['27-20=7', '39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[20, 15], Operations: ['39-27=12', '3+12=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,42 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[20, 4], Operations: ['39-27=12', '12/3=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[39, 21], Operations: ['27-20=7', '3*7=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,42 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 80, 87, 32 ]
43
[ "80-68=12", "87-32=55", "55-12=43" ]
Current State: 43:[68, 80, 87, 32], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [87, 32, 12] Generated Node #2: [87, 32, 12] from Operation: 80-68=12 Current State: 43:[87, 32, 12], Operations: ['80-68=12'] Exploring Operation: 87-32=55, Resulting Numbers: [12, 55] Generated Node #3: [12, 55] from Operation: 87-32=55 Current State: 43:[12, 55], Operations: ['80-68=12', '87-32=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[68, 80, 87, 32], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [87, 32, 12] Generated Node #0,0: 43:[87, 32, 12] Operation: 80-68=12 Exploring Operation: 87-80=7, Resulting Numbers: [68, 32, 7] Generated Node #0,1: 43:[68, 32, 7] Operation: 87-80=7 Exploring Operation: 87-68=19, Resulting Numbers: [80, 32, 19] Generated Node #0,2: 43:[80, 32, 19] Operation: 87-68=19 Exploring Operation: 80-32=48, Resulting Numbers: [68, 87, 48] Generated Node #0,3: 43:[68, 87, 48] Operation: 80-32=48 Exploring Operation: 87-32=55, Resulting Numbers: [68, 80, 55] Generated Node #0,4: 43:[68, 80, 55] Operation: 87-32=55 Moving to Node #0,1 Current State: 43:[68, 32, 7], Operations: ['87-80=7'] Exploring Operation: 68-7=61, Resulting Numbers: [32, 61] Generated Node #0,1,0: 43:[32, 61] Operation: 68-7=61 Exploring Operation: 68+7=75, Resulting Numbers: [32, 75] Generated Node #0,1,1: 43:[32, 75] Operation: 68+7=75 Exploring Operation: 68-32=36, Resulting Numbers: [7, 36] Generated Node #0,1,2: 43:[7, 36] Operation: 68-32=36 Exploring Operation: 32+7=39, Resulting Numbers: [68, 39] Generated Node #0,1,3: 43:[68, 39] Operation: 32+7=39 Exploring Operation: 32-7=25, Resulting Numbers: [68, 25] Generated Node #0,1,4: 43:[68, 25] Operation: 32-7=25 Moving to Node #0,2 Current State: 43:[80, 32, 19], Operations: ['87-68=19'] Exploring Operation: 80-19=61, Resulting Numbers: [32, 61] Generated Node #0,2,0: 43:[32, 61] Operation: 80-19=61 Exploring Operation: 32+19=51, Resulting Numbers: [80, 51] Generated Node #0,2,1: 43:[80, 51] Operation: 32+19=51 Exploring Operation: 80+19=99, Resulting Numbers: [32, 99] Generated Node #0,2,2: 43:[32, 99] Operation: 80+19=99 Exploring Operation: 32-19=13, Resulting Numbers: [80, 13] Generated Node #0,2,3: 43:[80, 13] Operation: 32-19=13 Exploring Operation: 80-32=48, Resulting Numbers: [19, 48] Generated Node #0,2,4: 43:[19, 48] Operation: 80-32=48 Moving to Node #0,3 Current State: 43:[68, 87, 48], Operations: ['80-32=48'] Exploring Operation: 87-68=19, Resulting Numbers: [48, 19] Generated Node #0,3,0: 43:[48, 19] Operation: 87-68=19 Exploring Operation: 87-48=39, Resulting Numbers: [68, 39] Generated Node #0,3,1: 43:[68, 39] Operation: 87-48=39 Exploring Operation: 68+87=155, Resulting Numbers: [48, 155] Generated Node #0,3,2: 43:[48, 155] Operation: 68+87=155 Exploring Operation: 68+48=116, Resulting Numbers: [87, 116] Generated Node #0,3,3: 43:[87, 116] Operation: 68+48=116 Exploring Operation: 68-48=20, Resulting Numbers: [87, 20] Generated Node #0,3,4: 43:[87, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[48, 19], Operations: ['80-32=48', '87-68=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[68, 39], Operations: ['80-32=48', '87-48=39'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,43 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 43:[87, 20], Operations: ['80-32=48', '68-48=20'] Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,43 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[48, 155], Operations: ['80-32=48', '68+87=155'] Exploring Operation: 48+155=203, Resulting Numbers: [203] 203,43 unequal: No Solution Exploring Operation: 48*155=7440, Resulting Numbers: [7440] 7440,43 unequal: No Solution Exploring Operation: 155-48=107, Resulting Numbers: [107] 107,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[87, 116], Operations: ['80-32=48', '68+48=116'] Exploring Operation: 87+116=203, Resulting Numbers: [203] 203,43 unequal: No Solution Exploring Operation: 87*116=10092, Resulting Numbers: [10092] 10092,43 unequal: No Solution Exploring Operation: 116-87=29, Resulting Numbers: [29] 29,43 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: 43:[68, 80, 55], Operations: ['87-32=55'] Exploring Operation: 80-55=25, Resulting Numbers: [68, 25] Generated Node #0,4,0: 43:[68, 25] Operation: 80-55=25 Exploring Operation: 80-68=12, Resulting Numbers: [55, 12] Generated Node #0,4,1: 43:[55, 12] Operation: 80-68=12 Exploring Operation: 68-55=13, Resulting Numbers: [80, 13] Generated Node #0,4,2: 43:[80, 13] Operation: 68-55=13 Exploring Operation: 68+55=123, Resulting Numbers: [80, 123] Generated Node #0,4,3: 43:[80, 123] Operation: 68+55=123 Exploring Operation: 68+80=148, Resulting Numbers: [55, 148] Generated Node #0,4,4: 43:[55, 148] Operation: 68+80=148 Moving to Node #0,0 Current State: 43:[87, 32, 12], Operations: ['80-68=12'] Exploring Operation: 87+12=99, Resulting Numbers: [32, 99] Generated Node #0,0,0: 43:[32, 99] Operation: 87+12=99 Exploring Operation: 32-12=20, Resulting Numbers: [87, 20] Generated Node #0,0,1: 43:[87, 20] Operation: 32-12=20 Exploring Operation: 32+12=44, Resulting Numbers: [87, 44] Generated Node #0,0,2: 43:[87, 44] Operation: 32+12=44 Exploring Operation: 87-12=75, Resulting Numbers: [32, 75] Generated Node #0,0,3: 43:[32, 75] Operation: 87-12=75 Exploring Operation: 87-32=55, Resulting Numbers: [12, 55] Generated Node #0,0,4: 43:[12, 55] Operation: 87-32=55 Moving to Node #0,1,0 Current State: 43:[32, 61], Operations: ['87-80=7', '68-7=61'] Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,43 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[32, 61], Operations: ['87-68=19', '80-19=61'] Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,43 unequal: No Solution Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[19, 48], Operations: ['87-68=19', '80-32=48'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,43 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[68, 39], Operations: ['87-80=7', '32+7=39'] Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,43 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[32, 75], Operations: ['87-80=7', '68+7=75'] Exploring Operation: 32+75=107, Resulting Numbers: [107] 107,43 unequal: No Solution Exploring Operation: 32*75=2400, Resulting Numbers: [2400] 2400,43 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[68, 80, 87, 32], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [68, 32, 7] Generated Node #0,1: 43:[68, 32, 7] Operation: 87-80=7 Moving to Node #0,1 Current State: 43:[68, 32, 7], Operations: ['87-80=7'] Exploring Operation: 68+7=75, Resulting Numbers: [32, 75] Generated Node #0,1,1: 43:[32, 75] Operation: 68+7=75 Moving to Node #0,1,1 Current State: 43:[32, 75], Operations: ['87-80=7', '68+7=75'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.944444
hs_5
mult_heuristic
[ 72, 27, 69, 7 ]
63
[ "72-69=3", "27*7=189", "189/3=63" ]
Current State: 63:[72, 27, 69, 7], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [27, 7, 3] Generated Node #2: [27, 7, 3] from Operation: 72-69=3 Current State: 63:[27, 7, 3], Operations: ['72-69=3'] Exploring Operation: 27*7=189, Resulting Numbers: [3, 189] Generated Node #3: [3, 189] from Operation: 27*7=189 Current State: 63:[3, 189], Operations: ['72-69=3', '27*7=189'] Exploring Operation: 189/3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[72, 27, 69, 7], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [27, 7, 3] Generated Node #0,0: 63:[27, 7, 3] Operation: 72-69=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[27, 7, 3], Operations: ['72-69=3'] Exploring Operation: 27/3=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 63:[7, 9] Operation: 27/3=9 Moving to Node #0,0,0 Current State: 63:[7, 9], Operations: ['72-69=3', '27/3=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[72, 27, 69, 7], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [27, 7, 3] Generated Node #0,0: 63:[27, 7, 3] Operation: 72-69=3 Moving to Node #0,0 Current State: 63:[27, 7, 3], Operations: ['72-69=3'] Exploring Operation: 27/3=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 63:[7, 9] Operation: 27/3=9 Moving to Node #0,0,0 Current State: 63:[7, 9], Operations: ['72-69=3', '27/3=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 43, 66, 77 ]
54
[ "43+77=120", "120/10=12", "66-12=54" ]
Current State: 54:[10, 43, 66, 77], Operations: [] Exploring Operation: 43+77=120, Resulting Numbers: [10, 66, 120] Generated Node #2: [10, 66, 120] from Operation: 43+77=120 Current State: 54:[10, 66, 120], Operations: ['43+77=120'] Exploring Operation: 120/10=12, Resulting Numbers: [66, 12] Generated Node #3: [66, 12] from Operation: 120/10=12 Current State: 54:[66, 12], Operations: ['43+77=120', '120/10=12'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[10, 43, 66, 77], Operations: [] Exploring Operation: 77-43=34, Resulting Numbers: [10, 66, 34] Generated Node #0,0: 54:[10, 66, 34] Operation: 77-43=34 Exploring Operation: 77-66=11, Resulting Numbers: [10, 43, 11] Generated Node #0,1: 54:[10, 43, 11] Operation: 77-66=11 Exploring Operation: 66-43=23, Resulting Numbers: [10, 77, 23] Generated Node #0,2: 54:[10, 77, 23] Operation: 66-43=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[10, 43, 11], Operations: ['77-66=11'] Exploring Operation: 43+11=54, Resulting Numbers: [10, 54] Generated Node #0,1,0: 54:[10, 54] Operation: 43+11=54 Exploring Operation: 10+43=53, Resulting Numbers: [11, 53] Generated Node #0,1,1: 54:[11, 53] Operation: 10+43=53 Exploring Operation: 43-11=32, Resulting Numbers: [10, 32] Generated Node #0,1,2: 54:[10, 32] Operation: 43-11=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[10, 54], Operations: ['77-66=11', '43+11=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,54 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,54 unequal: No Solution No 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: 54:[11, 53], Operations: ['77-66=11', '10+43=53'] Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,54 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,54 unequal: No Solution No 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: 54:[10, 32], Operations: ['77-66=11', '43-11=32'] Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,54 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,54 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: 54:[10, 66, 34], Operations: ['77-43=34'] Exploring Operation: 66-10=56, Resulting Numbers: [34, 56] Generated Node #0,0,0: 54:[34, 56] Operation: 66-10=56 Exploring Operation: 34-10=24, Resulting Numbers: [66, 24] Generated Node #0,0,1: 54:[66, 24] Operation: 34-10=24 Exploring Operation: 66-34=32, Resulting Numbers: [10, 32] Generated Node #0,0,2: 54:[10, 32] Operation: 66-34=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[10, 32], Operations: ['77-43=34', '66-34=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,54 unequal: No Solution No 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: 54:[34, 56], Operations: ['77-43=34', '66-10=56'] Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,54 unequal: No Solution No 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: 54:[66, 24], Operations: ['77-43=34', '34-10=24'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,54 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,54 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: 54:[10, 77, 23], Operations: ['66-43=23'] Exploring Operation: 77-23=54, Resulting Numbers: [10, 54] Generated Node #0,2,0: 54:[10, 54] Operation: 77-23=54 Exploring Operation: 77-10=67, Resulting Numbers: [23, 67] Generated Node #0,2,1: 54:[23, 67] Operation: 77-10=67 Exploring Operation: 23-10=13, Resulting Numbers: [77, 13] Generated Node #0,2,2: 54:[77, 13] Operation: 23-10=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[10, 54], Operations: ['66-43=23', '77-23=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,54 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,54 unequal: No Solution No 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: 54:[23, 67], Operations: ['66-43=23', '77-10=67'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,54 unequal: No Solution No 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: 54:[77, 13], Operations: ['66-43=23', '23-10=13'] Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,54 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 5, 37, 3, 70 ]
22
[ "37+3=40", "70+40=110", "110/5=22" ]
Current State: 22:[5, 37, 3, 70], Operations: [] Exploring Operation: 37+3=40, Resulting Numbers: [5, 70, 40] Generated Node #2: [5, 70, 40] from Operation: 37+3=40 Current State: 22:[5, 70, 40], Operations: ['37+3=40'] Exploring Operation: 70+40=110, Resulting Numbers: [5, 110] Generated Node #3: [5, 110] from Operation: 70+40=110 Current State: 22:[5, 110], Operations: ['37+3=40', '70+40=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[5, 37, 3, 70], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [37, 70, 2] Generated Node #0,0: 22:[37, 70, 2] Operation: 5-3=2 Exploring Operation: 70/5=14, Resulting Numbers: [37, 3, 14] Generated Node #0,1: 22:[37, 3, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [37, 3, 65] Generated Node #0,2: 22:[37, 3, 65] Operation: 70-5=65 Exploring Operation: 37-5=32, Resulting Numbers: [3, 70, 32] Generated Node #0,3: 22:[3, 70, 32] Operation: 37-5=32 Exploring Operation: 70-37=33, Resulting Numbers: [5, 3, 33] Generated Node #0,4: 22:[5, 3, 33] Operation: 70-37=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[5, 3, 33], Operations: ['70-37=33'] Exploring Operation: 33-5=28, Resulting Numbers: [3, 28] Generated Node #0,4,0: 22:[3, 28] Operation: 33-5=28 Exploring Operation: 33/3=11, Resulting Numbers: [5, 11] Generated Node #0,4,1: 22:[5, 11] Operation: 33/3=11 Exploring Operation: 5-3=2, Resulting Numbers: [33, 2] Generated Node #0,4,2: 22:[33, 2] Operation: 5-3=2 Exploring Operation: 33-3=30, Resulting Numbers: [5, 30] Generated Node #0,4,3: 22:[5, 30] Operation: 33-3=30 Exploring Operation: 5+3=8, Resulting Numbers: [33, 8] Generated Node #0,4,4: 22:[33, 8] Operation: 5+3=8 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 22:[5, 11], Operations: ['70-37=33', '33/3=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 22:[3, 28], Operations: ['70-37=33', '33-5=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 22:[33, 2], Operations: ['70-37=33', '5-3=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,22 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 22:[5, 30], Operations: ['70-37=33', '33-3=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 22:[33, 8], Operations: ['70-37=33', '5+3=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[37, 3, 14], Operations: ['70/5=14'] Exploring Operation: 14-3=11, Resulting Numbers: [37, 11] Generated Node #0,1,0: 22:[37, 11] Operation: 14-3=11 Exploring Operation: 37+3=40, Resulting Numbers: [14, 40] Generated Node #0,1,1: 22:[14, 40] Operation: 37+3=40 Exploring Operation: 37-3=34, Resulting Numbers: [14, 34] Generated Node #0,1,2: 22:[14, 34] Operation: 37-3=34 Exploring Operation: 37-14=23, Resulting Numbers: [3, 23] Generated Node #0,1,3: 22:[3, 23] Operation: 37-14=23 Exploring Operation: 3+14=17, Resulting Numbers: [37, 17] Generated Node #0,1,4: 22:[37, 17] Operation: 3+14=17 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 22:[3, 23], Operations: ['70/5=14', '37-14=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,22 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[37, 11], Operations: ['70/5=14', '14-3=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,22 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[14, 34], Operations: ['70/5=14', '37-3=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,22 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 22:[37, 17], Operations: ['70/5=14', '3+14=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,22 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[14, 40], Operations: ['70/5=14', '37+3=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[37, 3, 65], Operations: ['70-5=65'] Exploring Operation: 3+65=68, Resulting Numbers: [37, 68] Generated Node #0,2,0: 22:[37, 68] Operation: 3+65=68 Exploring Operation: 37-3=34, Resulting Numbers: [65, 34] Generated Node #0,2,1: 22:[65, 34] Operation: 37-3=34 Exploring Operation: 65-3=62, Resulting Numbers: [37, 62] Generated Node #0,2,2: 22:[37, 62] Operation: 65-3=62 Exploring Operation: 65-37=28, Resulting Numbers: [3, 28] Generated Node #0,2,3: 22:[3, 28] Operation: 65-37=28 Exploring Operation: 37+3=40, Resulting Numbers: [65, 40] Generated Node #0,2,4: 22:[65, 40] Operation: 37+3=40 Moving to Node #0,2,3 Current State: 22:[3, 28], Operations: ['70-5=65', '65-37=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[37, 62], Operations: ['70-5=65', '65-3=62'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[65, 34], Operations: ['70-5=65', '37-3=34'] Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,22 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[37, 68], Operations: ['70-5=65', '3+65=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[65, 40], Operations: ['70-5=65', '37+3=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,22 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[3, 70, 32], Operations: ['37-5=32'] Exploring Operation: 3+32=35, Resulting Numbers: [70, 35] Generated Node #0,3,0: 22:[70, 35] Operation: 3+32=35 Exploring Operation: 32-3=29, Resulting Numbers: [70, 29] Generated Node #0,3,1: 22:[70, 29] Operation: 32-3=29 Exploring Operation: 70-3=67, Resulting Numbers: [32, 67] Generated Node #0,3,2: 22:[32, 67] Operation: 70-3=67 Exploring Operation: 70-32=38, Resulting Numbers: [3, 38] Generated Node #0,3,3: 22:[3, 38] Operation: 70-32=38 Exploring Operation: 3+70=73, Resulting Numbers: [32, 73] Generated Node #0,3,4: 22:[32, 73] Operation: 3+70=73 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[3, 38], Operations: ['37-5=32', '70-32=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,22 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[70, 29], Operations: ['37-5=32', '32-3=29'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[32, 67], Operations: ['37-5=32', '70-3=67'] Exploring Operation: 32*67=2144, Resulting Numbers: [2144] 2144,22 unequal: No Solution Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 32+67=99, Resulting Numbers: [99] 99,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[70, 35], Operations: ['37-5=32', '3+32=35'] Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,22 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 22:[32, 73], Operations: ['37-5=32', '3+70=73'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,22 unequal: No Solution Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[37, 70, 2], Operations: ['5-3=2'] Exploring Operation: 37+2=39, Resulting Numbers: [70, 39] Generated Node #0,0,0: 22:[70, 39] Operation: 37+2=39 Exploring Operation: 70-2=68, Resulting Numbers: [37, 68] Generated Node #0,0,1: 22:[37, 68] Operation: 70-2=68 Exploring Operation: 37-2=35, Resulting Numbers: [70, 35] Generated Node #0,0,2: 22:[70, 35] Operation: 37-2=35 Exploring Operation: 70-37=33, Resulting Numbers: [2, 33] Generated Node #0,0,3: 22:[2, 33] Operation: 70-37=33 Exploring Operation: 70/2=35, Resulting Numbers: [37, 35] Generated Node #0,0,4: 22:[37, 35] Operation: 70/2=35 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 22:[2, 33], Operations: ['5-3=2', '70-37=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 22:[37, 35], Operations: ['5-3=2', '70/2=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,22 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[37, 68], Operations: ['5-3=2', '70-2=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,22 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[70, 35], Operations: ['5-3=2', '37-2=35'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,22 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,22 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[70, 39], Operations: ['5-3=2', '37+2=39'] Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,22 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 93, 20, 15, 77 ]
60
[ "93-20=73", "77-73=4", "15*4=60" ]
Current State: 60:[93, 20, 15, 77], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [15, 77, 73] Generated Node #2: [15, 77, 73] from Operation: 93-20=73 Current State: 60:[15, 77, 73], Operations: ['93-20=73'] Exploring Operation: 77-73=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 77-73=4 Current State: 60:[15, 4], Operations: ['93-20=73', '77-73=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[93, 20, 15, 77], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [20, 77, 78] Generated Node #0,0: 60:[20, 77, 78] Operation: 93-15=78 Exploring Operation: 93-77=16, Resulting Numbers: [20, 15, 16] Generated Node #0,1: 60:[20, 15, 16] Operation: 93-77=16 Exploring Operation: 93-20=73, Resulting Numbers: [15, 77, 73] Generated Node #0,2: 60:[15, 77, 73] Operation: 93-20=73 Exploring Operation: 77-15=62, Resulting Numbers: [93, 20, 62] Generated Node #0,3: 60:[93, 20, 62] Operation: 77-15=62 Exploring Operation: 77-20=57, Resulting Numbers: [93, 15, 57] Generated Node #0,4: 60:[93, 15, 57] Operation: 77-20=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[20, 15, 16], Operations: ['93-77=16'] Exploring Operation: 20+15=35, Resulting Numbers: [16, 35] Generated Node #0,1,0: 60:[16, 35] Operation: 20+15=35 Exploring Operation: 15+16=31, Resulting Numbers: [20, 31] Generated Node #0,1,1: 60:[20, 31] Operation: 15+16=31 Exploring Operation: 20-16=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 60:[15, 4] Operation: 20-16=4 Exploring Operation: 20-15=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 60:[16, 5] Operation: 20-15=5 Exploring Operation: 16-15=1, Resulting Numbers: [20, 1] Generated Node #0,1,4: 60:[20, 1] Operation: 16-15=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[15, 4], Operations: ['93-77=16', '20-16=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[93, 20, 15, 77], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [20, 15, 16] Generated Node #0,1: 60:[20, 15, 16] Operation: 93-77=16 Moving to Node #0,1 Current State: 60:[20, 15, 16], Operations: ['93-77=16'] Exploring Operation: 20-16=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 60:[15, 4] Operation: 20-16=4 Moving to Node #0,1,2 Current State: 60:[15, 4], Operations: ['93-77=16', '20-16=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 22, 66, 2, 17 ]
76
[ "22-17=5", "2*5=10", "66+10=76" ]
Current State: 76:[22, 66, 2, 17], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [66, 2, 5] Generated Node #2: [66, 2, 5] from Operation: 22-17=5 Current State: 76:[66, 2, 5], Operations: ['22-17=5'] Exploring Operation: 2*5=10, Resulting Numbers: [66, 10] Generated Node #3: [66, 10] from Operation: 2*5=10 Current State: 76:[66, 10], Operations: ['22-17=5', '2*5=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[22, 66, 2, 17], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [22, 17, 33] Generated Node #0,0: 76:[22, 17, 33] Operation: 66/2=33 Exploring Operation: 66-22=44, Resulting Numbers: [2, 17, 44] Generated Node #0,1: 76:[2, 17, 44] Operation: 66-22=44 Exploring Operation: 66+17=83, Resulting Numbers: [22, 2, 83] Generated Node #0,2: 76:[22, 2, 83] Operation: 66+17=83 Exploring Operation: 66/22=3, Resulting Numbers: [2, 17, 3] Generated Node #0,3: 76:[2, 17, 3] Operation: 66/22=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[2, 17, 3], Operations: ['66/22=3'] Exploring Operation: 3-2=1, Resulting Numbers: [17, 1] Generated Node #0,3,0: 76:[17, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [17, 5] Generated Node #0,3,1: 76:[17, 5] Operation: 2+3=5 Exploring Operation: 17+3=20, Resulting Numbers: [2, 20] Generated Node #0,3,2: 76:[2, 20] Operation: 17+3=20 Exploring Operation: 2+17=19, Resulting Numbers: [3, 19] Generated Node #0,3,3: 76:[3, 19] Operation: 2+17=19 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[2, 20], Operations: ['66/22=3', '17+3=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[3, 19], Operations: ['66/22=3', '2+17=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[17, 1], Operations: ['66/22=3', '3-2=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 76:[17, 5], Operations: ['66/22=3', '2+3=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 17, 44], Operations: ['66-22=44'] Exploring Operation: 2+17=19, Resulting Numbers: [44, 19] Generated Node #0,1,0: 76:[44, 19] Operation: 2+17=19 Exploring Operation: 44-2=42, Resulting Numbers: [17, 42] Generated Node #0,1,1: 76:[17, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 76:[17, 22] Operation: 44/2=22 Exploring Operation: 44-17=27, Resulting Numbers: [2, 27] Generated Node #0,1,3: 76:[2, 27] Operation: 44-17=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[17, 22], Operations: ['66-22=44', '44/2=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[44, 19], Operations: ['66-22=44', '2+17=19'] Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,76 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[17, 42], Operations: ['66-22=44', '44-2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 76:[2, 27], Operations: ['66-22=44', '44-17=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[22, 17, 33], Operations: ['66/2=33'] Exploring Operation: 33-22=11, Resulting Numbers: [17, 11] Generated Node #0,0,0: 76:[17, 11] Operation: 33-22=11 Exploring Operation: 22-17=5, Resulting Numbers: [33, 5] Generated Node #0,0,1: 76:[33, 5] Operation: 22-17=5 Exploring Operation: 22+17=39, Resulting Numbers: [33, 39] Generated Node #0,0,2: 76:[33, 39] Operation: 22+17=39 Exploring Operation: 33-17=16, Resulting Numbers: [22, 16] Generated Node #0,0,3: 76:[22, 16] Operation: 33-17=16 Moving to Node #0,0,1 Current State: 76:[33, 5], Operations: ['66/2=33', '22-17=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[22, 16], Operations: ['66/2=33', '33-17=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,76 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[33, 39], Operations: ['66/2=33', '22+17=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,76 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,76 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[17, 11], Operations: ['66/2=33', '33-22=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,76 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[22, 2, 83], Operations: ['66+17=83'] Exploring Operation: 83-2=81, Resulting Numbers: [22, 81] Generated Node #0,2,0: 76:[22, 81] Operation: 83-2=81 Exploring Operation: 2+83=85, Resulting Numbers: [22, 85] Generated Node #0,2,1: 76:[22, 85] Operation: 2+83=85 Exploring Operation: 22+2=24, Resulting Numbers: [83, 24] Generated Node #0,2,2: 76:[83, 24] Operation: 22+2=24 Exploring Operation: 22-2=20, Resulting Numbers: [83, 20] Generated Node #0,2,3: 76:[83, 20] Operation: 22-2=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[22, 81], Operations: ['66+17=83', '83-2=81'] Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[83, 20], Operations: ['66+17=83', '22-2=20'] Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,76 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[22, 85], Operations: ['66+17=83', '2+83=85'] Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,76 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[83, 24], Operations: ['66+17=83', '22+2=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,76 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 66, 15, 39, 17 ]
24
[ "66+39=105", "105/15=7", "17+7=24" ]
Current State: 24:[66, 15, 39, 17], Operations: [] Exploring Operation: 66+39=105, Resulting Numbers: [15, 17, 105] Generated Node #2: [15, 17, 105] from Operation: 66+39=105 Current State: 24:[15, 17, 105], Operations: ['66+39=105'] Exploring Operation: 105/15=7, Resulting Numbers: [17, 7] Generated Node #3: [17, 7] from Operation: 105/15=7 Current State: 24:[17, 7], Operations: ['66+39=105', '105/15=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 15, 39, 17], Operations: [] Exploring Operation: 66-39=27, Resulting Numbers: [15, 17, 27] Generated Node #0,0: 24:[15, 17, 27] Operation: 66-39=27 Exploring Operation: 66-17=49, Resulting Numbers: [15, 39, 49] Generated Node #0,1: 24:[15, 39, 49] Operation: 66-17=49 Moving to Node #0,0 Current State: 24:[15, 17, 27], Operations: ['66-39=27'] Exploring Operation: 27-15=12, Resulting Numbers: [17, 12] Generated Node #0,0,0: 24:[17, 12] Operation: 27-15=12 Exploring Operation: 17-15=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 24:[27, 2] Operation: 17-15=2 Moving to Node #0,1 Current State: 24:[15, 39, 49], Operations: ['66-17=49'] Exploring Operation: 49-39=10, Resulting Numbers: [15, 10] Generated Node #0,1,0: 24:[15, 10] Operation: 49-39=10 Exploring Operation: 39-15=24, Resulting Numbers: [49, 24] Generated Node #0,1,1: 24:[49, 24] Operation: 39-15=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[15, 10], Operations: ['66-17=49', '49-39=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,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,1 Current State: 24:[49, 24], Operations: ['66-17=49', '39-15=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,24 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: 24:[27, 2], Operations: ['66-39=27', '17-15=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[17, 12], Operations: ['66-39=27', '27-15=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,24 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 61, 96, 60, 52 ]
73
[ "60-52=8", "96/8=12", "61+12=73" ]
Current State: 73:[61, 96, 60, 52], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [61, 96, 8] Generated Node #2: [61, 96, 8] from Operation: 60-52=8 Current State: 73:[61, 96, 8], Operations: ['60-52=8'] Exploring Operation: 96/8=12, Resulting Numbers: [61, 12] Generated Node #3: [61, 12] from Operation: 96/8=12 Current State: 73:[61, 12], Operations: ['60-52=8', '96/8=12'] Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[61, 96, 60, 52], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [60, 52, 35] Generated Node #0,0: 73:[60, 52, 35] Operation: 96-61=35 Exploring Operation: 96-60=36, Resulting Numbers: [61, 52, 36] Generated Node #0,1: 73:[61, 52, 36] Operation: 96-60=36 Exploring Operation: 96-52=44, Resulting Numbers: [61, 60, 44] Generated Node #0,2: 73:[61, 60, 44] Operation: 96-52=44 Exploring Operation: 60+52=112, Resulting Numbers: [61, 96, 112] Generated Node #0,3: 73:[61, 96, 112] Operation: 60+52=112 Moving to Node #0,2 Current State: 73:[61, 60, 44], Operations: ['96-52=44'] Exploring Operation: 60-44=16, Resulting Numbers: [61, 16] Generated Node #0,2,0: 73:[61, 16] Operation: 60-44=16 Exploring Operation: 61+44=105, Resulting Numbers: [60, 105] Generated Node #0,2,1: 73:[60, 105] Operation: 61+44=105 Exploring Operation: 61-44=17, Resulting Numbers: [60, 17] Generated Node #0,2,2: 73:[60, 17] Operation: 61-44=17 Exploring Operation: 60+44=104, Resulting Numbers: [61, 104] Generated Node #0,2,3: 73:[61, 104] Operation: 60+44=104 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[61, 104], Operations: ['96-52=44', '60+44=104'] Exploring Operation: 61+104=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 104-61=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 61*104=6344, Resulting Numbers: [6344] 6344,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[60, 105], Operations: ['96-52=44', '61+44=105'] Exploring Operation: 60+105=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 60*105=6300, Resulting Numbers: [6300] 6300,73 unequal: No Solution Exploring Operation: 105-60=45, Resulting Numbers: [45] 45,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[61, 16], Operations: ['96-52=44', '60-44=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[60, 17], Operations: ['96-52=44', '61-44=17'] Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,73 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 73:[61, 52, 36], Operations: ['96-60=36'] Exploring Operation: 61+36=97, Resulting Numbers: [52, 97] Generated Node #0,1,0: 73:[52, 97] Operation: 61+36=97 Exploring Operation: 61-36=25, Resulting Numbers: [52, 25] Generated Node #0,1,1: 73:[52, 25] Operation: 61-36=25 Exploring Operation: 52-36=16, Resulting Numbers: [61, 16] Generated Node #0,1,2: 73:[61, 16] Operation: 52-36=16 Exploring Operation: 52+36=88, Resulting Numbers: [61, 88] Generated Node #0,1,3: 73:[61, 88] Operation: 52+36=88 Moving to Node #0,0 Current State: 73:[60, 52, 35], Operations: ['96-61=35'] Exploring Operation: 60-35=25, Resulting Numbers: [52, 25] Generated Node #0,0,0: 73:[52, 25] Operation: 60-35=25 Exploring Operation: 52-35=17, Resulting Numbers: [60, 17] Generated Node #0,0,1: 73:[60, 17] Operation: 52-35=17 Exploring Operation: 52+35=87, Resulting Numbers: [60, 87] Generated Node #0,0,2: 73:[60, 87] Operation: 52+35=87 Exploring Operation: 60+35=95, Resulting Numbers: [52, 95] Generated Node #0,0,3: 73:[52, 95] Operation: 60+35=95 Moving to Node #0,3 Current State: 73:[61, 96, 112], Operations: ['60+52=112'] Exploring Operation: 112-96=16, Resulting Numbers: [61, 16] Generated Node #0,3,0: 73:[61, 16] Operation: 112-96=16 Exploring Operation: 112-61=51, Resulting Numbers: [96, 51] Generated Node #0,3,1: 73:[96, 51] Operation: 112-61=51 Exploring Operation: 61+96=157, Resulting Numbers: [112, 157] Generated Node #0,3,2: 73:[112, 157] Operation: 61+96=157 Exploring Operation: 96-61=35, Resulting Numbers: [112, 35] Generated Node #0,3,3: 73:[112, 35] Operation: 96-61=35 Moving to Node #0,1,3 Current State: 73:[61, 88], Operations: ['96-60=36', '52+36=88'] Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,73 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[60, 87], Operations: ['96-61=35', '52+35=87'] Exploring Operation: 60+87=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 60*87=5220, Resulting Numbers: [5220] 5220,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[52, 95], Operations: ['96-61=35', '60+35=95'] Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[52, 97], Operations: ['96-60=36', '61+36=97'] Exploring Operation: 97-52=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 52+97=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 52*97=5044, Resulting Numbers: [5044] 5044,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[96, 51], Operations: ['60+52=112', '112-61=51'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[52, 25], Operations: ['96-61=35', '60-35=25'] Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,73 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[52, 25], Operations: ['96-60=36', '61-36=25'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,73 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[60, 17], Operations: ['96-61=35', '52-35=17'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[61, 16], Operations: ['60+52=112', '112-96=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[61, 16], Operations: ['96-60=36', '52-36=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[112, 35], Operations: ['60+52=112', '96-61=35'] Exploring Operation: 112-35=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 112+35=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 112*35=3920, Resulting Numbers: [3920] 3920,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[112, 157], Operations: ['60+52=112', '61+96=157'] Exploring Operation: 112+157=269, Resulting Numbers: [269] 269,73 unequal: No Solution Exploring Operation: 112*157=17584, Resulting Numbers: [17584] 17584,73 unequal: No Solution Exploring Operation: 157-112=45, Resulting Numbers: [45] 45,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 92, 14, 44, 76 ]
14
[ "92+14=106", "44+76=120", "120-106=14" ]
Current State: 14:[92, 14, 44, 76], Operations: [] Exploring Operation: 92+14=106, Resulting Numbers: [44, 76, 106] Generated Node #2: [44, 76, 106] from Operation: 92+14=106 Current State: 14:[44, 76, 106], Operations: ['92+14=106'] Exploring Operation: 44+76=120, Resulting Numbers: [106, 120] Generated Node #3: [106, 120] from Operation: 44+76=120 Current State: 14:[106, 120], Operations: ['92+14=106', '44+76=120'] Exploring Operation: 120-106=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[92, 14, 44, 76], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [44, 76, 78] Generated Node #0,0: 14:[44, 76, 78] Operation: 92-14=78 Exploring Operation: 92-76=16, Resulting Numbers: [14, 44, 16] Generated Node #0,1: 14:[14, 44, 16] Operation: 92-76=16 Exploring Operation: 76-44=32, Resulting Numbers: [92, 14, 32] Generated Node #0,2: 14:[92, 14, 32] Operation: 76-44=32 Exploring Operation: 92-44=48, Resulting Numbers: [14, 76, 48] Generated Node #0,3: 14:[14, 76, 48] Operation: 92-44=48 Exploring Operation: 44-14=30, Resulting Numbers: [92, 76, 30] Generated Node #0,4: 14:[92, 76, 30] Operation: 44-14=30 Moving to Node #0,1 Current State: 14:[14, 44, 16], Operations: ['92-76=16'] Exploring Operation: 14+44=58, Resulting Numbers: [16, 58] Generated Node #0,1,0: 14:[16, 58] Operation: 14+44=58 Exploring Operation: 14+16=30, Resulting Numbers: [44, 30] Generated Node #0,1,1: 14:[44, 30] Operation: 14+16=30 Exploring Operation: 44-14=30, Resulting Numbers: [16, 30] Generated Node #0,1,2: 14:[16, 30] Operation: 44-14=30 Exploring Operation: 16-14=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 14:[44, 2] Operation: 16-14=2 Exploring Operation: 44-16=28, Resulting Numbers: [14, 28] Generated Node #0,1,4: 14:[14, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[14, 28], Operations: ['92-76=16', '44-16=28'] Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,14 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[92, 14, 44, 76], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [14, 44, 16] Generated Node #0,1: 14:[14, 44, 16] Operation: 92-76=16 Moving to Node #0,1 Current State: 14:[14, 44, 16], Operations: ['92-76=16'] Exploring Operation: 44-16=28, Resulting Numbers: [14, 28] Generated Node #0,1,4: 14:[14, 28] Operation: 44-16=28 Moving to Node #0,1,4 Current State: 14:[14, 28], Operations: ['92-76=16', '44-16=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 95, 14, 78, 74 ]
43
[ "95+14=109", "78+74=152", "152-109=43" ]
Current State: 43:[95, 14, 78, 74], Operations: [] Exploring Operation: 95+14=109, Resulting Numbers: [78, 74, 109] Generated Node #2: [78, 74, 109] from Operation: 95+14=109 Current State: 43:[78, 74, 109], Operations: ['95+14=109'] Exploring Operation: 78+74=152, Resulting Numbers: [109, 152] Generated Node #3: [109, 152] from Operation: 78+74=152 Current State: 43:[109, 152], Operations: ['95+14=109', '78+74=152'] Exploring Operation: 152-109=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[95, 14, 78, 74], Operations: [] Exploring Operation: 95-14=81, Resulting Numbers: [78, 74, 81] Generated Node #0,0: 43:[78, 74, 81] Operation: 95-14=81 Exploring Operation: 95-74=21, Resulting Numbers: [14, 78, 21] Generated Node #0,1: 43:[14, 78, 21] Operation: 95-74=21 Exploring Operation: 95-78=17, Resulting Numbers: [14, 74, 17] Generated Node #0,2: 43:[14, 74, 17] Operation: 95-78=17 Exploring Operation: 78-14=64, Resulting Numbers: [95, 74, 64] Generated Node #0,3: 43:[95, 74, 64] Operation: 78-14=64 Moving to Node #0,1 Current State: 43:[14, 78, 21], Operations: ['95-74=21'] Exploring Operation: 78-14=64, Resulting Numbers: [21, 64] Generated Node #0,1,0: 43:[21, 64] Operation: 78-14=64 Exploring Operation: 14+21=35, Resulting Numbers: [78, 35] Generated Node #0,1,1: 43:[78, 35] Operation: 14+21=35 Exploring Operation: 78-21=57, Resulting Numbers: [14, 57] Generated Node #0,1,2: 43:[14, 57] Operation: 78-21=57 Exploring Operation: 14+78=92, Resulting Numbers: [21, 92] Generated Node #0,1,3: 43:[21, 92] Operation: 14+78=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[21, 64], Operations: ['95-74=21', '78-14=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[95, 14, 78, 74], Operations: [] Exploring Operation: 95-74=21, Resulting Numbers: [14, 78, 21] Generated Node #0,1: 43:[14, 78, 21] Operation: 95-74=21 Moving to Node #0,1 Current State: 43:[14, 78, 21], Operations: ['95-74=21'] Exploring Operation: 78-14=64, Resulting Numbers: [21, 64] Generated Node #0,1,0: 43:[21, 64] Operation: 78-14=64 Moving to Node #0,1,0 Current State: 43:[21, 64], Operations: ['95-74=21', '78-14=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 18, 82, 9, 5 ]
89
[ "18/9=2", "82+5=87", "2+87=89" ]
Current State: 89:[18, 82, 9, 5], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [82, 5, 2] Generated Node #2: [82, 5, 2] from Operation: 18/9=2 Current State: 89:[82, 5, 2], Operations: ['18/9=2'] Exploring Operation: 82+5=87, Resulting Numbers: [2, 87] Generated Node #3: [2, 87] from Operation: 82+5=87 Current State: 89:[2, 87], Operations: ['18/9=2', '82+5=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[18, 82, 9, 5], Operations: [] Exploring Operation: 18*5=90, Resulting Numbers: [82, 9, 90] Generated Node #0,0: 89:[82, 9, 90] Operation: 18*5=90 Exploring Operation: 18+9=27, Resulting Numbers: [82, 5, 27] Generated Node #0,1: 89:[82, 5, 27] Operation: 18+9=27 Exploring Operation: 18+5=23, Resulting Numbers: [82, 9, 23] Generated Node #0,2: 89:[82, 9, 23] Operation: 18+5=23 Exploring Operation: 9*5=45, Resulting Numbers: [18, 82, 45] Generated Node #0,3: 89:[18, 82, 45] Operation: 9*5=45 Moving to Node #0,0 Current State: 89:[82, 9, 90], Operations: ['18*5=90'] Exploring Operation: 90-9=81, Resulting Numbers: [82, 81] Generated Node #0,0,0: 89:[82, 81] Operation: 90-9=81 Exploring Operation: 82+9=91, Resulting Numbers: [90, 91] Generated Node #0,0,1: 89:[90, 91] Operation: 82+9=91 Exploring Operation: 82-9=73, Resulting Numbers: [90, 73] Generated Node #0,0,2: 89:[90, 73] Operation: 82-9=73 Exploring Operation: 9+90=99, Resulting Numbers: [82, 99] Generated Node #0,0,3: 89:[82, 99] Operation: 9+90=99 Moving to Node #0,3 Current State: 89:[18, 82, 45], Operations: ['9*5=45'] Exploring Operation: 82-18=64, Resulting Numbers: [45, 64] Generated Node #0,3,0: 89:[45, 64] Operation: 82-18=64 Exploring Operation: 18+82=100, Resulting Numbers: [45, 100] Generated Node #0,3,1: 89:[45, 100] Operation: 18+82=100 Exploring Operation: 45-18=27, Resulting Numbers: [82, 27] Generated Node #0,3,2: 89:[82, 27] Operation: 45-18=27 Exploring Operation: 18+45=63, Resulting Numbers: [82, 63] Generated Node #0,3,3: 89:[82, 63] Operation: 18+45=63 Moving to Node #0,2 Current State: 89:[82, 9, 23], Operations: ['18+5=23'] Exploring Operation: 9+23=32, Resulting Numbers: [82, 32] Generated Node #0,2,0: 89:[82, 32] Operation: 9+23=32 Exploring Operation: 23-9=14, Resulting Numbers: [82, 14] Generated Node #0,2,1: 89:[82, 14] Operation: 23-9=14 Exploring Operation: 82+9=91, Resulting Numbers: [23, 91] Generated Node #0,2,2: 89:[23, 91] Operation: 82+9=91 Exploring Operation: 82-9=73, Resulting Numbers: [23, 73] Generated Node #0,2,3: 89:[23, 73] Operation: 82-9=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[82, 32], Operations: ['18+5=23', '9+23=32'] Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,89 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[23, 91], Operations: ['18+5=23', '82+9=91'] Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,89 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,89 unequal: No Solution Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,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:[82, 14], Operations: ['18+5=23', '23-9=14'] Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,89 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,89 unequal: No Solution Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,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:[23, 73], Operations: ['18+5=23', '82-9=73'] Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 23*73=1679, Resulting Numbers: [1679] 1679,89 unequal: No Solution Exploring Operation: 23+73=96, Resulting Numbers: [96] 96,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[82, 5, 27], Operations: ['18+9=27'] Exploring Operation: 82+5=87, Resulting Numbers: [27, 87] Generated Node #0,1,0: 89:[27, 87] Operation: 82+5=87 Exploring Operation: 82-5=77, Resulting Numbers: [27, 77] Generated Node #0,1,1: 89:[27, 77] Operation: 82-5=77 Exploring Operation: 5*27=135, Resulting Numbers: [82, 135] Generated Node #0,1,2: 89:[82, 135] Operation: 5*27=135 Exploring Operation: 5+27=32, Resulting Numbers: [82, 32] Generated Node #0,1,3: 89:[82, 32] Operation: 5+27=32 Moving to Node #0,0,1 Current State: 89:[90, 91], Operations: ['18*5=90', '82+9=91'] Exploring Operation: 90*91=8190, Resulting Numbers: [8190] 8190,89 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 90+91=181, Resulting Numbers: [181] 181,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[82, 81], Operations: ['18*5=90', '90-9=81'] Exploring Operation: 82*81=6642, Resulting Numbers: [6642] 6642,89 unequal: No Solution Exploring Operation: 82+81=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[90, 73], Operations: ['18*5=90', '82-9=73'] Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[82, 99], Operations: ['18*5=90', '9+90=99'] Exploring Operation: 82*99=8118, Resulting Numbers: [8118] 8118,89 unequal: No Solution Exploring Operation: 82+99=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[82, 63], Operations: ['9*5=45', '18+45=63'] Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,89 unequal: No Solution Exploring Operation: 82*63=5166, Resulting Numbers: [5166] 5166,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[82, 135], Operations: ['18+9=27', '5*27=135'] Exploring Operation: 82*135=11070, Resulting Numbers: [11070] 11070,89 unequal: No Solution Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 82+135=217, Resulting Numbers: [217] 217,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[45, 100], Operations: ['9*5=45', '18+82=100'] Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 45+100=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 45*100=4500, Resulting Numbers: [4500] 4500,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[82, 32], Operations: ['18+9=27', '5+27=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,89 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[27, 87], Operations: ['18+9=27', '82+5=87'] Exploring Operation: 27*87=2349, Resulting Numbers: [2349] 2349,89 unequal: No Solution Exploring Operation: 27+87=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[45, 64], Operations: ['9*5=45', '82-18=64'] Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,89 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[82, 27], Operations: ['9*5=45', '45-18=27'] Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,89 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[27, 77], Operations: ['18+9=27', '82-5=77'] Exploring Operation: 27+77=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 27*77=2079, Resulting Numbers: [2079] 2079,89 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 10, 61, 98, 57 ]
22
[ "98-10=88", "61-57=4", "88/4=22" ]
Current State: 22:[10, 61, 98, 57], Operations: [] Exploring Operation: 98-10=88, Resulting Numbers: [61, 57, 88] Generated Node #2: [61, 57, 88] from Operation: 98-10=88 Current State: 22:[61, 57, 88], Operations: ['98-10=88'] Exploring Operation: 61-57=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 61-57=4 Current State: 22:[88, 4], Operations: ['98-10=88', '61-57=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[10, 61, 98, 57], Operations: [] Exploring Operation: 98-61=37, Resulting Numbers: [10, 57, 37] Generated Node #0,0: 22:[10, 57, 37] Operation: 98-61=37 Moving to Node #0,0 Current State: 22:[10, 57, 37], Operations: ['98-61=37'] Exploring Operation: 57-37=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 22:[10, 20] Operation: 57-37=20 Moving to Node #0,0,0 Current State: 22:[10, 20], Operations: ['98-61=37', '57-37=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 98, 66, 7, 28 ]
56
[ "98-28=70", "70/7=10", "66-10=56" ]
Current State: 56:[98, 66, 7, 28], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [66, 7, 70] Generated Node #2: [66, 7, 70] from Operation: 98-28=70 Current State: 56:[66, 7, 70], Operations: ['98-28=70'] Exploring Operation: 70/7=10, Resulting Numbers: [66, 10] Generated Node #3: [66, 10] from Operation: 70/7=10 Current State: 56:[66, 10], Operations: ['98-28=70', '70/7=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[98, 66, 7, 28], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [7, 28, 32] Generated Node #0,0: 56:[7, 28, 32] Operation: 98-66=32 Exploring Operation: 98-7=91, Resulting Numbers: [66, 28, 91] Generated Node #0,1: 56:[66, 28, 91] Operation: 98-7=91 Exploring Operation: 98-28=70, Resulting Numbers: [66, 7, 70] Generated Node #0,2: 56:[66, 7, 70] Operation: 98-28=70 Exploring Operation: 98/7=14, Resulting Numbers: [66, 28, 14] Generated Node #0,3: 56:[66, 28, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[7, 28, 32], Operations: ['98-66=32'] Exploring Operation: 32-28=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 56:[7, 4] Operation: 32-28=4 Exploring Operation: 32-7=25, Resulting Numbers: [28, 25] Generated Node #0,0,1: 56:[28, 25] Operation: 32-7=25 Exploring Operation: 28/7=4, Resulting Numbers: [32, 4] Generated Node #0,0,2: 56:[32, 4] Operation: 28/7=4 Exploring Operation: 28+32=60, Resulting Numbers: [7, 60] Generated Node #0,0,3: 56:[7, 60] Operation: 28+32=60 Moving to Node #0,0,0 Current State: 56:[7, 4], Operations: ['98-66=32', '32-28=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[28, 25], Operations: ['98-66=32', '32-7=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[7, 60], Operations: ['98-66=32', '28+32=60'] Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,56 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[32, 4], Operations: ['98-66=32', '28/7=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,56 unequal: No Solution No 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: 56:[66, 28, 14], Operations: ['98/7=14'] Exploring Operation: 66-28=38, Resulting Numbers: [14, 38] Generated Node #0,3,0: 56:[14, 38] Operation: 66-28=38 Exploring Operation: 66-14=52, Resulting Numbers: [28, 52] Generated Node #0,3,1: 56:[28, 52] Operation: 66-14=52 Exploring Operation: 28-14=14, Resulting Numbers: [66, 14] Generated Node #0,3,2: 56:[66, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [66, 2] Generated Node #0,3,3: 56:[66, 2] Operation: 28/14=2 Moving to Node #0,3,1 Current State: 56:[28, 52], Operations: ['98/7=14', '66-14=52'] Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,56 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[66, 14], Operations: ['98/7=14', '28-14=14'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,56 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[14, 38], Operations: ['98/7=14', '66-28=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,56 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[66, 2], Operations: ['98/7=14', '28/14=2'] Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,56 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,56 unequal: No Solution No 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: 56:[66, 7, 70], Operations: ['98-28=70'] Exploring Operation: 70/7=10, Resulting Numbers: [66, 10] Generated Node #0,2,0: 56:[66, 10] Operation: 70/7=10 Exploring Operation: 66-7=59, Resulting Numbers: [70, 59] Generated Node #0,2,1: 56:[70, 59] Operation: 66-7=59 Exploring Operation: 70-66=4, Resulting Numbers: [7, 4] Generated Node #0,2,2: 56:[7, 4] Operation: 70-66=4 Exploring Operation: 70-7=63, Resulting Numbers: [66, 63] Generated Node #0,2,3: 56:[66, 63] Operation: 70-7=63 Moving to Node #0,2,2 Current State: 56:[7, 4], Operations: ['98-28=70', '70-66=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[66, 10], Operations: ['98-28=70', '70/7=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[98, 66, 7, 28], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [66, 7, 70] Generated Node #0,2: 56:[66, 7, 70] Operation: 98-28=70 Moving to Node #0,2 Current State: 56:[66, 7, 70], Operations: ['98-28=70'] Exploring Operation: 70/7=10, Resulting Numbers: [66, 10] Generated Node #0,2,0: 56:[66, 10] Operation: 70/7=10 Moving to Node #0,2,0 Current State: 56:[66, 10], Operations: ['98-28=70', '70/7=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 63, 53, 13, 91 ]
38
[ "63+53=116", "91-13=78", "116-78=38" ]
Current State: 38:[63, 53, 13, 91], Operations: [] Exploring Operation: 63+53=116, Resulting Numbers: [13, 91, 116] Generated Node #2: [13, 91, 116] from Operation: 63+53=116 Current State: 38:[13, 91, 116], Operations: ['63+53=116'] Exploring Operation: 91-13=78, Resulting Numbers: [116, 78] Generated Node #3: [116, 78] from Operation: 91-13=78 Current State: 38:[116, 78], Operations: ['63+53=116', '91-13=78'] Exploring Operation: 116-78=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 53, 13, 91], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [53, 13, 28] Generated Node #0,0: 38:[53, 13, 28] Operation: 91-63=28 Exploring Operation: 91-53=38, Resulting Numbers: [63, 13, 38] Generated Node #0,1: 38:[63, 13, 38] Operation: 91-53=38 Exploring Operation: 91/13=7, Resulting Numbers: [63, 53, 7] Generated Node #0,2: 38:[63, 53, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 38:[53, 13, 28], Operations: ['91-63=28'] Exploring Operation: 53-13=40, Resulting Numbers: [28, 40] Generated Node #0,0,0: 38:[28, 40] Operation: 53-13=40 Exploring Operation: 53-28=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 38:[13, 25] Operation: 53-28=25 Exploring Operation: 13+28=41, Resulting Numbers: [53, 41] Generated Node #0,0,2: 38:[53, 41] Operation: 13+28=41 Moving to Node #0,1 Current State: 38:[63, 13, 38], Operations: ['91-53=38'] Exploring Operation: 38-13=25, Resulting Numbers: [63, 25] Generated Node #0,1,0: 38:[63, 25] Operation: 38-13=25 Exploring Operation: 63-13=50, Resulting Numbers: [38, 50] Generated Node #0,1,1: 38:[38, 50] Operation: 63-13=50 Exploring Operation: 63-38=25, Resulting Numbers: [13, 25] Generated Node #0,1,2: 38:[13, 25] Operation: 63-38=25 Moving to Node #0,2 Current State: 38:[63, 53, 7], Operations: ['91/13=7'] Exploring Operation: 63-7=56, Resulting Numbers: [53, 56] Generated Node #0,2,0: 38:[53, 56] Operation: 63-7=56 Exploring Operation: 63/7=9, Resulting Numbers: [53, 9] Generated Node #0,2,1: 38:[53, 9] Operation: 63/7=9 Exploring Operation: 63-53=10, Resulting Numbers: [7, 10] Generated Node #0,2,2: 38:[7, 10] Operation: 63-53=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[7, 10], Operations: ['91/13=7', '63-53=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[53, 9], Operations: ['91/13=7', '63/7=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[53, 56], Operations: ['91/13=7', '63-7=56'] Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,38 unequal: No Solution Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,38 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 38:[28, 40], Operations: ['91-63=28', '53-13=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[13, 25], Operations: ['91-63=28', '53-28=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[63, 53, 13, 91], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [53, 13, 28] Generated Node #0,0: 38:[53, 13, 28] Operation: 91-63=28 Moving to Node #0,0 Current State: 38:[53, 13, 28], Operations: ['91-63=28'] Exploring Operation: 53-28=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 38:[13, 25] Operation: 53-28=25 Moving to Node #0,0,1 Current State: 38:[13, 25], Operations: ['91-63=28', '53-28=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.974826
hs_3
mult_heuristic
[ 33, 37, 72, 58 ]
18
[ "37-33=4", "72-58=14", "4+14=18" ]
Current State: 18:[33, 37, 72, 58], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [72, 58, 4] Generated Node #2: [72, 58, 4] from Operation: 37-33=4 Current State: 18:[72, 58, 4], Operations: ['37-33=4'] Exploring Operation: 72-58=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 72-58=14 Current State: 18:[4, 14], Operations: ['37-33=4', '72-58=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[33, 37, 72, 58], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [33, 37, 14] Generated Node #0,0: 18:[33, 37, 14] Operation: 72-58=14 Exploring Operation: 72-37=35, Resulting Numbers: [33, 58, 35] Generated Node #0,1: 18:[33, 58, 35] Operation: 72-37=35 Exploring Operation: 58-37=21, Resulting Numbers: [33, 72, 21] Generated Node #0,2: 18:[33, 72, 21] Operation: 58-37=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[33, 37, 14], Operations: ['72-58=14'] Exploring Operation: 33-14=19, Resulting Numbers: [37, 19] Generated Node #0,0,0: 18:[37, 19] Operation: 33-14=19 Exploring Operation: 37-33=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 18:[14, 4] Operation: 37-33=4 Exploring Operation: 37-14=23, Resulting Numbers: [33, 23] Generated Node #0,0,2: 18:[33, 23] Operation: 37-14=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[14, 4], Operations: ['72-58=14', '37-33=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[33, 37, 72, 58], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [33, 37, 14] Generated Node #0,0: 18:[33, 37, 14] Operation: 72-58=14 Moving to Node #0,0 Current State: 18:[33, 37, 14], Operations: ['72-58=14'] Exploring Operation: 37-33=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 18:[14, 4] Operation: 37-33=4 Moving to Node #0,0,1 Current State: 18:[14, 4], Operations: ['72-58=14', '37-33=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 49, 34, 63, 20 ]
40
[ "49+34=83", "63-20=43", "83-43=40" ]
Current State: 40:[49, 34, 63, 20], Operations: [] Exploring Operation: 49+34=83, Resulting Numbers: [63, 20, 83] Generated Node #2: [63, 20, 83] from Operation: 49+34=83 Current State: 40:[63, 20, 83], Operations: ['49+34=83'] Exploring Operation: 63-20=43, Resulting Numbers: [83, 43] Generated Node #3: [83, 43] from Operation: 63-20=43 Current State: 40:[83, 43], Operations: ['49+34=83', '63-20=43'] Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[49, 34, 63, 20], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [34, 20, 14] Generated Node #0,0: 40:[34, 20, 14] Operation: 63-49=14 Moving to Node #0,0 Current State: 40:[34, 20, 14], Operations: ['63-49=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['63-49=14', '34-14=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[49, 34, 63, 20], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [34, 20, 14] Generated Node #0,0: 40:[34, 20, 14] Operation: 63-49=14 Moving to Node #0,0 Current State: 40:[34, 20, 14], Operations: ['63-49=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['63-49=14', '34-14=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 42, 86, 43, 65 ]
66
[ "86-42=44", "65-43=22", "44+22=66" ]
Current State: 66:[42, 86, 43, 65], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [43, 65, 44] Generated Node #2: [43, 65, 44] from Operation: 86-42=44 Current State: 66:[43, 65, 44], Operations: ['86-42=44'] Exploring Operation: 65-43=22, Resulting Numbers: [44, 22] Generated Node #3: [44, 22] from Operation: 65-43=22 Current State: 66:[44, 22], Operations: ['86-42=44', '65-43=22'] Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[42, 86, 43, 65], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [42, 65, 2] Generated Node #0,0: 66:[42, 65, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[42, 65, 2], Operations: ['86/43=2'] Exploring Operation: 65-42=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 66:[2, 23] Operation: 65-42=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[2, 23], Operations: ['86/43=2', '65-42=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 10, 85, 17, 21 ]
36
[ "10+21=31", "85/17=5", "31+5=36" ]
Current State: 36:[10, 85, 17, 21], Operations: [] Exploring Operation: 10+21=31, Resulting Numbers: [85, 17, 31] Generated Node #2: [85, 17, 31] from Operation: 10+21=31 Current State: 36:[85, 17, 31], Operations: ['10+21=31'] Exploring Operation: 85/17=5, Resulting Numbers: [31, 5] Generated Node #3: [31, 5] from Operation: 85/17=5 Current State: 36:[31, 5], Operations: ['10+21=31', '85/17=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[10, 85, 17, 21], Operations: [] Exploring Operation: 21-17=4, Resulting Numbers: [10, 85, 4] Generated Node #0,0: 36:[10, 85, 4] Operation: 21-17=4 Exploring Operation: 85-17=68, Resulting Numbers: [10, 21, 68] Generated Node #0,1: 36:[10, 21, 68] Operation: 85-17=68 Exploring Operation: 85-10=75, Resulting Numbers: [17, 21, 75] Generated Node #0,2: 36:[17, 21, 75] Operation: 85-10=75 Exploring Operation: 85/17=5, Resulting Numbers: [10, 21, 5] Generated Node #0,3: 36:[10, 21, 5] Operation: 85/17=5 Exploring Operation: 85-21=64, Resulting Numbers: [10, 17, 64] Generated Node #0,4: 36:[10, 17, 64] Operation: 85-21=64 Moving to Node #0,3 Current State: 36:[10, 21, 5], Operations: ['85/17=5'] Exploring Operation: 21-10=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 36:[5, 11] Operation: 21-10=11 Exploring Operation: 10+21=31, Resulting Numbers: [5, 31] Generated Node #0,3,1: 36:[5, 31] Operation: 10+21=31 Exploring Operation: 21-5=16, Resulting Numbers: [10, 16] Generated Node #0,3,2: 36:[10, 16] Operation: 21-5=16 Exploring Operation: 10/5=2, Resulting Numbers: [21, 2] Generated Node #0,3,3: 36:[21, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [21, 5] Generated Node #0,3,4: 36:[21, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[5, 11], Operations: ['85/17=5', '21-10=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[10, 16], Operations: ['85/17=5', '21-5=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,36 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[21, 2], Operations: ['85/17=5', '10/5=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 36:[21, 5], Operations: ['85/17=5', '10-5=5'] Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[5, 31], Operations: ['85/17=5', '10+21=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[10, 85, 17, 21], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [10, 21, 5] Generated Node #0,3: 36:[10, 21, 5] Operation: 85/17=5 Moving to Node #0,3 Current State: 36:[10, 21, 5], Operations: ['85/17=5'] Exploring Operation: 10+21=31, Resulting Numbers: [5, 31] Generated Node #0,3,1: 36:[5, 31] Operation: 10+21=31 Moving to Node #0,3,1 Current State: 36:[5, 31], Operations: ['85/17=5', '10+21=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 51, 95, 50, 60 ]
35
[ "51-50=1", "95-60=35", "1*35=35" ]
Current State: 35:[51, 95, 50, 60], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [95, 60, 1] Generated Node #2: [95, 60, 1] from Operation: 51-50=1 Current State: 35:[95, 60, 1], Operations: ['51-50=1'] Exploring Operation: 95-60=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 95-60=35 Current State: 35:[1, 35], Operations: ['51-50=1', '95-60=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[51, 95, 50, 60], Operations: [] Exploring Operation: 95-60=35, Resulting Numbers: [51, 50, 35] Generated Node #0,0: 35:[51, 50, 35] Operation: 95-60=35 Moving to Node #0,0 Current State: 35:[51, 50, 35], Operations: ['95-60=35'] Exploring Operation: 51-50=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 35:[35, 1] Operation: 51-50=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[35, 1], Operations: ['95-60=35', '51-50=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[51, 95, 50, 60], Operations: [] Exploring Operation: 95-60=35, Resulting Numbers: [51, 50, 35] Generated Node #0,0: 35:[51, 50, 35] Operation: 95-60=35 Moving to Node #0,0 Current State: 35:[51, 50, 35], Operations: ['95-60=35'] Exploring Operation: 51-50=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 35:[35, 1] Operation: 51-50=1 Moving to Node #0,0,0 Current State: 35:[35, 1], Operations: ['95-60=35', '51-50=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 50, 37, 35, 73 ]
48
[ "37-35=2", "50/2=25", "73-25=48" ]
Current State: 48:[50, 37, 35, 73], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [50, 73, 2] Generated Node #2: [50, 73, 2] from Operation: 37-35=2 Current State: 48:[50, 73, 2], Operations: ['37-35=2'] Exploring Operation: 50/2=25, Resulting Numbers: [73, 25] Generated Node #3: [73, 25] from Operation: 50/2=25 Current State: 48:[73, 25], Operations: ['37-35=2', '50/2=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[50, 37, 35, 73], Operations: [] Exploring Operation: 73-50=23, Resulting Numbers: [37, 35, 23] Generated Node #0,0: 48:[37, 35, 23] Operation: 73-50=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[37, 35, 23], Operations: ['73-50=23'] Exploring Operation: 37-35=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 48:[23, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 48:[23, 2], Operations: ['73-50=23', '37-35=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,48 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
[ 48, 28, 77, 9 ]
66
[ "48-28=20", "77+9=86", "86-20=66" ]
Current State: 66:[48, 28, 77, 9], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [77, 9, 20] Generated Node #2: [77, 9, 20] from Operation: 48-28=20 Current State: 66:[77, 9, 20], Operations: ['48-28=20'] Exploring Operation: 77+9=86, Resulting Numbers: [20, 86] Generated Node #3: [20, 86] from Operation: 77+9=86 Current State: 66:[20, 86], Operations: ['48-28=20', '77+9=86'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 28, 77, 9], Operations: [] Exploring Operation: 77-48=29, Resulting Numbers: [28, 9, 29] Generated Node #0,0: 66:[28, 9, 29] Operation: 77-48=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[28, 9, 29], Operations: ['77-48=29'] Exploring Operation: 29-28=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 66:[9, 1] Operation: 29-28=1 Moving to Node #0,0,0 Current State: 66:[9, 1], Operations: ['77-48=29', '29-28=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 9, 65, 39 ]
38
[ "39/13=3", "9*3=27", "65-27=38" ]
Current State: 38:[13, 9, 65, 39], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [9, 65, 3] Generated Node #2: [9, 65, 3] from Operation: 39/13=3 Current State: 38:[9, 65, 3], Operations: ['39/13=3'] Exploring Operation: 9*3=27, Resulting Numbers: [65, 27] Generated Node #3: [65, 27] from Operation: 9*3=27 Current State: 38:[65, 27], Operations: ['39/13=3', '9*3=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[13, 9, 65, 39], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [9, 39, 5] Generated Node #0,0: 38:[9, 39, 5] Operation: 65/13=5 Moving to Node #0,0 Current State: 38:[9, 39, 5], Operations: ['65/13=5'] Exploring Operation: 9-5=4, Resulting Numbers: [39, 4] Generated Node #0,0,0: 38:[39, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[39, 4], Operations: ['65/13=5', '9-5=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,38 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
[ 42, 72, 75, 64 ]
50
[ "75-72=3", "42/3=14", "64-14=50" ]
Current State: 50:[42, 72, 75, 64], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [42, 64, 3] Generated Node #2: [42, 64, 3] from Operation: 75-72=3 Current State: 50:[42, 64, 3], Operations: ['75-72=3'] Exploring Operation: 42/3=14, Resulting Numbers: [64, 14] Generated Node #3: [64, 14] from Operation: 42/3=14 Current State: 50:[64, 14], Operations: ['75-72=3', '42/3=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[42, 72, 75, 64], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [42, 72, 11] Generated Node #0,0: 50:[42, 72, 11] Operation: 75-64=11 Exploring Operation: 75-72=3, Resulting Numbers: [42, 64, 3] Generated Node #0,1: 50:[42, 64, 3] Operation: 75-72=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[42, 64, 3], Operations: ['75-72=3'] Exploring Operation: 64-42=22, Resulting Numbers: [3, 22] Generated Node #0,1,0: 50:[3, 22] Operation: 64-42=22 Exploring Operation: 42/3=14, Resulting Numbers: [64, 14] Generated Node #0,1,1: 50:[64, 14] Operation: 42/3=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[3, 22], Operations: ['75-72=3', '64-42=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,50 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,50 unequal: No Solution No 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: 50:[64, 14], Operations: ['75-72=3', '42/3=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[42, 72, 75, 64], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [42, 64, 3] Generated Node #0,1: 50:[42, 64, 3] Operation: 75-72=3 Moving to Node #0,1 Current State: 50:[42, 64, 3], Operations: ['75-72=3'] Exploring Operation: 42/3=14, Resulting Numbers: [64, 14] Generated Node #0,1,1: 50:[64, 14] Operation: 42/3=14 Moving to Node #0,1,1 Current State: 50:[64, 14], Operations: ['75-72=3', '42/3=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 41, 27, 45, 70 ]
83
[ "27*70=1890", "1890/45=42", "41+42=83" ]
Current State: 83:[41, 27, 45, 70], Operations: [] Exploring Operation: 27*70=1890, Resulting Numbers: [41, 45, 1890] Generated Node #2: [41, 45, 1890] from Operation: 27*70=1890 Current State: 83:[41, 45, 1890], Operations: ['27*70=1890'] Exploring Operation: 1890/45=42, Resulting Numbers: [41, 42] Generated Node #3: [41, 42] from Operation: 1890/45=42 Current State: 83:[41, 42], Operations: ['27*70=1890', '1890/45=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[41, 27, 45, 70], Operations: [] Exploring Operation: 27+45=72, Resulting Numbers: [41, 70, 72] Generated Node #0,0: 83:[41, 70, 72] Operation: 27+45=72 Exploring Operation: 41+45=86, Resulting Numbers: [27, 70, 86] Generated Node #0,1: 83:[27, 70, 86] Operation: 41+45=86 Exploring Operation: 27+70=97, Resulting Numbers: [41, 45, 97] Generated Node #0,2: 83:[41, 45, 97] Operation: 27+70=97 Exploring Operation: 41+27=68, Resulting Numbers: [45, 70, 68] Generated Node #0,3: 83:[45, 70, 68] Operation: 41+27=68 Moving to Node #0,0 Current State: 83:[41, 70, 72], Operations: ['27+45=72'] Exploring Operation: 70-41=29, Resulting Numbers: [72, 29] Generated Node #0,0,0: 83:[72, 29] Operation: 70-41=29 Exploring Operation: 41+72=113, Resulting Numbers: [70, 113] Generated Node #0,0,1: 83:[70, 113] Operation: 41+72=113 Exploring Operation: 41+70=111, Resulting Numbers: [72, 111] Generated Node #0,0,2: 83:[72, 111] Operation: 41+70=111 Exploring Operation: 72-41=31, Resulting Numbers: [70, 31] Generated Node #0,0,3: 83:[70, 31] Operation: 72-41=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[72, 111], Operations: ['27+45=72', '41+70=111'] Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,83 unequal: No Solution Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[70, 113], Operations: ['27+45=72', '41+72=113'] Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,83 unequal: No Solution Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[72, 29], Operations: ['27+45=72', '70-41=29'] Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,83 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[70, 31], Operations: ['27+45=72', '72-41=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,83 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,83 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: 83:[45, 70, 68], Operations: ['41+27=68'] Exploring Operation: 45+70=115, Resulting Numbers: [68, 115] Generated Node #0,3,0: 83:[68, 115] Operation: 45+70=115 Exploring Operation: 68-45=23, Resulting Numbers: [70, 23] Generated Node #0,3,1: 83:[70, 23] Operation: 68-45=23 Exploring Operation: 70-45=25, Resulting Numbers: [68, 25] Generated Node #0,3,2: 83:[68, 25] Operation: 70-45=25 Exploring Operation: 45+68=113, Resulting Numbers: [70, 113] Generated Node #0,3,3: 83:[70, 113] Operation: 45+68=113 Moving to Node #0,1 Current State: 83:[27, 70, 86], Operations: ['41+45=86'] Exploring Operation: 86-27=59, Resulting Numbers: [70, 59] Generated Node #0,1,0: 83:[70, 59] Operation: 86-27=59 Exploring Operation: 27+86=113, Resulting Numbers: [70, 113] Generated Node #0,1,1: 83:[70, 113] Operation: 27+86=113 Exploring Operation: 27+70=97, Resulting Numbers: [86, 97] Generated Node #0,1,2: 83:[86, 97] Operation: 27+70=97 Exploring Operation: 70-27=43, Resulting Numbers: [86, 43] Generated Node #0,1,3: 83:[86, 43] Operation: 70-27=43 Moving to Node #0,2 Current State: 83:[41, 45, 97], Operations: ['27+70=97'] Exploring Operation: 41+45=86, Resulting Numbers: [97, 86] Generated Node #0,2,0: 83:[97, 86] Operation: 41+45=86 Exploring Operation: 97-45=52, Resulting Numbers: [41, 52] Generated Node #0,2,1: 83:[41, 52] Operation: 97-45=52 Exploring Operation: 45-41=4, Resulting Numbers: [97, 4] Generated Node #0,2,2: 83:[97, 4] Operation: 45-41=4 Exploring Operation: 97-41=56, Resulting Numbers: [45, 56] Generated Node #0,2,3: 83:[45, 56] Operation: 97-41=56 Moving to Node #0,1,2 Current State: 83:[86, 97], Operations: ['41+45=86', '27+70=97'] Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 86+97=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 86*97=8342, Resulting Numbers: [8342] 8342,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[97, 86], Operations: ['27+70=97', '41+45=86'] Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 97*86=8342, Resulting Numbers: [8342] 8342,83 unequal: No Solution Exploring Operation: 97+86=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[70, 59], Operations: ['41+45=86', '86-27=59'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,83 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[70, 113], Operations: ['41+45=86', '27+86=113'] Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,83 unequal: No Solution Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[70, 113], Operations: ['41+27=68', '45+68=113'] Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,83 unequal: No Solution Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[86, 43], Operations: ['41+45=86', '70-27=43'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,83 unequal: No Solution Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[68, 115], Operations: ['41+27=68', '45+70=115'] Exploring Operation: 115-68=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 68*115=7820, Resulting Numbers: [7820] 7820,83 unequal: No Solution Exploring Operation: 68+115=183, Resulting Numbers: [183] 183,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[45, 56], Operations: ['27+70=97', '97-41=56'] Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[70, 23], Operations: ['41+27=68', '68-45=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[68, 25], Operations: ['41+27=68', '70-45=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[41, 52], Operations: ['27+70=97', '97-45=52'] Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[97, 4], Operations: ['27+70=97', '45-41=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,83 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 77, 24, 32 ]
80
[ "77-5=72", "32-24=8", "72+8=80" ]
Current State: 80:[5, 77, 24, 32], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [24, 32, 72] Generated Node #2: [24, 32, 72] from Operation: 77-5=72 Current State: 80:[24, 32, 72], Operations: ['77-5=72'] Exploring Operation: 32-24=8, Resulting Numbers: [72, 8] Generated Node #3: [72, 8] from Operation: 32-24=8 Current State: 80:[72, 8], Operations: ['77-5=72', '32-24=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 77, 24, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [5, 77, 8] Generated Node #0,0: 80:[5, 77, 8] Operation: 32-24=8 Exploring Operation: 77-32=45, Resulting Numbers: [5, 24, 45] Generated Node #0,1: 80:[5, 24, 45] Operation: 77-32=45 Moving to Node #0,0 Current State: 80:[5, 77, 8], Operations: ['32-24=8'] Exploring Operation: 5+77=82, Resulting Numbers: [8, 82] Generated Node #0,0,0: 80:[8, 82] Operation: 5+77=82 Exploring Operation: 5*8=40, Resulting Numbers: [77, 40] Generated Node #0,0,1: 80:[77, 40] Operation: 5*8=40 Moving to Node #0,1 Current State: 80:[5, 24, 45], Operations: ['77-32=45'] Exploring Operation: 45-24=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 80:[5, 21] Operation: 45-24=21 Exploring Operation: 45-5=40, Resulting Numbers: [24, 40] Generated Node #0,1,1: 80:[24, 40] Operation: 45-5=40 Moving to Node #0,1,0 Current State: 80:[5, 21], Operations: ['77-32=45', '45-24=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[8, 82], Operations: ['32-24=8', '5+77=82'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 8+82=90, Resulting Numbers: [90] 90,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[77, 40], Operations: ['32-24=8', '5*8=40'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[24, 40], Operations: ['77-32=45', '45-5=40'] Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,80 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 84, 42, 70 ]
72
[ "84-63=21", "42/21=2", "70+2=72" ]
Current State: 72:[63, 84, 42, 70], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [42, 70, 21] Generated Node #2: [42, 70, 21] from Operation: 84-63=21 Current State: 72:[42, 70, 21], Operations: ['84-63=21'] Exploring Operation: 42/21=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 42/21=2 Current State: 72:[70, 2], Operations: ['84-63=21', '42/21=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[63, 84, 42, 70], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [42, 70, 21] Generated Node #0,0: 72:[42, 70, 21] Operation: 84-63=21 Exploring Operation: 84/42=2, Resulting Numbers: [63, 70, 2] Generated Node #0,1: 72:[63, 70, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[42, 70, 21], Operations: ['84-63=21'] Exploring Operation: 42/21=2, Resulting Numbers: [70, 2] Generated Node #0,0,0: 72:[70, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [70, 21] Generated Node #0,0,1: 72:[70, 21] Operation: 42-21=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[70, 2], Operations: ['84-63=21', '42/21=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[63, 84, 42, 70], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [42, 70, 21] Generated Node #0,0: 72:[42, 70, 21] Operation: 84-63=21 Moving to Node #0,0 Current State: 72:[42, 70, 21], Operations: ['84-63=21'] Exploring Operation: 42/21=2, Resulting Numbers: [70, 2] Generated Node #0,0,0: 72:[70, 2] Operation: 42/21=2 Moving to Node #0,0,0 Current State: 72:[70, 2], Operations: ['84-63=21', '42/21=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 50, 37, 20, 20 ]
86
[ "50+37=87", "20/20=1", "87-1=86" ]
Current State: 86:[50, 37, 20, 20], Operations: [] Exploring Operation: 50+37=87, Resulting Numbers: [20, 20, 87] Generated Node #2: [20, 20, 87] from Operation: 50+37=87 Current State: 86:[20, 20, 87], Operations: ['50+37=87'] Exploring Operation: 20/20=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 20/20=1 Current State: 86:[87, 1], Operations: ['50+37=87', '20/20=1'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[50, 37, 20, 20], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [50, 37, 40] Generated Node #0,0: 86:[50, 37, 40] Operation: 20+20=40 Exploring Operation: 20/20=1, Resulting Numbers: [50, 37, 1] Generated Node #0,1: 86:[50, 37, 1] Operation: 20/20=1 Exploring Operation: 20-20=0, Resulting Numbers: [50, 37, 0] Generated Node #0,2: 86:[50, 37, 0] Operation: 20-20=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[50, 37, 1], Operations: ['20/20=1'] Exploring Operation: 50+37=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 86:[1, 87] Operation: 50+37=87 Exploring Operation: 50-37=13, Resulting Numbers: [1, 13] Generated Node #0,1,1: 86:[1, 13] Operation: 50-37=13 Exploring Operation: 50-1=49, Resulting Numbers: [37, 49] Generated Node #0,1,2: 86:[37, 49] Operation: 50-1=49 Moving to Node #0,1,0 Current State: 86:[1, 87], Operations: ['20/20=1', '50+37=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[50, 37, 20, 20], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [50, 37, 1] Generated Node #0,1: 86:[50, 37, 1] Operation: 20/20=1 Moving to Node #0,1 Current State: 86:[50, 37, 1], Operations: ['20/20=1'] Exploring Operation: 50+37=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 86:[1, 87] Operation: 50+37=87 Moving to Node #0,1,0 Current State: 86:[1, 87], Operations: ['20/20=1', '50+37=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 22, 32, 4, 54 ]
84
[ "22+54=76", "32/4=8", "76+8=84" ]
Current State: 84:[22, 32, 4, 54], Operations: [] Exploring Operation: 22+54=76, Resulting Numbers: [32, 4, 76] Generated Node #2: [32, 4, 76] from Operation: 22+54=76 Current State: 84:[32, 4, 76], Operations: ['22+54=76'] Exploring Operation: 32/4=8, Resulting Numbers: [76, 8] Generated Node #3: [76, 8] from Operation: 32/4=8 Current State: 84:[76, 8], Operations: ['22+54=76', '32/4=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[22, 32, 4, 54], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [22, 4, 22] Generated Node #0,0: 84:[22, 4, 22] Operation: 54-32=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[22, 4, 22], Operations: ['54-32=22'] Exploring Operation: 22/22=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 84:[4, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 84:[4, 1], Operations: ['54-32=22', '22/22=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 80, 26, 54, 50 ]
58
[ "80-26=54", "54-50=4", "54+4=58" ]
Current State: 58:[80, 26, 54, 50], Operations: [] Exploring Operation: 80-26=54, Resulting Numbers: [54, 50, 54] Generated Node #2: [54, 50, 54] from Operation: 80-26=54 Current State: 58:[54, 50, 54], Operations: ['80-26=54'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,58 equal: Goal Reached Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[80, 26, 54, 50], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [26, 54, 30] Generated Node #0,0: 58:[26, 54, 30] Operation: 80-50=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[26, 54, 30], Operations: ['80-50=30'] Exploring Operation: 54-26=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 58:[30, 28] Operation: 54-26=28 Moving to Node #0,0,0 Current State: 58:[30, 28], Operations: ['80-50=30', '54-26=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[80, 26, 54, 50], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [26, 54, 30] Generated Node #0,0: 58:[26, 54, 30] Operation: 80-50=30 Moving to Node #0,0 Current State: 58:[26, 54, 30], Operations: ['80-50=30'] Exploring Operation: 54-26=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 58:[30, 28] Operation: 54-26=28 Moving to Node #0,0,0 Current State: 58:[30, 28], Operations: ['80-50=30', '54-26=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 19, 91, 2 ]
17
[ "4*19=76", "91+2=93", "93-76=17" ]
Current State: 17:[4, 19, 91, 2], Operations: [] Exploring Operation: 4*19=76, Resulting Numbers: [91, 2, 76] Generated Node #2: [91, 2, 76] from Operation: 4*19=76 Current State: 17:[91, 2, 76], Operations: ['4*19=76'] Exploring Operation: 91+2=93, Resulting Numbers: [76, 93] Generated Node #3: [76, 93] from Operation: 91+2=93 Current State: 17:[76, 93], Operations: ['4*19=76', '91+2=93'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 19, 91, 2], Operations: [] Exploring Operation: 4+2=6, Resulting Numbers: [19, 91, 6] Generated Node #0,0: 17:[19, 91, 6] Operation: 4+2=6 Exploring Operation: 4*2=8, Resulting Numbers: [19, 91, 8] Generated Node #0,1: 17:[19, 91, 8] Operation: 4*2=8 Exploring Operation: 91-4=87, Resulting Numbers: [19, 2, 87] Generated Node #0,2: 17:[19, 2, 87] Operation: 91-4=87 Exploring Operation: 19-2=17, Resulting Numbers: [4, 91, 17] Generated Node #0,3: 17:[4, 91, 17] Operation: 19-2=17 Exploring Operation: 91-19=72, Resulting Numbers: [4, 2, 72] Generated Node #0,4: 17:[4, 2, 72] Operation: 91-19=72 Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[4, 2, 72], Operations: ['91-19=72'] Exploring Operation: 72-4=68, Resulting Numbers: [2, 68] Generated Node #0,4,0: 17:[2, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [2, 18] Generated Node #0,4,1: 17:[2, 18] Operation: 72/4=18 Exploring Operation: 4+2=6, Resulting Numbers: [72, 6] Generated Node #0,4,2: 17:[72, 6] Operation: 4+2=6 Exploring Operation: 4*2=8, Resulting Numbers: [72, 8] Generated Node #0,4,3: 17:[72, 8] Operation: 4*2=8 Exploring Operation: 72/2=36, Resulting Numbers: [4, 36] Generated Node #0,4,4: 17:[4, 36] Operation: 72/2=36 Moving to Node #0,4,1 Current State: 17:[2, 18], Operations: ['91-19=72', '72/4=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[4, 36], Operations: ['91-19=72', '72/2=36'] Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[72, 8], Operations: ['91-19=72', '4*2=8'] Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,17 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[2, 68], Operations: ['91-19=72', '72-4=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[72, 6], Operations: ['91-19=72', '4+2=6'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 72*6=432, Resulting Numbers: [432] 432,17 unequal: No Solution Exploring Operation: 72+6=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[19, 91, 8], Operations: ['4*2=8'] Exploring Operation: 19+8=27, Resulting Numbers: [91, 27] Generated Node #0,1,0: 17:[91, 27] Operation: 19+8=27 Exploring Operation: 91-8=83, Resulting Numbers: [19, 83] Generated Node #0,1,1: 17:[19, 83] Operation: 91-8=83 Exploring Operation: 91-19=72, Resulting Numbers: [8, 72] Generated Node #0,1,2: 17:[8, 72] Operation: 91-19=72 Exploring Operation: 19-8=11, Resulting Numbers: [91, 11] Generated Node #0,1,3: 17:[91, 11] Operation: 19-8=11 Exploring Operation: 91+8=99, Resulting Numbers: [19, 99] Generated Node #0,1,4: 17:[19, 99] Operation: 91+8=99 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[8, 72], Operations: ['4*2=8', '91-19=72'] Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[19, 83], Operations: ['4*2=8', '91-8=83'] Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 19*83=1577, Resulting Numbers: [1577] 1577,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 17:[91, 11], Operations: ['4*2=8', '19-8=11'] Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,17 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,17 unequal: No Solution Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[91, 27], Operations: ['4*2=8', '19+8=27'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,17 unequal: No Solution Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 17:[19, 99], Operations: ['4*2=8', '91+8=99'] Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,17 unequal: No Solution Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,17 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[19, 91, 6], Operations: ['4+2=6'] Exploring Operation: 91-19=72, Resulting Numbers: [6, 72] Generated Node #0,0,0: 17:[6, 72] Operation: 91-19=72 Exploring Operation: 19+6=25, Resulting Numbers: [91, 25] Generated Node #0,0,1: 17:[91, 25] Operation: 19+6=25 Exploring Operation: 91-6=85, Resulting Numbers: [19, 85] Generated Node #0,0,2: 17:[19, 85] Operation: 91-6=85 Exploring Operation: 19-6=13, Resulting Numbers: [91, 13] Generated Node #0,0,3: 17:[91, 13] Operation: 19-6=13 Exploring Operation: 91+6=97, Resulting Numbers: [19, 97] Generated Node #0,0,4: 17:[19, 97] Operation: 91+6=97 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[6, 72], Operations: ['4+2=6', '91-19=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,17 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[19, 85], Operations: ['4+2=6', '91-6=85'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[91, 13], Operations: ['4+2=6', '19-6=13'] Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,17 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[91, 25], Operations: ['4+2=6', '19+6=25'] Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,17 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,17 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 17:[19, 97], Operations: ['4+2=6', '91+6=97'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 19*97=1843, Resulting Numbers: [1843] 1843,17 unequal: No Solution Exploring Operation: 19+97=116, Resulting Numbers: [116] 116,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[19, 2, 87], Operations: ['91-4=87'] Exploring Operation: 2+87=89, Resulting Numbers: [19, 89] Generated Node #0,2,0: 17:[19, 89] Operation: 2+87=89 Exploring Operation: 19-2=17, Resulting Numbers: [87, 17] Generated Node #0,2,1: 17:[87, 17] Operation: 19-2=17 Exploring Operation: 87-2=85, Resulting Numbers: [19, 85] Generated Node #0,2,2: 17:[19, 85] Operation: 87-2=85 Exploring Operation: 19+2=21, Resulting Numbers: [87, 21] Generated Node #0,2,3: 17:[87, 21] Operation: 19+2=21 Exploring Operation: 87-19=68, Resulting Numbers: [2, 68] Generated Node #0,2,4: 17:[2, 68] Operation: 87-19=68 Moving to Node #0,2,4 Current State: 17:[2, 68], Operations: ['91-4=87', '87-19=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[19, 85], Operations: ['91-4=87', '87-2=85'] Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,17 unequal: No Solution Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[87, 17], Operations: ['91-4=87', '19-2=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[19, 89], Operations: ['91-4=87', '2+87=89'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 19+89=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 19*89=1691, Resulting Numbers: [1691] 1691,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[87, 21], Operations: ['91-4=87', '19+2=21'] Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,17 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[4, 91, 17], Operations: ['19-2=17'] Exploring Operation: 4+17=21, Resulting Numbers: [91, 21] Generated Node #0,3,0: 17:[91, 21] Operation: 4+17=21 Exploring Operation: 91-17=74, Resulting Numbers: [4, 74] Generated Node #0,3,1: 17:[4, 74] Operation: 91-17=74 Exploring Operation: 4+91=95, Resulting Numbers: [17, 95] Generated Node #0,3,2: 17:[17, 95] Operation: 4+91=95 Exploring Operation: 17-4=13, Resulting Numbers: [91, 13] Generated Node #0,3,3: 17:[91, 13] Operation: 17-4=13 Exploring Operation: 91-4=87, Resulting Numbers: [17, 87] Generated Node #0,3,4: 17:[17, 87] Operation: 91-4=87 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[4, 74], Operations: ['19-2=17', '91-17=74'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,17 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 17:[17, 87], Operations: ['19-2=17', '91-4=87'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 17+87=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 17*87=1479, Resulting Numbers: [1479] 1479,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[91, 21], Operations: ['19-2=17', '4+17=21'] Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[17, 95], Operations: ['19-2=17', '4+91=95'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 17+95=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 17*95=1615, Resulting Numbers: [1615] 1615,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[91, 13], Operations: ['19-2=17', '17-4=13'] Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,17 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,17 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 10, 30, 21, 40 ]
38
[ "21*40=840", "840/30=28", "10+28=38" ]
Current State: 38:[10, 30, 21, 40], Operations: [] Exploring Operation: 21*40=840, Resulting Numbers: [10, 30, 840] Generated Node #2: [10, 30, 840] from Operation: 21*40=840 Current State: 38:[10, 30, 840], Operations: ['21*40=840'] Exploring Operation: 840/30=28, Resulting Numbers: [10, 28] Generated Node #3: [10, 28] from Operation: 840/30=28 Current State: 38:[10, 28], Operations: ['21*40=840', '840/30=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[10, 30, 21, 40], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [21, 40, 3] Generated Node #0,0: 38:[21, 40, 3] Operation: 30/10=3 Exploring Operation: 10+30=40, Resulting Numbers: [21, 40, 40] Generated Node #0,1: 38:[21, 40, 40] Operation: 10+30=40 Exploring Operation: 30-10=20, Resulting Numbers: [21, 40, 20] Generated Node #0,2: 38:[21, 40, 20] Operation: 30-10=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[21, 40, 3], Operations: ['30/10=3'] Exploring Operation: 40-21=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 38:[3, 19] Operation: 40-21=19 Exploring Operation: 21-3=18, Resulting Numbers: [40, 18] Generated Node #0,0,1: 38:[40, 18] Operation: 21-3=18 Exploring Operation: 40-3=37, Resulting Numbers: [21, 37] Generated Node #0,0,2: 38:[21, 37] Operation: 40-3=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[3, 19], Operations: ['30/10=3', '40-21=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[40, 18], Operations: ['30/10=3', '21-3=18'] Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,38 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,38 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 38:[21, 37], Operations: ['30/10=3', '40-3=37'] Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,38 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[21, 40, 20], Operations: ['30-10=20'] Exploring Operation: 40-21=19, Resulting Numbers: [20, 19] Generated Node #0,2,0: 38:[20, 19] Operation: 40-21=19 Exploring Operation: 40/20=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 38:[21, 2] Operation: 40/20=2 Exploring Operation: 21-20=1, Resulting Numbers: [40, 1] Generated Node #0,2,2: 38:[40, 1] Operation: 21-20=1 Moving to Node #0,2,0 Current State: 38:[20, 19], Operations: ['30-10=20', '40-21=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,38 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[21, 2], Operations: ['30-10=20', '40/20=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[40, 1], Operations: ['30-10=20', '21-20=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[21, 40, 40], Operations: ['10+30=40'] Exploring Operation: 40/40=1, Resulting Numbers: [21, 1] Generated Node #0,1,0: 38:[21, 1] Operation: 40/40=1 Exploring Operation: 40-21=19, Resulting Numbers: [40, 19] Generated Node #0,1,1: 38:[40, 19] Operation: 40-21=19 Exploring Operation: 40-21=19, Resulting Numbers: [40, 19] Generated Node #0,1,2: 38:[40, 19] Operation: 40-21=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[40, 19], Operations: ['10+30=40', '40-21=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[40, 19], Operations: ['10+30=40', '40-21=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,38 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[21, 1], Operations: ['10+30=40', '40/40=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 63, 99, 6, 67 ]
97
[ "99-63=36", "67-6=61", "36+61=97" ]
Current State: 97:[63, 99, 6, 67], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [6, 67, 36] Generated Node #2: [6, 67, 36] from Operation: 99-63=36 Current State: 97:[6, 67, 36], Operations: ['99-63=36'] Exploring Operation: 67-6=61, Resulting Numbers: [36, 61] Generated Node #3: [36, 61] from Operation: 67-6=61 Current State: 97:[36, 61], Operations: ['99-63=36', '67-6=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[63, 99, 6, 67], Operations: [] Exploring Operation: 63+6=69, Resulting Numbers: [99, 67, 69] Generated Node #0,0: 97:[99, 67, 69] Operation: 63+6=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[99, 67, 69], Operations: ['63+6=69'] Exploring Operation: 67+69=136, Resulting Numbers: [99, 136] Generated Node #0,0,0: 97:[99, 136] Operation: 67+69=136 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[99, 136], Operations: ['63+6=69', '67+69=136'] Exploring Operation: 136-99=37, Resulting Numbers: [37] 37,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 37, 15, 99, 92 ]
68
[ "99-92=7", "15*7=105", "105-37=68" ]
Current State: 68:[37, 15, 99, 92], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [37, 15, 7] Generated Node #2: [37, 15, 7] from Operation: 99-92=7 Current State: 68:[37, 15, 7], Operations: ['99-92=7'] Exploring Operation: 15*7=105, Resulting Numbers: [37, 105] Generated Node #3: [37, 105] from Operation: 15*7=105 Current State: 68:[37, 105], Operations: ['99-92=7', '15*7=105'] Exploring Operation: 105-37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[37, 15, 99, 92], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [37, 15, 7] Generated Node #0,0: 68:[37, 15, 7] Operation: 99-92=7 Moving to Node #0,0 Current State: 68:[37, 15, 7], Operations: ['99-92=7'] Exploring Operation: 37-7=30, Resulting Numbers: [15, 30] Generated Node #0,0,0: 68:[15, 30] Operation: 37-7=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[15, 30], Operations: ['99-92=7', '37-7=30'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,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
sum_heuristic
[ 53, 81, 1, 57 ]
78
[ "53+81=134", "57-1=56", "134-56=78" ]
Current State: 78:[53, 81, 1, 57], Operations: [] Exploring Operation: 53+81=134, Resulting Numbers: [1, 57, 134] Generated Node #2: [1, 57, 134] from Operation: 53+81=134 Current State: 78:[1, 57, 134], Operations: ['53+81=134'] Exploring Operation: 57-1=56, Resulting Numbers: [134, 56] Generated Node #3: [134, 56] from Operation: 57-1=56 Current State: 78:[134, 56], Operations: ['53+81=134', '57-1=56'] Exploring Operation: 134-56=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[53, 81, 1, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [81, 1, 4] Generated Node #0,0: 78:[81, 1, 4] Operation: 57-53=4 Exploring Operation: 81-57=24, Resulting Numbers: [53, 1, 24] Generated Node #0,1: 78:[53, 1, 24] Operation: 81-57=24 Exploring Operation: 53-1=52, Resulting Numbers: [81, 57, 52] Generated Node #0,2: 78:[81, 57, 52] Operation: 53-1=52 Exploring Operation: 81-53=28, Resulting Numbers: [1, 57, 28] Generated Node #0,3: 78:[1, 57, 28] Operation: 81-53=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[81, 1, 4], Operations: ['57-53=4'] Exploring Operation: 81*1=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 78:[4, 81] Operation: 81*1=81 Exploring Operation: 81-1=80, Resulting Numbers: [4, 80] Generated Node #0,0,1: 78:[4, 80] Operation: 81-1=80 Exploring Operation: 4-1=3, Resulting Numbers: [81, 3] Generated Node #0,0,2: 78:[81, 3] Operation: 4-1=3 Exploring Operation: 81-4=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 78:[1, 77] Operation: 81-4=77 Moving to Node #0,0,3 Current State: 78:[1, 77], Operations: ['57-53=4', '81-4=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[53, 81, 1, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [81, 1, 4] Generated Node #0,0: 78:[81, 1, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 78:[81, 1, 4], Operations: ['57-53=4'] Exploring Operation: 81-4=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 78:[1, 77] Operation: 81-4=77 Moving to Node #0,0,3 Current State: 78:[1, 77], Operations: ['57-53=4', '81-4=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 50, 92, 72, 27 ]
97
[ "50+92=142", "72-27=45", "142-45=97" ]
Current State: 97:[50, 92, 72, 27], Operations: [] Exploring Operation: 50+92=142, Resulting Numbers: [72, 27, 142] Generated Node #2: [72, 27, 142] from Operation: 50+92=142 Current State: 97:[72, 27, 142], Operations: ['50+92=142'] Exploring Operation: 72-27=45, Resulting Numbers: [142, 45] Generated Node #3: [142, 45] from Operation: 72-27=45 Current State: 97:[142, 45], Operations: ['50+92=142', '72-27=45'] Exploring Operation: 142-45=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[50, 92, 72, 27], Operations: [] Exploring Operation: 50+27=77, Resulting Numbers: [92, 72, 77] Generated Node #0,0: 97:[92, 72, 77] Operation: 50+27=77 Exploring Operation: 50+72=122, Resulting Numbers: [92, 27, 122] Generated Node #0,1: 97:[92, 27, 122] Operation: 50+72=122 Exploring Operation: 92+27=119, Resulting Numbers: [50, 72, 119] Generated Node #0,2: 97:[50, 72, 119] Operation: 92+27=119 Exploring Operation: 72+27=99, Resulting Numbers: [50, 92, 99] Generated Node #0,3: 97:[50, 92, 99] Operation: 72+27=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[92, 72, 77], Operations: ['50+27=77'] Exploring Operation: 92-72=20, Resulting Numbers: [77, 20] Generated Node #0,0,0: 97:[77, 20] Operation: 92-72=20 Exploring Operation: 92+77=169, Resulting Numbers: [72, 169] Generated Node #0,0,1: 97:[72, 169] Operation: 92+77=169 Exploring Operation: 92+72=164, Resulting Numbers: [77, 164] Generated Node #0,0,2: 97:[77, 164] Operation: 92+72=164 Exploring Operation: 72+77=149, Resulting Numbers: [92, 149] Generated Node #0,0,3: 97:[92, 149] Operation: 72+77=149 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[92, 149], Operations: ['50+27=77', '72+77=149'] Exploring Operation: 149-92=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 92*149=13708, Resulting Numbers: [13708] 13708,97 unequal: No Solution Exploring Operation: 92+149=241, Resulting Numbers: [241] 241,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[77, 164], Operations: ['50+27=77', '92+72=164'] Exploring Operation: 164-77=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 77+164=241, Resulting Numbers: [241] 241,97 unequal: No Solution Exploring Operation: 77*164=12628, Resulting Numbers: [12628] 12628,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[77, 20], Operations: ['50+27=77', '92-72=20'] Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,97 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[50, 92, 72, 27], Operations: [] Exploring Operation: 50+27=77, Resulting Numbers: [92, 72, 77] Generated Node #0,0: 97:[92, 72, 77] Operation: 50+27=77 Moving to Node #0,0 Current State: 97:[92, 72, 77], Operations: ['50+27=77'] Exploring Operation: 92-72=20, Resulting Numbers: [77, 20] Generated Node #0,0,0: 97:[77, 20] Operation: 92-72=20 Moving to Node #0,0,0 Current State: 97:[77, 20], Operations: ['50+27=77', '92-72=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 54, 85, 8, 31 ]
51
[ "85+8=93", "93/31=3", "54-3=51" ]
Current State: 51:[54, 85, 8, 31], Operations: [] Exploring Operation: 85+8=93, Resulting Numbers: [54, 31, 93] Generated Node #2: [54, 31, 93] from Operation: 85+8=93 Current State: 51:[54, 31, 93], Operations: ['85+8=93'] Exploring Operation: 93/31=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 93/31=3 Current State: 51:[54, 3], Operations: ['85+8=93', '93/31=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[54, 85, 8, 31], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [54, 31, 77] Generated Node #0,0: 51:[54, 31, 77] Operation: 85-8=77 Exploring Operation: 85-54=31, Resulting Numbers: [8, 31, 31] Generated Node #0,1: 51:[8, 31, 31] Operation: 85-54=31 Exploring Operation: 85-31=54, Resulting Numbers: [54, 8, 54] Generated Node #0,2: 51:[54, 8, 54] Operation: 85-31=54 Moving to Node #0,2 Current State: 51:[54, 8, 54], Operations: ['85-31=54'] Exploring Operation: 54-8=46, Resulting Numbers: [54, 46] Generated Node #0,2,0: 51:[54, 46] Operation: 54-8=46 Exploring Operation: 54-54=0, Resulting Numbers: [8, 0] Generated Node #0,2,1: 51:[8, 0] Operation: 54-54=0 Exploring Operation: 54/54=1, Resulting Numbers: [8, 1] Generated Node #0,2,2: 51:[8, 1] Operation: 54/54=1 Moving to Node #0,1 Current State: 51:[8, 31, 31], Operations: ['85-54=31'] Exploring Operation: 31+31=62, Resulting Numbers: [8, 62] Generated Node #0,1,0: 51:[8, 62] Operation: 31+31=62 Exploring Operation: 31/31=1, Resulting Numbers: [8, 1] Generated Node #0,1,1: 51:[8, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [8, 0] Generated Node #0,1,2: 51:[8, 0] Operation: 31-31=0 Moving to Node #0,0 Current State: 51:[54, 31, 77], Operations: ['85-8=77'] Exploring Operation: 77-31=46, Resulting Numbers: [54, 46] Generated Node #0,0,0: 51:[54, 46] Operation: 77-31=46 Exploring Operation: 54-31=23, Resulting Numbers: [77, 23] Generated Node #0,0,1: 51:[77, 23] Operation: 54-31=23 Exploring Operation: 77-54=23, Resulting Numbers: [31, 23] Generated Node #0,0,2: 51:[31, 23] Operation: 77-54=23 Moving to Node #0,2,2 Current State: 51:[8, 1], Operations: ['85-31=54', '54/54=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[8, 1], Operations: ['85-54=31', '31/31=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[8, 0], Operations: ['85-31=54', '54-54=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[54, 46], Operations: ['85-8=77', '77-31=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,51 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[8, 0], Operations: ['85-54=31', '31-31=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[54, 46], Operations: ['85-31=54', '54-8=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[8, 62], Operations: ['85-54=31', '31+31=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,51 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[31, 23], Operations: ['85-8=77', '77-54=23'] Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,51 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[77, 23], Operations: ['85-8=77', '54-31=23'] Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,51 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,51 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 8, 45, 5 ]
63
[ "2*5=10", "8+45=53", "10+53=63" ]
Current State: 63:[2, 8, 45, 5], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [8, 45, 10] Generated Node #2: [8, 45, 10] from Operation: 2*5=10 Current State: 63:[8, 45, 10], Operations: ['2*5=10'] Exploring Operation: 8+45=53, Resulting Numbers: [10, 53] Generated Node #3: [10, 53] from Operation: 8+45=53 Current State: 63:[10, 53], Operations: ['2*5=10', '8+45=53'] Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[2, 8, 45, 5], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [2, 8, 50] Generated Node #0,0: 63:[2, 8, 50] Operation: 45+5=50 Exploring Operation: 2+45=47, Resulting Numbers: [8, 5, 47] Generated Node #0,1: 63:[8, 5, 47] Operation: 2+45=47 Exploring Operation: 45/5=9, Resulting Numbers: [2, 8, 9] Generated Node #0,2: 63:[2, 8, 9] Operation: 45/5=9 Exploring Operation: 8+45=53, Resulting Numbers: [2, 5, 53] Generated Node #0,3: 63:[2, 5, 53] Operation: 8+45=53 Moving to Node #0,2 Current State: 63:[2, 8, 9], Operations: ['45/5=9'] Exploring Operation: 2+8=10, Resulting Numbers: [9, 10] Generated Node #0,2,0: 63:[9, 10] Operation: 2+8=10 Exploring Operation: 9-2=7, Resulting Numbers: [8, 7] Generated Node #0,2,1: 63:[8, 7] Operation: 9-2=7 Exploring Operation: 8-2=6, Resulting Numbers: [9, 6] Generated Node #0,2,2: 63:[9, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [9, 4] Generated Node #0,2,3: 63:[9, 4] Operation: 8/2=4 Moving to Node #0,3 Current State: 63:[2, 5, 53], Operations: ['8+45=53'] Exploring Operation: 2+5=7, Resulting Numbers: [53, 7] Generated Node #0,3,0: 63:[53, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [53, 3] Generated Node #0,3,1: 63:[53, 3] Operation: 5-2=3 Exploring Operation: 5+53=58, Resulting Numbers: [2, 58] Generated Node #0,3,2: 63:[2, 58] Operation: 5+53=58 Exploring Operation: 2+53=55, Resulting Numbers: [5, 55] Generated Node #0,3,3: 63:[5, 55] Operation: 2+53=55 Moving to Node #0,0 Current State: 63:[2, 8, 50], Operations: ['45+5=50'] Exploring Operation: 8+50=58, Resulting Numbers: [2, 58] Generated Node #0,0,0: 63:[2, 58] Operation: 8+50=58 Exploring Operation: 2+50=52, Resulting Numbers: [8, 52] Generated Node #0,0,1: 63:[8, 52] Operation: 2+50=52 Exploring Operation: 2+8=10, Resulting Numbers: [50, 10] Generated Node #0,0,2: 63:[50, 10] Operation: 2+8=10 Exploring Operation: 50/2=25, Resulting Numbers: [8, 25] Generated Node #0,0,3: 63:[8, 25] Operation: 50/2=25 Moving to Node #0,1 Current State: 63:[8, 5, 47], Operations: ['2+45=47'] Exploring Operation: 8-5=3, Resulting Numbers: [47, 3] Generated Node #0,1,0: 63:[47, 3] Operation: 8-5=3 Exploring Operation: 5+47=52, Resulting Numbers: [8, 52] Generated Node #0,1,1: 63:[8, 52] Operation: 5+47=52 Exploring Operation: 8+47=55, Resulting Numbers: [5, 55] Generated Node #0,1,2: 63:[5, 55] Operation: 8+47=55 Exploring Operation: 8+5=13, Resulting Numbers: [47, 13] Generated Node #0,1,3: 63:[47, 13] Operation: 8+5=13 Moving to Node #0,2,0 Current State: 63:[9, 10], Operations: ['45/5=9', '2+8=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[9, 6], Operations: ['45/5=9', '8-2=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[8, 7], Operations: ['45/5=9', '9-2=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[9, 4], Operations: ['45/5=9', '8/2=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[8, 25], Operations: ['45+5=50', '50/2=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,63 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[2, 58], Operations: ['8+45=53', '5+53=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[2, 58], Operations: ['45+5=50', '8+50=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[53, 3], Operations: ['8+45=53', '5-2=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,63 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[53, 7], Operations: ['8+45=53', '2+5=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 53*7=371, Resulting Numbers: [371] 371,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[5, 55], Operations: ['2+45=47', '8+47=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,63 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[5, 55], Operations: ['8+45=53', '2+53=55'] Exploring Operation: 5*55=275, Resulting Numbers: [275] 275,63 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,63 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[8, 52], Operations: ['2+45=47', '5+47=52'] Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[8, 52], Operations: ['45+5=50', '2+50=52'] Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,63 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[50, 10], Operations: ['45+5=50', '2+8=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[47, 3], Operations: ['2+45=47', '8-5=3'] Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,63 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[47, 13], Operations: ['2+45=47', '8+5=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,63 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 92, 19, 2, 95 ]
68
[ "92/2=46", "19+95=114", "114-46=68" ]
Current State: 68:[92, 19, 2, 95], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [19, 95, 46] Generated Node #2: [19, 95, 46] from Operation: 92/2=46 Current State: 68:[19, 95, 46], Operations: ['92/2=46'] Exploring Operation: 19+95=114, Resulting Numbers: [46, 114] Generated Node #3: [46, 114] from Operation: 19+95=114 Current State: 68:[46, 114], Operations: ['92/2=46', '19+95=114'] Exploring Operation: 114-46=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[92, 19, 2, 95], Operations: [] Exploring Operation: 92-19=73, Resulting Numbers: [2, 95, 73] Generated Node #0,0: 68:[2, 95, 73] Operation: 92-19=73 Exploring Operation: 95/19=5, Resulting Numbers: [92, 2, 5] Generated Node #0,1: 68:[92, 2, 5] Operation: 95/19=5 Exploring Operation: 95-92=3, Resulting Numbers: [19, 2, 3] Generated Node #0,2: 68:[19, 2, 3] Operation: 95-92=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[19, 2, 3], Operations: ['95-92=3'] Exploring Operation: 19-3=16, Resulting Numbers: [2, 16] Generated Node #0,2,0: 68:[2, 16] Operation: 19-3=16 Exploring Operation: 2+3=5, Resulting Numbers: [19, 5] Generated Node #0,2,1: 68:[19, 5] Operation: 2+3=5 Exploring Operation: 19-2=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 68:[3, 17] Operation: 19-2=17 Moving to Node #0,2,0 Current State: 68:[2, 16], Operations: ['95-92=3', '19-3=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[3, 17], Operations: ['95-92=3', '19-2=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[19, 5], Operations: ['95-92=3', '2+3=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[92, 2, 5], Operations: ['95/19=5'] Exploring Operation: 92-5=87, Resulting Numbers: [2, 87] Generated Node #0,1,0: 68:[2, 87] Operation: 92-5=87 Exploring Operation: 92-2=90, Resulting Numbers: [5, 90] Generated Node #0,1,1: 68:[5, 90] Operation: 92-2=90 Exploring Operation: 92/2=46, Resulting Numbers: [5, 46] Generated Node #0,1,2: 68:[5, 46] Operation: 92/2=46 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[5, 46], Operations: ['95/19=5', '92/2=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[2, 87], Operations: ['95/19=5', '92-5=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,68 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[5, 90], Operations: ['95/19=5', '92-2=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,68 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[2, 95, 73], Operations: ['92-19=73'] Exploring Operation: 73-2=71, Resulting Numbers: [95, 71] Generated Node #0,0,0: 68:[95, 71] Operation: 73-2=71 Exploring Operation: 95-2=93, Resulting Numbers: [73, 93] Generated Node #0,0,1: 68:[73, 93] Operation: 95-2=93 Exploring Operation: 95-73=22, Resulting Numbers: [2, 22] Generated Node #0,0,2: 68:[2, 22] Operation: 95-73=22 Moving to Node #0,0,2 Current State: 68:[2, 22], Operations: ['92-19=73', '95-73=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[95, 71], Operations: ['92-19=73', '73-2=71'] Exploring Operation: 95*71=6745, Resulting Numbers: [6745] 6745,68 unequal: No Solution Exploring Operation: 95+71=166, Resulting Numbers: [166] 166,68 unequal: No Solution Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[73, 93], Operations: ['92-19=73', '95-2=93'] Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,68 unequal: No Solution Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,68 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
[ 94, 86, 66, 34 ]
92
[ "94-86=8", "66+34=100", "100-8=92" ]
Current State: 92:[94, 86, 66, 34], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [66, 34, 8] Generated Node #2: [66, 34, 8] from Operation: 94-86=8 Current State: 92:[66, 34, 8], Operations: ['94-86=8'] Exploring Operation: 66+34=100, Resulting Numbers: [8, 100] Generated Node #3: [8, 100] from Operation: 66+34=100 Current State: 92:[8, 100], Operations: ['94-86=8', '66+34=100'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[94, 86, 66, 34], Operations: [] Exploring Operation: 66-34=32, Resulting Numbers: [94, 86, 32] Generated Node #0,0: 92:[94, 86, 32] Operation: 66-34=32 Exploring Operation: 66+34=100, Resulting Numbers: [94, 86, 100] Generated Node #0,1: 92:[94, 86, 100] Operation: 66+34=100 Exploring Operation: 86-66=20, Resulting Numbers: [94, 34, 20] Generated Node #0,2: 92:[94, 34, 20] Operation: 86-66=20 Moving to Node #0,1 Current State: 92:[94, 86, 100], Operations: ['66+34=100'] Exploring Operation: 100-94=6, Resulting Numbers: [86, 6] Generated Node #0,1,0: 92:[86, 6] Operation: 100-94=6 Exploring Operation: 94-86=8, Resulting Numbers: [100, 8] Generated Node #0,1,1: 92:[100, 8] Operation: 94-86=8 Exploring Operation: 100-86=14, Resulting Numbers: [94, 14] Generated Node #0,1,2: 92:[94, 14] Operation: 100-86=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[86, 6], Operations: ['66+34=100', '100-94=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,92 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[94, 86, 66, 34], Operations: [] Exploring Operation: 66+34=100, Resulting Numbers: [94, 86, 100] Generated Node #0,1: 92:[94, 86, 100] Operation: 66+34=100 Moving to Node #0,1 Current State: 92:[94, 86, 100], Operations: ['66+34=100'] Exploring Operation: 100-94=6, Resulting Numbers: [86, 6] Generated Node #0,1,0: 92:[86, 6] Operation: 100-94=6 Moving to Node #0,1,0 Current State: 92:[86, 6], Operations: ['66+34=100', '100-94=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 47, 12, 12, 88 ]
40
[ "88-47=41", "12/12=1", "41-1=40" ]
Current State: 40:[47, 12, 12, 88], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [12, 12, 41] Generated Node #2: [12, 12, 41] from Operation: 88-47=41 Current State: 40:[12, 12, 41], Operations: ['88-47=41'] Exploring Operation: 12/12=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 12/12=1 Current State: 40:[41, 1], Operations: ['88-47=41', '12/12=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[47, 12, 12, 88], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [12, 12, 41] Generated Node #0,0: 40:[12, 12, 41] Operation: 88-47=41 Moving to Node #0,0 Current State: 40:[12, 12, 41], Operations: ['88-47=41'] Exploring Operation: 12/12=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 40:[41, 1] Operation: 12/12=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[41, 1], Operations: ['88-47=41', '12/12=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[47, 12, 12, 88], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [12, 12, 41] Generated Node #0,0: 40:[12, 12, 41] Operation: 88-47=41 Moving to Node #0,0 Current State: 40:[12, 12, 41], Operations: ['88-47=41'] Exploring Operation: 12/12=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 40:[41, 1] Operation: 12/12=1 Moving to Node #0,0,0 Current State: 40:[41, 1], Operations: ['88-47=41', '12/12=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 34, 24, 6, 16 ]
20
[ "34-24=10", "16-6=10", "10+10=20" ]
Current State: 20:[34, 24, 6, 16], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [6, 16, 10] Generated Node #2: [6, 16, 10] from Operation: 34-24=10 Current State: 20:[6, 16, 10], Operations: ['34-24=10'] Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 16-6=10 Current State: 20:[10, 10], Operations: ['34-24=10', '16-6=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[34, 24, 6, 16], Operations: [] Exploring Operation: 34-16=18, Resulting Numbers: [24, 6, 18] Generated Node #0,0: 20:[24, 6, 18] Operation: 34-16=18 Exploring Operation: 34-24=10, Resulting Numbers: [6, 16, 10] Generated Node #0,1: 20:[6, 16, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[6, 16, 10], Operations: ['34-24=10'] Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #0,1,0: 20:[10, 10] Operation: 16-6=10 Exploring Operation: 6+16=22, Resulting Numbers: [10, 22] Generated Node #0,1,1: 20:[10, 22] Operation: 6+16=22 Moving to Node #0,1,0 Current State: 20:[10, 10], Operations: ['34-24=10', '16-6=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[34, 24, 6, 16], Operations: [] Exploring Operation: 34-24=10, Resulting Numbers: [6, 16, 10] Generated Node #0,1: 20:[6, 16, 10] Operation: 34-24=10 Moving to Node #0,1 Current State: 20:[6, 16, 10], Operations: ['34-24=10'] Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #0,1,0: 20:[10, 10] Operation: 16-6=10 Moving to Node #0,1,0 Current State: 20:[10, 10], Operations: ['34-24=10', '16-6=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 22, 63, 8, 2 ]
60
[ "22+2=24", "24/8=3", "63-3=60" ]
Current State: 60:[22, 63, 8, 2], Operations: [] Exploring Operation: 22+2=24, Resulting Numbers: [63, 8, 24] Generated Node #2: [63, 8, 24] from Operation: 22+2=24 Current State: 60:[63, 8, 24], Operations: ['22+2=24'] Exploring Operation: 24/8=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 24/8=3 Current State: 60:[63, 3], Operations: ['22+2=24', '24/8=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[22, 63, 8, 2], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [63, 2, 14] Generated Node #0,0: 60:[63, 2, 14] Operation: 22-8=14 Exploring Operation: 8+2=10, Resulting Numbers: [22, 63, 10] Generated Node #0,1: 60:[22, 63, 10] Operation: 8+2=10 Exploring Operation: 63-2=61, Resulting Numbers: [22, 8, 61] Generated Node #0,2: 60:[22, 8, 61] Operation: 63-2=61 Exploring Operation: 22-2=20, Resulting Numbers: [63, 8, 20] Generated Node #0,3: 60:[63, 8, 20] Operation: 22-2=20 Exploring Operation: 22+8=30, Resulting Numbers: [63, 2, 30] Generated Node #0,4: 60:[63, 2, 30] Operation: 22+8=30 Moving to Node #0,4 Current State: 60:[63, 2, 30], Operations: ['22+8=30'] Exploring Operation: 63-30=33, Resulting Numbers: [2, 33] Generated Node #0,4,0: 60:[2, 33] Operation: 63-30=33 Exploring Operation: 2*30=60, Resulting Numbers: [63, 60] Generated Node #0,4,1: 60:[63, 60] Operation: 2*30=60 Exploring Operation: 30/2=15, Resulting Numbers: [63, 15] Generated Node #0,4,2: 60:[63, 15] Operation: 30/2=15 Exploring Operation: 63-2=61, Resulting Numbers: [30, 61] Generated Node #0,4,3: 60:[30, 61] Operation: 63-2=61 Exploring Operation: 63+2=65, Resulting Numbers: [30, 65] Generated Node #0,4,4: 60:[30, 65] Operation: 63+2=65 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[30, 61], Operations: ['22+8=30', '63-2=61'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,60 unequal: No Solution No 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: 60:[2, 33], Operations: ['22+8=30', '63-30=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,60 unequal: No Solution No 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: 60:[63, 60], Operations: ['22+8=30', '2*30=60'] Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,60 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,60 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,60 unequal: No Solution No 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: 60:[63, 15], Operations: ['22+8=30', '30/2=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,60 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,60 unequal: No Solution No 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: 60:[30, 65], Operations: ['22+8=30', '63+2=65'] Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,60 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,60 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: 60:[63, 2, 14], Operations: ['22-8=14'] Exploring Operation: 63-2=61, Resulting Numbers: [14, 61] Generated Node #0,0,0: 60:[14, 61] Operation: 63-2=61 Exploring Operation: 2+14=16, Resulting Numbers: [63, 16] Generated Node #0,0,1: 60:[63, 16] Operation: 2+14=16 Exploring Operation: 2*14=28, Resulting Numbers: [63, 28] Generated Node #0,0,2: 60:[63, 28] Operation: 2*14=28 Exploring Operation: 14-2=12, Resulting Numbers: [63, 12] Generated Node #0,0,3: 60:[63, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [63, 7] Generated Node #0,0,4: 60:[63, 7] Operation: 14/2=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[14, 61], Operations: ['22-8=14', '63-2=61'] Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,60 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,60 unequal: No Solution No 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: 60:[63, 12], Operations: ['22-8=14', '14-2=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,60 unequal: No Solution No 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: 60:[63, 16], Operations: ['22-8=14', '2+14=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,60 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,60 unequal: No Solution No 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: 60:[63, 7], Operations: ['22-8=14', '14/2=7'] Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,60 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,60 unequal: No Solution No 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: 60:[63, 28], Operations: ['22-8=14', '2*14=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,60 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,60 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: 60:[22, 63, 10], Operations: ['8+2=10'] Exploring Operation: 63+10=73, Resulting Numbers: [22, 73] Generated Node #0,1,0: 60:[22, 73] Operation: 63+10=73 Exploring Operation: 63-22=41, Resulting Numbers: [10, 41] Generated Node #0,1,1: 60:[10, 41] Operation: 63-22=41 Exploring Operation: 22-10=12, Resulting Numbers: [63, 12] Generated Node #0,1,2: 60:[63, 12] Operation: 22-10=12 Exploring Operation: 22+10=32, Resulting Numbers: [63, 32] Generated Node #0,1,3: 60:[63, 32] Operation: 22+10=32 Exploring Operation: 63-10=53, Resulting Numbers: [22, 53] Generated Node #0,1,4: 60:[22, 53] Operation: 63-10=53 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[63, 12], Operations: ['8+2=10', '22-10=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,60 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,60 unequal: No Solution No 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: 60:[63, 32], Operations: ['8+2=10', '22+10=32'] Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,60 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,60 unequal: No Solution No 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: 60:[22, 53], Operations: ['8+2=10', '63-10=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,60 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,60 unequal: No Solution No 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: 60:[10, 41], Operations: ['8+2=10', '63-22=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,60 unequal: No Solution No 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: 60:[22, 73], Operations: ['8+2=10', '63+10=73'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 22*73=1606, Resulting Numbers: [1606] 1606,60 unequal: No Solution Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,60 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: 60:[22, 8, 61], Operations: ['63-2=61'] Exploring Operation: 22+8=30, Resulting Numbers: [61, 30] Generated Node #0,2,0: 60:[61, 30] Operation: 22+8=30 Exploring Operation: 22-8=14, Resulting Numbers: [61, 14] Generated Node #0,2,1: 60:[61, 14] Operation: 22-8=14 Exploring Operation: 8+61=69, Resulting Numbers: [22, 69] Generated Node #0,2,2: 60:[22, 69] Operation: 8+61=69 Exploring Operation: 61-8=53, Resulting Numbers: [22, 53] Generated Node #0,2,3: 60:[22, 53] Operation: 61-8=53 Exploring Operation: 61-22=39, Resulting Numbers: [8, 39] Generated Node #0,2,4: 60:[8, 39] Operation: 61-22=39 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[61, 30], Operations: ['63-2=61', '22+8=30'] Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,60 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,60 unequal: No Solution No 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: 60:[61, 14], Operations: ['63-2=61', '22-8=14'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,60 unequal: No Solution Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,60 unequal: No Solution No 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: 60:[22, 53], Operations: ['63-2=61', '61-8=53'] Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,60 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,60 unequal: No Solution No 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: 60:[22, 69], Operations: ['63-2=61', '8+61=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,60 unequal: No Solution No 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: 60:[8, 39], Operations: ['63-2=61', '61-22=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,60 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: 60:[63, 8, 20], Operations: ['22-2=20'] Exploring Operation: 63+8=71, Resulting Numbers: [20, 71] Generated Node #0,3,0: 60:[20, 71] Operation: 63+8=71 Exploring Operation: 8+20=28, Resulting Numbers: [63, 28] Generated Node #0,3,1: 60:[63, 28] Operation: 8+20=28 Exploring Operation: 63-20=43, Resulting Numbers: [8, 43] Generated Node #0,3,2: 60:[8, 43] Operation: 63-20=43 Exploring Operation: 63-8=55, Resulting Numbers: [20, 55] Generated Node #0,3,3: 60:[20, 55] Operation: 63-8=55 Exploring Operation: 20-8=12, Resulting Numbers: [63, 12] Generated Node #0,3,4: 60:[63, 12] Operation: 20-8=12 Moving to Node #0,3,4 Current State: 60:[63, 12], Operations: ['22-2=20', '20-8=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,60 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[20, 55], Operations: ['22-2=20', '63-8=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,60 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,60 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[63, 28], Operations: ['22-2=20', '8+20=28'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[20, 71], Operations: ['22-2=20', '63+8=71'] Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,60 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[8, 43], Operations: ['22-2=20', '63-20=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,60 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 29, 36, 24, 74 ]
15
[ "29+36=65", "74-24=50", "65-50=15" ]
Current State: 15:[29, 36, 24, 74], Operations: [] Exploring Operation: 29+36=65, Resulting Numbers: [24, 74, 65] Generated Node #2: [24, 74, 65] from Operation: 29+36=65 Current State: 15:[24, 74, 65], Operations: ['29+36=65'] Exploring Operation: 74-24=50, Resulting Numbers: [65, 50] Generated Node #3: [65, 50] from Operation: 74-24=50 Current State: 15:[65, 50], Operations: ['29+36=65', '74-24=50'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[29, 36, 24, 74], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [29, 24, 38] Generated Node #0,0: 15:[29, 24, 38] Operation: 74-36=38 Exploring Operation: 74-29=45, Resulting Numbers: [36, 24, 45] Generated Node #0,1: 15:[36, 24, 45] Operation: 74-29=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[29, 24, 38], Operations: ['74-36=38'] Exploring Operation: 38-24=14, Resulting Numbers: [29, 14] Generated Node #0,0,0: 15:[29, 14] Operation: 38-24=14 Exploring Operation: 38-29=9, Resulting Numbers: [24, 9] Generated Node #0,0,1: 15:[24, 9] Operation: 38-29=9 Moving to Node #0,0,1 Current State: 15:[24, 9], Operations: ['74-36=38', '38-29=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[29, 36, 24, 74], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [29, 24, 38] Generated Node #0,0: 15:[29, 24, 38] Operation: 74-36=38 Moving to Node #0,0 Current State: 15:[29, 24, 38], Operations: ['74-36=38'] Exploring Operation: 38-29=9, Resulting Numbers: [24, 9] Generated Node #0,0,1: 15:[24, 9] Operation: 38-29=9 Moving to Node #0,0,1 Current State: 15:[24, 9], Operations: ['74-36=38', '38-29=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 60, 71, 96, 77 ]
86
[ "77-71=6", "60/6=10", "96-10=86" ]
Current State: 86:[60, 71, 96, 77], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [60, 96, 6] Generated Node #2: [60, 96, 6] from Operation: 77-71=6 Current State: 86:[60, 96, 6], Operations: ['77-71=6'] Exploring Operation: 60/6=10, Resulting Numbers: [96, 10] Generated Node #3: [96, 10] from Operation: 60/6=10 Current State: 86:[96, 10], Operations: ['77-71=6', '60/6=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[60, 71, 96, 77], Operations: [] Exploring Operation: 71-60=11, Resulting Numbers: [96, 77, 11] Generated Node #0,0: 86:[96, 77, 11] Operation: 71-60=11 Exploring Operation: 77-71=6, Resulting Numbers: [60, 96, 6] Generated Node #0,1: 86:[60, 96, 6] Operation: 77-71=6 Exploring Operation: 96-60=36, Resulting Numbers: [71, 77, 36] Generated Node #0,2: 86:[71, 77, 36] Operation: 96-60=36 Exploring Operation: 77-60=17, Resulting Numbers: [71, 96, 17] Generated Node #0,3: 86:[71, 96, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[96, 77, 11], Operations: ['71-60=11'] Exploring Operation: 77/11=7, Resulting Numbers: [96, 7] Generated Node #0,0,0: 86:[96, 7] Operation: 77/11=7 Exploring Operation: 96-11=85, Resulting Numbers: [77, 85] Generated Node #0,0,1: 86:[77, 85] Operation: 96-11=85 Exploring Operation: 77+11=88, Resulting Numbers: [96, 88] Generated Node #0,0,2: 86:[96, 88] Operation: 77+11=88 Exploring Operation: 96-77=19, Resulting Numbers: [11, 19] Generated Node #0,0,3: 86:[11, 19] Operation: 96-77=19 Moving to Node #0,0,1 Current State: 86:[77, 85], Operations: ['71-60=11', '96-11=85'] Exploring Operation: 77*85=6545, Resulting Numbers: [6545] 6545,86 unequal: No Solution Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 77+85=162, Resulting Numbers: [162] 162,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[96, 88], Operations: ['71-60=11', '77+11=88'] Exploring Operation: 96+88=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 96*88=8448, Resulting Numbers: [8448] 8448,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[96, 7], Operations: ['71-60=11', '77/11=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,86 unequal: No Solution Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[11, 19], Operations: ['71-60=11', '96-77=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[60, 96, 6], Operations: ['77-71=6'] Exploring Operation: 96-60=36, Resulting Numbers: [6, 36] Generated Node #0,1,0: 86:[6, 36] Operation: 96-60=36 Exploring Operation: 96-6=90, Resulting Numbers: [60, 90] Generated Node #0,1,1: 86:[60, 90] Operation: 96-6=90 Exploring Operation: 60-6=54, Resulting Numbers: [96, 54] Generated Node #0,1,2: 86:[96, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [96, 10] Generated Node #0,1,3: 86:[96, 10] Operation: 60/6=10 Moving to Node #0,1,0 Current State: 86:[6, 36], Operations: ['77-71=6', '96-60=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,86 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[96, 10], Operations: ['77-71=6', '60/6=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[60, 71, 96, 77], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [60, 96, 6] Generated Node #0,1: 86:[60, 96, 6] Operation: 77-71=6 Moving to Node #0,1 Current State: 86:[60, 96, 6], Operations: ['77-71=6'] Exploring Operation: 60/6=10, Resulting Numbers: [96, 10] Generated Node #0,1,3: 86:[96, 10] Operation: 60/6=10 Moving to Node #0,1,3 Current State: 86:[96, 10], Operations: ['77-71=6', '60/6=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 64, 88, 72, 5 ]
55
[ "72-64=8", "88*5=440", "440/8=55" ]
Current State: 55:[64, 88, 72, 5], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [88, 5, 8] Generated Node #2: [88, 5, 8] from Operation: 72-64=8 Current State: 55:[88, 5, 8], Operations: ['72-64=8'] Exploring Operation: 88*5=440, Resulting Numbers: [8, 440] Generated Node #3: [8, 440] from Operation: 88*5=440 Current State: 55:[8, 440], Operations: ['72-64=8', '88*5=440'] Exploring Operation: 440/8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[64, 88, 72, 5], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [64, 5, 16] Generated Node #0,0: 55:[64, 5, 16] Operation: 88-72=16 Exploring Operation: 88-64=24, Resulting Numbers: [72, 5, 24] Generated Node #0,1: 55:[72, 5, 24] Operation: 88-64=24 Moving to Node #0,0 Current State: 55:[64, 5, 16], Operations: ['88-72=16'] Exploring Operation: 64-16=48, Resulting Numbers: [5, 48] Generated Node #0,0,0: 55:[5, 48] Operation: 64-16=48 Exploring Operation: 64/16=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 55:[5, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[5, 4], Operations: ['88-72=16', '64/16=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[5, 48], Operations: ['88-72=16', '64-16=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,55 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: 55:[72, 5, 24], Operations: ['88-64=24'] Exploring Operation: 72-24=48, Resulting Numbers: [5, 48] Generated Node #0,1,0: 55:[5, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [5, 3] Generated Node #0,1,1: 55:[5, 3] Operation: 72/24=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[5, 3], Operations: ['88-64=24', '72/24=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[5, 48], Operations: ['88-64=24', '72-24=48'] Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,55 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
[ 17, 80, 65, 81 ]
85
[ "17*80=1360", "81-65=16", "1360/16=85" ]
Current State: 85:[17, 80, 65, 81], Operations: [] Exploring Operation: 17*80=1360, Resulting Numbers: [65, 81, 1360] Generated Node #2: [65, 81, 1360] from Operation: 17*80=1360 Current State: 85:[65, 81, 1360], Operations: ['17*80=1360'] Exploring Operation: 81-65=16, Resulting Numbers: [1360, 16] Generated Node #3: [1360, 16] from Operation: 81-65=16 Current State: 85:[1360, 16], Operations: ['17*80=1360', '81-65=16'] Exploring Operation: 1360/16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[17, 80, 65, 81], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [17, 65, 1] Generated Node #0,0: 85:[17, 65, 1] Operation: 81-80=1 Exploring Operation: 81-65=16, Resulting Numbers: [17, 80, 16] Generated Node #0,1: 85:[17, 80, 16] Operation: 81-65=16 Exploring Operation: 17+65=82, Resulting Numbers: [80, 81, 82] Generated Node #0,2: 85:[80, 81, 82] Operation: 17+65=82 Exploring Operation: 80-65=15, Resulting Numbers: [17, 81, 15] Generated Node #0,3: 85:[17, 81, 15] Operation: 80-65=15 Exploring Operation: 17+80=97, Resulting Numbers: [65, 81, 97] Generated Node #0,4: 85:[65, 81, 97] Operation: 17+80=97 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[17, 80, 16], Operations: ['81-65=16'] Exploring Operation: 17-16=1, Resulting Numbers: [80, 1] Generated Node #0,1,0: 85:[80, 1] Operation: 17-16=1 Exploring Operation: 80+16=96, Resulting Numbers: [17, 96] Generated Node #0,1,1: 85:[17, 96] Operation: 80+16=96 Exploring Operation: 17+80=97, Resulting Numbers: [16, 97] Generated Node #0,1,2: 85:[16, 97] Operation: 17+80=97 Exploring Operation: 80/16=5, Resulting Numbers: [17, 5] Generated Node #0,1,3: 85:[17, 5] Operation: 80/16=5 Exploring Operation: 17+16=33, Resulting Numbers: [80, 33] Generated Node #0,1,4: 85:[80, 33] Operation: 17+16=33 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 85:[17, 5], Operations: ['81-65=16', '80/16=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[17, 80, 65, 81], Operations: [] Exploring Operation: 81-65=16, Resulting Numbers: [17, 80, 16] Generated Node #0,1: 85:[17, 80, 16] Operation: 81-65=16 Moving to Node #0,1 Current State: 85:[17, 80, 16], Operations: ['81-65=16'] Exploring Operation: 80/16=5, Resulting Numbers: [17, 5] Generated Node #0,1,3: 85:[17, 5] Operation: 80/16=5 Moving to Node #0,1,3 Current State: 85:[17, 5], Operations: ['81-65=16', '80/16=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 83, 38, 69, 25 ]
27
[ "83+38=121", "69+25=94", "121-94=27" ]
Current State: 27:[83, 38, 69, 25], Operations: [] Exploring Operation: 83+38=121, Resulting Numbers: [69, 25, 121] Generated Node #2: [69, 25, 121] from Operation: 83+38=121 Current State: 27:[69, 25, 121], Operations: ['83+38=121'] Exploring Operation: 69+25=94, Resulting Numbers: [121, 94] Generated Node #3: [121, 94] from Operation: 69+25=94 Current State: 27:[121, 94], Operations: ['83+38=121', '69+25=94'] Exploring Operation: 121-94=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[83, 38, 69, 25], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [38, 25, 14] Generated Node #0,0: 27:[38, 25, 14] Operation: 83-69=14 Exploring Operation: 69-25=44, Resulting Numbers: [83, 38, 44] Generated Node #0,1: 27:[83, 38, 44] Operation: 69-25=44 Exploring Operation: 83-25=58, Resulting Numbers: [38, 69, 58] Generated Node #0,2: 27:[38, 69, 58] Operation: 83-25=58 Exploring Operation: 69-38=31, Resulting Numbers: [83, 25, 31] Generated Node #0,3: 27:[83, 25, 31] Operation: 69-38=31 Exploring Operation: 83-38=45, Resulting Numbers: [69, 25, 45] Generated Node #0,4: 27:[69, 25, 45] Operation: 83-38=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[38, 25, 14], Operations: ['83-69=14'] Exploring Operation: 25+14=39, Resulting Numbers: [38, 39] Generated Node #0,0,0: 27:[38, 39] Operation: 25+14=39 Exploring Operation: 38+14=52, Resulting Numbers: [25, 52] Generated Node #0,0,1: 27:[25, 52] Operation: 38+14=52 Exploring Operation: 25-14=11, Resulting Numbers: [38, 11] Generated Node #0,0,2: 27:[38, 11] Operation: 25-14=11 Exploring Operation: 38-14=24, Resulting Numbers: [25, 24] Generated Node #0,0,3: 27:[25, 24] Operation: 38-14=24 Exploring Operation: 38-25=13, Resulting Numbers: [14, 13] Generated Node #0,0,4: 27:[14, 13] Operation: 38-25=13 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[25, 24], Operations: ['83-69=14', '38-14=24'] Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 27:[14, 13], Operations: ['83-69=14', '38-25=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[83, 38, 69, 25], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [38, 25, 14] Generated Node #0,0: 27:[38, 25, 14] Operation: 83-69=14 Moving to Node #0,0 Current State: 27:[38, 25, 14], Operations: ['83-69=14'] Exploring Operation: 38-25=13, Resulting Numbers: [14, 13] Generated Node #0,0,4: 27:[14, 13] Operation: 38-25=13 Moving to Node #0,0,4 Current State: 27:[14, 13], Operations: ['83-69=14', '38-25=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 35, 2, 46, 20 ]
84
[ "2+46=48", "35*48=1680", "1680/20=84" ]
Current State: 84:[35, 2, 46, 20], Operations: [] Exploring Operation: 2+46=48, Resulting Numbers: [35, 20, 48] Generated Node #2: [35, 20, 48] from Operation: 2+46=48 Current State: 84:[35, 20, 48], Operations: ['2+46=48'] Exploring Operation: 35*48=1680, Resulting Numbers: [20, 1680] Generated Node #3: [20, 1680] from Operation: 35*48=1680 Current State: 84:[20, 1680], Operations: ['2+46=48', '35*48=1680'] Exploring Operation: 1680/20=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[35, 2, 46, 20], Operations: [] Exploring Operation: 35+46=81, Resulting Numbers: [2, 20, 81] Generated Node #0,0: 84:[2, 20, 81] Operation: 35+46=81 Exploring Operation: 46-35=11, Resulting Numbers: [2, 20, 11] Generated Node #0,1: 84:[2, 20, 11] Operation: 46-35=11 Exploring Operation: 35-20=15, Resulting Numbers: [2, 46, 15] Generated Node #0,2: 84:[2, 46, 15] Operation: 35-20=15 Exploring Operation: 46-20=26, Resulting Numbers: [35, 2, 26] Generated Node #0,3: 84:[35, 2, 26] Operation: 46-20=26 Moving to Node #0,1 Current State: 84:[2, 20, 11], Operations: ['46-35=11'] Exploring Operation: 2+11=13, Resulting Numbers: [20, 13] Generated Node #0,1,0: 84:[20, 13] Operation: 2+11=13 Exploring Operation: 2*11=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 84:[20, 22] Operation: 2*11=22 Exploring Operation: 2+20=22, Resulting Numbers: [11, 22] Generated Node #0,1,2: 84:[11, 22] Operation: 2+20=22 Exploring Operation: 20-11=9, Resulting Numbers: [2, 9] Generated Node #0,1,3: 84:[2, 9] Operation: 20-11=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[20, 13], Operations: ['46-35=11', '2+11=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,84 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[20, 22], Operations: ['46-35=11', '2*11=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,84 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[11, 22], Operations: ['46-35=11', '2+20=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,84 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[2, 9], Operations: ['46-35=11', '20-11=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,84 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: 84:[2, 20, 81], Operations: ['35+46=81'] Exploring Operation: 2*20=40, Resulting Numbers: [81, 40] Generated Node #0,0,0: 84:[81, 40] Operation: 2*20=40 Exploring Operation: 20/2=10, Resulting Numbers: [81, 10] Generated Node #0,0,1: 84:[81, 10] Operation: 20/2=10 Exploring Operation: 2+20=22, Resulting Numbers: [81, 22] Generated Node #0,0,2: 84:[81, 22] Operation: 2+20=22 Exploring Operation: 2+81=83, Resulting Numbers: [20, 83] Generated Node #0,0,3: 84:[20, 83] Operation: 2+81=83 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[20, 83], Operations: ['35+46=81', '2+81=83'] Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,84 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[81, 22], Operations: ['35+46=81', '2+20=22'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[81, 40], Operations: ['35+46=81', '2*20=40'] Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,84 unequal: No Solution Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[81, 10], Operations: ['35+46=81', '20/2=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,84 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,84 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: 84:[2, 46, 15], Operations: ['35-20=15'] Exploring Operation: 46/2=23, Resulting Numbers: [15, 23] Generated Node #0,2,0: 84:[15, 23] Operation: 46/2=23 Exploring Operation: 46-15=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 84:[2, 31] Operation: 46-15=31 Exploring Operation: 46-2=44, Resulting Numbers: [15, 44] Generated Node #0,2,2: 84:[15, 44] Operation: 46-2=44 Exploring Operation: 15-2=13, Resulting Numbers: [46, 13] Generated Node #0,2,3: 84:[46, 13] Operation: 15-2=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[15, 23], Operations: ['35-20=15', '46/2=23'] Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,84 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[2, 31], Operations: ['35-20=15', '46-15=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[15, 44], Operations: ['35-20=15', '46-2=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[46, 13], Operations: ['35-20=15', '15-2=13'] Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,84 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,84 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: 84:[35, 2, 26], Operations: ['46-20=26'] Exploring Operation: 2+26=28, Resulting Numbers: [35, 28] Generated Node #0,3,0: 84:[35, 28] Operation: 2+26=28 Exploring Operation: 35-2=33, Resulting Numbers: [26, 33] Generated Node #0,3,1: 84:[26, 33] Operation: 35-2=33 Exploring Operation: 35-26=9, Resulting Numbers: [2, 9] Generated Node #0,3,2: 84:[2, 9] Operation: 35-26=9 Exploring Operation: 35+2=37, Resulting Numbers: [26, 37] Generated Node #0,3,3: 84:[26, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[2, 9], Operations: ['46-20=26', '35-26=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[35, 28], Operations: ['46-20=26', '2+26=28'] Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,84 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[26, 33], Operations: ['46-20=26', '35-2=33'] Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[26, 37], Operations: ['46-20=26', '35+2=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,84 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
[ 15, 48, 5, 7 ]
78
[ "7-5=2", "15*2=30", "48+30=78" ]
Current State: 78:[15, 48, 5, 7], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [15, 48, 2] Generated Node #2: [15, 48, 2] from Operation: 7-5=2 Current State: 78:[15, 48, 2], Operations: ['7-5=2'] Exploring Operation: 15*2=30, Resulting Numbers: [48, 30] Generated Node #3: [48, 30] from Operation: 15*2=30 Current State: 78:[48, 30], Operations: ['7-5=2', '15*2=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[15, 48, 5, 7], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [48, 7, 3] Generated Node #0,0: 78:[48, 7, 3] Operation: 15/5=3 Exploring Operation: 48-7=41, Resulting Numbers: [15, 5, 41] Generated Node #0,1: 78:[15, 5, 41] Operation: 48-7=41 Exploring Operation: 7-5=2, Resulting Numbers: [15, 48, 2] Generated Node #0,2: 78:[15, 48, 2] Operation: 7-5=2 Exploring Operation: 48-15=33, Resulting Numbers: [5, 7, 33] Generated Node #0,3: 78:[5, 7, 33] Operation: 48-15=33 Exploring Operation: 48-5=43, Resulting Numbers: [15, 7, 43] Generated Node #0,4: 78:[15, 7, 43] Operation: 48-5=43 Moving to Node #0,1 Current State: 78:[15, 5, 41], Operations: ['48-7=41'] Exploring Operation: 15*5=75, Resulting Numbers: [41, 75] Generated Node #0,1,0: 78:[41, 75] Operation: 15*5=75 Exploring Operation: 41-5=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 78:[15, 36] Operation: 41-5=36 Exploring Operation: 15/5=3, Resulting Numbers: [41, 3] Generated Node #0,1,2: 78:[41, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [41, 10] Generated Node #0,1,3: 78:[41, 10] Operation: 15-5=10 Exploring Operation: 41-15=26, Resulting Numbers: [5, 26] Generated Node #0,1,4: 78:[5, 26] Operation: 41-15=26 Moving to Node #0,4 Current State: 78:[15, 7, 43], Operations: ['48-5=43'] Exploring Operation: 7+43=50, Resulting Numbers: [15, 50] Generated Node #0,4,0: 78:[15, 50] Operation: 7+43=50 Exploring Operation: 43-7=36, Resulting Numbers: [15, 36] Generated Node #0,4,1: 78:[15, 36] Operation: 43-7=36 Exploring Operation: 15+7=22, Resulting Numbers: [43, 22] Generated Node #0,4,2: 78:[43, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [43, 8] Generated Node #0,4,3: 78:[43, 8] Operation: 15-7=8 Exploring Operation: 43-15=28, Resulting Numbers: [7, 28] Generated Node #0,4,4: 78:[7, 28] Operation: 43-15=28 Moving to Node #0,3 Current State: 78:[5, 7, 33], Operations: ['48-15=33'] Exploring Operation: 33-5=28, Resulting Numbers: [7, 28] Generated Node #0,3,0: 78:[7, 28] Operation: 33-5=28 Exploring Operation: 5+33=38, Resulting Numbers: [7, 38] Generated Node #0,3,1: 78:[7, 38] Operation: 5+33=38 Exploring Operation: 7+33=40, Resulting Numbers: [5, 40] Generated Node #0,3,2: 78:[5, 40] Operation: 7+33=40 Exploring Operation: 33-7=26, Resulting Numbers: [5, 26] Generated Node #0,3,3: 78:[5, 26] Operation: 33-7=26 Exploring Operation: 7-5=2, Resulting Numbers: [33, 2] Generated Node #0,3,4: 78:[33, 2] Operation: 7-5=2 Moving to Node #0,0 Current State: 78:[48, 7, 3], Operations: ['15/5=3'] Exploring Operation: 48-3=45, Resulting Numbers: [7, 45] Generated Node #0,0,0: 78:[7, 45] Operation: 48-3=45 Exploring Operation: 7+3=10, Resulting Numbers: [48, 10] Generated Node #0,0,1: 78:[48, 10] Operation: 7+3=10 Exploring Operation: 7-3=4, Resulting Numbers: [48, 4] Generated Node #0,0,2: 78:[48, 4] Operation: 7-3=4 Exploring Operation: 48/3=16, Resulting Numbers: [7, 16] Generated Node #0,0,3: 78:[7, 16] Operation: 48/3=16 Exploring Operation: 48-7=41, Resulting Numbers: [3, 41] Generated Node #0,0,4: 78:[3, 41] Operation: 48-7=41 Moving to Node #0,2 Current State: 78:[15, 48, 2], Operations: ['7-5=2'] Exploring Operation: 48-15=33, Resulting Numbers: [2, 33] Generated Node #0,2,0: 78:[2, 33] Operation: 48-15=33 Exploring Operation: 48/2=24, Resulting Numbers: [15, 24] Generated Node #0,2,1: 78:[15, 24] Operation: 48/2=24 Exploring Operation: 15+2=17, Resulting Numbers: [48, 17] Generated Node #0,2,2: 78:[48, 17] Operation: 15+2=17 Exploring Operation: 48-2=46, Resulting Numbers: [15, 46] Generated Node #0,2,3: 78:[15, 46] Operation: 48-2=46 Exploring Operation: 15-2=13, Resulting Numbers: [48, 13] Generated Node #0,2,4: 78:[48, 13] Operation: 15-2=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[15, 24], Operations: ['7-5=2', '48/2=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[2, 33], Operations: ['7-5=2', '48-15=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[15, 46], Operations: ['7-5=2', '48-2=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 78:[48, 13], Operations: ['7-5=2', '15-2=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,78 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[48, 17], Operations: ['7-5=2', '15+2=17'] Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,78 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,78 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: 78:[5, 26], Operations: ['48-7=41', '41-15=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[5, 26], Operations: ['48-15=33', '33-7=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,78 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[7, 38], Operations: ['48-15=33', '5+33=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,78 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[5, 40], Operations: ['48-15=33', '7+33=40'] Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,78 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[41, 3], Operations: ['48-7=41', '15/5=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[3, 41], Operations: ['15/5=3', '48-7=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,78 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[7, 28], Operations: ['48-15=33', '33-5=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,78 unequal: No Solution Moving to Node #0,4,4 Current State: 78:[7, 28], Operations: ['48-5=43', '43-15=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[7, 16], Operations: ['15/5=3', '48/3=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,78 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,78 unequal: No Solution Moving to Node #0,4,1 Current State: 78:[15, 36], Operations: ['48-5=43', '43-7=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,78 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[41, 75], Operations: ['48-7=41', '15*5=75'] Exploring Operation: 41*75=3075, Resulting Numbers: [3075] 3075,78 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 41+75=116, Resulting Numbers: [116] 116,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[41, 10], Operations: ['48-7=41', '15-5=10'] Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,78 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[15, 36], Operations: ['48-7=41', '41-5=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,78 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,78 unequal: No Solution Moving to Node #0,3,4 Current State: 78:[33, 2], Operations: ['48-15=33', '7-5=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,78 unequal: No Solution Moving to Node #0,4,3 Current State: 78:[43, 8], Operations: ['48-5=43', '15-7=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[7, 45], Operations: ['15/5=3', '48-3=45'] Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,78 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,78 unequal: No Solution Moving to Node #0,4,2 Current State: 78:[43, 22], Operations: ['48-5=43', '15+7=22'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[48, 4], Operations: ['15/5=3', '7-3=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,78 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[48, 10], Operations: ['15/5=3', '7+3=10'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,78 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,78 unequal: No Solution Moving to Node #0,4,0 Current State: 78:[15, 50], Operations: ['48-5=43', '7+43=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 48, 10, 25, 4 ]
30
[ "48*25=1200", "10*4=40", "1200/40=30" ]
Current State: 30:[48, 10, 25, 4], Operations: [] Exploring Operation: 48*25=1200, Resulting Numbers: [10, 4, 1200] Generated Node #2: [10, 4, 1200] from Operation: 48*25=1200 Current State: 30:[10, 4, 1200], Operations: ['48*25=1200'] Exploring Operation: 10*4=40, Resulting Numbers: [1200, 40] Generated Node #3: [1200, 40] from Operation: 10*4=40 Current State: 30:[1200, 40], Operations: ['48*25=1200', '10*4=40'] Exploring Operation: 1200/40=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[48, 10, 25, 4], Operations: [] Exploring Operation: 48-25=23, Resulting Numbers: [10, 4, 23] Generated Node #0,0: 30:[10, 4, 23] Operation: 48-25=23 Exploring Operation: 48/4=12, Resulting Numbers: [10, 25, 12] Generated Node #0,1: 30:[10, 25, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[10, 25, 12], Operations: ['48/4=12'] Exploring Operation: 25-10=15, Resulting Numbers: [12, 15] Generated Node #0,1,0: 30:[12, 15] Operation: 25-10=15 Exploring Operation: 25-12=13, Resulting Numbers: [10, 13] Generated Node #0,1,1: 30:[10, 13] Operation: 25-12=13 Moving to Node #0,1,0 Current State: 30:[12, 15], Operations: ['48/4=12', '25-10=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[10, 13], Operations: ['48/4=12', '25-12=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[10, 4, 23], Operations: ['48-25=23'] Exploring Operation: 4+23=27, Resulting Numbers: [10, 27] Generated Node #0,0,0: 30:[10, 27] Operation: 4+23=27 Exploring Operation: 23-10=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 30:[4, 13] Operation: 23-10=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[10, 27], Operations: ['48-25=23', '4+23=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[4, 13], Operations: ['48-25=23', '23-10=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 14, 91, 66, 79 ]
92
[ "14+91=105", "79-66=13", "105-13=92" ]
Current State: 92:[14, 91, 66, 79], Operations: [] Exploring Operation: 14+91=105, Resulting Numbers: [66, 79, 105] Generated Node #2: [66, 79, 105] from Operation: 14+91=105 Current State: 92:[66, 79, 105], Operations: ['14+91=105'] Exploring Operation: 79-66=13, Resulting Numbers: [105, 13] Generated Node #3: [105, 13] from Operation: 79-66=13 Current State: 92:[105, 13], Operations: ['14+91=105', '79-66=13'] Exploring Operation: 105-13=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[14, 91, 66, 79], Operations: [] Exploring Operation: 66-14=52, Resulting Numbers: [91, 79, 52] Generated Node #0,0: 92:[91, 79, 52] Operation: 66-14=52 Exploring Operation: 79-66=13, Resulting Numbers: [14, 91, 13] Generated Node #0,1: 92:[14, 91, 13] Operation: 79-66=13 Exploring Operation: 14+79=93, Resulting Numbers: [91, 66, 93] Generated Node #0,2: 92:[91, 66, 93] Operation: 14+79=93 Exploring Operation: 91-66=25, Resulting Numbers: [14, 79, 25] Generated Node #0,3: 92:[14, 79, 25] Operation: 91-66=25 Exploring Operation: 14+66=80, Resulting Numbers: [91, 79, 80] Generated Node #0,4: 92:[91, 79, 80] Operation: 14+66=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[14, 91, 13], Operations: ['79-66=13'] Exploring Operation: 14+91=105, Resulting Numbers: [13, 105] Generated Node #0,1,0: 92:[13, 105] Operation: 14+91=105 Exploring Operation: 14-13=1, Resulting Numbers: [91, 1] Generated Node #0,1,1: 92:[91, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [91, 27] Generated Node #0,1,2: 92:[91, 27] Operation: 14+13=27 Exploring Operation: 91/13=7, Resulting Numbers: [14, 7] Generated Node #0,1,3: 92:[14, 7] Operation: 91/13=7 Exploring Operation: 91+13=104, Resulting Numbers: [14, 104] Generated Node #0,1,4: 92:[14, 104] Operation: 91+13=104 Moving to Node #0,1,1 Current State: 92:[91, 1], Operations: ['79-66=13', '14-13=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[14, 91, 66, 79], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [14, 91, 13] Generated Node #0,1: 92:[14, 91, 13] Operation: 79-66=13 Moving to Node #0,1 Current State: 92:[14, 91, 13], Operations: ['79-66=13'] Exploring Operation: 14-13=1, Resulting Numbers: [91, 1] Generated Node #0,1,1: 92:[91, 1] Operation: 14-13=1 Moving to Node #0,1,1 Current State: 92:[91, 1], Operations: ['79-66=13', '14-13=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 46, 23, 23, 45 ]
44
[ "46-23=23", "23/23=1", "45-1=44" ]
Current State: 44:[46, 23, 23, 45], Operations: [] Exploring Operation: 46-23=23, Resulting Numbers: [45, 23] Generated Node #2: [45, 23] from Operation: 46-23=23 Current State: 44:[45, 23], Operations: ['46-23=23'] Exploring Operation: 23/23=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 23/23=1 Current State: 44:[45, 1], Operations: ['46-23=23', '23/23=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[46, 23, 23, 45], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [23, 45, 2] Generated Node #0,0: 44:[23, 45, 2] Operation: 46/23=2 Moving to Node #0,0 Current State: 44:[23, 45, 2], Operations: ['46/23=2'] Exploring Operation: 45-23=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 45-23=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['46/23=2', '45-23=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[46, 23, 23, 45], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [23, 45, 2] Generated Node #0,0: 44:[23, 45, 2] Operation: 46/23=2 Moving to Node #0,0 Current State: 44:[23, 45, 2], Operations: ['46/23=2'] Exploring Operation: 45-23=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 44:[2, 22] Operation: 45-23=22 Moving to Node #0,0,0 Current State: 44:[2, 22], Operations: ['46/23=2', '45-23=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 25, 73, 61 ]
100
[ "73-16=57", "61-57=4", "25*4=100" ]
Current State: 100:[16, 25, 73, 61], Operations: [] Exploring Operation: 73-16=57, Resulting Numbers: [25, 61, 57] Generated Node #2: [25, 61, 57] from Operation: 73-16=57 Current State: 100:[25, 61, 57], Operations: ['73-16=57'] Exploring Operation: 61-57=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 61-57=4 Current State: 100:[25, 4], Operations: ['73-16=57', '61-57=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[16, 25, 73, 61], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [16, 25, 12] Generated Node #0,0: 100:[16, 25, 12] Operation: 73-61=12 Moving to Node #0,0 Current State: 100:[16, 25, 12], Operations: ['73-61=12'] Exploring Operation: 16-12=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 100:[25, 4] Operation: 16-12=4 Moving to Node #0,0,0 Current State: 100:[25, 4], Operations: ['73-61=12', '16-12=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[16, 25, 73, 61], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [16, 25, 12] Generated Node #0,0: 100:[16, 25, 12] Operation: 73-61=12 Moving to Node #0,0 Current State: 100:[16, 25, 12], Operations: ['73-61=12'] Exploring Operation: 16-12=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 100:[25, 4] Operation: 16-12=4 Moving to Node #0,0,0 Current State: 100:[25, 4], Operations: ['73-61=12', '16-12=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 63, 11, 41, 52 ]
58
[ "52-41=11", "11*11=121", "121-63=58" ]
Current State: 58:[63, 11, 41, 52], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [63, 11, 11] Generated Node #2: [63, 11, 11] from Operation: 52-41=11 Current State: 58:[63, 11, 11], Operations: ['52-41=11'] Exploring Operation: 11*11=121, Resulting Numbers: [63, 121] Generated Node #3: [63, 121] from Operation: 11*11=121 Current State: 58:[63, 121], Operations: ['52-41=11', '11*11=121'] Exploring Operation: 121-63=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[63, 11, 41, 52], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [63, 52, 30] Generated Node #0,0: 58:[63, 52, 30] Operation: 41-11=30 Moving to Node #0,0 Current State: 58:[63, 52, 30], Operations: ['41-11=30'] Exploring Operation: 63-52=11, Resulting Numbers: [30, 11] Generated Node #0,0,0: 58:[30, 11] Operation: 63-52=11 Moving to Node #0,0,0 Current State: 58:[30, 11], Operations: ['41-11=30', '63-52=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,58 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 64, 78, 47 ]
21
[ "64-54=10", "78-47=31", "31-10=21" ]
Current State: 21:[54, 64, 78, 47], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [78, 47, 10] Generated Node #2: [78, 47, 10] from Operation: 64-54=10 Current State: 21:[78, 47, 10], Operations: ['64-54=10'] Exploring Operation: 78-47=31, Resulting Numbers: [10, 31] Generated Node #3: [10, 31] from Operation: 78-47=31 Current State: 21:[10, 31], Operations: ['64-54=10', '78-47=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 64, 78, 47], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [64, 47, 24] Generated Node #0,0: 21:[64, 47, 24] Operation: 78-54=24 Exploring Operation: 78-64=14, Resulting Numbers: [54, 47, 14] Generated Node #0,1: 21:[54, 47, 14] Operation: 78-64=14 Exploring Operation: 64-54=10, Resulting Numbers: [78, 47, 10] Generated Node #0,2: 21:[78, 47, 10] Operation: 64-54=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[54, 47, 14], Operations: ['78-64=14'] Exploring Operation: 47-14=33, Resulting Numbers: [54, 33] Generated Node #0,1,0: 21:[54, 33] Operation: 47-14=33 Exploring Operation: 54-47=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 21:[14, 7] Operation: 54-47=7 Exploring Operation: 54-14=40, Resulting Numbers: [47, 40] Generated Node #0,1,2: 21:[47, 40] Operation: 54-14=40 Moving to Node #0,1,1 Current State: 21:[14, 7], Operations: ['78-64=14', '54-47=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[54, 64, 78, 47], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [54, 47, 14] Generated Node #0,1: 21:[54, 47, 14] Operation: 78-64=14 Moving to Node #0,1 Current State: 21:[54, 47, 14], Operations: ['78-64=14'] Exploring Operation: 54-47=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 21:[14, 7] Operation: 54-47=7 Moving to Node #0,1,1 Current State: 21:[14, 7], Operations: ['78-64=14', '54-47=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 15, 25, 52, 60 ]
72
[ "15+25=40", "52+60=112", "112-40=72" ]
Current State: 72:[15, 25, 52, 60], Operations: [] Exploring Operation: 15+25=40, Resulting Numbers: [52, 60, 40] Generated Node #2: [52, 60, 40] from Operation: 15+25=40 Current State: 72:[52, 60, 40], Operations: ['15+25=40'] Exploring Operation: 52+60=112, Resulting Numbers: [40, 112] Generated Node #3: [40, 112] from Operation: 52+60=112 Current State: 72:[40, 112], Operations: ['15+25=40', '52+60=112'] Exploring Operation: 112-40=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[15, 25, 52, 60], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [15, 25, 8] Generated Node #0,0: 72:[15, 25, 8] Operation: 60-52=8 Exploring Operation: 52-15=37, Resulting Numbers: [25, 60, 37] Generated Node #0,1: 72:[25, 60, 37] Operation: 52-15=37 Exploring Operation: 60/15=4, Resulting Numbers: [25, 52, 4] Generated Node #0,2: 72:[25, 52, 4] Operation: 60/15=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[15, 25, 8], Operations: ['60-52=8'] Exploring Operation: 15-8=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 72:[25, 7] Operation: 15-8=7 Exploring Operation: 25-15=10, Resulting Numbers: [8, 10] Generated Node #0,0,1: 72:[8, 10] Operation: 25-15=10 Exploring Operation: 15+8=23, Resulting Numbers: [25, 23] Generated Node #0,0,2: 72:[25, 23] Operation: 15+8=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[8, 10], Operations: ['60-52=8', '25-15=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[25, 7], Operations: ['60-52=8', '15-8=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,72 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[25, 23], Operations: ['60-52=8', '15+8=23'] Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,72 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[25, 60, 37], Operations: ['52-15=37'] Exploring Operation: 60-25=35, Resulting Numbers: [37, 35] Generated Node #0,1,0: 72:[37, 35] Operation: 60-25=35 Exploring Operation: 37-25=12, Resulting Numbers: [60, 12] Generated Node #0,1,1: 72:[60, 12] Operation: 37-25=12 Exploring Operation: 60-37=23, Resulting Numbers: [25, 23] Generated Node #0,1,2: 72:[25, 23] Operation: 60-37=23 Moving to Node #0,1,0 Current State: 72:[37, 35], Operations: ['52-15=37', '60-25=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[15, 25, 52, 60], Operations: [] Exploring Operation: 52-15=37, Resulting Numbers: [25, 60, 37] Generated Node #0,1: 72:[25, 60, 37] Operation: 52-15=37 Moving to Node #0,1 Current State: 72:[25, 60, 37], Operations: ['52-15=37'] Exploring Operation: 60-25=35, Resulting Numbers: [37, 35] Generated Node #0,1,0: 72:[37, 35] Operation: 60-25=35 Moving to Node #0,1,0 Current State: 72:[37, 35], Operations: ['52-15=37', '60-25=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 67, 89, 61, 4 ]
65
[ "67-61=6", "4*6=24", "89-24=65" ]
Current State: 65:[67, 89, 61, 4], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [89, 4, 6] Generated Node #2: [89, 4, 6] from Operation: 67-61=6 Current State: 65:[89, 4, 6], Operations: ['67-61=6'] Exploring Operation: 4*6=24, Resulting Numbers: [89, 24] Generated Node #3: [89, 24] from Operation: 4*6=24 Current State: 65:[89, 24], Operations: ['67-61=6', '4*6=24'] Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[67, 89, 61, 4], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [61, 4, 22] Generated Node #0,0: 65:[61, 4, 22] Operation: 89-67=22 Moving to Node #0,0 Current State: 65:[61, 4, 22], Operations: ['89-67=22'] Exploring Operation: 61+4=65, Resulting Numbers: [22, 65] Generated Node #0,0,0: 65:[22, 65] Operation: 61+4=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[22, 65], Operations: ['89-67=22', '61+4=65'] Exploring Operation: 22+65=87, Resulting Numbers: [87] 87,65 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
[ 61, 27, 95, 96 ]
94
[ "27+95=122", "122/61=2", "96-2=94" ]
Current State: 94:[61, 27, 95, 96], Operations: [] Exploring Operation: 27+95=122, Resulting Numbers: [61, 96, 122] Generated Node #2: [61, 96, 122] from Operation: 27+95=122 Current State: 94:[61, 96, 122], Operations: ['27+95=122'] Exploring Operation: 122/61=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 122/61=2 Current State: 94:[96, 2], Operations: ['27+95=122', '122/61=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[61, 27, 95, 96], Operations: [] Exploring Operation: 61+27=88, Resulting Numbers: [95, 96, 88] Generated Node #0,0: 94:[95, 96, 88] Operation: 61+27=88 Exploring Operation: 96-61=35, Resulting Numbers: [27, 95, 35] Generated Node #0,1: 94:[27, 95, 35] Operation: 96-61=35 Exploring Operation: 61-27=34, Resulting Numbers: [95, 96, 34] Generated Node #0,2: 94:[95, 96, 34] Operation: 61-27=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[95, 96, 88], Operations: ['61+27=88'] Exploring Operation: 96-95=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 94:[88, 1] Operation: 96-95=1 Exploring Operation: 96-88=8, Resulting Numbers: [95, 8] Generated Node #0,0,1: 94:[95, 8] Operation: 96-88=8 Exploring Operation: 95-88=7, Resulting Numbers: [96, 7] Generated Node #0,0,2: 94:[96, 7] Operation: 95-88=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[88, 1], Operations: ['61+27=88', '96-95=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,94 unequal: No Solution No 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: 94:[95, 8], Operations: ['61+27=88', '96-88=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,94 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,94 unequal: No Solution No 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: 94:[96, 7], Operations: ['61+27=88', '95-88=7'] Exploring Operation: 96+7=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,94 unequal: No Solution Exploring Operation: 96*7=672, Resulting Numbers: [672] 672,94 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: 94:[95, 96, 34], Operations: ['61-27=34'] Exploring Operation: 95-34=61, Resulting Numbers: [96, 61] Generated Node #0,2,0: 94:[96, 61] Operation: 95-34=61 Exploring Operation: 96-34=62, Resulting Numbers: [95, 62] Generated Node #0,2,1: 94:[95, 62] Operation: 96-34=62 Exploring Operation: 96-95=1, Resulting Numbers: [34, 1] Generated Node #0,2,2: 94:[34, 1] Operation: 96-95=1 Moving to Node #0,2,2 Current State: 94:[34, 1], Operations: ['61-27=34', '96-95=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[96, 61], Operations: ['61-27=34', '95-34=61'] Exploring Operation: 96*61=5856, Resulting Numbers: [5856] 5856,94 unequal: No Solution Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 96+61=157, Resulting Numbers: [157] 157,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[95, 62], Operations: ['61-27=34', '96-34=62'] Exploring Operation: 95+62=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 95*62=5890, Resulting Numbers: [5890] 5890,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[27, 95, 35], Operations: ['96-61=35'] Exploring Operation: 27+35=62, Resulting Numbers: [95, 62] Generated Node #0,1,0: 94:[95, 62] Operation: 27+35=62 Exploring Operation: 35-27=8, Resulting Numbers: [95, 8] Generated Node #0,1,1: 94:[95, 8] Operation: 35-27=8 Exploring Operation: 95-27=68, Resulting Numbers: [35, 68] Generated Node #0,1,2: 94:[35, 68] Operation: 95-27=68 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[95, 8], Operations: ['96-61=35', '35-27=8'] Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,94 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,94 unequal: No Solution No 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: 94:[95, 62], Operations: ['96-61=35', '27+35=62'] Exploring Operation: 95*62=5890, Resulting Numbers: [5890] 5890,94 unequal: No Solution Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 95+62=157, Resulting Numbers: [157] 157,94 unequal: No Solution No 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: 94:[35, 68], Operations: ['96-61=35', '95-27=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,94 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic