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
[ 41, 89, 51, 70 ]
29
[ "89-41=48", "70-51=19", "48-19=29" ]
Current State: 29:[41, 89, 51, 70], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [51, 70, 48] Generated Node #2: [51, 70, 48] from Operation: 89-41=48 Current State: 29:[51, 70, 48], Operations: ['89-41=48'] Exploring Operation: 70-51=19, Resulting Numbers: [48, 19] Generated Node #3: [48, 19] from Operation: 70-51=19 Current State: 29:[48, 19], Operations: ['89-41=48', '70-51=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[41, 89, 51, 70], Operations: [] Exploring Operation: 70-51=19, Resulting Numbers: [41, 89, 19] Generated Node #0,0: 29:[41, 89, 19] Operation: 70-51=19 Exploring Operation: 89-51=38, Resulting Numbers: [41, 70, 38] Generated Node #0,1: 29:[41, 70, 38] Operation: 89-51=38 Exploring Operation: 70-41=29, Resulting Numbers: [89, 51, 29] Generated Node #0,2: 29:[89, 51, 29] Operation: 70-41=29 Exploring Operation: 89-41=48, Resulting Numbers: [51, 70, 48] Generated Node #0,3: 29:[51, 70, 48] Operation: 89-41=48 Exploring Operation: 89-70=19, Resulting Numbers: [41, 51, 19] Generated Node #0,4: 29:[41, 51, 19] Operation: 89-70=19 Moving to Node #0,4 Current State: 29:[41, 51, 19], Operations: ['89-70=19'] Exploring Operation: 51+19=70, Resulting Numbers: [41, 70] Generated Node #0,4,0: 29:[41, 70] Operation: 51+19=70 Exploring Operation: 41-19=22, Resulting Numbers: [51, 22] Generated Node #0,4,1: 29:[51, 22] Operation: 41-19=22 Exploring Operation: 51-19=32, Resulting Numbers: [41, 32] Generated Node #0,4,2: 29:[41, 32] Operation: 51-19=32 Exploring Operation: 41+19=60, Resulting Numbers: [51, 60] Generated Node #0,4,3: 29:[51, 60] Operation: 41+19=60 Exploring Operation: 51-41=10, Resulting Numbers: [19, 10] Generated Node #0,4,4: 29:[19, 10] Operation: 51-41=10 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[41, 32], Operations: ['89-70=19', '51-19=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,29 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[51, 22], Operations: ['89-70=19', '41-19=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[41, 89, 51, 70], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [41, 51, 19] Generated Node #0,4: 29:[41, 51, 19] Operation: 89-70=19 Moving to Node #0,4 Current State: 29:[41, 51, 19], Operations: ['89-70=19'] Exploring Operation: 41-19=22, Resulting Numbers: [51, 22] Generated Node #0,4,1: 29:[51, 22] Operation: 41-19=22 Moving to Node #0,4,1 Current State: 29:[51, 22], Operations: ['89-70=19', '41-19=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 81, 54, 89, 45 ]
66
[ "89-45=44", "81*44=3564", "3564/54=66" ]
Current State: 66:[81, 54, 89, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [81, 54, 44] Generated Node #2: [81, 54, 44] from Operation: 89-45=44 Current State: 66:[81, 54, 44], Operations: ['89-45=44'] Exploring Operation: 81*44=3564, Resulting Numbers: [54, 3564] Generated Node #3: [54, 3564] from Operation: 81*44=3564 Current State: 66:[54, 3564], Operations: ['89-45=44', '81*44=3564'] Exploring Operation: 3564/54=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[81, 54, 89, 45], Operations: [] Exploring Operation: 81-54=27, Resulting Numbers: [89, 45, 27] Generated Node #0,0: 66:[89, 45, 27] Operation: 81-54=27 Exploring Operation: 89-81=8, Resulting Numbers: [54, 45, 8] Generated Node #0,1: 66:[54, 45, 8] Operation: 89-81=8 Exploring Operation: 89-54=35, Resulting Numbers: [81, 45, 35] Generated Node #0,2: 66:[81, 45, 35] Operation: 89-54=35 Exploring Operation: 89-45=44, Resulting Numbers: [81, 54, 44] Generated Node #0,3: 66:[81, 54, 44] Operation: 89-45=44 Exploring Operation: 81-45=36, Resulting Numbers: [54, 89, 36] Generated Node #0,4: 66:[54, 89, 36] Operation: 81-45=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[54, 45, 8], Operations: ['89-81=8'] Exploring Operation: 45-8=37, Resulting Numbers: [54, 37] Generated Node #0,1,0: 66:[54, 37] Operation: 45-8=37 Exploring Operation: 45+8=53, Resulting Numbers: [54, 53] Generated Node #0,1,1: 66:[54, 53] Operation: 45+8=53 Exploring Operation: 54-8=46, Resulting Numbers: [45, 46] Generated Node #0,1,2: 66:[45, 46] Operation: 54-8=46 Exploring Operation: 54+8=62, Resulting Numbers: [45, 62] Generated Node #0,1,3: 66:[45, 62] Operation: 54+8=62 Exploring Operation: 54-45=9, Resulting Numbers: [8, 9] Generated Node #0,1,4: 66:[8, 9] Operation: 54-45=9 Moving to Node #0,1,4 Current State: 66:[8, 9], Operations: ['89-81=8', '54-45=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[45, 62], Operations: ['89-81=8', '54+8=62'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,66 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[54, 37], Operations: ['89-81=8', '45-8=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,66 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[54, 53], Operations: ['89-81=8', '45+8=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,66 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[45, 46], Operations: ['89-81=8', '54-8=46'] Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,66 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[81, 45, 35], Operations: ['89-54=35'] Exploring Operation: 45-35=10, Resulting Numbers: [81, 10] Generated Node #0,2,0: 66:[81, 10] Operation: 45-35=10 Exploring Operation: 81-45=36, Resulting Numbers: [35, 36] Generated Node #0,2,1: 66:[35, 36] Operation: 81-45=36 Exploring Operation: 81+45=126, Resulting Numbers: [35, 126] Generated Node #0,2,2: 66:[35, 126] Operation: 81+45=126 Exploring Operation: 45+35=80, Resulting Numbers: [81, 80] Generated Node #0,2,3: 66:[81, 80] Operation: 45+35=80 Exploring Operation: 81-35=46, Resulting Numbers: [45, 46] Generated Node #0,2,4: 66:[45, 46] Operation: 81-35=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[35, 36], Operations: ['89-54=35', '81-45=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,66 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,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,2,0 Current State: 66:[81, 10], Operations: ['89-54=35', '45-35=10'] Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,66 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,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,2,4 Current State: 66:[45, 46], Operations: ['89-54=35', '81-35=46'] Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,66 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,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,2,3 Current State: 66:[81, 80], Operations: ['89-54=35', '45+35=80'] Exploring Operation: 81*80=6480, Resulting Numbers: [6480] 6480,66 unequal: No Solution Exploring Operation: 81+80=161, Resulting Numbers: [161] 161,66 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,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,2,2 Current State: 66:[35, 126], Operations: ['89-54=35', '81+45=126'] Exploring Operation: 35+126=161, Resulting Numbers: [161] 161,66 unequal: No Solution Exploring Operation: 35*126=4410, Resulting Numbers: [4410] 4410,66 unequal: No Solution Exploring Operation: 126-35=91, Resulting Numbers: [91] 91,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,3 Current State: 66:[81, 54, 44], Operations: ['89-45=44'] Exploring Operation: 54-44=10, Resulting Numbers: [81, 10] Generated Node #0,3,0: 66:[81, 10] Operation: 54-44=10 Exploring Operation: 81-44=37, Resulting Numbers: [54, 37] Generated Node #0,3,1: 66:[54, 37] Operation: 81-44=37 Exploring Operation: 81+44=125, Resulting Numbers: [54, 125] Generated Node #0,3,2: 66:[54, 125] Operation: 81+44=125 Exploring Operation: 54+44=98, Resulting Numbers: [81, 98] Generated Node #0,3,3: 66:[81, 98] Operation: 54+44=98 Exploring Operation: 81-54=27, Resulting Numbers: [44, 27] Generated Node #0,3,4: 66:[44, 27] Operation: 81-54=27 Moving to Node #0,3,0 Current State: 66:[81, 10], Operations: ['89-45=44', '54-44=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,66 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[44, 27], Operations: ['89-45=44', '81-54=27'] Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,66 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[54, 37], Operations: ['89-45=44', '81-44=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[81, 98], Operations: ['89-45=44', '54+44=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,66 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,66 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[54, 125], Operations: ['89-45=44', '81+44=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 54*125=6750, Resulting Numbers: [6750] 6750,66 unequal: No Solution Exploring Operation: 54+125=179, Resulting Numbers: [179] 179,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[54, 89, 36], Operations: ['81-45=36'] Exploring Operation: 89+36=125, Resulting Numbers: [54, 125] Generated Node #0,4,0: 66:[54, 125] Operation: 89+36=125 Exploring Operation: 54+36=90, Resulting Numbers: [89, 90] Generated Node #0,4,1: 66:[89, 90] Operation: 54+36=90 Exploring Operation: 54-36=18, Resulting Numbers: [89, 18] Generated Node #0,4,2: 66:[89, 18] Operation: 54-36=18 Exploring Operation: 89-54=35, Resulting Numbers: [36, 35] Generated Node #0,4,3: 66:[36, 35] Operation: 89-54=35 Exploring Operation: 89-36=53, Resulting Numbers: [54, 53] Generated Node #0,4,4: 66:[54, 53] Operation: 89-36=53 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 66:[36, 35], Operations: ['81-45=36', '89-54=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,66 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,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,4,4 Current State: 66:[54, 53], Operations: ['81-45=36', '89-36=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,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,4,2 Current State: 66:[89, 18], Operations: ['81-45=36', '54-36=18'] Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 89*18=1602, Resulting Numbers: [1602] 1602,66 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,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,4,1 Current State: 66:[89, 90], Operations: ['81-45=36', '54+36=90'] Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,66 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,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,4,0 Current State: 66:[54, 125], Operations: ['81-45=36', '89+36=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 54+125=179, Resulting Numbers: [179] 179,66 unequal: No Solution Exploring Operation: 54*125=6750, Resulting Numbers: [6750] 6750,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[89, 45, 27], Operations: ['81-54=27'] Exploring Operation: 45-27=18, Resulting Numbers: [89, 18] Generated Node #0,0,0: 66:[89, 18] Operation: 45-27=18 Exploring Operation: 45+27=72, Resulting Numbers: [89, 72] Generated Node #0,0,1: 66:[89, 72] Operation: 45+27=72 Exploring Operation: 89-27=62, Resulting Numbers: [45, 62] Generated Node #0,0,2: 66:[45, 62] Operation: 89-27=62 Exploring Operation: 89+27=116, Resulting Numbers: [45, 116] Generated Node #0,0,3: 66:[45, 116] Operation: 89+27=116 Exploring Operation: 89-45=44, Resulting Numbers: [27, 44] Generated Node #0,0,4: 66:[27, 44] Operation: 89-45=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[45, 62], Operations: ['81-54=27', '89-27=62'] Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,66 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,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,0,4 Current State: 66:[27, 44], Operations: ['81-54=27', '89-45=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,66 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,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,0,0 Current State: 66:[89, 18], Operations: ['81-54=27', '45-27=18'] Exploring Operation: 89*18=1602, Resulting Numbers: [1602] 1602,66 unequal: No Solution Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 89+18=107, Resulting Numbers: [107] 107,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,0,1 Current State: 66:[89, 72], Operations: ['81-54=27', '45+27=72'] Exploring Operation: 89*72=6408, Resulting Numbers: [6408] 6408,66 unequal: No Solution Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 89+72=161, Resulting Numbers: [161] 161,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,0,3 Current State: 66:[45, 116], Operations: ['81-54=27', '89+27=116'] Exploring Operation: 45*116=5220, Resulting Numbers: [5220] 5220,66 unequal: No Solution Exploring Operation: 116-45=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 45+116=161, Resulting Numbers: [161] 161,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_5
mult_heuristic
[ 60, 73, 9, 37 ]
87
[ "60+73=133", "9+37=46", "133-46=87" ]
Current State: 87:[60, 73, 9, 37], Operations: [] Exploring Operation: 60+73=133, Resulting Numbers: [9, 37, 133] Generated Node #2: [9, 37, 133] from Operation: 60+73=133 Current State: 87:[9, 37, 133], Operations: ['60+73=133'] Exploring Operation: 9+37=46, Resulting Numbers: [133, 46] Generated Node #3: [133, 46] from Operation: 9+37=46 Current State: 87:[133, 46], Operations: ['60+73=133', '9+37=46'] Exploring Operation: 133-46=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[60, 73, 9, 37], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [73, 9, 23] Generated Node #0,0: 87:[73, 9, 23] Operation: 60-37=23 Exploring Operation: 73-60=13, Resulting Numbers: [9, 37, 13] Generated Node #0,1: 87:[9, 37, 13] Operation: 73-60=13 Exploring Operation: 60+37=97, Resulting Numbers: [73, 9, 97] Generated Node #0,2: 87:[73, 9, 97] Operation: 60+37=97 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[9, 37, 13], Operations: ['73-60=13'] Exploring Operation: 13-9=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 87:[37, 4] Operation: 13-9=4 Exploring Operation: 37-9=28, Resulting Numbers: [13, 28] Generated Node #0,1,1: 87:[13, 28] Operation: 37-9=28 Exploring Operation: 37-13=24, Resulting Numbers: [9, 24] Generated Node #0,1,2: 87:[9, 24] Operation: 37-13=24 Moving to Node #0,1,0 Current State: 87:[37, 4], Operations: ['73-60=13', '13-9=4'] Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[13, 28], Operations: ['73-60=13', '37-9=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,87 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[9, 24], Operations: ['73-60=13', '37-13=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,87 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,87 unequal: No Solution No 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: 87:[73, 9, 23], Operations: ['60-37=23'] Exploring Operation: 73+23=96, Resulting Numbers: [9, 96] Generated Node #0,0,0: 87:[9, 96] Operation: 73+23=96 Exploring Operation: 73+9=82, Resulting Numbers: [23, 82] Generated Node #0,0,1: 87:[23, 82] Operation: 73+9=82 Exploring Operation: 9+23=32, Resulting Numbers: [73, 32] Generated Node #0,0,2: 87:[73, 32] Operation: 9+23=32 Moving to Node #0,0,1 Current State: 87:[23, 82], Operations: ['60-37=23', '73+9=82'] Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,87 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,87 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[9, 96], Operations: ['60-37=23', '73+23=96'] Exploring Operation: 9*96=864, Resulting Numbers: [864] 864,87 unequal: No Solution Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[60, 73, 9, 37], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [73, 9, 23] Generated Node #0,0: 87:[73, 9, 23] Operation: 60-37=23 Moving to Node #0,0 Current State: 87:[73, 9, 23], Operations: ['60-37=23'] Exploring Operation: 73+23=96, Resulting Numbers: [9, 96] Generated Node #0,0,0: 87:[9, 96] Operation: 73+23=96 Moving to Node #0,0,0 Current State: 87:[9, 96], Operations: ['60-37=23', '73+23=96'] Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 40, 48, 16, 14 ]
10
[ "48-40=8", "16-14=2", "8+2=10" ]
Current State: 10:[40, 48, 16, 14], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [16, 14, 8] Generated Node #2: [16, 14, 8] from Operation: 48-40=8 Current State: 10:[16, 14, 8], Operations: ['48-40=8'] Exploring Operation: 16-14=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 16-14=2 Current State: 10:[8, 2], Operations: ['48-40=8', '16-14=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[40, 48, 16, 14], Operations: [] Exploring Operation: 40-16=24, Resulting Numbers: [48, 14, 24] Generated Node #0,0: 10:[48, 14, 24] Operation: 40-16=24 Exploring Operation: 48-16=32, Resulting Numbers: [40, 14, 32] Generated Node #0,1: 10:[40, 14, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [40, 14, 3] Generated Node #0,2: 10:[40, 14, 3] Operation: 48/16=3 Exploring Operation: 48-40=8, Resulting Numbers: [16, 14, 8] Generated Node #0,3: 10:[16, 14, 8] Operation: 48-40=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[16, 14, 8], Operations: ['48-40=8'] Exploring Operation: 16-8=8, Resulting Numbers: [14, 8] Generated Node #0,3,0: 10:[14, 8] Operation: 16-8=8 Exploring Operation: 14-8=6, Resulting Numbers: [16, 6] Generated Node #0,3,1: 10:[16, 6] Operation: 14-8=6 Exploring Operation: 16/8=2, Resulting Numbers: [14, 2] Generated Node #0,3,2: 10:[14, 2] Operation: 16/8=2 Exploring Operation: 16-14=2, Resulting Numbers: [8, 2] Generated Node #0,3,3: 10:[8, 2] Operation: 16-14=2 Moving to Node #0,3,3 Current State: 10:[8, 2], Operations: ['48-40=8', '16-14=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[40, 48, 16, 14], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [16, 14, 8] Generated Node #0,3: 10:[16, 14, 8] Operation: 48-40=8 Moving to Node #0,3 Current State: 10:[16, 14, 8], Operations: ['48-40=8'] Exploring Operation: 16-14=2, Resulting Numbers: [8, 2] Generated Node #0,3,3: 10:[8, 2] Operation: 16-14=2 Moving to Node #0,3,3 Current State: 10:[8, 2], Operations: ['48-40=8', '16-14=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 15, 42, 42, 59 ]
73
[ "15+59=74", "42/42=1", "74-1=73" ]
Current State: 73:[15, 42, 42, 59], Operations: [] Exploring Operation: 15+59=74, Resulting Numbers: [42, 42, 74] Generated Node #2: [42, 42, 74] from Operation: 15+59=74 Current State: 73:[42, 42, 74], Operations: ['15+59=74'] Exploring Operation: 42/42=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 42/42=1 Current State: 73:[74, 1], Operations: ['15+59=74', '42/42=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[15, 42, 42, 59], Operations: [] Exploring Operation: 15+42=57, Resulting Numbers: [42, 59, 57] Generated Node #0,0: 73:[42, 59, 57] Operation: 15+42=57 Exploring Operation: 42-15=27, Resulting Numbers: [42, 59, 27] Generated Node #0,1: 73:[42, 59, 27] Operation: 42-15=27 Exploring Operation: 15+42=57, Resulting Numbers: [42, 59, 57] Generated Node #0,2: 73:[42, 59, 57] Operation: 15+42=57 Exploring Operation: 15+59=74, Resulting Numbers: [42, 42, 74] Generated Node #0,3: 73:[42, 42, 74] Operation: 15+59=74 Exploring Operation: 42+42=84, Resulting Numbers: [15, 59, 84] Generated Node #0,4: 73:[15, 59, 84] Operation: 42+42=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[42, 59, 57], Operations: ['15+42=57'] Exploring Operation: 59-42=17, Resulting Numbers: [57, 17] Generated Node #0,0,0: 73:[57, 17] Operation: 59-42=17 Exploring Operation: 42+57=99, Resulting Numbers: [59, 99] Generated Node #0,0,1: 73:[59, 99] Operation: 42+57=99 Exploring Operation: 59+57=116, Resulting Numbers: [42, 116] Generated Node #0,0,2: 73:[42, 116] Operation: 59+57=116 Exploring Operation: 57-42=15, Resulting Numbers: [59, 15] Generated Node #0,0,3: 73:[59, 15] Operation: 57-42=15 Exploring Operation: 42+59=101, Resulting Numbers: [57, 101] Generated Node #0,0,4: 73:[57, 101] Operation: 42+59=101 Moving to Node #0,0,1 Current State: 73:[59, 99], Operations: ['15+42=57', '42+57=99'] Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 59+99=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 59*99=5841, Resulting Numbers: [5841] 5841,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[57, 101], Operations: ['15+42=57', '42+59=101'] Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,73 unequal: No Solution Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[57, 17], Operations: ['15+42=57', '59-42=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[59, 15], Operations: ['15+42=57', '57-42=15'] Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,73 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[42, 116], Operations: ['15+42=57', '59+57=116'] Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,73 unequal: No Solution Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,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 Current State: 73:[42, 59, 57], Operations: ['15+42=57'] Exploring Operation: 57-42=15, Resulting Numbers: [59, 15] Generated Node #0,2,0: 73:[59, 15] Operation: 57-42=15 Exploring Operation: 59+57=116, Resulting Numbers: [42, 116] Generated Node #0,2,1: 73:[42, 116] Operation: 59+57=116 Exploring Operation: 59-42=17, Resulting Numbers: [57, 17] Generated Node #0,2,2: 73:[57, 17] Operation: 59-42=17 Exploring Operation: 42+59=101, Resulting Numbers: [57, 101] Generated Node #0,2,3: 73:[57, 101] Operation: 42+59=101 Exploring Operation: 42+57=99, Resulting Numbers: [59, 99] Generated Node #0,2,4: 73:[59, 99] Operation: 42+57=99 Moving to Node #0,2,4 Current State: 73:[59, 99], Operations: ['15+42=57', '42+57=99'] Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 59+99=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 59*99=5841, Resulting Numbers: [5841] 5841,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[57, 101], Operations: ['15+42=57', '42+59=101'] Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[59, 15], Operations: ['15+42=57', '57-42=15'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[57, 17], Operations: ['15+42=57', '59-42=17'] Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,73 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[42, 116], Operations: ['15+42=57', '59+57=116'] Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[42, 42, 74], Operations: ['15+59=74'] Exploring Operation: 42-42=0, Resulting Numbers: [74, 0] Generated Node #0,3,0: 73:[74, 0] Operation: 42-42=0 Exploring Operation: 42/42=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 73:[74, 1] Operation: 42/42=1 Exploring Operation: 74-42=32, Resulting Numbers: [42, 32] Generated Node #0,3,2: 73:[42, 32] Operation: 74-42=32 Exploring Operation: 74-42=32, Resulting Numbers: [42, 32] Generated Node #0,3,3: 73:[42, 32] Operation: 74-42=32 Exploring Operation: 42+42=84, Resulting Numbers: [74, 84] Generated Node #0,3,4: 73:[74, 84] Operation: 42+42=84 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 73:[74, 84], Operations: ['15+59=74', '42+42=84'] Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,73 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,73 unequal: No Solution No 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: 73:[42, 32], Operations: ['15+59=74', '74-42=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,73 unequal: No Solution No 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: 73:[42, 32], Operations: ['15+59=74', '74-42=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,73 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,73 unequal: No Solution No 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: 73:[74, 1], Operations: ['15+59=74', '42/42=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[15, 42, 42, 59], Operations: [] Exploring Operation: 15+59=74, Resulting Numbers: [42, 42, 74] Generated Node #0,3: 73:[42, 42, 74] Operation: 15+59=74 Moving to Node #0,3 Current State: 73:[42, 42, 74], Operations: ['15+59=74'] Exploring Operation: 42/42=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 73:[74, 1] Operation: 42/42=1 Moving to Node #0,3,1 Current State: 73:[74, 1], Operations: ['15+59=74', '42/42=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.944444
hs_5
mult_heuristic
[ 15, 88, 26, 27 ]
50
[ "15+88=103", "26+27=53", "103-53=50" ]
Current State: 50:[15, 88, 26, 27], Operations: [] Exploring Operation: 15+88=103, Resulting Numbers: [26, 27, 103] Generated Node #2: [26, 27, 103] from Operation: 15+88=103 Current State: 50:[26, 27, 103], Operations: ['15+88=103'] Exploring Operation: 26+27=53, Resulting Numbers: [103, 53] Generated Node #3: [103, 53] from Operation: 26+27=53 Current State: 50:[103, 53], Operations: ['15+88=103', '26+27=53'] Exploring Operation: 103-53=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[15, 88, 26, 27], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [15, 26, 61] Generated Node #0,0: 50:[15, 26, 61] Operation: 88-27=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[15, 26, 61], Operations: ['88-27=61'] Exploring Operation: 61-15=46, Resulting Numbers: [26, 46] Generated Node #0,0,0: 50:[26, 46] Operation: 61-15=46 Moving to Node #0,0,0 Current State: 50:[26, 46], Operations: ['88-27=61', '61-15=46'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,50 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
[ 93, 91, 78, 52 ]
97
[ "91-78=13", "52/13=4", "93+4=97" ]
Current State: 97:[93, 91, 78, 52], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [93, 52, 13] Generated Node #2: [93, 52, 13] from Operation: 91-78=13 Current State: 97:[93, 52, 13], Operations: ['91-78=13'] Exploring Operation: 52/13=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 52/13=4 Current State: 97:[93, 4], Operations: ['91-78=13', '52/13=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[93, 91, 78, 52], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [91, 78, 41] Generated Node #0,0: 97:[91, 78, 41] Operation: 93-52=41 Exploring Operation: 93+52=145, Resulting Numbers: [91, 78, 145] Generated Node #0,1: 97:[91, 78, 145] Operation: 93+52=145 Exploring Operation: 78+52=130, Resulting Numbers: [93, 91, 130] Generated Node #0,2: 97:[93, 91, 130] Operation: 78+52=130 Exploring Operation: 91+52=143, Resulting Numbers: [93, 78, 143] Generated Node #0,3: 97:[93, 78, 143] Operation: 91+52=143 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[93, 91, 130], Operations: ['78+52=130'] Exploring Operation: 130-91=39, Resulting Numbers: [93, 39] Generated Node #0,2,0: 97:[93, 39] Operation: 130-91=39 Exploring Operation: 130-93=37, Resulting Numbers: [91, 37] Generated Node #0,2,1: 97:[91, 37] Operation: 130-93=37 Exploring Operation: 93-91=2, Resulting Numbers: [130, 2] Generated Node #0,2,2: 97:[130, 2] Operation: 93-91=2 Exploring Operation: 93+91=184, Resulting Numbers: [130, 184] Generated Node #0,2,3: 97:[130, 184] Operation: 93+91=184 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[93, 39], Operations: ['78+52=130', '130-91=39'] Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 93*39=3627, Resulting Numbers: [3627] 3627,97 unequal: No Solution Exploring Operation: 93+39=132, Resulting Numbers: [132] 132,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:[91, 37], Operations: ['78+52=130', '130-93=37'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 91+37=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 91*37=3367, Resulting Numbers: [3367] 3367,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:[130, 184], Operations: ['78+52=130', '93+91=184'] Exploring Operation: 130+184=314, Resulting Numbers: [314] 314,97 unequal: No Solution Exploring Operation: 184-130=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 130*184=23920, Resulting Numbers: [23920] 23920,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,2 Current State: 97:[130, 2], Operations: ['78+52=130', '93-91=2'] Exploring Operation: 130*2=260, Resulting Numbers: [260] 260,97 unequal: No Solution Exploring Operation: 130+2=132, Resulting Numbers: [132] 132,97 unequal: No Solution Exploring Operation: 130-2=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 130/2=65, Resulting Numbers: [65] 65,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:[93, 78, 143], Operations: ['91+52=143'] Exploring Operation: 143-93=50, Resulting Numbers: [78, 50] Generated Node #0,3,0: 97:[78, 50] Operation: 143-93=50 Exploring Operation: 143-78=65, Resulting Numbers: [93, 65] Generated Node #0,3,1: 97:[93, 65] Operation: 143-78=65 Exploring Operation: 93+78=171, Resulting Numbers: [143, 171] Generated Node #0,3,2: 97:[143, 171] Operation: 93+78=171 Exploring Operation: 93-78=15, Resulting Numbers: [143, 15] Generated Node #0,3,3: 97:[143, 15] Operation: 93-78=15 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[93, 65], Operations: ['91+52=143', '143-78=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,3,0 Current State: 97:[78, 50], Operations: ['91+52=143', '143-93=50'] Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,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,3,2 Current State: 97:[143, 171], Operations: ['91+52=143', '93+78=171'] Exploring Operation: 143+171=314, Resulting Numbers: [314] 314,97 unequal: No Solution Exploring Operation: 143*171=24453, Resulting Numbers: [24453] 24453,97 unequal: No Solution Exploring Operation: 171-143=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,3,3 Current State: 97:[143, 15], Operations: ['91+52=143', '93-78=15'] Exploring Operation: 143-15=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 143+15=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 143*15=2145, Resulting Numbers: [2145] 2145,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:[91, 78, 145], Operations: ['93+52=145'] Exploring Operation: 145-91=54, Resulting Numbers: [78, 54] Generated Node #0,1,0: 97:[78, 54] Operation: 145-91=54 Exploring Operation: 91-78=13, Resulting Numbers: [145, 13] Generated Node #0,1,1: 97:[145, 13] Operation: 91-78=13 Exploring Operation: 145-78=67, Resulting Numbers: [91, 67] Generated Node #0,1,2: 97:[91, 67] Operation: 145-78=67 Exploring Operation: 91+78=169, Resulting Numbers: [145, 169] Generated Node #0,1,3: 97:[145, 169] Operation: 91+78=169 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[91, 67], Operations: ['93+52=145', '145-78=67'] Exploring Operation: 91*67=6097, Resulting Numbers: [6097] 6097,97 unequal: No Solution Exploring Operation: 91+67=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,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:[78, 54], Operations: ['93+52=145', '145-91=54'] Exploring Operation: 78+54=132, Resulting Numbers: [132] 132,97 unequal: No Solution Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 78*54=4212, Resulting Numbers: [4212] 4212,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,3 Current State: 97:[145, 169], Operations: ['93+52=145', '91+78=169'] Exploring Operation: 145*169=24505, Resulting Numbers: [24505] 24505,97 unequal: No Solution Exploring Operation: 169-145=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 145+169=314, Resulting Numbers: [314] 314,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:[145, 13], Operations: ['93+52=145', '91-78=13'] Exploring Operation: 145*13=1885, Resulting Numbers: [1885] 1885,97 unequal: No Solution Exploring Operation: 145+13=158, Resulting Numbers: [158] 158,97 unequal: No Solution Exploring Operation: 145-13=132, Resulting Numbers: [132] 132,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,0 Current State: 97:[91, 78, 41], Operations: ['93-52=41'] Exploring Operation: 91+41=132, Resulting Numbers: [78, 132] Generated Node #0,0,0: 97:[78, 132] Operation: 91+41=132 Exploring Operation: 91-41=50, Resulting Numbers: [78, 50] Generated Node #0,0,1: 97:[78, 50] Operation: 91-41=50 Exploring Operation: 78-41=37, Resulting Numbers: [91, 37] Generated Node #0,0,2: 97:[91, 37] Operation: 78-41=37 Exploring Operation: 78+41=119, Resulting Numbers: [91, 119] Generated Node #0,0,3: 97:[91, 119] Operation: 78+41=119 Moving to Node #0,0,3 Current State: 97:[91, 119], Operations: ['93-52=41', '78+41=119'] Exploring Operation: 91+119=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 119-91=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 91*119=10829, Resulting Numbers: [10829] 10829,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[78, 132], Operations: ['93-52=41', '91+41=132'] Exploring Operation: 78+132=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 132-78=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 78*132=10296, Resulting Numbers: [10296] 10296,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[91, 37], Operations: ['93-52=41', '78-41=37'] Exploring Operation: 91+37=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 91*37=3367, Resulting Numbers: [3367] 3367,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[78, 50], Operations: ['93-52=41', '91-41=50'] Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 28, 15, 79, 2 ]
79
[ "28/2=14", "15-14=1", "79*1=79" ]
Current State: 79:[28, 15, 79, 2], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [15, 79, 14] Generated Node #2: [15, 79, 14] from Operation: 28/2=14 Current State: 79:[15, 79, 14], Operations: ['28/2=14'] Exploring Operation: 15-14=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 15-14=1 Current State: 79:[79, 1], Operations: ['28/2=14', '15-14=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[28, 15, 79, 2], Operations: [] Exploring Operation: 15+2=17, Resulting Numbers: [28, 79, 17] Generated Node #0,0: 79:[28, 79, 17] Operation: 15+2=17 Exploring Operation: 28+2=30, Resulting Numbers: [15, 79, 30] Generated Node #0,1: 79:[15, 79, 30] Operation: 28+2=30 Exploring Operation: 15*2=30, Resulting Numbers: [28, 79, 30] Generated Node #0,2: 79:[28, 79, 30] Operation: 15*2=30 Exploring Operation: 28+15=43, Resulting Numbers: [79, 2, 43] Generated Node #0,3: 79:[79, 2, 43] Operation: 28+15=43 Exploring Operation: 28*2=56, Resulting Numbers: [15, 79, 56] Generated Node #0,4: 79:[15, 79, 56] Operation: 28*2=56 Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[15, 79, 56], Operations: ['28*2=56'] Exploring Operation: 56-15=41, Resulting Numbers: [79, 41] Generated Node #0,4,0: 79:[79, 41] Operation: 56-15=41 Exploring Operation: 15+56=71, Resulting Numbers: [79, 71] Generated Node #0,4,1: 79:[79, 71] Operation: 15+56=71 Exploring Operation: 15+79=94, Resulting Numbers: [56, 94] Generated Node #0,4,2: 79:[56, 94] Operation: 15+79=94 Exploring Operation: 79-15=64, Resulting Numbers: [56, 64] Generated Node #0,4,3: 79:[56, 64] Operation: 79-15=64 Exploring Operation: 79+56=135, Resulting Numbers: [15, 135] Generated Node #0,4,4: 79:[15, 135] Operation: 79+56=135 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 79:[79, 71], Operations: ['28*2=56', '15+56=71'] Exploring Operation: 79+71=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 79*71=5609, Resulting Numbers: [5609] 5609,79 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 79:[79, 41], Operations: ['28*2=56', '56-15=41'] Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,79 unequal: No Solution Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 79:[56, 94], Operations: ['28*2=56', '15+79=94'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,79 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 79:[56, 64], Operations: ['28*2=56', '79-15=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,79 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 79:[15, 135], Operations: ['28*2=56', '79+56=135'] Exploring Operation: 135-15=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 135/15=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 15*135=2025, Resulting Numbers: [2025] 2025,79 unequal: No Solution Exploring Operation: 15+135=150, Resulting Numbers: [150] 150,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[28, 79, 30], Operations: ['15*2=30'] Exploring Operation: 28+79=107, Resulting Numbers: [30, 107] Generated Node #0,2,0: 79:[30, 107] Operation: 28+79=107 Exploring Operation: 79-28=51, Resulting Numbers: [30, 51] Generated Node #0,2,1: 79:[30, 51] Operation: 79-28=51 Exploring Operation: 79+30=109, Resulting Numbers: [28, 109] Generated Node #0,2,2: 79:[28, 109] Operation: 79+30=109 Exploring Operation: 30-28=2, Resulting Numbers: [79, 2] Generated Node #0,2,3: 79:[79, 2] Operation: 30-28=2 Exploring Operation: 28+30=58, Resulting Numbers: [79, 58] Generated Node #0,2,4: 79:[79, 58] Operation: 28+30=58 Moving to Node #0,2,4 Current State: 79:[79, 58], Operations: ['15*2=30', '28+30=58'] Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,79 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[30, 51], Operations: ['15*2=30', '79-28=51'] Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,79 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[30, 107], Operations: ['15*2=30', '28+79=107'] Exploring Operation: 107-30=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 30+107=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 30*107=3210, Resulting Numbers: [3210] 3210,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[79, 2], Operations: ['15*2=30', '30-28=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[28, 109], Operations: ['15*2=30', '79+30=109'] Exploring Operation: 28+109=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 28*109=3052, Resulting Numbers: [3052] 3052,79 unequal: No Solution Exploring Operation: 109-28=81, Resulting Numbers: [81] 81,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[28, 79, 17], Operations: ['15+2=17'] Exploring Operation: 79-17=62, Resulting Numbers: [28, 62] Generated Node #0,0,0: 79:[28, 62] Operation: 79-17=62 Exploring Operation: 79+17=96, Resulting Numbers: [28, 96] Generated Node #0,0,1: 79:[28, 96] Operation: 79+17=96 Exploring Operation: 28-17=11, Resulting Numbers: [79, 11] Generated Node #0,0,2: 79:[79, 11] Operation: 28-17=11 Exploring Operation: 28+79=107, Resulting Numbers: [17, 107] Generated Node #0,0,3: 79:[17, 107] Operation: 28+79=107 Exploring Operation: 28+17=45, Resulting Numbers: [79, 45] Generated Node #0,0,4: 79:[79, 45] Operation: 28+17=45 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 79:[79, 45], Operations: ['15+2=17', '28+17=45'] Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,79 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[28, 62], Operations: ['15+2=17', '79-17=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,79 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[28, 96], Operations: ['15+2=17', '79+17=96'] Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 28+96=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 28*96=2688, Resulting Numbers: [2688] 2688,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[79, 11], Operations: ['15+2=17', '28-17=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,79 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[17, 107], Operations: ['15+2=17', '28+79=107'] Exploring Operation: 107-17=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 17+107=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 17*107=1819, Resulting Numbers: [1819] 1819,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[15, 79, 30], Operations: ['28+2=30'] Exploring Operation: 15+79=94, Resulting Numbers: [30, 94] Generated Node #0,1,0: 79:[30, 94] Operation: 15+79=94 Exploring Operation: 79-15=64, Resulting Numbers: [30, 64] Generated Node #0,1,1: 79:[30, 64] Operation: 79-15=64 Exploring Operation: 15+30=45, Resulting Numbers: [79, 45] Generated Node #0,1,2: 79:[79, 45] Operation: 15+30=45 Exploring Operation: 30-15=15, Resulting Numbers: [79, 15] Generated Node #0,1,3: 79:[79, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [79, 2] Generated Node #0,1,4: 79:[79, 2] Operation: 30/15=2 Moving to Node #0,1,2 Current State: 79:[79, 45], Operations: ['28+2=30', '15+30=45'] Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,79 unequal: No Solution Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[30, 64], Operations: ['28+2=30', '79-15=64'] Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,79 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[30, 94], Operations: ['28+2=30', '15+79=94'] Exploring Operation: 30+94=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 30*94=2820, Resulting Numbers: [2820] 2820,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[79, 15], Operations: ['28+2=30', '30-15=15'] Exploring Operation: 79*15=1185, Resulting Numbers: [1185] 1185,79 unequal: No Solution Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,79 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[79, 2], Operations: ['28+2=30', '30/15=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,79 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[79, 2, 43], Operations: ['28+15=43'] Exploring Operation: 2*43=86, Resulting Numbers: [79, 86] Generated Node #0,3,0: 79:[79, 86] Operation: 2*43=86 Exploring Operation: 2+43=45, Resulting Numbers: [79, 45] Generated Node #0,3,1: 79:[79, 45] Operation: 2+43=45 Exploring Operation: 79+2=81, Resulting Numbers: [43, 81] Generated Node #0,3,2: 79:[43, 81] Operation: 79+2=81 Exploring Operation: 79-2=77, Resulting Numbers: [43, 77] Generated Node #0,3,3: 79:[43, 77] Operation: 79-2=77 Exploring Operation: 43-2=41, Resulting Numbers: [79, 41] Generated Node #0,3,4: 79:[79, 41] Operation: 43-2=41 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[79, 86], Operations: ['28+15=43', '2*43=86'] Exploring Operation: 79*86=6794, Resulting Numbers: [6794] 6794,79 unequal: No Solution Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 79+86=165, Resulting Numbers: [165] 165,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 79:[79, 45], Operations: ['28+15=43', '2+43=45'] Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,79 unequal: No Solution Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 79:[43, 81], Operations: ['28+15=43', '79+2=81'] Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,79 unequal: No Solution Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[43, 77], Operations: ['28+15=43', '79-2=77'] Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,79 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 79:[79, 41], Operations: ['28+15=43', '43-2=41'] Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,79 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 37, 8, 90, 4 ]
16
[ "37*8=296", "296/4=74", "90-74=16" ]
Current State: 16:[37, 8, 90, 4], Operations: [] Exploring Operation: 37*8=296, Resulting Numbers: [90, 4, 296] Generated Node #2: [90, 4, 296] from Operation: 37*8=296 Current State: 16:[90, 4, 296], Operations: ['37*8=296'] Exploring Operation: 296/4=74, Resulting Numbers: [90, 74] Generated Node #3: [90, 74] from Operation: 296/4=74 Current State: 16:[90, 74], Operations: ['37*8=296', '296/4=74'] Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[37, 8, 90, 4], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [8, 4, 53] Generated Node #0,0: 16:[8, 4, 53] Operation: 90-37=53 Exploring Operation: 37-8=29, Resulting Numbers: [90, 4, 29] Generated Node #0,1: 16:[90, 4, 29] Operation: 37-8=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[8, 4, 53], Operations: ['90-37=53'] Exploring Operation: 53-4=49, Resulting Numbers: [8, 49] Generated Node #0,0,0: 16:[8, 49] Operation: 53-4=49 Exploring Operation: 53-8=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 16:[4, 45] Operation: 53-8=45 Moving to Node #0,0,1 Current State: 16:[4, 45], Operations: ['90-37=53', '53-8=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[8, 49], Operations: ['90-37=53', '53-4=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[90, 4, 29], Operations: ['37-8=29'] Exploring Operation: 90-29=61, Resulting Numbers: [4, 61] Generated Node #0,1,0: 16:[4, 61] Operation: 90-29=61 Exploring Operation: 90-4=86, Resulting Numbers: [29, 86] Generated Node #0,1,1: 16:[29, 86] Operation: 90-4=86 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[4, 61], Operations: ['37-8=29', '90-29=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[29, 86], Operations: ['37-8=29', '90-4=86'] Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 60, 8, 43, 61 ]
35
[ "61-60=1", "43-8=35", "1*35=35" ]
Current State: 35:[60, 8, 43, 61], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [8, 43, 1] Generated Node #2: [8, 43, 1] from Operation: 61-60=1 Current State: 35:[8, 43, 1], Operations: ['61-60=1'] Exploring Operation: 43-8=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 43-8=35 Current State: 35:[1, 35], Operations: ['61-60=1', '43-8=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[60, 8, 43, 61], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [8, 43, 1] Generated Node #0,0: 35:[8, 43, 1] Operation: 61-60=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[8, 43, 1], Operations: ['61-60=1'] Exploring Operation: 43-8=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 35:[1, 35] Operation: 43-8=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[1, 35], Operations: ['61-60=1', '43-8=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[60, 8, 43, 61], Operations: [] Exploring Operation: 61-60=1, Resulting Numbers: [8, 43, 1] Generated Node #0,0: 35:[8, 43, 1] Operation: 61-60=1 Moving to Node #0,0 Current State: 35:[8, 43, 1], Operations: ['61-60=1'] Exploring Operation: 43-8=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 35:[1, 35] Operation: 43-8=35 Moving to Node #0,0,0 Current State: 35:[1, 35], Operations: ['61-60=1', '43-8=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 21, 98, 23 ]
93
[ "98/2=49", "21+23=44", "49+44=93" ]
Current State: 93:[2, 21, 98, 23], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [21, 23, 49] Generated Node #2: [21, 23, 49] from Operation: 98/2=49 Current State: 93:[21, 23, 49], Operations: ['98/2=49'] Exploring Operation: 21+23=44, Resulting Numbers: [49, 44] Generated Node #3: [49, 44] from Operation: 21+23=44 Current State: 93:[49, 44], Operations: ['98/2=49', '21+23=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 21, 98, 23], Operations: [] Exploring Operation: 98-2=96, Resulting Numbers: [21, 23, 96] Generated Node #0,0: 93:[21, 23, 96] Operation: 98-2=96 Exploring Operation: 21+23=44, Resulting Numbers: [2, 98, 44] Generated Node #0,1: 93:[2, 98, 44] Operation: 21+23=44 Exploring Operation: 23-21=2, Resulting Numbers: [2, 98, 2] Generated Node #0,2: 93:[2, 98, 2] Operation: 23-21=2 Exploring Operation: 2+21=23, Resulting Numbers: [98, 23, 23] Generated Node #0,3: 93:[98, 23, 23] Operation: 2+21=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[2, 98, 2], Operations: ['23-21=2'] Exploring Operation: 98-2=96, Resulting Numbers: [2, 96] Generated Node #0,2,0: 93:[2, 96] Operation: 98-2=96 Exploring Operation: 98-2=96, Resulting Numbers: [2, 96] Generated Node #0,2,1: 93:[2, 96] Operation: 98-2=96 Exploring Operation: 2+2=4, Resulting Numbers: [98, 4] Generated Node #0,2,2: 93:[98, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [98, 4] Generated Node #0,2,3: 93:[98, 4] Operation: 2*2=4 Moving to Node #0,2,0 Current State: 93:[2, 96], Operations: ['23-21=2', '98-2=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 2*96=192, Resulting Numbers: [192] 192,93 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[2, 96], Operations: ['23-21=2', '98-2=96'] Exploring Operation: 2*96=192, Resulting Numbers: [192] 192,93 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[98, 4], Operations: ['23-21=2', '2*2=4'] Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[98, 4], Operations: ['23-21=2', '2+2=4'] Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[2, 98, 44], Operations: ['21+23=44'] Exploring Operation: 98-2=96, Resulting Numbers: [44, 96] Generated Node #0,1,0: 93:[44, 96] Operation: 98-2=96 Exploring Operation: 2*44=88, Resulting Numbers: [98, 88] Generated Node #0,1,1: 93:[98, 88] Operation: 2*44=88 Exploring Operation: 44-2=42, Resulting Numbers: [98, 42] Generated Node #0,1,2: 93:[98, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [98, 22] Generated Node #0,1,3: 93:[98, 22] Operation: 44/2=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[98, 88], Operations: ['21+23=44', '2*44=88'] Exploring Operation: 98*88=8624, Resulting Numbers: [8624] 8624,93 unequal: No Solution Exploring Operation: 98-88=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 98+88=186, Resulting Numbers: [186] 186,93 unequal: No Solution No 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: 93:[98, 22], Operations: ['21+23=44', '44/2=22'] Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,93 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,93 unequal: No Solution No 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: 93:[44, 96], Operations: ['21+23=44', '98-2=96'] Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 44*96=4224, Resulting Numbers: [4224] 4224,93 unequal: No Solution Exploring Operation: 44+96=140, Resulting Numbers: [140] 140,93 unequal: No Solution No 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: 93:[98, 42], Operations: ['21+23=44', '44-2=42'] Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,93 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,93 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: 93:[21, 23, 96], Operations: ['98-2=96'] Exploring Operation: 96-23=73, Resulting Numbers: [21, 73] Generated Node #0,0,0: 93:[21, 73] Operation: 96-23=73 Exploring Operation: 96-21=75, Resulting Numbers: [23, 75] Generated Node #0,0,1: 93:[23, 75] Operation: 96-21=75 Exploring Operation: 21+23=44, Resulting Numbers: [96, 44] Generated Node #0,0,2: 93:[96, 44] Operation: 21+23=44 Exploring Operation: 23-21=2, Resulting Numbers: [96, 2] Generated Node #0,0,3: 93:[96, 2] Operation: 23-21=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[96, 2], Operations: ['98-2=96', '23-21=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 96*2=192, Resulting Numbers: [192] 192,93 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,93 unequal: No Solution No 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: 93:[96, 44], Operations: ['98-2=96', '21+23=44'] Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,93 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,93 unequal: No Solution No 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: 93:[23, 75], Operations: ['98-2=96', '96-21=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,93 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,93 unequal: No Solution No 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: 93:[21, 73], Operations: ['98-2=96', '96-23=73'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 21*73=1533, Resulting Numbers: [1533] 1533,93 unequal: No Solution Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,93 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: 93:[98, 23, 23], Operations: ['2+21=23'] Exploring Operation: 23-23=0, Resulting Numbers: [98, 0] Generated Node #0,3,0: 93:[98, 0] Operation: 23-23=0 Exploring Operation: 98-23=75, Resulting Numbers: [23, 75] Generated Node #0,3,1: 93:[23, 75] Operation: 98-23=75 Exploring Operation: 23+23=46, Resulting Numbers: [98, 46] Generated Node #0,3,2: 93:[98, 46] Operation: 23+23=46 Exploring Operation: 23/23=1, Resulting Numbers: [98, 1] Generated Node #0,3,3: 93:[98, 1] Operation: 23/23=1 Moving to Node #0,3,3 Current State: 93:[98, 1], Operations: ['2+21=23', '23/23=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[98, 0], Operations: ['2+21=23', '23-23=0'] Exploring Operation: 98-0=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 98+0=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 98*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[98, 46], Operations: ['2+21=23', '23+23=46'] Exploring Operation: 98*46=4508, Resulting Numbers: [4508] 4508,93 unequal: No Solution Exploring Operation: 98+46=144, Resulting Numbers: [144] 144,93 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[23, 75], Operations: ['2+21=23', '98-23=75'] Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 10, 68, 27, 14 ]
40
[ "14-10=4", "27*4=108", "108-68=40" ]
Current State: 40:[10, 68, 27, 14], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [68, 27, 4] Generated Node #2: [68, 27, 4] from Operation: 14-10=4 Current State: 40:[68, 27, 4], Operations: ['14-10=4'] Exploring Operation: 27*4=108, Resulting Numbers: [68, 108] Generated Node #3: [68, 108] from Operation: 27*4=108 Current State: 40:[68, 108], Operations: ['14-10=4', '27*4=108'] Exploring Operation: 108-68=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[10, 68, 27, 14], Operations: [] Exploring Operation: 68-27=41, Resulting Numbers: [10, 14, 41] Generated Node #0,0: 40:[10, 14, 41] Operation: 68-27=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[10, 14, 41], Operations: ['68-27=41'] Exploring Operation: 14-10=4, Resulting Numbers: [41, 4] Generated Node #0,0,0: 40:[41, 4] Operation: 14-10=4 Moving to Node #0,0,0 Current State: 40:[41, 4], Operations: ['68-27=41', '14-10=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 59, 41, 11 ]
84
[ "59-41=18", "18-11=7", "12*7=84" ]
Current State: 84:[12, 59, 41, 11], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [12, 11, 18] Generated Node #2: [12, 11, 18] from Operation: 59-41=18 Current State: 84:[12, 11, 18], Operations: ['59-41=18'] Exploring Operation: 18-11=7, Resulting Numbers: [12, 7] Generated Node #3: [12, 7] from Operation: 18-11=7 Current State: 84:[12, 7], Operations: ['59-41=18', '18-11=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 59, 41, 11], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [12, 41, 48] Generated Node #0,0: 84:[12, 41, 48] Operation: 59-11=48 Exploring Operation: 59-41=18, Resulting Numbers: [12, 11, 18] Generated Node #0,1: 84:[12, 11, 18] Operation: 59-41=18 Exploring Operation: 59-12=47, Resulting Numbers: [41, 11, 47] Generated Node #0,2: 84:[41, 11, 47] Operation: 59-12=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[12, 11, 18], Operations: ['59-41=18'] Exploring Operation: 18-12=6, Resulting Numbers: [11, 6] Generated Node #0,1,0: 84:[11, 6] Operation: 18-12=6 Exploring Operation: 11+18=29, Resulting Numbers: [12, 29] Generated Node #0,1,1: 84:[12, 29] Operation: 11+18=29 Exploring Operation: 18-11=7, Resulting Numbers: [12, 7] Generated Node #0,1,2: 84:[12, 7] Operation: 18-11=7 Moving to Node #0,1,2 Current State: 84:[12, 7], Operations: ['59-41=18', '18-11=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[12, 59, 41, 11], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [12, 11, 18] Generated Node #0,1: 84:[12, 11, 18] Operation: 59-41=18 Moving to Node #0,1 Current State: 84:[12, 11, 18], Operations: ['59-41=18'] Exploring Operation: 18-11=7, Resulting Numbers: [12, 7] Generated Node #0,1,2: 84:[12, 7] Operation: 18-11=7 Moving to Node #0,1,2 Current State: 84:[12, 7], Operations: ['59-41=18', '18-11=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 27, 16, 91, 96 ]
71
[ "27*96=2592", "2592/16=162", "162-91=71" ]
Current State: 71:[27, 16, 91, 96], Operations: [] Exploring Operation: 27*96=2592, Resulting Numbers: [16, 91, 2592] Generated Node #2: [16, 91, 2592] from Operation: 27*96=2592 Current State: 71:[16, 91, 2592], Operations: ['27*96=2592'] Exploring Operation: 2592/16=162, Resulting Numbers: [91, 162] Generated Node #3: [91, 162] from Operation: 2592/16=162 Current State: 71:[91, 162], Operations: ['27*96=2592', '2592/16=162'] Exploring Operation: 162-91=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[27, 16, 91, 96], Operations: [] Exploring Operation: 96-16=80, Resulting Numbers: [27, 91, 80] Generated Node #0,0: 71:[27, 91, 80] Operation: 96-16=80 Exploring Operation: 91-16=75, Resulting Numbers: [27, 96, 75] Generated Node #0,1: 71:[27, 96, 75] Operation: 91-16=75 Exploring Operation: 27+16=43, Resulting Numbers: [91, 96, 43] Generated Node #0,2: 71:[91, 96, 43] Operation: 27+16=43 Moving to Node #0,0 Current State: 71:[27, 91, 80], Operations: ['96-16=80'] Exploring Operation: 80-27=53, Resulting Numbers: [91, 53] Generated Node #0,0,0: 71:[91, 53] Operation: 80-27=53 Exploring Operation: 27+91=118, Resulting Numbers: [80, 118] Generated Node #0,0,1: 71:[80, 118] Operation: 27+91=118 Exploring Operation: 91-27=64, Resulting Numbers: [80, 64] Generated Node #0,0,2: 71:[80, 64] Operation: 91-27=64 Moving to Node #0,1 Current State: 71:[27, 96, 75], Operations: ['91-16=75'] Exploring Operation: 75-27=48, Resulting Numbers: [96, 48] Generated Node #0,1,0: 71:[96, 48] Operation: 75-27=48 Exploring Operation: 96-27=69, Resulting Numbers: [75, 69] Generated Node #0,1,1: 71:[75, 69] Operation: 96-27=69 Exploring Operation: 27+96=123, Resulting Numbers: [75, 123] Generated Node #0,1,2: 71:[75, 123] Operation: 27+96=123 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[75, 69], Operations: ['91-16=75', '96-27=69'] Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,71 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[96, 48], Operations: ['91-16=75', '75-27=48'] Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[75, 123], Operations: ['91-16=75', '27+96=123'] Exploring Operation: 75*123=9225, Resulting Numbers: [9225] 9225,71 unequal: No Solution Exploring Operation: 75+123=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 123-75=48, Resulting Numbers: [48] 48,71 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: 71:[91, 96, 43], Operations: ['27+16=43'] Exploring Operation: 91+43=134, Resulting Numbers: [96, 134] Generated Node #0,2,0: 71:[96, 134] Operation: 91+43=134 Exploring Operation: 96-43=53, Resulting Numbers: [91, 53] Generated Node #0,2,1: 71:[91, 53] Operation: 96-43=53 Exploring Operation: 91-43=48, Resulting Numbers: [96, 48] Generated Node #0,2,2: 71:[96, 48] Operation: 91-43=48 Moving to Node #0,0,2 Current State: 71:[80, 64], Operations: ['96-16=80', '91-27=64'] Exploring Operation: 80*64=5120, Resulting Numbers: [5120] 5120,71 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 80+64=144, Resulting Numbers: [144] 144,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[91, 53], Operations: ['96-16=80', '80-27=53'] Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 91*53=4823, Resulting Numbers: [4823] 4823,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[91, 53], Operations: ['27+16=43', '96-43=53'] Exploring Operation: 91*53=4823, Resulting Numbers: [4823] 4823,71 unequal: No Solution Exploring Operation: 91+53=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[96, 48], Operations: ['27+16=43', '91-43=48'] Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 96+48=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[80, 118], Operations: ['96-16=80', '27+91=118'] Exploring Operation: 118-80=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 80+118=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 80*118=9440, Resulting Numbers: [9440] 9440,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[96, 134], Operations: ['27+16=43', '91+43=134'] Exploring Operation: 96*134=12864, Resulting Numbers: [12864] 12864,71 unequal: No Solution Exploring Operation: 134-96=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 96+134=230, Resulting Numbers: [230] 230,71 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 4, 18, 34 ]
50
[ "39-18=21", "4*21=84", "84-34=50" ]
Current State: 50:[39, 4, 18, 34], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [4, 34, 21] Generated Node #2: [4, 34, 21] from Operation: 39-18=21 Current State: 50:[4, 34, 21], Operations: ['39-18=21'] Exploring Operation: 4*21=84, Resulting Numbers: [34, 84] Generated Node #3: [34, 84] from Operation: 4*21=84 Current State: 50:[34, 84], Operations: ['39-18=21', '4*21=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[39, 4, 18, 34], Operations: [] Exploring Operation: 18+34=52, Resulting Numbers: [39, 4, 52] Generated Node #0,0: 50:[39, 4, 52] Operation: 18+34=52 Exploring Operation: 39+18=57, Resulting Numbers: [4, 34, 57] Generated Node #0,1: 50:[4, 34, 57] Operation: 39+18=57 Exploring Operation: 39-34=5, Resulting Numbers: [4, 18, 5] Generated Node #0,2: 50:[4, 18, 5] Operation: 39-34=5 Exploring Operation: 39-18=21, Resulting Numbers: [4, 34, 21] Generated Node #0,3: 50:[4, 34, 21] Operation: 39-18=21 Moving to Node #0,2 Current State: 50:[4, 18, 5], Operations: ['39-34=5'] Exploring Operation: 4+18=22, Resulting Numbers: [5, 22] Generated Node #0,2,0: 50:[5, 22] Operation: 4+18=22 Exploring Operation: 18-5=13, Resulting Numbers: [4, 13] Generated Node #0,2,1: 50:[4, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [4, 23] Generated Node #0,2,2: 50:[4, 23] Operation: 18+5=23 Exploring Operation: 18-4=14, Resulting Numbers: [5, 14] Generated Node #0,2,3: 50:[5, 14] Operation: 18-4=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[5, 22], Operations: ['39-34=5', '4+18=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[4, 23], Operations: ['39-34=5', '18+5=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[4, 13], Operations: ['39-34=5', '18-5=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[5, 14], Operations: ['39-34=5', '18-4=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[4, 34, 21], Operations: ['39-18=21'] Exploring Operation: 34-21=13, Resulting Numbers: [4, 13] Generated Node #0,3,0: 50:[4, 13] Operation: 34-21=13 Exploring Operation: 4+21=25, Resulting Numbers: [34, 25] Generated Node #0,3,1: 50:[34, 25] Operation: 4+21=25 Exploring Operation: 34-4=30, Resulting Numbers: [21, 30] Generated Node #0,3,2: 50:[21, 30] Operation: 34-4=30 Exploring Operation: 34+21=55, Resulting Numbers: [4, 55] Generated Node #0,3,3: 50:[4, 55] Operation: 34+21=55 Moving to Node #0,0 Current State: 50:[39, 4, 52], Operations: ['18+34=52'] Exploring Operation: 52-39=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 50:[4, 13] Operation: 52-39=13 Exploring Operation: 39-4=35, Resulting Numbers: [52, 35] Generated Node #0,0,1: 50:[52, 35] Operation: 39-4=35 Exploring Operation: 52-4=48, Resulting Numbers: [39, 48] Generated Node #0,0,2: 50:[39, 48] Operation: 52-4=48 Exploring Operation: 39+4=43, Resulting Numbers: [52, 43] Generated Node #0,0,3: 50:[52, 43] Operation: 39+4=43 Moving to Node #0,1 Current State: 50:[4, 34, 57], Operations: ['39+18=57'] Exploring Operation: 4+34=38, Resulting Numbers: [57, 38] Generated Node #0,1,0: 50:[57, 38] Operation: 4+34=38 Exploring Operation: 57-34=23, Resulting Numbers: [4, 23] Generated Node #0,1,1: 50:[4, 23] Operation: 57-34=23 Exploring Operation: 57-4=53, Resulting Numbers: [34, 53] Generated Node #0,1,2: 50:[34, 53] Operation: 57-4=53 Exploring Operation: 34-4=30, Resulting Numbers: [57, 30] Generated Node #0,1,3: 50:[57, 30] Operation: 34-4=30 Moving to Node #0,1,1 Current State: 50:[4, 23], Operations: ['39+18=57', '57-34=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[4, 13], Operations: ['39-18=21', '34-21=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,50 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[4, 13], Operations: ['18+34=52', '52-39=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[4, 55], Operations: ['39-18=21', '34+21=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,50 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[34, 25], Operations: ['39-18=21', '4+21=25'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[52, 43], Operations: ['18+34=52', '39+4=43'] Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[21, 30], Operations: ['39-18=21', '34-4=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,50 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[52, 35], Operations: ['18+34=52', '39-4=35'] Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,50 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[34, 53], Operations: ['39+18=57', '57-4=53'] Exploring Operation: 34*53=1802, Resulting Numbers: [1802] 1802,50 unequal: No Solution Exploring Operation: 34+53=87, Resulting Numbers: [87] 87,50 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,50 unequal: No Solution Moving to Node #0,1,3 Current State: 50:[57, 30], Operations: ['39+18=57', '34-4=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,50 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[39, 48], Operations: ['18+34=52', '52-4=48'] Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,50 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[57, 38], Operations: ['39+18=57', '4+34=38'] Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,50 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,50 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 41, 62, 31 ]
83
[ "40+41=81", "62/31=2", "81+2=83" ]
Current State: 83:[40, 41, 62, 31], Operations: [] Exploring Operation: 40+41=81, Resulting Numbers: [62, 31, 81] Generated Node #2: [62, 31, 81] from Operation: 40+41=81 Current State: 83:[62, 31, 81], Operations: ['40+41=81'] Exploring Operation: 62/31=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 62/31=2 Current State: 83:[81, 2], Operations: ['40+41=81', '62/31=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 41, 62, 31], Operations: [] Exploring Operation: 40+41=81, Resulting Numbers: [62, 31, 81] Generated Node #0,0: 83:[62, 31, 81] Operation: 40+41=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[62, 31, 81], Operations: ['40+41=81'] Exploring Operation: 62+31=93, Resulting Numbers: [81, 93] Generated Node #0,0,0: 83:[81, 93] Operation: 62+31=93 Moving to Node #0,0,0 Current State: 83:[81, 93], Operations: ['40+41=81', '62+31=93'] Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 87, 65, 39, 77 ]
16
[ "87-65=22", "77-39=38", "38-22=16" ]
Current State: 16:[87, 65, 39, 77], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [39, 77, 22] Generated Node #2: [39, 77, 22] from Operation: 87-65=22 Current State: 16:[39, 77, 22], Operations: ['87-65=22'] Exploring Operation: 77-39=38, Resulting Numbers: [22, 38] Generated Node #3: [22, 38] from Operation: 77-39=38 Current State: 16:[22, 38], Operations: ['87-65=22', '77-39=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[87, 65, 39, 77], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [65, 39, 10] Generated Node #0,0: 16:[65, 39, 10] Operation: 87-77=10 Exploring Operation: 77-65=12, Resulting Numbers: [87, 39, 12] Generated Node #0,1: 16:[87, 39, 12] Operation: 77-65=12 Exploring Operation: 87-65=22, Resulting Numbers: [39, 77, 22] Generated Node #0,2: 16:[39, 77, 22] Operation: 87-65=22 Exploring Operation: 87-39=48, Resulting Numbers: [65, 77, 48] Generated Node #0,3: 16:[65, 77, 48] Operation: 87-39=48 Exploring Operation: 65-39=26, Resulting Numbers: [87, 77, 26] Generated Node #0,4: 16:[87, 77, 26] Operation: 65-39=26 Moving to Node #0,0 Current State: 16:[65, 39, 10], Operations: ['87-77=10'] Exploring Operation: 65-39=26, Resulting Numbers: [10, 26] Generated Node #0,0,0: 16:[10, 26] Operation: 65-39=26 Exploring Operation: 65-10=55, Resulting Numbers: [39, 55] Generated Node #0,0,1: 16:[39, 55] Operation: 65-10=55 Exploring Operation: 39-10=29, Resulting Numbers: [65, 29] Generated Node #0,0,2: 16:[65, 29] Operation: 39-10=29 Exploring Operation: 39+10=49, Resulting Numbers: [65, 49] Generated Node #0,0,3: 16:[65, 49] Operation: 39+10=49 Exploring Operation: 65+10=75, Resulting Numbers: [39, 75] Generated Node #0,0,4: 16:[39, 75] Operation: 65+10=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[10, 26], Operations: ['87-77=10', '65-39=26'] Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,16 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[87, 65, 39, 77], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [65, 39, 10] Generated Node #0,0: 16:[65, 39, 10] Operation: 87-77=10 Moving to Node #0,0 Current State: 16:[65, 39, 10], Operations: ['87-77=10'] Exploring Operation: 65-39=26, Resulting Numbers: [10, 26] Generated Node #0,0,0: 16:[10, 26] Operation: 65-39=26 Moving to Node #0,0,0 Current State: 16:[10, 26], Operations: ['87-77=10', '65-39=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 45, 8, 25, 9 ]
40
[ "45/9=5", "8*25=200", "200/5=40" ]
Current State: 40:[45, 8, 25, 9], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [8, 25, 5] Generated Node #2: [8, 25, 5] from Operation: 45/9=5 Current State: 40:[8, 25, 5], Operations: ['45/9=5'] Exploring Operation: 8*25=200, Resulting Numbers: [5, 200] Generated Node #3: [5, 200] from Operation: 8*25=200 Current State: 40:[5, 200], Operations: ['45/9=5', '8*25=200'] Exploring Operation: 200/5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[45, 8, 25, 9], Operations: [] Exploring Operation: 45-25=20, Resulting Numbers: [8, 9, 20] Generated Node #0,0: 40:[8, 9, 20] Operation: 45-25=20 Moving to Node #0,0 Current State: 40:[8, 9, 20], Operations: ['45-25=20'] Exploring Operation: 9-8=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 40:[20, 1] Operation: 9-8=1 Moving to Node #0,0,0 Current State: 40:[20, 1], Operations: ['45-25=20', '9-8=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,40 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 7, 25, 29, 22 ]
12
[ "7+29=36", "25-22=3", "36/3=12" ]
Current State: 12:[7, 25, 29, 22], Operations: [] Exploring Operation: 7+29=36, Resulting Numbers: [25, 22, 36] Generated Node #2: [25, 22, 36] from Operation: 7+29=36 Current State: 12:[25, 22, 36], Operations: ['7+29=36'] Exploring Operation: 25-22=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 25-22=3 Current State: 12:[36, 3], Operations: ['7+29=36', '25-22=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 25, 29, 22], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [7, 25, 7] Generated Node #0,0: 12:[7, 25, 7] Operation: 29-22=7 Exploring Operation: 29-7=22, Resulting Numbers: [25, 22, 22] Generated Node #0,1: 12:[25, 22, 22] Operation: 29-7=22 Exploring Operation: 25-7=18, Resulting Numbers: [29, 22, 18] Generated Node #0,2: 12:[29, 22, 18] Operation: 25-7=18 Exploring Operation: 25-22=3, Resulting Numbers: [7, 29, 3] Generated Node #0,3: 12:[7, 29, 3] Operation: 25-22=3 Exploring Operation: 29-25=4, Resulting Numbers: [7, 22, 4] Generated Node #0,4: 12:[7, 22, 4] Operation: 29-25=4 Moving to Node #0,4 Current State: 12:[7, 22, 4], Operations: ['29-25=4'] Exploring Operation: 7-4=3, Resulting Numbers: [22, 3] Generated Node #0,4,0: 12:[22, 3] Operation: 7-4=3 Exploring Operation: 22-7=15, Resulting Numbers: [4, 15] Generated Node #0,4,1: 12:[4, 15] Operation: 22-7=15 Exploring Operation: 7+4=11, Resulting Numbers: [22, 11] Generated Node #0,4,2: 12:[22, 11] Operation: 7+4=11 Exploring Operation: 22-4=18, Resulting Numbers: [7, 18] Generated Node #0,4,3: 12:[7, 18] Operation: 22-4=18 Exploring Operation: 22+4=26, Resulting Numbers: [7, 26] Generated Node #0,4,4: 12:[7, 26] Operation: 22+4=26 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 12:[4, 15], Operations: ['29-25=4', '22-7=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 12:[7, 18], Operations: ['29-25=4', '22-4=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,12 unequal: No Solution No 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: 12:[22, 3], Operations: ['29-25=4', '7-4=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution No 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: 12:[22, 11], Operations: ['29-25=4', '7+4=11'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,12 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,12 unequal: No Solution No 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: 12:[7, 26], Operations: ['29-25=4', '22+4=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,12 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,12 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: 12:[7, 25, 7], Operations: ['29-22=7'] Exploring Operation: 7/7=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 12:[25, 1] Operation: 7/7=1 Exploring Operation: 25-7=18, Resulting Numbers: [7, 18] Generated Node #0,0,1: 12:[7, 18] Operation: 25-7=18 Exploring Operation: 7-7=0, Resulting Numbers: [25, 0] Generated Node #0,0,2: 12:[25, 0] Operation: 7-7=0 Exploring Operation: 25-7=18, Resulting Numbers: [7, 18] Generated Node #0,0,3: 12:[7, 18] Operation: 25-7=18 Exploring Operation: 7+7=14, Resulting Numbers: [25, 14] Generated Node #0,0,4: 12:[25, 14] Operation: 7+7=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[7, 18], Operations: ['29-22=7', '25-7=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[7, 18], Operations: ['29-22=7', '25-7=18'] Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,12 unequal: No Solution No 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: 12:[25, 1], Operations: ['29-22=7', '7/7=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,12 unequal: No Solution No 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: 12:[25, 0], Operations: ['29-22=7', '7-7=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[25, 14], Operations: ['29-22=7', '7+7=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,12 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,12 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: 12:[7, 29, 3], Operations: ['25-22=3'] Exploring Operation: 29-7=22, Resulting Numbers: [3, 22] Generated Node #0,3,0: 12:[3, 22] Operation: 29-7=22 Exploring Operation: 29+3=32, Resulting Numbers: [7, 32] Generated Node #0,3,1: 12:[7, 32] Operation: 29+3=32 Exploring Operation: 7-3=4, Resulting Numbers: [29, 4] Generated Node #0,3,2: 12:[29, 4] Operation: 7-3=4 Exploring Operation: 29-3=26, Resulting Numbers: [7, 26] Generated Node #0,3,3: 12:[7, 26] Operation: 29-3=26 Exploring Operation: 7+3=10, Resulting Numbers: [29, 10] Generated Node #0,3,4: 12:[29, 10] Operation: 7+3=10 Moving to Node #0,1 Current State: 12:[25, 22, 22], Operations: ['29-7=22'] Exploring Operation: 22/22=1, Resulting Numbers: [25, 1] Generated Node #0,1,0: 12:[25, 1] Operation: 22/22=1 Exploring Operation: 25+22=47, Resulting Numbers: [22, 47] Generated Node #0,1,1: 12:[22, 47] Operation: 25+22=47 Exploring Operation: 25-22=3, Resulting Numbers: [22, 3] Generated Node #0,1,2: 12:[22, 3] Operation: 25-22=3 Exploring Operation: 22-22=0, Resulting Numbers: [25, 0] Generated Node #0,1,3: 12:[25, 0] Operation: 22-22=0 Exploring Operation: 25-22=3, Resulting Numbers: [22, 3] Generated Node #0,1,4: 12:[22, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[22, 3], Operations: ['29-7=22', '25-22=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,12 unequal: No Solution No 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: 12:[22, 3], Operations: ['29-7=22', '25-22=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,12 unequal: No Solution No 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: 12:[25, 1], Operations: ['29-7=22', '22/22=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,12 unequal: No Solution No 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: 12:[25, 0], Operations: ['29-7=22', '22-22=0'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[22, 47], Operations: ['29-7=22', '25+22=47'] Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,12 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,12 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: 12:[29, 22, 18], Operations: ['25-7=18'] Exploring Operation: 29+18=47, Resulting Numbers: [22, 47] Generated Node #0,2,0: 12:[22, 47] Operation: 29+18=47 Exploring Operation: 29-22=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 12:[18, 7] Operation: 29-22=7 Exploring Operation: 29+22=51, Resulting Numbers: [18, 51] Generated Node #0,2,2: 12:[18, 51] Operation: 29+22=51 Exploring Operation: 22-18=4, Resulting Numbers: [29, 4] Generated Node #0,2,3: 12:[29, 4] Operation: 22-18=4 Exploring Operation: 29-18=11, Resulting Numbers: [22, 11] Generated Node #0,2,4: 12:[22, 11] Operation: 29-18=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[18, 7], Operations: ['25-7=18', '29-22=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,12 unequal: No Solution No 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: 12:[22, 11], Operations: ['25-7=18', '29-18=11'] Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,12 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,12 unequal: No Solution No 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: 12:[29, 4], Operations: ['25-7=18', '22-18=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[22, 47], Operations: ['25-7=18', '29+18=47'] Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,12 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[18, 51], Operations: ['25-7=18', '29+22=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 12:[3, 22], Operations: ['25-22=3', '29-7=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[7, 26], Operations: ['25-22=3', '29-3=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[29, 4], Operations: ['25-22=3', '7-3=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[29, 10], Operations: ['25-22=3', '7+3=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[7, 32], Operations: ['25-22=3', '29+3=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,12 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 21, 23, 4, 45 ]
29
[ "45-21=24", "24/4=6", "23+6=29" ]
Current State: 29:[21, 23, 4, 45], Operations: [] Exploring Operation: 45-21=24, Resulting Numbers: [23, 4, 24] Generated Node #2: [23, 4, 24] from Operation: 45-21=24 Current State: 29:[23, 4, 24], Operations: ['45-21=24'] Exploring Operation: 24/4=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 24/4=6 Current State: 29:[23, 6], Operations: ['45-21=24', '24/4=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[21, 23, 4, 45], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [21, 23, 41] Generated Node #0,0: 29:[21, 23, 41] Operation: 45-4=41 Exploring Operation: 21+4=25, Resulting Numbers: [23, 45, 25] Generated Node #0,1: 29:[23, 45, 25] Operation: 21+4=25 Exploring Operation: 23+4=27, Resulting Numbers: [21, 45, 27] Generated Node #0,2: 29:[21, 45, 27] Operation: 23+4=27 Moving to Node #0,0 Current State: 29:[21, 23, 41], Operations: ['45-4=41'] Exploring Operation: 41-21=20, Resulting Numbers: [23, 20] Generated Node #0,0,0: 29:[23, 20] Operation: 41-21=20 Exploring Operation: 21+23=44, Resulting Numbers: [41, 44] Generated Node #0,0,1: 29:[41, 44] Operation: 21+23=44 Exploring Operation: 41-23=18, Resulting Numbers: [21, 18] Generated Node #0,0,2: 29:[21, 18] Operation: 41-23=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[23, 20], Operations: ['45-4=41', '41-21=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,29 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[21, 18], Operations: ['45-4=41', '41-23=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,29 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[41, 44], Operations: ['45-4=41', '21+23=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,29 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,29 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,29 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: 29:[23, 45, 25], Operations: ['21+4=25'] Exploring Operation: 45-23=22, Resulting Numbers: [25, 22] Generated Node #0,1,0: 29:[25, 22] Operation: 45-23=22 Exploring Operation: 45-25=20, Resulting Numbers: [23, 20] Generated Node #0,1,1: 29:[23, 20] Operation: 45-25=20 Exploring Operation: 23+25=48, Resulting Numbers: [45, 48] Generated Node #0,1,2: 29:[45, 48] Operation: 23+25=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[25, 22], Operations: ['21+4=25', '45-23=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,29 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[23, 20], Operations: ['21+4=25', '45-25=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,29 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[45, 48], Operations: ['21+4=25', '23+25=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,29 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,29 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: 29:[21, 45, 27], Operations: ['23+4=27'] Exploring Operation: 45-27=18, Resulting Numbers: [21, 18] Generated Node #0,2,0: 29:[21, 18] Operation: 45-27=18 Exploring Operation: 21+27=48, Resulting Numbers: [45, 48] Generated Node #0,2,1: 29:[45, 48] Operation: 21+27=48 Exploring Operation: 45-21=24, Resulting Numbers: [27, 24] Generated Node #0,2,2: 29:[27, 24] Operation: 45-21=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[27, 24], Operations: ['23+4=27', '45-21=24'] Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 27*24=648, Resulting Numbers: [648] 648,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[21, 18], Operations: ['23+4=27', '45-27=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[45, 48], Operations: ['23+4=27', '21+27=48'] Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,29 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,29 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
[ 7, 82, 81, 69 ]
62
[ "69-7=62", "82-81=1", "62*1=62" ]
Current State: 62:[7, 82, 81, 69], Operations: [] Exploring Operation: 69-7=62, Resulting Numbers: [82, 81, 62] Generated Node #2: [82, 81, 62] from Operation: 69-7=62 Current State: 62:[82, 81, 62], Operations: ['69-7=62'] Exploring Operation: 82-81=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 82-81=1 Current State: 62:[62, 1], Operations: ['69-7=62', '82-81=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[7, 82, 81, 69], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [7, 69, 1] Generated Node #0,0: 62:[7, 69, 1] Operation: 82-81=1 Exploring Operation: 82-69=13, Resulting Numbers: [7, 81, 13] Generated Node #0,1: 62:[7, 81, 13] Operation: 82-69=13 Moving to Node #0,0 Current State: 62:[7, 69, 1], Operations: ['82-81=1'] Exploring Operation: 69-7=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 69-7=62 Exploring Operation: 7-1=6, Resulting Numbers: [69, 6] Generated Node #0,0,1: 62:[69, 6] Operation: 7-1=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['82-81=1', '69-7=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[7, 82, 81, 69], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [7, 69, 1] Generated Node #0,0: 62:[7, 69, 1] Operation: 82-81=1 Moving to Node #0,0 Current State: 62:[7, 69, 1], Operations: ['82-81=1'] Exploring Operation: 69-7=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 62:[1, 62] Operation: 69-7=62 Moving to Node #0,0,0 Current State: 62:[1, 62], Operations: ['82-81=1', '69-7=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 64, 43, 24, 52 ]
97
[ "64-43=21", "24+52=76", "21+76=97" ]
Current State: 97:[64, 43, 24, 52], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [24, 52, 21] Generated Node #2: [24, 52, 21] from Operation: 64-43=21 Current State: 97:[24, 52, 21], Operations: ['64-43=21'] Exploring Operation: 24+52=76, Resulting Numbers: [21, 76] Generated Node #3: [21, 76] from Operation: 24+52=76 Current State: 97:[21, 76], Operations: ['64-43=21', '24+52=76'] Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[64, 43, 24, 52], Operations: [] Exploring Operation: 43+24=67, Resulting Numbers: [64, 52, 67] Generated Node #0,0: 97:[64, 52, 67] Operation: 43+24=67 Exploring Operation: 24+52=76, Resulting Numbers: [64, 43, 76] Generated Node #0,1: 97:[64, 43, 76] Operation: 24+52=76 Exploring Operation: 43+52=95, Resulting Numbers: [64, 24, 95] Generated Node #0,2: 97:[64, 24, 95] Operation: 43+52=95 Exploring Operation: 64+24=88, Resulting Numbers: [43, 52, 88] Generated Node #0,3: 97:[43, 52, 88] Operation: 64+24=88 Moving to Node #0,0 Current State: 97:[64, 52, 67], Operations: ['43+24=67'] Exploring Operation: 52+67=119, Resulting Numbers: [64, 119] Generated Node #0,0,0: 97:[64, 119] Operation: 52+67=119 Exploring Operation: 64-52=12, Resulting Numbers: [67, 12] Generated Node #0,0,1: 97:[67, 12] Operation: 64-52=12 Exploring Operation: 64+67=131, Resulting Numbers: [52, 131] Generated Node #0,0,2: 97:[52, 131] Operation: 64+67=131 Exploring Operation: 64+52=116, Resulting Numbers: [67, 116] Generated Node #0,0,3: 97:[67, 116] Operation: 64+52=116 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[67, 116], Operations: ['43+24=67', '64+52=116'] Exploring Operation: 67+116=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 67*116=7772, Resulting Numbers: [7772] 7772,97 unequal: No Solution Exploring Operation: 116-67=49, Resulting Numbers: [49] 49,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,0,0 Current State: 97:[64, 119], Operations: ['43+24=67', '52+67=119'] Exploring Operation: 64+119=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 119-64=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 64*119=7616, Resulting Numbers: [7616] 7616,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,0,2 Current State: 97:[52, 131], Operations: ['43+24=67', '64+67=131'] Exploring Operation: 52*131=6812, Resulting Numbers: [6812] 6812,97 unequal: No Solution Exploring Operation: 52+131=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 131-52=79, Resulting Numbers: [79] 79,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,0,1 Current State: 97:[67, 12], Operations: ['43+24=67', '64-52=12'] Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,97 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,97 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: 97:[64, 24, 95], Operations: ['43+52=95'] Exploring Operation: 64-24=40, Resulting Numbers: [95, 40] Generated Node #0,2,0: 97:[95, 40] Operation: 64-24=40 Exploring Operation: 24+95=119, Resulting Numbers: [64, 119] Generated Node #0,2,1: 97:[64, 119] Operation: 24+95=119 Exploring Operation: 64+24=88, Resulting Numbers: [95, 88] Generated Node #0,2,2: 97:[95, 88] Operation: 64+24=88 Exploring Operation: 95-24=71, Resulting Numbers: [64, 71] Generated Node #0,2,3: 97:[64, 71] Operation: 95-24=71 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[95, 88], Operations: ['43+52=95', '64+24=88'] Exploring Operation: 95+88=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 95*88=8360, Resulting Numbers: [8360] 8360,97 unequal: No Solution Exploring Operation: 95-88=7, Resulting Numbers: [7] 7,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,1 Current State: 97:[64, 119], Operations: ['43+52=95', '24+95=119'] Exploring Operation: 64*119=7616, Resulting Numbers: [7616] 7616,97 unequal: No Solution Exploring Operation: 64+119=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 119-64=55, Resulting Numbers: [55] 55,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,0 Current State: 97:[95, 40], Operations: ['43+52=95', '64-24=40'] Exploring Operation: 95+40=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 95*40=3800, Resulting Numbers: [3800] 3800,97 unequal: No Solution Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,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,3 Current State: 97:[64, 71], Operations: ['43+52=95', '95-24=71'] Exploring Operation: 64+71=135, Resulting Numbers: [135] 135,97 unequal: No Solution Exploring Operation: 64*71=4544, Resulting Numbers: [4544] 4544,97 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,97 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: 97:[64, 43, 76], Operations: ['24+52=76'] Exploring Operation: 64+76=140, Resulting Numbers: [43, 140] Generated Node #0,1,0: 97:[43, 140] Operation: 64+76=140 Exploring Operation: 64+43=107, Resulting Numbers: [76, 107] Generated Node #0,1,1: 97:[76, 107] Operation: 64+43=107 Exploring Operation: 64-43=21, Resulting Numbers: [76, 21] Generated Node #0,1,2: 97:[76, 21] Operation: 64-43=21 Exploring Operation: 43+76=119, Resulting Numbers: [64, 119] Generated Node #0,1,3: 97:[64, 119] Operation: 43+76=119 Moving to Node #0,3 Current State: 97:[43, 52, 88], Operations: ['64+24=88'] Exploring Operation: 43+88=131, Resulting Numbers: [52, 131] Generated Node #0,3,0: 97:[52, 131] Operation: 43+88=131 Exploring Operation: 52-43=9, Resulting Numbers: [88, 9] Generated Node #0,3,1: 97:[88, 9] Operation: 52-43=9 Exploring Operation: 43+52=95, Resulting Numbers: [88, 95] Generated Node #0,3,2: 97:[88, 95] Operation: 43+52=95 Exploring Operation: 88-43=45, Resulting Numbers: [52, 45] Generated Node #0,3,3: 97:[52, 45] Operation: 88-43=45 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[88, 95], Operations: ['64+24=88', '43+52=95'] Exploring Operation: 88*95=8360, Resulting Numbers: [8360] 8360,97 unequal: No Solution Exploring Operation: 95-88=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 88+95=183, Resulting Numbers: [183] 183,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,3,0 Current State: 97:[52, 131], Operations: ['64+24=88', '43+88=131'] Exploring Operation: 52*131=6812, Resulting Numbers: [6812] 6812,97 unequal: No Solution Exploring Operation: 131-52=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 52+131=183, Resulting Numbers: [183] 183,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,3,1 Current State: 97:[88, 9], Operations: ['64+24=88', '52-43=9'] Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,97 unequal: No Solution Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[64, 43, 24, 52], Operations: [] Exploring Operation: 64+24=88, Resulting Numbers: [43, 52, 88] Generated Node #0,3: 97:[43, 52, 88] Operation: 64+24=88 Moving to Node #0,3 Current State: 97:[43, 52, 88], Operations: ['64+24=88'] Exploring Operation: 52-43=9, Resulting Numbers: [88, 9] Generated Node #0,3,1: 97:[88, 9] Operation: 52-43=9 Moving to Node #0,3,1 Current State: 97:[88, 9], Operations: ['64+24=88', '52-43=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_4
sum_heuristic
[ 29, 17, 7, 45 ]
84
[ "29+17=46", "45-7=38", "46+38=84" ]
Current State: 84:[29, 17, 7, 45], Operations: [] Exploring Operation: 29+17=46, Resulting Numbers: [7, 45, 46] Generated Node #2: [7, 45, 46] from Operation: 29+17=46 Current State: 84:[7, 45, 46], Operations: ['29+17=46'] Exploring Operation: 45-7=38, Resulting Numbers: [46, 38] Generated Node #3: [46, 38] from Operation: 45-7=38 Current State: 84:[46, 38], Operations: ['29+17=46', '45-7=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[29, 17, 7, 45], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [7, 45, 12] Generated Node #0,0: 84:[7, 45, 12] Operation: 29-17=12 Exploring Operation: 17-7=10, Resulting Numbers: [29, 45, 10] Generated Node #0,1: 84:[29, 45, 10] Operation: 17-7=10 Exploring Operation: 45-17=28, Resulting Numbers: [29, 7, 28] Generated Node #0,2: 84:[29, 7, 28] Operation: 45-17=28 Exploring Operation: 45-29=16, Resulting Numbers: [17, 7, 16] Generated Node #0,3: 84:[17, 7, 16] Operation: 45-29=16 Moving to Node #0,2 Current State: 84:[29, 7, 28], Operations: ['45-17=28'] Exploring Operation: 28/7=4, Resulting Numbers: [29, 4] Generated Node #0,2,0: 84:[29, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [29, 21] Generated Node #0,2,1: 84:[29, 21] Operation: 28-7=21 Exploring Operation: 29-28=1, Resulting Numbers: [7, 1] Generated Node #0,2,2: 84:[7, 1] Operation: 29-28=1 Exploring Operation: 29-7=22, Resulting Numbers: [28, 22] Generated Node #0,2,3: 84:[28, 22] Operation: 29-7=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[29, 4], Operations: ['45-17=28', '28/7=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,84 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,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:[29, 21], Operations: ['45-17=28', '28-7=21'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,84 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,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:[7, 1], Operations: ['45-17=28', '29-28=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,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:[28, 22], Operations: ['45-17=28', '29-7=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,84 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,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:[7, 45, 12], Operations: ['29-17=12'] Exploring Operation: 12-7=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 84:[45, 5] Operation: 12-7=5 Exploring Operation: 7*12=84, Resulting Numbers: [45, 84] Generated Node #0,0,1: 84:[45, 84] Operation: 7*12=84 Exploring Operation: 45-7=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 84:[12, 38] Operation: 45-7=38 Exploring Operation: 7+12=19, Resulting Numbers: [45, 19] Generated Node #0,0,3: 84:[45, 19] Operation: 7+12=19 Moving to Node #0,3 Current State: 84:[17, 7, 16], Operations: ['45-29=16'] Exploring Operation: 17-7=10, Resulting Numbers: [16, 10] Generated Node #0,3,0: 84:[16, 10] Operation: 17-7=10 Exploring Operation: 17+7=24, Resulting Numbers: [16, 24] Generated Node #0,3,1: 84:[16, 24] Operation: 17+7=24 Exploring Operation: 17-16=1, Resulting Numbers: [7, 1] Generated Node #0,3,2: 84:[7, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [7, 33] Generated Node #0,3,3: 84:[7, 33] Operation: 17+16=33 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[7, 1], Operations: ['45-29=16', '17-16=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,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:[16, 10], Operations: ['45-29=16', '17-7=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,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:[16, 24], Operations: ['45-29=16', '17+7=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,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:[7, 33], Operations: ['45-29=16', '17+16=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,84 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,84 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: 84:[29, 45, 10], Operations: ['17-7=10'] Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,1,0: 84:[45, 39] Operation: 29+10=39 Exploring Operation: 45-29=16, Resulting Numbers: [10, 16] Generated Node #0,1,1: 84:[10, 16] Operation: 45-29=16 Exploring Operation: 45-10=35, Resulting Numbers: [29, 35] Generated Node #0,1,2: 84:[29, 35] Operation: 45-10=35 Exploring Operation: 29-10=19, Resulting Numbers: [45, 19] Generated Node #0,1,3: 84:[45, 19] Operation: 29-10=19 Moving to Node #0,0,1 Current State: 84:[45, 84], Operations: ['29-17=12', '7*12=84'] Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,84 unequal: No Solution Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,84 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[12, 38], Operations: ['29-17=12', '45-7=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,84 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,84 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[45, 5], Operations: ['29-17=12', '12-7=5'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,84 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[10, 16], Operations: ['17-7=10', '45-29=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[45, 19], Operations: ['17-7=10', '29-10=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,84 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[45, 19], Operations: ['29-17=12', '7+12=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,84 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[45, 39], Operations: ['17-7=10', '29+10=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,84 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[29, 17, 7, 45], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [29, 45, 10] Generated Node #0,1: 84:[29, 45, 10] Operation: 17-7=10 Moving to Node #0,1 Current State: 84:[29, 45, 10], Operations: ['17-7=10'] Exploring Operation: 29+10=39, Resulting Numbers: [45, 39] Generated Node #0,1,0: 84:[45, 39] Operation: 29+10=39 Moving to Node #0,1,0 Current State: 84:[45, 39], Operations: ['17-7=10', '29+10=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.9375
hs_4
mult_heuristic
[ 24, 77, 6, 39 ]
79
[ "24/6=4", "39*4=156", "156-77=79" ]
Current State: 79:[24, 77, 6, 39], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [77, 39, 4] Generated Node #2: [77, 39, 4] from Operation: 24/6=4 Current State: 79:[77, 39, 4], Operations: ['24/6=4'] Exploring Operation: 39*4=156, Resulting Numbers: [77, 156] Generated Node #3: [77, 156] from Operation: 39*4=156 Current State: 79:[77, 156], Operations: ['24/6=4', '39*4=156'] Exploring Operation: 156-77=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[24, 77, 6, 39], Operations: [] Exploring Operation: 24+39=63, Resulting Numbers: [77, 6, 63] Generated Node #0,0: 79:[77, 6, 63] Operation: 24+39=63 Exploring Operation: 24-6=18, Resulting Numbers: [77, 39, 18] Generated Node #0,1: 79:[77, 39, 18] Operation: 24-6=18 Exploring Operation: 6+39=45, Resulting Numbers: [24, 77, 45] Generated Node #0,2: 79:[24, 77, 45] Operation: 6+39=45 Exploring Operation: 24+6=30, Resulting Numbers: [77, 39, 30] Generated Node #0,3: 79:[77, 39, 30] Operation: 24+6=30 Exploring Operation: 77+6=83, Resulting Numbers: [24, 39, 83] Generated Node #0,4: 79:[24, 39, 83] Operation: 77+6=83 Moving to Node #0,0 Current State: 79:[77, 6, 63], Operations: ['24+39=63'] Exploring Operation: 77+6=83, Resulting Numbers: [63, 83] Generated Node #0,0,0: 79:[63, 83] Operation: 77+6=83 Exploring Operation: 77-6=71, Resulting Numbers: [63, 71] Generated Node #0,0,1: 79:[63, 71] Operation: 77-6=71 Exploring Operation: 77+63=140, Resulting Numbers: [6, 140] Generated Node #0,0,2: 79:[6, 140] Operation: 77+63=140 Exploring Operation: 63-6=57, Resulting Numbers: [77, 57] Generated Node #0,0,3: 79:[77, 57] Operation: 63-6=57 Exploring Operation: 6+63=69, Resulting Numbers: [77, 69] Generated Node #0,0,4: 79:[77, 69] Operation: 6+63=69 Moving to Node #0,3 Current State: 79:[77, 39, 30], Operations: ['24+6=30'] Exploring Operation: 77+30=107, Resulting Numbers: [39, 107] Generated Node #0,3,0: 79:[39, 107] Operation: 77+30=107 Exploring Operation: 77+39=116, Resulting Numbers: [30, 116] Generated Node #0,3,1: 79:[30, 116] Operation: 77+39=116 Exploring Operation: 39+30=69, Resulting Numbers: [77, 69] Generated Node #0,3,2: 79:[77, 69] Operation: 39+30=69 Exploring Operation: 77-30=47, Resulting Numbers: [39, 47] Generated Node #0,3,3: 79:[39, 47] Operation: 77-30=47 Exploring Operation: 39-30=9, Resulting Numbers: [77, 9] Generated Node #0,3,4: 79:[77, 9] Operation: 39-30=9 Moving to Node #0,2 Current State: 79:[24, 77, 45], Operations: ['6+39=45'] Exploring Operation: 24+45=69, Resulting Numbers: [77, 69] Generated Node #0,2,0: 79:[77, 69] Operation: 24+45=69 Exploring Operation: 77+45=122, Resulting Numbers: [24, 122] Generated Node #0,2,1: 79:[24, 122] Operation: 77+45=122 Exploring Operation: 24+77=101, Resulting Numbers: [45, 101] Generated Node #0,2,2: 79:[45, 101] Operation: 24+77=101 Exploring Operation: 45-24=21, Resulting Numbers: [77, 21] Generated Node #0,2,3: 79:[77, 21] Operation: 45-24=21 Exploring Operation: 77-24=53, Resulting Numbers: [45, 53] Generated Node #0,2,4: 79:[45, 53] Operation: 77-24=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[77, 69], Operations: ['6+39=45', '24+45=69'] Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 77+69=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 77*69=5313, Resulting Numbers: [5313] 5313,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[45, 101], Operations: ['6+39=45', '24+77=101'] Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,79 unequal: No Solution Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[77, 21], Operations: ['6+39=45', '45-24=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,79 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[45, 53], Operations: ['6+39=45', '77-24=53'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 45*53=2385, Resulting Numbers: [2385] 2385,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[24, 122], Operations: ['6+39=45', '77+45=122'] Exploring Operation: 24*122=2928, Resulting Numbers: [2928] 2928,79 unequal: No Solution Exploring Operation: 24+122=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 122-24=98, Resulting Numbers: [98] 98,79 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: 79:[24, 39, 83], Operations: ['77+6=83'] Exploring Operation: 24+83=107, Resulting Numbers: [39, 107] Generated Node #0,4,0: 79:[39, 107] Operation: 24+83=107 Exploring Operation: 83-24=59, Resulting Numbers: [39, 59] Generated Node #0,4,1: 79:[39, 59] Operation: 83-24=59 Exploring Operation: 24+39=63, Resulting Numbers: [83, 63] Generated Node #0,4,2: 79:[83, 63] Operation: 24+39=63 Exploring Operation: 83-39=44, Resulting Numbers: [24, 44] Generated Node #0,4,3: 79:[24, 44] Operation: 83-39=44 Exploring Operation: 39-24=15, Resulting Numbers: [83, 15] Generated Node #0,4,4: 79:[83, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[83, 63], Operations: ['77+6=83', '24+39=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[39, 59], Operations: ['77+6=83', '83-24=59'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[39, 107], Operations: ['77+6=83', '24+83=107'] Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 39+107=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 39*107=4173, Resulting Numbers: [4173] 4173,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[83, 15], Operations: ['77+6=83', '39-24=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[24, 44], Operations: ['77+6=83', '83-39=44'] Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[77, 39, 18], Operations: ['24-6=18'] Exploring Operation: 39+18=57, Resulting Numbers: [77, 57] Generated Node #0,1,0: 79:[77, 57] Operation: 39+18=57 Exploring Operation: 77+18=95, Resulting Numbers: [39, 95] Generated Node #0,1,1: 79:[39, 95] Operation: 77+18=95 Exploring Operation: 77+39=116, Resulting Numbers: [18, 116] Generated Node #0,1,2: 79:[18, 116] Operation: 77+39=116 Exploring Operation: 77-18=59, Resulting Numbers: [39, 59] Generated Node #0,1,3: 79:[39, 59] Operation: 77-18=59 Exploring Operation: 39-18=21, Resulting Numbers: [77, 21] Generated Node #0,1,4: 79:[77, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[77, 57], Operations: ['24-6=18', '39+18=57'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 77*57=4389, Resulting Numbers: [4389] 4389,79 unequal: No Solution Exploring Operation: 77+57=134, Resulting Numbers: [134] 134,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[39, 95], Operations: ['24-6=18', '77+18=95'] Exploring Operation: 39*95=3705, Resulting Numbers: [3705] 3705,79 unequal: No Solution Exploring Operation: 39+95=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 79:[39, 59], Operations: ['24-6=18', '77-18=59'] Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,79 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 79:[77, 21], Operations: ['24-6=18', '39-18=21'] Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,79 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[18, 116], Operations: ['24-6=18', '77+39=116'] Exploring Operation: 18*116=2088, Resulting Numbers: [2088] 2088,79 unequal: No Solution Exploring Operation: 18+116=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 116-18=98, Resulting Numbers: [98] 98,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 79:[77, 69], Operations: ['24+39=63', '6+63=69'] Exploring Operation: 77*69=5313, Resulting Numbers: [5313] 5313,79 unequal: No Solution Exploring Operation: 77+69=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[77, 69], Operations: ['24+6=30', '39+30=69'] Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 77*69=5313, Resulting Numbers: [5313] 5313,79 unequal: No Solution Exploring Operation: 77+69=146, Resulting Numbers: [146] 146,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[63, 83], Operations: ['24+39=63', '77+6=83'] Exploring Operation: 63+83=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 63*83=5229, Resulting Numbers: [5229] 5229,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[63, 71], Operations: ['24+39=63', '77-6=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,79 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[77, 57], Operations: ['24+39=63', '63-6=57'] Exploring Operation: 77+57=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 77*57=4389, Resulting Numbers: [4389] 4389,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[39, 107], Operations: ['24+6=30', '77+30=107'] Exploring Operation: 39*107=4173, Resulting Numbers: [4173] 4173,79 unequal: No Solution Exploring Operation: 39+107=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[39, 47], Operations: ['24+6=30', '77-30=47'] Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,79 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[77, 9], Operations: ['24+6=30', '39-30=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,79 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[30, 116], Operations: ['24+6=30', '77+39=116'] Exploring Operation: 30*116=3480, Resulting Numbers: [3480] 3480,79 unequal: No Solution Exploring Operation: 116-30=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 30+116=146, Resulting Numbers: [146] 146,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[6, 140], Operations: ['24+39=63', '77+63=140'] Exploring Operation: 6*140=840, Resulting Numbers: [840] 840,79 unequal: No Solution Exploring Operation: 6+140=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 140-6=134, Resulting Numbers: [134] 134,79 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 56, 7, 51, 95 ]
93
[ "56-7=49", "95-51=44", "49+44=93" ]
Current State: 93:[56, 7, 51, 95], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [51, 95, 49] Generated Node #2: [51, 95, 49] from Operation: 56-7=49 Current State: 93:[51, 95, 49], Operations: ['56-7=49'] Exploring Operation: 95-51=44, Resulting Numbers: [49, 44] Generated Node #3: [49, 44] from Operation: 95-51=44 Current State: 93:[49, 44], Operations: ['56-7=49', '95-51=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[56, 7, 51, 95], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [7, 95, 5] Generated Node #0,0: 93:[7, 95, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 93:[7, 95, 5], Operations: ['56-51=5'] Exploring Operation: 7-5=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 93:[95, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[95, 2], Operations: ['56-51=5', '7-5=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[56, 7, 51, 95], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [7, 95, 5] Generated Node #0,0: 93:[7, 95, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 93:[7, 95, 5], Operations: ['56-51=5'] Exploring Operation: 7-5=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 93:[95, 2] Operation: 7-5=2 Moving to Node #0,0,0 Current State: 93:[95, 2], Operations: ['56-51=5', '7-5=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 65, 6, 19, 13 ]
89
[ "65*19=1235", "1235/13=95", "95-6=89" ]
Current State: 89:[65, 6, 19, 13], Operations: [] Exploring Operation: 65*19=1235, Resulting Numbers: [6, 13, 1235] Generated Node #2: [6, 13, 1235] from Operation: 65*19=1235 Current State: 89:[6, 13, 1235], Operations: ['65*19=1235'] Exploring Operation: 1235/13=95, Resulting Numbers: [6, 95] Generated Node #3: [6, 95] from Operation: 1235/13=95 Current State: 89:[6, 95], Operations: ['65*19=1235', '1235/13=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[65, 6, 19, 13], Operations: [] Exploring Operation: 65+19=84, Resulting Numbers: [6, 13, 84] Generated Node #0,0: 89:[6, 13, 84] Operation: 65+19=84 Exploring Operation: 6*19=114, Resulting Numbers: [65, 13, 114] Generated Node #0,1: 89:[65, 13, 114] Operation: 6*19=114 Exploring Operation: 65+6=71, Resulting Numbers: [19, 13, 71] Generated Node #0,2: 89:[19, 13, 71] Operation: 65+6=71 Exploring Operation: 6*13=78, Resulting Numbers: [65, 19, 78] Generated Node #0,3: 89:[65, 19, 78] Operation: 6*13=78 Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[65, 19, 78], Operations: ['6*13=78'] Exploring Operation: 78-19=59, Resulting Numbers: [65, 59] Generated Node #0,3,0: 89:[65, 59] Operation: 78-19=59 Exploring Operation: 65-19=46, Resulting Numbers: [78, 46] Generated Node #0,3,1: 89:[78, 46] Operation: 65-19=46 Exploring Operation: 19+78=97, Resulting Numbers: [65, 97] Generated Node #0,3,2: 89:[65, 97] Operation: 19+78=97 Exploring Operation: 65+19=84, Resulting Numbers: [78, 84] Generated Node #0,3,3: 89:[78, 84] Operation: 65+19=84 Moving to Node #0,3,3 Current State: 89:[78, 84], Operations: ['6*13=78', '65+19=84'] Exploring Operation: 78*84=6552, Resulting Numbers: [6552] 6552,89 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 78+84=162, Resulting Numbers: [162] 162,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[65, 97], Operations: ['6*13=78', '19+78=97'] Exploring Operation: 65+97=162, Resulting Numbers: [162] 162,89 unequal: No Solution Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,89 unequal: No Solution Exploring Operation: 65*97=6305, Resulting Numbers: [6305] 6305,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[78, 46], Operations: ['6*13=78', '65-19=46'] Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,89 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,89 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[65, 59], Operations: ['6*13=78', '78-19=59'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,89 unequal: No Solution Exploring Operation: 65*59=3835, Resulting Numbers: [3835] 3835,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[65, 13, 114], Operations: ['6*19=114'] Exploring Operation: 114-13=101, Resulting Numbers: [65, 101] Generated Node #0,1,0: 89:[65, 101] Operation: 114-13=101 Exploring Operation: 65-13=52, Resulting Numbers: [114, 52] Generated Node #0,1,1: 89:[114, 52] Operation: 65-13=52 Exploring Operation: 65+13=78, Resulting Numbers: [114, 78] Generated Node #0,1,2: 89:[114, 78] Operation: 65+13=78 Exploring Operation: 13+114=127, Resulting Numbers: [65, 127] Generated Node #0,1,3: 89:[65, 127] Operation: 13+114=127 Moving to Node #0,1,0 Current State: 89:[65, 101], Operations: ['6*19=114', '114-13=101'] Exploring Operation: 65*101=6565, Resulting Numbers: [6565] 6565,89 unequal: No Solution Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[114, 78], Operations: ['6*19=114', '65+13=78'] Exploring Operation: 114+78=192, Resulting Numbers: [192] 192,89 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,89 unequal: No Solution Exploring Operation: 114*78=8892, Resulting Numbers: [8892] 8892,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[65, 127], Operations: ['6*19=114', '13+114=127'] Exploring Operation: 65*127=8255, Resulting Numbers: [8255] 8255,89 unequal: No Solution Exploring Operation: 65+127=192, Resulting Numbers: [192] 192,89 unequal: No Solution Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[114, 52], Operations: ['6*19=114', '65-13=52'] Exploring Operation: 114+52=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 114*52=5928, Resulting Numbers: [5928] 5928,89 unequal: No Solution Exploring Operation: 114-52=62, Resulting Numbers: [62] 62,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[6, 13, 84], Operations: ['65+19=84'] Exploring Operation: 13-6=7, Resulting Numbers: [84, 7] Generated Node #0,0,0: 89:[84, 7] Operation: 13-6=7 Exploring Operation: 6*13=78, Resulting Numbers: [84, 78] Generated Node #0,0,1: 89:[84, 78] Operation: 6*13=78 Exploring Operation: 6+84=90, Resulting Numbers: [13, 90] Generated Node #0,0,2: 89:[13, 90] Operation: 6+84=90 Exploring Operation: 6+13=19, Resulting Numbers: [84, 19] Generated Node #0,0,3: 89:[84, 19] Operation: 6+13=19 Moving to Node #0,0,1 Current State: 89:[84, 78], Operations: ['65+19=84', '6*13=78'] Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,89 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[84, 19], Operations: ['65+19=84', '6+13=19'] Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[13, 90], Operations: ['65+19=84', '6+84=90'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 13*90=1170, Resulting Numbers: [1170] 1170,89 unequal: No Solution Exploring Operation: 13+90=103, Resulting Numbers: [103] 103,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[84, 7], Operations: ['65+19=84', '13-6=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,89 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[19, 13, 71], Operations: ['65+6=71'] Exploring Operation: 19+71=90, Resulting Numbers: [13, 90] Generated Node #0,2,0: 89:[13, 90] Operation: 19+71=90 Exploring Operation: 19+13=32, Resulting Numbers: [71, 32] Generated Node #0,2,1: 89:[71, 32] Operation: 19+13=32 Exploring Operation: 13+71=84, Resulting Numbers: [19, 84] Generated Node #0,2,2: 89:[19, 84] Operation: 13+71=84 Exploring Operation: 19-13=6, Resulting Numbers: [71, 6] Generated Node #0,2,3: 89:[71, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[71, 32], Operations: ['65+6=71', '19+13=32'] Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[19, 84], Operations: ['65+6=71', '13+71=84'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[13, 90], Operations: ['65+6=71', '19+71=90'] Exploring Operation: 13*90=1170, Resulting Numbers: [1170] 1170,89 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 13+90=103, Resulting Numbers: [103] 103,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[71, 6], Operations: ['65+6=71', '19-13=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,89 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 47, 28, 43, 2 ]
52
[ "47-43=4", "28*2=56", "56-4=52" ]
Current State: 52:[47, 28, 43, 2], Operations: [] Exploring Operation: 47-43=4, Resulting Numbers: [28, 2, 4] Generated Node #2: [28, 2, 4] from Operation: 47-43=4 Current State: 52:[28, 2, 4], Operations: ['47-43=4'] Exploring Operation: 28*2=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 28*2=56 Current State: 52:[4, 56], Operations: ['47-43=4', '28*2=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[47, 28, 43, 2], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [47, 2, 15] Generated Node #0,0: 52:[47, 2, 15] Operation: 43-28=15 Exploring Operation: 47-43=4, Resulting Numbers: [28, 2, 4] Generated Node #0,1: 52:[28, 2, 4] Operation: 47-43=4 Exploring Operation: 47+2=49, Resulting Numbers: [28, 43, 49] Generated Node #0,2: 52:[28, 43, 49] Operation: 47+2=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[28, 2, 4], Operations: ['47-43=4'] Exploring Operation: 28-2=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 52:[4, 26] Operation: 28-2=26 Exploring Operation: 28-4=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 52:[2, 24] Operation: 28-4=24 Exploring Operation: 28/2=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 52:[4, 14] Operation: 28/2=14 Moving to Node #0,1,0 Current State: 52:[4, 26], Operations: ['47-43=4', '28-2=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[4, 14], Operations: ['47-43=4', '28/2=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[2, 24], Operations: ['47-43=4', '28-4=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution No 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: 52:[47, 2, 15], Operations: ['43-28=15'] Exploring Operation: 47+2=49, Resulting Numbers: [15, 49] Generated Node #0,0,0: 52:[15, 49] Operation: 47+2=49 Exploring Operation: 15-2=13, Resulting Numbers: [47, 13] Generated Node #0,0,1: 52:[47, 13] Operation: 15-2=13 Exploring Operation: 47-15=32, Resulting Numbers: [2, 32] Generated Node #0,0,2: 52:[2, 32] Operation: 47-15=32 Moving to Node #0,0,0 Current State: 52:[15, 49], Operations: ['43-28=15', '47+2=49'] Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,52 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[47, 13], Operations: ['43-28=15', '15-2=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[2, 32], Operations: ['43-28=15', '47-15=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,52 unequal: No Solution No 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: 52:[28, 43, 49], Operations: ['47+2=49'] Exploring Operation: 49-43=6, Resulting Numbers: [28, 6] Generated Node #0,2,0: 52:[28, 6] Operation: 49-43=6 Exploring Operation: 49-28=21, Resulting Numbers: [43, 21] Generated Node #0,2,1: 52:[43, 21] Operation: 49-28=21 Exploring Operation: 43-28=15, Resulting Numbers: [49, 15] Generated Node #0,2,2: 52:[49, 15] Operation: 43-28=15 Moving to Node #0,2,0 Current State: 52:[28, 6], Operations: ['47+2=49', '49-43=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[49, 15], Operations: ['47+2=49', '43-28=15'] Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[43, 21], Operations: ['47+2=49', '49-28=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,52 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,52 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
[ 88, 65, 14, 97 ]
61
[ "97-88=9", "14*9=126", "126-65=61" ]
Current State: 61:[88, 65, 14, 97], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [65, 14, 9] Generated Node #2: [65, 14, 9] from Operation: 97-88=9 Current State: 61:[65, 14, 9], Operations: ['97-88=9'] Exploring Operation: 14*9=126, Resulting Numbers: [65, 126] Generated Node #3: [65, 126] from Operation: 14*9=126 Current State: 61:[65, 126], Operations: ['97-88=9', '14*9=126'] Exploring Operation: 126-65=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[88, 65, 14, 97], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [88, 65, 83] Generated Node #0,0: 61:[88, 65, 83] Operation: 97-14=83 Exploring Operation: 88-14=74, Resulting Numbers: [65, 97, 74] Generated Node #0,1: 61:[65, 97, 74] Operation: 88-14=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[88, 65, 83], Operations: ['97-14=83'] Exploring Operation: 88-83=5, Resulting Numbers: [65, 5] Generated Node #0,0,0: 61:[65, 5] Operation: 88-83=5 Exploring Operation: 88-65=23, Resulting Numbers: [83, 23] Generated Node #0,0,1: 61:[83, 23] Operation: 88-65=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[65, 5], Operations: ['97-14=83', '88-83=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[83, 23], Operations: ['97-14=83', '88-65=23'] Exploring Operation: 83+23=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[65, 97, 74], Operations: ['88-14=74'] Exploring Operation: 97-65=32, Resulting Numbers: [74, 32] Generated Node #0,1,0: 61:[74, 32] Operation: 97-65=32 Exploring Operation: 97-74=23, Resulting Numbers: [65, 23] Generated Node #0,1,1: 61:[65, 23] Operation: 97-74=23 Moving to Node #0,1,0 Current State: 61:[74, 32], Operations: ['88-14=74', '97-65=32'] Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 74+32=106, Resulting Numbers: [106] 106,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[65, 23], Operations: ['88-14=74', '97-74=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 67, 70, 2, 43 ]
42
[ "70-67=3", "2+43=45", "45-3=42" ]
Current State: 42:[67, 70, 2, 43], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [2, 43, 3] Generated Node #2: [2, 43, 3] from Operation: 70-67=3 Current State: 42:[2, 43, 3], Operations: ['70-67=3'] Exploring Operation: 2+43=45, Resulting Numbers: [3, 45] Generated Node #3: [3, 45] from Operation: 2+43=45 Current State: 42:[3, 45], Operations: ['70-67=3', '2+43=45'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[67, 70, 2, 43], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [2, 43, 3] Generated Node #0,0: 42:[2, 43, 3] Operation: 70-67=3 Moving to Node #0,0 Current State: 42:[2, 43, 3], Operations: ['70-67=3'] Exploring Operation: 43-2=41, Resulting Numbers: [3, 41] Generated Node #0,0,0: 42:[3, 41] Operation: 43-2=41 Moving to Node #0,0,0 Current State: 42:[3, 41], Operations: ['70-67=3', '43-2=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 83, 57, 46, 89 ]
69
[ "83-57=26", "89-46=43", "26+43=69" ]
Current State: 69:[83, 57, 46, 89], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [46, 89, 26] Generated Node #2: [46, 89, 26] from Operation: 83-57=26 Current State: 69:[46, 89, 26], Operations: ['83-57=26'] Exploring Operation: 89-46=43, Resulting Numbers: [26, 43] Generated Node #3: [26, 43] from Operation: 89-46=43 Current State: 69:[26, 43], Operations: ['83-57=26', '89-46=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[83, 57, 46, 89], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [83, 89, 11] Generated Node #0,0: 69:[83, 89, 11] Operation: 57-46=11 Exploring Operation: 83-57=26, Resulting Numbers: [46, 89, 26] Generated Node #0,1: 69:[46, 89, 26] Operation: 83-57=26 Exploring Operation: 83-46=37, Resulting Numbers: [57, 89, 37] Generated Node #0,2: 69:[57, 89, 37] Operation: 83-46=37 Exploring Operation: 89-83=6, Resulting Numbers: [57, 46, 6] Generated Node #0,3: 69:[57, 46, 6] Operation: 89-83=6 Moving to Node #0,3 Current State: 69:[57, 46, 6], Operations: ['89-83=6'] Exploring Operation: 46+6=52, Resulting Numbers: [57, 52] Generated Node #0,3,0: 69:[57, 52] Operation: 46+6=52 Exploring Operation: 46-6=40, Resulting Numbers: [57, 40] Generated Node #0,3,1: 69:[57, 40] Operation: 46-6=40 Exploring Operation: 57+6=63, Resulting Numbers: [46, 63] Generated Node #0,3,2: 69:[46, 63] Operation: 57+6=63 Exploring Operation: 57-46=11, Resulting Numbers: [6, 11] Generated Node #0,3,3: 69:[6, 11] Operation: 57-46=11 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[6, 11], Operations: ['89-83=6', '57-46=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[57, 52], Operations: ['89-83=6', '46+6=52'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,69 unequal: No Solution Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[57, 40], Operations: ['89-83=6', '46-6=40'] Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,69 unequal: No Solution Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[46, 63], Operations: ['89-83=6', '57+6=63'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,69 unequal: No Solution Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,69 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: 69:[83, 89, 11], Operations: ['57-46=11'] Exploring Operation: 83-11=72, Resulting Numbers: [89, 72] Generated Node #0,0,0: 69:[89, 72] Operation: 83-11=72 Exploring Operation: 83+11=94, Resulting Numbers: [89, 94] Generated Node #0,0,1: 69:[89, 94] Operation: 83+11=94 Exploring Operation: 89-11=78, Resulting Numbers: [83, 78] Generated Node #0,0,2: 69:[83, 78] Operation: 89-11=78 Exploring Operation: 89-83=6, Resulting Numbers: [11, 6] Generated Node #0,0,3: 69:[11, 6] Operation: 89-83=6 Moving to Node #0,2 Current State: 69:[57, 89, 37], Operations: ['83-46=37'] Exploring Operation: 57-37=20, Resulting Numbers: [89, 20] Generated Node #0,2,0: 69:[89, 20] Operation: 57-37=20 Exploring Operation: 89-37=52, Resulting Numbers: [57, 52] Generated Node #0,2,1: 69:[57, 52] Operation: 89-37=52 Exploring Operation: 89-57=32, Resulting Numbers: [37, 32] Generated Node #0,2,2: 69:[37, 32] Operation: 89-57=32 Exploring Operation: 57+37=94, Resulting Numbers: [89, 94] Generated Node #0,2,3: 69:[89, 94] Operation: 57+37=94 Moving to Node #0,1 Current State: 69:[46, 89, 26], Operations: ['83-57=26'] Exploring Operation: 89-46=43, Resulting Numbers: [26, 43] Generated Node #0,1,0: 69:[26, 43] Operation: 89-46=43 Exploring Operation: 46+26=72, Resulting Numbers: [89, 72] Generated Node #0,1,1: 69:[89, 72] Operation: 46+26=72 Exploring Operation: 46-26=20, Resulting Numbers: [89, 20] Generated Node #0,1,2: 69:[89, 20] Operation: 46-26=20 Exploring Operation: 89-26=63, Resulting Numbers: [46, 63] Generated Node #0,1,3: 69:[46, 63] Operation: 89-26=63 Moving to Node #0,0,3 Current State: 69:[11, 6], Operations: ['57-46=11', '89-83=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[83, 78], Operations: ['57-46=11', '89-11=78'] Exploring Operation: 83*78=6474, Resulting Numbers: [6474] 6474,69 unequal: No Solution Exploring Operation: 83+78=161, Resulting Numbers: [161] 161,69 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[37, 32], Operations: ['83-46=37', '89-57=32'] Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,69 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[83, 57, 46, 89], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [57, 89, 37] Generated Node #0,2: 69:[57, 89, 37] Operation: 83-46=37 Moving to Node #0,2 Current State: 69:[57, 89, 37], Operations: ['83-46=37'] Exploring Operation: 89-57=32, Resulting Numbers: [37, 32] Generated Node #0,2,2: 69:[37, 32] Operation: 89-57=32 Moving to Node #0,2,2 Current State: 69:[37, 32], Operations: ['83-46=37', '89-57=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.961806
hs_4
mult_heuristic
[ 43, 54, 47, 16 ]
66
[ "43+54=97", "47-16=31", "97-31=66" ]
Current State: 66:[43, 54, 47, 16], Operations: [] Exploring Operation: 43+54=97, Resulting Numbers: [47, 16, 97] Generated Node #2: [47, 16, 97] from Operation: 43+54=97 Current State: 66:[47, 16, 97], Operations: ['43+54=97'] Exploring Operation: 47-16=31, Resulting Numbers: [97, 31] Generated Node #3: [97, 31] from Operation: 47-16=31 Current State: 66:[97, 31], Operations: ['43+54=97', '47-16=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[43, 54, 47, 16], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [47, 16, 11] Generated Node #0,0: 66:[47, 16, 11] Operation: 54-43=11 Exploring Operation: 47+16=63, Resulting Numbers: [43, 54, 63] Generated Node #0,1: 66:[43, 54, 63] Operation: 47+16=63 Exploring Operation: 47-43=4, Resulting Numbers: [54, 16, 4] Generated Node #0,2: 66:[54, 16, 4] Operation: 47-43=4 Exploring Operation: 47-16=31, Resulting Numbers: [43, 54, 31] Generated Node #0,3: 66:[43, 54, 31] Operation: 47-16=31 Exploring Operation: 54-47=7, Resulting Numbers: [43, 16, 7] Generated Node #0,4: 66:[43, 16, 7] Operation: 54-47=7 Moving to Node #0,4 Current State: 66:[43, 16, 7], Operations: ['54-47=7'] Exploring Operation: 16+7=23, Resulting Numbers: [43, 23] Generated Node #0,4,0: 66:[43, 23] Operation: 16+7=23 Exploring Operation: 43-16=27, Resulting Numbers: [7, 27] Generated Node #0,4,1: 66:[7, 27] Operation: 43-16=27 Exploring Operation: 43-7=36, Resulting Numbers: [16, 36] Generated Node #0,4,2: 66:[16, 36] Operation: 43-7=36 Exploring Operation: 16-7=9, Resulting Numbers: [43, 9] Generated Node #0,4,3: 66:[43, 9] Operation: 16-7=9 Exploring Operation: 43+16=59, Resulting Numbers: [7, 59] Generated Node #0,4,4: 66:[7, 59] Operation: 43+16=59 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 66:[7, 27], Operations: ['54-47=7', '43-16=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,66 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 66:[16, 36], Operations: ['54-47=7', '43-7=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,66 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 66:[7, 59], Operations: ['54-47=7', '43+16=59'] Exploring Operation: 7*59=413, Resulting Numbers: [413] 413,66 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[43, 54, 47, 16], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [43, 16, 7] Generated Node #0,4: 66:[43, 16, 7] Operation: 54-47=7 Moving to Node #0,4 Current State: 66:[43, 16, 7], Operations: ['54-47=7'] Exploring Operation: 43+16=59, Resulting Numbers: [7, 59] Generated Node #0,4,4: 66:[7, 59] Operation: 43+16=59 Moving to Node #0,4,4 Current State: 66:[7, 59], Operations: ['54-47=7', '43+16=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 72, 14, 10, 65 ]
88
[ "72-65=7", "14*7=98", "98-10=88" ]
Current State: 88:[72, 14, 10, 65], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [14, 10, 7] Generated Node #2: [14, 10, 7] from Operation: 72-65=7 Current State: 88:[14, 10, 7], Operations: ['72-65=7'] Exploring Operation: 14*7=98, Resulting Numbers: [10, 98] Generated Node #3: [10, 98] from Operation: 14*7=98 Current State: 88:[10, 98], Operations: ['72-65=7', '14*7=98'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[72, 14, 10, 65], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [14, 10, 7] Generated Node #0,0: 88:[14, 10, 7] Operation: 72-65=7 Exploring Operation: 65-14=51, Resulting Numbers: [72, 10, 51] Generated Node #0,1: 88:[72, 10, 51] Operation: 65-14=51 Exploring Operation: 14+65=79, Resulting Numbers: [72, 10, 79] Generated Node #0,2: 88:[72, 10, 79] Operation: 14+65=79 Exploring Operation: 72+14=86, Resulting Numbers: [10, 65, 86] Generated Node #0,3: 88:[10, 65, 86] Operation: 72+14=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[14, 10, 7], Operations: ['72-65=7'] Exploring Operation: 14/7=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 88:[10, 2] Operation: 14/7=2 Exploring Operation: 14+7=21, Resulting Numbers: [10, 21] Generated Node #0,0,1: 88:[10, 21] Operation: 14+7=21 Exploring Operation: 14-10=4, Resulting Numbers: [7, 4] Generated Node #0,0,2: 88:[7, 4] Operation: 14-10=4 Exploring Operation: 14-7=7, Resulting Numbers: [10, 7] Generated Node #0,0,3: 88:[10, 7] Operation: 14-7=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[10, 2], Operations: ['72-65=7', '14/7=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,88 unequal: No Solution No 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: 88:[7, 4], Operations: ['72-65=7', '14-10=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,88 unequal: No Solution No 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: 88:[10, 21], Operations: ['72-65=7', '14+7=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,88 unequal: No Solution No 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: 88:[10, 7], Operations: ['72-65=7', '14-7=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,88 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: 88:[72, 10, 51], Operations: ['65-14=51'] Exploring Operation: 51-10=41, Resulting Numbers: [72, 41] Generated Node #0,1,0: 88:[72, 41] Operation: 51-10=41 Exploring Operation: 72-51=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 88:[10, 21] Operation: 72-51=21 Exploring Operation: 72-10=62, Resulting Numbers: [51, 62] Generated Node #0,1,2: 88:[51, 62] Operation: 72-10=62 Exploring Operation: 72+10=82, Resulting Numbers: [51, 82] Generated Node #0,1,3: 88:[51, 82] Operation: 72+10=82 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[10, 21], Operations: ['65-14=51', '72-51=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,88 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,88 unequal: No Solution No 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: 88:[51, 82], Operations: ['65-14=51', '72+10=82'] Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,88 unequal: No Solution Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,88 unequal: No Solution No 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: 88:[72, 41], Operations: ['65-14=51', '51-10=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,88 unequal: No Solution No 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: 88:[51, 62], Operations: ['65-14=51', '72-10=62'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,88 unequal: No Solution Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,88 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: 88:[10, 65, 86], Operations: ['72+14=86'] Exploring Operation: 65-10=55, Resulting Numbers: [86, 55] Generated Node #0,3,0: 88:[86, 55] Operation: 65-10=55 Exploring Operation: 10+65=75, Resulting Numbers: [86, 75] Generated Node #0,3,1: 88:[86, 75] Operation: 10+65=75 Exploring Operation: 86-65=21, Resulting Numbers: [10, 21] Generated Node #0,3,2: 88:[10, 21] Operation: 86-65=21 Exploring Operation: 10+86=96, Resulting Numbers: [65, 96] Generated Node #0,3,3: 88:[65, 96] Operation: 10+86=96 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[10, 21], Operations: ['72+14=86', '86-65=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,88 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,88 unequal: No Solution No 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: 88:[86, 55], Operations: ['72+14=86', '65-10=55'] Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,88 unequal: No Solution Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,88 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,88 unequal: No Solution No 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: 88:[86, 75], Operations: ['72+14=86', '10+65=75'] Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,88 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,88 unequal: No Solution No 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: 88:[65, 96], Operations: ['72+14=86', '10+86=96'] Exploring Operation: 65*96=6240, Resulting Numbers: [6240] 6240,88 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 65+96=161, Resulting Numbers: [161] 161,88 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: 88:[72, 10, 79], Operations: ['14+65=79'] Exploring Operation: 10+79=89, Resulting Numbers: [72, 89] Generated Node #0,2,0: 88:[72, 89] Operation: 10+79=89 Exploring Operation: 79-72=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 88:[10, 7] Operation: 79-72=7 Exploring Operation: 72+10=82, Resulting Numbers: [79, 82] Generated Node #0,2,2: 88:[79, 82] Operation: 72+10=82 Exploring Operation: 72-10=62, Resulting Numbers: [79, 62] Generated Node #0,2,3: 88:[79, 62] Operation: 72-10=62 Moving to Node #0,2,1 Current State: 88:[10, 7], Operations: ['14+65=79', '79-72=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[79, 82], Operations: ['14+65=79', '72+10=82'] Exploring Operation: 79*82=6478, Resulting Numbers: [6478] 6478,88 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 79+82=161, Resulting Numbers: [161] 161,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[72, 89], Operations: ['14+65=79', '10+79=89'] Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,88 unequal: No Solution Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[79, 62], Operations: ['14+65=79', '72-10=62'] Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 79+62=141, Resulting Numbers: [141] 141,88 unequal: No Solution Exploring Operation: 79*62=4898, Resulting Numbers: [4898] 4898,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 72, 93, 42, 18 ]
39
[ "93-72=21", "42+18=60", "60-21=39" ]
Current State: 39:[72, 93, 42, 18], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [42, 18, 21] Generated Node #2: [42, 18, 21] from Operation: 93-72=21 Current State: 39:[42, 18, 21], Operations: ['93-72=21'] Exploring Operation: 42+18=60, Resulting Numbers: [21, 60] Generated Node #3: [21, 60] from Operation: 42+18=60 Current State: 39:[21, 60], Operations: ['93-72=21', '42+18=60'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[72, 93, 42, 18], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [72, 18, 51] Generated Node #0,0: 39:[72, 18, 51] Operation: 93-42=51 Exploring Operation: 72-18=54, Resulting Numbers: [93, 42, 54] Generated Node #0,1: 39:[93, 42, 54] Operation: 72-18=54 Exploring Operation: 72/18=4, Resulting Numbers: [93, 42, 4] Generated Node #0,2: 39:[93, 42, 4] Operation: 72/18=4 Exploring Operation: 72-42=30, Resulting Numbers: [93, 18, 30] Generated Node #0,3: 39:[93, 18, 30] Operation: 72-42=30 Exploring Operation: 93-72=21, Resulting Numbers: [42, 18, 21] Generated Node #0,4: 39:[42, 18, 21] Operation: 93-72=21 Moving to Node #0,4 Current State: 39:[42, 18, 21], Operations: ['93-72=21'] Exploring Operation: 42-18=24, Resulting Numbers: [21, 24] Generated Node #0,4,0: 39:[21, 24] Operation: 42-18=24 Exploring Operation: 42-21=21, Resulting Numbers: [18, 21] Generated Node #0,4,1: 39:[18, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [18, 2] Generated Node #0,4,2: 39:[18, 2] Operation: 42/21=2 Exploring Operation: 21-18=3, Resulting Numbers: [42, 3] Generated Node #0,4,3: 39:[42, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [42, 39] Generated Node #0,4,4: 39:[42, 39] Operation: 18+21=39 Moving to Node #0,0 Current State: 39:[72, 18, 51], Operations: ['93-42=51'] Exploring Operation: 51-18=33, Resulting Numbers: [72, 33] Generated Node #0,0,0: 39:[72, 33] Operation: 51-18=33 Exploring Operation: 72/18=4, Resulting Numbers: [51, 4] Generated Node #0,0,1: 39:[51, 4] Operation: 72/18=4 Exploring Operation: 72-51=21, Resulting Numbers: [18, 21] Generated Node #0,0,2: 39:[18, 21] Operation: 72-51=21 Exploring Operation: 72-18=54, Resulting Numbers: [51, 54] Generated Node #0,0,3: 39:[51, 54] Operation: 72-18=54 Exploring Operation: 72+18=90, Resulting Numbers: [51, 90] Generated Node #0,0,4: 39:[51, 90] Operation: 72+18=90 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[51, 4], Operations: ['93-42=51', '72/18=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,39 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[18, 21], Operations: ['93-42=51', '72-51=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[72, 93, 42, 18], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [72, 18, 51] Generated Node #0,0: 39:[72, 18, 51] Operation: 93-42=51 Moving to Node #0,0 Current State: 39:[72, 18, 51], Operations: ['93-42=51'] Exploring Operation: 72-51=21, Resulting Numbers: [18, 21] Generated Node #0,0,2: 39:[18, 21] Operation: 72-51=21 Moving to Node #0,0,2 Current State: 39:[18, 21], Operations: ['93-42=51', '72-51=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 28, 83, 66, 32 ]
89
[ "83-28=55", "66-32=34", "55+34=89" ]
Current State: 89:[28, 83, 66, 32], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [66, 32, 55] Generated Node #2: [66, 32, 55] from Operation: 83-28=55 Current State: 89:[66, 32, 55], Operations: ['83-28=55'] Exploring Operation: 66-32=34, Resulting Numbers: [55, 34] Generated Node #3: [55, 34] from Operation: 66-32=34 Current State: 89:[55, 34], Operations: ['83-28=55', '66-32=34'] Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[28, 83, 66, 32], Operations: [] Exploring Operation: 28+32=60, Resulting Numbers: [83, 66, 60] Generated Node #0,0: 89:[83, 66, 60] Operation: 28+32=60 Moving to Node #0,0 Current State: 89:[83, 66, 60], Operations: ['28+32=60'] Exploring Operation: 66+60=126, Resulting Numbers: [83, 126] Generated Node #0,0,0: 89:[83, 126] Operation: 66+60=126 Moving to Node #0,0,0 Current State: 89:[83, 126], Operations: ['28+32=60', '66+60=126'] Exploring Operation: 126-83=43, Resulting Numbers: [43] 43,89 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 22, 91, 88, 16 ]
95
[ "88/22=4", "16/4=4", "91+4=95" ]
Current State: 95:[22, 91, 88, 16], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [91, 16, 4] Generated Node #2: [91, 16, 4] from Operation: 88/22=4 Current State: 95:[91, 16, 4], Operations: ['88/22=4'] Exploring Operation: 16/4=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 16/4=4 Current State: 95:[91, 4], Operations: ['88/22=4', '16/4=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[22, 91, 88, 16], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [91, 16, 4] Generated Node #0,0: 95:[91, 16, 4] Operation: 88/22=4 Exploring Operation: 91-88=3, Resulting Numbers: [22, 16, 3] Generated Node #0,1: 95:[22, 16, 3] Operation: 91-88=3 Exploring Operation: 22-16=6, Resulting Numbers: [91, 88, 6] Generated Node #0,2: 95:[91, 88, 6] Operation: 22-16=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[91, 16, 4], Operations: ['88/22=4'] Exploring Operation: 16+4=20, Resulting Numbers: [91, 20] Generated Node #0,0,0: 95:[91, 20] Operation: 16+4=20 Exploring Operation: 16/4=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 95:[91, 4] Operation: 16/4=4 Exploring Operation: 91+4=95, Resulting Numbers: [16, 95] Generated Node #0,0,2: 95:[16, 95] Operation: 91+4=95 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[16, 95], Operations: ['88/22=4', '91+4=95'] Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 16*95=1520, Resulting Numbers: [1520] 1520,95 unequal: No Solution Exploring Operation: 16+95=111, Resulting Numbers: [111] 111,95 unequal: No Solution No 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: 95:[91, 20], Operations: ['88/22=4', '16+4=20'] Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,95 unequal: No Solution Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,95 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,95 unequal: No Solution No 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: 95:[91, 4], Operations: ['88/22=4', '16/4=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[22, 91, 88, 16], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [91, 16, 4] Generated Node #0,0: 95:[91, 16, 4] Operation: 88/22=4 Moving to Node #0,0 Current State: 95:[91, 16, 4], Operations: ['88/22=4'] Exploring Operation: 16/4=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 95:[91, 4] Operation: 16/4=4 Moving to Node #0,0,1 Current State: 95:[91, 4], Operations: ['88/22=4', '16/4=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 51, 94, 12, 65 ]
74
[ "65-51=14", "12*14=168", "168-94=74" ]
Current State: 74:[51, 94, 12, 65], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [94, 12, 14] Generated Node #2: [94, 12, 14] from Operation: 65-51=14 Current State: 74:[94, 12, 14], Operations: ['65-51=14'] Exploring Operation: 12*14=168, Resulting Numbers: [94, 168] Generated Node #3: [94, 168] from Operation: 12*14=168 Current State: 74:[94, 168], Operations: ['65-51=14', '12*14=168'] Exploring Operation: 168-94=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[51, 94, 12, 65], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [12, 65, 43] Generated Node #0,0: 74:[12, 65, 43] Operation: 94-51=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[12, 65, 43], Operations: ['94-51=43'] Exploring Operation: 12+65=77, Resulting Numbers: [43, 77] Generated Node #0,0,0: 74:[43, 77] Operation: 12+65=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[43, 77], Operations: ['94-51=43', '12+65=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 42, 60, 70, 41 ]
77
[ "42*60=2520", "2520/70=36", "41+36=77" ]
Current State: 77:[42, 60, 70, 41], Operations: [] Exploring Operation: 42*60=2520, Resulting Numbers: [70, 41, 2520] Generated Node #2: [70, 41, 2520] from Operation: 42*60=2520 Current State: 77:[70, 41, 2520], Operations: ['42*60=2520'] Exploring Operation: 2520/70=36, Resulting Numbers: [41, 36] Generated Node #3: [41, 36] from Operation: 2520/70=36 Current State: 77:[41, 36], Operations: ['42*60=2520', '2520/70=36'] Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[42, 60, 70, 41], Operations: [] Exploring Operation: 42+41=83, Resulting Numbers: [60, 70, 83] Generated Node #0,0: 77:[60, 70, 83] Operation: 42+41=83 Exploring Operation: 42-41=1, Resulting Numbers: [60, 70, 1] Generated Node #0,1: 77:[60, 70, 1] Operation: 42-41=1 Exploring Operation: 60-42=18, Resulting Numbers: [70, 41, 18] Generated Node #0,2: 77:[70, 41, 18] Operation: 60-42=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[60, 70, 83], Operations: ['42+41=83'] Exploring Operation: 83-70=13, Resulting Numbers: [60, 13] Generated Node #0,0,0: 77:[60, 13] Operation: 83-70=13 Exploring Operation: 70-60=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 77:[83, 10] Operation: 70-60=10 Exploring Operation: 83-60=23, Resulting Numbers: [70, 23] Generated Node #0,0,2: 77:[70, 23] Operation: 83-60=23 Moving to Node #0,0,1 Current State: 77:[83, 10], Operations: ['42+41=83', '70-60=10'] Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,77 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[60, 13], Operations: ['42+41=83', '83-70=13'] Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,77 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[70, 23], Operations: ['42+41=83', '83-60=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,77 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[60, 70, 1], Operations: ['42-41=1'] Exploring Operation: 70-60=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 77:[1, 10] Operation: 70-60=10 Exploring Operation: 70+1=71, Resulting Numbers: [60, 71] Generated Node #0,1,1: 77:[60, 71] Operation: 70+1=71 Exploring Operation: 60+1=61, Resulting Numbers: [70, 61] Generated Node #0,1,2: 77:[70, 61] Operation: 60+1=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[1, 10], Operations: ['42-41=1', '70-60=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,77 unequal: No Solution No 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: 77:[60, 71], Operations: ['42-41=1', '70+1=71'] Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,77 unequal: No Solution Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,77 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,77 unequal: No Solution No 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: 77:[70, 61], Operations: ['42-41=1', '60+1=61'] Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,77 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,77 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: 77:[70, 41, 18], Operations: ['60-42=18'] Exploring Operation: 70-41=29, Resulting Numbers: [18, 29] Generated Node #0,2,0: 77:[18, 29] Operation: 70-41=29 Exploring Operation: 41+18=59, Resulting Numbers: [70, 59] Generated Node #0,2,1: 77:[70, 59] Operation: 41+18=59 Exploring Operation: 41-18=23, Resulting Numbers: [70, 23] Generated Node #0,2,2: 77:[70, 23] Operation: 41-18=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 77:[70, 23], Operations: ['60-42=18', '41-18=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,77 unequal: No Solution No 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: 77:[18, 29], Operations: ['60-42=18', '70-41=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,77 unequal: No Solution No 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: 77:[70, 59], Operations: ['60-42=18', '41+18=59'] Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,77 unequal: No Solution Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,77 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
[ 14, 10, 46, 74 ]
40
[ "74-14=60", "60/10=6", "46-6=40" ]
Current State: 40:[14, 10, 46, 74], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [10, 46, 60] Generated Node #2: [10, 46, 60] from Operation: 74-14=60 Current State: 40:[10, 46, 60], Operations: ['74-14=60'] Exploring Operation: 60/10=6, Resulting Numbers: [46, 6] Generated Node #3: [46, 6] from Operation: 60/10=6 Current State: 40:[46, 6], Operations: ['74-14=60', '60/10=6'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[14, 10, 46, 74], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [14, 46, 64] Generated Node #0,0: 40:[14, 46, 64] Operation: 74-10=64 Exploring Operation: 14-10=4, Resulting Numbers: [46, 74, 4] Generated Node #0,1: 40:[46, 74, 4] Operation: 14-10=4 Exploring Operation: 74-14=60, Resulting Numbers: [10, 46, 60] Generated Node #0,2: 40:[10, 46, 60] Operation: 74-14=60 Exploring Operation: 74-46=28, Resulting Numbers: [14, 10, 28] Generated Node #0,3: 40:[14, 10, 28] Operation: 74-46=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[14, 10, 28], Operations: ['74-46=28'] Exploring Operation: 28/14=2, Resulting Numbers: [10, 2] Generated Node #0,3,0: 40:[10, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [10, 42] Generated Node #0,3,1: 40:[10, 42] Operation: 14+28=42 Exploring Operation: 10+28=38, Resulting Numbers: [14, 38] Generated Node #0,3,2: 40:[14, 38] Operation: 10+28=38 Exploring Operation: 28-14=14, Resulting Numbers: [10, 14] Generated Node #0,3,3: 40:[10, 14] Operation: 28-14=14 Moving to Node #0,3,0 Current State: 40:[10, 2], Operations: ['74-46=28', '28/14=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[10, 42], Operations: ['74-46=28', '14+28=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,40 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[10, 14], Operations: ['74-46=28', '28-14=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,40 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[14, 38], Operations: ['74-46=28', '10+28=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,40 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[10, 46, 60], Operations: ['74-14=60'] Exploring Operation: 46-10=36, Resulting Numbers: [60, 36] Generated Node #0,2,0: 40:[60, 36] Operation: 46-10=36 Exploring Operation: 60-10=50, Resulting Numbers: [46, 50] Generated Node #0,2,1: 40:[46, 50] Operation: 60-10=50 Exploring Operation: 60/10=6, Resulting Numbers: [46, 6] Generated Node #0,2,2: 40:[46, 6] Operation: 60/10=6 Exploring Operation: 60-46=14, Resulting Numbers: [10, 14] Generated Node #0,2,3: 40:[10, 14] Operation: 60-46=14 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[10, 14], Operations: ['74-14=60', '60-46=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[46, 6], Operations: ['74-14=60', '60/10=6'] Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,40 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[14, 10, 46, 74], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [10, 46, 60] Generated Node #0,2: 40:[10, 46, 60] Operation: 74-14=60 Moving to Node #0,2 Current State: 40:[10, 46, 60], Operations: ['74-14=60'] Exploring Operation: 60/10=6, Resulting Numbers: [46, 6] Generated Node #0,2,2: 40:[46, 6] Operation: 60/10=6 Moving to Node #0,2,2 Current State: 40:[46, 6], Operations: ['74-14=60', '60/10=6'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 21, 70, 50, 79 ]
94
[ "21*50=1050", "1050/70=15", "79+15=94" ]
Current State: 94:[21, 70, 50, 79], Operations: [] Exploring Operation: 21*50=1050, Resulting Numbers: [70, 79, 1050] Generated Node #2: [70, 79, 1050] from Operation: 21*50=1050 Current State: 94:[70, 79, 1050], Operations: ['21*50=1050'] Exploring Operation: 1050/70=15, Resulting Numbers: [79, 15] Generated Node #3: [79, 15] from Operation: 1050/70=15 Current State: 94:[79, 15], Operations: ['21*50=1050', '1050/70=15'] Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[21, 70, 50, 79], Operations: [] Exploring Operation: 21+70=91, Resulting Numbers: [50, 79, 91] Generated Node #0,0: 94:[50, 79, 91] Operation: 21+70=91 Exploring Operation: 70-21=49, Resulting Numbers: [50, 79, 49] Generated Node #0,1: 94:[50, 79, 49] Operation: 70-21=49 Exploring Operation: 79-70=9, Resulting Numbers: [21, 50, 9] Generated Node #0,2: 94:[21, 50, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[50, 79, 49], Operations: ['70-21=49'] Exploring Operation: 50-49=1, Resulting Numbers: [79, 1] Generated Node #0,1,0: 94:[79, 1] Operation: 50-49=1 Exploring Operation: 79-50=29, Resulting Numbers: [49, 29] Generated Node #0,1,1: 94:[49, 29] Operation: 79-50=29 Exploring Operation: 50+49=99, Resulting Numbers: [79, 99] Generated Node #0,1,2: 94:[79, 99] Operation: 50+49=99 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[79, 1], Operations: ['70-21=49', '50-49=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,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,1 Current State: 94:[49, 29], Operations: ['70-21=49', '79-50=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,94 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,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:[79, 99], Operations: ['70-21=49', '50+49=99'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 79+99=178, Resulting Numbers: [178] 178,94 unequal: No Solution Exploring Operation: 79*99=7821, Resulting Numbers: [7821] 7821,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,0 Current State: 94:[50, 79, 91], Operations: ['21+70=91'] Exploring Operation: 91-50=41, Resulting Numbers: [79, 41] Generated Node #0,0,0: 94:[79, 41] Operation: 91-50=41 Exploring Operation: 79-50=29, Resulting Numbers: [91, 29] Generated Node #0,0,1: 94:[91, 29] Operation: 79-50=29 Exploring Operation: 91-79=12, Resulting Numbers: [50, 12] Generated Node #0,0,2: 94:[50, 12] Operation: 91-79=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[50, 12], Operations: ['21+70=91', '91-79=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,94 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,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,0 Current State: 94:[79, 41], Operations: ['21+70=91', '91-50=41'] Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,94 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,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:[91, 29], Operations: ['21+70=91', '79-50=29'] Exploring Operation: 91+29=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 91*29=2639, Resulting Numbers: [2639] 2639,94 unequal: No Solution Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,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:[21, 50, 9], Operations: ['79-70=9'] Exploring Operation: 50-21=29, Resulting Numbers: [9, 29] Generated Node #0,2,0: 94:[9, 29] Operation: 50-21=29 Exploring Operation: 21-9=12, Resulting Numbers: [50, 12] Generated Node #0,2,1: 94:[50, 12] Operation: 21-9=12 Exploring Operation: 21+9=30, Resulting Numbers: [50, 30] Generated Node #0,2,2: 94:[50, 30] Operation: 21+9=30 Moving to Node #0,2,1 Current State: 94:[50, 12], Operations: ['79-70=9', '21-9=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,94 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[50, 30], Operations: ['79-70=9', '21+9=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,94 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[9, 29], Operations: ['79-70=9', '50-21=29'] Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,94 unequal: No Solution Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,94 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
[ 10, 77, 87, 71 ]
70
[ "10+77=87", "87/87=1", "71-1=70" ]
Current State: 70:[10, 77, 87, 71], Operations: [] Exploring Operation: 10+77=87, Resulting Numbers: [87, 71, 87] Generated Node #2: [87, 71, 87] from Operation: 10+77=87 Current State: 70:[87, 71, 87], Operations: ['10+77=87'] Exploring Operation: 87/87=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 87/87=1 Current State: 70:[71, 1], Operations: ['10+77=87', '87/87=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 77, 87, 71], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [10, 71, 10] Generated Node #0,0: 70:[10, 71, 10] Operation: 87-77=10 Exploring Operation: 87-71=16, Resulting Numbers: [10, 77, 16] Generated Node #0,1: 70:[10, 77, 16] Operation: 87-71=16 Exploring Operation: 77-71=6, Resulting Numbers: [10, 87, 6] Generated Node #0,2: 70:[10, 87, 6] Operation: 77-71=6 Exploring Operation: 87-10=77, Resulting Numbers: [77, 71, 77] Generated Node #0,3: 70:[77, 71, 77] Operation: 87-10=77 Moving to Node #0,0 Current State: 70:[10, 71, 10], Operations: ['87-77=10'] Exploring Operation: 10/10=1, Resulting Numbers: [71, 1] Generated Node #0,0,0: 70:[71, 1] Operation: 10/10=1 Exploring Operation: 10-10=0, Resulting Numbers: [71, 0] Generated Node #0,0,1: 70:[71, 0] Operation: 10-10=0 Exploring Operation: 10+10=20, Resulting Numbers: [71, 20] Generated Node #0,0,2: 70:[71, 20] Operation: 10+10=20 Exploring Operation: 71-10=61, Resulting Numbers: [10, 61] Generated Node #0,0,3: 70:[10, 61] Operation: 71-10=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[71, 1], Operations: ['87-77=10', '10/10=1'] Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[10, 77, 87, 71], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [10, 71, 10] Generated Node #0,0: 70:[10, 71, 10] Operation: 87-77=10 Moving to Node #0,0 Current State: 70:[10, 71, 10], Operations: ['87-77=10'] Exploring Operation: 10/10=1, Resulting Numbers: [71, 1] Generated Node #0,0,0: 70:[71, 1] Operation: 10/10=1 Moving to Node #0,0,0 Current State: 70:[71, 1], Operations: ['87-77=10', '10/10=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 7, 86, 40, 63 ]
81
[ "86+40=126", "126/7=18", "63+18=81" ]
Current State: 81:[7, 86, 40, 63], Operations: [] Exploring Operation: 86+40=126, Resulting Numbers: [7, 63, 126] Generated Node #2: [7, 63, 126] from Operation: 86+40=126 Current State: 81:[7, 63, 126], Operations: ['86+40=126'] Exploring Operation: 126/7=18, Resulting Numbers: [63, 18] Generated Node #3: [63, 18] from Operation: 126/7=18 Current State: 81:[63, 18], Operations: ['86+40=126', '126/7=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[7, 86, 40, 63], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [7, 86, 23] Generated Node #0,0: 81:[7, 86, 23] Operation: 63-40=23 Exploring Operation: 63/7=9, Resulting Numbers: [86, 40, 9] Generated Node #0,1: 81:[86, 40, 9] Operation: 63/7=9 Moving to Node #0,0 Current State: 81:[7, 86, 23], Operations: ['63-40=23'] Exploring Operation: 7+23=30, Resulting Numbers: [86, 30] Generated Node #0,0,0: 81:[86, 30] Operation: 7+23=30 Exploring Operation: 86-7=79, Resulting Numbers: [23, 79] Generated Node #0,0,1: 81:[23, 79] Operation: 86-7=79 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[23, 79], Operations: ['63-40=23', '86-7=79'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 23+79=102, Resulting Numbers: [102] 102,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,0,0 Current State: 81:[86, 30], Operations: ['63-40=23', '7+23=30'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,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:[86, 40, 9], Operations: ['63/7=9'] Exploring Operation: 40-9=31, Resulting Numbers: [86, 31] Generated Node #0,1,0: 81:[86, 31] Operation: 40-9=31 Exploring Operation: 86-9=77, Resulting Numbers: [40, 77] Generated Node #0,1,1: 81:[40, 77] Operation: 86-9=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[86, 31], Operations: ['63/7=9', '40-9=31'] Exploring Operation: 86+31=117, Resulting Numbers: [117] 117,81 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,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,1 Current State: 81:[40, 77], Operations: ['63/7=9', '86-9=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 77, 35, 75, 3 ]
16
[ "77-75=2", "35-3=32", "32/2=16" ]
Current State: 16:[77, 35, 75, 3], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [35, 3, 2] Generated Node #2: [35, 3, 2] from Operation: 77-75=2 Current State: 16:[35, 3, 2], Operations: ['77-75=2'] Exploring Operation: 35-3=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 35-3=32 Current State: 16:[2, 32], Operations: ['77-75=2', '35-3=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[77, 35, 75, 3], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [77, 3, 40] Generated Node #0,0: 16:[77, 3, 40] Operation: 75-35=40 Exploring Operation: 77-75=2, Resulting Numbers: [35, 3, 2] Generated Node #0,1: 16:[35, 3, 2] Operation: 77-75=2 Exploring Operation: 77-35=42, Resulting Numbers: [75, 3, 42] Generated Node #0,2: 16:[75, 3, 42] Operation: 77-35=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[35, 3, 2], Operations: ['77-75=2'] Exploring Operation: 35-3=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 16:[2, 32] Operation: 35-3=32 Exploring Operation: 3+2=5, Resulting Numbers: [35, 5] Generated Node #0,1,1: 16:[35, 5] Operation: 3+2=5 Exploring Operation: 35-2=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 16:[3, 33] Operation: 35-2=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[2, 32], Operations: ['77-75=2', '35-3=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[77, 35, 75, 3], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [35, 3, 2] Generated Node #0,1: 16:[35, 3, 2] Operation: 77-75=2 Moving to Node #0,1 Current State: 16:[35, 3, 2], Operations: ['77-75=2'] Exploring Operation: 35-3=32, Resulting Numbers: [2, 32] Generated Node #0,1,0: 16:[2, 32] Operation: 35-3=32 Moving to Node #0,1,0 Current State: 16:[2, 32], Operations: ['77-75=2', '35-3=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 44, 22, 11, 24 ]
42
[ "44/11=4", "22+24=46", "46-4=42" ]
Current State: 42:[44, 22, 11, 24], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [22, 24, 4] Generated Node #2: [22, 24, 4] from Operation: 44/11=4 Current State: 42:[22, 24, 4], Operations: ['44/11=4'] Exploring Operation: 22+24=46, Resulting Numbers: [4, 46] Generated Node #3: [4, 46] from Operation: 22+24=46 Current State: 42:[4, 46], Operations: ['44/11=4', '22+24=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[44, 22, 11, 24], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [22, 24, 4] Generated Node #0,0: 42:[22, 24, 4] Operation: 44/11=4 Exploring Operation: 24-11=13, Resulting Numbers: [44, 22, 13] Generated Node #0,1: 42:[44, 22, 13] Operation: 24-11=13 Exploring Operation: 44-24=20, Resulting Numbers: [22, 11, 20] Generated Node #0,2: 42:[22, 11, 20] Operation: 44-24=20 Exploring Operation: 22/11=2, Resulting Numbers: [44, 24, 2] Generated Node #0,3: 42:[44, 24, 2] Operation: 22/11=2 Moving to Node #0,1 Current State: 42:[44, 22, 13], Operations: ['24-11=13'] Exploring Operation: 22-13=9, Resulting Numbers: [44, 9] Generated Node #0,1,0: 42:[44, 9] Operation: 22-13=9 Exploring Operation: 44/22=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 42:[13, 2] Operation: 44/22=2 Exploring Operation: 22+13=35, Resulting Numbers: [44, 35] Generated Node #0,1,2: 42:[44, 35] Operation: 22+13=35 Exploring Operation: 44-22=22, Resulting Numbers: [13, 22] Generated Node #0,1,3: 42:[13, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[13, 2], Operations: ['24-11=13', '44/22=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[13, 22], Operations: ['24-11=13', '44-22=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,42 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[44, 9], Operations: ['24-11=13', '22-13=9'] Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,42 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[44, 35], Operations: ['24-11=13', '22+13=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,42 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,42 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: 42:[22, 11, 20], Operations: ['44-24=20'] Exploring Operation: 22+20=42, Resulting Numbers: [11, 42] Generated Node #0,2,0: 42:[11, 42] Operation: 22+20=42 Exploring Operation: 22-20=2, Resulting Numbers: [11, 2] Generated Node #0,2,1: 42:[11, 2] Operation: 22-20=2 Exploring Operation: 22/11=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 42:[20, 2] Operation: 22/11=2 Exploring Operation: 20-11=9, Resulting Numbers: [22, 9] Generated Node #0,2,3: 42:[22, 9] Operation: 20-11=9 Moving to Node #0,0 Current State: 42:[22, 24, 4], Operations: ['44/11=4'] Exploring Operation: 24-4=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 42:[22, 20] Operation: 24-4=20 Exploring Operation: 22+24=46, Resulting Numbers: [4, 46] Generated Node #0,0,1: 42:[4, 46] Operation: 22+24=46 Exploring Operation: 24/4=6, Resulting Numbers: [22, 6] Generated Node #0,0,2: 42:[22, 6] Operation: 24/4=6 Exploring Operation: 24-22=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 42:[4, 2] Operation: 24-22=2 Moving to Node #0,3 Current State: 42:[44, 24, 2], Operations: ['22/11=2'] Exploring Operation: 44/2=22, Resulting Numbers: [24, 22] Generated Node #0,3,0: 42:[24, 22] Operation: 44/2=22 Exploring Operation: 24-2=22, Resulting Numbers: [44, 22] Generated Node #0,3,1: 42:[44, 22] Operation: 24-2=22 Exploring Operation: 44-2=42, Resulting Numbers: [24, 42] Generated Node #0,3,2: 42:[24, 42] Operation: 44-2=42 Exploring Operation: 44-24=20, Resulting Numbers: [2, 20] Generated Node #0,3,3: 42:[2, 20] Operation: 44-24=20 Moving to Node #0,2,2 Current State: 42:[20, 2], Operations: ['44-24=20', '22/11=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[4, 2], Operations: ['44/11=4', '24-22=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[22, 6], Operations: ['44/11=4', '24/4=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[2, 20], Operations: ['22/11=2', '44-24=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[22, 20], Operations: ['44/11=4', '24-4=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,42 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[44, 22, 11, 24], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [22, 24, 4] Generated Node #0,0: 42:[22, 24, 4] Operation: 44/11=4 Moving to Node #0,0 Current State: 42:[22, 24, 4], Operations: ['44/11=4'] Exploring Operation: 24-4=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 42:[22, 20] Operation: 24-4=20 Moving to Node #0,0,0 Current State: 42:[22, 20], Operations: ['44/11=4', '24-4=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 25, 20, 32, 57 ]
19
[ "25+32=57", "57/57=1", "20-1=19" ]
Current State: 19:[25, 20, 32, 57], Operations: [] Exploring Operation: 25+32=57, Resulting Numbers: [20, 57, 57] Generated Node #2: [20, 57, 57] from Operation: 25+32=57 Current State: 19:[20, 57, 57], Operations: ['25+32=57'] Exploring Operation: 57/57=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 57/57=1 Current State: 19:[20, 1], Operations: ['25+32=57', '57/57=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[25, 20, 32, 57], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [25, 20, 25] Generated Node #0,0: 19:[25, 20, 25] Operation: 57-32=25 Exploring Operation: 57-25=32, Resulting Numbers: [20, 32, 32] Generated Node #0,1: 19:[20, 32, 32] Operation: 57-25=32 Exploring Operation: 57-20=37, Resulting Numbers: [25, 32, 37] Generated Node #0,2: 19:[25, 32, 37] Operation: 57-20=37 Exploring Operation: 32-25=7, Resulting Numbers: [20, 57, 7] Generated Node #0,3: 19:[20, 57, 7] Operation: 32-25=7 Moving to Node #0,0 Current State: 19:[25, 20, 25], Operations: ['57-32=25'] Exploring Operation: 25-25=0, Resulting Numbers: [20, 0] Generated Node #0,0,0: 19:[20, 0] Operation: 25-25=0 Exploring Operation: 25-20=5, Resulting Numbers: [25, 5] Generated Node #0,0,1: 19:[25, 5] Operation: 25-20=5 Exploring Operation: 25-20=5, Resulting Numbers: [25, 5] Generated Node #0,0,2: 19:[25, 5] Operation: 25-20=5 Exploring Operation: 25/25=1, Resulting Numbers: [20, 1] Generated Node #0,0,3: 19:[20, 1] Operation: 25/25=1 Moving to Node #0,1 Current State: 19:[20, 32, 32], Operations: ['57-25=32'] Exploring Operation: 32-20=12, Resulting Numbers: [32, 12] Generated Node #0,1,0: 19:[32, 12] Operation: 32-20=12 Exploring Operation: 32-32=0, Resulting Numbers: [20, 0] Generated Node #0,1,1: 19:[20, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [20, 1] Generated Node #0,1,2: 19:[20, 1] Operation: 32/32=1 Exploring Operation: 32-20=12, Resulting Numbers: [32, 12] Generated Node #0,1,3: 19:[32, 12] Operation: 32-20=12 Moving to Node #0,2 Current State: 19:[25, 32, 37], Operations: ['57-20=37'] Exploring Operation: 32-25=7, Resulting Numbers: [37, 7] Generated Node #0,2,0: 19:[37, 7] Operation: 32-25=7 Exploring Operation: 37-25=12, Resulting Numbers: [32, 12] Generated Node #0,2,1: 19:[32, 12] Operation: 37-25=12 Exploring Operation: 37-32=5, Resulting Numbers: [25, 5] Generated Node #0,2,2: 19:[25, 5] Operation: 37-32=5 Exploring Operation: 25+32=57, Resulting Numbers: [37, 57] Generated Node #0,2,3: 19:[37, 57] Operation: 25+32=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[32, 12], Operations: ['57-20=37', '37-25=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,19 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,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,2,2 Current State: 19:[25, 5], Operations: ['57-20=37', '37-32=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,19 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,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,2,0 Current State: 19:[37, 7], Operations: ['57-20=37', '32-25=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,19 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,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,2,3 Current State: 19:[37, 57], Operations: ['57-20=37', '25+32=57'] Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,19 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,19 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: 19:[20, 57, 7], Operations: ['32-25=7'] Exploring Operation: 57-7=50, Resulting Numbers: [20, 50] Generated Node #0,3,0: 19:[20, 50] Operation: 57-7=50 Exploring Operation: 57-20=37, Resulting Numbers: [7, 37] Generated Node #0,3,1: 19:[7, 37] Operation: 57-20=37 Exploring Operation: 20-7=13, Resulting Numbers: [57, 13] Generated Node #0,3,2: 19:[57, 13] Operation: 20-7=13 Exploring Operation: 20+7=27, Resulting Numbers: [57, 27] Generated Node #0,3,3: 19:[57, 27] Operation: 20+7=27 Moving to Node #0,0,3 Current State: 19:[20, 1], Operations: ['57-32=25', '25/25=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[25, 20, 32, 57], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [25, 20, 25] Generated Node #0,0: 19:[25, 20, 25] Operation: 57-32=25 Moving to Node #0,0 Current State: 19:[25, 20, 25], Operations: ['57-32=25'] Exploring Operation: 25/25=1, Resulting Numbers: [20, 1] Generated Node #0,0,3: 19:[20, 1] Operation: 25/25=1 Moving to Node #0,0,3 Current State: 19:[20, 1], Operations: ['57-32=25', '25/25=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 62, 1, 77, 41 ]
57
[ "62-1=61", "77+41=118", "118-61=57" ]
Current State: 57:[62, 1, 77, 41], Operations: [] Exploring Operation: 62-1=61, Resulting Numbers: [77, 41, 61] Generated Node #2: [77, 41, 61] from Operation: 62-1=61 Current State: 57:[77, 41, 61], Operations: ['62-1=61'] Exploring Operation: 77+41=118, Resulting Numbers: [61, 118] Generated Node #3: [61, 118] from Operation: 77+41=118 Current State: 57:[61, 118], Operations: ['62-1=61', '77+41=118'] Exploring Operation: 118-61=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[62, 1, 77, 41], Operations: [] Exploring Operation: 62-1=61, Resulting Numbers: [77, 41, 61] Generated Node #0,0: 57:[77, 41, 61] Operation: 62-1=61 Exploring Operation: 77-41=36, Resulting Numbers: [62, 1, 36] Generated Node #0,1: 57:[62, 1, 36] Operation: 77-41=36 Exploring Operation: 77-62=15, Resulting Numbers: [1, 41, 15] Generated Node #0,2: 57:[1, 41, 15] Operation: 77-62=15 Exploring Operation: 62-41=21, Resulting Numbers: [1, 77, 21] Generated Node #0,3: 57:[1, 77, 21] Operation: 62-41=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[1, 41, 15], Operations: ['77-62=15'] Exploring Operation: 41+15=56, Resulting Numbers: [1, 56] Generated Node #0,2,0: 57:[1, 56] Operation: 41+15=56 Exploring Operation: 1+41=42, Resulting Numbers: [15, 42] Generated Node #0,2,1: 57:[15, 42] Operation: 1+41=42 Exploring Operation: 41-15=26, Resulting Numbers: [1, 26] Generated Node #0,2,2: 57:[1, 26] Operation: 41-15=26 Exploring Operation: 1+15=16, Resulting Numbers: [41, 16] Generated Node #0,2,3: 57:[41, 16] Operation: 1+15=16 Moving to Node #0,2,0 Current State: 57:[1, 56], Operations: ['77-62=15', '41+15=56'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[62, 1, 77, 41], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [1, 41, 15] Generated Node #0,2: 57:[1, 41, 15] Operation: 77-62=15 Moving to Node #0,2 Current State: 57:[1, 41, 15], Operations: ['77-62=15'] Exploring Operation: 41+15=56, Resulting Numbers: [1, 56] Generated Node #0,2,0: 57:[1, 56] Operation: 41+15=56 Moving to Node #0,2,0 Current State: 57:[1, 56], Operations: ['77-62=15', '41+15=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 39, 39, 87, 70 ]
16
[ "39/39=1", "87-70=17", "17-1=16" ]
Current State: 16:[39, 39, 87, 70], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [87, 70, 1] Generated Node #2: [87, 70, 1] from Operation: 39/39=1 Current State: 16:[87, 70, 1], Operations: ['39/39=1'] Exploring Operation: 87-70=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 87-70=17 Current State: 16:[1, 17], Operations: ['39/39=1', '87-70=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[39, 39, 87, 70], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [39, 39, 17] Generated Node #0,0: 16:[39, 39, 17] Operation: 87-70=17 Moving to Node #0,0 Current State: 16:[39, 39, 17], Operations: ['87-70=17'] Exploring Operation: 39/39=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 39/39=1 Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['87-70=17', '39/39=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[39, 39, 87, 70], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [39, 39, 17] Generated Node #0,0: 16:[39, 39, 17] Operation: 87-70=17 Moving to Node #0,0 Current State: 16:[39, 39, 17], Operations: ['87-70=17'] Exploring Operation: 39/39=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 39/39=1 Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['87-70=17', '39/39=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 66, 21, 37, 15 ]
63
[ "66*21=1386", "37-15=22", "1386/22=63" ]
Current State: 63:[66, 21, 37, 15], Operations: [] Exploring Operation: 66*21=1386, Resulting Numbers: [37, 15, 1386] Generated Node #2: [37, 15, 1386] from Operation: 66*21=1386 Current State: 63:[37, 15, 1386], Operations: ['66*21=1386'] Exploring Operation: 37-15=22, Resulting Numbers: [1386, 22] Generated Node #3: [1386, 22] from Operation: 37-15=22 Current State: 63:[1386, 22], Operations: ['66*21=1386', '37-15=22'] Exploring Operation: 1386/22=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[66, 21, 37, 15], Operations: [] Exploring Operation: 37-15=22, Resulting Numbers: [66, 21, 22] Generated Node #0,0: 63:[66, 21, 22] Operation: 37-15=22 Moving to Node #0,0 Current State: 63:[66, 21, 22], Operations: ['37-15=22'] Exploring Operation: 66/22=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 66/22=3 Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['37-15=22', '66/22=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[66, 21, 37, 15], Operations: [] Exploring Operation: 37-15=22, Resulting Numbers: [66, 21, 22] Generated Node #0,0: 63:[66, 21, 22] Operation: 37-15=22 Moving to Node #0,0 Current State: 63:[66, 21, 22], Operations: ['37-15=22'] Exploring Operation: 66/22=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 63:[21, 3] Operation: 66/22=3 Moving to Node #0,0,0 Current State: 63:[21, 3], Operations: ['37-15=22', '66/22=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 91, 36, 47, 4 ]
47
[ "91-47=44", "44/4=11", "36+11=47" ]
Current State: 47:[91, 36, 47, 4], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [36, 4, 44] Generated Node #2: [36, 4, 44] from Operation: 91-47=44 Current State: 47:[36, 4, 44], Operations: ['91-47=44'] Exploring Operation: 44/4=11, Resulting Numbers: [36, 11] Generated Node #3: [36, 11] from Operation: 44/4=11 Current State: 47:[36, 11], Operations: ['91-47=44', '44/4=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[91, 36, 47, 4], Operations: [] Exploring Operation: 91-36=55, Resulting Numbers: [47, 4, 55] Generated Node #0,0: 47:[47, 4, 55] Operation: 91-36=55 Moving to Node #0,0 Current State: 47:[47, 4, 55], Operations: ['91-36=55'] Exploring Operation: 55-4=51, Resulting Numbers: [47, 51] Generated Node #0,0,0: 47:[47, 51] Operation: 55-4=51 Moving to Node #0,0,0 Current State: 47:[47, 51], Operations: ['91-36=55', '55-4=51'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 32, 8, 22 ]
16
[ "52-32=20", "22-20=2", "8*2=16" ]
Current State: 16:[52, 32, 8, 22], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [8, 22, 20] Generated Node #2: [8, 22, 20] from Operation: 52-32=20 Current State: 16:[8, 22, 20], Operations: ['52-32=20'] Exploring Operation: 22-20=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 22-20=2 Current State: 16:[8, 2], Operations: ['52-32=20', '22-20=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[52, 32, 8, 22], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [32, 8, 30] Generated Node #0,0: 16:[32, 8, 30] Operation: 52-22=30 Exploring Operation: 52-32=20, Resulting Numbers: [8, 22, 20] Generated Node #0,1: 16:[8, 22, 20] Operation: 52-32=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[8, 22, 20], Operations: ['52-32=20'] Exploring Operation: 22-8=14, Resulting Numbers: [20, 14] Generated Node #0,1,0: 16:[20, 14] Operation: 22-8=14 Exploring Operation: 22-20=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 16:[8, 2] Operation: 22-20=2 Moving to Node #0,1,1 Current State: 16:[8, 2], Operations: ['52-32=20', '22-20=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[52, 32, 8, 22], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [8, 22, 20] Generated Node #0,1: 16:[8, 22, 20] Operation: 52-32=20 Moving to Node #0,1 Current State: 16:[8, 22, 20], Operations: ['52-32=20'] Exploring Operation: 22-20=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 16:[8, 2] Operation: 22-20=2 Moving to Node #0,1,1 Current State: 16:[8, 2], Operations: ['52-32=20', '22-20=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 89, 92, 70, 87 ]
95
[ "89-70=19", "92-87=5", "19*5=95" ]
Current State: 95:[89, 92, 70, 87], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [92, 87, 19] Generated Node #2: [92, 87, 19] from Operation: 89-70=19 Current State: 95:[92, 87, 19], Operations: ['89-70=19'] Exploring Operation: 92-87=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 92-87=5 Current State: 95:[19, 5], Operations: ['89-70=19', '92-87=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[89, 92, 70, 87], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [89, 92, 17] Generated Node #0,0: 95:[89, 92, 17] Operation: 87-70=17 Exploring Operation: 89-70=19, Resulting Numbers: [92, 87, 19] Generated Node #0,1: 95:[92, 87, 19] Operation: 89-70=19 Moving to Node #0,0 Current State: 95:[89, 92, 17], Operations: ['87-70=17'] Exploring Operation: 89+17=106, Resulting Numbers: [92, 106] Generated Node #0,0,0: 95:[92, 106] Operation: 89+17=106 Exploring Operation: 92-89=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 95:[17, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[17, 3], Operations: ['87-70=17', '92-89=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[92, 106], Operations: ['87-70=17', '89+17=106'] Exploring Operation: 92+106=198, Resulting Numbers: [198] 198,95 unequal: No Solution Exploring Operation: 106-92=14, Resulting Numbers: [14] 14,95 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: 95:[92, 87, 19], Operations: ['89-70=19'] Exploring Operation: 87+19=106, Resulting Numbers: [92, 106] Generated Node #0,1,0: 95:[92, 106] Operation: 87+19=106 Exploring Operation: 92-87=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 95:[19, 5] Operation: 92-87=5 Moving to Node #0,1,1 Current State: 95:[19, 5], Operations: ['89-70=19', '92-87=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[89, 92, 70, 87], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [92, 87, 19] Generated Node #0,1: 95:[92, 87, 19] Operation: 89-70=19 Moving to Node #0,1 Current State: 95:[92, 87, 19], Operations: ['89-70=19'] Exploring Operation: 92-87=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 95:[19, 5] Operation: 92-87=5 Moving to Node #0,1,1 Current State: 95:[19, 5], Operations: ['89-70=19', '92-87=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 52, 60, 61, 63 ]
34
[ "63-61=2", "52/2=26", "60-26=34" ]
Current State: 34:[52, 60, 61, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [52, 60, 2] Generated Node #2: [52, 60, 2] from Operation: 63-61=2 Current State: 34:[52, 60, 2], Operations: ['63-61=2'] Exploring Operation: 52/2=26, Resulting Numbers: [60, 26] Generated Node #3: [60, 26] from Operation: 52/2=26 Current State: 34:[60, 26], Operations: ['63-61=2', '52/2=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[52, 60, 61, 63], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [61, 63, 8] Generated Node #0,0: 34:[61, 63, 8] Operation: 60-52=8 Exploring Operation: 63-61=2, Resulting Numbers: [52, 60, 2] Generated Node #0,1: 34:[52, 60, 2] Operation: 63-61=2 Exploring Operation: 63-52=11, Resulting Numbers: [60, 61, 11] Generated Node #0,2: 34:[60, 61, 11] Operation: 63-52=11 Exploring Operation: 61-60=1, Resulting Numbers: [52, 63, 1] Generated Node #0,3: 34:[52, 63, 1] Operation: 61-60=1 Exploring Operation: 63-60=3, Resulting Numbers: [52, 61, 3] Generated Node #0,4: 34:[52, 61, 3] Operation: 63-60=3 Moving to Node #0,1 Current State: 34:[52, 60, 2], Operations: ['63-61=2'] Exploring Operation: 60-52=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 34:[2, 8] Operation: 60-52=8 Exploring Operation: 52-2=50, Resulting Numbers: [60, 50] Generated Node #0,1,1: 34:[60, 50] Operation: 52-2=50 Exploring Operation: 60/2=30, Resulting Numbers: [52, 30] Generated Node #0,1,2: 34:[52, 30] Operation: 60/2=30 Exploring Operation: 52/2=26, Resulting Numbers: [60, 26] Generated Node #0,1,3: 34:[60, 26] Operation: 52/2=26 Exploring Operation: 60-2=58, Resulting Numbers: [52, 58] Generated Node #0,1,4: 34:[52, 58] Operation: 60-2=58 Moving to Node #0,4 Current State: 34:[52, 61, 3], Operations: ['63-60=3'] Exploring Operation: 61-3=58, Resulting Numbers: [52, 58] Generated Node #0,4,0: 34:[52, 58] Operation: 61-3=58 Exploring Operation: 61+3=64, Resulting Numbers: [52, 64] Generated Node #0,4,1: 34:[52, 64] Operation: 61+3=64 Exploring Operation: 52+3=55, Resulting Numbers: [61, 55] Generated Node #0,4,2: 34:[61, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [61, 49] Generated Node #0,4,3: 34:[61, 49] Operation: 52-3=49 Exploring Operation: 61-52=9, Resulting Numbers: [3, 9] Generated Node #0,4,4: 34:[3, 9] Operation: 61-52=9 Moving to Node #0,3 Current State: 34:[52, 63, 1], Operations: ['61-60=1'] Exploring Operation: 52-1=51, Resulting Numbers: [63, 51] Generated Node #0,3,0: 34:[63, 51] Operation: 52-1=51 Exploring Operation: 63-1=62, Resulting Numbers: [52, 62] Generated Node #0,3,1: 34:[52, 62] Operation: 63-1=62 Exploring Operation: 63-52=11, Resulting Numbers: [1, 11] Generated Node #0,3,2: 34:[1, 11] Operation: 63-52=11 Exploring Operation: 52/1=52, Resulting Numbers: [63, 52] Generated Node #0,3,3: 34:[63, 52] Operation: 52/1=52 Exploring Operation: 52*1=52, Resulting Numbers: [63, 52] Generated Node #0,3,4: 34:[63, 52] Operation: 52*1=52 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[1, 11], Operations: ['61-60=1', '63-52=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[63, 51], Operations: ['61-60=1', '52-1=51'] Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,34 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[52, 62], Operations: ['61-60=1', '63-1=62'] Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[63, 52], Operations: ['61-60=1', '52/1=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,34 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[63, 52], Operations: ['61-60=1', '52*1=52'] Exploring Operation: 63+52=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 63*52=3276, Resulting Numbers: [3276] 3276,34 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: 34:[60, 61, 11], Operations: ['63-52=11'] Exploring Operation: 60+11=71, Resulting Numbers: [61, 71] Generated Node #0,2,0: 34:[61, 71] Operation: 60+11=71 Exploring Operation: 61+11=72, Resulting Numbers: [60, 72] Generated Node #0,2,1: 34:[60, 72] Operation: 61+11=72 Exploring Operation: 60-11=49, Resulting Numbers: [61, 49] Generated Node #0,2,2: 34:[61, 49] Operation: 60-11=49 Exploring Operation: 61-11=50, Resulting Numbers: [60, 50] Generated Node #0,2,3: 34:[60, 50] Operation: 61-11=50 Exploring Operation: 61-60=1, Resulting Numbers: [11, 1] Generated Node #0,2,4: 34:[11, 1] Operation: 61-60=1 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[11, 1], Operations: ['63-52=11', '61-60=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,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,2,2 Current State: 34:[61, 49], Operations: ['63-52=11', '60-11=49'] Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,34 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,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,2,3 Current State: 34:[60, 50], Operations: ['63-52=11', '61-11=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,34 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,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,2,0 Current State: 34:[61, 71], Operations: ['63-52=11', '60+11=71'] Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,34 unequal: No Solution Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,34 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,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,2,1 Current State: 34:[60, 72], Operations: ['63-52=11', '61+11=72'] Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,34 unequal: No Solution Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,34 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,34 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: 34:[61, 63, 8], Operations: ['60-52=8'] Exploring Operation: 61+8=69, Resulting Numbers: [63, 69] Generated Node #0,0,0: 34:[63, 69] Operation: 61+8=69 Exploring Operation: 63+8=71, Resulting Numbers: [61, 71] Generated Node #0,0,1: 34:[61, 71] Operation: 63+8=71 Exploring Operation: 63-8=55, Resulting Numbers: [61, 55] Generated Node #0,0,2: 34:[61, 55] Operation: 63-8=55 Exploring Operation: 63-61=2, Resulting Numbers: [8, 2] Generated Node #0,0,3: 34:[8, 2] Operation: 63-61=2 Exploring Operation: 61-8=53, Resulting Numbers: [63, 53] Generated Node #0,0,4: 34:[63, 53] Operation: 61-8=53 Moving to Node #0,1,0 Current State: 34:[2, 8], Operations: ['63-61=2', '60-52=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[8, 2], Operations: ['60-52=8', '63-61=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[3, 9], Operations: ['63-60=3', '61-52=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[52, 30], Operations: ['63-61=2', '60/2=30'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,34 unequal: No Solution Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[60, 26], Operations: ['63-61=2', '52/2=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[52, 60, 61, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [52, 60, 2] Generated Node #0,1: 34:[52, 60, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 34:[52, 60, 2], Operations: ['63-61=2'] Exploring Operation: 52/2=26, Resulting Numbers: [60, 26] Generated Node #0,1,3: 34:[60, 26] Operation: 52/2=26 Moving to Node #0,1,3 Current State: 34:[60, 26], Operations: ['63-61=2', '52/2=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.927951
hs_5
sum_heuristic
[ 27, 29, 37, 3 ]
80
[ "29-27=2", "37+3=40", "2*40=80" ]
Current State: 80:[27, 29, 37, 3], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [37, 3, 2] Generated Node #2: [37, 3, 2] from Operation: 29-27=2 Current State: 80:[37, 3, 2], Operations: ['29-27=2'] Exploring Operation: 37+3=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 37+3=40 Current State: 80:[2, 40], Operations: ['29-27=2', '37+3=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[27, 29, 37, 3], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [37, 3, 2] Generated Node #0,0: 80:[37, 3, 2] Operation: 29-27=2 Exploring Operation: 37-27=10, Resulting Numbers: [29, 3, 10] Generated Node #0,1: 80:[29, 3, 10] Operation: 37-27=10 Exploring Operation: 37-29=8, Resulting Numbers: [27, 3, 8] Generated Node #0,2: 80:[27, 3, 8] Operation: 37-29=8 Exploring Operation: 27*3=81, Resulting Numbers: [29, 37, 81] Generated Node #0,3: 80:[29, 37, 81] Operation: 27*3=81 Moving to Node #0,0 Current State: 80:[37, 3, 2], Operations: ['29-27=2'] Exploring Operation: 3*2=6, Resulting Numbers: [37, 6] Generated Node #0,0,0: 80:[37, 6] Operation: 3*2=6 Exploring Operation: 37+2=39, Resulting Numbers: [3, 39] Generated Node #0,0,1: 80:[3, 39] Operation: 37+2=39 Exploring Operation: 3+2=5, Resulting Numbers: [37, 5] Generated Node #0,0,2: 80:[37, 5] Operation: 3+2=5 Exploring Operation: 37+3=40, Resulting Numbers: [2, 40] Generated Node #0,0,3: 80:[2, 40] Operation: 37+3=40 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[2, 40], Operations: ['29-27=2', '37+3=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[27, 29, 37, 3], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [37, 3, 2] Generated Node #0,0: 80:[37, 3, 2] Operation: 29-27=2 Moving to Node #0,0 Current State: 80:[37, 3, 2], Operations: ['29-27=2'] Exploring Operation: 37+3=40, Resulting Numbers: [2, 40] Generated Node #0,0,3: 80:[2, 40] Operation: 37+3=40 Moving to Node #0,0,3 Current State: 80:[2, 40], Operations: ['29-27=2', '37+3=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 25, 15, 10, 55 ]
27
[ "55-10=45", "15*45=675", "675/25=27" ]
Current State: 27:[25, 15, 10, 55], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [25, 15, 45] Generated Node #2: [25, 15, 45] from Operation: 55-10=45 Current State: 27:[25, 15, 45], Operations: ['55-10=45'] Exploring Operation: 15*45=675, Resulting Numbers: [25, 675] Generated Node #3: [25, 675] from Operation: 15*45=675 Current State: 27:[25, 675], Operations: ['55-10=45', '15*45=675'] Exploring Operation: 675/25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[25, 15, 10, 55], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [25, 10, 40] Generated Node #0,0: 27:[25, 10, 40] Operation: 55-15=40 Exploring Operation: 55-25=30, Resulting Numbers: [15, 10, 30] Generated Node #0,1: 27:[15, 10, 30] Operation: 55-25=30 Moving to Node #0,1 Current State: 27:[15, 10, 30], Operations: ['55-25=30'] Exploring Operation: 30/15=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 27:[10, 2] Operation: 30/15=2 Exploring Operation: 15+10=25, Resulting Numbers: [30, 25] Generated Node #0,1,1: 27:[30, 25] Operation: 15+10=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[10, 2], Operations: ['55-25=30', '30/15=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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,1 Current State: 27:[30, 25], Operations: ['55-25=30', '15+10=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,27 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: 27:[25, 10, 40], Operations: ['55-15=40'] Exploring Operation: 40-10=30, Resulting Numbers: [25, 30] Generated Node #0,0,0: 27:[25, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [25, 4] Generated Node #0,0,1: 27:[25, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[25, 4], Operations: ['55-15=40', '40/10=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[25, 30], Operations: ['55-15=40', '40-10=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 1, 5, 56, 5 ]
31
[ "1*5=5", "5*5=25", "56-25=31" ]
Current State: 31:[1, 5, 56, 5], Operations: [] Exploring Operation: 1*5=5, Resulting Numbers: [56, 5] Generated Node #2: [56, 5] from Operation: 1*5=5 Current State: 31:[56, 5], Operations: ['1*5=5'] Exploring Operation: 5*5=25, Resulting Numbers: [56, 25] Generated Node #3: [56, 25] from Operation: 5*5=25 Current State: 31:[56, 25], Operations: ['1*5=5', '5*5=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[1, 5, 56, 5], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [56, 5, 6] Generated Node #0,0: 31:[56, 5, 6] Operation: 1+5=6 Exploring Operation: 56-1=55, Resulting Numbers: [5, 5, 55] Generated Node #0,1: 31:[5, 5, 55] Operation: 56-1=55 Exploring Operation: 5*5=25, Resulting Numbers: [1, 56, 25] Generated Node #0,2: 31:[1, 56, 25] Operation: 5*5=25 Exploring Operation: 1+5=6, Resulting Numbers: [5, 56, 6] Generated Node #0,3: 31:[5, 56, 6] Operation: 1+5=6 Moving to Node #0,2 Current State: 31:[1, 56, 25], Operations: ['5*5=25'] Exploring Operation: 1*56=56, Resulting Numbers: [25, 56] Generated Node #0,2,0: 31:[25, 56] Operation: 1*56=56 Exploring Operation: 1+25=26, Resulting Numbers: [56, 26] Generated Node #0,2,1: 31:[56, 26] Operation: 1+25=26 Exploring Operation: 56-25=31, Resulting Numbers: [1, 31] Generated Node #0,2,2: 31:[1, 31] Operation: 56-25=31 Exploring Operation: 56-1=55, Resulting Numbers: [25, 55] Generated Node #0,2,3: 31:[25, 55] Operation: 56-1=55 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[56, 26], Operations: ['5*5=25', '1+25=26'] Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,31 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[1, 31], Operations: ['5*5=25', '56-25=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[1, 5, 56, 5], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [1, 56, 25] Generated Node #0,2: 31:[1, 56, 25] Operation: 5*5=25 Moving to Node #0,2 Current State: 31:[1, 56, 25], Operations: ['5*5=25'] Exploring Operation: 56-25=31, Resulting Numbers: [1, 31] Generated Node #0,2,2: 31:[1, 31] Operation: 56-25=31 Moving to Node #0,2,2 Current State: 31:[1, 31], Operations: ['5*5=25', '56-25=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 21, 29, 79, 16 ]
45
[ "21+29=50", "79+16=95", "95-50=45" ]
Current State: 45:[21, 29, 79, 16], Operations: [] Exploring Operation: 21+29=50, Resulting Numbers: [79, 16, 50] Generated Node #2: [79, 16, 50] from Operation: 21+29=50 Current State: 45:[79, 16, 50], Operations: ['21+29=50'] Exploring Operation: 79+16=95, Resulting Numbers: [50, 95] Generated Node #3: [50, 95] from Operation: 79+16=95 Current State: 45:[50, 95], Operations: ['21+29=50', '79+16=95'] Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[21, 29, 79, 16], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [21, 16, 50] Generated Node #0,0: 45:[21, 16, 50] Operation: 79-29=50 Exploring Operation: 79-16=63, Resulting Numbers: [21, 29, 63] Generated Node #0,1: 45:[21, 29, 63] Operation: 79-16=63 Exploring Operation: 79-21=58, Resulting Numbers: [29, 16, 58] Generated Node #0,2: 45:[29, 16, 58] Operation: 79-21=58 Exploring Operation: 29-21=8, Resulting Numbers: [79, 16, 8] Generated Node #0,3: 45:[79, 16, 8] Operation: 29-21=8 Moving to Node #0,0 Current State: 45:[21, 16, 50], Operations: ['79-29=50'] Exploring Operation: 50-16=34, Resulting Numbers: [21, 34] Generated Node #0,0,0: 45:[21, 34] Operation: 50-16=34 Exploring Operation: 21-16=5, Resulting Numbers: [50, 5] Generated Node #0,0,1: 45:[50, 5] Operation: 21-16=5 Exploring Operation: 21+16=37, Resulting Numbers: [50, 37] Generated Node #0,0,2: 45:[50, 37] Operation: 21+16=37 Exploring Operation: 50-21=29, Resulting Numbers: [16, 29] Generated Node #0,0,3: 45:[16, 29] Operation: 50-21=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[50, 5], Operations: ['79-29=50', '21-16=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[21, 29, 79, 16], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [21, 16, 50] Generated Node #0,0: 45:[21, 16, 50] Operation: 79-29=50 Moving to Node #0,0 Current State: 45:[21, 16, 50], Operations: ['79-29=50'] Exploring Operation: 21-16=5, Resulting Numbers: [50, 5] Generated Node #0,0,1: 45:[50, 5] Operation: 21-16=5 Moving to Node #0,0,1 Current State: 45:[50, 5], Operations: ['79-29=50', '21-16=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 16, 9, 8, 21 ]
49
[ "21-16=5", "8*5=40", "9+40=49" ]
Current State: 49:[16, 9, 8, 21], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [9, 8, 5] Generated Node #2: [9, 8, 5] from Operation: 21-16=5 Current State: 49:[9, 8, 5], Operations: ['21-16=5'] Exploring Operation: 8*5=40, Resulting Numbers: [9, 40] Generated Node #3: [9, 40] from Operation: 8*5=40 Current State: 49:[9, 40], Operations: ['21-16=5', '8*5=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[16, 9, 8, 21], Operations: [] Exploring Operation: 16+21=37, Resulting Numbers: [9, 8, 37] Generated Node #0,0: 49:[9, 8, 37] Operation: 16+21=37 Exploring Operation: 16-9=7, Resulting Numbers: [8, 21, 7] Generated Node #0,1: 49:[8, 21, 7] Operation: 16-9=7 Exploring Operation: 21-9=12, Resulting Numbers: [16, 8, 12] Generated Node #0,2: 49:[16, 8, 12] Operation: 21-9=12 Exploring Operation: 21-16=5, Resulting Numbers: [9, 8, 5] Generated Node #0,3: 49:[9, 8, 5] Operation: 21-16=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[9, 8, 5], Operations: ['21-16=5'] Exploring Operation: 9*5=45, Resulting Numbers: [8, 45] Generated Node #0,3,0: 49:[8, 45] Operation: 9*5=45 Exploring Operation: 8-5=3, Resulting Numbers: [9, 3] Generated Node #0,3,1: 49:[9, 3] Operation: 8-5=3 Exploring Operation: 9-5=4, Resulting Numbers: [8, 4] Generated Node #0,3,2: 49:[8, 4] Operation: 9-5=4 Exploring Operation: 9-8=1, Resulting Numbers: [5, 1] Generated Node #0,3,3: 49:[5, 1] Operation: 9-8=1 Moving to Node #0,3,2 Current State: 49:[8, 4], Operations: ['21-16=5', '9-5=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[8, 45], Operations: ['21-16=5', '9*5=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[9, 3], Operations: ['21-16=5', '8-5=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[5, 1], Operations: ['21-16=5', '9-8=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[9, 8, 37], Operations: ['16+21=37'] Exploring Operation: 9-8=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 49:[37, 1] Operation: 9-8=1 Exploring Operation: 9+37=46, Resulting Numbers: [8, 46] Generated Node #0,0,1: 49:[8, 46] Operation: 9+37=46 Exploring Operation: 8+37=45, Resulting Numbers: [9, 45] Generated Node #0,0,2: 49:[9, 45] Operation: 8+37=45 Exploring Operation: 9+8=17, Resulting Numbers: [37, 17] Generated Node #0,0,3: 49:[37, 17] Operation: 9+8=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[8, 46], Operations: ['16+21=37', '9+37=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,49 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[9, 45], Operations: ['16+21=37', '8+37=45'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,49 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[37, 1], Operations: ['16+21=37', '9-8=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[37, 17], Operations: ['16+21=37', '9+8=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,49 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,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:[8, 21, 7], Operations: ['16-9=7'] Exploring Operation: 8+21=29, Resulting Numbers: [7, 29] Generated Node #0,1,0: 49:[7, 29] Operation: 8+21=29 Exploring Operation: 21-7=14, Resulting Numbers: [8, 14] Generated Node #0,1,1: 49:[8, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 49:[8, 3] Operation: 21/7=3 Exploring Operation: 21-8=13, Resulting Numbers: [7, 13] Generated Node #0,1,3: 49:[7, 13] Operation: 21-8=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[8, 3], Operations: ['16-9=7', '21/7=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,49 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,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:[7, 13], Operations: ['16-9=7', '21-8=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,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:[8, 14], Operations: ['16-9=7', '21-7=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[7, 29], Operations: ['16-9=7', '8+21=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,49 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,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,2 Current State: 49:[16, 8, 12], Operations: ['21-9=12'] Exploring Operation: 16-12=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 49:[8, 4] Operation: 16-12=4 Exploring Operation: 16-8=8, Resulting Numbers: [12, 8] Generated Node #0,2,1: 49:[12, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [12, 2] Generated Node #0,2,2: 49:[12, 2] Operation: 16/8=2 Exploring Operation: 12-8=4, Resulting Numbers: [16, 4] Generated Node #0,2,3: 49:[16, 4] Operation: 12-8=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[8, 4], Operations: ['21-9=12', '16-12=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,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:[12, 8], Operations: ['21-9=12', '16-8=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,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:[12, 2], Operations: ['21-9=12', '16/8=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,49 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[16, 4], Operations: ['21-9=12', '12-8=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,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 No solution found.
0
hs_4
mult_heuristic
[ 67, 67, 88, 99 ]
53
[ "67+67=134", "88+99=187", "187-134=53" ]
Current State: 53:[67, 67, 88, 99], Operations: [] Exploring Operation: 67+67=134, Resulting Numbers: [88, 99, 134] Generated Node #2: [88, 99, 134] from Operation: 67+67=134 Current State: 53:[88, 99, 134], Operations: ['67+67=134'] Exploring Operation: 88+99=187, Resulting Numbers: [134, 187] Generated Node #3: [134, 187] from Operation: 88+99=187 Current State: 53:[134, 187], Operations: ['67+67=134', '88+99=187'] Exploring Operation: 187-134=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[67, 67, 88, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [67, 88, 32] Generated Node #0,0: 53:[67, 88, 32] Operation: 99-67=32 Exploring Operation: 99-67=32, Resulting Numbers: [67, 88, 32] Generated Node #0,1: 53:[67, 88, 32] Operation: 99-67=32 Exploring Operation: 88-67=21, Resulting Numbers: [67, 99, 21] Generated Node #0,2: 53:[67, 99, 21] Operation: 88-67=21 Exploring Operation: 99-88=11, Resulting Numbers: [67, 67, 11] Generated Node #0,3: 53:[67, 67, 11] Operation: 99-88=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[67, 88, 32], Operations: ['99-67=32'] Exploring Operation: 67+32=99, Resulting Numbers: [88, 99] Generated Node #0,0,0: 53:[88, 99] Operation: 67+32=99 Exploring Operation: 88-32=56, Resulting Numbers: [67, 56] Generated Node #0,0,1: 53:[67, 56] Operation: 88-32=56 Exploring Operation: 88-67=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 53:[32, 21] Operation: 88-67=21 Exploring Operation: 67-32=35, Resulting Numbers: [88, 35] Generated Node #0,0,3: 53:[88, 35] Operation: 67-32=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[67, 56], Operations: ['99-67=32', '88-32=56'] Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,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:[32, 21], Operations: ['99-67=32', '88-67=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,53 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[67, 67, 88, 99], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [67, 88, 32] Generated Node #0,0: 53:[67, 88, 32] Operation: 99-67=32 Moving to Node #0,0 Current State: 53:[67, 88, 32], Operations: ['99-67=32'] Exploring Operation: 88-67=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 53:[32, 21] Operation: 88-67=21 Moving to Node #0,0,2 Current State: 53:[32, 21], Operations: ['99-67=32', '88-67=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 36, 40, 12, 38 ]
30
[ "40-36=4", "38-12=26", "4+26=30" ]
Current State: 30:[36, 40, 12, 38], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [12, 38, 4] Generated Node #2: [12, 38, 4] from Operation: 40-36=4 Current State: 30:[12, 38, 4], Operations: ['40-36=4'] Exploring Operation: 38-12=26, Resulting Numbers: [4, 26] Generated Node #3: [4, 26] from Operation: 38-12=26 Current State: 30:[4, 26], Operations: ['40-36=4', '38-12=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[36, 40, 12, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [36, 12, 2] Generated Node #0,0: 30:[36, 12, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[36, 12, 2], Operations: ['40-38=2'] Exploring Operation: 36/12=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 30:[2, 3] Operation: 36/12=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[2, 3], Operations: ['40-38=2', '36/12=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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_1
sum_heuristic
[ 5, 25, 57, 55 ]
41
[ "25+55=80", "80/5=16", "57-16=41" ]
Current State: 41:[5, 25, 57, 55], Operations: [] Exploring Operation: 25+55=80, Resulting Numbers: [5, 57, 80] Generated Node #2: [5, 57, 80] from Operation: 25+55=80 Current State: 41:[5, 57, 80], Operations: ['25+55=80'] Exploring Operation: 80/5=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 80/5=16 Current State: 41:[57, 16], Operations: ['25+55=80', '80/5=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[5, 25, 57, 55], Operations: [] Exploring Operation: 25-5=20, Resulting Numbers: [57, 55, 20] Generated Node #0,0: 41:[57, 55, 20] Operation: 25-5=20 Exploring Operation: 5+25=30, Resulting Numbers: [57, 55, 30] Generated Node #0,1: 41:[57, 55, 30] Operation: 5+25=30 Exploring Operation: 57-5=52, Resulting Numbers: [25, 55, 52] Generated Node #0,2: 41:[25, 55, 52] Operation: 57-5=52 Exploring Operation: 55-5=50, Resulting Numbers: [25, 57, 50] Generated Node #0,3: 41:[25, 57, 50] Operation: 55-5=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[57, 55, 30], Operations: ['5+25=30'] Exploring Operation: 55-30=25, Resulting Numbers: [57, 25] Generated Node #0,1,0: 41:[57, 25] Operation: 55-30=25 Exploring Operation: 57-55=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 41:[30, 2] Operation: 57-55=2 Exploring Operation: 57-30=27, Resulting Numbers: [55, 27] Generated Node #0,1,2: 41:[55, 27] Operation: 57-30=27 Exploring Operation: 57+30=87, Resulting Numbers: [55, 87] Generated Node #0,1,3: 41:[55, 87] Operation: 57+30=87 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[55, 27], Operations: ['5+25=30', '57-30=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[57, 25], Operations: ['5+25=30', '55-30=25'] Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,41 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[30, 2], Operations: ['5+25=30', '57-55=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[55, 87], Operations: ['5+25=30', '57+30=87'] Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,41 unequal: No Solution Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,41 unequal: No Solution Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[25, 55, 52], Operations: ['57-5=52'] Exploring Operation: 52-25=27, Resulting Numbers: [55, 27] Generated Node #0,2,0: 41:[55, 27] Operation: 52-25=27 Exploring Operation: 55-25=30, Resulting Numbers: [52, 30] Generated Node #0,2,1: 41:[52, 30] Operation: 55-25=30 Exploring Operation: 25+55=80, Resulting Numbers: [52, 80] Generated Node #0,2,2: 41:[52, 80] Operation: 25+55=80 Exploring Operation: 25+52=77, Resulting Numbers: [55, 77] Generated Node #0,2,3: 41:[55, 77] Operation: 25+52=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[52, 30], Operations: ['57-5=52', '55-25=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[55, 27], Operations: ['57-5=52', '52-25=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,41 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[52, 80], Operations: ['57-5=52', '25+55=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[55, 77], Operations: ['57-5=52', '25+52=77'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,41 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[25, 57, 50], Operations: ['55-5=50'] Exploring Operation: 25+57=82, Resulting Numbers: [50, 82] Generated Node #0,3,0: 41:[50, 82] Operation: 25+57=82 Exploring Operation: 57-25=32, Resulting Numbers: [50, 32] Generated Node #0,3,1: 41:[50, 32] Operation: 57-25=32 Exploring Operation: 50-25=25, Resulting Numbers: [57, 25] Generated Node #0,3,2: 41:[57, 25] Operation: 50-25=25 Exploring Operation: 25+50=75, Resulting Numbers: [57, 75] Generated Node #0,3,3: 41:[57, 75] Operation: 25+50=75 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[50, 32], Operations: ['55-5=50', '57-25=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,41 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[57, 25], Operations: ['55-5=50', '50-25=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,41 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[50, 82], Operations: ['55-5=50', '25+57=82'] Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,41 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[57, 75], Operations: ['55-5=50', '25+50=75'] Exploring Operation: 57*75=4275, Resulting Numbers: [4275] 4275,41 unequal: No Solution Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 57+75=132, Resulting Numbers: [132] 132,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[57, 55, 20], Operations: ['25-5=20'] Exploring Operation: 55-20=35, Resulting Numbers: [57, 35] Generated Node #0,0,0: 41:[57, 35] Operation: 55-20=35 Exploring Operation: 55+20=75, Resulting Numbers: [57, 75] Generated Node #0,0,1: 41:[57, 75] Operation: 55+20=75 Exploring Operation: 57-20=37, Resulting Numbers: [55, 37] Generated Node #0,0,2: 41:[55, 37] Operation: 57-20=37 Exploring Operation: 57+20=77, Resulting Numbers: [55, 77] Generated Node #0,0,3: 41:[55, 77] Operation: 57+20=77 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[55, 37], Operations: ['25-5=20', '57-20=37'] Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 55*37=2035, Resulting Numbers: [2035] 2035,41 unequal: No Solution Exploring Operation: 55+37=92, Resulting Numbers: [92] 92,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[57, 35], Operations: ['25-5=20', '55-20=35'] Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,41 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[57, 75], Operations: ['25-5=20', '55+20=75'] Exploring Operation: 57*75=4275, Resulting Numbers: [4275] 4275,41 unequal: No Solution Exploring Operation: 57+75=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[55, 77], Operations: ['25-5=20', '57+20=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 21, 88, 32, 79 ]
99
[ "32-21=11", "88-79=9", "11*9=99" ]
Current State: 99:[21, 88, 32, 79], Operations: [] Exploring Operation: 32-21=11, Resulting Numbers: [88, 79, 11] Generated Node #2: [88, 79, 11] from Operation: 32-21=11 Current State: 99:[88, 79, 11], Operations: ['32-21=11'] Exploring Operation: 88-79=9, Resulting Numbers: [11, 9] Generated Node #3: [11, 9] from Operation: 88-79=9 Current State: 99:[11, 9], Operations: ['32-21=11', '88-79=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[21, 88, 32, 79], Operations: [] Exploring Operation: 21+88=109, Resulting Numbers: [32, 79, 109] Generated Node #0,0: 99:[32, 79, 109] Operation: 21+88=109 Exploring Operation: 21+79=100, Resulting Numbers: [88, 32, 100] Generated Node #0,1: 99:[88, 32, 100] Operation: 21+79=100 Exploring Operation: 88-79=9, Resulting Numbers: [21, 32, 9] Generated Node #0,2: 99:[21, 32, 9] Operation: 88-79=9 Moving to Node #0,2 Current State: 99:[21, 32, 9], Operations: ['88-79=9'] Exploring Operation: 32-21=11, Resulting Numbers: [9, 11] Generated Node #0,2,0: 99:[9, 11] Operation: 32-21=11 Exploring Operation: 21-9=12, Resulting Numbers: [32, 12] Generated Node #0,2,1: 99:[32, 12] Operation: 21-9=12 Exploring Operation: 21+9=30, Resulting Numbers: [32, 30] Generated Node #0,2,2: 99:[32, 30] Operation: 21+9=30 Moving to Node #0,1 Current State: 99:[88, 32, 100], Operations: ['21+79=100'] Exploring Operation: 88+32=120, Resulting Numbers: [100, 120] Generated Node #0,1,0: 99:[100, 120] Operation: 88+32=120 Exploring Operation: 100-88=12, Resulting Numbers: [32, 12] Generated Node #0,1,1: 99:[32, 12] Operation: 100-88=12 Exploring Operation: 88-32=56, Resulting Numbers: [100, 56] Generated Node #0,1,2: 99:[100, 56] Operation: 88-32=56 Moving to Node #0,0 Current State: 99:[32, 79, 109], Operations: ['21+88=109'] Exploring Operation: 32+79=111, Resulting Numbers: [109, 111] Generated Node #0,0,0: 99:[109, 111] Operation: 32+79=111 Exploring Operation: 79-32=47, Resulting Numbers: [109, 47] Generated Node #0,0,1: 99:[109, 47] Operation: 79-32=47 Exploring Operation: 109-79=30, Resulting Numbers: [32, 30] Generated Node #0,0,2: 99:[32, 30] Operation: 109-79=30 Moving to Node #0,2,0 Current State: 99:[9, 11], Operations: ['88-79=9', '32-21=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[21, 88, 32, 79], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [21, 32, 9] Generated Node #0,2: 99:[21, 32, 9] Operation: 88-79=9 Moving to Node #0,2 Current State: 99:[21, 32, 9], Operations: ['88-79=9'] Exploring Operation: 32-21=11, Resulting Numbers: [9, 11] Generated Node #0,2,0: 99:[9, 11] Operation: 32-21=11 Moving to Node #0,2,0 Current State: 99:[9, 11], Operations: ['88-79=9', '32-21=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 24, 21, 20, 7 ]
36
[ "21*20=420", "420/7=60", "60-24=36" ]
Current State: 36:[24, 21, 20, 7], Operations: [] Exploring Operation: 21*20=420, Resulting Numbers: [24, 7, 420] Generated Node #2: [24, 7, 420] from Operation: 21*20=420 Current State: 36:[24, 7, 420], Operations: ['21*20=420'] Exploring Operation: 420/7=60, Resulting Numbers: [24, 60] Generated Node #3: [24, 60] from Operation: 420/7=60 Current State: 36:[24, 60], Operations: ['21*20=420', '420/7=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[24, 21, 20, 7], Operations: [] Exploring Operation: 24-7=17, Resulting Numbers: [21, 20, 17] Generated Node #0,0: 36:[21, 20, 17] Operation: 24-7=17 Exploring Operation: 24-20=4, Resulting Numbers: [21, 7, 4] Generated Node #0,1: 36:[21, 7, 4] Operation: 24-20=4 Exploring Operation: 24-21=3, Resulting Numbers: [20, 7, 3] Generated Node #0,2: 36:[20, 7, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[20, 7, 3], Operations: ['24-21=3'] Exploring Operation: 20-7=13, Resulting Numbers: [3, 13] Generated Node #0,2,0: 36:[3, 13] Operation: 20-7=13 Exploring Operation: 20-3=17, Resulting Numbers: [7, 17] Generated Node #0,2,1: 36:[7, 17] Operation: 20-3=17 Exploring Operation: 7-3=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 36:[20, 4] Operation: 7-3=4 Moving to Node #0,2,0 Current State: 36:[3, 13], Operations: ['24-21=3', '20-7=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[7, 17], Operations: ['24-21=3', '20-3=17'] Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,36 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[20, 4], Operations: ['24-21=3', '7-3=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,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,1 Current State: 36:[21, 7, 4], Operations: ['24-20=4'] Exploring Operation: 21-4=17, Resulting Numbers: [7, 17] Generated Node #0,1,0: 36:[7, 17] Operation: 21-4=17 Exploring Operation: 21/7=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 36:[4, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [4, 14] Generated Node #0,1,2: 36:[4, 14] Operation: 21-7=14 Moving to Node #0,1,1 Current State: 36:[4, 3], Operations: ['24-20=4', '21/7=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[7, 17], Operations: ['24-20=4', '21-4=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,36 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[4, 14], Operations: ['24-20=4', '21-7=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,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,0 Current State: 36:[21, 20, 17], Operations: ['24-7=17'] Exploring Operation: 21-20=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 36:[17, 1] Operation: 21-20=1 Exploring Operation: 21-17=4, Resulting Numbers: [20, 4] Generated Node #0,0,1: 36:[20, 4] Operation: 21-17=4 Exploring Operation: 20-17=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 36:[21, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[17, 1], Operations: ['24-7=17', '21-20=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,36 unequal: No Solution No 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: 36:[20, 4], Operations: ['24-7=17', '21-17=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,36 unequal: No Solution No 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: 36:[21, 3], Operations: ['24-7=17', '20-17=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,36 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 54, 7, 91, 3 ]
15
[ "91/7=13", "3*13=39", "54-39=15" ]
Current State: 15:[54, 7, 91, 3], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [54, 3, 13] Generated Node #2: [54, 3, 13] from Operation: 91/7=13 Current State: 15:[54, 3, 13], Operations: ['91/7=13'] Exploring Operation: 3*13=39, Resulting Numbers: [54, 39] Generated Node #3: [54, 39] from Operation: 3*13=39 Current State: 15:[54, 39], Operations: ['91/7=13', '3*13=39'] Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[54, 7, 91, 3], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [7, 3, 37] Generated Node #0,0: 15:[7, 3, 37] Operation: 91-54=37 Exploring Operation: 54/3=18, Resulting Numbers: [7, 91, 18] Generated Node #0,1: 15:[7, 91, 18] Operation: 54/3=18 Exploring Operation: 91/7=13, Resulting Numbers: [54, 3, 13] Generated Node #0,2: 15:[54, 3, 13] Operation: 91/7=13 Moving to Node #0,0 Current State: 15:[7, 3, 37], Operations: ['91-54=37'] Exploring Operation: 37-7=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 15:[3, 30] Operation: 37-7=30 Exploring Operation: 37-3=34, Resulting Numbers: [7, 34] Generated Node #0,0,1: 15:[7, 34] Operation: 37-3=34 Exploring Operation: 7-3=4, Resulting Numbers: [37, 4] Generated Node #0,0,2: 15:[37, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[3, 30], Operations: ['91-54=37', '37-7=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,15 unequal: No Solution No 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: 15:[7, 34], Operations: ['91-54=37', '37-3=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,15 unequal: No Solution No 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: 15:[37, 4], Operations: ['91-54=37', '7-3=4'] Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,15 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,15 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: 15:[54, 3, 13], Operations: ['91/7=13'] Exploring Operation: 54-13=41, Resulting Numbers: [3, 41] Generated Node #0,2,0: 15:[3, 41] Operation: 54-13=41 Exploring Operation: 54-3=51, Resulting Numbers: [13, 51] Generated Node #0,2,1: 15:[13, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [13, 18] Generated Node #0,2,2: 15:[13, 18] Operation: 54/3=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[13, 18], Operations: ['91/7=13', '54/3=18'] Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,15 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,15 unequal: No Solution No 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: 15:[3, 41], Operations: ['91/7=13', '54-13=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,15 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,15 unequal: No Solution No 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: 15:[13, 51], Operations: ['91/7=13', '54-3=51'] Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,15 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,15 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: 15:[7, 91, 18], Operations: ['54/3=18'] Exploring Operation: 91/7=13, Resulting Numbers: [18, 13] Generated Node #0,1,0: 15:[18, 13] Operation: 91/7=13 Exploring Operation: 91-18=73, Resulting Numbers: [7, 73] Generated Node #0,1,1: 15:[7, 73] Operation: 91-18=73 Exploring Operation: 91-7=84, Resulting Numbers: [18, 84] Generated Node #0,1,2: 15:[18, 84] Operation: 91-7=84 Moving to Node #0,1,0 Current State: 15:[18, 13], Operations: ['54/3=18', '91/7=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,15 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[7, 73], Operations: ['54/3=18', '91-18=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,15 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[18, 84], Operations: ['54/3=18', '91-7=84'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 18*84=1512, Resulting Numbers: [1512] 1512,15 unequal: No Solution Exploring Operation: 18+84=102, Resulting Numbers: [102] 102,15 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 96, 36, 64 ]
24
[ "15*96=1440", "1440/36=40", "64-40=24" ]
Current State: 24:[15, 96, 36, 64], Operations: [] Exploring Operation: 15*96=1440, Resulting Numbers: [36, 64, 1440] Generated Node #2: [36, 64, 1440] from Operation: 15*96=1440 Current State: 24:[36, 64, 1440], Operations: ['15*96=1440'] Exploring Operation: 1440/36=40, Resulting Numbers: [64, 40] Generated Node #3: [64, 40] from Operation: 1440/36=40 Current State: 24:[64, 40], Operations: ['15*96=1440', '1440/36=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[15, 96, 36, 64], Operations: [] Exploring Operation: 96-64=32, Resulting Numbers: [15, 36, 32] Generated Node #0,0: 24:[15, 36, 32] Operation: 96-64=32 Moving to Node #0,0 Current State: 24:[15, 36, 32], Operations: ['96-64=32'] Exploring Operation: 36-32=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 24:[15, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 24:[15, 4], Operations: ['96-64=32', '36-32=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 12, 33, 46 ]
100
[ "9+12=21", "33+46=79", "21+79=100" ]
Current State: 100:[9, 12, 33, 46], Operations: [] Exploring Operation: 9+12=21, Resulting Numbers: [33, 46, 21] Generated Node #2: [33, 46, 21] from Operation: 9+12=21 Current State: 100:[33, 46, 21], Operations: ['9+12=21'] Exploring Operation: 33+46=79, Resulting Numbers: [21, 79] Generated Node #3: [21, 79] from Operation: 33+46=79 Current State: 100:[21, 79], Operations: ['9+12=21', '33+46=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 12, 33, 46], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [9, 46, 21] Generated Node #0,0: 100:[9, 46, 21] Operation: 33-12=21 Moving to Node #0,0 Current State: 100:[9, 46, 21], Operations: ['33-12=21'] Exploring Operation: 46-21=25, Resulting Numbers: [9, 25] Generated Node #0,0,0: 100:[9, 25] Operation: 46-21=25 Moving to Node #0,0,0 Current State: 100:[9, 25], Operations: ['33-12=21', '46-21=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,100 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 34, 64, 37, 90 ]
40
[ "64-34=30", "90/30=3", "37+3=40" ]
Current State: 40:[34, 64, 37, 90], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [37, 90, 30] Generated Node #2: [37, 90, 30] from Operation: 64-34=30 Current State: 40:[37, 90, 30], Operations: ['64-34=30'] Exploring Operation: 90/30=3, Resulting Numbers: [37, 3] Generated Node #3: [37, 3] from Operation: 90/30=3 Current State: 40:[37, 3], Operations: ['64-34=30', '90/30=3'] Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[34, 64, 37, 90], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [34, 37, 26] Generated Node #0,0: 40:[34, 37, 26] Operation: 90-64=26 Exploring Operation: 90-34=56, Resulting Numbers: [64, 37, 56] Generated Node #0,1: 40:[64, 37, 56] Operation: 90-34=56 Moving to Node #0,0 Current State: 40:[34, 37, 26], Operations: ['90-64=26'] Exploring Operation: 37-34=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 40:[26, 3] Operation: 37-34=3 Exploring Operation: 34-26=8, Resulting Numbers: [37, 8] Generated Node #0,0,1: 40:[37, 8] Operation: 34-26=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[37, 8], Operations: ['90-64=26', '34-26=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[26, 3], Operations: ['90-64=26', '37-34=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,40 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: 40:[64, 37, 56], Operations: ['90-34=56'] Exploring Operation: 64-56=8, Resulting Numbers: [37, 8] Generated Node #0,1,0: 40:[37, 8] Operation: 64-56=8 Exploring Operation: 64-37=27, Resulting Numbers: [56, 27] Generated Node #0,1,1: 40:[56, 27] Operation: 64-37=27 Moving to Node #0,1,0 Current State: 40:[37, 8], Operations: ['90-34=56', '64-56=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[56, 27], Operations: ['90-34=56', '64-37=27'] Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,40 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 38, 46, 18 ]
45
[ "71+38=109", "46+18=64", "109-64=45" ]
Current State: 45:[71, 38, 46, 18], Operations: [] Exploring Operation: 71+38=109, Resulting Numbers: [46, 18, 109] Generated Node #2: [46, 18, 109] from Operation: 71+38=109 Current State: 45:[46, 18, 109], Operations: ['71+38=109'] Exploring Operation: 46+18=64, Resulting Numbers: [109, 64] Generated Node #3: [109, 64] from Operation: 46+18=64 Current State: 45:[109, 64], Operations: ['71+38=109', '46+18=64'] Exploring Operation: 109-64=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[71, 38, 46, 18], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [46, 18, 33] Generated Node #0,0: 45:[46, 18, 33] Operation: 71-38=33 Exploring Operation: 46-38=8, Resulting Numbers: [71, 18, 8] Generated Node #0,1: 45:[71, 18, 8] Operation: 46-38=8 Exploring Operation: 71-46=25, Resulting Numbers: [38, 18, 25] Generated Node #0,2: 45:[38, 18, 25] Operation: 71-46=25 Exploring Operation: 38-18=20, Resulting Numbers: [71, 46, 20] Generated Node #0,3: 45:[71, 46, 20] Operation: 38-18=20 Exploring Operation: 71-18=53, Resulting Numbers: [38, 46, 53] Generated Node #0,4: 45:[38, 46, 53] Operation: 71-18=53 Moving to Node #0,0 Current State: 45:[46, 18, 33], Operations: ['71-38=33'] Exploring Operation: 46-18=28, Resulting Numbers: [33, 28] Generated Node #0,0,0: 45:[33, 28] Operation: 46-18=28 Exploring Operation: 18+33=51, Resulting Numbers: [46, 51] Generated Node #0,0,1: 45:[46, 51] Operation: 18+33=51 Exploring Operation: 46-33=13, Resulting Numbers: [18, 13] Generated Node #0,0,2: 45:[18, 13] Operation: 46-33=13 Exploring Operation: 33-18=15, Resulting Numbers: [46, 15] Generated Node #0,0,3: 45:[46, 15] Operation: 33-18=15 Exploring Operation: 46+18=64, Resulting Numbers: [33, 64] Generated Node #0,0,4: 45:[33, 64] Operation: 46+18=64 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[46, 15], Operations: ['71-38=33', '33-18=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,45 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[18, 13], Operations: ['71-38=33', '46-33=13'] Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,45 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[46, 51], Operations: ['71-38=33', '18+33=51'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,45 unequal: No Solution Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[33, 28], Operations: ['71-38=33', '46-18=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,45 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 45:[33, 64], Operations: ['71-38=33', '46+18=64'] Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,45 unequal: No Solution Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,45 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: 45:[38, 46, 53], Operations: ['71-18=53'] Exploring Operation: 53-38=15, Resulting Numbers: [46, 15] Generated Node #0,4,0: 45:[46, 15] Operation: 53-38=15 Exploring Operation: 46-38=8, Resulting Numbers: [53, 8] Generated Node #0,4,1: 45:[53, 8] Operation: 46-38=8 Exploring Operation: 38+46=84, Resulting Numbers: [53, 84] Generated Node #0,4,2: 45:[53, 84] Operation: 38+46=84 Exploring Operation: 53-46=7, Resulting Numbers: [38, 7] Generated Node #0,4,3: 45:[38, 7] Operation: 53-46=7 Exploring Operation: 38+53=91, Resulting Numbers: [46, 91] Generated Node #0,4,4: 45:[46, 91] Operation: 38+53=91 Moving to Node #0,2 Current State: 45:[38, 18, 25], Operations: ['71-46=25'] Exploring Operation: 18+25=43, Resulting Numbers: [38, 43] Generated Node #0,2,0: 45:[38, 43] Operation: 18+25=43 Exploring Operation: 38-25=13, Resulting Numbers: [18, 13] Generated Node #0,2,1: 45:[18, 13] Operation: 38-25=13 Exploring Operation: 25-18=7, Resulting Numbers: [38, 7] Generated Node #0,2,2: 45:[38, 7] Operation: 25-18=7 Exploring Operation: 38-18=20, Resulting Numbers: [25, 20] Generated Node #0,2,3: 45:[25, 20] Operation: 38-18=20 Exploring Operation: 38+18=56, Resulting Numbers: [25, 56] Generated Node #0,2,4: 45:[25, 56] Operation: 38+18=56 Moving to Node #0,1 Current State: 45:[71, 18, 8], Operations: ['46-38=8'] Exploring Operation: 71+8=79, Resulting Numbers: [18, 79] Generated Node #0,1,0: 45:[18, 79] Operation: 71+8=79 Exploring Operation: 71-18=53, Resulting Numbers: [8, 53] Generated Node #0,1,1: 45:[8, 53] Operation: 71-18=53 Exploring Operation: 18-8=10, Resulting Numbers: [71, 10] Generated Node #0,1,2: 45:[71, 10] Operation: 18-8=10 Exploring Operation: 71-8=63, Resulting Numbers: [18, 63] Generated Node #0,1,3: 45:[18, 63] Operation: 71-8=63 Exploring Operation: 18+8=26, Resulting Numbers: [71, 26] Generated Node #0,1,4: 45:[71, 26] Operation: 18+8=26 Moving to Node #0,3 Current State: 45:[71, 46, 20], Operations: ['38-18=20'] Exploring Operation: 46-20=26, Resulting Numbers: [71, 26] Generated Node #0,3,0: 45:[71, 26] Operation: 46-20=26 Exploring Operation: 46+20=66, Resulting Numbers: [71, 66] Generated Node #0,3,1: 45:[71, 66] Operation: 46+20=66 Exploring Operation: 71-46=25, Resulting Numbers: [20, 25] Generated Node #0,3,2: 45:[20, 25] Operation: 71-46=25 Exploring Operation: 71-20=51, Resulting Numbers: [46, 51] Generated Node #0,3,3: 45:[46, 51] Operation: 71-20=51 Exploring Operation: 71+20=91, Resulting Numbers: [46, 91] Generated Node #0,3,4: 45:[46, 91] Operation: 71+20=91 Moving to Node #0,4,0 Current State: 45:[46, 15], Operations: ['71-18=53', '53-38=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,45 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[18, 13], Operations: ['71-46=25', '38-25=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[46, 51], Operations: ['38-18=20', '71-20=51'] Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,45 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[38, 43], Operations: ['71-46=25', '18+25=43'] Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,45 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[38, 7], Operations: ['71-18=53', '53-46=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,45 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[71, 38, 46, 18], Operations: [] Exploring Operation: 71-18=53, Resulting Numbers: [38, 46, 53] Generated Node #0,4: 45:[38, 46, 53] Operation: 71-18=53 Moving to Node #0,4 Current State: 45:[38, 46, 53], Operations: ['71-18=53'] Exploring Operation: 53-46=7, Resulting Numbers: [38, 7] Generated Node #0,4,3: 45:[38, 7] Operation: 53-46=7 Moving to Node #0,4,3 Current State: 45:[38, 7], Operations: ['71-18=53', '53-46=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.944444
hs_5
mult_heuristic
[ 14, 35, 85, 21 ]
84
[ "35-14=21", "21/21=1", "85-1=84" ]
Current State: 84:[14, 35, 85, 21], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [85, 21, 21] Generated Node #2: [85, 21, 21] from Operation: 35-14=21 Current State: 84:[85, 21, 21], Operations: ['35-14=21'] Exploring Operation: 21/21=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 21/21=1 Current State: 84:[85, 1], Operations: ['35-14=21', '21/21=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[14, 35, 85, 21], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [85, 21, 21] Generated Node #0,0: 84:[85, 21, 21] Operation: 35-14=21 Exploring Operation: 35-21=14, Resulting Numbers: [14, 85, 14] Generated Node #0,1: 84:[14, 85, 14] Operation: 35-21=14 Exploring Operation: 21-14=7, Resulting Numbers: [35, 85, 7] Generated Node #0,2: 84:[35, 85, 7] Operation: 21-14=7 Exploring Operation: 14+35=49, Resulting Numbers: [85, 21, 49] Generated Node #0,3: 84:[85, 21, 49] Operation: 14+35=49 Moving to Node #0,0 Current State: 84:[85, 21, 21], Operations: ['35-14=21'] Exploring Operation: 85-21=64, Resulting Numbers: [21, 64] Generated Node #0,0,0: 84:[21, 64] Operation: 85-21=64 Exploring Operation: 21/21=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 84:[85, 1] Operation: 21/21=1 Exploring Operation: 21+21=42, Resulting Numbers: [85, 42] Generated Node #0,0,2: 84:[85, 42] Operation: 21+21=42 Exploring Operation: 21-21=0, Resulting Numbers: [85, 0] Generated Node #0,0,3: 84:[85, 0] Operation: 21-21=0 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[85, 42], Operations: ['35-14=21', '21+21=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,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:[85, 1], Operations: ['35-14=21', '21/21=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[14, 35, 85, 21], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [85, 21, 21] Generated Node #0,0: 84:[85, 21, 21] Operation: 35-14=21 Moving to Node #0,0 Current State: 84:[85, 21, 21], Operations: ['35-14=21'] Exploring Operation: 21/21=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 84:[85, 1] Operation: 21/21=1 Moving to Node #0,0,1 Current State: 84:[85, 1], Operations: ['35-14=21', '21/21=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 85, 94, 38, 41 ]
87
[ "85*41=3485", "94*38=3572", "3572-3485=87" ]
Current State: 87:[85, 94, 38, 41], Operations: [] Exploring Operation: 85*41=3485, Resulting Numbers: [94, 38, 3485] Generated Node #2: [94, 38, 3485] from Operation: 85*41=3485 Current State: 87:[94, 38, 3485], Operations: ['85*41=3485'] Exploring Operation: 94*38=3572, Resulting Numbers: [3485, 3572] Generated Node #3: [3485, 3572] from Operation: 94*38=3572 Current State: 87:[3485, 3572], Operations: ['85*41=3485', '94*38=3572'] Exploring Operation: 3572-3485=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[85, 94, 38, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [85, 94, 3] Generated Node #0,0: 87:[85, 94, 3] Operation: 41-38=3 Moving to Node #0,0 Current State: 87:[85, 94, 3], Operations: ['41-38=3'] Exploring Operation: 94-85=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 87:[3, 9] Operation: 94-85=9 Moving to Node #0,0,0 Current State: 87:[3, 9], Operations: ['41-38=3', '94-85=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 15, 20, 27, 90 ]
45
[ "20-15=5", "27*5=135", "135-90=45" ]
Current State: 45:[15, 20, 27, 90], Operations: [] Exploring Operation: 20-15=5, Resulting Numbers: [27, 90, 5] Generated Node #2: [27, 90, 5] from Operation: 20-15=5 Current State: 45:[27, 90, 5], Operations: ['20-15=5'] Exploring Operation: 27*5=135, Resulting Numbers: [90, 135] Generated Node #3: [90, 135] from Operation: 27*5=135 Current State: 45:[90, 135], Operations: ['20-15=5', '27*5=135'] Exploring Operation: 135-90=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 20, 27, 90], Operations: [] Exploring Operation: 90-15=75, Resulting Numbers: [20, 27, 75] Generated Node #0,0: 45:[20, 27, 75] Operation: 90-15=75 Exploring Operation: 90-20=70, Resulting Numbers: [15, 27, 70] Generated Node #0,1: 45:[15, 27, 70] Operation: 90-20=70 Exploring Operation: 90-27=63, Resulting Numbers: [15, 20, 63] Generated Node #0,2: 45:[15, 20, 63] Operation: 90-27=63 Exploring Operation: 90/15=6, Resulting Numbers: [20, 27, 6] Generated Node #0,3: 45:[20, 27, 6] Operation: 90/15=6 Exploring Operation: 20+27=47, Resulting Numbers: [15, 90, 47] Generated Node #0,4: 45:[15, 90, 47] Operation: 20+27=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[20, 27, 6], Operations: ['90/15=6'] Exploring Operation: 27+6=33, Resulting Numbers: [20, 33] Generated Node #0,3,0: 45:[20, 33] Operation: 27+6=33 Exploring Operation: 20+27=47, Resulting Numbers: [6, 47] Generated Node #0,3,1: 45:[6, 47] Operation: 20+27=47 Exploring Operation: 27-20=7, Resulting Numbers: [6, 7] Generated Node #0,3,2: 45:[6, 7] Operation: 27-20=7 Exploring Operation: 27-6=21, Resulting Numbers: [20, 21] Generated Node #0,3,3: 45:[20, 21] Operation: 27-6=21 Exploring Operation: 20-6=14, Resulting Numbers: [27, 14] Generated Node #0,3,4: 45:[27, 14] Operation: 20-6=14 Moving to Node #0,3,1 Current State: 45:[6, 47], Operations: ['90/15=6', '20+27=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,45 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[6, 7], Operations: ['90/15=6', '27-20=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[20, 21], Operations: ['90/15=6', '27-6=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,45 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[27, 14], Operations: ['90/15=6', '20-6=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,45 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[20, 33], Operations: ['90/15=6', '27+6=33'] Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,45 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[15, 20, 63], Operations: ['90-27=63'] Exploring Operation: 20-15=5, Resulting Numbers: [63, 5] Generated Node #0,2,0: 45:[63, 5] Operation: 20-15=5 Exploring Operation: 15+63=78, Resulting Numbers: [20, 78] Generated Node #0,2,1: 45:[20, 78] Operation: 15+63=78 Exploring Operation: 63-15=48, Resulting Numbers: [20, 48] Generated Node #0,2,2: 45:[20, 48] Operation: 63-15=48 Exploring Operation: 15+20=35, Resulting Numbers: [63, 35] Generated Node #0,2,3: 45:[63, 35] Operation: 15+20=35 Exploring Operation: 63-20=43, Resulting Numbers: [15, 43] Generated Node #0,2,4: 45:[15, 43] Operation: 63-20=43 Moving to Node #0,2,4 Current State: 45:[15, 43], Operations: ['90-27=63', '63-20=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 15*43=645, Resulting Numbers: [645] 645,45 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[20, 48], Operations: ['90-27=63', '63-15=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,45 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[63, 5], Operations: ['90-27=63', '20-15=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[63, 35], Operations: ['90-27=63', '15+20=35'] Exploring Operation: 63*35=2205, Resulting Numbers: [2205] 2205,45 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[20, 78], Operations: ['90-27=63', '15+63=78'] Exploring Operation: 20*78=1560, Resulting Numbers: [1560] 1560,45 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[15, 27, 70], Operations: ['90-20=70'] Exploring Operation: 15+70=85, Resulting Numbers: [27, 85] Generated Node #0,1,0: 45:[27, 85] Operation: 15+70=85 Exploring Operation: 15+27=42, Resulting Numbers: [70, 42] Generated Node #0,1,1: 45:[70, 42] Operation: 15+27=42 Exploring Operation: 70-15=55, Resulting Numbers: [27, 55] Generated Node #0,1,2: 45:[27, 55] Operation: 70-15=55 Exploring Operation: 70-27=43, Resulting Numbers: [15, 43] Generated Node #0,1,3: 45:[15, 43] Operation: 70-27=43 Exploring Operation: 27-15=12, Resulting Numbers: [70, 12] Generated Node #0,1,4: 45:[70, 12] Operation: 27-15=12 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[15, 43], Operations: ['90-20=70', '70-27=43'] Exploring Operation: 15*43=645, Resulting Numbers: [645] 645,45 unequal: No Solution Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[27, 55], Operations: ['90-20=70', '70-15=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[70, 42], Operations: ['90-20=70', '15+27=42'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 70+42=112, Resulting Numbers: [112] 112,45 unequal: No Solution Exploring Operation: 70*42=2940, Resulting Numbers: [2940] 2940,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[70, 12], Operations: ['90-20=70', '27-15=12'] Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,45 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[27, 85], Operations: ['90-20=70', '15+70=85'] Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,45 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[20, 27, 75], Operations: ['90-15=75'] Exploring Operation: 20+27=47, Resulting Numbers: [75, 47] Generated Node #0,0,0: 45:[75, 47] Operation: 20+27=47 Exploring Operation: 27-20=7, Resulting Numbers: [75, 7] Generated Node #0,0,1: 45:[75, 7] Operation: 27-20=7 Exploring Operation: 75-20=55, Resulting Numbers: [27, 55] Generated Node #0,0,2: 45:[27, 55] Operation: 75-20=55 Exploring Operation: 20+75=95, Resulting Numbers: [27, 95] Generated Node #0,0,3: 45:[27, 95] Operation: 20+75=95 Exploring Operation: 75-27=48, Resulting Numbers: [20, 48] Generated Node #0,0,4: 45:[20, 48] Operation: 75-27=48 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[20, 48], Operations: ['90-15=75', '75-27=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[27, 55], Operations: ['90-15=75', '75-20=55'] Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,45 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[75, 47], Operations: ['90-15=75', '20+27=47'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[75, 7], Operations: ['90-15=75', '27-20=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[27, 95], Operations: ['90-15=75', '20+75=95'] Exploring Operation: 27*95=2565, Resulting Numbers: [2565] 2565,45 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 27+95=122, Resulting Numbers: [122] 122,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[15, 90, 47], Operations: ['20+27=47'] Exploring Operation: 90-47=43, Resulting Numbers: [15, 43] Generated Node #0,4,0: 45:[15, 43] Operation: 90-47=43 Exploring Operation: 47-15=32, Resulting Numbers: [90, 32] Generated Node #0,4,1: 45:[90, 32] Operation: 47-15=32 Exploring Operation: 90/15=6, Resulting Numbers: [47, 6] Generated Node #0,4,2: 45:[47, 6] Operation: 90/15=6 Exploring Operation: 90-15=75, Resulting Numbers: [47, 75] Generated Node #0,4,3: 45:[47, 75] Operation: 90-15=75 Exploring Operation: 15+90=105, Resulting Numbers: [47, 105] Generated Node #0,4,4: 45:[47, 105] Operation: 15+90=105 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 45:[15, 43], Operations: ['20+27=47', '90-47=43'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 15*43=645, Resulting Numbers: [645] 645,45 unequal: No Solution Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 45:[47, 6], Operations: ['20+27=47', '90/15=6'] Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,45 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 45:[47, 75], Operations: ['20+27=47', '90-15=75'] Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,45 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 45:[90, 32], Operations: ['20+27=47', '47-15=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,45 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 45:[47, 105], Operations: ['20+27=47', '15+90=105'] Exploring Operation: 47+105=152, Resulting Numbers: [152] 152,45 unequal: No Solution Exploring Operation: 47*105=4935, Resulting Numbers: [4935] 4935,45 unequal: No Solution Exploring Operation: 105-47=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 91, 94, 5, 55 ]
33
[ "94-91=3", "55/5=11", "3*11=33" ]
Current State: 33:[91, 94, 5, 55], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 55, 3] Generated Node #2: [5, 55, 3] from Operation: 94-91=3 Current State: 33:[5, 55, 3], Operations: ['94-91=3'] Exploring Operation: 55/5=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 55/5=11 Current State: 33:[3, 11], Operations: ['94-91=3', '55/5=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[91, 94, 5, 55], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 55, 3] Generated Node #0,0: 33:[5, 55, 3] Operation: 94-91=3 Exploring Operation: 55/5=11, Resulting Numbers: [91, 94, 11] Generated Node #0,1: 33:[91, 94, 11] Operation: 55/5=11 Exploring Operation: 94-55=39, Resulting Numbers: [91, 5, 39] Generated Node #0,2: 33:[91, 5, 39] Operation: 94-55=39 Exploring Operation: 91-55=36, Resulting Numbers: [94, 5, 36] Generated Node #0,3: 33:[94, 5, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[5, 55, 3], Operations: ['94-91=3'] Exploring Operation: 55-5=50, Resulting Numbers: [3, 50] Generated Node #0,0,0: 33:[3, 50] Operation: 55-5=50 Exploring Operation: 5-3=2, Resulting Numbers: [55, 2] Generated Node #0,0,1: 33:[55, 2] Operation: 5-3=2 Exploring Operation: 55-3=52, Resulting Numbers: [5, 52] Generated Node #0,0,2: 33:[5, 52] Operation: 55-3=52 Exploring Operation: 55/5=11, Resulting Numbers: [3, 11] Generated Node #0,0,3: 33:[3, 11] Operation: 55/5=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[3, 11], Operations: ['94-91=3', '55/5=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[91, 94, 5, 55], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [5, 55, 3] Generated Node #0,0: 33:[5, 55, 3] Operation: 94-91=3 Moving to Node #0,0 Current State: 33:[5, 55, 3], Operations: ['94-91=3'] Exploring Operation: 55/5=11, Resulting Numbers: [3, 11] Generated Node #0,0,3: 33:[3, 11] Operation: 55/5=11 Moving to Node #0,0,3 Current State: 33:[3, 11], Operations: ['94-91=3', '55/5=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 91, 30, 43, 52 ]
70
[ "91-30=61", "52-43=9", "61+9=70" ]
Current State: 70:[91, 30, 43, 52], Operations: [] Exploring Operation: 91-30=61, Resulting Numbers: [43, 52, 61] Generated Node #2: [43, 52, 61] from Operation: 91-30=61 Current State: 70:[43, 52, 61], Operations: ['91-30=61'] Exploring Operation: 52-43=9, Resulting Numbers: [61, 9] Generated Node #3: [61, 9] from Operation: 52-43=9 Current State: 70:[61, 9], Operations: ['91-30=61', '52-43=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[91, 30, 43, 52], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [30, 43, 39] Generated Node #0,0: 70:[30, 43, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[30, 43, 39], Operations: ['91-52=39'] Exploring Operation: 43-30=13, Resulting Numbers: [39, 13] Generated Node #0,0,0: 70:[39, 13] Operation: 43-30=13 Moving to Node #0,0,0 Current State: 70:[39, 13], Operations: ['91-52=39', '43-30=13'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,70 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
[ 33, 84, 94, 66 ]
89
[ "33+84=117", "94-66=28", "117-28=89" ]
Current State: 89:[33, 84, 94, 66], Operations: [] Exploring Operation: 33+84=117, Resulting Numbers: [94, 66, 117] Generated Node #2: [94, 66, 117] from Operation: 33+84=117 Current State: 89:[94, 66, 117], Operations: ['33+84=117'] Exploring Operation: 94-66=28, Resulting Numbers: [117, 28] Generated Node #3: [117, 28] from Operation: 94-66=28 Current State: 89:[117, 28], Operations: ['33+84=117', '94-66=28'] Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[33, 84, 94, 66], Operations: [] Exploring Operation: 84-33=51, Resulting Numbers: [94, 66, 51] Generated Node #0,0: 89:[94, 66, 51] Operation: 84-33=51 Exploring Operation: 94-33=61, Resulting Numbers: [84, 66, 61] Generated Node #0,1: 89:[84, 66, 61] Operation: 94-33=61 Exploring Operation: 33+84=117, Resulting Numbers: [94, 66, 117] Generated Node #0,2: 89:[94, 66, 117] Operation: 33+84=117 Exploring Operation: 33+66=99, Resulting Numbers: [84, 94, 99] Generated Node #0,3: 89:[84, 94, 99] Operation: 33+66=99 Moving to Node #0,3 Current State: 89:[84, 94, 99], Operations: ['33+66=99'] Exploring Operation: 99-84=15, Resulting Numbers: [94, 15] Generated Node #0,3,0: 89:[94, 15] Operation: 99-84=15 Exploring Operation: 94-84=10, Resulting Numbers: [99, 10] Generated Node #0,3,1: 89:[99, 10] Operation: 94-84=10 Exploring Operation: 99-94=5, Resulting Numbers: [84, 5] Generated Node #0,3,2: 89:[84, 5] Operation: 99-94=5 Exploring Operation: 84+94=178, Resulting Numbers: [99, 178] Generated Node #0,3,3: 89:[99, 178] Operation: 84+94=178 Moving to Node #0,2 Current State: 89:[94, 66, 117], Operations: ['33+84=117'] Exploring Operation: 94+66=160, Resulting Numbers: [117, 160] Generated Node #0,2,0: 89:[117, 160] Operation: 94+66=160 Exploring Operation: 94-66=28, Resulting Numbers: [117, 28] Generated Node #0,2,1: 89:[117, 28] Operation: 94-66=28 Exploring Operation: 117-94=23, Resulting Numbers: [66, 23] Generated Node #0,2,2: 89:[66, 23] Operation: 117-94=23 Exploring Operation: 117-66=51, Resulting Numbers: [94, 51] Generated Node #0,2,3: 89:[94, 51] Operation: 117-66=51 Moving to Node #0,1 Current State: 89:[84, 66, 61], Operations: ['94-33=61'] Exploring Operation: 84-61=23, Resulting Numbers: [66, 23] Generated Node #0,1,0: 89:[66, 23] Operation: 84-61=23 Exploring Operation: 84+66=150, Resulting Numbers: [61, 150] Generated Node #0,1,1: 89:[61, 150] Operation: 84+66=150 Exploring Operation: 66+61=127, Resulting Numbers: [84, 127] Generated Node #0,1,2: 89:[84, 127] Operation: 66+61=127 Exploring Operation: 84+61=145, Resulting Numbers: [66, 145] Generated Node #0,1,3: 89:[66, 145] Operation: 84+61=145 Moving to Node #0,0 Current State: 89:[94, 66, 51], Operations: ['84-33=51'] Exploring Operation: 66+51=117, Resulting Numbers: [94, 117] Generated Node #0,0,0: 89:[94, 117] Operation: 66+51=117 Exploring Operation: 94+51=145, Resulting Numbers: [66, 145] Generated Node #0,0,1: 89:[66, 145] Operation: 94+51=145 Exploring Operation: 66-51=15, Resulting Numbers: [94, 15] Generated Node #0,0,2: 89:[94, 15] Operation: 66-51=15 Exploring Operation: 94-51=43, Resulting Numbers: [66, 43] Generated Node #0,0,3: 89:[66, 43] Operation: 94-51=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[94, 117], Operations: ['84-33=51', '66+51=117'] Exploring Operation: 94*117=10998, Resulting Numbers: [10998] 10998,89 unequal: No Solution Exploring Operation: 94+117=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 117-94=23, Resulting Numbers: [23] 23,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[66, 43], Operations: ['84-33=51', '94-51=43'] Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[66, 145], Operations: ['84-33=51', '94+51=145'] Exploring Operation: 66*145=9570, Resulting Numbers: [9570] 9570,89 unequal: No Solution Exploring Operation: 66+145=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 145-66=79, Resulting Numbers: [79] 79,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[94, 15], Operations: ['84-33=51', '66-51=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,89 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 89:[94, 51], Operations: ['33+84=117', '117-66=51'] Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,89 unequal: No Solution Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[84, 127], Operations: ['94-33=61', '66+61=127'] Exploring Operation: 84*127=10668, Resulting Numbers: [10668] 10668,89 unequal: No Solution Exploring Operation: 84+127=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 127-84=43, Resulting Numbers: [43] 43,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[66, 145], Operations: ['94-33=61', '84+61=145'] Exploring Operation: 66+145=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 66*145=9570, Resulting Numbers: [9570] 9570,89 unequal: No Solution Exploring Operation: 145-66=79, Resulting Numbers: [79] 79,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[94, 15], Operations: ['33+66=99', '99-84=15'] Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,89 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[84, 5], Operations: ['33+66=99', '99-94=5'] Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,89 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[33, 84, 94, 66], Operations: [] Exploring Operation: 33+66=99, Resulting Numbers: [84, 94, 99] Generated Node #0,3: 89:[84, 94, 99] Operation: 33+66=99 Moving to Node #0,3 Current State: 89:[84, 94, 99], Operations: ['33+66=99'] Exploring Operation: 99-94=5, Resulting Numbers: [84, 5] Generated Node #0,3,2: 89:[84, 5] Operation: 99-94=5 Moving to Node #0,3,2 Current State: 89:[84, 5], Operations: ['33+66=99', '99-94=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 72, 18, 61, 22 ]
35
[ "72/18=4", "61-22=39", "39-4=35" ]
Current State: 35:[72, 18, 61, 22], Operations: [] Exploring Operation: 72/18=4, Resulting Numbers: [61, 22, 4] Generated Node #2: [61, 22, 4] from Operation: 72/18=4 Current State: 35:[61, 22, 4], Operations: ['72/18=4'] Exploring Operation: 61-22=39, Resulting Numbers: [4, 39] Generated Node #3: [4, 39] from Operation: 61-22=39 Current State: 35:[4, 39], Operations: ['72/18=4', '61-22=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[72, 18, 61, 22], Operations: [] Exploring Operation: 72-61=11, Resulting Numbers: [18, 22, 11] Generated Node #0,0: 35:[18, 22, 11] Operation: 72-61=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[18, 22, 11], Operations: ['72-61=11'] Exploring Operation: 22-18=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 35:[11, 4] Operation: 22-18=4 Moving to Node #0,0,0 Current State: 35:[11, 4], Operations: ['72-61=11', '22-18=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,35 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
[ 90, 71, 6, 84 ]
71
[ "90+71=161", "6+84=90", "161-90=71" ]
Current State: 71:[90, 71, 6, 84], Operations: [] Exploring Operation: 90+71=161, Resulting Numbers: [6, 84, 161] Generated Node #2: [6, 84, 161] from Operation: 90+71=161 Current State: 71:[6, 84, 161], Operations: ['90+71=161'] Exploring Operation: 6+84=90, Resulting Numbers: [161, 90] Generated Node #3: [161, 90] from Operation: 6+84=90 Current State: 71:[161, 90], Operations: ['90+71=161', '6+84=90'] Exploring Operation: 161-90=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[90, 71, 6, 84], Operations: [] Exploring Operation: 90-6=84, Resulting Numbers: [71, 84, 84] Generated Node #0,0: 71:[71, 84, 84] Operation: 90-6=84 Exploring Operation: 71+6=77, Resulting Numbers: [90, 84, 77] Generated Node #0,1: 71:[90, 84, 77] Operation: 71+6=77 Exploring Operation: 84-6=78, Resulting Numbers: [90, 71, 78] Generated Node #0,2: 71:[90, 71, 78] Operation: 84-6=78 Exploring Operation: 71-6=65, Resulting Numbers: [90, 84, 65] Generated Node #0,3: 71:[90, 84, 65] Operation: 71-6=65 Exploring Operation: 90+6=96, Resulting Numbers: [71, 84, 96] Generated Node #0,4: 71:[71, 84, 96] Operation: 90+6=96 Moving to Node #0,0 Current State: 71:[71, 84, 84], Operations: ['90-6=84'] Exploring Operation: 84-71=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 71:[84, 13] Operation: 84-71=13 Exploring Operation: 84-71=13, Resulting Numbers: [84, 13] Generated Node #0,0,1: 71:[84, 13] Operation: 84-71=13 Exploring Operation: 84-84=0, Resulting Numbers: [71, 0] Generated Node #0,0,2: 71:[71, 0] Operation: 84-84=0 Exploring Operation: 84/84=1, Resulting Numbers: [71, 1] Generated Node #0,0,3: 71:[71, 1] Operation: 84/84=1 Exploring Operation: 71+84=155, Resulting Numbers: [84, 155] Generated Node #0,0,4: 71:[84, 155] Operation: 71+84=155 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[71, 1], Operations: ['90-6=84', '84/84=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[90, 71, 6, 84], Operations: [] Exploring Operation: 90-6=84, Resulting Numbers: [71, 84, 84] Generated Node #0,0: 71:[71, 84, 84] Operation: 90-6=84 Moving to Node #0,0 Current State: 71:[71, 84, 84], Operations: ['90-6=84'] Exploring Operation: 84/84=1, Resulting Numbers: [71, 1] Generated Node #0,0,3: 71:[71, 1] Operation: 84/84=1 Moving to Node #0,0,3 Current State: 71:[71, 1], Operations: ['90-6=84', '84/84=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 23, 10, 7, 10 ]
70
[ "23+7=30", "10*10=100", "100-30=70" ]
Current State: 70:[23, 10, 7, 10], Operations: [] Exploring Operation: 23+7=30, Resulting Numbers: [10, 10, 30] Generated Node #2: [10, 10, 30] from Operation: 23+7=30 Current State: 70:[10, 10, 30], Operations: ['23+7=30'] Exploring Operation: 10*10=100, Resulting Numbers: [30, 100] Generated Node #3: [30, 100] from Operation: 10*10=100 Current State: 70:[30, 100], Operations: ['23+7=30', '10*10=100'] Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[23, 10, 7, 10], Operations: [] Exploring Operation: 23-10=13, Resulting Numbers: [7, 10, 13] Generated Node #0,0: 70:[7, 10, 13] Operation: 23-10=13 Moving to Node #0,0 Current State: 70:[7, 10, 13], Operations: ['23-10=13'] Exploring Operation: 7*10=70, Resulting Numbers: [13, 70] Generated Node #0,0,0: 70:[13, 70] Operation: 7*10=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[13, 70], Operations: ['23-10=13', '7*10=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,70 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
[ 94, 17, 97, 28 ]
15
[ "97-94=3", "17+28=45", "45/3=15" ]
Current State: 15:[94, 17, 97, 28], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [17, 28, 3] Generated Node #2: [17, 28, 3] from Operation: 97-94=3 Current State: 15:[17, 28, 3], Operations: ['97-94=3'] Exploring Operation: 17+28=45, Resulting Numbers: [3, 45] Generated Node #3: [3, 45] from Operation: 17+28=45 Current State: 15:[3, 45], Operations: ['97-94=3', '17+28=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[94, 17, 97, 28], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [97, 28, 77] Generated Node #0,0: 15:[97, 28, 77] Operation: 94-17=77 Exploring Operation: 97-17=80, Resulting Numbers: [94, 28, 80] Generated Node #0,1: 15:[94, 28, 80] Operation: 97-17=80 Exploring Operation: 97-28=69, Resulting Numbers: [94, 17, 69] Generated Node #0,2: 15:[94, 17, 69] Operation: 97-28=69 Exploring Operation: 97-94=3, Resulting Numbers: [17, 28, 3] Generated Node #0,3: 15:[17, 28, 3] Operation: 97-94=3 Exploring Operation: 94-28=66, Resulting Numbers: [17, 97, 66] Generated Node #0,4: 15:[17, 97, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[17, 28, 3], Operations: ['97-94=3'] Exploring Operation: 28-3=25, Resulting Numbers: [17, 25] Generated Node #0,3,0: 15:[17, 25] Operation: 28-3=25 Exploring Operation: 17-3=14, Resulting Numbers: [28, 14] Generated Node #0,3,1: 15:[28, 14] Operation: 17-3=14 Exploring Operation: 28-17=11, Resulting Numbers: [3, 11] Generated Node #0,3,2: 15:[3, 11] Operation: 28-17=11 Exploring Operation: 28+3=31, Resulting Numbers: [17, 31] Generated Node #0,3,3: 15:[17, 31] Operation: 28+3=31 Exploring Operation: 17+3=20, Resulting Numbers: [28, 20] Generated Node #0,3,4: 15:[28, 20] Operation: 17+3=20 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[3, 11], Operations: ['97-94=3', '28-17=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,15 unequal: No Solution No 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: 15:[17, 25], Operations: ['97-94=3', '28-3=25'] Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,15 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,15 unequal: No Solution No 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: 15:[28, 14], Operations: ['97-94=3', '17-3=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,15 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,15 unequal: No Solution No 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: 15:[17, 31], Operations: ['97-94=3', '28+3=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,15 unequal: No Solution No 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: 15:[28, 20], Operations: ['97-94=3', '17+3=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,15 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,15 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: 15:[94, 17, 69], Operations: ['97-28=69'] Exploring Operation: 94+17=111, Resulting Numbers: [69, 111] Generated Node #0,2,0: 15:[69, 111] Operation: 94+17=111 Exploring Operation: 94-17=77, Resulting Numbers: [69, 77] Generated Node #0,2,1: 15:[69, 77] Operation: 94-17=77 Exploring Operation: 94+69=163, Resulting Numbers: [17, 163] Generated Node #0,2,2: 15:[17, 163] Operation: 94+69=163 Exploring Operation: 69-17=52, Resulting Numbers: [94, 52] Generated Node #0,2,3: 15:[94, 52] Operation: 69-17=52 Exploring Operation: 94-69=25, Resulting Numbers: [17, 25] Generated Node #0,2,4: 15:[17, 25] Operation: 94-69=25 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[17, 25], Operations: ['97-28=69', '94-69=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,15 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,15 unequal: No Solution No 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: 15:[69, 77], Operations: ['97-28=69', '94-17=77'] Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,15 unequal: No Solution No 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: 15:[94, 52], Operations: ['97-28=69', '69-17=52'] Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,15 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,15 unequal: No Solution No 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: 15:[69, 111], Operations: ['97-28=69', '94+17=111'] Exploring Operation: 111-69=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 69+111=180, Resulting Numbers: [180] 180,15 unequal: No Solution Exploring Operation: 69*111=7659, Resulting Numbers: [7659] 7659,15 unequal: No Solution No 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: 15:[17, 163], Operations: ['97-28=69', '94+69=163'] Exploring Operation: 17*163=2771, Resulting Numbers: [2771] 2771,15 unequal: No Solution Exploring Operation: 17+163=180, Resulting Numbers: [180] 180,15 unequal: No Solution Exploring Operation: 163-17=146, Resulting Numbers: [146] 146,15 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: 15:[17, 97, 66], Operations: ['94-28=66'] Exploring Operation: 17+66=83, Resulting Numbers: [97, 83] Generated Node #0,4,0: 15:[97, 83] Operation: 17+66=83 Exploring Operation: 97-17=80, Resulting Numbers: [66, 80] Generated Node #0,4,1: 15:[66, 80] Operation: 97-17=80 Exploring Operation: 66-17=49, Resulting Numbers: [97, 49] Generated Node #0,4,2: 15:[97, 49] Operation: 66-17=49 Exploring Operation: 17+97=114, Resulting Numbers: [66, 114] Generated Node #0,4,3: 15:[66, 114] Operation: 17+97=114 Exploring Operation: 97-66=31, Resulting Numbers: [17, 31] Generated Node #0,4,4: 15:[17, 31] Operation: 97-66=31 Moving to Node #0,4,4 Current State: 15:[17, 31], Operations: ['94-28=66', '97-66=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[97, 49], Operations: ['94-28=66', '66-17=49'] Exploring Operation: 97-49=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 97+49=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 97*49=4753, Resulting Numbers: [4753] 4753,15 unequal: No Solution Moving to Node #0,4,1 Current State: 15:[66, 80], Operations: ['94-28=66', '97-17=80'] Exploring Operation: 66*80=5280, Resulting Numbers: [5280] 5280,15 unequal: No Solution Exploring Operation: 66+80=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,4,0 Current State: 15:[97, 83], Operations: ['94-28=66', '17+66=83'] Exploring Operation: 97+83=180, Resulting Numbers: [180] 180,15 unequal: No Solution Exploring Operation: 97-83=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 97*83=8051, Resulting Numbers: [8051] 8051,15 unequal: No Solution Moving to Node #0,4,3 Current State: 15:[66, 114], Operations: ['94-28=66', '17+97=114'] Exploring Operation: 66+114=180, Resulting Numbers: [180] 180,15 unequal: No Solution Exploring Operation: 114-66=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 66*114=7524, Resulting Numbers: [7524] 7524,15 unequal: No Solution No 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: 15:[97, 28, 77], Operations: ['94-17=77'] Exploring Operation: 77-28=49, Resulting Numbers: [97, 49] Generated Node #0,0,0: 15:[97, 49] Operation: 77-28=49 Exploring Operation: 97-28=69, Resulting Numbers: [77, 69] Generated Node #0,0,1: 15:[77, 69] Operation: 97-28=69 Exploring Operation: 97+28=125, Resulting Numbers: [77, 125] Generated Node #0,0,2: 15:[77, 125] Operation: 97+28=125 Exploring Operation: 97-77=20, Resulting Numbers: [28, 20] Generated Node #0,0,3: 15:[28, 20] Operation: 97-77=20 Exploring Operation: 97+77=174, Resulting Numbers: [28, 174] Generated Node #0,0,4: 15:[28, 174] Operation: 97+77=174 Moving to Node #0,0,3 Current State: 15:[28, 20], Operations: ['94-17=77', '97-77=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,15 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[77, 69], Operations: ['94-17=77', '97-28=69'] Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 77+69=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 77*69=5313, Resulting Numbers: [5313] 5313,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[97, 49], Operations: ['94-17=77', '77-28=49'] Exploring Operation: 97-49=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 97*49=4753, Resulting Numbers: [4753] 4753,15 unequal: No Solution Exploring Operation: 97+49=146, Resulting Numbers: [146] 146,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[77, 125], Operations: ['94-17=77', '97+28=125'] Exploring Operation: 77+125=202, Resulting Numbers: [202] 202,15 unequal: No Solution Exploring Operation: 77*125=9625, Resulting Numbers: [9625] 9625,15 unequal: No Solution Exploring Operation: 125-77=48, Resulting Numbers: [48] 48,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[28, 174], Operations: ['94-17=77', '97+77=174'] Exploring Operation: 28+174=202, Resulting Numbers: [202] 202,15 unequal: No Solution Exploring Operation: 174-28=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 28*174=4872, Resulting Numbers: [4872] 4872,15 unequal: No Solution No 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: 15:[94, 28, 80], Operations: ['97-17=80'] Exploring Operation: 80-28=52, Resulting Numbers: [94, 52] Generated Node #0,1,0: 15:[94, 52] Operation: 80-28=52 Exploring Operation: 94+80=174, Resulting Numbers: [28, 174] Generated Node #0,1,1: 15:[28, 174] Operation: 94+80=174 Exploring Operation: 94-28=66, Resulting Numbers: [80, 66] Generated Node #0,1,2: 15:[80, 66] Operation: 94-28=66 Exploring Operation: 94-80=14, Resulting Numbers: [28, 14] Generated Node #0,1,3: 15:[28, 14] Operation: 94-80=14 Exploring Operation: 94+28=122, Resulting Numbers: [80, 122] Generated Node #0,1,4: 15:[80, 122] Operation: 94+28=122 Moving to Node #0,1,3 Current State: 15:[28, 14], Operations: ['97-17=80', '94-80=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,15 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[80, 66], Operations: ['97-17=80', '94-28=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[94, 52], Operations: ['97-17=80', '80-28=52'] Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,15 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,15 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[28, 174], Operations: ['97-17=80', '94+80=174'] Exploring Operation: 28+174=202, Resulting Numbers: [202] 202,15 unequal: No Solution Exploring Operation: 28*174=4872, Resulting Numbers: [4872] 4872,15 unequal: No Solution Exploring Operation: 174-28=146, Resulting Numbers: [146] 146,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[80, 122], Operations: ['97-17=80', '94+28=122'] Exploring Operation: 122-80=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 80+122=202, Resulting Numbers: [202] 202,15 unequal: No Solution Exploring Operation: 80*122=9760, Resulting Numbers: [9760] 9760,15 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
[ 79, 13, 88, 84 ]
62
[ "79-13=66", "88-84=4", "66-4=62" ]
Current State: 62:[79, 13, 88, 84], Operations: [] Exploring Operation: 79-13=66, Resulting Numbers: [88, 84, 66] Generated Node #2: [88, 84, 66] from Operation: 79-13=66 Current State: 62:[88, 84, 66], Operations: ['79-13=66'] Exploring Operation: 88-84=4, Resulting Numbers: [66, 4] Generated Node #3: [66, 4] from Operation: 88-84=4 Current State: 62:[66, 4], Operations: ['79-13=66', '88-84=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[79, 13, 88, 84], Operations: [] Exploring Operation: 79-13=66, Resulting Numbers: [88, 84, 66] Generated Node #0,0: 62:[88, 84, 66] Operation: 79-13=66 Exploring Operation: 88-79=9, Resulting Numbers: [13, 84, 9] Generated Node #0,1: 62:[13, 84, 9] Operation: 88-79=9 Exploring Operation: 84-79=5, Resulting Numbers: [13, 88, 5] Generated Node #0,2: 62:[13, 88, 5] Operation: 84-79=5 Exploring Operation: 88-84=4, Resulting Numbers: [79, 13, 4] Generated Node #0,3: 62:[79, 13, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[79, 13, 4], Operations: ['88-84=4'] Exploring Operation: 79-13=66, Resulting Numbers: [4, 66] Generated Node #0,3,0: 62:[4, 66] Operation: 79-13=66 Exploring Operation: 13-4=9, Resulting Numbers: [79, 9] Generated Node #0,3,1: 62:[79, 9] Operation: 13-4=9 Exploring Operation: 13*4=52, Resulting Numbers: [79, 52] Generated Node #0,3,2: 62:[79, 52] Operation: 13*4=52 Exploring Operation: 79-4=75, Resulting Numbers: [13, 75] Generated Node #0,3,3: 62:[13, 75] Operation: 79-4=75 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[4, 66], Operations: ['88-84=4', '79-13=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,62 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[79, 13, 88, 84], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [79, 13, 4] Generated Node #0,3: 62:[79, 13, 4] Operation: 88-84=4 Moving to Node #0,3 Current State: 62:[79, 13, 4], Operations: ['88-84=4'] Exploring Operation: 79-13=66, Resulting Numbers: [4, 66] Generated Node #0,3,0: 62:[4, 66] Operation: 79-13=66 Moving to Node #0,3,0 Current State: 62:[4, 66], Operations: ['88-84=4', '79-13=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 82, 59, 2, 96 ]
43
[ "82+59=141", "2+96=98", "141-98=43" ]
Current State: 43:[82, 59, 2, 96], Operations: [] Exploring Operation: 82+59=141, Resulting Numbers: [2, 96, 141] Generated Node #2: [2, 96, 141] from Operation: 82+59=141 Current State: 43:[2, 96, 141], Operations: ['82+59=141'] Exploring Operation: 2+96=98, Resulting Numbers: [141, 98] Generated Node #3: [141, 98] from Operation: 2+96=98 Current State: 43:[141, 98], Operations: ['82+59=141', '2+96=98'] Exploring Operation: 141-98=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[82, 59, 2, 96], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [59, 96, 41] Generated Node #0,0: 43:[59, 96, 41] Operation: 82/2=41 Exploring Operation: 96/2=48, Resulting Numbers: [82, 59, 48] Generated Node #0,1: 43:[82, 59, 48] Operation: 96/2=48 Moving to Node #0,1 Current State: 43:[82, 59, 48], Operations: ['96/2=48'] Exploring Operation: 82-59=23, Resulting Numbers: [48, 23] Generated Node #0,1,0: 43:[48, 23] Operation: 82-59=23 Exploring Operation: 82-48=34, Resulting Numbers: [59, 34] Generated Node #0,1,1: 43:[59, 34] Operation: 82-48=34 Moving to Node #0,0 Current State: 43:[59, 96, 41], Operations: ['82/2=41'] Exploring Operation: 96-59=37, Resulting Numbers: [41, 37] Generated Node #0,0,0: 43:[41, 37] Operation: 96-59=37 Exploring Operation: 96-41=55, Resulting Numbers: [59, 55] Generated Node #0,0,1: 43:[59, 55] Operation: 96-41=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[41, 37], Operations: ['82/2=41', '96-59=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[59, 55], Operations: ['82/2=41', '96-41=55'] Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 43:[48, 23], Operations: ['96/2=48', '82-59=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[59, 34], Operations: ['96/2=48', '82-48=34'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 50, 6, 96, 51 ]
100
[ "6+96=102", "50*102=5100", "5100/51=100" ]
Current State: 100:[50, 6, 96, 51], Operations: [] Exploring Operation: 6+96=102, Resulting Numbers: [50, 51, 102] Generated Node #2: [50, 51, 102] from Operation: 6+96=102 Current State: 100:[50, 51, 102], Operations: ['6+96=102'] Exploring Operation: 50*102=5100, Resulting Numbers: [51, 5100] Generated Node #3: [51, 5100] from Operation: 50*102=5100 Current State: 100:[51, 5100], Operations: ['6+96=102', '50*102=5100'] Exploring Operation: 5100/51=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[50, 6, 96, 51], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [50, 51, 16] Generated Node #0,0: 100:[50, 51, 16] Operation: 96/6=16 Exploring Operation: 6+96=102, Resulting Numbers: [50, 51, 102] Generated Node #0,1: 100:[50, 51, 102] Operation: 6+96=102 Moving to Node #0,1 Current State: 100:[50, 51, 102], Operations: ['6+96=102'] Exploring Operation: 102/51=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 100:[50, 2] Operation: 102/51=2 Exploring Operation: 102-51=51, Resulting Numbers: [50, 51] Generated Node #0,1,1: 100:[50, 51] Operation: 102-51=51 Moving to Node #0,0 Current State: 100:[50, 51, 16], Operations: ['96/6=16'] Exploring Operation: 51-50=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 100:[16, 1] Operation: 51-50=1 Exploring Operation: 50+51=101, Resulting Numbers: [16, 101] Generated Node #0,0,1: 100:[16, 101] Operation: 50+51=101 Moving to Node #0,1,0 Current State: 100:[50, 2], Operations: ['6+96=102', '102/51=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[50, 6, 96, 51], Operations: [] Exploring Operation: 6+96=102, Resulting Numbers: [50, 51, 102] Generated Node #0,1: 100:[50, 51, 102] Operation: 6+96=102 Moving to Node #0,1 Current State: 100:[50, 51, 102], Operations: ['6+96=102'] Exploring Operation: 102/51=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 100:[50, 2] Operation: 102/51=2 Moving to Node #0,1,0 Current State: 100:[50, 2], Operations: ['6+96=102', '102/51=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 15, 93, 61, 98 ]
81
[ "93-15=78", "61+98=159", "159-78=81" ]
Current State: 81:[15, 93, 61, 98], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [61, 98, 78] Generated Node #2: [61, 98, 78] from Operation: 93-15=78 Current State: 81:[61, 98, 78], Operations: ['93-15=78'] Exploring Operation: 61+98=159, Resulting Numbers: [78, 159] Generated Node #3: [78, 159] from Operation: 61+98=159 Current State: 81:[78, 159], Operations: ['93-15=78', '61+98=159'] Exploring Operation: 159-78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[15, 93, 61, 98], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [15, 98, 32] Generated Node #0,0: 81:[15, 98, 32] Operation: 93-61=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[15, 98, 32], Operations: ['93-61=32'] Exploring Operation: 98-15=83, Resulting Numbers: [32, 83] Generated Node #0,0,0: 81:[32, 83] Operation: 98-15=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[32, 83], Operations: ['93-61=32', '98-15=83'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 20, 92, 43 ]
95
[ "45*43=1935", "20*92=1840", "1935-1840=95" ]
Current State: 95:[45, 20, 92, 43], Operations: [] Exploring Operation: 45*43=1935, Resulting Numbers: [20, 92, 1935] Generated Node #2: [20, 92, 1935] from Operation: 45*43=1935 Current State: 95:[20, 92, 1935], Operations: ['45*43=1935'] Exploring Operation: 20*92=1840, Resulting Numbers: [1935, 1840] Generated Node #3: [1935, 1840] from Operation: 20*92=1840 Current State: 95:[1935, 1840], Operations: ['45*43=1935', '20*92=1840'] Exploring Operation: 1935-1840=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[45, 20, 92, 43], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [20, 92, 2] Generated Node #0,0: 95:[20, 92, 2] Operation: 45-43=2 Exploring Operation: 45-20=25, Resulting Numbers: [92, 43, 25] Generated Node #0,1: 95:[92, 43, 25] Operation: 45-20=25 Exploring Operation: 45+43=88, Resulting Numbers: [20, 92, 88] Generated Node #0,2: 95:[20, 92, 88] Operation: 45+43=88 Exploring Operation: 43-20=23, Resulting Numbers: [45, 92, 23] Generated Node #0,3: 95:[45, 92, 23] Operation: 43-20=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[20, 92, 2], Operations: ['45-43=2'] Exploring Operation: 92+2=94, Resulting Numbers: [20, 94] Generated Node #0,0,0: 95:[20, 94] Operation: 92+2=94 Exploring Operation: 20-2=18, Resulting Numbers: [92, 18] Generated Node #0,0,1: 95:[92, 18] Operation: 20-2=18 Exploring Operation: 92-2=90, Resulting Numbers: [20, 90] Generated Node #0,0,2: 95:[20, 90] Operation: 92-2=90 Exploring Operation: 20+2=22, Resulting Numbers: [92, 22] Generated Node #0,0,3: 95:[92, 22] Operation: 20+2=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[20, 94], Operations: ['45-43=2', '92+2=94'] Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 20*94=1880, Resulting Numbers: [1880] 1880,95 unequal: No Solution Exploring Operation: 20+94=114, Resulting Numbers: [114] 114,95 unequal: No Solution No 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: 95:[92, 18], Operations: ['45-43=2', '20-2=18'] Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,95 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,95 unequal: No Solution No 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: 95:[20, 90], Operations: ['45-43=2', '92-2=90'] Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 20*90=1800, Resulting Numbers: [1800] 1800,95 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,95 unequal: No Solution No 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: 95:[92, 22], Operations: ['45-43=2', '20+2=22'] Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,95 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: 95:[20, 92, 88], Operations: ['45+43=88'] Exploring Operation: 20+92=112, Resulting Numbers: [88, 112] Generated Node #0,2,0: 95:[88, 112] Operation: 20+92=112 Exploring Operation: 92-20=72, Resulting Numbers: [88, 72] Generated Node #0,2,1: 95:[88, 72] Operation: 92-20=72 Exploring Operation: 20+88=108, Resulting Numbers: [92, 108] Generated Node #0,2,2: 95:[92, 108] Operation: 20+88=108 Exploring Operation: 92-88=4, Resulting Numbers: [20, 4] Generated Node #0,2,3: 95:[20, 4] Operation: 92-88=4 Moving to Node #0,2,3 Current State: 95:[20, 4], Operations: ['45+43=88', '92-88=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,95 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[92, 108], Operations: ['45+43=88', '20+88=108'] Exploring Operation: 108-92=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 92+108=200, Resulting Numbers: [200] 200,95 unequal: No Solution Exploring Operation: 92*108=9936, Resulting Numbers: [9936] 9936,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[88, 112], Operations: ['45+43=88', '20+92=112'] Exploring Operation: 112-88=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 88*112=9856, Resulting Numbers: [9856] 9856,95 unequal: No Solution Exploring Operation: 88+112=200, Resulting Numbers: [200] 200,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[88, 72], Operations: ['45+43=88', '92-20=72'] Exploring Operation: 88*72=6336, Resulting Numbers: [6336] 6336,95 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[92, 43, 25], Operations: ['45-20=25'] Exploring Operation: 92-43=49, Resulting Numbers: [25, 49] Generated Node #0,1,0: 95:[25, 49] Operation: 92-43=49 Exploring Operation: 43-25=18, Resulting Numbers: [92, 18] Generated Node #0,1,1: 95:[92, 18] Operation: 43-25=18 Exploring Operation: 43+25=68, Resulting Numbers: [92, 68] Generated Node #0,1,2: 95:[92, 68] Operation: 43+25=68 Exploring Operation: 92+43=135, Resulting Numbers: [25, 135] Generated Node #0,1,3: 95:[25, 135] Operation: 92+43=135 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[92, 18], Operations: ['45-20=25', '43-25=18'] Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,95 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,95 unequal: No Solution No 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: 95:[92, 68], Operations: ['45-20=25', '43+25=68'] Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,95 unequal: No Solution Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,95 unequal: No Solution No 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: 95:[25, 49], Operations: ['45-20=25', '92-43=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,95 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,95 unequal: No Solution No 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: 95:[25, 135], Operations: ['45-20=25', '92+43=135'] Exploring Operation: 25*135=3375, Resulting Numbers: [3375] 3375,95 unequal: No Solution Exploring Operation: 135-25=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 25+135=160, Resulting Numbers: [160] 160,95 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: 95:[45, 92, 23], Operations: ['43-20=23'] Exploring Operation: 92/23=4, Resulting Numbers: [45, 4] Generated Node #0,3,0: 95:[45, 4] Operation: 92/23=4 Exploring Operation: 45+23=68, Resulting Numbers: [92, 68] Generated Node #0,3,1: 95:[92, 68] Operation: 45+23=68 Exploring Operation: 92-45=47, Resulting Numbers: [23, 47] Generated Node #0,3,2: 95:[23, 47] Operation: 92-45=47 Exploring Operation: 45-23=22, Resulting Numbers: [92, 22] Generated Node #0,3,3: 95:[92, 22] Operation: 45-23=22 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 95:[92, 22], Operations: ['43-20=23', '45-23=22'] Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,95 unequal: No Solution Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,95 unequal: No Solution No 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: 95:[45, 4], Operations: ['43-20=23', '92/23=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,95 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,95 unequal: No Solution No 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: 95:[92, 68], Operations: ['43-20=23', '45+23=68'] Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,95 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,95 unequal: No Solution No 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: 95:[23, 47], Operations: ['43-20=23', '92-45=47'] Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,95 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,95 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
[ 30, 35, 15, 86 ]
96
[ "35-30=5", "15+86=101", "101-5=96" ]
Current State: 96:[30, 35, 15, 86], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [15, 86, 5] Generated Node #2: [15, 86, 5] from Operation: 35-30=5 Current State: 96:[15, 86, 5], Operations: ['35-30=5'] Exploring Operation: 15+86=101, Resulting Numbers: [5, 101] Generated Node #3: [5, 101] from Operation: 15+86=101 Current State: 96:[5, 101], Operations: ['35-30=5', '15+86=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[30, 35, 15, 86], Operations: [] Exploring Operation: 86-35=51, Resulting Numbers: [30, 15, 51] Generated Node #0,0: 96:[30, 15, 51] Operation: 86-35=51 Exploring Operation: 86-30=56, Resulting Numbers: [35, 15, 56] Generated Node #0,1: 96:[35, 15, 56] Operation: 86-30=56 Exploring Operation: 35-30=5, Resulting Numbers: [15, 86, 5] Generated Node #0,2: 96:[15, 86, 5] Operation: 35-30=5 Exploring Operation: 15+86=101, Resulting Numbers: [30, 35, 101] Generated Node #0,3: 96:[30, 35, 101] Operation: 15+86=101 Moving to Node #0,0 Current State: 96:[30, 15, 51], Operations: ['86-35=51'] Exploring Operation: 30+15=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 96:[51, 45] Operation: 30+15=45 Exploring Operation: 30-15=15, Resulting Numbers: [51, 15] Generated Node #0,0,1: 96:[51, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [51, 2] Generated Node #0,0,2: 96:[51, 2] Operation: 30/15=2 Exploring Operation: 51-30=21, Resulting Numbers: [15, 21] Generated Node #0,0,3: 96:[15, 21] Operation: 51-30=21 Moving to Node #0,3 Current State: 96:[30, 35, 101], Operations: ['15+86=101'] Exploring Operation: 101-35=66, Resulting Numbers: [30, 66] Generated Node #0,3,0: 96:[30, 66] Operation: 101-35=66 Exploring Operation: 35-30=5, Resulting Numbers: [101, 5] Generated Node #0,3,1: 96:[101, 5] Operation: 35-30=5 Exploring Operation: 101-30=71, Resulting Numbers: [35, 71] Generated Node #0,3,2: 96:[35, 71] Operation: 101-30=71 Exploring Operation: 30+35=65, Resulting Numbers: [101, 65] Generated Node #0,3,3: 96:[101, 65] Operation: 30+35=65 Moving to Node #0,2 Current State: 96:[15, 86, 5], Operations: ['35-30=5'] Exploring Operation: 15-5=10, Resulting Numbers: [86, 10] Generated Node #0,2,0: 96:[86, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [86, 3] Generated Node #0,2,1: 96:[86, 3] Operation: 15/5=3 Exploring Operation: 15+86=101, Resulting Numbers: [5, 101] Generated Node #0,2,2: 96:[5, 101] Operation: 15+86=101 Exploring Operation: 86+5=91, Resulting Numbers: [15, 91] Generated Node #0,2,3: 96:[15, 91] Operation: 86+5=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[5, 101], Operations: ['35-30=5', '15+86=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[30, 35, 15, 86], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [15, 86, 5] Generated Node #0,2: 96:[15, 86, 5] Operation: 35-30=5 Moving to Node #0,2 Current State: 96:[15, 86, 5], Operations: ['35-30=5'] Exploring Operation: 15+86=101, Resulting Numbers: [5, 101] Generated Node #0,2,2: 96:[5, 101] Operation: 15+86=101 Moving to Node #0,2,2 Current State: 96:[5, 101], Operations: ['35-30=5', '15+86=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 38, 13, 1, 58 ]
32
[ "38-13=25", "58-1=57", "57-25=32" ]
Current State: 32:[38, 13, 1, 58], Operations: [] Exploring Operation: 38-13=25, Resulting Numbers: [1, 58, 25] Generated Node #2: [1, 58, 25] from Operation: 38-13=25 Current State: 32:[1, 58, 25], Operations: ['38-13=25'] Exploring Operation: 58-1=57, Resulting Numbers: [25, 57] Generated Node #3: [25, 57] from Operation: 58-1=57 Current State: 32:[25, 57], Operations: ['38-13=25', '58-1=57'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 13, 1, 58], Operations: [] Exploring Operation: 58-13=45, Resulting Numbers: [38, 1, 45] Generated Node #0,0: 32:[38, 1, 45] Operation: 58-13=45 Exploring Operation: 38-13=25, Resulting Numbers: [1, 58, 25] Generated Node #0,1: 32:[1, 58, 25] Operation: 38-13=25 Exploring Operation: 58-38=20, Resulting Numbers: [13, 1, 20] Generated Node #0,2: 32:[13, 1, 20] Operation: 58-38=20 Moving to Node #0,2 Current State: 32:[13, 1, 20], Operations: ['58-38=20'] Exploring Operation: 20-13=7, Resulting Numbers: [1, 7] Generated Node #0,2,0: 32:[1, 7] Operation: 20-13=7 Exploring Operation: 13+20=33, Resulting Numbers: [1, 33] Generated Node #0,2,1: 32:[1, 33] Operation: 13+20=33 Exploring Operation: 13+1=14, Resulting Numbers: [20, 14] Generated Node #0,2,2: 32:[20, 14] Operation: 13+1=14 Moving to Node #0,0 Current State: 32:[38, 1, 45], Operations: ['58-13=45'] Exploring Operation: 45-38=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 32:[1, 7] Operation: 45-38=7 Exploring Operation: 38-1=37, Resulting Numbers: [45, 37] Generated Node #0,0,1: 32:[45, 37] Operation: 38-1=37 Exploring Operation: 45-1=44, Resulting Numbers: [38, 44] Generated Node #0,0,2: 32:[38, 44] Operation: 45-1=44 Moving to Node #0,1 Current State: 32:[1, 58, 25], Operations: ['38-13=25'] Exploring Operation: 58-1=57, Resulting Numbers: [25, 57] Generated Node #0,1,0: 32:[25, 57] Operation: 58-1=57 Exploring Operation: 1+25=26, Resulting Numbers: [58, 26] Generated Node #0,1,1: 32:[58, 26] Operation: 1+25=26 Exploring Operation: 58-25=33, Resulting Numbers: [1, 33] Generated Node #0,1,2: 32:[1, 33] Operation: 58-25=33 Moving to Node #0,2,0 Current State: 32:[1, 7], Operations: ['58-38=20', '20-13=7'] Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[1, 33], Operations: ['38-13=25', '58-25=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[38, 13, 1, 58], Operations: [] Exploring Operation: 38-13=25, Resulting Numbers: [1, 58, 25] Generated Node #0,1: 32:[1, 58, 25] Operation: 38-13=25 Moving to Node #0,1 Current State: 32:[1, 58, 25], Operations: ['38-13=25'] Exploring Operation: 58-25=33, Resulting Numbers: [1, 33] Generated Node #0,1,2: 32:[1, 33] Operation: 58-25=33 Moving to Node #0,1,2 Current State: 32:[1, 33], Operations: ['38-13=25', '58-25=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.982639
hs_3
mult_heuristic
[ 65, 17, 57, 6 ]
20
[ "65+57=122", "17*6=102", "122-102=20" ]
Current State: 20:[65, 17, 57, 6], Operations: [] Exploring Operation: 65+57=122, Resulting Numbers: [17, 6, 122] Generated Node #2: [17, 6, 122] from Operation: 65+57=122 Current State: 20:[17, 6, 122], Operations: ['65+57=122'] Exploring Operation: 17*6=102, Resulting Numbers: [122, 102] Generated Node #3: [122, 102] from Operation: 17*6=102 Current State: 20:[122, 102], Operations: ['65+57=122', '17*6=102'] Exploring Operation: 122-102=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[65, 17, 57, 6], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [17, 6, 8] Generated Node #0,0: 20:[17, 6, 8] Operation: 65-57=8 Exploring Operation: 57-17=40, Resulting Numbers: [65, 6, 40] Generated Node #0,1: 20:[65, 6, 40] Operation: 57-17=40 Exploring Operation: 65-17=48, Resulting Numbers: [57, 6, 48] Generated Node #0,2: 20:[57, 6, 48] Operation: 65-17=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[17, 6, 8], Operations: ['65-57=8'] Exploring Operation: 17-6=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 20:[8, 11] Operation: 17-6=11 Exploring Operation: 17-8=9, Resulting Numbers: [6, 9] Generated Node #0,0,1: 20:[6, 9] Operation: 17-8=9 Exploring Operation: 8-6=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 20:[17, 2] Operation: 8-6=2 Moving to Node #0,0,1 Current State: 20:[6, 9], Operations: ['65-57=8', '17-8=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[8, 11], Operations: ['65-57=8', '17-6=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[17, 2], Operations: ['65-57=8', '8-6=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[65, 6, 40], Operations: ['57-17=40'] Exploring Operation: 65-40=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 20:[6, 25] Operation: 65-40=25 Exploring Operation: 40-6=34, Resulting Numbers: [65, 34] Generated Node #0,1,1: 20:[65, 34] Operation: 40-6=34 Exploring Operation: 65-6=59, Resulting Numbers: [40, 59] Generated Node #0,1,2: 20:[40, 59] Operation: 65-6=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[6, 25], Operations: ['57-17=40', '65-40=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,20 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[65, 34], Operations: ['57-17=40', '40-6=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,20 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[40, 59], Operations: ['57-17=40', '65-6=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[57, 6, 48], Operations: ['65-17=48'] Exploring Operation: 57-48=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 20:[6, 9] Operation: 57-48=9 Exploring Operation: 48/6=8, Resulting Numbers: [57, 8] Generated Node #0,2,1: 20:[57, 8] Operation: 48/6=8 Exploring Operation: 57-6=51, Resulting Numbers: [48, 51] Generated Node #0,2,2: 20:[48, 51] Operation: 57-6=51 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[6, 9], Operations: ['65-17=48', '57-48=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[57, 8], Operations: ['65-17=48', '48/6=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[48, 51], Operations: ['65-17=48', '57-6=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 18, 74, 7, 39 ]
91
[ "18*7=126", "74-39=35", "126-35=91" ]
Current State: 91:[18, 74, 7, 39], Operations: [] Exploring Operation: 18*7=126, Resulting Numbers: [74, 39, 126] Generated Node #2: [74, 39, 126] from Operation: 18*7=126 Current State: 91:[74, 39, 126], Operations: ['18*7=126'] Exploring Operation: 74-39=35, Resulting Numbers: [126, 35] Generated Node #3: [126, 35] from Operation: 74-39=35 Current State: 91:[126, 35], Operations: ['18*7=126', '74-39=35'] Exploring Operation: 126-35=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[18, 74, 7, 39], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [74, 7, 21] Generated Node #0,0: 91:[74, 7, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[74, 7, 21], Operations: ['39-18=21'] Exploring Operation: 74+21=95, Resulting Numbers: [7, 95] Generated Node #0,0,0: 91:[7, 95] Operation: 74+21=95 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[7, 95], Operations: ['39-18=21', '74+21=95'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 17, 3, 61, 89 ]
33
[ "17+61=78", "89-78=11", "3*11=33" ]
Current State: 33:[17, 3, 61, 89], Operations: [] Exploring Operation: 17+61=78, Resulting Numbers: [3, 89, 78] Generated Node #2: [3, 89, 78] from Operation: 17+61=78 Current State: 33:[3, 89, 78], Operations: ['17+61=78'] Exploring Operation: 89-78=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 89-78=11 Current State: 33:[3, 11], Operations: ['17+61=78', '89-78=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[17, 3, 61, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [17, 3, 28] Generated Node #0,0: 33:[17, 3, 28] Operation: 89-61=28 Exploring Operation: 89-17=72, Resulting Numbers: [3, 61, 72] Generated Node #0,1: 33:[3, 61, 72] Operation: 89-17=72 Exploring Operation: 17-3=14, Resulting Numbers: [61, 89, 14] Generated Node #0,2: 33:[61, 89, 14] Operation: 17-3=14 Exploring Operation: 61-17=44, Resulting Numbers: [3, 89, 44] Generated Node #0,3: 33:[3, 89, 44] Operation: 61-17=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[17, 3, 28], Operations: ['89-61=28'] Exploring Operation: 17-3=14, Resulting Numbers: [28, 14] Generated Node #0,0,0: 33:[28, 14] Operation: 17-3=14 Exploring Operation: 28-17=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 33:[3, 11] Operation: 28-17=11 Exploring Operation: 17+28=45, Resulting Numbers: [3, 45] Generated Node #0,0,2: 33:[3, 45] Operation: 17+28=45 Exploring Operation: 3+28=31, Resulting Numbers: [17, 31] Generated Node #0,0,3: 33:[17, 31] Operation: 3+28=31 Moving to Node #0,0,1 Current State: 33:[3, 11], Operations: ['89-61=28', '28-17=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[17, 3, 61, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [17, 3, 28] Generated Node #0,0: 33:[17, 3, 28] Operation: 89-61=28 Moving to Node #0,0 Current State: 33:[17, 3, 28], Operations: ['89-61=28'] Exploring Operation: 28-17=11, Resulting Numbers: [3, 11] Generated Node #0,0,1: 33:[3, 11] Operation: 28-17=11 Moving to Node #0,0,1 Current State: 33:[3, 11], Operations: ['89-61=28', '28-17=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 90, 80, 89, 52 ]
62
[ "89-80=9", "90/9=10", "52+10=62" ]
Current State: 62:[90, 80, 89, 52], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [90, 52, 9] Generated Node #2: [90, 52, 9] from Operation: 89-80=9 Current State: 62:[90, 52, 9], Operations: ['89-80=9'] Exploring Operation: 90/9=10, Resulting Numbers: [52, 10] Generated Node #3: [52, 10] from Operation: 90/9=10 Current State: 62:[52, 10], Operations: ['89-80=9', '90/9=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[90, 80, 89, 52], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [80, 52, 1] Generated Node #0,0: 62:[80, 52, 1] Operation: 90-89=1 Exploring Operation: 90-52=38, Resulting Numbers: [80, 89, 38] Generated Node #0,1: 62:[80, 89, 38] Operation: 90-52=38 Exploring Operation: 90-80=10, Resulting Numbers: [89, 52, 10] Generated Node #0,2: 62:[89, 52, 10] Operation: 90-80=10 Exploring Operation: 89-80=9, Resulting Numbers: [90, 52, 9] Generated Node #0,3: 62:[90, 52, 9] Operation: 89-80=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[80, 52, 1], Operations: ['90-89=1'] Exploring Operation: 80-1=79, Resulting Numbers: [52, 79] Generated Node #0,0,0: 62:[52, 79] Operation: 80-1=79 Exploring Operation: 80-52=28, Resulting Numbers: [1, 28] Generated Node #0,0,1: 62:[1, 28] Operation: 80-52=28 Exploring Operation: 52+1=53, Resulting Numbers: [80, 53] Generated Node #0,0,2: 62:[80, 53] Operation: 52+1=53 Exploring Operation: 80*1=80, Resulting Numbers: [52, 80] Generated Node #0,0,3: 62:[52, 80] Operation: 80*1=80 Moving to Node #0,0,1 Current State: 62:[1, 28], Operations: ['90-89=1', '80-52=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[80, 53], Operations: ['90-89=1', '52+1=53'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,62 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[52, 79], Operations: ['90-89=1', '80-1=79'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 52*79=4108, Resulting Numbers: [4108] 4108,62 unequal: No Solution Exploring Operation: 52+79=131, Resulting Numbers: [131] 131,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[52, 80], Operations: ['90-89=1', '80*1=80'] Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,62 unequal: No Solution Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[89, 52, 10], Operations: ['90-80=10'] Exploring Operation: 89-10=79, Resulting Numbers: [52, 79] Generated Node #0,2,0: 62:[52, 79] Operation: 89-10=79 Exploring Operation: 52-10=42, Resulting Numbers: [89, 42] Generated Node #0,2,1: 62:[89, 42] Operation: 52-10=42 Exploring Operation: 52+10=62, Resulting Numbers: [89, 62] Generated Node #0,2,2: 62:[89, 62] Operation: 52+10=62 Exploring Operation: 89-52=37, Resulting Numbers: [10, 37] Generated Node #0,2,3: 62:[10, 37] Operation: 89-52=37 Moving to Node #0,2,3 Current State: 62:[10, 37], Operations: ['90-80=10', '89-52=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[89, 62], Operations: ['90-80=10', '52+10=62'] Exploring Operation: 89+62=151, Resulting Numbers: [151] 151,62 unequal: No Solution Exploring Operation: 89*62=5518, Resulting Numbers: [5518] 5518,62 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[52, 79], Operations: ['90-80=10', '89-10=79'] Exploring Operation: 52*79=4108, Resulting Numbers: [4108] 4108,62 unequal: No Solution Exploring Operation: 52+79=131, Resulting Numbers: [131] 131,62 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[89, 42], Operations: ['90-80=10', '52-10=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,62 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[90, 52, 9], Operations: ['89-80=9'] Exploring Operation: 90/9=10, Resulting Numbers: [52, 10] Generated Node #0,3,0: 62:[52, 10] Operation: 90/9=10 Exploring Operation: 90-52=38, Resulting Numbers: [9, 38] Generated Node #0,3,1: 62:[9, 38] Operation: 90-52=38 Exploring Operation: 52+9=61, Resulting Numbers: [90, 61] Generated Node #0,3,2: 62:[90, 61] Operation: 52+9=61 Exploring Operation: 90-9=81, Resulting Numbers: [52, 81] Generated Node #0,3,3: 62:[52, 81] Operation: 90-9=81 Moving to Node #0,3,1 Current State: 62:[9, 38], Operations: ['89-80=9', '90-52=38'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[52, 10], Operations: ['89-80=9', '90/9=10'] Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,62 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[90, 80, 89, 52], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [90, 52, 9] Generated Node #0,3: 62:[90, 52, 9] Operation: 89-80=9 Moving to Node #0,3 Current State: 62:[90, 52, 9], Operations: ['89-80=9'] Exploring Operation: 90/9=10, Resulting Numbers: [52, 10] Generated Node #0,3,0: 62:[52, 10] Operation: 90/9=10 Moving to Node #0,3,0 Current State: 62:[52, 10], Operations: ['89-80=9', '90/9=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 38, 22, 70, 41 ]
95
[ "38-22=16", "70+41=111", "111-16=95" ]
Current State: 95:[38, 22, 70, 41], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [70, 41, 16] Generated Node #2: [70, 41, 16] from Operation: 38-22=16 Current State: 95:[70, 41, 16], Operations: ['38-22=16'] Exploring Operation: 70+41=111, Resulting Numbers: [16, 111] Generated Node #3: [16, 111] from Operation: 70+41=111 Current State: 95:[16, 111], Operations: ['38-22=16', '70+41=111'] Exploring Operation: 111-16=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[38, 22, 70, 41], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [38, 22, 29] Generated Node #0,0: 95:[38, 22, 29] Operation: 70-41=29 Exploring Operation: 38+70=108, Resulting Numbers: [22, 41, 108] Generated Node #0,1: 95:[22, 41, 108] Operation: 38+70=108 Exploring Operation: 41-38=3, Resulting Numbers: [22, 70, 3] Generated Node #0,2: 95:[22, 70, 3] Operation: 41-38=3 Moving to Node #0,2 Current State: 95:[22, 70, 3], Operations: ['41-38=3'] Exploring Operation: 22-3=19, Resulting Numbers: [70, 19] Generated Node #0,2,0: 95:[70, 19] Operation: 22-3=19 Exploring Operation: 70+3=73, Resulting Numbers: [22, 73] Generated Node #0,2,1: 95:[22, 73] Operation: 70+3=73 Exploring Operation: 22+70=92, Resulting Numbers: [3, 92] Generated Node #0,2,2: 95:[3, 92] Operation: 22+70=92 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[3, 92], Operations: ['41-38=3', '22+70=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[38, 22, 70, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [22, 70, 3] Generated Node #0,2: 95:[22, 70, 3] Operation: 41-38=3 Moving to Node #0,2 Current State: 95:[22, 70, 3], Operations: ['41-38=3'] Exploring Operation: 22+70=92, Resulting Numbers: [3, 92] Generated Node #0,2,2: 95:[3, 92] Operation: 22+70=92 Moving to Node #0,2,2 Current State: 95:[3, 92], Operations: ['41-38=3', '22+70=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 21, 43, 63, 48 ]
37
[ "43-21=22", "63-48=15", "22+15=37" ]
Current State: 37:[21, 43, 63, 48], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [63, 48, 22] Generated Node #2: [63, 48, 22] from Operation: 43-21=22 Current State: 37:[63, 48, 22], Operations: ['43-21=22'] Exploring Operation: 63-48=15, Resulting Numbers: [22, 15] Generated Node #3: [22, 15] from Operation: 63-48=15 Current State: 37:[22, 15], Operations: ['43-21=22', '63-48=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[21, 43, 63, 48], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [43, 48, 42] Generated Node #0,0: 37:[43, 48, 42] Operation: 63-21=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[43, 48, 42], Operations: ['63-21=42'] Exploring Operation: 48-43=5, Resulting Numbers: [42, 5] Generated Node #0,0,0: 37:[42, 5] Operation: 48-43=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[42, 5], Operations: ['63-21=42', '48-43=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[21, 43, 63, 48], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [43, 48, 42] Generated Node #0,0: 37:[43, 48, 42] Operation: 63-21=42 Moving to Node #0,0 Current State: 37:[43, 48, 42], Operations: ['63-21=42'] Exploring Operation: 48-43=5, Resulting Numbers: [42, 5] Generated Node #0,0,0: 37:[42, 5] Operation: 48-43=5 Moving to Node #0,0,0 Current State: 37:[42, 5], Operations: ['63-21=42', '48-43=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 35, 19, 17 ]
26
[ "27+35=62", "19+17=36", "62-36=26" ]
Current State: 26:[27, 35, 19, 17], Operations: [] Exploring Operation: 27+35=62, Resulting Numbers: [19, 17, 62] Generated Node #2: [19, 17, 62] from Operation: 27+35=62 Current State: 26:[19, 17, 62], Operations: ['27+35=62'] Exploring Operation: 19+17=36, Resulting Numbers: [62, 36] Generated Node #3: [62, 36] from Operation: 19+17=36 Current State: 26:[62, 36], Operations: ['27+35=62', '19+17=36'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 35, 19, 17], Operations: [] Exploring Operation: 35-19=16, Resulting Numbers: [27, 17, 16] Generated Node #0,0: 26:[27, 17, 16] Operation: 35-19=16 Exploring Operation: 27-19=8, Resulting Numbers: [35, 17, 8] Generated Node #0,1: 26:[35, 17, 8] Operation: 27-19=8 Exploring Operation: 19-17=2, Resulting Numbers: [27, 35, 2] Generated Node #0,2: 26:[27, 35, 2] Operation: 19-17=2 Exploring Operation: 35-27=8, Resulting Numbers: [19, 17, 8] Generated Node #0,3: 26:[19, 17, 8] Operation: 35-27=8 Exploring Operation: 35-17=18, Resulting Numbers: [27, 19, 18] Generated Node #0,4: 26:[27, 19, 18] Operation: 35-17=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[27, 17, 16], Operations: ['35-19=16'] Exploring Operation: 17-16=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 26:[27, 1] Operation: 17-16=1 Exploring Operation: 27-16=11, Resulting Numbers: [17, 11] Generated Node #0,0,1: 26:[17, 11] Operation: 27-16=11 Exploring Operation: 17+16=33, Resulting Numbers: [27, 33] Generated Node #0,0,2: 26:[27, 33] Operation: 17+16=33 Exploring Operation: 27+17=44, Resulting Numbers: [16, 44] Generated Node #0,0,3: 26:[16, 44] Operation: 27+17=44 Exploring Operation: 27-17=10, Resulting Numbers: [16, 10] Generated Node #0,0,4: 26:[16, 10] Operation: 27-17=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[27, 1], Operations: ['35-19=16', '17-16=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[27, 35, 19, 17], Operations: [] Exploring Operation: 35-19=16, Resulting Numbers: [27, 17, 16] Generated Node #0,0: 26:[27, 17, 16] Operation: 35-19=16 Moving to Node #0,0 Current State: 26:[27, 17, 16], Operations: ['35-19=16'] Exploring Operation: 17-16=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 26:[27, 1] Operation: 17-16=1 Moving to Node #0,0,0 Current State: 26:[27, 1], Operations: ['35-19=16', '17-16=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 55, 86, 10, 84 ]
43
[ "86-55=31", "84-10=74", "74-31=43" ]
Current State: 43:[55, 86, 10, 84], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [10, 84, 31] Generated Node #2: [10, 84, 31] from Operation: 86-55=31 Current State: 43:[10, 84, 31], Operations: ['86-55=31'] Exploring Operation: 84-10=74, Resulting Numbers: [31, 74] Generated Node #3: [31, 74] from Operation: 84-10=74 Current State: 43:[31, 74], Operations: ['86-55=31', '84-10=74'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 86, 10, 84], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [86, 84, 45] Generated Node #0,0: 43:[86, 84, 45] Operation: 55-10=45 Exploring Operation: 86-55=31, Resulting Numbers: [10, 84, 31] Generated Node #0,1: 43:[10, 84, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[86, 84, 45], Operations: ['55-10=45'] Exploring Operation: 86-45=41, Resulting Numbers: [84, 41] Generated Node #0,0,0: 43:[84, 41] Operation: 86-45=41 Exploring Operation: 86-84=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 43:[45, 2] Operation: 86-84=2 Moving to Node #0,0,0 Current State: 43:[84, 41], Operations: ['55-10=45', '86-45=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[55, 86, 10, 84], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [86, 84, 45] Generated Node #0,0: 43:[86, 84, 45] Operation: 55-10=45 Moving to Node #0,0 Current State: 43:[86, 84, 45], Operations: ['55-10=45'] Exploring Operation: 86-45=41, Resulting Numbers: [84, 41] Generated Node #0,0,0: 43:[84, 41] Operation: 86-45=41 Moving to Node #0,0,0 Current State: 43:[84, 41], Operations: ['55-10=45', '86-45=41'] Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 51, 11, 71, 69 ]
100
[ "51-11=40", "71+69=140", "140-40=100" ]
Current State: 100:[51, 11, 71, 69], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [71, 69, 40] Generated Node #2: [71, 69, 40] from Operation: 51-11=40 Current State: 100:[71, 69, 40], Operations: ['51-11=40'] Exploring Operation: 71+69=140, Resulting Numbers: [40, 140] Generated Node #3: [40, 140] from Operation: 71+69=140 Current State: 100:[40, 140], Operations: ['51-11=40', '71+69=140'] Exploring Operation: 140-40=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[51, 11, 71, 69], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [51, 11, 2] Generated Node #0,0: 100:[51, 11, 2] Operation: 71-69=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[51, 11, 2], Operations: ['71-69=2'] Exploring Operation: 51-2=49, Resulting Numbers: [11, 49] Generated Node #0,0,0: 100:[11, 49] Operation: 51-2=49 Moving to Node #0,0,0 Current State: 100:[11, 49], Operations: ['71-69=2', '51-2=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 5, 71, 88 ]
64
[ "48*88=4224", "71-5=66", "4224/66=64" ]
Current State: 64:[48, 5, 71, 88], Operations: [] Exploring Operation: 48*88=4224, Resulting Numbers: [5, 71, 4224] Generated Node #2: [5, 71, 4224] from Operation: 48*88=4224 Current State: 64:[5, 71, 4224], Operations: ['48*88=4224'] Exploring Operation: 71-5=66, Resulting Numbers: [4224, 66] Generated Node #3: [4224, 66] from Operation: 71-5=66 Current State: 64:[4224, 66], Operations: ['48*88=4224', '71-5=66'] Exploring Operation: 4224/66=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[48, 5, 71, 88], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [5, 71, 40] Generated Node #0,0: 64:[5, 71, 40] Operation: 88-48=40 Exploring Operation: 88-71=17, Resulting Numbers: [48, 5, 17] Generated Node #0,1: 64:[48, 5, 17] Operation: 88-71=17 Exploring Operation: 71-48=23, Resulting Numbers: [5, 88, 23] Generated Node #0,2: 64:[5, 88, 23] Operation: 71-48=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[5, 71, 40], Operations: ['88-48=40'] Exploring Operation: 71-5=66, Resulting Numbers: [40, 66] Generated Node #0,0,0: 64:[40, 66] Operation: 71-5=66 Exploring Operation: 40/5=8, Resulting Numbers: [71, 8] Generated Node #0,0,1: 64:[71, 8] Operation: 40/5=8 Exploring Operation: 71-40=31, Resulting Numbers: [5, 31] Generated Node #0,0,2: 64:[5, 31] Operation: 71-40=31 Moving to Node #0,0,2 Current State: 64:[5, 31], Operations: ['88-48=40', '71-40=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,64 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[71, 8], Operations: ['88-48=40', '40/5=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,64 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[40, 66], Operations: ['88-48=40', '71-5=66'] Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,64 unequal: No Solution Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,64 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[48, 5, 17], Operations: ['88-71=17'] Exploring Operation: 48+17=65, Resulting Numbers: [5, 65] Generated Node #0,1,0: 64:[5, 65] Operation: 48+17=65 Exploring Operation: 48+5=53, Resulting Numbers: [17, 53] Generated Node #0,1,1: 64:[17, 53] Operation: 48+5=53 Exploring Operation: 48-17=31, Resulting Numbers: [5, 31] Generated Node #0,1,2: 64:[5, 31] Operation: 48-17=31 Moving to Node #0,1,0 Current State: 64:[5, 65], Operations: ['88-71=17', '48+17=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[5, 31], Operations: ['88-71=17', '48-17=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[17, 53], Operations: ['88-71=17', '48+5=53'] Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,64 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[5, 88, 23], Operations: ['71-48=23'] Exploring Operation: 88-5=83, Resulting Numbers: [23, 83] Generated Node #0,2,0: 64:[23, 83] Operation: 88-5=83 Exploring Operation: 88-23=65, Resulting Numbers: [5, 65] Generated Node #0,2,1: 64:[5, 65] Operation: 88-23=65 Exploring Operation: 23-5=18, Resulting Numbers: [88, 18] Generated Node #0,2,2: 64:[88, 18] Operation: 23-5=18 Moving to Node #0,2,1 Current State: 64:[5, 65], Operations: ['71-48=23', '88-23=65'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[23, 83], Operations: ['71-48=23', '88-5=83'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 23*83=1909, Resulting Numbers: [1909] 1909,64 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[88, 18], Operations: ['71-48=23', '23-5=18'] Exploring Operation: 88*18=1584, Resulting Numbers: [1584] 1584,64 unequal: No Solution Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,64 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,64 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
[ 16, 54, 42, 94 ]
66
[ "16+54=70", "42+94=136", "136-70=66" ]
Current State: 66:[16, 54, 42, 94], Operations: [] Exploring Operation: 16+54=70, Resulting Numbers: [42, 94, 70] Generated Node #2: [42, 94, 70] from Operation: 16+54=70 Current State: 66:[42, 94, 70], Operations: ['16+54=70'] Exploring Operation: 42+94=136, Resulting Numbers: [70, 136] Generated Node #3: [70, 136] from Operation: 42+94=136 Current State: 66:[70, 136], Operations: ['16+54=70', '42+94=136'] Exploring Operation: 136-70=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[16, 54, 42, 94], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [16, 54, 52] Generated Node #0,0: 66:[16, 54, 52] Operation: 94-42=52 Exploring Operation: 94-54=40, Resulting Numbers: [16, 42, 40] Generated Node #0,1: 66:[16, 42, 40] Operation: 94-54=40 Exploring Operation: 94-16=78, Resulting Numbers: [54, 42, 78] Generated Node #0,2: 66:[54, 42, 78] Operation: 94-16=78 Exploring Operation: 54-42=12, Resulting Numbers: [16, 94, 12] Generated Node #0,3: 66:[16, 94, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[16, 42, 40], Operations: ['94-54=40'] Exploring Operation: 42-40=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 66:[16, 2] Operation: 42-40=2 Exploring Operation: 16+42=58, Resulting Numbers: [40, 58] Generated Node #0,1,1: 66:[40, 58] Operation: 16+42=58 Exploring Operation: 40-16=24, Resulting Numbers: [42, 24] Generated Node #0,1,2: 66:[42, 24] Operation: 40-16=24 Exploring Operation: 42-16=26, Resulting Numbers: [40, 26] Generated Node #0,1,3: 66:[40, 26] Operation: 42-16=26 Moving to Node #0,1,0 Current State: 66:[16, 2], Operations: ['94-54=40', '42-40=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[40, 26], Operations: ['94-54=40', '42-16=26'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[16, 54, 42, 94], Operations: [] Exploring Operation: 94-54=40, Resulting Numbers: [16, 42, 40] Generated Node #0,1: 66:[16, 42, 40] Operation: 94-54=40 Moving to Node #0,1 Current State: 66:[16, 42, 40], Operations: ['94-54=40'] Exploring Operation: 42-16=26, Resulting Numbers: [40, 26] Generated Node #0,1,3: 66:[40, 26] Operation: 42-16=26 Moving to Node #0,1,3 Current State: 66:[40, 26], Operations: ['94-54=40', '42-16=26'] Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 45, 8, 74, 31 ]
11
[ "45+74=119", "119-31=88", "88/8=11" ]
Current State: 11:[45, 8, 74, 31], Operations: [] Exploring Operation: 45+74=119, Resulting Numbers: [8, 31, 119] Generated Node #2: [8, 31, 119] from Operation: 45+74=119 Current State: 11:[8, 31, 119], Operations: ['45+74=119'] Exploring Operation: 119-31=88, Resulting Numbers: [8, 88] Generated Node #3: [8, 88] from Operation: 119-31=88 Current State: 11:[8, 88], Operations: ['45+74=119', '119-31=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[45, 8, 74, 31], Operations: [] Exploring Operation: 74-45=29, Resulting Numbers: [8, 31, 29] Generated Node #0,0: 11:[8, 31, 29] Operation: 74-45=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[8, 31, 29], Operations: ['74-45=29'] Exploring Operation: 31-29=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 11:[8, 2] Operation: 31-29=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[8, 2], Operations: ['74-45=29', '31-29=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 63, 32, 35, 76 ]
10
[ "63-32=31", "76-35=41", "41-31=10" ]
Current State: 10:[63, 32, 35, 76], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [35, 76, 31] Generated Node #2: [35, 76, 31] from Operation: 63-32=31 Current State: 10:[35, 76, 31], Operations: ['63-32=31'] Exploring Operation: 76-35=41, Resulting Numbers: [31, 41] Generated Node #3: [31, 41] from Operation: 76-35=41 Current State: 10:[31, 41], Operations: ['63-32=31', '76-35=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[63, 32, 35, 76], Operations: [] Exploring Operation: 63-35=28, Resulting Numbers: [32, 76, 28] Generated Node #0,0: 10:[32, 76, 28] Operation: 63-35=28 Exploring Operation: 63-32=31, Resulting Numbers: [35, 76, 31] Generated Node #0,1: 10:[35, 76, 31] Operation: 63-32=31 Exploring Operation: 76-63=13, Resulting Numbers: [32, 35, 13] Generated Node #0,2: 10:[32, 35, 13] Operation: 76-63=13 Exploring Operation: 76-35=41, Resulting Numbers: [63, 32, 41] Generated Node #0,3: 10:[63, 32, 41] Operation: 76-35=41 Moving to Node #0,2 Current State: 10:[32, 35, 13], Operations: ['76-63=13'] Exploring Operation: 32+35=67, Resulting Numbers: [13, 67] Generated Node #0,2,0: 10:[13, 67] Operation: 32+35=67 Exploring Operation: 35-13=22, Resulting Numbers: [32, 22] Generated Node #0,2,1: 10:[32, 22] Operation: 35-13=22 Exploring Operation: 35-32=3, Resulting Numbers: [13, 3] Generated Node #0,2,2: 10:[13, 3] Operation: 35-32=3 Exploring Operation: 32-13=19, Resulting Numbers: [35, 19] Generated Node #0,2,3: 10:[35, 19] Operation: 32-13=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[13, 3], Operations: ['76-63=13', '35-32=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[63, 32, 35, 76], Operations: [] Exploring Operation: 76-63=13, Resulting Numbers: [32, 35, 13] Generated Node #0,2: 10:[32, 35, 13] Operation: 76-63=13 Moving to Node #0,2 Current State: 10:[32, 35, 13], Operations: ['76-63=13'] Exploring Operation: 35-32=3, Resulting Numbers: [13, 3] Generated Node #0,2,2: 10:[13, 3] Operation: 35-32=3 Moving to Node #0,2,2 Current State: 10:[13, 3], Operations: ['76-63=13', '35-32=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 69, 42, 54, 50 ]
52
[ "69-42=27", "54/27=2", "50+2=52" ]
Current State: 52:[69, 42, 54, 50], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [54, 50, 27] Generated Node #2: [54, 50, 27] from Operation: 69-42=27 Current State: 52:[54, 50, 27], Operations: ['69-42=27'] Exploring Operation: 54/27=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 54/27=2 Current State: 52:[50, 2], Operations: ['69-42=27', '54/27=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[69, 42, 54, 50], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [42, 50, 15] Generated Node #0,0: 52:[42, 50, 15] Operation: 69-54=15 Exploring Operation: 54-42=12, Resulting Numbers: [69, 50, 12] Generated Node #0,1: 52:[69, 50, 12] Operation: 54-42=12 Exploring Operation: 69-50=19, Resulting Numbers: [42, 54, 19] Generated Node #0,2: 52:[42, 54, 19] Operation: 69-50=19 Exploring Operation: 69-42=27, Resulting Numbers: [54, 50, 27] Generated Node #0,3: 52:[54, 50, 27] Operation: 69-42=27 Moving to Node #0,3 Current State: 52:[54, 50, 27], Operations: ['69-42=27'] Exploring Operation: 54-50=4, Resulting Numbers: [27, 4] Generated Node #0,3,0: 52:[27, 4] Operation: 54-50=4 Exploring Operation: 54-27=27, Resulting Numbers: [50, 27] Generated Node #0,3,1: 52:[50, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 52:[50, 2] Operation: 54/27=2 Exploring Operation: 50-27=23, Resulting Numbers: [54, 23] Generated Node #0,3,3: 52:[54, 23] Operation: 50-27=23 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[27, 4], Operations: ['69-42=27', '54-50=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,52 unequal: No Solution No 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: 52:[50, 2], Operations: ['69-42=27', '54/27=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[69, 42, 54, 50], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [54, 50, 27] Generated Node #0,3: 52:[54, 50, 27] Operation: 69-42=27 Moving to Node #0,3 Current State: 52:[54, 50, 27], Operations: ['69-42=27'] Exploring Operation: 54/27=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 52:[50, 2] Operation: 54/27=2 Moving to Node #0,3,2 Current State: 52:[50, 2], Operations: ['69-42=27', '54/27=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 74, 8, 55, 16 ]
43
[ "74+8=82", "55-16=39", "82-39=43" ]
Current State: 43:[74, 8, 55, 16], Operations: [] Exploring Operation: 74+8=82, Resulting Numbers: [55, 16, 82] Generated Node #2: [55, 16, 82] from Operation: 74+8=82 Current State: 43:[55, 16, 82], Operations: ['74+8=82'] Exploring Operation: 55-16=39, Resulting Numbers: [82, 39] Generated Node #3: [82, 39] from Operation: 55-16=39 Current State: 43:[82, 39], Operations: ['74+8=82', '55-16=39'] Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[74, 8, 55, 16], Operations: [] Exploring Operation: 55-8=47, Resulting Numbers: [74, 16, 47] Generated Node #0,0: 43:[74, 16, 47] Operation: 55-8=47 Exploring Operation: 55-16=39, Resulting Numbers: [74, 8, 39] Generated Node #0,1: 43:[74, 8, 39] Operation: 55-16=39 Exploring Operation: 8+16=24, Resulting Numbers: [74, 55, 24] Generated Node #0,2: 43:[74, 55, 24] Operation: 8+16=24 Exploring Operation: 74-8=66, Resulting Numbers: [55, 16, 66] Generated Node #0,3: 43:[55, 16, 66] Operation: 74-8=66 Exploring Operation: 74-16=58, Resulting Numbers: [8, 55, 58] Generated Node #0,4: 43:[8, 55, 58] Operation: 74-16=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[74, 16, 47], Operations: ['55-8=47'] Exploring Operation: 16+47=63, Resulting Numbers: [74, 63] Generated Node #0,0,0: 43:[74, 63] Operation: 16+47=63 Exploring Operation: 74+16=90, Resulting Numbers: [47, 90] Generated Node #0,0,1: 43:[47, 90] Operation: 74+16=90 Exploring Operation: 74-47=27, Resulting Numbers: [16, 27] Generated Node #0,0,2: 43:[16, 27] Operation: 74-47=27 Exploring Operation: 74-16=58, Resulting Numbers: [47, 58] Generated Node #0,0,3: 43:[47, 58] Operation: 74-16=58 Exploring Operation: 47-16=31, Resulting Numbers: [74, 31] Generated Node #0,0,4: 43:[74, 31] Operation: 47-16=31 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 43:[47, 58], Operations: ['55-8=47', '74-16=58'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 47+58=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 47*58=2726, Resulting Numbers: [2726] 2726,43 unequal: No Solution No 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: 43:[16, 27], Operations: ['55-8=47', '74-47=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[74, 8, 55, 16], Operations: [] Exploring Operation: 55-8=47, Resulting Numbers: [74, 16, 47] Generated Node #0,0: 43:[74, 16, 47] Operation: 55-8=47 Moving to Node #0,0 Current State: 43:[74, 16, 47], Operations: ['55-8=47'] Exploring Operation: 74-47=27, Resulting Numbers: [16, 27] Generated Node #0,0,2: 43:[16, 27] Operation: 74-47=27 Moving to Node #0,0,2 Current State: 43:[16, 27], Operations: ['55-8=47', '74-47=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 30, 53, 64, 1 ]
87
[ "53-30=23", "64*1=64", "23+64=87" ]
Current State: 87:[30, 53, 64, 1], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [64, 1, 23] Generated Node #2: [64, 1, 23] from Operation: 53-30=23 Current State: 87:[64, 1, 23], Operations: ['53-30=23'] Exploring Operation: 64*1=64, Resulting Numbers: [23, 64] Generated Node #3: [23, 64] from Operation: 64*1=64 Current State: 87:[23, 64], Operations: ['53-30=23', '64*1=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[30, 53, 64, 1], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [30, 1, 11] Generated Node #0,0: 87:[30, 1, 11] Operation: 64-53=11 Exploring Operation: 53-30=23, Resulting Numbers: [64, 1, 23] Generated Node #0,1: 87:[64, 1, 23] Operation: 53-30=23 Exploring Operation: 30+53=83, Resulting Numbers: [64, 1, 83] Generated Node #0,2: 87:[64, 1, 83] Operation: 30+53=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[30, 1, 11], Operations: ['64-53=11'] Exploring Operation: 30*1=30, Resulting Numbers: [11, 30] Generated Node #0,0,0: 87:[11, 30] Operation: 30*1=30 Exploring Operation: 30-1=29, Resulting Numbers: [11, 29] Generated Node #0,0,1: 87:[11, 29] Operation: 30-1=29 Exploring Operation: 11-1=10, Resulting Numbers: [30, 10] Generated Node #0,0,2: 87:[30, 10] Operation: 11-1=10 Moving to Node #0,0,1 Current State: 87:[11, 29], Operations: ['64-53=11', '30-1=29'] Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,87 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[30, 10], Operations: ['64-53=11', '11-1=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[11, 30], Operations: ['64-53=11', '30*1=30'] Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,87 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[64, 1, 83], Operations: ['30+53=83'] Exploring Operation: 1+83=84, Resulting Numbers: [64, 84] Generated Node #0,2,0: 87:[64, 84] Operation: 1+83=84 Exploring Operation: 64+1=65, Resulting Numbers: [83, 65] Generated Node #0,2,1: 87:[83, 65] Operation: 64+1=65 Exploring Operation: 83-64=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 87:[1, 19] Operation: 83-64=19 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[1, 19], Operations: ['30+53=83', '83-64=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[64, 84], Operations: ['30+53=83', '1+83=84'] Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 64+84=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 64*84=5376, Resulting Numbers: [5376] 5376,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[83, 65], Operations: ['30+53=83', '64+1=65'] Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 83*65=5395, Resulting Numbers: [5395] 5395,87 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[64, 1, 23], Operations: ['53-30=23'] Exploring Operation: 64-23=41, Resulting Numbers: [1, 41] Generated Node #0,1,0: 87:[1, 41] Operation: 64-23=41 Exploring Operation: 64+23=87, Resulting Numbers: [1, 87] Generated Node #0,1,1: 87:[1, 87] Operation: 64+23=87 Exploring Operation: 64+1=65, Resulting Numbers: [23, 65] Generated Node #0,1,2: 87:[23, 65] Operation: 64+1=65 Moving to Node #0,1,1 Current State: 87:[1, 87], Operations: ['53-30=23', '64+23=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[30, 53, 64, 1], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [64, 1, 23] Generated Node #0,1: 87:[64, 1, 23] Operation: 53-30=23 Moving to Node #0,1 Current State: 87:[64, 1, 23], Operations: ['53-30=23'] Exploring Operation: 64+23=87, Resulting Numbers: [1, 87] Generated Node #0,1,1: 87:[1, 87] Operation: 64+23=87 Moving to Node #0,1,1 Current State: 87:[1, 87], Operations: ['53-30=23', '64+23=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 25, 26, 77, 66 ]
92
[ "25+26=51", "77+66=143", "143-51=92" ]
Current State: 92:[25, 26, 77, 66], Operations: [] Exploring Operation: 25+26=51, Resulting Numbers: [77, 66, 51] Generated Node #2: [77, 66, 51] from Operation: 25+26=51 Current State: 92:[77, 66, 51], Operations: ['25+26=51'] Exploring Operation: 77+66=143, Resulting Numbers: [51, 143] Generated Node #3: [51, 143] from Operation: 77+66=143 Current State: 92:[51, 143], Operations: ['25+26=51', '77+66=143'] Exploring Operation: 143-51=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[25, 26, 77, 66], Operations: [] Exploring Operation: 26+66=92, Resulting Numbers: [25, 77, 92] Generated Node #0,0: 92:[25, 77, 92] Operation: 26+66=92 Exploring Operation: 25+66=91, Resulting Numbers: [26, 77, 91] Generated Node #0,1: 92:[26, 77, 91] Operation: 25+66=91 Exploring Operation: 66-25=41, Resulting Numbers: [26, 77, 41] Generated Node #0,2: 92:[26, 77, 41] Operation: 66-25=41 Exploring Operation: 77-66=11, Resulting Numbers: [25, 26, 11] Generated Node #0,3: 92:[25, 26, 11] Operation: 77-66=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[25, 26, 11], Operations: ['77-66=11'] Exploring Operation: 26-11=15, Resulting Numbers: [25, 15] Generated Node #0,3,0: 92:[25, 15] Operation: 26-11=15 Exploring Operation: 25+26=51, Resulting Numbers: [11, 51] Generated Node #0,3,1: 92:[11, 51] Operation: 25+26=51 Exploring Operation: 26-25=1, Resulting Numbers: [11, 1] Generated Node #0,3,2: 92:[11, 1] Operation: 26-25=1 Exploring Operation: 26+11=37, Resulting Numbers: [25, 37] Generated Node #0,3,3: 92:[25, 37] Operation: 26+11=37 Moving to Node #0,3,2 Current State: 92:[11, 1], Operations: ['77-66=11', '26-25=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[25, 15], Operations: ['77-66=11', '26-11=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[25, 37], Operations: ['77-66=11', '26+11=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[11, 51], Operations: ['77-66=11', '25+26=51'] Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,92 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,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,0 Current State: 92:[25, 77, 92], Operations: ['26+66=92'] Exploring Operation: 25+77=102, Resulting Numbers: [92, 102] Generated Node #0,0,0: 92:[92, 102] Operation: 25+77=102 Exploring Operation: 92-25=67, Resulting Numbers: [77, 67] Generated Node #0,0,1: 92:[77, 67] Operation: 92-25=67 Exploring Operation: 77-25=52, Resulting Numbers: [92, 52] Generated Node #0,0,2: 92:[92, 52] Operation: 77-25=52 Exploring Operation: 92-77=15, Resulting Numbers: [25, 15] Generated Node #0,0,3: 92:[25, 15] Operation: 92-77=15 Moving to Node #0,0,2 Current State: 92:[92, 52], Operations: ['26+66=92', '77-25=52'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,92 unequal: No Solution Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[25, 15], Operations: ['26+66=92', '92-77=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[92, 102], Operations: ['26+66=92', '25+77=102'] Exploring Operation: 92+102=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 92*102=9384, Resulting Numbers: [9384] 9384,92 unequal: No Solution Exploring Operation: 102-92=10, Resulting Numbers: [10] 10,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[77, 67], Operations: ['26+66=92', '92-25=67'] Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,92 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,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,1 Current State: 92:[26, 77, 91], Operations: ['25+66=91'] Exploring Operation: 77-26=51, Resulting Numbers: [91, 51] Generated Node #0,1,0: 92:[91, 51] Operation: 77-26=51 Exploring Operation: 91-77=14, Resulting Numbers: [26, 14] Generated Node #0,1,1: 92:[26, 14] Operation: 91-77=14 Exploring Operation: 91-26=65, Resulting Numbers: [77, 65] Generated Node #0,1,2: 92:[77, 65] Operation: 91-26=65 Exploring Operation: 26+77=103, Resulting Numbers: [91, 103] Generated Node #0,1,3: 92:[91, 103] Operation: 26+77=103 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[91, 51], Operations: ['25+66=91', '77-26=51'] Exploring Operation: 91+51=142, Resulting Numbers: [142] 142,92 unequal: No Solution Exploring Operation: 91*51=4641, Resulting Numbers: [4641] 4641,92 unequal: No Solution Exploring Operation: 91-51=40, Resulting Numbers: [40] 40,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:[26, 14], Operations: ['25+66=91', '91-77=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,92 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,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:[91, 103], Operations: ['25+66=91', '26+77=103'] Exploring Operation: 103-91=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 91+103=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 91*103=9373, Resulting Numbers: [9373] 9373,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:[77, 65], Operations: ['25+66=91', '91-26=65'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 77*65=5005, Resulting Numbers: [5005] 5005,92 unequal: No Solution Exploring Operation: 77+65=142, Resulting Numbers: [142] 142,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,2 Current State: 92:[26, 77, 41], Operations: ['66-25=41'] Exploring Operation: 77-41=36, Resulting Numbers: [26, 36] Generated Node #0,2,0: 92:[26, 36] Operation: 77-41=36 Exploring Operation: 26+77=103, Resulting Numbers: [41, 103] Generated Node #0,2,1: 92:[41, 103] Operation: 26+77=103 Exploring Operation: 41-26=15, Resulting Numbers: [77, 15] Generated Node #0,2,2: 92:[77, 15] Operation: 41-26=15 Exploring Operation: 77-26=51, Resulting Numbers: [41, 51] Generated Node #0,2,3: 92:[41, 51] Operation: 77-26=51 Moving to Node #0,2,3 Current State: 92:[41, 51], Operations: ['66-25=41', '77-26=51'] Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,92 unequal: No Solution Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[25, 26, 77, 66], Operations: [] Exploring Operation: 66-25=41, Resulting Numbers: [26, 77, 41] Generated Node #0,2: 92:[26, 77, 41] Operation: 66-25=41 Moving to Node #0,2 Current State: 92:[26, 77, 41], Operations: ['66-25=41'] Exploring Operation: 77-26=51, Resulting Numbers: [41, 51] Generated Node #0,2,3: 92:[41, 51] Operation: 77-26=51 Moving to Node #0,2,3 Current State: 92:[41, 51], Operations: ['66-25=41', '77-26=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic