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
[ 61, 39, 48, 30 ]
40
[ "61-39=22", "48-30=18", "22+18=40" ]
Current State: 40:[61, 39, 48, 30], Operations: [] Exploring Operation: 61-39=22, Resulting Numbers: [48, 30, 22] Generated Node #2: [48, 30, 22] from Operation: 61-39=22 Current State: 40:[48, 30, 22], Operations: ['61-39=22'] Exploring Operation: 48-30=18, Resulting Numbers: [22, 18] Generated Node #3: [22, 18] from Operation: 48-30=18 Current State: 40:[22, 18], Operations: ['61-39=22', '48-30=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[61, 39, 48, 30], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [39, 48, 31] Generated Node #0,0: 40:[39, 48, 31] Operation: 61-30=31 Exploring Operation: 61-39=22, Resulting Numbers: [48, 30, 22] Generated Node #0,1: 40:[48, 30, 22] Operation: 61-39=22 Exploring Operation: 61-48=13, Resulting Numbers: [39, 30, 13] Generated Node #0,2: 40:[39, 30, 13] Operation: 61-48=13 Exploring Operation: 48-30=18, Resulting Numbers: [61, 39, 18] Generated Node #0,3: 40:[61, 39, 18] Operation: 48-30=18 Moving to Node #0,2 Current State: 40:[39, 30, 13], Operations: ['61-48=13'] Exploring Operation: 30-13=17, Resulting Numbers: [39, 17] Generated Node #0,2,0: 40:[39, 17] Operation: 30-13=17 Exploring Operation: 39-30=9, Resulting Numbers: [13, 9] Generated Node #0,2,1: 40:[13, 9] Operation: 39-30=9 Exploring Operation: 30+13=43, Resulting Numbers: [39, 43] Generated Node #0,2,2: 40:[39, 43] Operation: 30+13=43 Exploring Operation: 39/13=3, Resulting Numbers: [30, 3] Generated Node #0,2,3: 40:[30, 3] Operation: 39/13=3 Moving to Node #0,0 Current State: 40:[39, 48, 31], Operations: ['61-30=31'] Exploring Operation: 39+31=70, Resulting Numbers: [48, 70] Generated Node #0,0,0: 40:[48, 70] Operation: 39+31=70 Exploring Operation: 39-31=8, Resulting Numbers: [48, 8] Generated Node #0,0,1: 40:[48, 8] Operation: 39-31=8 Exploring Operation: 48-31=17, Resulting Numbers: [39, 17] Generated Node #0,0,2: 40:[39, 17] Operation: 48-31=17 Exploring Operation: 48-39=9, Resulting Numbers: [31, 9] Generated Node #0,0,3: 40:[31, 9] Operation: 48-39=9 Moving to Node #0,1 Current State: 40:[48, 30, 22], Operations: ['61-39=22'] Exploring Operation: 30-22=8, Resulting Numbers: [48, 8] Generated Node #0,1,0: 40:[48, 8] Operation: 30-22=8 Exploring Operation: 48-30=18, Resulting Numbers: [22, 18] Generated Node #0,1,1: 40:[22, 18] Operation: 48-30=18 Exploring Operation: 30+22=52, Resulting Numbers: [48, 52] Generated Node #0,1,2: 40:[48, 52] Operation: 30+22=52 Exploring Operation: 48-22=26, Resulting Numbers: [30, 26] Generated Node #0,1,3: 40:[30, 26] Operation: 48-22=26 Moving to Node #0,3 Current State: 40:[61, 39, 18], Operations: ['48-30=18'] Exploring Operation: 61-39=22, Resulting Numbers: [18, 22] Generated Node #0,3,0: 40:[18, 22] Operation: 61-39=22 Exploring Operation: 39-18=21, Resulting Numbers: [61, 21] Generated Node #0,3,1: 40:[61, 21] Operation: 39-18=21 Exploring Operation: 39+18=57, Resulting Numbers: [61, 57] Generated Node #0,3,2: 40:[61, 57] Operation: 39+18=57 Exploring Operation: 61-18=43, Resulting Numbers: [39, 43] Generated Node #0,3,3: 40:[39, 43] Operation: 61-18=43 Moving to Node #0,2,0 Current State: 40:[39, 17], Operations: ['61-48=13', '30-13=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,40 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,40 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[39, 43], Operations: ['61-48=13', '30+13=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,40 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[39, 43], Operations: ['48-30=18', '61-18=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,40 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[18, 22], Operations: ['48-30=18', '61-39=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[61, 39, 48, 30], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [61, 39, 18] Generated Node #0,3: 40:[61, 39, 18] Operation: 48-30=18 Moving to Node #0,3 Current State: 40:[61, 39, 18], Operations: ['48-30=18'] Exploring Operation: 61-39=22, Resulting Numbers: [18, 22] Generated Node #0,3,0: 40:[18, 22] Operation: 61-39=22 Moving to Node #0,3,0 Current State: 40:[18, 22], Operations: ['48-30=18', '61-39=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.970486
hs_4
mult_heuristic
[ 44, 28, 5, 62 ]
83
[ "44-28=16", "5+62=67", "16+67=83" ]
Current State: 83:[44, 28, 5, 62], Operations: [] Exploring Operation: 44-28=16, Resulting Numbers: [5, 62, 16] Generated Node #2: [5, 62, 16] from Operation: 44-28=16 Current State: 83:[5, 62, 16], Operations: ['44-28=16'] Exploring Operation: 5+62=67, Resulting Numbers: [16, 67] Generated Node #3: [16, 67] from Operation: 5+62=67 Current State: 83:[16, 67], Operations: ['44-28=16', '5+62=67'] Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[44, 28, 5, 62], Operations: [] Exploring Operation: 44+28=72, Resulting Numbers: [5, 62, 72] Generated Node #0,0: 83:[5, 62, 72] Operation: 44+28=72 Moving to Node #0,0 Current State: 83:[5, 62, 72], Operations: ['44+28=72'] Exploring Operation: 5+62=67, Resulting Numbers: [72, 67] Generated Node #0,0,0: 83:[72, 67] Operation: 5+62=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[72, 67], Operations: ['44+28=72', '5+62=67'] Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,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
[ 77, 22, 25, 65 ]
35
[ "77-22=55", "25+65=90", "90-55=35" ]
Current State: 35:[77, 22, 25, 65], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [25, 65, 55] Generated Node #2: [25, 65, 55] from Operation: 77-22=55 Current State: 35:[25, 65, 55], Operations: ['77-22=55'] Exploring Operation: 25+65=90, Resulting Numbers: [55, 90] Generated Node #3: [55, 90] from Operation: 25+65=90 Current State: 35:[55, 90], Operations: ['77-22=55', '25+65=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[77, 22, 25, 65], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [25, 65, 55] Generated Node #0,0: 35:[25, 65, 55] Operation: 77-22=55 Exploring Operation: 77-25=52, Resulting Numbers: [22, 65, 52] Generated Node #0,1: 35:[22, 65, 52] Operation: 77-25=52 Exploring Operation: 65-22=43, Resulting Numbers: [77, 25, 43] Generated Node #0,2: 35:[77, 25, 43] Operation: 65-22=43 Exploring Operation: 77-65=12, Resulting Numbers: [22, 25, 12] Generated Node #0,3: 35:[22, 25, 12] Operation: 77-65=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[22, 25, 12], Operations: ['77-65=12'] Exploring Operation: 25-22=3, Resulting Numbers: [12, 3] Generated Node #0,3,0: 35:[12, 3] Operation: 25-22=3 Exploring Operation: 22-12=10, Resulting Numbers: [25, 10] Generated Node #0,3,1: 35:[25, 10] Operation: 22-12=10 Exploring Operation: 22+12=34, Resulting Numbers: [25, 34] Generated Node #0,3,2: 35:[25, 34] Operation: 22+12=34 Exploring Operation: 25+12=37, Resulting Numbers: [22, 37] Generated Node #0,3,3: 35:[22, 37] Operation: 25+12=37 Moving to Node #0,3,0 Current State: 35:[12, 3], Operations: ['77-65=12', '25-22=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[25, 34], Operations: ['77-65=12', '22+12=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,35 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[25, 10], Operations: ['77-65=12', '22-12=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[77, 22, 25, 65], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [22, 25, 12] Generated Node #0,3: 35:[22, 25, 12] Operation: 77-65=12 Moving to Node #0,3 Current State: 35:[22, 25, 12], Operations: ['77-65=12'] Exploring Operation: 22-12=10, Resulting Numbers: [25, 10] Generated Node #0,3,1: 35:[25, 10] Operation: 22-12=10 Moving to Node #0,3,1 Current State: 35:[25, 10], Operations: ['77-65=12', '22-12=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 12, 2, 29, 47 ]
50
[ "29+47=76", "76/2=38", "12+38=50" ]
Current State: 50:[12, 2, 29, 47], Operations: [] Exploring Operation: 29+47=76, Resulting Numbers: [12, 2, 76] Generated Node #2: [12, 2, 76] from Operation: 29+47=76 Current State: 50:[12, 2, 76], Operations: ['29+47=76'] Exploring Operation: 76/2=38, Resulting Numbers: [12, 38] Generated Node #3: [12, 38] from Operation: 76/2=38 Current State: 50:[12, 38], Operations: ['29+47=76', '76/2=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[12, 2, 29, 47], Operations: [] Exploring Operation: 12-2=10, Resulting Numbers: [29, 47, 10] Generated Node #0,0: 50:[29, 47, 10] Operation: 12-2=10 Moving to Node #0,0 Current State: 50:[29, 47, 10], Operations: ['12-2=10'] Exploring Operation: 47-29=18, Resulting Numbers: [10, 18] Generated Node #0,0,0: 50:[10, 18] Operation: 47-29=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[10, 18], Operations: ['12-2=10', '47-29=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,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
[ 82, 92, 19, 76 ]
14
[ "92-82=10", "76/19=4", "10+4=14" ]
Current State: 14:[82, 92, 19, 76], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [19, 76, 10] Generated Node #2: [19, 76, 10] from Operation: 92-82=10 Current State: 14:[19, 76, 10], Operations: ['92-82=10'] Exploring Operation: 76/19=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 76/19=4 Current State: 14:[10, 4], Operations: ['92-82=10', '76/19=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[82, 92, 19, 76], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [92, 19, 6] Generated Node #0,0: 14:[92, 19, 6] Operation: 82-76=6 Exploring Operation: 82-19=63, Resulting Numbers: [92, 76, 63] Generated Node #0,1: 14:[92, 76, 63] Operation: 82-19=63 Exploring Operation: 76/19=4, Resulting Numbers: [82, 92, 4] Generated Node #0,2: 14:[82, 92, 4] Operation: 76/19=4 Exploring Operation: 92-76=16, Resulting Numbers: [82, 19, 16] Generated Node #0,3: 14:[82, 19, 16] Operation: 92-76=16 Exploring Operation: 92-82=10, Resulting Numbers: [19, 76, 10] Generated Node #0,4: 14:[19, 76, 10] Operation: 92-82=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[19, 76, 10], Operations: ['92-82=10'] Exploring Operation: 76-19=57, Resulting Numbers: [10, 57] Generated Node #0,4,0: 14:[10, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [10, 4] Generated Node #0,4,1: 14:[10, 4] Operation: 76/19=4 Exploring Operation: 19+10=29, Resulting Numbers: [76, 29] Generated Node #0,4,2: 14:[76, 29] Operation: 19+10=29 Exploring Operation: 19-10=9, Resulting Numbers: [76, 9] Generated Node #0,4,3: 14:[76, 9] Operation: 19-10=9 Exploring Operation: 76-10=66, Resulting Numbers: [19, 66] Generated Node #0,4,4: 14:[19, 66] Operation: 76-10=66 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 14:[10, 4], Operations: ['92-82=10', '76/19=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,14 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[82, 92, 19, 76], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [19, 76, 10] Generated Node #0,4: 14:[19, 76, 10] Operation: 92-82=10 Moving to Node #0,4 Current State: 14:[19, 76, 10], Operations: ['92-82=10'] Exploring Operation: 76/19=4, Resulting Numbers: [10, 4] Generated Node #0,4,1: 14:[10, 4] Operation: 76/19=4 Moving to Node #0,4,1 Current State: 14:[10, 4], Operations: ['92-82=10', '76/19=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 69, 22, 50, 2 ]
30
[ "69-50=19", "22/2=11", "19+11=30" ]
Current State: 30:[69, 22, 50, 2], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [22, 2, 19] Generated Node #2: [22, 2, 19] from Operation: 69-50=19 Current State: 30:[22, 2, 19], Operations: ['69-50=19'] Exploring Operation: 22/2=11, Resulting Numbers: [19, 11] Generated Node #3: [19, 11] from Operation: 22/2=11 Current State: 30:[19, 11], Operations: ['69-50=19', '22/2=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[69, 22, 50, 2], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [22, 2, 19] Generated Node #0,0: 30:[22, 2, 19] Operation: 69-50=19 Moving to Node #0,0 Current State: 30:[22, 2, 19], Operations: ['69-50=19'] Exploring Operation: 22-19=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 30:[2, 3] Operation: 22-19=3 Moving to Node #0,0,0 Current State: 30:[2, 3], Operations: ['69-50=19', '22-19=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 51, 51, 44 ]
53
[ "9+51=60", "51-44=7", "60-7=53" ]
Current State: 53:[9, 51, 51, 44], Operations: [] Exploring Operation: 9+51=60, Resulting Numbers: [44, 60] Generated Node #2: [44, 60] from Operation: 9+51=60 Current State: 53:[44, 60], Operations: ['9+51=60'] Exploring Operation: 51-44=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 51-44=7 Current State: 53:[60, 7], Operations: ['9+51=60', '51-44=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[9, 51, 51, 44], Operations: [] Exploring Operation: 9+44=53, Resulting Numbers: [51, 51, 53] Generated Node #0,0: 53:[51, 51, 53] Operation: 9+44=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[51, 51, 53], Operations: ['9+44=53'] Exploring Operation: 51+51=102, Resulting Numbers: [53, 102] Generated Node #0,0,0: 53:[53, 102] Operation: 51+51=102 Moving to Node #0,0,0 Current State: 53:[53, 102], Operations: ['9+44=53', '51+51=102'] Exploring Operation: 102-53=49, Resulting Numbers: [49] 49,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 33, 3, 42 ]
73
[ "92-33=59", "42/3=14", "59+14=73" ]
Current State: 73:[92, 33, 3, 42], Operations: [] Exploring Operation: 92-33=59, Resulting Numbers: [3, 42, 59] Generated Node #2: [3, 42, 59] from Operation: 92-33=59 Current State: 73:[3, 42, 59], Operations: ['92-33=59'] Exploring Operation: 42/3=14, Resulting Numbers: [59, 14] Generated Node #3: [59, 14] from Operation: 42/3=14 Current State: 73:[59, 14], Operations: ['92-33=59', '42/3=14'] Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[92, 33, 3, 42], Operations: [] Exploring Operation: 33+3=36, Resulting Numbers: [92, 42, 36] Generated Node #0,0: 73:[92, 42, 36] Operation: 33+3=36 Exploring Operation: 33+42=75, Resulting Numbers: [92, 3, 75] Generated Node #0,1: 73:[92, 3, 75] Operation: 33+42=75 Exploring Operation: 33*3=99, Resulting Numbers: [92, 42, 99] Generated Node #0,2: 73:[92, 42, 99] Operation: 33*3=99 Exploring Operation: 3+42=45, Resulting Numbers: [92, 33, 45] Generated Node #0,3: 73:[92, 33, 45] Operation: 3+42=45 Exploring Operation: 92-3=89, Resulting Numbers: [33, 42, 89] Generated Node #0,4: 73:[33, 42, 89] Operation: 92-3=89 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[92, 42, 99], Operations: ['33*3=99'] Exploring Operation: 92-42=50, Resulting Numbers: [99, 50] Generated Node #0,2,0: 73:[99, 50] Operation: 92-42=50 Exploring Operation: 92+42=134, Resulting Numbers: [99, 134] Generated Node #0,2,1: 73:[99, 134] Operation: 92+42=134 Exploring Operation: 99-92=7, Resulting Numbers: [42, 7] Generated Node #0,2,2: 73:[42, 7] Operation: 99-92=7 Exploring Operation: 42+99=141, Resulting Numbers: [92, 141] Generated Node #0,2,3: 73:[92, 141] Operation: 42+99=141 Exploring Operation: 99-42=57, Resulting Numbers: [92, 57] Generated Node #0,2,4: 73:[92, 57] Operation: 99-42=57 Moving to Node #0,2,4 Current State: 73:[92, 57], Operations: ['33*3=99', '99-42=57'] Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,73 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[99, 50], Operations: ['33*3=99', '92-42=50'] Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 99+50=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 99*50=4950, Resulting Numbers: [4950] 4950,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[99, 134], Operations: ['33*3=99', '92+42=134'] Exploring Operation: 99+134=233, Resulting Numbers: [233] 233,73 unequal: No Solution Exploring Operation: 134-99=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 99*134=13266, Resulting Numbers: [13266] 13266,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[92, 141], Operations: ['33*3=99', '42+99=141'] Exploring Operation: 92*141=12972, Resulting Numbers: [12972] 12972,73 unequal: No Solution Exploring Operation: 92+141=233, Resulting Numbers: [233] 233,73 unequal: No Solution Exploring Operation: 141-92=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[42, 7], Operations: ['33*3=99', '99-92=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[92, 42, 36], Operations: ['33+3=36'] Exploring Operation: 42-36=6, Resulting Numbers: [92, 6] Generated Node #0,0,0: 73:[92, 6] Operation: 42-36=6 Exploring Operation: 92+36=128, Resulting Numbers: [42, 128] Generated Node #0,0,1: 73:[42, 128] Operation: 92+36=128 Exploring Operation: 92-36=56, Resulting Numbers: [42, 56] Generated Node #0,0,2: 73:[42, 56] Operation: 92-36=56 Exploring Operation: 92-42=50, Resulting Numbers: [36, 50] Generated Node #0,0,3: 73:[36, 50] Operation: 92-42=50 Exploring Operation: 42+36=78, Resulting Numbers: [92, 78] Generated Node #0,0,4: 73:[92, 78] Operation: 42+36=78 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 73:[92, 78], Operations: ['33+3=36', '42+36=78'] Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,73 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,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,0,2 Current State: 73:[42, 56], Operations: ['33+3=36', '92-36=56'] Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,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,0,3 Current State: 73:[36, 50], Operations: ['33+3=36', '92-42=50'] Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,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,0,0 Current State: 73:[92, 6], Operations: ['33+3=36', '42-36=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,73 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,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,0,1 Current State: 73:[42, 128], Operations: ['33+3=36', '92+36=128'] Exploring Operation: 42*128=5376, Resulting Numbers: [5376] 5376,73 unequal: No Solution Exploring Operation: 42+128=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 128-42=86, Resulting Numbers: [86] 86,73 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: 73:[92, 33, 45], Operations: ['3+42=45'] Exploring Operation: 92+33=125, Resulting Numbers: [45, 125] Generated Node #0,3,0: 73:[45, 125] Operation: 92+33=125 Exploring Operation: 33+45=78, Resulting Numbers: [92, 78] Generated Node #0,3,1: 73:[92, 78] Operation: 33+45=78 Exploring Operation: 92-45=47, Resulting Numbers: [33, 47] Generated Node #0,3,2: 73:[33, 47] Operation: 92-45=47 Exploring Operation: 45-33=12, Resulting Numbers: [92, 12] Generated Node #0,3,3: 73:[92, 12] Operation: 45-33=12 Exploring Operation: 92-33=59, Resulting Numbers: [45, 59] Generated Node #0,3,4: 73:[45, 59] Operation: 92-33=59 Moving to Node #0,3,1 Current State: 73:[92, 78], Operations: ['3+42=45', '33+45=78'] Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,73 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[45, 59], Operations: ['3+42=45', '92-33=59'] Exploring Operation: 45+59=104, Resulting Numbers: [104] 104,73 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 45*59=2655, Resulting Numbers: [2655] 2655,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[33, 47], Operations: ['3+42=45', '92-45=47'] Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,73 unequal: No Solution Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[45, 125], Operations: ['3+42=45', '92+33=125'] Exploring Operation: 125-45=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 45*125=5625, Resulting Numbers: [5625] 5625,73 unequal: No Solution Exploring Operation: 45+125=170, Resulting Numbers: [170] 170,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[92, 12], Operations: ['3+42=45', '45-33=12'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,73 unequal: No Solution Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,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,4 Current State: 73:[33, 42, 89], Operations: ['92-3=89'] Exploring Operation: 33+42=75, Resulting Numbers: [89, 75] Generated Node #0,4,0: 73:[89, 75] Operation: 33+42=75 Exploring Operation: 33+89=122, Resulting Numbers: [42, 122] Generated Node #0,4,1: 73:[42, 122] Operation: 33+89=122 Exploring Operation: 42-33=9, Resulting Numbers: [89, 9] Generated Node #0,4,2: 73:[89, 9] Operation: 42-33=9 Exploring Operation: 89-33=56, Resulting Numbers: [42, 56] Generated Node #0,4,3: 73:[42, 56] Operation: 89-33=56 Exploring Operation: 89-42=47, Resulting Numbers: [33, 47] Generated Node #0,4,4: 73:[33, 47] Operation: 89-42=47 Moving to Node #0,4,0 Current State: 73:[89, 75], Operations: ['92-3=89', '33+42=75'] Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[42, 56], Operations: ['92-3=89', '89-33=56'] Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,73 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[33, 47], Operations: ['92-3=89', '89-42=47'] Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,73 unequal: No Solution Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[42, 122], Operations: ['92-3=89', '33+89=122'] Exploring Operation: 42+122=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 122-42=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 42*122=5124, Resulting Numbers: [5124] 5124,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[89, 9], Operations: ['92-3=89', '42-33=9'] Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,73 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[92, 3, 75], Operations: ['33+42=75'] Exploring Operation: 3+75=78, Resulting Numbers: [92, 78] Generated Node #0,1,0: 73:[92, 78] Operation: 3+75=78 Exploring Operation: 92-3=89, Resulting Numbers: [75, 89] Generated Node #0,1,1: 73:[75, 89] Operation: 92-3=89 Exploring Operation: 92+3=95, Resulting Numbers: [75, 95] Generated Node #0,1,2: 73:[75, 95] Operation: 92+3=95 Exploring Operation: 75-3=72, Resulting Numbers: [92, 72] Generated Node #0,1,3: 73:[92, 72] Operation: 75-3=72 Exploring Operation: 75/3=25, Resulting Numbers: [92, 25] Generated Node #0,1,4: 73:[92, 25] Operation: 75/3=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[75, 89], Operations: ['33+42=75', '92-3=89'] Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 75*89=6675, Resulting Numbers: [6675] 6675,73 unequal: No Solution Exploring Operation: 75+89=164, Resulting Numbers: [164] 164,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,1,3 Current State: 73:[92, 72], Operations: ['33+42=75', '75-3=72'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 92*72=6624, Resulting Numbers: [6624] 6624,73 unequal: No Solution Exploring Operation: 92+72=164, Resulting Numbers: [164] 164,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,1,0 Current State: 73:[92, 78], Operations: ['33+42=75', '3+75=78'] Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,73 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,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,1,2 Current State: 73:[75, 95], Operations: ['33+42=75', '92+3=95'] Exploring Operation: 75*95=7125, Resulting Numbers: [7125] 7125,73 unequal: No Solution Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 75+95=170, Resulting Numbers: [170] 170,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,1,4 Current State: 73:[92, 25], Operations: ['33+42=75', '75/3=25'] Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,73 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
[ 86, 25, 85, 55 ]
88
[ "25+85=110", "110/55=2", "86+2=88" ]
Current State: 88:[86, 25, 85, 55], Operations: [] Exploring Operation: 25+85=110, Resulting Numbers: [86, 55, 110] Generated Node #2: [86, 55, 110] from Operation: 25+85=110 Current State: 88:[86, 55, 110], Operations: ['25+85=110'] Exploring Operation: 110/55=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 110/55=2 Current State: 88:[86, 2], Operations: ['25+85=110', '110/55=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[86, 25, 85, 55], Operations: [] Exploring Operation: 25+55=80, Resulting Numbers: [86, 85, 80] Generated Node #0,0: 88:[86, 85, 80] Operation: 25+55=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[86, 85, 80], Operations: ['25+55=80'] Exploring Operation: 85-80=5, Resulting Numbers: [86, 5] Generated Node #0,0,0: 88:[86, 5] Operation: 85-80=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[86, 5], Operations: ['25+55=80', '85-80=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,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 No solution found.
0
hs_1
sum_heuristic
[ 71, 13, 64, 64 ]
13
[ "64-64=0", "71*0=0", "13+0=13" ]
Current State: 13:[71, 13, 64, 64], Operations: [] Exploring Operation: 64-64=0, Resulting Numbers: [71, 13, 0] Generated Node #2: [71, 13, 0] from Operation: 64-64=0 Current State: 13:[71, 13, 0], Operations: ['64-64=0'] Exploring Operation: 71*0=0, Resulting Numbers: [13, 0] Generated Node #3: [13, 0] from Operation: 71*0=0 Current State: 13:[13, 0], Operations: ['64-64=0', '71*0=0'] Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[71, 13, 64, 64], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [13, 64, 7] Generated Node #0,0: 13:[13, 64, 7] Operation: 71-64=7 Exploring Operation: 71-64=7, Resulting Numbers: [13, 64, 7] Generated Node #0,1: 13:[13, 64, 7] Operation: 71-64=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[13, 64, 7], Operations: ['71-64=7'] Exploring Operation: 64-7=57, Resulting Numbers: [13, 57] Generated Node #0,0,0: 13:[13, 57] Operation: 64-7=57 Exploring Operation: 64-13=51, Resulting Numbers: [7, 51] Generated Node #0,0,1: 13:[7, 51] Operation: 64-13=51 Moving to Node #0,0,0 Current State: 13:[13, 57], Operations: ['71-64=7', '64-7=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[7, 51], Operations: ['71-64=7', '64-13=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,13 unequal: No Solution No 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: 13:[13, 64, 7], Operations: ['71-64=7'] Exploring Operation: 64-13=51, Resulting Numbers: [7, 51] Generated Node #0,1,0: 13:[7, 51] Operation: 64-13=51 Exploring Operation: 64-7=57, Resulting Numbers: [13, 57] Generated Node #0,1,1: 13:[13, 57] Operation: 64-7=57 Moving to Node #0,1,0 Current State: 13:[7, 51], Operations: ['71-64=7', '64-13=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[13, 57], Operations: ['71-64=7', '64-7=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,13 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
[ 80, 6, 67, 3 ]
10
[ "80-6=74", "67-3=64", "74-64=10" ]
Current State: 10:[80, 6, 67, 3], Operations: [] Exploring Operation: 80-6=74, Resulting Numbers: [67, 3, 74] Generated Node #2: [67, 3, 74] from Operation: 80-6=74 Current State: 10:[67, 3, 74], Operations: ['80-6=74'] Exploring Operation: 67-3=64, Resulting Numbers: [74, 64] Generated Node #3: [74, 64] from Operation: 67-3=64 Current State: 10:[74, 64], Operations: ['80-6=74', '67-3=64'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[80, 6, 67, 3], Operations: [] Exploring Operation: 67-6=61, Resulting Numbers: [80, 3, 61] Generated Node #0,0: 10:[80, 3, 61] Operation: 67-6=61 Exploring Operation: 80-6=74, Resulting Numbers: [67, 3, 74] Generated Node #0,1: 10:[67, 3, 74] Operation: 80-6=74 Exploring Operation: 80-67=13, Resulting Numbers: [6, 3, 13] Generated Node #0,2: 10:[6, 3, 13] Operation: 80-67=13 Exploring Operation: 80-3=77, Resulting Numbers: [6, 67, 77] Generated Node #0,3: 10:[6, 67, 77] Operation: 80-3=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[6, 3, 13], Operations: ['80-67=13'] Exploring Operation: 13-6=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 10:[3, 7] Operation: 13-6=7 Exploring Operation: 6/3=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 10:[13, 2] Operation: 6/3=2 Exploring Operation: 13-3=10, Resulting Numbers: [6, 10] Generated Node #0,2,2: 10:[6, 10] Operation: 13-3=10 Exploring Operation: 6+3=9, Resulting Numbers: [13, 9] Generated Node #0,2,3: 10:[13, 9] Operation: 6+3=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[6, 10], Operations: ['80-67=13', '13-3=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[3, 7], Operations: ['80-67=13', '13-6=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[80, 6, 67, 3], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [6, 3, 13] Generated Node #0,2: 10:[6, 3, 13] Operation: 80-67=13 Moving to Node #0,2 Current State: 10:[6, 3, 13], Operations: ['80-67=13'] Exploring Operation: 13-6=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 10:[3, 7] Operation: 13-6=7 Moving to Node #0,2,0 Current State: 10:[3, 7], Operations: ['80-67=13', '13-6=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 78, 59, 97, 79 ]
61
[ "59*79=4661", "97+4661=4758", "4758/78=61" ]
Current State: 61:[78, 59, 97, 79], Operations: [] Exploring Operation: 59*79=4661, Resulting Numbers: [78, 97, 4661] Generated Node #2: [78, 97, 4661] from Operation: 59*79=4661 Current State: 61:[78, 97, 4661], Operations: ['59*79=4661'] Exploring Operation: 97+4661=4758, Resulting Numbers: [78, 4758] Generated Node #3: [78, 4758] from Operation: 97+4661=4758 Current State: 61:[78, 4758], Operations: ['59*79=4661', '97+4661=4758'] Exploring Operation: 4758/78=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[78, 59, 97, 79], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [59, 79, 19] Generated Node #0,0: 61:[59, 79, 19] Operation: 97-78=19 Exploring Operation: 79-59=20, Resulting Numbers: [78, 97, 20] Generated Node #0,1: 61:[78, 97, 20] Operation: 79-59=20 Exploring Operation: 97-59=38, Resulting Numbers: [78, 79, 38] Generated Node #0,2: 61:[78, 79, 38] Operation: 97-59=38 Exploring Operation: 97-79=18, Resulting Numbers: [78, 59, 18] Generated Node #0,3: 61:[78, 59, 18] Operation: 97-79=18 Exploring Operation: 78-59=19, Resulting Numbers: [97, 79, 19] Generated Node #0,4: 61:[97, 79, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[78, 79, 38], Operations: ['97-59=38'] Exploring Operation: 78+38=116, Resulting Numbers: [79, 116] Generated Node #0,2,0: 61:[79, 116] Operation: 78+38=116 Exploring Operation: 79-38=41, Resulting Numbers: [78, 41] Generated Node #0,2,1: 61:[78, 41] Operation: 79-38=41 Exploring Operation: 79+38=117, Resulting Numbers: [78, 117] Generated Node #0,2,2: 61:[78, 117] Operation: 79+38=117 Exploring Operation: 78-38=40, Resulting Numbers: [79, 40] Generated Node #0,2,3: 61:[79, 40] Operation: 78-38=40 Exploring Operation: 79-78=1, Resulting Numbers: [38, 1] Generated Node #0,2,4: 61:[38, 1] Operation: 79-78=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[78, 41], Operations: ['97-59=38', '79-38=41'] Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,61 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,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,2,3 Current State: 61:[79, 40], Operations: ['97-59=38', '78-38=40'] Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,61 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,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,2,0 Current State: 61:[79, 116], Operations: ['97-59=38', '78+38=116'] Exploring Operation: 79*116=9164, Resulting Numbers: [9164] 9164,61 unequal: No Solution Exploring Operation: 79+116=195, Resulting Numbers: [195] 195,61 unequal: No Solution Exploring Operation: 116-79=37, Resulting Numbers: [37] 37,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,2,2 Current State: 61:[78, 117], Operations: ['97-59=38', '79+38=117'] Exploring Operation: 78+117=195, Resulting Numbers: [195] 195,61 unequal: No Solution Exploring Operation: 117-78=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 78*117=9126, Resulting Numbers: [9126] 9126,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,2,4 Current State: 61:[38, 1], Operations: ['97-59=38', '79-78=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,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,0 Current State: 61:[59, 79, 19], Operations: ['97-78=19'] Exploring Operation: 79-59=20, Resulting Numbers: [19, 20] Generated Node #0,0,0: 61:[19, 20] Operation: 79-59=20 Exploring Operation: 79-19=60, Resulting Numbers: [59, 60] Generated Node #0,0,1: 61:[59, 60] Operation: 79-19=60 Exploring Operation: 59+19=78, Resulting Numbers: [79, 78] Generated Node #0,0,2: 61:[79, 78] Operation: 59+19=78 Exploring Operation: 59-19=40, Resulting Numbers: [79, 40] Generated Node #0,0,3: 61:[79, 40] Operation: 59-19=40 Exploring Operation: 79+19=98, Resulting Numbers: [59, 98] Generated Node #0,0,4: 61:[59, 98] Operation: 79+19=98 Moving to Node #0,0,1 Current State: 61:[59, 60], Operations: ['97-78=19', '79-19=60'] Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,61 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[79, 78], Operations: ['97-78=19', '59+19=78'] Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 79*78=6162, Resulting Numbers: [6162] 6162,61 unequal: No Solution Exploring Operation: 79+78=157, Resulting Numbers: [157] 157,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[79, 40], Operations: ['97-78=19', '59-19=40'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[59, 98], Operations: ['97-78=19', '79+19=98'] Exploring Operation: 59+98=157, Resulting Numbers: [157] 157,61 unequal: No Solution Exploring Operation: 59*98=5782, Resulting Numbers: [5782] 5782,61 unequal: No Solution Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[19, 20], Operations: ['97-78=19', '79-59=20'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[78, 59, 18], Operations: ['97-79=18'] Exploring Operation: 59-18=41, Resulting Numbers: [78, 41] Generated Node #0,3,0: 61:[78, 41] Operation: 59-18=41 Exploring Operation: 59+18=77, Resulting Numbers: [78, 77] Generated Node #0,3,1: 61:[78, 77] Operation: 59+18=77 Exploring Operation: 78-18=60, Resulting Numbers: [59, 60] Generated Node #0,3,2: 61:[59, 60] Operation: 78-18=60 Exploring Operation: 78-59=19, Resulting Numbers: [18, 19] Generated Node #0,3,3: 61:[18, 19] Operation: 78-59=19 Exploring Operation: 78+18=96, Resulting Numbers: [59, 96] Generated Node #0,3,4: 61:[59, 96] Operation: 78+18=96 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[59, 60], Operations: ['97-79=18', '78-18=60'] Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,61 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[78, 77], Operations: ['97-79=18', '59+18=77'] Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[78, 41], Operations: ['97-79=18', '59-18=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 61:[59, 96], Operations: ['97-79=18', '78+18=96'] Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[18, 19], Operations: ['97-79=18', '78-59=19'] Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,61 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,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:[78, 97, 20], Operations: ['79-59=20'] Exploring Operation: 78-20=58, Resulting Numbers: [97, 58] Generated Node #0,1,0: 61:[97, 58] Operation: 78-20=58 Exploring Operation: 97-20=77, Resulting Numbers: [78, 77] Generated Node #0,1,1: 61:[78, 77] Operation: 97-20=77 Exploring Operation: 97-78=19, Resulting Numbers: [20, 19] Generated Node #0,1,2: 61:[20, 19] Operation: 97-78=19 Exploring Operation: 97+20=117, Resulting Numbers: [78, 117] Generated Node #0,1,3: 61:[78, 117] Operation: 97+20=117 Exploring Operation: 78+20=98, Resulting Numbers: [97, 98] Generated Node #0,1,4: 61:[97, 98] Operation: 78+20=98 Moving to Node #0,1,1 Current State: 61:[78, 77], Operations: ['79-59=20', '97-20=77'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,61 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[97, 58], Operations: ['79-59=20', '78-20=58'] Exploring Operation: 97+58=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 97*58=5626, Resulting Numbers: [5626] 5626,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[78, 117], Operations: ['79-59=20', '97+20=117'] Exploring Operation: 117-78=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 78+117=195, Resulting Numbers: [195] 195,61 unequal: No Solution Exploring Operation: 78*117=9126, Resulting Numbers: [9126] 9126,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[97, 98], Operations: ['79-59=20', '78+20=98'] Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,61 unequal: No Solution Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[20, 19], Operations: ['79-59=20', '97-78=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,61 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[97, 79, 19], Operations: ['78-59=19'] Exploring Operation: 97+19=116, Resulting Numbers: [79, 116] Generated Node #0,4,0: 61:[79, 116] Operation: 97+19=116 Exploring Operation: 97-79=18, Resulting Numbers: [19, 18] Generated Node #0,4,1: 61:[19, 18] Operation: 97-79=18 Exploring Operation: 97-19=78, Resulting Numbers: [79, 78] Generated Node #0,4,2: 61:[79, 78] Operation: 97-19=78 Exploring Operation: 79-19=60, Resulting Numbers: [97, 60] Generated Node #0,4,3: 61:[97, 60] Operation: 79-19=60 Exploring Operation: 79+19=98, Resulting Numbers: [97, 98] Generated Node #0,4,4: 61:[97, 98] Operation: 79+19=98 Moving to Node #0,4,2 Current State: 61:[79, 78], Operations: ['78-59=19', '97-19=78'] Exploring Operation: 79*78=6162, Resulting Numbers: [6162] 6162,61 unequal: No Solution Exploring Operation: 79+78=157, Resulting Numbers: [157] 157,61 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[97, 60], Operations: ['78-59=19', '79-19=60'] Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,61 unequal: No Solution Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 97*60=5820, Resulting Numbers: [5820] 5820,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[79, 116], Operations: ['78-59=19', '97+19=116'] Exploring Operation: 116-79=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 79*116=9164, Resulting Numbers: [9164] 9164,61 unequal: No Solution Exploring Operation: 79+116=195, Resulting Numbers: [195] 195,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[97, 98], Operations: ['78-59=19', '79+19=98'] Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,61 unequal: No Solution Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[19, 18], Operations: ['78-59=19', '97-79=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,61 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 4, 52, 33, 94 ]
36
[ "52+33=85", "94-85=9", "4*9=36" ]
Current State: 36:[4, 52, 33, 94], Operations: [] Exploring Operation: 52+33=85, Resulting Numbers: [4, 94, 85] Generated Node #2: [4, 94, 85] from Operation: 52+33=85 Current State: 36:[4, 94, 85], Operations: ['52+33=85'] Exploring Operation: 94-85=9, Resulting Numbers: [4, 9] Generated Node #3: [4, 9] from Operation: 94-85=9 Current State: 36:[4, 9], Operations: ['52+33=85', '94-85=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[4, 52, 33, 94], Operations: [] Exploring Operation: 94-33=61, Resulting Numbers: [4, 52, 61] Generated Node #0,0: 36:[4, 52, 61] Operation: 94-33=61 Exploring Operation: 94-52=42, Resulting Numbers: [4, 33, 42] Generated Node #0,1: 36:[4, 33, 42] Operation: 94-52=42 Moving to Node #0,1 Current State: 36:[4, 33, 42], Operations: ['94-52=42'] Exploring Operation: 42-4=38, Resulting Numbers: [33, 38] Generated Node #0,1,0: 36:[33, 38] Operation: 42-4=38 Exploring Operation: 42-33=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 36:[4, 9] Operation: 42-33=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[4, 9], Operations: ['94-52=42', '42-33=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[4, 52, 33, 94], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [4, 33, 42] Generated Node #0,1: 36:[4, 33, 42] Operation: 94-52=42 Moving to Node #0,1 Current State: 36:[4, 33, 42], Operations: ['94-52=42'] Exploring Operation: 42-33=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 36:[4, 9] Operation: 42-33=9 Moving to Node #0,1,1 Current State: 36:[4, 9], Operations: ['94-52=42', '42-33=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 82, 15, 73, 28 ]
79
[ "73-28=45", "45/15=3", "82-3=79" ]
Current State: 79:[82, 15, 73, 28], Operations: [] Exploring Operation: 73-28=45, Resulting Numbers: [82, 15, 45] Generated Node #2: [82, 15, 45] from Operation: 73-28=45 Current State: 79:[82, 15, 45], Operations: ['73-28=45'] Exploring Operation: 45/15=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 45/15=3 Current State: 79:[82, 3], Operations: ['73-28=45', '45/15=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[82, 15, 73, 28], Operations: [] Exploring Operation: 15+73=88, Resulting Numbers: [82, 28, 88] Generated Node #0,0: 79:[82, 28, 88] Operation: 15+73=88 Exploring Operation: 15+28=43, Resulting Numbers: [82, 73, 43] Generated Node #0,1: 79:[82, 73, 43] Operation: 15+28=43 Exploring Operation: 82-15=67, Resulting Numbers: [73, 28, 67] Generated Node #0,2: 79:[73, 28, 67] Operation: 82-15=67 Exploring Operation: 82+15=97, Resulting Numbers: [73, 28, 97] Generated Node #0,3: 79:[73, 28, 97] Operation: 82+15=97 Exploring Operation: 73-15=58, Resulting Numbers: [82, 28, 58] Generated Node #0,4: 79:[82, 28, 58] Operation: 73-15=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[82, 73, 43], Operations: ['15+28=43'] Exploring Operation: 73+43=116, Resulting Numbers: [82, 116] Generated Node #0,1,0: 79:[82, 116] Operation: 73+43=116 Exploring Operation: 82-73=9, Resulting Numbers: [43, 9] Generated Node #0,1,1: 79:[43, 9] Operation: 82-73=9 Exploring Operation: 73-43=30, Resulting Numbers: [82, 30] Generated Node #0,1,2: 79:[82, 30] Operation: 73-43=30 Exploring Operation: 82-43=39, Resulting Numbers: [73, 39] Generated Node #0,1,3: 79:[73, 39] Operation: 82-43=39 Exploring Operation: 82+43=125, Resulting Numbers: [73, 125] Generated Node #0,1,4: 79:[73, 125] Operation: 82+43=125 Moving to Node #0,1,0 Current State: 79:[82, 116], Operations: ['15+28=43', '73+43=116'] Exploring Operation: 116-82=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 82+116=198, Resulting Numbers: [198] 198,79 unequal: No Solution Exploring Operation: 82*116=9512, Resulting Numbers: [9512] 9512,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[73, 39], Operations: ['15+28=43', '82-43=39'] Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,79 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[82, 30], Operations: ['15+28=43', '73-43=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[73, 125], Operations: ['15+28=43', '82+43=125'] Exploring Operation: 125-73=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 73*125=9125, Resulting Numbers: [9125] 9125,79 unequal: No Solution Exploring Operation: 73+125=198, Resulting Numbers: [198] 198,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[43, 9], Operations: ['15+28=43', '82-73=9'] Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,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:[82, 28, 88], Operations: ['15+73=88'] Exploring Operation: 88-28=60, Resulting Numbers: [82, 60] Generated Node #0,0,0: 79:[82, 60] Operation: 88-28=60 Exploring Operation: 88-82=6, Resulting Numbers: [28, 6] Generated Node #0,0,1: 79:[28, 6] Operation: 88-82=6 Exploring Operation: 82+28=110, Resulting Numbers: [88, 110] Generated Node #0,0,2: 79:[88, 110] Operation: 82+28=110 Exploring Operation: 82-28=54, Resulting Numbers: [88, 54] Generated Node #0,0,3: 79:[88, 54] Operation: 82-28=54 Exploring Operation: 28+88=116, Resulting Numbers: [82, 116] Generated Node #0,0,4: 79:[82, 116] Operation: 28+88=116 Moving to Node #0,0,0 Current State: 79:[82, 60], Operations: ['15+73=88', '88-28=60'] Exploring Operation: 82*60=4920, Resulting Numbers: [4920] 4920,79 unequal: No Solution Exploring Operation: 82+60=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[88, 54], Operations: ['15+73=88', '82-28=54'] Exploring Operation: 88*54=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 88+54=142, Resulting Numbers: [142] 142,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[88, 110], Operations: ['15+73=88', '82+28=110'] Exploring Operation: 110-88=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 88*110=9680, Resulting Numbers: [9680] 9680,79 unequal: No Solution Exploring Operation: 88+110=198, Resulting Numbers: [198] 198,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[82, 116], Operations: ['15+73=88', '28+88=116'] Exploring Operation: 82*116=9512, Resulting Numbers: [9512] 9512,79 unequal: No Solution Exploring Operation: 116-82=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 82+116=198, Resulting Numbers: [198] 198,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[28, 6], Operations: ['15+73=88', '88-82=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,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 Current State: 79:[73, 28, 67], Operations: ['82-15=67'] Exploring Operation: 67-28=39, Resulting Numbers: [73, 39] Generated Node #0,2,0: 79:[73, 39] Operation: 67-28=39 Exploring Operation: 73+28=101, Resulting Numbers: [67, 101] Generated Node #0,2,1: 79:[67, 101] Operation: 73+28=101 Exploring Operation: 28+67=95, Resulting Numbers: [73, 95] Generated Node #0,2,2: 79:[73, 95] Operation: 28+67=95 Exploring Operation: 73+67=140, Resulting Numbers: [28, 140] Generated Node #0,2,3: 79:[28, 140] Operation: 73+67=140 Exploring Operation: 73-28=45, Resulting Numbers: [67, 45] Generated Node #0,2,4: 79:[67, 45] Operation: 73-28=45 Moving to Node #0,2,2 Current State: 79:[73, 95], Operations: ['82-15=67', '28+67=95'] Exploring Operation: 73*95=6935, Resulting Numbers: [6935] 6935,79 unequal: No Solution Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 73+95=168, Resulting Numbers: [168] 168,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[67, 101], Operations: ['82-15=67', '73+28=101'] Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[73, 39], Operations: ['82-15=67', '67-28=39'] Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,79 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[67, 45], Operations: ['82-15=67', '73-28=45'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,79 unequal: No Solution Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[28, 140], Operations: ['82-15=67', '73+67=140'] Exploring Operation: 140-28=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 28*140=3920, Resulting Numbers: [3920] 3920,79 unequal: No Solution Exploring Operation: 140/28=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 28+140=168, Resulting Numbers: [168] 168,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:[73, 28, 97], Operations: ['82+15=97'] Exploring Operation: 97-28=69, Resulting Numbers: [73, 69] Generated Node #0,3,0: 79:[73, 69] Operation: 97-28=69 Exploring Operation: 97-73=24, Resulting Numbers: [28, 24] Generated Node #0,3,1: 79:[28, 24] Operation: 97-73=24 Exploring Operation: 28+97=125, Resulting Numbers: [73, 125] Generated Node #0,3,2: 79:[73, 125] Operation: 28+97=125 Exploring Operation: 73+28=101, Resulting Numbers: [97, 101] Generated Node #0,3,3: 79:[97, 101] Operation: 73+28=101 Exploring Operation: 73-28=45, Resulting Numbers: [97, 45] Generated Node #0,3,4: 79:[97, 45] Operation: 73-28=45 Moving to Node #0,3,0 Current State: 79:[73, 69], Operations: ['82+15=97', '97-28=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[97, 101], Operations: ['82+15=97', '73+28=101'] Exploring Operation: 101-97=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 97+101=198, Resulting Numbers: [198] 198,79 unequal: No Solution Exploring Operation: 97*101=9797, Resulting Numbers: [9797] 9797,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[73, 125], Operations: ['82+15=97', '28+97=125'] Exploring Operation: 73*125=9125, Resulting Numbers: [9125] 9125,79 unequal: No Solution Exploring Operation: 125-73=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 73+125=198, Resulting Numbers: [198] 198,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[97, 45], Operations: ['82+15=97', '73-28=45'] Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[28, 24], Operations: ['82+15=97', '97-73=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,79 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,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 Current State: 79:[82, 28, 58], Operations: ['73-15=58'] Exploring Operation: 82-28=54, Resulting Numbers: [58, 54] Generated Node #0,4,0: 79:[58, 54] Operation: 82-28=54 Exploring Operation: 28+58=86, Resulting Numbers: [82, 86] Generated Node #0,4,1: 79:[82, 86] Operation: 28+58=86 Exploring Operation: 58-28=30, Resulting Numbers: [82, 30] Generated Node #0,4,2: 79:[82, 30] Operation: 58-28=30 Exploring Operation: 82-58=24, Resulting Numbers: [28, 24] Generated Node #0,4,3: 79:[28, 24] Operation: 82-58=24 Exploring Operation: 82+28=110, Resulting Numbers: [58, 110] Generated Node #0,4,4: 79:[58, 110] Operation: 82+28=110 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 79:[82, 86], Operations: ['73-15=58', '28+58=86'] Exploring Operation: 82*86=7052, Resulting Numbers: [7052] 7052,79 unequal: No Solution Exploring Operation: 82+86=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,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:[58, 54], Operations: ['73-15=58', '82-28=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,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:[82, 30], Operations: ['73-15=58', '58-28=30'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,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:[58, 110], Operations: ['73-15=58', '82+28=110'] Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 58*110=6380, Resulting Numbers: [6380] 6380,79 unequal: No Solution Exploring Operation: 58+110=168, Resulting Numbers: [168] 168,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:[28, 24], Operations: ['73-15=58', '82-58=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,79 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,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
[ 21, 56, 67, 14 ]
82
[ "56+67=123", "14*123=1722", "1722/21=82" ]
Current State: 82:[21, 56, 67, 14], Operations: [] Exploring Operation: 56+67=123, Resulting Numbers: [21, 14, 123] Generated Node #2: [21, 14, 123] from Operation: 56+67=123 Current State: 82:[21, 14, 123], Operations: ['56+67=123'] Exploring Operation: 14*123=1722, Resulting Numbers: [21, 1722] Generated Node #3: [21, 1722] from Operation: 14*123=1722 Current State: 82:[21, 1722], Operations: ['56+67=123', '14*123=1722'] Exploring Operation: 1722/21=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[21, 56, 67, 14], Operations: [] Exploring Operation: 21+67=88, Resulting Numbers: [56, 14, 88] Generated Node #0,0: 82:[56, 14, 88] Operation: 21+67=88 Exploring Operation: 21+56=77, Resulting Numbers: [67, 14, 77] Generated Node #0,1: 82:[67, 14, 77] Operation: 21+56=77 Exploring Operation: 67-21=46, Resulting Numbers: [56, 14, 46] Generated Node #0,2: 82:[56, 14, 46] Operation: 67-21=46 Exploring Operation: 56-21=35, Resulting Numbers: [67, 14, 35] Generated Node #0,3: 82:[67, 14, 35] Operation: 56-21=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[67, 14, 77], Operations: ['21+56=77'] Exploring Operation: 14+77=91, Resulting Numbers: [67, 91] Generated Node #0,1,0: 82:[67, 91] Operation: 14+77=91 Exploring Operation: 67+14=81, Resulting Numbers: [77, 81] Generated Node #0,1,1: 82:[77, 81] Operation: 67+14=81 Exploring Operation: 67-14=53, Resulting Numbers: [77, 53] Generated Node #0,1,2: 82:[77, 53] Operation: 67-14=53 Exploring Operation: 77-67=10, Resulting Numbers: [14, 10] Generated Node #0,1,3: 82:[14, 10] Operation: 77-67=10 Moving to Node #0,1,1 Current State: 82:[77, 81], Operations: ['21+56=77', '67+14=81'] Exploring Operation: 81-77=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 77+81=158, Resulting Numbers: [158] 158,82 unequal: No Solution Exploring Operation: 77*81=6237, Resulting Numbers: [6237] 6237,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[77, 53], Operations: ['21+56=77', '67-14=53'] Exploring Operation: 77+53=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 77*53=4081, Resulting Numbers: [4081] 4081,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[14, 10], Operations: ['21+56=77', '77-67=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[67, 91], Operations: ['21+56=77', '14+77=91'] Exploring Operation: 67*91=6097, Resulting Numbers: [6097] 6097,82 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,82 unequal: No Solution Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[56, 14, 46], Operations: ['67-21=46'] Exploring Operation: 56-14=42, Resulting Numbers: [46, 42] Generated Node #0,2,0: 82:[46, 42] Operation: 56-14=42 Exploring Operation: 56+14=70, Resulting Numbers: [46, 70] Generated Node #0,2,1: 82:[46, 70] Operation: 56+14=70 Exploring Operation: 56-46=10, Resulting Numbers: [14, 10] Generated Node #0,2,2: 82:[14, 10] Operation: 56-46=10 Exploring Operation: 56/14=4, Resulting Numbers: [46, 4] Generated Node #0,2,3: 82:[46, 4] Operation: 56/14=4 Moving to Node #0,2,0 Current State: 82:[46, 42], Operations: ['67-21=46', '56-14=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,82 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[46, 4], Operations: ['67-21=46', '56/14=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,82 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[46, 70], Operations: ['67-21=46', '56+14=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[14, 10], Operations: ['67-21=46', '56-46=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[56, 14, 88], Operations: ['21+67=88'] Exploring Operation: 56/14=4, Resulting Numbers: [88, 4] Generated Node #0,0,0: 82:[88, 4] Operation: 56/14=4 Exploring Operation: 88-56=32, Resulting Numbers: [14, 32] Generated Node #0,0,1: 82:[14, 32] Operation: 88-56=32 Exploring Operation: 56-14=42, Resulting Numbers: [88, 42] Generated Node #0,0,2: 82:[88, 42] Operation: 56-14=42 Exploring Operation: 56+14=70, Resulting Numbers: [88, 70] Generated Node #0,0,3: 82:[88, 70] Operation: 56+14=70 Moving to Node #0,0,2 Current State: 82:[88, 42], Operations: ['21+67=88', '56-14=42'] Exploring Operation: 88+42=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 88*42=3696, Resulting Numbers: [3696] 3696,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[88, 4], Operations: ['21+67=88', '56/14=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,82 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[88, 70], Operations: ['21+67=88', '56+14=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,82 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[14, 32], Operations: ['21+67=88', '88-56=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,82 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[67, 14, 35], Operations: ['56-21=35'] Exploring Operation: 67+14=81, Resulting Numbers: [35, 81] Generated Node #0,3,0: 82:[35, 81] Operation: 67+14=81 Exploring Operation: 67-14=53, Resulting Numbers: [35, 53] Generated Node #0,3,1: 82:[35, 53] Operation: 67-14=53 Exploring Operation: 67-35=32, Resulting Numbers: [14, 32] Generated Node #0,3,2: 82:[14, 32] Operation: 67-35=32 Exploring Operation: 14+35=49, Resulting Numbers: [67, 49] Generated Node #0,3,3: 82:[67, 49] Operation: 14+35=49 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[35, 81], Operations: ['56-21=35', '67+14=81'] Exploring Operation: 35*81=2835, Resulting Numbers: [2835] 2835,82 unequal: No Solution Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,82 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[35, 53], Operations: ['56-21=35', '67-14=53'] Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,82 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[14, 32], Operations: ['56-21=35', '67-35=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,82 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[67, 49], Operations: ['56-21=35', '14+35=49'] Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,82 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 53, 78, 39, 52 ]
38
[ "78-53=25", "52-39=13", "25+13=38" ]
Current State: 38:[53, 78, 39, 52], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [39, 52, 25] Generated Node #2: [39, 52, 25] from Operation: 78-53=25 Current State: 38:[39, 52, 25], Operations: ['78-53=25'] Exploring Operation: 52-39=13, Resulting Numbers: [25, 13] Generated Node #3: [25, 13] from Operation: 52-39=13 Current State: 38:[25, 13], Operations: ['78-53=25', '52-39=13'] Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[53, 78, 39, 52], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [39, 52, 25] Generated Node #0,0: 38:[39, 52, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 38:[39, 52, 25], Operations: ['78-53=25'] Exploring Operation: 52-25=27, Resulting Numbers: [39, 27] Generated Node #0,0,0: 38:[39, 27] Operation: 52-25=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[39, 27], Operations: ['78-53=25', '52-25=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 10, 15, 66 ]
70
[ "66/3=22", "22-15=7", "10*7=70" ]
Current State: 70:[3, 10, 15, 66], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [10, 15, 22] Generated Node #2: [10, 15, 22] from Operation: 66/3=22 Current State: 70:[10, 15, 22], Operations: ['66/3=22'] Exploring Operation: 22-15=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 22-15=7 Current State: 70:[10, 7], Operations: ['66/3=22', '22-15=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 10, 15, 66], Operations: [] Exploring Operation: 3+66=69, Resulting Numbers: [10, 15, 69] Generated Node #0,0: 70:[10, 15, 69] Operation: 3+66=69 Exploring Operation: 15/3=5, Resulting Numbers: [10, 66, 5] Generated Node #0,1: 70:[10, 66, 5] Operation: 15/3=5 Moving to Node #0,0 Current State: 70:[10, 15, 69], Operations: ['3+66=69'] Exploring Operation: 15-10=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 70:[69, 5] Operation: 15-10=5 Exploring Operation: 10+69=79, Resulting Numbers: [15, 79] Generated Node #0,0,1: 70:[15, 79] Operation: 10+69=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[69, 5], Operations: ['3+66=69', '15-10=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[15, 79], Operations: ['3+66=69', '10+69=79'] Exploring Operation: 15+79=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[10, 66, 5], Operations: ['15/3=5'] Exploring Operation: 66+5=71, Resulting Numbers: [10, 71] Generated Node #0,1,0: 70:[10, 71] Operation: 66+5=71 Exploring Operation: 10-5=5, Resulting Numbers: [66, 5] Generated Node #0,1,1: 70:[66, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[10, 71], Operations: ['15/3=5', '66+5=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[66, 5], Operations: ['15/3=5', '10-5=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 12, 16, 28, 20 ]
32
[ "16-12=4", "28-20=8", "4*8=32" ]
Current State: 32:[12, 16, 28, 20], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [28, 20, 4] Generated Node #2: [28, 20, 4] from Operation: 16-12=4 Current State: 32:[28, 20, 4], Operations: ['16-12=4'] Exploring Operation: 28-20=8, Resulting Numbers: [4, 8] Generated Node #3: [4, 8] from Operation: 28-20=8 Current State: 32:[4, 8], Operations: ['16-12=4', '28-20=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[12, 16, 28, 20], Operations: [] Exploring Operation: 28-12=16, Resulting Numbers: [16, 20, 16] Generated Node #0,0: 32:[16, 20, 16] Operation: 28-12=16 Exploring Operation: 12+20=32, Resulting Numbers: [16, 28, 32] Generated Node #0,1: 32:[16, 28, 32] Operation: 12+20=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[16, 20, 16], Operations: ['28-12=16'] Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 32:[16, 4] Operation: 20-16=4 Exploring Operation: 20-16=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 32:[16, 4] Operation: 20-16=4 Moving to Node #0,0,0 Current State: 32:[16, 4], Operations: ['28-12=16', '20-16=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[16, 4], Operations: ['28-12=16', '20-16=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[16, 28, 32], Operations: ['12+20=32'] Exploring Operation: 32-28=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 32:[16, 4] Operation: 32-28=4 Exploring Operation: 28-16=12, Resulting Numbers: [32, 12] Generated Node #0,1,1: 32:[32, 12] Operation: 28-16=12 Moving to Node #0,1,0 Current State: 32:[16, 4], Operations: ['12+20=32', '32-28=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[32, 12], Operations: ['12+20=32', '28-16=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 23, 82, 73, 72 ]
86
[ "82-23=59", "73+72=145", "145-59=86" ]
Current State: 86:[23, 82, 73, 72], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [73, 72, 59] Generated Node #2: [73, 72, 59] from Operation: 82-23=59 Current State: 86:[73, 72, 59], Operations: ['82-23=59'] Exploring Operation: 73+72=145, Resulting Numbers: [59, 145] Generated Node #3: [59, 145] from Operation: 73+72=145 Current State: 86:[59, 145], Operations: ['82-23=59', '73+72=145'] Exploring Operation: 145-59=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[23, 82, 73, 72], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [23, 82, 1] Generated Node #0,0: 86:[23, 82, 1] Operation: 73-72=1 Exploring Operation: 72-23=49, Resulting Numbers: [82, 73, 49] Generated Node #0,1: 86:[82, 73, 49] Operation: 72-23=49 Exploring Operation: 73-23=50, Resulting Numbers: [82, 72, 50] Generated Node #0,2: 86:[82, 72, 50] Operation: 73-23=50 Moving to Node #0,1 Current State: 86:[82, 73, 49], Operations: ['72-23=49'] Exploring Operation: 82-49=33, Resulting Numbers: [73, 33] Generated Node #0,1,0: 86:[73, 33] Operation: 82-49=33 Exploring Operation: 73-49=24, Resulting Numbers: [82, 24] Generated Node #0,1,1: 86:[82, 24] Operation: 73-49=24 Exploring Operation: 82-73=9, Resulting Numbers: [49, 9] Generated Node #0,1,2: 86:[49, 9] Operation: 82-73=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[49, 9], Operations: ['72-23=49', '82-73=9'] Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,86 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[73, 33], Operations: ['72-23=49', '82-49=33'] Exploring Operation: 73+33=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 73*33=2409, Resulting Numbers: [2409] 2409,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[82, 24], Operations: ['72-23=49', '73-49=24'] Exploring Operation: 82*24=1968, Resulting Numbers: [1968] 1968,86 unequal: No Solution Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,86 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: 86:[23, 82, 1], Operations: ['73-72=1'] Exploring Operation: 23+82=105, Resulting Numbers: [1, 105] Generated Node #0,0,0: 86:[1, 105] Operation: 23+82=105 Exploring Operation: 82-23=59, Resulting Numbers: [1, 59] Generated Node #0,0,1: 86:[1, 59] Operation: 82-23=59 Exploring Operation: 23+1=24, Resulting Numbers: [82, 24] Generated Node #0,0,2: 86:[82, 24] Operation: 23+1=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[1, 59], Operations: ['73-72=1', '82-23=59'] Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,86 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[1, 105], Operations: ['73-72=1', '23+82=105'] Exploring Operation: 1*105=105, Resulting Numbers: [105] 105,86 unequal: No Solution Exploring Operation: 105-1=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 105/1=105, Resulting Numbers: [105] 105,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[82, 24], Operations: ['73-72=1', '23+1=24'] Exploring Operation: 82*24=1968, Resulting Numbers: [1968] 1968,86 unequal: No Solution Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,86 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: 86:[82, 72, 50], Operations: ['73-23=50'] Exploring Operation: 72-50=22, Resulting Numbers: [82, 22] Generated Node #0,2,0: 86:[82, 22] Operation: 72-50=22 Exploring Operation: 82-72=10, Resulting Numbers: [50, 10] Generated Node #0,2,1: 86:[50, 10] Operation: 82-72=10 Exploring Operation: 82-50=32, Resulting Numbers: [72, 32] Generated Node #0,2,2: 86:[72, 32] Operation: 82-50=32 Moving to Node #0,2,1 Current State: 86:[50, 10], Operations: ['73-23=50', '82-72=10'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[82, 22], Operations: ['73-23=50', '72-50=22'] Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,86 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[72, 32], Operations: ['73-23=50', '82-50=32'] Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,86 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 2, 23, 55, 56 ]
11
[ "56/2=28", "28-23=5", "55/5=11" ]
Current State: 11:[2, 23, 55, 56], Operations: [] Exploring Operation: 56/2=28, Resulting Numbers: [23, 55, 28] Generated Node #2: [23, 55, 28] from Operation: 56/2=28 Current State: 11:[23, 55, 28], Operations: ['56/2=28'] Exploring Operation: 28-23=5, Resulting Numbers: [55, 5] Generated Node #3: [55, 5] from Operation: 28-23=5 Current State: 11:[55, 5], Operations: ['56/2=28', '28-23=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 23, 55, 56], Operations: [] Exploring Operation: 56-55=1, Resulting Numbers: [2, 23, 1] Generated Node #0,0: 11:[2, 23, 1] Operation: 56-55=1 Exploring Operation: 56/2=28, Resulting Numbers: [23, 55, 28] Generated Node #0,1: 11:[23, 55, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[2, 23, 1], Operations: ['56-55=1'] Exploring Operation: 2+1=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 11:[23, 3] Operation: 2+1=3 Exploring Operation: 23-2=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 11:[1, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[23, 3], Operations: ['56-55=1', '2+1=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[1, 21], Operations: ['56-55=1', '23-2=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[23, 55, 28], Operations: ['56/2=28'] Exploring Operation: 55-23=32, Resulting Numbers: [28, 32] Generated Node #0,1,0: 11:[28, 32] Operation: 55-23=32 Exploring Operation: 55-28=27, Resulting Numbers: [23, 27] Generated Node #0,1,1: 11:[23, 27] Operation: 55-28=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[23, 27], Operations: ['56/2=28', '55-28=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[28, 32], Operations: ['56/2=28', '55-23=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,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_2
sum_heuristic
[ 37, 11, 26, 42 ]
79
[ "37-26=11", "11*11=121", "121-42=79" ]
Current State: 79:[37, 11, 26, 42], Operations: [] Exploring Operation: 37-26=11, Resulting Numbers: [11, 42, 11] Generated Node #2: [11, 42, 11] from Operation: 37-26=11 Current State: 79:[11, 42, 11], Operations: ['37-26=11'] Exploring Operation: 11*11=121, Resulting Numbers: [42, 121] Generated Node #3: [42, 121] from Operation: 11*11=121 Current State: 79:[42, 121], Operations: ['37-26=11', '11*11=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[37, 11, 26, 42], Operations: [] Exploring Operation: 37+42=79, Resulting Numbers: [11, 26, 79] Generated Node #0,0: 79:[11, 26, 79] Operation: 37+42=79 Exploring Operation: 37+26=63, Resulting Numbers: [11, 42, 63] Generated Node #0,1: 79:[11, 42, 63] Operation: 37+26=63 Exploring Operation: 11+42=53, Resulting Numbers: [37, 26, 53] Generated Node #0,2: 79:[37, 26, 53] Operation: 11+42=53 Exploring Operation: 11+26=37, Resulting Numbers: [37, 42, 37] Generated Node #0,3: 79:[37, 42, 37] Operation: 11+26=37 Exploring Operation: 37+11=48, Resulting Numbers: [26, 42, 48] Generated Node #0,4: 79:[26, 42, 48] Operation: 37+11=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[11, 26, 79], Operations: ['37+42=79'] Exploring Operation: 26+79=105, Resulting Numbers: [11, 105] Generated Node #0,0,0: 79:[11, 105] Operation: 26+79=105 Exploring Operation: 11+79=90, Resulting Numbers: [26, 90] Generated Node #0,0,1: 79:[26, 90] Operation: 11+79=90 Exploring Operation: 79-11=68, Resulting Numbers: [26, 68] Generated Node #0,0,2: 79:[26, 68] Operation: 79-11=68 Exploring Operation: 26-11=15, Resulting Numbers: [79, 15] Generated Node #0,0,3: 79:[79, 15] Operation: 26-11=15 Exploring Operation: 11+26=37, Resulting Numbers: [79, 37] Generated Node #0,0,4: 79:[79, 37] Operation: 11+26=37 Moving to Node #0,0,4 Current State: 79:[79, 37], Operations: ['37+42=79', '11+26=37'] Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[26, 68], Operations: ['37+42=79', '79-11=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,79 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[26, 90], Operations: ['37+42=79', '11+79=90'] Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,79 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[79, 15], Operations: ['37+42=79', '26-11=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,0,0 Current State: 79:[11, 105], Operations: ['37+42=79', '26+79=105'] Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,79 unequal: No Solution Exploring Operation: 11*105=1155, Resulting Numbers: [1155] 1155,79 unequal: No Solution Exploring Operation: 11+105=116, Resulting Numbers: [116] 116,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 Current State: 79:[11, 42, 63], Operations: ['37+26=63'] Exploring Operation: 11+63=74, Resulting Numbers: [42, 74] Generated Node #0,1,0: 79:[42, 74] Operation: 11+63=74 Exploring Operation: 42+63=105, Resulting Numbers: [11, 105] Generated Node #0,1,1: 79:[11, 105] Operation: 42+63=105 Exploring Operation: 11+42=53, Resulting Numbers: [63, 53] Generated Node #0,1,2: 79:[63, 53] Operation: 11+42=53 Exploring Operation: 63-11=52, Resulting Numbers: [42, 52] Generated Node #0,1,3: 79:[42, 52] Operation: 63-11=52 Exploring Operation: 42-11=31, Resulting Numbers: [63, 31] Generated Node #0,1,4: 79:[63, 31] Operation: 42-11=31 Moving to Node #0,1,0 Current State: 79:[42, 74], Operations: ['37+26=63', '11+63=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,79 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[63, 53], Operations: ['37+26=63', '11+42=53'] Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[42, 52], Operations: ['37+26=63', '63-11=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,79 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,79 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[63, 31], Operations: ['37+26=63', '42-11=31'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,79 unequal: No Solution Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[11, 105], Operations: ['37+26=63', '42+63=105'] Exploring Operation: 11+105=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 11*105=1155, Resulting Numbers: [1155] 1155,79 unequal: No Solution Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,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 Current State: 79:[37, 26, 53], Operations: ['11+42=53'] Exploring Operation: 37-26=11, Resulting Numbers: [53, 11] Generated Node #0,2,0: 79:[53, 11] Operation: 37-26=11 Exploring Operation: 37+26=63, Resulting Numbers: [53, 63] Generated Node #0,2,1: 79:[53, 63] Operation: 37+26=63 Exploring Operation: 37+53=90, Resulting Numbers: [26, 90] Generated Node #0,2,2: 79:[26, 90] Operation: 37+53=90 Exploring Operation: 53-26=27, Resulting Numbers: [37, 27] Generated Node #0,2,3: 79:[37, 27] Operation: 53-26=27 Exploring Operation: 26+53=79, Resulting Numbers: [37, 79] Generated Node #0,2,4: 79:[37, 79] Operation: 26+53=79 Moving to Node #0,2,1 Current State: 79:[53, 63], Operations: ['11+42=53', '37+26=63'] Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[37, 79], Operations: ['11+42=53', '26+53=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,79 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[26, 90], Operations: ['11+42=53', '37+53=90'] Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,79 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[53, 11], Operations: ['11+42=53', '37-26=11'] Exploring Operation: 53*11=583, Resulting Numbers: [583] 583,79 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[37, 27], Operations: ['11+42=53', '53-26=27'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 37+27=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 37*27=999, Resulting Numbers: [999] 999,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:[37, 42, 37], Operations: ['11+26=37'] Exploring Operation: 42+37=79, Resulting Numbers: [37, 79] Generated Node #0,3,0: 79:[37, 79] Operation: 42+37=79 Exploring Operation: 37+37=74, Resulting Numbers: [42, 74] Generated Node #0,3,1: 79:[42, 74] Operation: 37+37=74 Exploring Operation: 42-37=5, Resulting Numbers: [37, 5] Generated Node #0,3,2: 79:[37, 5] Operation: 42-37=5 Exploring Operation: 37+42=79, Resulting Numbers: [37, 79] Generated Node #0,3,3: 79:[37, 79] Operation: 37+42=79 Exploring Operation: 37/37=1, Resulting Numbers: [42, 1] Generated Node #0,3,4: 79:[42, 1] Operation: 37/37=1 Moving to Node #0,3,0 Current State: 79:[37, 79], Operations: ['11+26=37', '42+37=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,79 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[37, 79], Operations: ['11+26=37', '37+42=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,79 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[42, 74], Operations: ['11+26=37', '37+37=74'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,79 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[42, 1], Operations: ['11+26=37', '37/37=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[37, 5], Operations: ['11+26=37', '42-37=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,79 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,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 Current State: 79:[26, 42, 48], Operations: ['37+11=48'] Exploring Operation: 42-26=16, Resulting Numbers: [48, 16] Generated Node #0,4,0: 79:[48, 16] Operation: 42-26=16 Exploring Operation: 48-26=22, Resulting Numbers: [42, 22] Generated Node #0,4,1: 79:[42, 22] Operation: 48-26=22 Exploring Operation: 42+48=90, Resulting Numbers: [26, 90] Generated Node #0,4,2: 79:[26, 90] Operation: 42+48=90 Exploring Operation: 26+42=68, Resulting Numbers: [48, 68] Generated Node #0,4,3: 79:[48, 68] Operation: 26+42=68 Exploring Operation: 26+48=74, Resulting Numbers: [42, 74] Generated Node #0,4,4: 79:[42, 74] Operation: 26+48=74 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 79:[48, 68], Operations: ['37+11=48', '26+42=68'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,79 unequal: No Solution Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,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:[42, 74], Operations: ['37+11=48', '26+48=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,79 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,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:[26, 90], Operations: ['37+11=48', '42+48=90'] Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,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:[48, 16], Operations: ['37+11=48', '42-26=16'] Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,79 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,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,1 Current State: 79:[42, 22], Operations: ['37+11=48', '48-26=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,79 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,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
[ 24, 55, 63, 49 ]
59
[ "55-49=6", "24/6=4", "63-4=59" ]
Current State: 59:[24, 55, 63, 49], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [24, 63, 6] Generated Node #2: [24, 63, 6] from Operation: 55-49=6 Current State: 59:[24, 63, 6], Operations: ['55-49=6'] Exploring Operation: 24/6=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 24/6=4 Current State: 59:[63, 4], Operations: ['55-49=6', '24/6=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[24, 55, 63, 49], Operations: [] Exploring Operation: 24+49=73, Resulting Numbers: [55, 63, 73] Generated Node #0,0: 59:[55, 63, 73] Operation: 24+49=73 Moving to Node #0,0 Current State: 59:[55, 63, 73], Operations: ['24+49=73'] Exploring Operation: 73-55=18, Resulting Numbers: [63, 18] Generated Node #0,0,0: 59:[63, 18] Operation: 73-55=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[63, 18], Operations: ['24+49=73', '73-55=18'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 26, 96, 1 ]
64
[ "59-26=33", "96+1=97", "97-33=64" ]
Current State: 64:[59, 26, 96, 1], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [96, 1, 33] Generated Node #2: [96, 1, 33] from Operation: 59-26=33 Current State: 64:[96, 1, 33], Operations: ['59-26=33'] Exploring Operation: 96+1=97, Resulting Numbers: [33, 97] Generated Node #3: [33, 97] from Operation: 96+1=97 Current State: 64:[33, 97], Operations: ['59-26=33', '96+1=97'] Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[59, 26, 96, 1], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [96, 1, 33] Generated Node #0,0: 64:[96, 1, 33] Operation: 59-26=33 Exploring Operation: 96-59=37, Resulting Numbers: [26, 1, 37] Generated Node #0,1: 64:[26, 1, 37] Operation: 96-59=37 Exploring Operation: 96-26=70, Resulting Numbers: [59, 1, 70] Generated Node #0,2: 64:[59, 1, 70] Operation: 96-26=70 Exploring Operation: 59+1=60, Resulting Numbers: [26, 96, 60] Generated Node #0,3: 64:[26, 96, 60] Operation: 59+1=60 Exploring Operation: 26+1=27, Resulting Numbers: [59, 96, 27] Generated Node #0,4: 64:[59, 96, 27] Operation: 26+1=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[26, 1, 37], Operations: ['96-59=37'] Exploring Operation: 37-1=36, Resulting Numbers: [26, 36] Generated Node #0,1,0: 64:[26, 36] Operation: 37-1=36 Exploring Operation: 26+37=63, Resulting Numbers: [1, 63] Generated Node #0,1,1: 64:[1, 63] Operation: 26+37=63 Exploring Operation: 26*1=26, Resulting Numbers: [37, 26] Generated Node #0,1,2: 64:[37, 26] Operation: 26*1=26 Exploring Operation: 26+1=27, Resulting Numbers: [37, 27] Generated Node #0,1,3: 64:[37, 27] Operation: 26+1=27 Exploring Operation: 37-26=11, Resulting Numbers: [1, 11] Generated Node #0,1,4: 64:[1, 11] Operation: 37-26=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[1, 63], Operations: ['96-59=37', '26+37=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[59, 26, 96, 1], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [26, 1, 37] Generated Node #0,1: 64:[26, 1, 37] Operation: 96-59=37 Moving to Node #0,1 Current State: 64:[26, 1, 37], Operations: ['96-59=37'] Exploring Operation: 26+37=63, Resulting Numbers: [1, 63] Generated Node #0,1,1: 64:[1, 63] Operation: 26+37=63 Moving to Node #0,1,1 Current State: 64:[1, 63], Operations: ['96-59=37', '26+37=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 18, 36, 37, 59 ]
20
[ "36/18=2", "59-37=22", "22-2=20" ]
Current State: 20:[18, 36, 37, 59], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [37, 59, 2] Generated Node #2: [37, 59, 2] from Operation: 36/18=2 Current State: 20:[37, 59, 2], Operations: ['36/18=2'] Exploring Operation: 59-37=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 59-37=22 Current State: 20:[2, 22], Operations: ['36/18=2', '59-37=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 36, 37, 59], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [18, 59, 1] Generated Node #0,0: 20:[18, 59, 1] Operation: 37-36=1 Exploring Operation: 59-18=41, Resulting Numbers: [36, 37, 41] Generated Node #0,1: 20:[36, 37, 41] Operation: 59-18=41 Exploring Operation: 59-36=23, Resulting Numbers: [18, 37, 23] Generated Node #0,2: 20:[18, 37, 23] Operation: 59-36=23 Exploring Operation: 36/18=2, Resulting Numbers: [37, 59, 2] Generated Node #0,3: 20:[37, 59, 2] Operation: 36/18=2 Exploring Operation: 59-37=22, Resulting Numbers: [18, 36, 22] Generated Node #0,4: 20:[18, 36, 22] Operation: 59-37=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[18, 36, 22], Operations: ['59-37=22'] Exploring Operation: 36/18=2, Resulting Numbers: [22, 2] Generated Node #0,4,0: 20:[22, 2] Operation: 36/18=2 Exploring Operation: 36-22=14, Resulting Numbers: [18, 14] Generated Node #0,4,1: 20:[18, 14] Operation: 36-22=14 Exploring Operation: 36-18=18, Resulting Numbers: [22, 18] Generated Node #0,4,2: 20:[22, 18] Operation: 36-18=18 Exploring Operation: 22-18=4, Resulting Numbers: [36, 4] Generated Node #0,4,3: 20:[36, 4] Operation: 22-18=4 Exploring Operation: 18+36=54, Resulting Numbers: [22, 54] Generated Node #0,4,4: 20:[22, 54] Operation: 18+36=54 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[22, 2], Operations: ['59-37=22', '36/18=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[18, 36, 37, 59], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [18, 36, 22] Generated Node #0,4: 20:[18, 36, 22] Operation: 59-37=22 Moving to Node #0,4 Current State: 20:[18, 36, 22], Operations: ['59-37=22'] Exploring Operation: 36/18=2, Resulting Numbers: [22, 2] Generated Node #0,4,0: 20:[22, 2] Operation: 36/18=2 Moving to Node #0,4,0 Current State: 20:[22, 2], Operations: ['59-37=22', '36/18=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 87, 7, 52, 91 ]
63
[ "87-7=80", "52+91=143", "143-80=63" ]
Current State: 63:[87, 7, 52, 91], Operations: [] Exploring Operation: 87-7=80, Resulting Numbers: [52, 91, 80] Generated Node #2: [52, 91, 80] from Operation: 87-7=80 Current State: 63:[52, 91, 80], Operations: ['87-7=80'] Exploring Operation: 52+91=143, Resulting Numbers: [80, 143] Generated Node #3: [80, 143] from Operation: 52+91=143 Current State: 63:[80, 143], Operations: ['87-7=80', '52+91=143'] Exploring Operation: 143-80=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[87, 7, 52, 91], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [87, 7, 39] Generated Node #0,0: 63:[87, 7, 39] Operation: 91-52=39 Exploring Operation: 91-87=4, Resulting Numbers: [7, 52, 4] Generated Node #0,1: 63:[7, 52, 4] Operation: 91-87=4 Exploring Operation: 91/7=13, Resulting Numbers: [87, 52, 13] Generated Node #0,2: 63:[87, 52, 13] Operation: 91/7=13 Exploring Operation: 87-52=35, Resulting Numbers: [7, 91, 35] Generated Node #0,3: 63:[7, 91, 35] Operation: 87-52=35 Moving to Node #0,1 Current State: 63:[7, 52, 4], Operations: ['91-87=4'] Exploring Operation: 52+4=56, Resulting Numbers: [7, 56] Generated Node #0,1,0: 63:[7, 56] Operation: 52+4=56 Exploring Operation: 7+52=59, Resulting Numbers: [4, 59] Generated Node #0,1,1: 63:[4, 59] Operation: 7+52=59 Exploring Operation: 52/4=13, Resulting Numbers: [7, 13] Generated Node #0,1,2: 63:[7, 13] Operation: 52/4=13 Exploring Operation: 7-4=3, Resulting Numbers: [52, 3] Generated Node #0,1,3: 63:[52, 3] Operation: 7-4=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[7, 13], Operations: ['91-87=4', '52/4=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,63 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[4, 59], Operations: ['91-87=4', '7+52=59'] Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,63 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[87, 7, 52, 91], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [7, 52, 4] Generated Node #0,1: 63:[7, 52, 4] Operation: 91-87=4 Moving to Node #0,1 Current State: 63:[7, 52, 4], Operations: ['91-87=4'] Exploring Operation: 7+52=59, Resulting Numbers: [4, 59] Generated Node #0,1,1: 63:[4, 59] Operation: 7+52=59 Moving to Node #0,1,1 Current State: 63:[4, 59], Operations: ['91-87=4', '7+52=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 65, 54, 39, 45 ]
74
[ "45-39=6", "54/6=9", "65+9=74" ]
Current State: 74:[65, 54, 39, 45], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [65, 54, 6] Generated Node #2: [65, 54, 6] from Operation: 45-39=6 Current State: 74:[65, 54, 6], Operations: ['45-39=6'] Exploring Operation: 54/6=9, Resulting Numbers: [65, 9] Generated Node #3: [65, 9] from Operation: 54/6=9 Current State: 74:[65, 9], Operations: ['45-39=6', '54/6=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[65, 54, 39, 45], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [39, 45, 11] Generated Node #0,0: 74:[39, 45, 11] Operation: 65-54=11 Exploring Operation: 54-45=9, Resulting Numbers: [65, 39, 9] Generated Node #0,1: 74:[65, 39, 9] Operation: 54-45=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[65, 39, 9], Operations: ['54-45=9'] Exploring Operation: 39-9=30, Resulting Numbers: [65, 30] Generated Node #0,1,0: 74:[65, 30] Operation: 39-9=30 Exploring Operation: 65+9=74, Resulting Numbers: [39, 74] Generated Node #0,1,1: 74:[39, 74] Operation: 65+9=74 Moving to Node #0,1,1 Current State: 74:[39, 74], Operations: ['54-45=9', '65+9=74'] Exploring Operation: 39+74=113, Resulting Numbers: [113] 113,74 unequal: No Solution Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[65, 30], Operations: ['54-45=9', '39-9=30'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[39, 45, 11], Operations: ['65-54=11'] Exploring Operation: 45-11=34, Resulting Numbers: [39, 34] Generated Node #0,0,0: 74:[39, 34] Operation: 45-11=34 Exploring Operation: 45-39=6, Resulting Numbers: [11, 6] Generated Node #0,0,1: 74:[11, 6] Operation: 45-39=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[39, 34], Operations: ['65-54=11', '45-11=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[11, 6], Operations: ['65-54=11', '45-39=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,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_2
sum_heuristic
[ 16, 53, 36, 83 ]
10
[ "53-16=37", "83-36=47", "47-37=10" ]
Current State: 10:[16, 53, 36, 83], Operations: [] Exploring Operation: 53-16=37, Resulting Numbers: [36, 83, 37] Generated Node #2: [36, 83, 37] from Operation: 53-16=37 Current State: 10:[36, 83, 37], Operations: ['53-16=37'] Exploring Operation: 83-36=47, Resulting Numbers: [37, 47] Generated Node #3: [37, 47] from Operation: 83-36=47 Current State: 10:[37, 47], Operations: ['53-16=37', '83-36=47'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[16, 53, 36, 83], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [16, 83, 17] Generated Node #0,0: 10:[16, 83, 17] Operation: 53-36=17 Exploring Operation: 53-16=37, Resulting Numbers: [36, 83, 37] Generated Node #0,1: 10:[36, 83, 37] Operation: 53-16=37 Exploring Operation: 83-53=30, Resulting Numbers: [16, 36, 30] Generated Node #0,2: 10:[16, 36, 30] Operation: 83-53=30 Exploring Operation: 83-36=47, Resulting Numbers: [16, 53, 47] Generated Node #0,3: 10:[16, 53, 47] Operation: 83-36=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[16, 36, 30], Operations: ['83-53=30'] Exploring Operation: 36-16=20, Resulting Numbers: [30, 20] Generated Node #0,2,0: 10:[30, 20] Operation: 36-16=20 Exploring Operation: 16+36=52, Resulting Numbers: [30, 52] Generated Node #0,2,1: 10:[30, 52] Operation: 16+36=52 Exploring Operation: 30-16=14, Resulting Numbers: [36, 14] Generated Node #0,2,2: 10:[36, 14] Operation: 30-16=14 Exploring Operation: 36-30=6, Resulting Numbers: [16, 6] Generated Node #0,2,3: 10:[16, 6] Operation: 36-30=6 Moving to Node #0,2,3 Current State: 10:[16, 6], Operations: ['83-53=30', '36-30=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[16, 53, 36, 83], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [16, 36, 30] Generated Node #0,2: 10:[16, 36, 30] Operation: 83-53=30 Moving to Node #0,2 Current State: 10:[16, 36, 30], Operations: ['83-53=30'] Exploring Operation: 36-30=6, Resulting Numbers: [16, 6] Generated Node #0,2,3: 10:[16, 6] Operation: 36-30=6 Moving to Node #0,2,3 Current State: 10:[16, 6], Operations: ['83-53=30', '36-30=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 32, 84, 74, 36 ]
58
[ "84-32=52", "74+36=110", "110-52=58" ]
Current State: 58:[32, 84, 74, 36], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [74, 36, 52] Generated Node #2: [74, 36, 52] from Operation: 84-32=52 Current State: 58:[74, 36, 52], Operations: ['84-32=52'] Exploring Operation: 74+36=110, Resulting Numbers: [52, 110] Generated Node #3: [52, 110] from Operation: 74+36=110 Current State: 58:[52, 110], Operations: ['84-32=52', '74+36=110'] Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[32, 84, 74, 36], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [32, 36, 10] Generated Node #0,0: 58:[32, 36, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[32, 36, 10], Operations: ['84-74=10'] Exploring Operation: 36-10=26, Resulting Numbers: [32, 26] Generated Node #0,0,0: 58:[32, 26] Operation: 36-10=26 Moving to Node #0,0,0 Current State: 58:[32, 26], Operations: ['84-74=10', '36-10=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[32, 84, 74, 36], Operations: [] Exploring Operation: 84-74=10, Resulting Numbers: [32, 36, 10] Generated Node #0,0: 58:[32, 36, 10] Operation: 84-74=10 Moving to Node #0,0 Current State: 58:[32, 36, 10], Operations: ['84-74=10'] Exploring Operation: 36-10=26, Resulting Numbers: [32, 26] Generated Node #0,0,0: 58:[32, 26] Operation: 36-10=26 Moving to Node #0,0,0 Current State: 58:[32, 26], Operations: ['84-74=10', '36-10=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 4, 7, 13, 78 ]
19
[ "4*13=52", "78-7=71", "71-52=19" ]
Current State: 19:[4, 7, 13, 78], Operations: [] Exploring Operation: 4*13=52, Resulting Numbers: [7, 78, 52] Generated Node #2: [7, 78, 52] from Operation: 4*13=52 Current State: 19:[7, 78, 52], Operations: ['4*13=52'] Exploring Operation: 78-7=71, Resulting Numbers: [52, 71] Generated Node #3: [52, 71] from Operation: 78-7=71 Current State: 19:[52, 71], Operations: ['4*13=52', '78-7=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[4, 7, 13, 78], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [4, 7, 6] Generated Node #0,0: 19:[4, 7, 6] Operation: 78/13=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[4, 7, 6], Operations: ['78/13=6'] Exploring Operation: 4*6=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 19:[7, 24] Operation: 4*6=24 Moving to Node #0,0,0 Current State: 19:[7, 24], Operations: ['78/13=6', '4*6=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,19 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
[ 18, 58, 74, 55 ]
57
[ "18+58=76", "74-55=19", "76-19=57" ]
Current State: 57:[18, 58, 74, 55], Operations: [] Exploring Operation: 18+58=76, Resulting Numbers: [74, 55, 76] Generated Node #2: [74, 55, 76] from Operation: 18+58=76 Current State: 57:[74, 55, 76], Operations: ['18+58=76'] Exploring Operation: 74-55=19, Resulting Numbers: [76, 19] Generated Node #3: [76, 19] from Operation: 74-55=19 Current State: 57:[76, 19], Operations: ['18+58=76', '74-55=19'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[18, 58, 74, 55], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 58, 19] Generated Node #0,0: 57:[18, 58, 19] Operation: 74-55=19 Exploring Operation: 74-18=56, Resulting Numbers: [58, 55, 56] Generated Node #0,1: 57:[58, 55, 56] Operation: 74-18=56 Exploring Operation: 74-58=16, Resulting Numbers: [18, 55, 16] Generated Node #0,2: 57:[18, 55, 16] Operation: 74-58=16 Moving to Node #0,0 Current State: 57:[18, 58, 19], Operations: ['74-55=19'] Exploring Operation: 18+58=76, Resulting Numbers: [19, 76] Generated Node #0,0,0: 57:[19, 76] Operation: 18+58=76 Exploring Operation: 58-18=40, Resulting Numbers: [19, 40] Generated Node #0,0,1: 57:[19, 40] Operation: 58-18=40 Exploring Operation: 19-18=1, Resulting Numbers: [58, 1] Generated Node #0,0,2: 57:[58, 1] Operation: 19-18=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[58, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[18, 58, 74, 55], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 58, 19] Generated Node #0,0: 57:[18, 58, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 57:[18, 58, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [58, 1] Generated Node #0,0,2: 57:[58, 1] Operation: 19-18=1 Moving to Node #0,0,2 Current State: 57:[58, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 18, 16, 28, 7 ]
38
[ "18+16=34", "28/7=4", "34+4=38" ]
Current State: 38:[18, 16, 28, 7], Operations: [] Exploring Operation: 18+16=34, Resulting Numbers: [28, 7, 34] Generated Node #2: [28, 7, 34] from Operation: 18+16=34 Current State: 38:[28, 7, 34], Operations: ['18+16=34'] Exploring Operation: 28/7=4, Resulting Numbers: [34, 4] Generated Node #3: [34, 4] from Operation: 28/7=4 Current State: 38:[34, 4], Operations: ['18+16=34', '28/7=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[18, 16, 28, 7], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [18, 16, 4] Generated Node #0,0: 38:[18, 16, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [18, 16, 21] Generated Node #0,1: 38:[18, 16, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[18, 16, 4], Operations: ['28/7=4'] Exploring Operation: 16+4=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 38:[18, 20] Operation: 16+4=20 Exploring Operation: 18-16=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 38:[4, 2] Operation: 18-16=2 Moving to Node #0,0,0 Current State: 38:[18, 20], Operations: ['28/7=4', '16+4=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[18, 16, 28, 7], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [18, 16, 4] Generated Node #0,0: 38:[18, 16, 4] Operation: 28/7=4 Moving to Node #0,0 Current State: 38:[18, 16, 4], Operations: ['28/7=4'] Exploring Operation: 16+4=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 38:[18, 20] Operation: 16+4=20 Moving to Node #0,0,0 Current State: 38:[18, 20], Operations: ['28/7=4', '16+4=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 42, 85, 21, 42 ]
89
[ "42+42=84", "84/21=4", "85+4=89" ]
Current State: 89:[42, 85, 21, 42], Operations: [] Exploring Operation: 42+42=84, Resulting Numbers: [85, 21, 84] Generated Node #2: [85, 21, 84] from Operation: 42+42=84 Current State: 89:[85, 21, 84], Operations: ['42+42=84'] Exploring Operation: 84/21=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 84/21=4 Current State: 89:[85, 4], Operations: ['42+42=84', '84/21=4'] Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[42, 85, 21, 42], Operations: [] Exploring Operation: 42+21=63, Resulting Numbers: [85, 42, 63] Generated Node #0,0: 89:[85, 42, 63] Operation: 42+21=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[85, 42, 63], Operations: ['42+21=63'] Exploring Operation: 42+63=105, Resulting Numbers: [85, 105] Generated Node #0,0,0: 89:[85, 105] Operation: 42+63=105 Moving to Node #0,0,0 Current State: 89:[85, 105], Operations: ['42+21=63', '42+63=105'] Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,89 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
[ 84, 67, 47, 87 ]
23
[ "84-67=17", "87-47=40", "40-17=23" ]
Current State: 23:[84, 67, 47, 87], Operations: [] Exploring Operation: 84-67=17, Resulting Numbers: [47, 87, 17] Generated Node #2: [47, 87, 17] from Operation: 84-67=17 Current State: 23:[47, 87, 17], Operations: ['84-67=17'] Exploring Operation: 87-47=40, Resulting Numbers: [17, 40] Generated Node #3: [17, 40] from Operation: 87-47=40 Current State: 23:[17, 40], Operations: ['84-67=17', '87-47=40'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[84, 67, 47, 87], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [84, 47, 20] Generated Node #0,0: 23:[84, 47, 20] Operation: 87-67=20 Exploring Operation: 87-84=3, Resulting Numbers: [67, 47, 3] Generated Node #0,1: 23:[67, 47, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[84, 47, 20], Operations: ['87-67=20'] Exploring Operation: 84-20=64, Resulting Numbers: [47, 64] Generated Node #0,0,0: 23:[47, 64] Operation: 84-20=64 Exploring Operation: 84-47=37, Resulting Numbers: [20, 37] Generated Node #0,0,1: 23:[20, 37] Operation: 84-47=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[20, 37], Operations: ['87-67=20', '84-47=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,23 unequal: No Solution No 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: 23:[47, 64], Operations: ['87-67=20', '84-20=64'] Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,23 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,23 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: 23:[67, 47, 3], Operations: ['87-84=3'] Exploring Operation: 67-47=20, Resulting Numbers: [3, 20] Generated Node #0,1,0: 23:[3, 20] Operation: 67-47=20 Exploring Operation: 67-3=64, Resulting Numbers: [47, 64] Generated Node #0,1,1: 23:[47, 64] Operation: 67-3=64 Moving to Node #0,1,0 Current State: 23:[3, 20], Operations: ['87-84=3', '67-47=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[84, 67, 47, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [67, 47, 3] Generated Node #0,1: 23:[67, 47, 3] Operation: 87-84=3 Moving to Node #0,1 Current State: 23:[67, 47, 3], Operations: ['87-84=3'] Exploring Operation: 67-47=20, Resulting Numbers: [3, 20] Generated Node #0,1,0: 23:[3, 20] Operation: 67-47=20 Moving to Node #0,1,0 Current State: 23:[3, 20], Operations: ['87-84=3', '67-47=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 86, 62, 30, 55 ]
49
[ "86-62=24", "55-30=25", "24+25=49" ]
Current State: 49:[86, 62, 30, 55], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [30, 55, 24] Generated Node #2: [30, 55, 24] from Operation: 86-62=24 Current State: 49:[30, 55, 24], Operations: ['86-62=24'] Exploring Operation: 55-30=25, Resulting Numbers: [24, 25] Generated Node #3: [24, 25] from Operation: 55-30=25 Current State: 49:[24, 25], Operations: ['86-62=24', '55-30=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[86, 62, 30, 55], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [62, 55, 56] Generated Node #0,0: 49:[62, 55, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[62, 55, 56], Operations: ['86-30=56'] Exploring Operation: 62-55=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 49:[56, 7] Operation: 62-55=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[56, 7], Operations: ['86-30=56', '62-55=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[86, 62, 30, 55], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [62, 55, 56] Generated Node #0,0: 49:[62, 55, 56] Operation: 86-30=56 Moving to Node #0,0 Current State: 49:[62, 55, 56], Operations: ['86-30=56'] Exploring Operation: 62-55=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 49:[56, 7] Operation: 62-55=7 Moving to Node #0,0,0 Current State: 49:[56, 7], Operations: ['86-30=56', '62-55=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 81, 97, 57, 24 ]
97
[ "81+97=178", "57+24=81", "178-81=97" ]
Current State: 97:[81, 97, 57, 24], Operations: [] Exploring Operation: 81+97=178, Resulting Numbers: [57, 24, 178] Generated Node #2: [57, 24, 178] from Operation: 81+97=178 Current State: 97:[57, 24, 178], Operations: ['81+97=178'] Exploring Operation: 57+24=81, Resulting Numbers: [178, 81] Generated Node #3: [178, 81] from Operation: 57+24=81 Current State: 97:[178, 81], Operations: ['81+97=178', '57+24=81'] Exploring Operation: 178-81=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[81, 97, 57, 24], Operations: [] Exploring Operation: 57+24=81, Resulting Numbers: [81, 97, 81] Generated Node #0,0: 97:[81, 97, 81] Operation: 57+24=81 Moving to Node #0,0 Current State: 97:[81, 97, 81], Operations: ['57+24=81'] Exploring Operation: 81+81=162, Resulting Numbers: [97, 162] Generated Node #0,0,0: 97:[97, 162] Operation: 81+81=162 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[97, 162], Operations: ['57+24=81', '81+81=162'] Exploring Operation: 162-97=65, Resulting Numbers: [65] 65,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 59, 70, 31 ]
15
[ "59-35=24", "70-31=39", "39-24=15" ]
Current State: 15:[35, 59, 70, 31], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [70, 31, 24] Generated Node #2: [70, 31, 24] from Operation: 59-35=24 Current State: 15:[70, 31, 24], Operations: ['59-35=24'] Exploring Operation: 70-31=39, Resulting Numbers: [24, 39] Generated Node #3: [24, 39] from Operation: 70-31=39 Current State: 15:[24, 39], Operations: ['59-35=24', '70-31=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[35, 59, 70, 31], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [35, 31, 11] Generated Node #0,0: 15:[35, 31, 11] Operation: 70-59=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[35, 31, 11], Operations: ['70-59=11'] Exploring Operation: 35-31=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 15:[11, 4] Operation: 35-31=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[11, 4], Operations: ['70-59=11', '35-31=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[35, 59, 70, 31], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [35, 31, 11] Generated Node #0,0: 15:[35, 31, 11] Operation: 70-59=11 Moving to Node #0,0 Current State: 15:[35, 31, 11], Operations: ['70-59=11'] Exploring Operation: 35-31=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 15:[11, 4] Operation: 35-31=4 Moving to Node #0,0,0 Current State: 15:[11, 4], Operations: ['70-59=11', '35-31=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 40, 31, 16, 18 ]
18
[ "40-31=9", "18-16=2", "9*2=18" ]
Current State: 18:[40, 31, 16, 18], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [16, 18, 9] Generated Node #2: [16, 18, 9] from Operation: 40-31=9 Current State: 18:[16, 18, 9], Operations: ['40-31=9'] Exploring Operation: 18-16=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 18-16=2 Current State: 18:[9, 2], Operations: ['40-31=9', '18-16=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[40, 31, 16, 18], Operations: [] Exploring Operation: 40-16=24, Resulting Numbers: [31, 18, 24] Generated Node #0,0: 18:[31, 18, 24] Operation: 40-16=24 Exploring Operation: 40-31=9, Resulting Numbers: [16, 18, 9] Generated Node #0,1: 18:[16, 18, 9] Operation: 40-31=9 Exploring Operation: 40-18=22, Resulting Numbers: [31, 16, 22] Generated Node #0,2: 18:[31, 16, 22] Operation: 40-18=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[16, 18, 9], Operations: ['40-31=9'] Exploring Operation: 16-9=7, Resulting Numbers: [18, 7] Generated Node #0,1,0: 18:[18, 7] Operation: 16-9=7 Exploring Operation: 18-9=9, Resulting Numbers: [16, 9] Generated Node #0,1,1: 18:[16, 9] Operation: 18-9=9 Exploring Operation: 18-16=2, Resulting Numbers: [9, 2] Generated Node #0,1,2: 18:[9, 2] Operation: 18-16=2 Moving to Node #0,1,2 Current State: 18:[9, 2], Operations: ['40-31=9', '18-16=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[40, 31, 16, 18], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [16, 18, 9] Generated Node #0,1: 18:[16, 18, 9] Operation: 40-31=9 Moving to Node #0,1 Current State: 18:[16, 18, 9], Operations: ['40-31=9'] Exploring Operation: 18-16=2, Resulting Numbers: [9, 2] Generated Node #0,1,2: 18:[9, 2] Operation: 18-16=2 Moving to Node #0,1,2 Current State: 18:[9, 2], Operations: ['40-31=9', '18-16=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 4, 8, 10, 14 ]
16
[ "4+8=12", "14-10=4", "12+4=16" ]
Current State: 16:[4, 8, 10, 14], Operations: [] Exploring Operation: 4+8=12, Resulting Numbers: [10, 14, 12] Generated Node #2: [10, 14, 12] from Operation: 4+8=12 Current State: 16:[10, 14, 12], Operations: ['4+8=12'] Exploring Operation: 14-10=4, Resulting Numbers: [12, 4] Generated Node #3: [12, 4] from Operation: 14-10=4 Current State: 16:[12, 4], Operations: ['4+8=12', '14-10=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 8, 10, 14], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [4, 14, 2] Generated Node #0,0: 16:[4, 14, 2] Operation: 10-8=2 Exploring Operation: 14-10=4, Resulting Numbers: [4, 8, 4] Generated Node #0,1: 16:[4, 8, 4] Operation: 14-10=4 Exploring Operation: 8-4=4, Resulting Numbers: [10, 14, 4] Generated Node #0,2: 16:[10, 14, 4] Operation: 8-4=4 Moving to Node #0,1 Current State: 16:[4, 8, 4], Operations: ['14-10=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8, 8] Generated Node #0,1,0: 16:[8, 8] Operation: 4+4=8 Exploring Operation: 8-4=4, Resulting Numbers: [4, 4] Generated Node #0,1,1: 16:[4, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 16:[4, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[8, 8], Operations: ['14-10=4', '4+4=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[4, 8, 10, 14], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [4, 8, 4] Generated Node #0,1: 16:[4, 8, 4] Operation: 14-10=4 Moving to Node #0,1 Current State: 16:[4, 8, 4], Operations: ['14-10=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8, 8] Generated Node #0,1,0: 16:[8, 8] Operation: 4+4=8 Moving to Node #0,1,0 Current State: 16:[8, 8], Operations: ['14-10=4', '4+4=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 45, 85, 2, 9 ]
29
[ "85-45=40", "2+9=11", "40-11=29" ]
Current State: 29:[45, 85, 2, 9], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [2, 9, 40] Generated Node #2: [2, 9, 40] from Operation: 85-45=40 Current State: 29:[2, 9, 40], Operations: ['85-45=40'] Exploring Operation: 2+9=11, Resulting Numbers: [40, 11] Generated Node #3: [40, 11] from Operation: 2+9=11 Current State: 29:[40, 11], Operations: ['85-45=40', '2+9=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[45, 85, 2, 9], Operations: [] Exploring Operation: 45-2=43, Resulting Numbers: [85, 9, 43] Generated Node #0,0: 29:[85, 9, 43] Operation: 45-2=43 Exploring Operation: 2*9=18, Resulting Numbers: [45, 85, 18] Generated Node #0,1: 29:[45, 85, 18] Operation: 2*9=18 Exploring Operation: 85-45=40, Resulting Numbers: [2, 9, 40] Generated Node #0,2: 29:[2, 9, 40] Operation: 85-45=40 Exploring Operation: 45-9=36, Resulting Numbers: [85, 2, 36] Generated Node #0,3: 29:[85, 2, 36] Operation: 45-9=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[2, 9, 40], Operations: ['85-45=40'] Exploring Operation: 40/2=20, Resulting Numbers: [9, 20] Generated Node #0,2,0: 29:[9, 20] Operation: 40/2=20 Exploring Operation: 2*9=18, Resulting Numbers: [40, 18] Generated Node #0,2,1: 29:[40, 18] Operation: 2*9=18 Exploring Operation: 2+9=11, Resulting Numbers: [40, 11] Generated Node #0,2,2: 29:[40, 11] Operation: 2+9=11 Exploring Operation: 40-2=38, Resulting Numbers: [9, 38] Generated Node #0,2,3: 29:[9, 38] Operation: 40-2=38 Moving to Node #0,2,1 Current State: 29:[40, 18], Operations: ['85-45=40', '2*9=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[40, 11], Operations: ['85-45=40', '2+9=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[45, 85, 2, 9], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [2, 9, 40] Generated Node #0,2: 29:[2, 9, 40] Operation: 85-45=40 Moving to Node #0,2 Current State: 29:[2, 9, 40], Operations: ['85-45=40'] Exploring Operation: 2+9=11, Resulting Numbers: [40, 11] Generated Node #0,2,2: 29:[40, 11] Operation: 2+9=11 Moving to Node #0,2,2 Current State: 29:[40, 11], Operations: ['85-45=40', '2+9=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 68, 87, 59, 65 ]
25
[ "87-68=19", "65-59=6", "19+6=25" ]
Current State: 25:[68, 87, 59, 65], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [59, 65, 19] Generated Node #2: [59, 65, 19] from Operation: 87-68=19 Current State: 25:[59, 65, 19], Operations: ['87-68=19'] Exploring Operation: 65-59=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 65-59=6 Current State: 25:[19, 6], Operations: ['87-68=19', '65-59=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[68, 87, 59, 65], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [87, 65, 9] Generated Node #0,0: 25:[87, 65, 9] Operation: 68-59=9 Exploring Operation: 87-68=19, Resulting Numbers: [59, 65, 19] Generated Node #0,1: 25:[59, 65, 19] Operation: 87-68=19 Exploring Operation: 68-65=3, Resulting Numbers: [87, 59, 3] Generated Node #0,2: 25:[87, 59, 3] Operation: 68-65=3 Exploring Operation: 87-59=28, Resulting Numbers: [68, 65, 28] Generated Node #0,3: 25:[68, 65, 28] Operation: 87-59=28 Exploring Operation: 87-65=22, Resulting Numbers: [68, 59, 22] Generated Node #0,4: 25:[68, 59, 22] Operation: 87-65=22 Moving to Node #0,1 Current State: 25:[59, 65, 19], Operations: ['87-68=19'] Exploring Operation: 59-19=40, Resulting Numbers: [65, 40] Generated Node #0,1,0: 25:[65, 40] Operation: 59-19=40 Exploring Operation: 65+19=84, Resulting Numbers: [59, 84] Generated Node #0,1,1: 25:[59, 84] Operation: 65+19=84 Exploring Operation: 65-59=6, Resulting Numbers: [19, 6] Generated Node #0,1,2: 25:[19, 6] Operation: 65-59=6 Exploring Operation: 65-19=46, Resulting Numbers: [59, 46] Generated Node #0,1,3: 25:[59, 46] Operation: 65-19=46 Exploring Operation: 59+19=78, Resulting Numbers: [65, 78] Generated Node #0,1,4: 25:[65, 78] Operation: 59+19=78 Moving to Node #0,4 Current State: 25:[68, 59, 22], Operations: ['87-65=22'] Exploring Operation: 59-22=37, Resulting Numbers: [68, 37] Generated Node #0,4,0: 25:[68, 37] Operation: 59-22=37 Exploring Operation: 68+22=90, Resulting Numbers: [59, 90] Generated Node #0,4,1: 25:[59, 90] Operation: 68+22=90 Exploring Operation: 68-59=9, Resulting Numbers: [22, 9] Generated Node #0,4,2: 25:[22, 9] Operation: 68-59=9 Exploring Operation: 68-22=46, Resulting Numbers: [59, 46] Generated Node #0,4,3: 25:[59, 46] Operation: 68-22=46 Exploring Operation: 59+22=81, Resulting Numbers: [68, 81] Generated Node #0,4,4: 25:[68, 81] Operation: 59+22=81 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[22, 9], Operations: ['87-65=22', '68-59=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,25 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[68, 37], Operations: ['87-65=22', '59-22=37'] Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,25 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[59, 46], Operations: ['87-65=22', '68-22=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[59, 90], Operations: ['87-65=22', '68+22=90'] Exploring Operation: 59*90=5310, Resulting Numbers: [5310] 5310,25 unequal: No Solution Exploring Operation: 59+90=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[68, 81], Operations: ['87-65=22', '59+22=81'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,25 unequal: No Solution Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,25 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: 25:[68, 65, 28], Operations: ['87-59=28'] Exploring Operation: 68-28=40, Resulting Numbers: [65, 40] Generated Node #0,3,0: 25:[65, 40] Operation: 68-28=40 Exploring Operation: 68+65=133, Resulting Numbers: [28, 133] Generated Node #0,3,1: 25:[28, 133] Operation: 68+65=133 Exploring Operation: 65-28=37, Resulting Numbers: [68, 37] Generated Node #0,3,2: 25:[68, 37] Operation: 65-28=37 Exploring Operation: 68+28=96, Resulting Numbers: [65, 96] Generated Node #0,3,3: 25:[65, 96] Operation: 68+28=96 Exploring Operation: 68-65=3, Resulting Numbers: [28, 3] Generated Node #0,3,4: 25:[28, 3] Operation: 68-65=3 Moving to Node #0,2 Current State: 25:[87, 59, 3], Operations: ['68-65=3'] Exploring Operation: 87+3=90, Resulting Numbers: [59, 90] Generated Node #0,2,0: 25:[59, 90] Operation: 87+3=90 Exploring Operation: 59-3=56, Resulting Numbers: [87, 56] Generated Node #0,2,1: 25:[87, 56] Operation: 59-3=56 Exploring Operation: 87/3=29, Resulting Numbers: [59, 29] Generated Node #0,2,2: 25:[59, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [59, 84] Generated Node #0,2,3: 25:[59, 84] Operation: 87-3=84 Exploring Operation: 87-59=28, Resulting Numbers: [3, 28] Generated Node #0,2,4: 25:[3, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 25:[87, 65, 9], Operations: ['68-59=9'] Exploring Operation: 87-65=22, Resulting Numbers: [9, 22] Generated Node #0,0,0: 25:[9, 22] Operation: 87-65=22 Exploring Operation: 87+9=96, Resulting Numbers: [65, 96] Generated Node #0,0,1: 25:[65, 96] Operation: 87+9=96 Exploring Operation: 65-9=56, Resulting Numbers: [87, 56] Generated Node #0,0,2: 25:[87, 56] Operation: 65-9=56 Exploring Operation: 87-9=78, Resulting Numbers: [65, 78] Generated Node #0,0,3: 25:[65, 78] Operation: 87-9=78 Exploring Operation: 65+9=74, Resulting Numbers: [87, 74] Generated Node #0,0,4: 25:[87, 74] Operation: 65+9=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[9, 22], Operations: ['68-59=9', '87-65=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,25 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[87, 56], Operations: ['68-59=9', '65-9=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,25 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[65, 78], Operations: ['68-59=9', '87-9=78'] Exploring Operation: 65+78=143, Resulting Numbers: [143] 143,25 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 65*78=5070, Resulting Numbers: [5070] 5070,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[65, 96], Operations: ['68-59=9', '87+9=96'] Exploring Operation: 65*96=6240, Resulting Numbers: [6240] 6240,25 unequal: No Solution Exploring Operation: 65+96=161, Resulting Numbers: [161] 161,25 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 25:[87, 74], Operations: ['68-59=9', '65+9=74'] Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,25 unequal: No Solution Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 25:[28, 3], Operations: ['87-59=28', '68-65=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[68, 87, 59, 65], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [68, 65, 28] Generated Node #0,3: 25:[68, 65, 28] Operation: 87-59=28 Moving to Node #0,3 Current State: 25:[68, 65, 28], Operations: ['87-59=28'] Exploring Operation: 68-65=3, Resulting Numbers: [28, 3] Generated Node #0,3,4: 25:[28, 3] Operation: 68-65=3 Moving to Node #0,3,4 Current State: 25:[28, 3], Operations: ['87-59=28', '68-65=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 45, 15, 16, 93 ]
48
[ "45*15=675", "93+675=768", "768/16=48" ]
Current State: 48:[45, 15, 16, 93], Operations: [] Exploring Operation: 45*15=675, Resulting Numbers: [16, 93, 675] Generated Node #2: [16, 93, 675] from Operation: 45*15=675 Current State: 48:[16, 93, 675], Operations: ['45*15=675'] Exploring Operation: 93+675=768, Resulting Numbers: [16, 768] Generated Node #3: [16, 768] from Operation: 93+675=768 Current State: 48:[16, 768], Operations: ['45*15=675', '93+675=768'] Exploring Operation: 768/16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 15, 16, 93], Operations: [] Exploring Operation: 93-45=48, Resulting Numbers: [15, 16, 48] Generated Node #0,0: 48:[15, 16, 48] Operation: 93-45=48 Exploring Operation: 93-15=78, Resulting Numbers: [45, 16, 78] Generated Node #0,1: 48:[45, 16, 78] Operation: 93-15=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[15, 16, 48], Operations: ['93-45=48'] Exploring Operation: 16-15=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 16-15=1 Exploring Operation: 48/16=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 48:[15, 3] Operation: 48/16=3 Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['93-45=48', '16-15=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[45, 15, 16, 93], Operations: [] Exploring Operation: 93-45=48, Resulting Numbers: [15, 16, 48] Generated Node #0,0: 48:[15, 16, 48] Operation: 93-45=48 Moving to Node #0,0 Current State: 48:[15, 16, 48], Operations: ['93-45=48'] Exploring Operation: 16-15=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 16-15=1 Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['93-45=48', '16-15=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 60, 59, 4, 43 ]
38
[ "60-59=1", "43-4=39", "39-1=38" ]
Current State: 38:[60, 59, 4, 43], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [4, 43, 1] Generated Node #2: [4, 43, 1] from Operation: 60-59=1 Current State: 38:[4, 43, 1], Operations: ['60-59=1'] Exploring Operation: 43-4=39, Resulting Numbers: [1, 39] Generated Node #3: [1, 39] from Operation: 43-4=39 Current State: 38:[1, 39], Operations: ['60-59=1', '43-4=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[60, 59, 4, 43], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [4, 43, 1] Generated Node #0,0: 38:[4, 43, 1] Operation: 60-59=1 Exploring Operation: 59-43=16, Resulting Numbers: [60, 4, 16] Generated Node #0,1: 38:[60, 4, 16] Operation: 59-43=16 Exploring Operation: 60-43=17, Resulting Numbers: [59, 4, 17] Generated Node #0,2: 38:[59, 4, 17] Operation: 60-43=17 Moving to Node #0,0 Current State: 38:[4, 43, 1], Operations: ['60-59=1'] Exploring Operation: 4-1=3, Resulting Numbers: [43, 3] Generated Node #0,0,0: 38:[43, 3] Operation: 4-1=3 Exploring Operation: 43-1=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 38:[4, 42] Operation: 43-1=42 Exploring Operation: 43-4=39, Resulting Numbers: [1, 39] Generated Node #0,0,2: 38:[1, 39] Operation: 43-4=39 Moving to Node #0,2 Current State: 38:[59, 4, 17], Operations: ['60-43=17'] Exploring Operation: 4+17=21, Resulting Numbers: [59, 21] Generated Node #0,2,0: 38:[59, 21] Operation: 4+17=21 Exploring Operation: 59-17=42, Resulting Numbers: [4, 42] Generated Node #0,2,1: 38:[4, 42] Operation: 59-17=42 Exploring Operation: 59-4=55, Resulting Numbers: [17, 55] Generated Node #0,2,2: 38:[17, 55] Operation: 59-4=55 Moving to Node #0,1 Current State: 38:[60, 4, 16], Operations: ['59-43=16'] Exploring Operation: 60-4=56, Resulting Numbers: [16, 56] Generated Node #0,1,0: 38:[16, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [16, 15] Generated Node #0,1,1: 38:[16, 15] Operation: 60/4=15 Exploring Operation: 60-16=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 38:[4, 44] Operation: 60-16=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[16, 15], Operations: ['59-43=16', '60/4=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,38 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[4, 44], Operations: ['59-43=16', '60-16=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[16, 56], Operations: ['59-43=16', '60-4=56'] Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,38 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 38:[1, 39], Operations: ['60-59=1', '43-4=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[60, 59, 4, 43], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [4, 43, 1] Generated Node #0,0: 38:[4, 43, 1] Operation: 60-59=1 Moving to Node #0,0 Current State: 38:[4, 43, 1], Operations: ['60-59=1'] Exploring Operation: 43-4=39, Resulting Numbers: [1, 39] Generated Node #0,0,2: 38:[1, 39] Operation: 43-4=39 Moving to Node #0,0,2 Current State: 38:[1, 39], Operations: ['60-59=1', '43-4=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 16, 38, 59, 76 ]
27
[ "16*76=1216", "1216/38=32", "59-32=27" ]
Current State: 27:[16, 38, 59, 76], Operations: [] Exploring Operation: 16*76=1216, Resulting Numbers: [38, 59, 1216] Generated Node #2: [38, 59, 1216] from Operation: 16*76=1216 Current State: 27:[38, 59, 1216], Operations: ['16*76=1216'] Exploring Operation: 1216/38=32, Resulting Numbers: [59, 32] Generated Node #3: [59, 32] from Operation: 1216/38=32 Current State: 27:[59, 32], Operations: ['16*76=1216', '1216/38=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[16, 38, 59, 76], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [16, 38, 17] Generated Node #0,0: 27:[16, 38, 17] Operation: 76-59=17 Exploring Operation: 76-38=38, Resulting Numbers: [16, 59, 38] Generated Node #0,1: 27:[16, 59, 38] Operation: 76-38=38 Exploring Operation: 59-16=43, Resulting Numbers: [38, 76, 43] Generated Node #0,2: 27:[38, 76, 43] Operation: 59-16=43 Exploring Operation: 76/38=2, Resulting Numbers: [16, 59, 2] Generated Node #0,3: 27:[16, 59, 2] Operation: 76/38=2 Exploring Operation: 59-38=21, Resulting Numbers: [16, 76, 21] Generated Node #0,4: 27:[16, 76, 21] Operation: 59-38=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[16, 38, 17], Operations: ['76-59=17'] Exploring Operation: 16+17=33, Resulting Numbers: [38, 33] Generated Node #0,0,0: 27:[38, 33] Operation: 16+17=33 Exploring Operation: 17-16=1, Resulting Numbers: [38, 1] Generated Node #0,0,1: 27:[38, 1] Operation: 17-16=1 Exploring Operation: 38-17=21, Resulting Numbers: [16, 21] Generated Node #0,0,2: 27:[16, 21] Operation: 38-17=21 Exploring Operation: 16+38=54, Resulting Numbers: [17, 54] Generated Node #0,0,3: 27:[17, 54] Operation: 16+38=54 Exploring Operation: 38-16=22, Resulting Numbers: [17, 22] Generated Node #0,0,4: 27:[17, 22] Operation: 38-16=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[38, 1], Operations: ['76-59=17', '17-16=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[16, 21], Operations: ['76-59=17', '38-17=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,27 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 27:[17, 22], Operations: ['76-59=17', '38-16=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,27 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[38, 33], Operations: ['76-59=17', '16+17=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,27 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[17, 54], Operations: ['76-59=17', '16+38=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,27 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[16, 59, 2], Operations: ['76/38=2'] Exploring Operation: 16/2=8, Resulting Numbers: [59, 8] Generated Node #0,3,0: 27:[59, 8] Operation: 16/2=8 Exploring Operation: 59-2=57, Resulting Numbers: [16, 57] Generated Node #0,3,1: 27:[16, 57] Operation: 59-2=57 Exploring Operation: 16-2=14, Resulting Numbers: [59, 14] Generated Node #0,3,2: 27:[59, 14] Operation: 16-2=14 Exploring Operation: 59-16=43, Resulting Numbers: [2, 43] Generated Node #0,3,3: 27:[2, 43] Operation: 59-16=43 Exploring Operation: 16*2=32, Resulting Numbers: [59, 32] Generated Node #0,3,4: 27:[59, 32] Operation: 16*2=32 Moving to Node #0,3,3 Current State: 27:[2, 43], Operations: ['76/38=2', '59-16=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,27 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[59, 8], Operations: ['76/38=2', '16/2=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,27 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[16, 57], Operations: ['76/38=2', '59-2=57'] Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[59, 14], Operations: ['76/38=2', '16-2=14'] Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,27 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[59, 32], Operations: ['76/38=2', '16*2=32'] Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,27 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[16, 38, 59, 76], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [16, 59, 2] Generated Node #0,3: 27:[16, 59, 2] Operation: 76/38=2 Moving to Node #0,3 Current State: 27:[16, 59, 2], Operations: ['76/38=2'] Exploring Operation: 16*2=32, Resulting Numbers: [59, 32] Generated Node #0,3,4: 27:[59, 32] Operation: 16*2=32 Moving to Node #0,3,4 Current State: 27:[59, 32], Operations: ['76/38=2', '16*2=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
mult_heuristic
[ 27, 67, 8, 48 ]
95
[ "27*48=1296", "1296/8=162", "162-67=95" ]
Current State: 95:[27, 67, 8, 48], Operations: [] Exploring Operation: 27*48=1296, Resulting Numbers: [67, 8, 1296] Generated Node #2: [67, 8, 1296] from Operation: 27*48=1296 Current State: 95:[67, 8, 1296], Operations: ['27*48=1296'] Exploring Operation: 1296/8=162, Resulting Numbers: [67, 162] Generated Node #3: [67, 162] from Operation: 1296/8=162 Current State: 95:[67, 162], Operations: ['27*48=1296', '1296/8=162'] Exploring Operation: 162-67=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[27, 67, 8, 48], Operations: [] Exploring Operation: 67-48=19, Resulting Numbers: [27, 8, 19] Generated Node #0,0: 95:[27, 8, 19] Operation: 67-48=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[27, 8, 19], Operations: ['67-48=19'] Exploring Operation: 27-8=19, Resulting Numbers: [19, 19] Generated Node #0,0,0: 95:[19, 19] Operation: 27-8=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[19, 19], Operations: ['67-48=19', '27-8=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,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_1
sum_heuristic
[ 57, 2, 49, 3 ]
80
[ "49-3=46", "46/2=23", "57+23=80" ]
Current State: 80:[57, 2, 49, 3], Operations: [] Exploring Operation: 49-3=46, Resulting Numbers: [57, 2, 46] Generated Node #2: [57, 2, 46] from Operation: 49-3=46 Current State: 80:[57, 2, 46], Operations: ['49-3=46'] Exploring Operation: 46/2=23, Resulting Numbers: [57, 23] Generated Node #3: [57, 23] from Operation: 46/2=23 Current State: 80:[57, 23], Operations: ['49-3=46', '46/2=23'] Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[57, 2, 49, 3], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [2, 3, 8] Generated Node #0,0: 80:[2, 3, 8] Operation: 57-49=8 Exploring Operation: 57-3=54, Resulting Numbers: [2, 49, 54] Generated Node #0,1: 80:[2, 49, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [2, 49, 19] Generated Node #0,2: 80:[2, 49, 19] Operation: 57/3=19 Moving to Node #0,0 Current State: 80:[2, 3, 8], Operations: ['57-49=8'] Exploring Operation: 2+3=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 80:[8, 5] Operation: 2+3=5 Exploring Operation: 8-3=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 80:[2, 5] Operation: 8-3=5 Exploring Operation: 2*3=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 80:[8, 6] Operation: 2*3=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[8, 5], Operations: ['57-49=8', '2+3=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[2, 5], Operations: ['57-49=8', '8-3=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[8, 6], Operations: ['57-49=8', '2*3=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,80 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: 80:[2, 49, 19], Operations: ['57/3=19'] Exploring Operation: 2+19=21, Resulting Numbers: [49, 21] Generated Node #0,2,0: 80:[49, 21] Operation: 2+19=21 Exploring Operation: 49-2=47, Resulting Numbers: [19, 47] Generated Node #0,2,1: 80:[19, 47] Operation: 49-2=47 Exploring Operation: 19-2=17, Resulting Numbers: [49, 17] Generated Node #0,2,2: 80:[49, 17] Operation: 19-2=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[19, 47], Operations: ['57/3=19', '49-2=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[49, 21], Operations: ['57/3=19', '2+19=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,80 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[49, 17], Operations: ['57/3=19', '19-2=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,80 unequal: No Solution Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,80 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: 80:[2, 49, 54], Operations: ['57-3=54'] Exploring Operation: 54-49=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 80:[2, 5] Operation: 54-49=5 Exploring Operation: 54/2=27, Resulting Numbers: [49, 27] Generated Node #0,1,1: 80:[49, 27] Operation: 54/2=27 Exploring Operation: 49-2=47, Resulting Numbers: [54, 47] Generated Node #0,1,2: 80:[54, 47] Operation: 49-2=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[2, 5], Operations: ['57-3=54', '54-49=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[49, 27], Operations: ['57-3=54', '54/2=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,80 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[54, 47], Operations: ['57-3=54', '49-2=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,80 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,80 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
[ 94, 77, 32, 93 ]
45
[ "94-93=1", "77-32=45", "1*45=45" ]
Current State: 45:[94, 77, 32, 93], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [77, 32, 1] Generated Node #2: [77, 32, 1] from Operation: 94-93=1 Current State: 45:[77, 32, 1], Operations: ['94-93=1'] Exploring Operation: 77-32=45, Resulting Numbers: [1, 45] Generated Node #3: [1, 45] from Operation: 77-32=45 Current State: 45:[1, 45], Operations: ['94-93=1', '77-32=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[94, 77, 32, 93], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [77, 32, 1] Generated Node #0,0: 45:[77, 32, 1] Operation: 94-93=1 Exploring Operation: 94-77=17, Resulting Numbers: [32, 93, 17] Generated Node #0,1: 45:[32, 93, 17] Operation: 94-77=17 Exploring Operation: 93-77=16, Resulting Numbers: [94, 32, 16] Generated Node #0,2: 45:[94, 32, 16] Operation: 93-77=16 Exploring Operation: 94-32=62, Resulting Numbers: [77, 93, 62] Generated Node #0,3: 45:[77, 93, 62] Operation: 94-32=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[77, 32, 1], Operations: ['94-93=1'] Exploring Operation: 77*1=77, Resulting Numbers: [32, 77] Generated Node #0,0,0: 45:[32, 77] Operation: 77*1=77 Exploring Operation: 32+1=33, Resulting Numbers: [77, 33] Generated Node #0,0,1: 45:[77, 33] Operation: 32+1=33 Exploring Operation: 77-32=45, Resulting Numbers: [1, 45] Generated Node #0,0,2: 45:[1, 45] Operation: 77-32=45 Exploring Operation: 77-1=76, Resulting Numbers: [32, 76] Generated Node #0,0,3: 45:[32, 76] Operation: 77-1=76 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[1, 45], Operations: ['94-93=1', '77-32=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[94, 77, 32, 93], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [77, 32, 1] Generated Node #0,0: 45:[77, 32, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 45:[77, 32, 1], Operations: ['94-93=1'] Exploring Operation: 77-32=45, Resulting Numbers: [1, 45] Generated Node #0,0,2: 45:[1, 45] Operation: 77-32=45 Moving to Node #0,0,2 Current State: 45:[1, 45], Operations: ['94-93=1', '77-32=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 29, 64, 16, 40 ]
15
[ "40-29=11", "64/16=4", "11+4=15" ]
Current State: 15:[29, 64, 16, 40], Operations: [] Exploring Operation: 40-29=11, Resulting Numbers: [64, 16, 11] Generated Node #2: [64, 16, 11] from Operation: 40-29=11 Current State: 15:[64, 16, 11], Operations: ['40-29=11'] Exploring Operation: 64/16=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 64/16=4 Current State: 15:[11, 4], Operations: ['40-29=11', '64/16=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[29, 64, 16, 40], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [29, 40, 4] Generated Node #0,0: 15:[29, 40, 4] Operation: 64/16=4 Exploring Operation: 40-29=11, Resulting Numbers: [64, 16, 11] Generated Node #0,1: 15:[64, 16, 11] Operation: 40-29=11 Exploring Operation: 64-40=24, Resulting Numbers: [29, 16, 24] Generated Node #0,2: 15:[29, 16, 24] Operation: 64-40=24 Exploring Operation: 64-29=35, Resulting Numbers: [16, 40, 35] Generated Node #0,3: 15:[16, 40, 35] Operation: 64-29=35 Moving to Node #0,2 Current State: 15:[29, 16, 24], Operations: ['64-40=24'] Exploring Operation: 29-16=13, Resulting Numbers: [24, 13] Generated Node #0,2,0: 15:[24, 13] Operation: 29-16=13 Exploring Operation: 24-16=8, Resulting Numbers: [29, 8] Generated Node #0,2,1: 15:[29, 8] Operation: 24-16=8 Exploring Operation: 29+16=45, Resulting Numbers: [24, 45] Generated Node #0,2,2: 15:[24, 45] Operation: 29+16=45 Exploring Operation: 29-24=5, Resulting Numbers: [16, 5] Generated Node #0,2,3: 15:[16, 5] Operation: 29-24=5 Moving to Node #0,0 Current State: 15:[29, 40, 4], Operations: ['64/16=4'] Exploring Operation: 29-4=25, Resulting Numbers: [40, 25] Generated Node #0,0,0: 15:[40, 25] Operation: 29-4=25 Exploring Operation: 40-29=11, Resulting Numbers: [4, 11] Generated Node #0,0,1: 15:[4, 11] Operation: 40-29=11 Exploring Operation: 40/4=10, Resulting Numbers: [29, 10] Generated Node #0,0,2: 15:[29, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [29, 36] Generated Node #0,0,3: 15:[29, 36] Operation: 40-4=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[4, 11], Operations: ['64/16=4', '40-29=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[29, 64, 16, 40], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [29, 40, 4] Generated Node #0,0: 15:[29, 40, 4] Operation: 64/16=4 Moving to Node #0,0 Current State: 15:[29, 40, 4], Operations: ['64/16=4'] Exploring Operation: 40-29=11, Resulting Numbers: [4, 11] Generated Node #0,0,1: 15:[4, 11] Operation: 40-29=11 Moving to Node #0,0,1 Current State: 15:[4, 11], Operations: ['64/16=4', '40-29=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 52, 46, 52, 95 ]
95
[ "52-52=0", "46*0=0", "95+0=95" ]
Current State: 95:[52, 46, 52, 95], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [46, 95, 0] Generated Node #2: [46, 95, 0] from Operation: 52-52=0 Current State: 95:[46, 95, 0], Operations: ['52-52=0'] Exploring Operation: 46*0=0, Resulting Numbers: [95, 0] Generated Node #3: [95, 0] from Operation: 46*0=0 Current State: 95:[95, 0], Operations: ['52-52=0', '46*0=0'] Exploring Operation: 95+0=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[52, 46, 52, 95], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [46, 95, 0] Generated Node #0,0: 95:[46, 95, 0] Operation: 52-52=0 Exploring Operation: 52/52=1, Resulting Numbers: [46, 95, 1] Generated Node #0,1: 95:[46, 95, 1] Operation: 52/52=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[46, 95, 1], Operations: ['52/52=1'] Exploring Operation: 46-1=45, Resulting Numbers: [95, 45] Generated Node #0,1,0: 95:[95, 45] Operation: 46-1=45 Exploring Operation: 46*1=46, Resulting Numbers: [95, 46] Generated Node #0,1,1: 95:[95, 46] Operation: 46*1=46 Moving to Node #0,1,0 Current State: 95:[95, 45], Operations: ['52/52=1', '46-1=45'] Exploring Operation: 95+45=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[95, 46], Operations: ['52/52=1', '46*1=46'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,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 Current State: 95:[46, 95, 0], Operations: ['52-52=0'] Exploring Operation: 46*0=0, Resulting Numbers: [95, 0] Generated Node #0,0,0: 95:[95, 0] Operation: 46*0=0 Exploring Operation: 46+0=46, Resulting Numbers: [95, 46] Generated Node #0,0,1: 95:[95, 46] Operation: 46+0=46 Moving to Node #0,0,0 Current State: 95:[95, 0], Operations: ['52-52=0', '46*0=0'] Exploring Operation: 95-0=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[52, 46, 52, 95], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [46, 95, 0] Generated Node #0,0: 95:[46, 95, 0] Operation: 52-52=0 Moving to Node #0,0 Current State: 95:[46, 95, 0], Operations: ['52-52=0'] Exploring Operation: 46*0=0, Resulting Numbers: [95, 0] Generated Node #0,0,0: 95:[95, 0] Operation: 46*0=0 Moving to Node #0,0,0 Current State: 95:[95, 0], Operations: ['52-52=0', '46*0=0'] Exploring Operation: 95-0=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 49, 2, 47, 22 ]
52
[ "49+47=96", "2*22=44", "96-44=52" ]
Current State: 52:[49, 2, 47, 22], Operations: [] Exploring Operation: 49+47=96, Resulting Numbers: [2, 22, 96] Generated Node #2: [2, 22, 96] from Operation: 49+47=96 Current State: 52:[2, 22, 96], Operations: ['49+47=96'] Exploring Operation: 2*22=44, Resulting Numbers: [96, 44] Generated Node #3: [96, 44] from Operation: 2*22=44 Current State: 52:[96, 44], Operations: ['49+47=96', '2*22=44'] Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[49, 2, 47, 22], Operations: [] Exploring Operation: 47-22=25, Resulting Numbers: [49, 2, 25] Generated Node #0,0: 52:[49, 2, 25] Operation: 47-22=25 Exploring Operation: 49-22=27, Resulting Numbers: [2, 47, 27] Generated Node #0,1: 52:[2, 47, 27] Operation: 49-22=27 Exploring Operation: 49-47=2, Resulting Numbers: [2, 22, 2] Generated Node #0,2: 52:[2, 22, 2] Operation: 49-47=2 Exploring Operation: 2+47=49, Resulting Numbers: [49, 22, 49] Generated Node #0,3: 52:[49, 22, 49] Operation: 2+47=49 Exploring Operation: 49+2=51, Resulting Numbers: [47, 22, 51] Generated Node #0,4: 52:[47, 22, 51] Operation: 49+2=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[49, 2, 25], Operations: ['47-22=25'] Exploring Operation: 2*25=50, Resulting Numbers: [49, 50] Generated Node #0,0,0: 52:[49, 50] Operation: 2*25=50 Exploring Operation: 49-25=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 52:[2, 24] Operation: 49-25=24 Exploring Operation: 49+2=51, Resulting Numbers: [25, 51] Generated Node #0,0,2: 52:[25, 51] Operation: 49+2=51 Exploring Operation: 2+25=27, Resulting Numbers: [49, 27] Generated Node #0,0,3: 52:[49, 27] Operation: 2+25=27 Exploring Operation: 49-2=47, Resulting Numbers: [25, 47] Generated Node #0,0,4: 52:[25, 47] Operation: 49-2=47 Moving to Node #0,0,1 Current State: 52:[2, 24], Operations: ['47-22=25', '49-25=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[25, 51], Operations: ['47-22=25', '49+2=51'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[49, 27], Operations: ['47-22=25', '2+25=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,52 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[49, 50], Operations: ['47-22=25', '2*25=50'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,52 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[25, 47], Operations: ['47-22=25', '49-2=47'] Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,52 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,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:[2, 22, 2], Operations: ['49-47=2'] Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,2,0: 52:[2, 11] Operation: 22/2=11 Exploring Operation: 2+2=4, Resulting Numbers: [22, 4] Generated Node #0,2,1: 52:[22, 4] Operation: 2+2=4 Exploring Operation: 22+2=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 52:[2, 24] Operation: 22+2=24 Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,2,3: 52:[2, 11] Operation: 22/2=11 Exploring Operation: 2+22=24, Resulting Numbers: [2, 24] Generated Node #0,2,4: 52:[2, 24] Operation: 2+22=24 Moving to Node #0,2,0 Current State: 52:[2, 11], Operations: ['49-47=2', '22/2=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[2, 11], Operations: ['49-47=2', '22/2=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[2, 24], Operations: ['49-47=2', '22+2=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[2, 24], Operations: ['49-47=2', '2+22=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[22, 4], Operations: ['49-47=2', '2+2=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,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,1 Current State: 52:[2, 47, 27], Operations: ['49-22=27'] Exploring Operation: 47-2=45, Resulting Numbers: [27, 45] Generated Node #0,1,0: 52:[27, 45] Operation: 47-2=45 Exploring Operation: 47-27=20, Resulting Numbers: [2, 20] Generated Node #0,1,1: 52:[2, 20] Operation: 47-27=20 Exploring Operation: 2+47=49, Resulting Numbers: [27, 49] Generated Node #0,1,2: 52:[27, 49] Operation: 2+47=49 Exploring Operation: 2*27=54, Resulting Numbers: [47, 54] Generated Node #0,1,3: 52:[47, 54] Operation: 2*27=54 Exploring Operation: 27-2=25, Resulting Numbers: [47, 25] Generated Node #0,1,4: 52:[47, 25] Operation: 27-2=25 Moving to Node #0,1,2 Current State: 52:[27, 49], Operations: ['49-22=27', '2+47=49'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[47, 25], Operations: ['49-22=27', '27-2=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,52 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[2, 20], Operations: ['49-22=27', '47-27=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[47, 54], Operations: ['49-22=27', '2*27=54'] Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,52 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[27, 45], Operations: ['49-22=27', '47-2=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,52 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,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 Current State: 52:[49, 22, 49], Operations: ['2+47=49'] Exploring Operation: 49-49=0, Resulting Numbers: [22, 0] Generated Node #0,3,0: 52:[22, 0] Operation: 49-49=0 Exploring Operation: 49-22=27, Resulting Numbers: [49, 27] Generated Node #0,3,1: 52:[49, 27] Operation: 49-22=27 Exploring Operation: 49+22=71, Resulting Numbers: [49, 71] Generated Node #0,3,2: 52:[49, 71] Operation: 49+22=71 Exploring Operation: 49/49=1, Resulting Numbers: [22, 1] Generated Node #0,3,3: 52:[22, 1] Operation: 49/49=1 Exploring Operation: 49-22=27, Resulting Numbers: [49, 27] Generated Node #0,3,4: 52:[49, 27] Operation: 49-22=27 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[49, 27], Operations: ['2+47=49', '49-22=27'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,52 unequal: No Solution No 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: 52:[49, 27], Operations: ['2+47=49', '49-22=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,52 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,52 unequal: No Solution No 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: 52:[22, 1], Operations: ['2+47=49', '49/49=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,52 unequal: No Solution No 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: 52:[22, 0], Operations: ['2+47=49', '49-49=0'] Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 22*0=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 22-0=22, Resulting Numbers: [22] 22,52 unequal: No Solution No 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: 52:[49, 71], Operations: ['2+47=49', '49+22=71'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,52 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,52 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: 52:[47, 22, 51], Operations: ['49+2=51'] Exploring Operation: 51-22=29, Resulting Numbers: [47, 29] Generated Node #0,4,0: 52:[47, 29] Operation: 51-22=29 Exploring Operation: 47-22=25, Resulting Numbers: [51, 25] Generated Node #0,4,1: 52:[51, 25] Operation: 47-22=25 Exploring Operation: 47+22=69, Resulting Numbers: [51, 69] Generated Node #0,4,2: 52:[51, 69] Operation: 47+22=69 Exploring Operation: 22+51=73, Resulting Numbers: [47, 73] Generated Node #0,4,3: 52:[47, 73] Operation: 22+51=73 Exploring Operation: 51-47=4, Resulting Numbers: [22, 4] Generated Node #0,4,4: 52:[22, 4] Operation: 51-47=4 Moving to Node #0,4,1 Current State: 52:[51, 25], Operations: ['49+2=51', '47-22=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,52 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[22, 4], Operations: ['49+2=51', '51-47=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[47, 29], Operations: ['49+2=51', '51-22=29'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,52 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[51, 69], Operations: ['49+2=51', '47+22=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,52 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[47, 73], Operations: ['49+2=51', '22+51=73'] Exploring Operation: 47+73=120, Resulting Numbers: [120] 120,52 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 47*73=3431, Resulting Numbers: [3431] 3431,52 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
[ 72, 39, 28, 89 ]
28
[ "72-39=33", "89-28=61", "61-33=28" ]
Current State: 28:[72, 39, 28, 89], Operations: [] Exploring Operation: 72-39=33, Resulting Numbers: [28, 89, 33] Generated Node #2: [28, 89, 33] from Operation: 72-39=33 Current State: 28:[28, 89, 33], Operations: ['72-39=33'] Exploring Operation: 89-28=61, Resulting Numbers: [33, 61] Generated Node #3: [33, 61] from Operation: 89-28=61 Current State: 28:[33, 61], Operations: ['72-39=33', '89-28=61'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[72, 39, 28, 89], Operations: [] Exploring Operation: 72-39=33, Resulting Numbers: [28, 89, 33] Generated Node #0,0: 28:[28, 89, 33] Operation: 72-39=33 Exploring Operation: 89-72=17, Resulting Numbers: [39, 28, 17] Generated Node #0,1: 28:[39, 28, 17] Operation: 89-72=17 Exploring Operation: 72-28=44, Resulting Numbers: [39, 89, 44] Generated Node #0,2: 28:[39, 89, 44] Operation: 72-28=44 Exploring Operation: 89-39=50, Resulting Numbers: [72, 28, 50] Generated Node #0,3: 28:[72, 28, 50] Operation: 89-39=50 Moving to Node #0,1 Current State: 28:[39, 28, 17], Operations: ['89-72=17'] Exploring Operation: 28-17=11, Resulting Numbers: [39, 11] Generated Node #0,1,0: 28:[39, 11] Operation: 28-17=11 Exploring Operation: 39+17=56, Resulting Numbers: [28, 56] Generated Node #0,1,1: 28:[28, 56] Operation: 39+17=56 Exploring Operation: 39-17=22, Resulting Numbers: [28, 22] Generated Node #0,1,2: 28:[28, 22] Operation: 39-17=22 Exploring Operation: 39-28=11, Resulting Numbers: [17, 11] Generated Node #0,1,3: 28:[17, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[28, 22], Operations: ['89-72=17', '39-17=22'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,28 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[17, 11], Operations: ['89-72=17', '39-28=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,28 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[72, 39, 28, 89], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [39, 28, 17] Generated Node #0,1: 28:[39, 28, 17] Operation: 89-72=17 Moving to Node #0,1 Current State: 28:[39, 28, 17], Operations: ['89-72=17'] Exploring Operation: 39-28=11, Resulting Numbers: [17, 11] Generated Node #0,1,3: 28:[17, 11] Operation: 39-28=11 Moving to Node #0,1,3 Current State: 28:[17, 11], Operations: ['89-72=17', '39-28=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 21, 98, 99, 36 ]
69
[ "98*36=3528", "3528/21=168", "168-99=69" ]
Current State: 69:[21, 98, 99, 36], Operations: [] Exploring Operation: 98*36=3528, Resulting Numbers: [21, 99, 3528] Generated Node #2: [21, 99, 3528] from Operation: 98*36=3528 Current State: 69:[21, 99, 3528], Operations: ['98*36=3528'] Exploring Operation: 3528/21=168, Resulting Numbers: [99, 168] Generated Node #3: [99, 168] from Operation: 3528/21=168 Current State: 69:[99, 168], Operations: ['98*36=3528', '3528/21=168'] Exploring Operation: 168-99=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[21, 98, 99, 36], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [21, 98, 63] Generated Node #0,0: 69:[21, 98, 63] Operation: 99-36=63 Exploring Operation: 98-36=62, Resulting Numbers: [21, 99, 62] Generated Node #0,1: 69:[21, 99, 62] Operation: 98-36=62 Exploring Operation: 98-21=77, Resulting Numbers: [99, 36, 77] Generated Node #0,2: 69:[99, 36, 77] Operation: 98-21=77 Exploring Operation: 99-98=1, Resulting Numbers: [21, 36, 1] Generated Node #0,3: 69:[21, 36, 1] Operation: 99-98=1 Exploring Operation: 99-21=78, Resulting Numbers: [98, 36, 78] Generated Node #0,4: 69:[98, 36, 78] Operation: 99-21=78 Moving to Node #0,3 Current State: 69:[21, 36, 1], Operations: ['99-98=1'] Exploring Operation: 36-1=35, Resulting Numbers: [21, 35] Generated Node #0,3,0: 69:[21, 35] Operation: 36-1=35 Exploring Operation: 36-21=15, Resulting Numbers: [1, 15] Generated Node #0,3,1: 69:[1, 15] Operation: 36-21=15 Exploring Operation: 21+36=57, Resulting Numbers: [1, 57] Generated Node #0,3,2: 69:[1, 57] Operation: 21+36=57 Exploring Operation: 21*1=21, Resulting Numbers: [36, 21] Generated Node #0,3,3: 69:[36, 21] Operation: 21*1=21 Exploring Operation: 21+1=22, Resulting Numbers: [36, 22] Generated Node #0,3,4: 69:[36, 22] Operation: 21+1=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[1, 15], Operations: ['99-98=1', '36-21=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,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:[21, 35], Operations: ['99-98=1', '36-1=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,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:[1, 57], Operations: ['99-98=1', '21+36=57'] Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,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,4 Current State: 69:[36, 22], Operations: ['99-98=1', '21+1=22'] Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,69 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,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,3 Current State: 69:[36, 21], Operations: ['99-98=1', '21*1=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,69 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,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:[21, 98, 63], Operations: ['99-36=63'] Exploring Operation: 21+63=84, Resulting Numbers: [98, 84] Generated Node #0,0,0: 69:[98, 84] Operation: 21+63=84 Exploring Operation: 63-21=42, Resulting Numbers: [98, 42] Generated Node #0,0,1: 69:[98, 42] Operation: 63-21=42 Exploring Operation: 63/21=3, Resulting Numbers: [98, 3] Generated Node #0,0,2: 69:[98, 3] Operation: 63/21=3 Exploring Operation: 98-63=35, Resulting Numbers: [21, 35] Generated Node #0,0,3: 69:[21, 35] Operation: 98-63=35 Exploring Operation: 98-21=77, Resulting Numbers: [63, 77] Generated Node #0,0,4: 69:[63, 77] Operation: 98-21=77 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[21, 35], Operations: ['99-36=63', '98-63=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,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,0,4 Current State: 69:[63, 77], Operations: ['99-36=63', '98-21=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,69 unequal: No Solution Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,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,0,2 Current State: 69:[98, 3], Operations: ['99-36=63', '63/21=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,69 unequal: No Solution Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,69 unequal: No Solution Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,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,0,0 Current State: 69:[98, 84], Operations: ['99-36=63', '21+63=84'] Exploring Operation: 98*84=8232, Resulting Numbers: [8232] 8232,69 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 98+84=182, Resulting Numbers: [182] 182,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,0,1 Current State: 69:[98, 42], Operations: ['99-36=63', '63-21=42'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,69 unequal: No Solution Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 69:[21, 99, 62], Operations: ['98-36=62'] Exploring Operation: 62-21=41, Resulting Numbers: [99, 41] Generated Node #0,1,0: 69:[99, 41] Operation: 62-21=41 Exploring Operation: 21+62=83, Resulting Numbers: [99, 83] Generated Node #0,1,1: 69:[99, 83] Operation: 21+62=83 Exploring Operation: 21+99=120, Resulting Numbers: [62, 120] Generated Node #0,1,2: 69:[62, 120] Operation: 21+99=120 Exploring Operation: 99-62=37, Resulting Numbers: [21, 37] Generated Node #0,1,3: 69:[21, 37] Operation: 99-62=37 Exploring Operation: 99-21=78, Resulting Numbers: [62, 78] Generated Node #0,1,4: 69:[62, 78] Operation: 99-21=78 Moving to Node #0,2 Current State: 69:[99, 36, 77], Operations: ['98-21=77'] Exploring Operation: 36+77=113, Resulting Numbers: [99, 113] Generated Node #0,2,0: 69:[99, 113] Operation: 36+77=113 Exploring Operation: 99-36=63, Resulting Numbers: [77, 63] Generated Node #0,2,1: 69:[77, 63] Operation: 99-36=63 Exploring Operation: 99-77=22, Resulting Numbers: [36, 22] Generated Node #0,2,2: 69:[36, 22] Operation: 99-77=22 Exploring Operation: 99+36=135, Resulting Numbers: [77, 135] Generated Node #0,2,3: 69:[77, 135] Operation: 99+36=135 Exploring Operation: 77-36=41, Resulting Numbers: [99, 41] Generated Node #0,2,4: 69:[99, 41] Operation: 77-36=41 Moving to Node #0,4 Current State: 69:[98, 36, 78], Operations: ['99-21=78'] Exploring Operation: 98-36=62, Resulting Numbers: [78, 62] Generated Node #0,4,0: 69:[78, 62] Operation: 98-36=62 Exploring Operation: 98+36=134, Resulting Numbers: [78, 134] Generated Node #0,4,1: 69:[78, 134] Operation: 98+36=134 Exploring Operation: 78-36=42, Resulting Numbers: [98, 42] Generated Node #0,4,2: 69:[98, 42] Operation: 78-36=42 Exploring Operation: 36+78=114, Resulting Numbers: [98, 114] Generated Node #0,4,3: 69:[98, 114] Operation: 36+78=114 Exploring Operation: 98-78=20, Resulting Numbers: [36, 20] Generated Node #0,4,4: 69:[36, 20] Operation: 98-78=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 69:[78, 62], Operations: ['99-21=78', '98-36=62'] Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,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,4,4 Current State: 69:[36, 20], Operations: ['99-21=78', '98-78=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,69 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,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,4,2 Current State: 69:[98, 42], Operations: ['99-21=78', '78-36=42'] Exploring Operation: 98+42=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 98*42=4116, Resulting Numbers: [4116] 4116,69 unequal: No Solution Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,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,4,1 Current State: 69:[78, 134], Operations: ['99-21=78', '98+36=134'] Exploring Operation: 78+134=212, Resulting Numbers: [212] 212,69 unequal: No Solution Exploring Operation: 78*134=10452, Resulting Numbers: [10452] 10452,69 unequal: No Solution Exploring Operation: 134-78=56, Resulting Numbers: [56] 56,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,4,3 Current State: 69:[98, 114], Operations: ['99-21=78', '36+78=114'] Exploring Operation: 114-98=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 98*114=11172, Resulting Numbers: [11172] 11172,69 unequal: No Solution Exploring Operation: 98+114=212, Resulting Numbers: [212] 212,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 69:[77, 63], Operations: ['98-21=77', '99-36=63'] Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,69 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[36, 22], Operations: ['98-21=77', '99-77=22'] Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,69 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[21, 37], Operations: ['98-36=62', '99-62=37'] Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,69 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[62, 78], Operations: ['98-36=62', '99-21=78'] Exploring Operation: 62+78=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 62*78=4836, Resulting Numbers: [4836] 4836,69 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[99, 83], Operations: ['98-36=62', '21+62=83'] Exploring Operation: 99+83=182, Resulting Numbers: [182] 182,69 unequal: No Solution Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 99*83=8217, Resulting Numbers: [8217] 8217,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[99, 41], Operations: ['98-36=62', '62-21=41'] Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[99, 41], Operations: ['98-21=77', '77-36=41'] Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,69 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,69 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[62, 120], Operations: ['98-36=62', '21+99=120'] Exploring Operation: 120-62=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 62+120=182, Resulting Numbers: [182] 182,69 unequal: No Solution Exploring Operation: 62*120=7440, Resulting Numbers: [7440] 7440,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[77, 135], Operations: ['98-21=77', '99+36=135'] Exploring Operation: 77*135=10395, Resulting Numbers: [10395] 10395,69 unequal: No Solution Exploring Operation: 77+135=212, Resulting Numbers: [212] 212,69 unequal: No Solution Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[99, 113], Operations: ['98-21=77', '36+77=113'] Exploring Operation: 99+113=212, Resulting Numbers: [212] 212,69 unequal: No Solution Exploring Operation: 99*113=11187, Resulting Numbers: [11187] 11187,69 unequal: No Solution Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,69 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 11, 3, 5, 93 ]
24
[ "11*5=55", "93/3=31", "55-31=24" ]
Current State: 24:[11, 3, 5, 93], Operations: [] Exploring Operation: 11*5=55, Resulting Numbers: [3, 93, 55] Generated Node #2: [3, 93, 55] from Operation: 11*5=55 Current State: 24:[3, 93, 55], Operations: ['11*5=55'] Exploring Operation: 93/3=31, Resulting Numbers: [55, 31] Generated Node #3: [55, 31] from Operation: 93/3=31 Current State: 24:[55, 31], Operations: ['11*5=55', '93/3=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[11, 3, 5, 93], Operations: [] Exploring Operation: 93-3=90, Resulting Numbers: [11, 5, 90] Generated Node #0,0: 24:[11, 5, 90] Operation: 93-3=90 Exploring Operation: 93-11=82, Resulting Numbers: [3, 5, 82] Generated Node #0,1: 24:[3, 5, 82] Operation: 93-11=82 Exploring Operation: 93/3=31, Resulting Numbers: [11, 5, 31] Generated Node #0,2: 24:[11, 5, 31] Operation: 93/3=31 Exploring Operation: 93-5=88, Resulting Numbers: [11, 3, 88] Generated Node #0,3: 24:[11, 3, 88] Operation: 93-5=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[11, 5, 31], Operations: ['93/3=31'] Exploring Operation: 31-11=20, Resulting Numbers: [5, 20] Generated Node #0,2,0: 24:[5, 20] Operation: 31-11=20 Exploring Operation: 31-5=26, Resulting Numbers: [11, 26] Generated Node #0,2,1: 24:[11, 26] Operation: 31-5=26 Exploring Operation: 11-5=6, Resulting Numbers: [31, 6] Generated Node #0,2,2: 24:[31, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [31, 16] Generated Node #0,2,3: 24:[31, 16] Operation: 11+5=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[11, 26], Operations: ['93/3=31', '31-5=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,24 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,24 unequal: No Solution No 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: 24:[5, 20], Operations: ['93/3=31', '31-11=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,24 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,24 unequal: No Solution No 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: 24:[31, 6], Operations: ['93/3=31', '11-5=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,24 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,24 unequal: No Solution No 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: 24:[31, 16], Operations: ['93/3=31', '11+5=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,24 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: 24:[3, 5, 82], Operations: ['93-11=82'] Exploring Operation: 82-3=79, Resulting Numbers: [5, 79] Generated Node #0,1,0: 24:[5, 79] Operation: 82-3=79 Exploring Operation: 3+5=8, Resulting Numbers: [82, 8] Generated Node #0,1,1: 24:[82, 8] Operation: 3+5=8 Exploring Operation: 82-5=77, Resulting Numbers: [3, 77] Generated Node #0,1,2: 24:[3, 77] Operation: 82-5=77 Exploring Operation: 5-3=2, Resulting Numbers: [82, 2] Generated Node #0,1,3: 24:[82, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 24:[3, 77], Operations: ['93-11=82', '82-5=77'] Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,24 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,24 unequal: No Solution No 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: 24:[5, 79], Operations: ['93-11=82', '82-3=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,24 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,24 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,24 unequal: No Solution No 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: 24:[82, 8], Operations: ['93-11=82', '3+5=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,24 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,24 unequal: No Solution No 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: 24:[82, 2], Operations: ['93-11=82', '5-3=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,24 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,24 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: 24:[11, 3, 88], Operations: ['93-5=88'] Exploring Operation: 88/11=8, Resulting Numbers: [3, 8] Generated Node #0,3,0: 24:[3, 8] Operation: 88/11=8 Exploring Operation: 88-11=77, Resulting Numbers: [3, 77] Generated Node #0,3,1: 24:[3, 77] Operation: 88-11=77 Exploring Operation: 11-3=8, Resulting Numbers: [88, 8] Generated Node #0,3,2: 24:[88, 8] Operation: 11-3=8 Exploring Operation: 88-3=85, Resulting Numbers: [11, 85] Generated Node #0,3,3: 24:[11, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 24:[3, 8], Operations: ['93-5=88', '88/11=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[11, 3, 5, 93], Operations: [] Exploring Operation: 93-5=88, Resulting Numbers: [11, 3, 88] Generated Node #0,3: 24:[11, 3, 88] Operation: 93-5=88 Moving to Node #0,3 Current State: 24:[11, 3, 88], Operations: ['93-5=88'] Exploring Operation: 88/11=8, Resulting Numbers: [3, 8] Generated Node #0,3,0: 24:[3, 8] Operation: 88/11=8 Moving to Node #0,3,0 Current State: 24:[3, 8], Operations: ['93-5=88', '88/11=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
sum_heuristic
[ 8, 84, 29, 54 ]
51
[ "84-8=76", "54-29=25", "76-25=51" ]
Current State: 51:[8, 84, 29, 54], Operations: [] Exploring Operation: 84-8=76, Resulting Numbers: [29, 54, 76] Generated Node #2: [29, 54, 76] from Operation: 84-8=76 Current State: 51:[29, 54, 76], Operations: ['84-8=76'] Exploring Operation: 54-29=25, Resulting Numbers: [76, 25] Generated Node #3: [76, 25] from Operation: 54-29=25 Current State: 51:[76, 25], Operations: ['84-8=76', '54-29=25'] Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 84, 29, 54], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [84, 54, 21] Generated Node #0,0: 51:[84, 54, 21] Operation: 29-8=21 Exploring Operation: 84-54=30, Resulting Numbers: [8, 29, 30] Generated Node #0,1: 51:[8, 29, 30] Operation: 84-54=30 Exploring Operation: 54-29=25, Resulting Numbers: [8, 84, 25] Generated Node #0,2: 51:[8, 84, 25] Operation: 54-29=25 Exploring Operation: 84-29=55, Resulting Numbers: [8, 54, 55] Generated Node #0,3: 51:[8, 54, 55] Operation: 84-29=55 Exploring Operation: 84-8=76, Resulting Numbers: [29, 54, 76] Generated Node #0,4: 51:[29, 54, 76] Operation: 84-8=76 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[8, 54, 55], Operations: ['84-29=55'] Exploring Operation: 54-8=46, Resulting Numbers: [55, 46] Generated Node #0,3,0: 51:[55, 46] Operation: 54-8=46 Exploring Operation: 8+55=63, Resulting Numbers: [54, 63] Generated Node #0,3,1: 51:[54, 63] Operation: 8+55=63 Exploring Operation: 55-8=47, Resulting Numbers: [54, 47] Generated Node #0,3,2: 51:[54, 47] Operation: 55-8=47 Exploring Operation: 55-54=1, Resulting Numbers: [8, 1] Generated Node #0,3,3: 51:[8, 1] Operation: 55-54=1 Exploring Operation: 8+54=62, Resulting Numbers: [55, 62] Generated Node #0,3,4: 51:[55, 62] Operation: 8+54=62 Moving to Node #0,3,2 Current State: 51:[54, 47], Operations: ['84-29=55', '55-8=47'] Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,51 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,51 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[8, 1], Operations: ['84-29=55', '55-54=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[55, 46], Operations: ['84-29=55', '54-8=46'] Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,51 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[54, 63], Operations: ['84-29=55', '8+55=63'] Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[55, 62], Operations: ['84-29=55', '8+54=62'] Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,51 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[8, 29, 30], Operations: ['84-54=30'] Exploring Operation: 8+30=38, Resulting Numbers: [29, 38] Generated Node #0,1,0: 51:[29, 38] Operation: 8+30=38 Exploring Operation: 30-29=1, Resulting Numbers: [8, 1] Generated Node #0,1,1: 51:[8, 1] Operation: 30-29=1 Exploring Operation: 30-8=22, Resulting Numbers: [29, 22] Generated Node #0,1,2: 51:[29, 22] Operation: 30-8=22 Exploring Operation: 29-8=21, Resulting Numbers: [30, 21] Generated Node #0,1,3: 51:[30, 21] Operation: 29-8=21 Exploring Operation: 29+30=59, Resulting Numbers: [8, 59] Generated Node #0,1,4: 51:[8, 59] Operation: 29+30=59 Moving to Node #0,1,1 Current State: 51:[8, 1], Operations: ['84-54=30', '30-29=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[8, 59], Operations: ['84-54=30', '29+30=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[8, 84, 29, 54], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [8, 29, 30] Generated Node #0,1: 51:[8, 29, 30] Operation: 84-54=30 Moving to Node #0,1 Current State: 51:[8, 29, 30], Operations: ['84-54=30'] Exploring Operation: 29+30=59, Resulting Numbers: [8, 59] Generated Node #0,1,4: 51:[8, 59] Operation: 29+30=59 Moving to Node #0,1,4 Current State: 51:[8, 59], Operations: ['84-54=30', '29+30=59'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 43, 82, 96, 86 ]
49
[ "82-43=39", "96-86=10", "39+10=49" ]
Current State: 49:[43, 82, 96, 86], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [96, 86, 39] Generated Node #2: [96, 86, 39] from Operation: 82-43=39 Current State: 49:[96, 86, 39], Operations: ['82-43=39'] Exploring Operation: 96-86=10, Resulting Numbers: [39, 10] Generated Node #3: [39, 10] from Operation: 96-86=10 Current State: 49:[39, 10], Operations: ['82-43=39', '96-86=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[43, 82, 96, 86], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [43, 82, 10] Generated Node #0,0: 49:[43, 82, 10] Operation: 96-86=10 Exploring Operation: 86-82=4, Resulting Numbers: [43, 96, 4] Generated Node #0,1: 49:[43, 96, 4] Operation: 86-82=4 Exploring Operation: 96-43=53, Resulting Numbers: [82, 86, 53] Generated Node #0,2: 49:[82, 86, 53] Operation: 96-43=53 Exploring Operation: 86/43=2, Resulting Numbers: [82, 96, 2] Generated Node #0,3: 49:[82, 96, 2] Operation: 86/43=2 Exploring Operation: 96-82=14, Resulting Numbers: [43, 86, 14] Generated Node #0,4: 49:[43, 86, 14] Operation: 96-82=14 Moving to Node #0,0 Current State: 49:[43, 82, 10], Operations: ['96-86=10'] Exploring Operation: 82-43=39, Resulting Numbers: [10, 39] Generated Node #0,0,0: 49:[10, 39] Operation: 82-43=39 Exploring Operation: 82+10=92, Resulting Numbers: [43, 92] Generated Node #0,0,1: 49:[43, 92] Operation: 82+10=92 Exploring Operation: 82-10=72, Resulting Numbers: [43, 72] Generated Node #0,0,2: 49:[43, 72] Operation: 82-10=72 Exploring Operation: 43-10=33, Resulting Numbers: [82, 33] Generated Node #0,0,3: 49:[82, 33] Operation: 43-10=33 Exploring Operation: 43+10=53, Resulting Numbers: [82, 53] Generated Node #0,0,4: 49:[82, 53] Operation: 43+10=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[10, 39], Operations: ['96-86=10', '82-43=39'] Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,49 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[43, 82, 96, 86], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [43, 82, 10] Generated Node #0,0: 49:[43, 82, 10] Operation: 96-86=10 Moving to Node #0,0 Current State: 49:[43, 82, 10], Operations: ['96-86=10'] Exploring Operation: 82-43=39, Resulting Numbers: [10, 39] Generated Node #0,0,0: 49:[10, 39] Operation: 82-43=39 Moving to Node #0,0,0 Current State: 49:[10, 39], Operations: ['96-86=10', '82-43=39'] Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 59, 45, 70, 2 ]
93
[ "59*2=118", "70-45=25", "118-25=93" ]
Current State: 93:[59, 45, 70, 2], Operations: [] Exploring Operation: 59*2=118, Resulting Numbers: [45, 70, 118] Generated Node #2: [45, 70, 118] from Operation: 59*2=118 Current State: 93:[45, 70, 118], Operations: ['59*2=118'] Exploring Operation: 70-45=25, Resulting Numbers: [118, 25] Generated Node #3: [118, 25] from Operation: 70-45=25 Current State: 93:[118, 25], Operations: ['59*2=118', '70-45=25'] Exploring Operation: 118-25=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[59, 45, 70, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [59, 45, 35] Generated Node #0,0: 93:[59, 45, 35] Operation: 70/2=35 Exploring Operation: 70-59=11, Resulting Numbers: [45, 2, 11] Generated Node #0,1: 93:[45, 2, 11] Operation: 70-59=11 Exploring Operation: 59-45=14, Resulting Numbers: [70, 2, 14] Generated Node #0,2: 93:[70, 2, 14] Operation: 59-45=14 Exploring Operation: 59+45=104, Resulting Numbers: [70, 2, 104] Generated Node #0,3: 93:[70, 2, 104] Operation: 59+45=104 Exploring Operation: 70-45=25, Resulting Numbers: [59, 2, 25] Generated Node #0,4: 93:[59, 2, 25] Operation: 70-45=25 Moving to Node #0,1 Current State: 93:[45, 2, 11], Operations: ['70-59=11'] Exploring Operation: 45-11=34, Resulting Numbers: [2, 34] Generated Node #0,1,0: 93:[2, 34] Operation: 45-11=34 Exploring Operation: 45-2=43, Resulting Numbers: [11, 43] Generated Node #0,1,1: 93:[11, 43] Operation: 45-2=43 Exploring Operation: 11-2=9, Resulting Numbers: [45, 9] Generated Node #0,1,2: 93:[45, 9] Operation: 11-2=9 Exploring Operation: 2*11=22, Resulting Numbers: [45, 22] Generated Node #0,1,3: 93:[45, 22] Operation: 2*11=22 Exploring Operation: 45*2=90, Resulting Numbers: [11, 90] Generated Node #0,1,4: 93:[11, 90] Operation: 45*2=90 Moving to Node #0,3 Current State: 93:[70, 2, 104], Operations: ['59+45=104'] Exploring Operation: 104-70=34, Resulting Numbers: [2, 34] Generated Node #0,3,0: 93:[2, 34] Operation: 104-70=34 Exploring Operation: 104-2=102, Resulting Numbers: [70, 102] Generated Node #0,3,1: 93:[70, 102] Operation: 104-2=102 Exploring Operation: 70+2=72, Resulting Numbers: [104, 72] Generated Node #0,3,2: 93:[104, 72] Operation: 70+2=72 Exploring Operation: 70-2=68, Resulting Numbers: [104, 68] Generated Node #0,3,3: 93:[104, 68] Operation: 70-2=68 Exploring Operation: 70/2=35, Resulting Numbers: [104, 35] Generated Node #0,3,4: 93:[104, 35] Operation: 70/2=35 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[2, 34], Operations: ['59+45=104', '104-70=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,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,3,4 Current State: 93:[104, 35], Operations: ['59+45=104', '70/2=35'] Exploring Operation: 104-35=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 104*35=3640, Resulting Numbers: [3640] 3640,93 unequal: No Solution Exploring Operation: 104+35=139, Resulting Numbers: [139] 139,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,3,1 Current State: 93:[70, 102], Operations: ['59+45=104', '104-2=102'] Exploring Operation: 102-70=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 70+102=172, Resulting Numbers: [172] 172,93 unequal: No Solution Exploring Operation: 70*102=7140, Resulting Numbers: [7140] 7140,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,3,2 Current State: 93:[104, 72], Operations: ['59+45=104', '70+2=72'] Exploring Operation: 104*72=7488, Resulting Numbers: [7488] 7488,93 unequal: No Solution Exploring Operation: 104+72=176, Resulting Numbers: [176] 176,93 unequal: No Solution Exploring Operation: 104-72=32, Resulting Numbers: [32] 32,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,3,3 Current State: 93:[104, 68], Operations: ['59+45=104', '70-2=68'] Exploring Operation: 104+68=172, Resulting Numbers: [172] 172,93 unequal: No Solution Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 104*68=7072, Resulting Numbers: [7072] 7072,93 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: 93:[70, 2, 14], Operations: ['59-45=14'] Exploring Operation: 70/14=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 93:[2, 5] Operation: 70/14=5 Exploring Operation: 70+14=84, Resulting Numbers: [2, 84] Generated Node #0,2,1: 93:[2, 84] Operation: 70+14=84 Exploring Operation: 70-14=56, Resulting Numbers: [2, 56] Generated Node #0,2,2: 93:[2, 56] Operation: 70-14=56 Exploring Operation: 70/2=35, Resulting Numbers: [14, 35] Generated Node #0,2,3: 93:[14, 35] Operation: 70/2=35 Exploring Operation: 2*14=28, Resulting Numbers: [70, 28] Generated Node #0,2,4: 93:[70, 28] Operation: 2*14=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[2, 5], Operations: ['59-45=14', '70/14=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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,2,1 Current State: 93:[2, 84], Operations: ['59-45=14', '70+14=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,93 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,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,2,3 Current State: 93:[14, 35], Operations: ['59-45=14', '70/2=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,93 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,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,2,2 Current State: 93:[2, 56], Operations: ['59-45=14', '70-14=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,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,2,4 Current State: 93:[70, 28], Operations: ['59-45=14', '2*14=28'] Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,93 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,93 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: 93:[59, 2, 25], Operations: ['70-45=25'] Exploring Operation: 59+25=84, Resulting Numbers: [2, 84] Generated Node #0,4,0: 93:[2, 84] Operation: 59+25=84 Exploring Operation: 59-2=57, Resulting Numbers: [25, 57] Generated Node #0,4,1: 93:[25, 57] Operation: 59-2=57 Exploring Operation: 2+25=27, Resulting Numbers: [59, 27] Generated Node #0,4,2: 93:[59, 27] Operation: 2+25=27 Exploring Operation: 59*2=118, Resulting Numbers: [25, 118] Generated Node #0,4,3: 93:[25, 118] Operation: 59*2=118 Exploring Operation: 59-25=34, Resulting Numbers: [2, 34] Generated Node #0,4,4: 93:[2, 34] Operation: 59-25=34 Moving to Node #0,0 Current State: 93:[59, 45, 35], Operations: ['70/2=35'] Exploring Operation: 59+45=104, Resulting Numbers: [35, 104] Generated Node #0,0,0: 93:[35, 104] Operation: 59+45=104 Exploring Operation: 59-45=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 93:[35, 14] Operation: 59-45=14 Exploring Operation: 59-35=24, Resulting Numbers: [45, 24] Generated Node #0,0,2: 93:[45, 24] Operation: 59-35=24 Exploring Operation: 45-35=10, Resulting Numbers: [59, 10] Generated Node #0,0,3: 93:[59, 10] Operation: 45-35=10 Exploring Operation: 59+35=94, Resulting Numbers: [45, 94] Generated Node #0,0,4: 93:[45, 94] Operation: 59+35=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[35, 104], Operations: ['70/2=35', '59+45=104'] Exploring Operation: 35+104=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 104-35=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 35*104=3640, Resulting Numbers: [3640] 3640,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,0,1 Current State: 93:[35, 14], Operations: ['70/2=35', '59-45=14'] Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,93 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,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,0,4 Current State: 93:[45, 94], Operations: ['70/2=35', '59+35=94'] Exploring Operation: 45+94=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 45*94=4230, Resulting Numbers: [4230] 4230,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,0,2 Current State: 93:[45, 24], Operations: ['70/2=35', '59-35=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,93 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,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,0,3 Current State: 93:[59, 10], Operations: ['70/2=35', '45-35=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,93 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: 93:[2, 34], Operations: ['70-59=11', '45-11=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[2, 34], Operations: ['70-45=25', '59-25=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[2, 84], Operations: ['70-45=25', '59+25=84'] Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,93 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[11, 90], Operations: ['70-59=11', '45*2=90'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,93 unequal: No Solution Exploring Operation: 11+90=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 11*90=990, Resulting Numbers: [990] 990,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[11, 43], Operations: ['70-59=11', '45-2=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[45, 9], Operations: ['70-59=11', '11-2=9'] Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,93 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[45, 22], Operations: ['70-59=11', '2*11=22'] Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,93 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,93 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[25, 118], Operations: ['70-45=25', '59*2=118'] Exploring Operation: 118-25=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[59, 45, 70, 2], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [59, 2, 25] Generated Node #0,4: 93:[59, 2, 25] Operation: 70-45=25 Moving to Node #0,4 Current State: 93:[59, 2, 25], Operations: ['70-45=25'] Exploring Operation: 59*2=118, Resulting Numbers: [25, 118] Generated Node #0,4,3: 93:[25, 118] Operation: 59*2=118 Moving to Node #0,4,3 Current State: 93:[25, 118], Operations: ['70-45=25', '59*2=118'] Exploring Operation: 118-25=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.90625
hs_5
sum_heuristic
[ 2, 21, 84, 54 ]
14
[ "2+54=56", "84/21=4", "56/4=14" ]
Current State: 14:[2, 21, 84, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [21, 84, 56] Generated Node #2: [21, 84, 56] from Operation: 2+54=56 Current State: 14:[21, 84, 56], Operations: ['2+54=56'] Exploring Operation: 84/21=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 84/21=4 Current State: 14:[56, 4], Operations: ['2+54=56', '84/21=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[2, 21, 84, 54], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [2, 54, 4] Generated Node #0,0: 14:[2, 54, 4] Operation: 84/21=4 Exploring Operation: 84-54=30, Resulting Numbers: [2, 21, 30] Generated Node #0,1: 14:[2, 21, 30] Operation: 84-54=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[2, 21, 30], Operations: ['84-54=30'] Exploring Operation: 30-21=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 14:[2, 9] Operation: 30-21=9 Exploring Operation: 30/2=15, Resulting Numbers: [21, 15] Generated Node #0,1,1: 14:[21, 15] Operation: 30/2=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[2, 9], Operations: ['84-54=30', '30-21=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[21, 15], Operations: ['84-54=30', '30/2=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,14 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: 14:[2, 54, 4], Operations: ['84/21=4'] Exploring Operation: 54-4=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 14:[2, 50] Operation: 54-4=50 Exploring Operation: 54/2=27, Resulting Numbers: [4, 27] Generated Node #0,0,1: 14:[4, 27] Operation: 54/2=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[4, 27], Operations: ['84/21=4', '54/2=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[2, 50], Operations: ['84/21=4', '54-4=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,14 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
[ 85, 51, 71, 2 ]
35
[ "85-51=34", "71-2=69", "69-34=35" ]
Current State: 35:[85, 51, 71, 2], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [71, 2, 34] Generated Node #2: [71, 2, 34] from Operation: 85-51=34 Current State: 35:[71, 2, 34], Operations: ['85-51=34'] Exploring Operation: 71-2=69, Resulting Numbers: [34, 69] Generated Node #3: [34, 69] from Operation: 71-2=69 Current State: 35:[34, 69], Operations: ['85-51=34', '71-2=69'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[85, 51, 71, 2], Operations: [] Exploring Operation: 85-51=34, Resulting Numbers: [71, 2, 34] Generated Node #0,0: 35:[71, 2, 34] Operation: 85-51=34 Exploring Operation: 85-71=14, Resulting Numbers: [51, 2, 14] Generated Node #0,1: 35:[51, 2, 14] Operation: 85-71=14 Exploring Operation: 85-2=83, Resulting Numbers: [51, 71, 83] Generated Node #0,2: 35:[51, 71, 83] Operation: 85-2=83 Exploring Operation: 71-51=20, Resulting Numbers: [85, 2, 20] Generated Node #0,3: 35:[85, 2, 20] Operation: 71-51=20 Moving to Node #0,1 Current State: 35:[51, 2, 14], Operations: ['85-71=14'] Exploring Operation: 14-2=12, Resulting Numbers: [51, 12] Generated Node #0,1,0: 35:[51, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [51, 7] Generated Node #0,1,1: 35:[51, 7] Operation: 14/2=7 Exploring Operation: 51-14=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 35:[2, 37] Operation: 51-14=37 Exploring Operation: 51-2=49, Resulting Numbers: [14, 49] Generated Node #0,1,3: 35:[14, 49] Operation: 51-2=49 Moving to Node #0,0 Current State: 35:[71, 2, 34], Operations: ['85-51=34'] Exploring Operation: 71-34=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 35:[2, 37] Operation: 71-34=37 Exploring Operation: 71-2=69, Resulting Numbers: [34, 69] Generated Node #0,0,1: 35:[34, 69] Operation: 71-2=69 Exploring Operation: 2+34=36, Resulting Numbers: [71, 36] Generated Node #0,0,2: 35:[71, 36] Operation: 2+34=36 Exploring Operation: 71+2=73, Resulting Numbers: [34, 73] Generated Node #0,0,3: 35:[34, 73] Operation: 71+2=73 Moving to Node #0,3 Current State: 35:[85, 2, 20], Operations: ['71-51=20'] Exploring Operation: 20/2=10, Resulting Numbers: [85, 10] Generated Node #0,3,0: 35:[85, 10] Operation: 20/2=10 Exploring Operation: 85-2=83, Resulting Numbers: [20, 83] Generated Node #0,3,1: 35:[20, 83] Operation: 85-2=83 Exploring Operation: 2*20=40, Resulting Numbers: [85, 40] Generated Node #0,3,2: 35:[85, 40] Operation: 2*20=40 Exploring Operation: 85-20=65, Resulting Numbers: [2, 65] Generated Node #0,3,3: 35:[2, 65] Operation: 85-20=65 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[2, 65], Operations: ['71-51=20', '85-20=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,35 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,35 unequal: No Solution No 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: 35:[85, 10], Operations: ['71-51=20', '20/2=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,35 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,35 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,35 unequal: No Solution No 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: 35:[85, 40], Operations: ['71-51=20', '2*20=40'] Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,35 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,35 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,35 unequal: No Solution No 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: 35:[20, 83], Operations: ['71-51=20', '85-2=83'] Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,35 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,35 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: 35:[51, 71, 83], Operations: ['85-2=83'] Exploring Operation: 83-51=32, Resulting Numbers: [71, 32] Generated Node #0,2,0: 35:[71, 32] Operation: 83-51=32 Exploring Operation: 83-71=12, Resulting Numbers: [51, 12] Generated Node #0,2,1: 35:[51, 12] Operation: 83-71=12 Exploring Operation: 51+71=122, Resulting Numbers: [83, 122] Generated Node #0,2,2: 35:[83, 122] Operation: 51+71=122 Exploring Operation: 71-51=20, Resulting Numbers: [83, 20] Generated Node #0,2,3: 35:[83, 20] Operation: 71-51=20 Moving to Node #0,1,2 Current State: 35:[2, 37], Operations: ['85-71=14', '51-14=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[85, 51, 71, 2], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [51, 2, 14] Generated Node #0,1: 35:[51, 2, 14] Operation: 85-71=14 Moving to Node #0,1 Current State: 35:[51, 2, 14], Operations: ['85-71=14'] Exploring Operation: 51-14=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 35:[2, 37] Operation: 51-14=37 Moving to Node #0,1,2 Current State: 35:[2, 37], Operations: ['85-71=14', '51-14=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 56, 41, 53, 62 ]
100
[ "56-41=15", "53+62=115", "115-15=100" ]
Current State: 100:[56, 41, 53, 62], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [53, 62, 15] Generated Node #2: [53, 62, 15] from Operation: 56-41=15 Current State: 100:[53, 62, 15], Operations: ['56-41=15'] Exploring Operation: 53+62=115, Resulting Numbers: [15, 115] Generated Node #3: [15, 115] from Operation: 53+62=115 Current State: 100:[15, 115], Operations: ['56-41=15', '53+62=115'] Exploring Operation: 115-15=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[56, 41, 53, 62], Operations: [] Exploring Operation: 62-56=6, Resulting Numbers: [41, 53, 6] Generated Node #0,0: 100:[41, 53, 6] Operation: 62-56=6 Exploring Operation: 41+62=103, Resulting Numbers: [56, 53, 103] Generated Node #0,1: 100:[56, 53, 103] Operation: 41+62=103 Exploring Operation: 62-41=21, Resulting Numbers: [56, 53, 21] Generated Node #0,2: 100:[56, 53, 21] Operation: 62-41=21 Moving to Node #0,2 Current State: 100:[56, 53, 21], Operations: ['62-41=21'] Exploring Operation: 56-53=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 100:[21, 3] Operation: 56-53=3 Exploring Operation: 56-21=35, Resulting Numbers: [53, 35] Generated Node #0,2,1: 100:[53, 35] Operation: 56-21=35 Exploring Operation: 56+53=109, Resulting Numbers: [21, 109] Generated Node #0,2,2: 100:[21, 109] Operation: 56+53=109 Moving to Node #0,1 Current State: 100:[56, 53, 103], Operations: ['41+62=103'] Exploring Operation: 103-53=50, Resulting Numbers: [56, 50] Generated Node #0,1,0: 100:[56, 50] Operation: 103-53=50 Exploring Operation: 56-53=3, Resulting Numbers: [103, 3] Generated Node #0,1,1: 100:[103, 3] Operation: 56-53=3 Exploring Operation: 103-56=47, Resulting Numbers: [53, 47] Generated Node #0,1,2: 100:[53, 47] Operation: 103-56=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[103, 3], Operations: ['41+62=103', '56-53=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[56, 41, 53, 62], Operations: [] Exploring Operation: 41+62=103, Resulting Numbers: [56, 53, 103] Generated Node #0,1: 100:[56, 53, 103] Operation: 41+62=103 Moving to Node #0,1 Current State: 100:[56, 53, 103], Operations: ['41+62=103'] Exploring Operation: 56-53=3, Resulting Numbers: [103, 3] Generated Node #0,1,1: 100:[103, 3] Operation: 56-53=3 Moving to Node #0,1,1 Current State: 100:[103, 3], Operations: ['41+62=103', '56-53=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 71, 3, 46, 71 ]
96
[ "71*3=213", "46+71=117", "213-117=96" ]
Current State: 96:[71, 3, 46, 71], Operations: [] Exploring Operation: 71*3=213, Resulting Numbers: [46, 213] Generated Node #2: [46, 213] from Operation: 71*3=213 Current State: 96:[46, 213], Operations: ['71*3=213'] Exploring Operation: 46+71=117, Resulting Numbers: [213, 117] Generated Node #3: [213, 117] from Operation: 46+71=117 Current State: 96:[213, 117], Operations: ['71*3=213', '46+71=117'] Exploring Operation: 213-117=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[71, 3, 46, 71], Operations: [] Exploring Operation: 71/71=1, Resulting Numbers: [3, 46, 1] Generated Node #0,0: 96:[3, 46, 1] Operation: 71/71=1 Exploring Operation: 71-46=25, Resulting Numbers: [3, 71, 25] Generated Node #0,1: 96:[3, 71, 25] Operation: 71-46=25 Exploring Operation: 71-46=25, Resulting Numbers: [71, 3, 25] Generated Node #0,2: 96:[71, 3, 25] Operation: 71-46=25 Exploring Operation: 71-71=0, Resulting Numbers: [3, 46, 0] Generated Node #0,3: 96:[3, 46, 0] Operation: 71-71=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[3, 46, 1], Operations: ['71/71=1'] Exploring Operation: 46+1=47, Resulting Numbers: [3, 47] Generated Node #0,0,0: 96:[3, 47] Operation: 46+1=47 Exploring Operation: 3+46=49, Resulting Numbers: [1, 49] Generated Node #0,0,1: 96:[1, 49] Operation: 3+46=49 Exploring Operation: 3+1=4, Resulting Numbers: [46, 4] Generated Node #0,0,2: 96:[46, 4] Operation: 3+1=4 Exploring Operation: 3*1=3, Resulting Numbers: [46, 3] Generated Node #0,0,3: 96:[46, 3] Operation: 3*1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[3, 47], Operations: ['71/71=1', '46+1=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,96 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[1, 49], Operations: ['71/71=1', '3+46=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 1+49=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[46, 4], Operations: ['71/71=1', '3+1=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[46, 3], Operations: ['71/71=1', '3*1=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[3, 46, 0], Operations: ['71-71=0'] Exploring Operation: 3-0=3, Resulting Numbers: [46, 3] Generated Node #0,3,0: 96:[46, 3] Operation: 3-0=3 Exploring Operation: 46+0=46, Resulting Numbers: [3, 46] Generated Node #0,3,1: 96:[3, 46] Operation: 46+0=46 Exploring Operation: 46*0=0, Resulting Numbers: [3, 0] Generated Node #0,3,2: 96:[3, 0] Operation: 46*0=0 Exploring Operation: 3+0=3, Resulting Numbers: [46, 3] Generated Node #0,3,3: 96:[46, 3] Operation: 3+0=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[46, 3], Operations: ['71-71=0', '3-0=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[3, 46], Operations: ['71-71=0', '46+0=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,96 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[3, 0], Operations: ['71-71=0', '46*0=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[46, 3], Operations: ['71-71=0', '3+0=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[3, 71, 25], Operations: ['71-46=25'] Exploring Operation: 71+25=96, Resulting Numbers: [3, 96] Generated Node #0,1,0: 96:[3, 96] Operation: 71+25=96 Exploring Operation: 71-3=68, Resulting Numbers: [25, 68] Generated Node #0,1,1: 96:[25, 68] Operation: 71-3=68 Exploring Operation: 71-25=46, Resulting Numbers: [3, 46] Generated Node #0,1,2: 96:[3, 46] Operation: 71-25=46 Exploring Operation: 3+71=74, Resulting Numbers: [25, 74] Generated Node #0,1,3: 96:[25, 74] Operation: 3+71=74 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[3, 96], Operations: ['71-46=25', '71+25=96'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 3*96=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[3, 46], Operations: ['71-46=25', '71-25=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[25, 68], Operations: ['71-46=25', '71-3=68'] Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,96 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 96:[25, 74], Operations: ['71-46=25', '3+71=74'] Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,96 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[71, 3, 25], Operations: ['71-46=25'] Exploring Operation: 71-3=68, Resulting Numbers: [25, 68] Generated Node #0,2,0: 96:[25, 68] Operation: 71-3=68 Exploring Operation: 71+3=74, Resulting Numbers: [25, 74] Generated Node #0,2,1: 96:[25, 74] Operation: 71+3=74 Exploring Operation: 71-25=46, Resulting Numbers: [3, 46] Generated Node #0,2,2: 96:[3, 46] Operation: 71-25=46 Exploring Operation: 71+25=96, Resulting Numbers: [3, 96] Generated Node #0,2,3: 96:[3, 96] Operation: 71+25=96 Moving to Node #0,2,3 Current State: 96:[3, 96], Operations: ['71-46=25', '71+25=96'] Exploring Operation: 3*96=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[3, 46], Operations: ['71-46=25', '71-25=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[25, 68], Operations: ['71-46=25', '71-3=68'] Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[25, 74], Operations: ['71-46=25', '71+3=74'] Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 13, 6, 82, 16 ]
84
[ "16-13=3", "6/3=2", "82+2=84" ]
Current State: 84:[13, 6, 82, 16], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [6, 82, 3] Generated Node #2: [6, 82, 3] from Operation: 16-13=3 Current State: 84:[6, 82, 3], Operations: ['16-13=3'] Exploring Operation: 6/3=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 6/3=2 Current State: 84:[82, 2], Operations: ['16-13=3', '6/3=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[13, 6, 82, 16], Operations: [] Exploring Operation: 13+16=29, Resulting Numbers: [6, 82, 29] Generated Node #0,0: 84:[6, 82, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [6, 82, 3] Generated Node #0,1: 84:[6, 82, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[6, 82, 3], Operations: ['16-13=3'] Exploring Operation: 82+3=85, Resulting Numbers: [6, 85] Generated Node #0,1,0: 84:[6, 85] Operation: 82+3=85 Exploring Operation: 6-3=3, Resulting Numbers: [82, 3] Generated Node #0,1,1: 84:[82, 3] Operation: 6-3=3 Moving to Node #0,1,0 Current State: 84:[6, 85], Operations: ['16-13=3', '82+3=85'] Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[82, 3], Operations: ['16-13=3', '6-3=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,84 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,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 Current State: 84:[6, 82, 29], Operations: ['13+16=29'] Exploring Operation: 29-6=23, Resulting Numbers: [82, 23] Generated Node #0,0,0: 84:[82, 23] Operation: 29-6=23 Exploring Operation: 6+82=88, Resulting Numbers: [29, 88] Generated Node #0,0,1: 84:[29, 88] Operation: 6+82=88 Moving to Node #0,0,0 Current State: 84:[82, 23], Operations: ['13+16=29', '29-6=23'] Exploring Operation: 82+23=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[29, 88], Operations: ['13+16=29', '6+82=88'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 29+88=117, Resulting Numbers: [117] 117,84 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
[ 30, 6, 90, 15 ]
51
[ "30-6=24", "90-15=75", "75-24=51" ]
Current State: 51:[30, 6, 90, 15], Operations: [] Exploring Operation: 30-6=24, Resulting Numbers: [90, 15, 24] Generated Node #2: [90, 15, 24] from Operation: 30-6=24 Current State: 51:[90, 15, 24], Operations: ['30-6=24'] Exploring Operation: 90-15=75, Resulting Numbers: [24, 75] Generated Node #3: [24, 75] from Operation: 90-15=75 Current State: 51:[24, 75], Operations: ['30-6=24', '90-15=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[30, 6, 90, 15], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [6, 15, 3] Generated Node #0,0: 51:[6, 15, 3] Operation: 90/30=3 Exploring Operation: 90-30=60, Resulting Numbers: [6, 15, 60] Generated Node #0,1: 51:[6, 15, 60] Operation: 90-30=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[6, 15, 3], Operations: ['90/30=3'] Exploring Operation: 6-3=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 51:[15, 3] Operation: 6-3=3 Exploring Operation: 6*3=18, Resulting Numbers: [15, 18] Generated Node #0,0,1: 51:[15, 18] Operation: 6*3=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[15, 3], Operations: ['90/30=3', '6-3=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[15, 18], Operations: ['90/30=3', '6*3=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,51 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[6, 15, 60], Operations: ['90-30=60'] Exploring Operation: 60/15=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 51:[6, 4] Operation: 60/15=4 Exploring Operation: 60-6=54, Resulting Numbers: [15, 54] Generated Node #0,1,1: 51:[15, 54] Operation: 60-6=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[6, 4], Operations: ['90-30=60', '60/15=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[15, 54], Operations: ['90-30=60', '60-6=54'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 46, 58, 72, 45 ]
39
[ "58-46=12", "72-45=27", "12+27=39" ]
Current State: 39:[46, 58, 72, 45], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [72, 45, 12] Generated Node #2: [72, 45, 12] from Operation: 58-46=12 Current State: 39:[72, 45, 12], Operations: ['58-46=12'] Exploring Operation: 72-45=27, Resulting Numbers: [12, 27] Generated Node #3: [12, 27] from Operation: 72-45=27 Current State: 39:[12, 27], Operations: ['58-46=12', '72-45=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[46, 58, 72, 45], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [72, 45, 12] Generated Node #0,0: 39:[72, 45, 12] Operation: 58-46=12 Exploring Operation: 72-58=14, Resulting Numbers: [46, 45, 14] Generated Node #0,1: 39:[46, 45, 14] Operation: 72-58=14 Exploring Operation: 72-46=26, Resulting Numbers: [58, 45, 26] Generated Node #0,2: 39:[58, 45, 26] Operation: 72-46=26 Exploring Operation: 72-45=27, Resulting Numbers: [46, 58, 27] Generated Node #0,3: 39:[46, 58, 27] Operation: 72-45=27 Moving to Node #0,1 Current State: 39:[46, 45, 14], Operations: ['72-58=14'] Exploring Operation: 46+14=60, Resulting Numbers: [45, 60] Generated Node #0,1,0: 39:[45, 60] Operation: 46+14=60 Exploring Operation: 46-14=32, Resulting Numbers: [45, 32] Generated Node #0,1,1: 39:[45, 32] Operation: 46-14=32 Exploring Operation: 45-14=31, Resulting Numbers: [46, 31] Generated Node #0,1,2: 39:[46, 31] Operation: 45-14=31 Exploring Operation: 46-45=1, Resulting Numbers: [14, 1] Generated Node #0,1,3: 39:[14, 1] Operation: 46-45=1 Moving to Node #0,3 Current State: 39:[46, 58, 27], Operations: ['72-45=27'] Exploring Operation: 58-27=31, Resulting Numbers: [46, 31] Generated Node #0,3,0: 39:[46, 31] Operation: 58-27=31 Exploring Operation: 58-46=12, Resulting Numbers: [27, 12] Generated Node #0,3,1: 39:[27, 12] Operation: 58-46=12 Exploring Operation: 46-27=19, Resulting Numbers: [58, 19] Generated Node #0,3,2: 39:[58, 19] Operation: 46-27=19 Exploring Operation: 46+27=73, Resulting Numbers: [58, 73] Generated Node #0,3,3: 39:[58, 73] Operation: 46+27=73 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[27, 12], Operations: ['72-45=27', '58-46=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[46, 58, 72, 45], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [46, 58, 27] Generated Node #0,3: 39:[46, 58, 27] Operation: 72-45=27 Moving to Node #0,3 Current State: 39:[46, 58, 27], Operations: ['72-45=27'] Exploring Operation: 58-46=12, Resulting Numbers: [27, 12] Generated Node #0,3,1: 39:[27, 12] Operation: 58-46=12 Moving to Node #0,3,1 Current State: 39:[27, 12], Operations: ['72-45=27', '58-46=12'] Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 56, 39, 21, 8 ]
59
[ "21-8=13", "39/13=3", "56+3=59" ]
Current State: 59:[56, 39, 21, 8], Operations: [] Exploring Operation: 21-8=13, Resulting Numbers: [56, 39, 13] Generated Node #2: [56, 39, 13] from Operation: 21-8=13 Current State: 59:[56, 39, 13], Operations: ['21-8=13'] Exploring Operation: 39/13=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 39/13=3 Current State: 59:[56, 3], Operations: ['21-8=13', '39/13=3'] Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[56, 39, 21, 8], Operations: [] Exploring Operation: 21+8=29, Resulting Numbers: [56, 39, 29] Generated Node #0,0: 59:[56, 39, 29] Operation: 21+8=29 Exploring Operation: 39+21=60, Resulting Numbers: [56, 8, 60] Generated Node #0,1: 59:[56, 8, 60] Operation: 39+21=60 Exploring Operation: 39+8=47, Resulting Numbers: [56, 21, 47] Generated Node #0,2: 59:[56, 21, 47] Operation: 39+8=47 Moving to Node #0,0 Current State: 59:[56, 39, 29], Operations: ['21+8=29'] Exploring Operation: 56-29=27, Resulting Numbers: [39, 27] Generated Node #0,0,0: 59:[39, 27] Operation: 56-29=27 Exploring Operation: 39+29=68, Resulting Numbers: [56, 68] Generated Node #0,0,1: 59:[56, 68] Operation: 39+29=68 Exploring Operation: 56+29=85, Resulting Numbers: [39, 85] Generated Node #0,0,2: 59:[39, 85] Operation: 56+29=85 Moving to Node #0,2 Current State: 59:[56, 21, 47], Operations: ['39+8=47'] Exploring Operation: 21+47=68, Resulting Numbers: [56, 68] Generated Node #0,2,0: 59:[56, 68] Operation: 21+47=68 Exploring Operation: 56+21=77, Resulting Numbers: [47, 77] Generated Node #0,2,1: 59:[47, 77] Operation: 56+21=77 Exploring Operation: 56-21=35, Resulting Numbers: [47, 35] Generated Node #0,2,2: 59:[47, 35] Operation: 56-21=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[56, 68], Operations: ['39+8=47', '21+47=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,59 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[47, 77], Operations: ['39+8=47', '56+21=77'] Exploring Operation: 47*77=3619, Resulting Numbers: [3619] 3619,59 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 47+77=124, Resulting Numbers: [124] 124,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[47, 35], Operations: ['39+8=47', '56-21=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[56, 8, 60], Operations: ['39+21=60'] Exploring Operation: 60-8=52, Resulting Numbers: [56, 52] Generated Node #0,1,0: 59:[56, 52] Operation: 60-8=52 Exploring Operation: 56+8=64, Resulting Numbers: [60, 64] Generated Node #0,1,1: 59:[60, 64] Operation: 56+8=64 Exploring Operation: 56-8=48, Resulting Numbers: [60, 48] Generated Node #0,1,2: 59:[60, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[60, 64], Operations: ['39+21=60', '56+8=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,59 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[56, 52], Operations: ['39+21=60', '60-8=52'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[60, 48], Operations: ['39+21=60', '56-8=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 60*48=2880, Resulting Numbers: [2880] 2880,59 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 59:[56, 68], Operations: ['21+8=29', '39+29=68'] Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,59 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[39, 85], Operations: ['21+8=29', '56+29=85'] Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 39+85=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 39*85=3315, Resulting Numbers: [3315] 3315,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[39, 27], Operations: ['21+8=29', '56-29=27'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,59 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 20, 7, 61, 2 ]
24
[ "20-7=13", "61-13=48", "48/2=24" ]
Current State: 24:[20, 7, 61, 2], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [61, 2, 13] Generated Node #2: [61, 2, 13] from Operation: 20-7=13 Current State: 24:[61, 2, 13], Operations: ['20-7=13'] Exploring Operation: 61-13=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 61-13=48 Current State: 24:[2, 48], Operations: ['20-7=13', '61-13=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[20, 7, 61, 2], Operations: [] Exploring Operation: 20+7=27, Resulting Numbers: [61, 2, 27] Generated Node #0,0: 24:[61, 2, 27] Operation: 20+7=27 Exploring Operation: 61-20=41, Resulting Numbers: [7, 2, 41] Generated Node #0,1: 24:[7, 2, 41] Operation: 61-20=41 Exploring Operation: 61-7=54, Resulting Numbers: [20, 2, 54] Generated Node #0,2: 24:[20, 2, 54] Operation: 61-7=54 Exploring Operation: 20-7=13, Resulting Numbers: [61, 2, 13] Generated Node #0,3: 24:[61, 2, 13] Operation: 20-7=13 Exploring Operation: 20+2=22, Resulting Numbers: [7, 61, 22] Generated Node #0,4: 24:[7, 61, 22] Operation: 20+2=22 Moving to Node #0,1 Current State: 24:[7, 2, 41], Operations: ['61-20=41'] Exploring Operation: 7-2=5, Resulting Numbers: [41, 5] Generated Node #0,1,0: 24:[41, 5] Operation: 7-2=5 Exploring Operation: 7+2=9, Resulting Numbers: [41, 9] Generated Node #0,1,1: 24:[41, 9] Operation: 7+2=9 Exploring Operation: 41-7=34, Resulting Numbers: [2, 34] Generated Node #0,1,2: 24:[2, 34] Operation: 41-7=34 Exploring Operation: 7*2=14, Resulting Numbers: [41, 14] Generated Node #0,1,3: 24:[41, 14] Operation: 7*2=14 Exploring Operation: 41-2=39, Resulting Numbers: [7, 39] Generated Node #0,1,4: 24:[7, 39] Operation: 41-2=39 Moving to Node #0,2 Current State: 24:[20, 2, 54], Operations: ['61-7=54'] Exploring Operation: 20/2=10, Resulting Numbers: [54, 10] Generated Node #0,2,0: 24:[54, 10] Operation: 20/2=10 Exploring Operation: 20+2=22, Resulting Numbers: [54, 22] Generated Node #0,2,1: 24:[54, 22] Operation: 20+2=22 Exploring Operation: 54-20=34, Resulting Numbers: [2, 34] Generated Node #0,2,2: 24:[2, 34] Operation: 54-20=34 Exploring Operation: 54/2=27, Resulting Numbers: [20, 27] Generated Node #0,2,3: 24:[20, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [20, 52] Generated Node #0,2,4: 24:[20, 52] Operation: 54-2=52 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[20, 27], Operations: ['61-7=54', '54/2=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,24 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[2, 34], Operations: ['61-7=54', '54-20=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[54, 10], Operations: ['61-7=54', '20/2=10'] Exploring Operation: 54*10=540, Resulting Numbers: [540] 540,24 unequal: No Solution Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[54, 22], Operations: ['61-7=54', '20+2=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,24 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,24 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[20, 52], Operations: ['61-7=54', '54-2=52'] Exploring Operation: 20+52=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 20*52=1040, Resulting Numbers: [1040] 1040,24 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,24 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: 24:[61, 2, 13], Operations: ['20-7=13'] Exploring Operation: 61-13=48, Resulting Numbers: [2, 48] Generated Node #0,3,0: 24:[2, 48] Operation: 61-13=48 Exploring Operation: 13-2=11, Resulting Numbers: [61, 11] Generated Node #0,3,1: 24:[61, 11] Operation: 13-2=11 Exploring Operation: 61+2=63, Resulting Numbers: [13, 63] Generated Node #0,3,2: 24:[13, 63] Operation: 61+2=63 Exploring Operation: 2*13=26, Resulting Numbers: [61, 26] Generated Node #0,3,3: 24:[61, 26] Operation: 2*13=26 Exploring Operation: 61-2=59, Resulting Numbers: [13, 59] Generated Node #0,3,4: 24:[13, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[2, 48], Operations: ['20-7=13', '61-13=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[20, 7, 61, 2], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [61, 2, 13] Generated Node #0,3: 24:[61, 2, 13] Operation: 20-7=13 Moving to Node #0,3 Current State: 24:[61, 2, 13], Operations: ['20-7=13'] Exploring Operation: 61-13=48, Resulting Numbers: [2, 48] Generated Node #0,3,0: 24:[2, 48] Operation: 61-13=48 Moving to Node #0,3,0 Current State: 24:[2, 48], Operations: ['20-7=13', '61-13=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 36, 32, 80, 10 ]
61
[ "80*10=800", "800/32=25", "36+25=61" ]
Current State: 61:[36, 32, 80, 10], Operations: [] Exploring Operation: 80*10=800, Resulting Numbers: [36, 32, 800] Generated Node #2: [36, 32, 800] from Operation: 80*10=800 Current State: 61:[36, 32, 800], Operations: ['80*10=800'] Exploring Operation: 800/32=25, Resulting Numbers: [36, 25] Generated Node #3: [36, 25] from Operation: 800/32=25 Current State: 61:[36, 25], Operations: ['80*10=800', '800/32=25'] Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[36, 32, 80, 10], Operations: [] Exploring Operation: 36+10=46, Resulting Numbers: [32, 80, 46] Generated Node #0,0: 61:[32, 80, 46] Operation: 36+10=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[32, 80, 46], Operations: ['36+10=46'] Exploring Operation: 80-32=48, Resulting Numbers: [46, 48] Generated Node #0,0,0: 61:[46, 48] Operation: 80-32=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[46, 48], Operations: ['36+10=46', '80-32=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 9, 90, 47 ]
51
[ "14+47=61", "90/9=10", "61-10=51" ]
Current State: 51:[14, 9, 90, 47], Operations: [] Exploring Operation: 14+47=61, Resulting Numbers: [9, 90, 61] Generated Node #2: [9, 90, 61] from Operation: 14+47=61 Current State: 51:[9, 90, 61], Operations: ['14+47=61'] Exploring Operation: 90/9=10, Resulting Numbers: [61, 10] Generated Node #3: [61, 10] from Operation: 90/9=10 Current State: 51:[61, 10], Operations: ['14+47=61', '90/9=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[14, 9, 90, 47], Operations: [] Exploring Operation: 14-9=5, Resulting Numbers: [90, 47, 5] Generated Node #0,0: 51:[90, 47, 5] Operation: 14-9=5 Exploring Operation: 90-9=81, Resulting Numbers: [14, 47, 81] Generated Node #0,1: 51:[14, 47, 81] Operation: 90-9=81 Exploring Operation: 90-47=43, Resulting Numbers: [14, 9, 43] Generated Node #0,2: 51:[14, 9, 43] Operation: 90-47=43 Exploring Operation: 90-14=76, Resulting Numbers: [9, 47, 76] Generated Node #0,3: 51:[9, 47, 76] Operation: 90-14=76 Exploring Operation: 90/9=10, Resulting Numbers: [14, 47, 10] Generated Node #0,4: 51:[14, 47, 10] Operation: 90/9=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[14, 47, 10], Operations: ['90/9=10'] Exploring Operation: 14+10=24, Resulting Numbers: [47, 24] Generated Node #0,4,0: 51:[47, 24] Operation: 14+10=24 Exploring Operation: 14-10=4, Resulting Numbers: [47, 4] Generated Node #0,4,1: 51:[47, 4] Operation: 14-10=4 Exploring Operation: 14+47=61, Resulting Numbers: [10, 61] Generated Node #0,4,2: 51:[10, 61] Operation: 14+47=61 Exploring Operation: 47+10=57, Resulting Numbers: [14, 57] Generated Node #0,4,3: 51:[14, 57] Operation: 47+10=57 Exploring Operation: 47-10=37, Resulting Numbers: [14, 37] Generated Node #0,4,4: 51:[14, 37] Operation: 47-10=37 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 51:[47, 4], Operations: ['90/9=10', '14-10=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[14, 9, 90, 47], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [14, 47, 10] Generated Node #0,4: 51:[14, 47, 10] Operation: 90/9=10 Moving to Node #0,4 Current State: 51:[14, 47, 10], Operations: ['90/9=10'] Exploring Operation: 14-10=4, Resulting Numbers: [47, 4] Generated Node #0,4,1: 51:[47, 4] Operation: 14-10=4 Moving to Node #0,4,1 Current State: 51:[47, 4], Operations: ['90/9=10', '14-10=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 92, 33, 47, 52 ]
25
[ "92+33=125", "52-47=5", "125/5=25" ]
Current State: 25:[92, 33, 47, 52], Operations: [] Exploring Operation: 92+33=125, Resulting Numbers: [47, 52, 125] Generated Node #2: [47, 52, 125] from Operation: 92+33=125 Current State: 25:[47, 52, 125], Operations: ['92+33=125'] Exploring Operation: 52-47=5, Resulting Numbers: [125, 5] Generated Node #3: [125, 5] from Operation: 52-47=5 Current State: 25:[125, 5], Operations: ['92+33=125', '52-47=5'] Exploring Operation: 125/5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[92, 33, 47, 52], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [92, 33, 5] Generated Node #0,0: 25:[92, 33, 5] Operation: 52-47=5 Exploring Operation: 92-52=40, Resulting Numbers: [33, 47, 40] Generated Node #0,1: 25:[33, 47, 40] Operation: 92-52=40 Exploring Operation: 92-47=45, Resulting Numbers: [33, 52, 45] Generated Node #0,2: 25:[33, 52, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[33, 47, 40], Operations: ['92-52=40'] Exploring Operation: 40-33=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 25:[47, 7] Operation: 40-33=7 Exploring Operation: 47-33=14, Resulting Numbers: [40, 14] Generated Node #0,1,1: 25:[40, 14] Operation: 47-33=14 Exploring Operation: 47-40=7, Resulting Numbers: [33, 7] Generated Node #0,1,2: 25:[33, 7] Operation: 47-40=7 Moving to Node #0,1,2 Current State: 25:[33, 7], Operations: ['92-52=40', '47-40=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[47, 7], Operations: ['92-52=40', '40-33=7'] Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,25 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[40, 14], Operations: ['92-52=40', '47-33=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,25 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[33, 52, 45], Operations: ['92-47=45'] Exploring Operation: 45-33=12, Resulting Numbers: [52, 12] Generated Node #0,2,0: 25:[52, 12] Operation: 45-33=12 Exploring Operation: 52-45=7, Resulting Numbers: [33, 7] Generated Node #0,2,1: 25:[33, 7] Operation: 52-45=7 Exploring Operation: 52-33=19, Resulting Numbers: [45, 19] Generated Node #0,2,2: 25:[45, 19] Operation: 52-33=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[33, 7], Operations: ['92-47=45', '52-45=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,25 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[45, 19], Operations: ['92-47=45', '52-33=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,25 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[52, 12], Operations: ['92-47=45', '45-33=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[92, 33, 5], Operations: ['52-47=5'] Exploring Operation: 33-5=28, Resulting Numbers: [92, 28] Generated Node #0,0,0: 25:[92, 28] Operation: 33-5=28 Exploring Operation: 92-33=59, Resulting Numbers: [5, 59] Generated Node #0,0,1: 25:[5, 59] Operation: 92-33=59 Exploring Operation: 92-5=87, Resulting Numbers: [33, 87] Generated Node #0,0,2: 25:[33, 87] Operation: 92-5=87 Moving to Node #0,0,1 Current State: 25:[5, 59], Operations: ['52-47=5', '92-33=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,25 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[92, 28], Operations: ['52-47=5', '33-5=28'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,25 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[33, 87], Operations: ['52-47=5', '92-5=87'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,25 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
[ 40, 39, 28, 33 ]
18
[ "40+39=79", "28+33=61", "79-61=18" ]
Current State: 18:[40, 39, 28, 33], Operations: [] Exploring Operation: 40+39=79, Resulting Numbers: [28, 33, 79] Generated Node #2: [28, 33, 79] from Operation: 40+39=79 Current State: 18:[28, 33, 79], Operations: ['40+39=79'] Exploring Operation: 28+33=61, Resulting Numbers: [79, 61] Generated Node #3: [79, 61] from Operation: 28+33=61 Current State: 18:[79, 61], Operations: ['40+39=79', '28+33=61'] Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[40, 39, 28, 33], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [28, 33, 1] Generated Node #0,0: 18:[28, 33, 1] Operation: 40-39=1 Exploring Operation: 40-33=7, Resulting Numbers: [39, 28, 7] Generated Node #0,1: 18:[39, 28, 7] Operation: 40-33=7 Exploring Operation: 39-33=6, Resulting Numbers: [40, 28, 6] Generated Node #0,2: 18:[40, 28, 6] Operation: 39-33=6 Exploring Operation: 40-28=12, Resulting Numbers: [39, 33, 12] Generated Node #0,3: 18:[39, 33, 12] Operation: 40-28=12 Moving to Node #0,0 Current State: 18:[28, 33, 1], Operations: ['40-39=1'] Exploring Operation: 28*1=28, Resulting Numbers: [33, 28] Generated Node #0,0,0: 18:[33, 28] Operation: 28*1=28 Exploring Operation: 33-28=5, Resulting Numbers: [1, 5] Generated Node #0,0,1: 18:[1, 5] Operation: 33-28=5 Exploring Operation: 33-1=32, Resulting Numbers: [28, 32] Generated Node #0,0,2: 18:[28, 32] Operation: 33-1=32 Exploring Operation: 28-1=27, Resulting Numbers: [33, 27] Generated Node #0,0,3: 18:[33, 27] Operation: 28-1=27 Moving to Node #0,2 Current State: 18:[40, 28, 6], Operations: ['39-33=6'] Exploring Operation: 40+6=46, Resulting Numbers: [28, 46] Generated Node #0,2,0: 18:[28, 46] Operation: 40+6=46 Exploring Operation: 40-6=34, Resulting Numbers: [28, 34] Generated Node #0,2,1: 18:[28, 34] Operation: 40-6=34 Exploring Operation: 40-28=12, Resulting Numbers: [6, 12] Generated Node #0,2,2: 18:[6, 12] Operation: 40-28=12 Exploring Operation: 28-6=22, Resulting Numbers: [40, 22] Generated Node #0,2,3: 18:[40, 22] Operation: 28-6=22 Moving to Node #0,1 Current State: 18:[39, 28, 7], Operations: ['40-33=7'] Exploring Operation: 28/7=4, Resulting Numbers: [39, 4] Generated Node #0,1,0: 18:[39, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [39, 21] Generated Node #0,1,1: 18:[39, 21] Operation: 28-7=21 Exploring Operation: 39-7=32, Resulting Numbers: [28, 32] Generated Node #0,1,2: 18:[28, 32] Operation: 39-7=32 Exploring Operation: 39-28=11, Resulting Numbers: [7, 11] Generated Node #0,1,3: 18:[7, 11] Operation: 39-28=11 Moving to Node #0,3 Current State: 18:[39, 33, 12], Operations: ['40-28=12'] Exploring Operation: 39+12=51, Resulting Numbers: [33, 51] Generated Node #0,3,0: 18:[33, 51] Operation: 39+12=51 Exploring Operation: 39-33=6, Resulting Numbers: [12, 6] Generated Node #0,3,1: 18:[12, 6] Operation: 39-33=6 Exploring Operation: 39-12=27, Resulting Numbers: [33, 27] Generated Node #0,3,2: 18:[33, 27] Operation: 39-12=27 Exploring Operation: 33-12=21, Resulting Numbers: [39, 21] Generated Node #0,3,3: 18:[39, 21] Operation: 33-12=21 Moving to Node #0,0,1 Current State: 18:[1, 5], Operations: ['40-39=1', '33-28=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[12, 6], Operations: ['40-28=12', '39-33=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[40, 39, 28, 33], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [39, 33, 12] Generated Node #0,3: 18:[39, 33, 12] Operation: 40-28=12 Moving to Node #0,3 Current State: 18:[39, 33, 12], Operations: ['40-28=12'] Exploring Operation: 39-33=6, Resulting Numbers: [12, 6] Generated Node #0,3,1: 18:[12, 6] Operation: 39-33=6 Moving to Node #0,3,1 Current State: 18:[12, 6], Operations: ['40-28=12', '39-33=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.974826
hs_4
mult_heuristic
[ 95, 83, 92, 93 ]
74
[ "95-93=2", "83*2=166", "166-92=74" ]
Current State: 74:[95, 83, 92, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [83, 92, 2] Generated Node #2: [83, 92, 2] from Operation: 95-93=2 Current State: 74:[83, 92, 2], Operations: ['95-93=2'] Exploring Operation: 83*2=166, Resulting Numbers: [92, 166] Generated Node #3: [92, 166] from Operation: 83*2=166 Current State: 74:[92, 166], Operations: ['95-93=2', '83*2=166'] Exploring Operation: 166-92=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[95, 83, 92, 93], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [83, 93, 3] Generated Node #0,0: 74:[83, 93, 3] Operation: 95-92=3 Exploring Operation: 95-93=2, Resulting Numbers: [83, 92, 2] Generated Node #0,1: 74:[83, 92, 2] Operation: 95-93=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[83, 92, 2], Operations: ['95-93=2'] Exploring Operation: 92-83=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 74:[2, 9] Operation: 92-83=9 Exploring Operation: 92/2=46, Resulting Numbers: [83, 46] Generated Node #0,1,1: 74:[83, 46] Operation: 92/2=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[2, 9], Operations: ['95-93=2', '92-83=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[83, 46], Operations: ['95-93=2', '92/2=46'] Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[83, 93, 3], Operations: ['95-92=3'] Exploring Operation: 93/3=31, Resulting Numbers: [83, 31] Generated Node #0,0,0: 74:[83, 31] Operation: 93/3=31 Exploring Operation: 93-83=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 74:[3, 10] Operation: 93-83=10 Moving to Node #0,0,1 Current State: 74:[3, 10], Operations: ['95-92=3', '93-83=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[83, 31], Operations: ['95-92=3', '93/3=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 78, 25, 13 ]
40
[ "80-78=2", "25+13=38", "2+38=40" ]
Current State: 40:[80, 78, 25, 13], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [25, 13, 2] Generated Node #2: [25, 13, 2] from Operation: 80-78=2 Current State: 40:[25, 13, 2], Operations: ['80-78=2'] Exploring Operation: 25+13=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 25+13=38 Current State: 40:[2, 38], Operations: ['80-78=2', '25+13=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[80, 78, 25, 13], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [80, 13, 53] Generated Node #0,0: 40:[80, 13, 53] Operation: 78-25=53 Exploring Operation: 80-78=2, Resulting Numbers: [25, 13, 2] Generated Node #0,1: 40:[25, 13, 2] Operation: 80-78=2 Exploring Operation: 80-25=55, Resulting Numbers: [78, 13, 55] Generated Node #0,2: 40:[78, 13, 55] Operation: 80-25=55 Exploring Operation: 78/13=6, Resulting Numbers: [80, 25, 6] Generated Node #0,3: 40:[80, 25, 6] Operation: 78/13=6 Exploring Operation: 80-13=67, Resulting Numbers: [78, 25, 67] Generated Node #0,4: 40:[78, 25, 67] Operation: 80-13=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[25, 13, 2], Operations: ['80-78=2'] Exploring Operation: 25-2=23, Resulting Numbers: [13, 23] Generated Node #0,1,0: 40:[13, 23] Operation: 25-2=23 Exploring Operation: 25+13=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 40:[2, 38] Operation: 25+13=38 Exploring Operation: 25+2=27, Resulting Numbers: [13, 27] Generated Node #0,1,2: 40:[13, 27] Operation: 25+2=27 Exploring Operation: 25-13=12, Resulting Numbers: [2, 12] Generated Node #0,1,3: 40:[2, 12] Operation: 25-13=12 Exploring Operation: 13-2=11, Resulting Numbers: [25, 11] Generated Node #0,1,4: 40:[25, 11] Operation: 13-2=11 Moving to Node #0,1,1 Current State: 40:[2, 38], Operations: ['80-78=2', '25+13=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[80, 78, 25, 13], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [25, 13, 2] Generated Node #0,1: 40:[25, 13, 2] Operation: 80-78=2 Moving to Node #0,1 Current State: 40:[25, 13, 2], Operations: ['80-78=2'] Exploring Operation: 25+13=38, Resulting Numbers: [2, 38] Generated Node #0,1,1: 40:[2, 38] Operation: 25+13=38 Moving to Node #0,1,1 Current State: 40:[2, 38], Operations: ['80-78=2', '25+13=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 8, 9, 72, 88 ]
27
[ "88/8=11", "9*11=99", "99-72=27" ]
Current State: 27:[8, 9, 72, 88], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [9, 72, 11] Generated Node #2: [9, 72, 11] from Operation: 88/8=11 Current State: 27:[9, 72, 11], Operations: ['88/8=11'] Exploring Operation: 9*11=99, Resulting Numbers: [72, 99] Generated Node #3: [72, 99] from Operation: 9*11=99 Current State: 27:[72, 99], Operations: ['88/8=11', '9*11=99'] Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 9, 72, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [8, 9, 16] Generated Node #0,0: 27:[8, 9, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[8, 9, 16], Operations: ['88-72=16'] Exploring Operation: 16-8=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 27:[9, 8] Operation: 16-8=8 Moving to Node #0,0,0 Current State: 27:[9, 8], Operations: ['88-72=16', '16-8=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,27 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
[ 24, 59, 93, 9 ]
72
[ "24+93=117", "117/9=13", "59+13=72" ]
Current State: 72:[24, 59, 93, 9], Operations: [] Exploring Operation: 24+93=117, Resulting Numbers: [59, 9, 117] Generated Node #2: [59, 9, 117] from Operation: 24+93=117 Current State: 72:[59, 9, 117], Operations: ['24+93=117'] Exploring Operation: 117/9=13, Resulting Numbers: [59, 13] Generated Node #3: [59, 13] from Operation: 117/9=13 Current State: 72:[59, 13], Operations: ['24+93=117', '117/9=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[24, 59, 93, 9], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [24, 9, 34] Generated Node #0,0: 72:[24, 9, 34] Operation: 93-59=34 Moving to Node #0,0 Current State: 72:[24, 9, 34], Operations: ['93-59=34'] Exploring Operation: 34-24=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 72:[9, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[9, 10], Operations: ['93-59=34', '34-24=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,72 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
[ 57, 61, 62, 68 ]
10
[ "61-57=4", "68-62=6", "4+6=10" ]
Current State: 10:[57, 61, 62, 68], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [62, 68, 4] Generated Node #2: [62, 68, 4] from Operation: 61-57=4 Current State: 10:[62, 68, 4], Operations: ['61-57=4'] Exploring Operation: 68-62=6, Resulting Numbers: [4, 6] Generated Node #3: [4, 6] from Operation: 68-62=6 Current State: 10:[4, 6], Operations: ['61-57=4', '68-62=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[57, 61, 62, 68], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [57, 62, 7] Generated Node #0,0: 10:[57, 62, 7] Operation: 68-61=7 Exploring Operation: 68-62=6, Resulting Numbers: [57, 61, 6] Generated Node #0,1: 10:[57, 61, 6] Operation: 68-62=6 Moving to Node #0,1 Current State: 10:[57, 61, 6], Operations: ['68-62=6'] Exploring Operation: 57-6=51, Resulting Numbers: [61, 51] Generated Node #0,1,0: 10:[61, 51] Operation: 57-6=51 Exploring Operation: 61-57=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 10:[6, 4] Operation: 61-57=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[6, 4], Operations: ['68-62=6', '61-57=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[57, 61, 62, 68], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [57, 61, 6] Generated Node #0,1: 10:[57, 61, 6] Operation: 68-62=6 Moving to Node #0,1 Current State: 10:[57, 61, 6], Operations: ['68-62=6'] Exploring Operation: 61-57=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 10:[6, 4] Operation: 61-57=4 Moving to Node #0,1,1 Current State: 10:[6, 4], Operations: ['68-62=6', '61-57=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 6, 58, 84, 58 ]
77
[ "84-6=78", "58/58=1", "78-1=77" ]
Current State: 77:[6, 58, 84, 58], Operations: [] Exploring Operation: 84-6=78, Resulting Numbers: [58, 58, 78] Generated Node #2: [58, 58, 78] from Operation: 84-6=78 Current State: 77:[58, 58, 78], Operations: ['84-6=78'] Exploring Operation: 58/58=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 58/58=1 Current State: 77:[78, 1], Operations: ['84-6=78', '58/58=1'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 58, 84, 58], Operations: [] Exploring Operation: 58/58=1, Resulting Numbers: [6, 84, 1] Generated Node #0,0: 77:[6, 84, 1] Operation: 58/58=1 Exploring Operation: 84-58=26, Resulting Numbers: [6, 58, 26] Generated Node #0,1: 77:[6, 58, 26] Operation: 84-58=26 Exploring Operation: 58-58=0, Resulting Numbers: [6, 84, 0] Generated Node #0,2: 77:[6, 84, 0] Operation: 58-58=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[6, 84, 1], Operations: ['58/58=1'] Exploring Operation: 84-6=78, Resulting Numbers: [1, 78] Generated Node #0,0,0: 77:[1, 78] Operation: 84-6=78 Exploring Operation: 84-1=83, Resulting Numbers: [6, 83] Generated Node #0,0,1: 77:[6, 83] Operation: 84-1=83 Exploring Operation: 6+1=7, Resulting Numbers: [84, 7] Generated Node #0,0,2: 77:[84, 7] Operation: 6+1=7 Moving to Node #0,0,0 Current State: 77:[1, 78], Operations: ['58/58=1', '84-6=78'] Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[6, 58, 84, 58], Operations: [] Exploring Operation: 58/58=1, Resulting Numbers: [6, 84, 1] Generated Node #0,0: 77:[6, 84, 1] Operation: 58/58=1 Moving to Node #0,0 Current State: 77:[6, 84, 1], Operations: ['58/58=1'] Exploring Operation: 84-6=78, Resulting Numbers: [1, 78] Generated Node #0,0,0: 77:[1, 78] Operation: 84-6=78 Moving to Node #0,0,0 Current State: 77:[1, 78], Operations: ['58/58=1', '84-6=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 48, 38, 53, 56 ]
66
[ "56-53=3", "38*3=114", "114-48=66" ]
Current State: 66:[48, 38, 53, 56], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [48, 38, 3] Generated Node #2: [48, 38, 3] from Operation: 56-53=3 Current State: 66:[48, 38, 3], Operations: ['56-53=3'] Exploring Operation: 38*3=114, Resulting Numbers: [48, 114] Generated Node #3: [48, 114] from Operation: 38*3=114 Current State: 66:[48, 114], Operations: ['56-53=3', '38*3=114'] Exploring Operation: 114-48=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[48, 38, 53, 56], Operations: [] Exploring Operation: 53-48=5, Resulting Numbers: [38, 56, 5] Generated Node #0,0: 66:[38, 56, 5] Operation: 53-48=5 Exploring Operation: 56-48=8, Resulting Numbers: [38, 53, 8] Generated Node #0,1: 66:[38, 53, 8] Operation: 56-48=8 Exploring Operation: 56-53=3, Resulting Numbers: [48, 38, 3] Generated Node #0,2: 66:[48, 38, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[38, 56, 5], Operations: ['53-48=5'] Exploring Operation: 56+5=61, Resulting Numbers: [38, 61] Generated Node #0,0,0: 66:[38, 61] Operation: 56+5=61 Exploring Operation: 56-38=18, Resulting Numbers: [5, 18] Generated Node #0,0,1: 66:[5, 18] Operation: 56-38=18 Exploring Operation: 38-5=33, Resulting Numbers: [56, 33] Generated Node #0,0,2: 66:[56, 33] Operation: 38-5=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[5, 18], Operations: ['53-48=5', '56-38=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,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:[38, 61], Operations: ['53-48=5', '56+5=61'] Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,66 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,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,2 Current State: 66:[56, 33], Operations: ['53-48=5', '38-5=33'] Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,66 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,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,1 Current State: 66:[38, 53, 8], Operations: ['56-48=8'] Exploring Operation: 53+8=61, Resulting Numbers: [38, 61] Generated Node #0,1,0: 66:[38, 61] Operation: 53+8=61 Exploring Operation: 53-38=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 66:[8, 15] Operation: 53-38=15 Exploring Operation: 38-8=30, Resulting Numbers: [53, 30] Generated Node #0,1,2: 66:[53, 30] Operation: 38-8=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[8, 15], Operations: ['56-48=8', '53-38=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[38, 61], Operations: ['56-48=8', '53+8=61'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,66 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[53, 30], Operations: ['56-48=8', '38-8=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,66 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[48, 38, 3], Operations: ['56-53=3'] Exploring Operation: 48-3=45, Resulting Numbers: [38, 45] Generated Node #0,2,0: 66:[38, 45] Operation: 48-3=45 Exploring Operation: 48-38=10, Resulting Numbers: [3, 10] Generated Node #0,2,1: 66:[3, 10] Operation: 48-38=10 Exploring Operation: 48/3=16, Resulting Numbers: [38, 16] Generated Node #0,2,2: 66:[38, 16] Operation: 48/3=16 Moving to Node #0,2,1 Current State: 66:[3, 10], Operations: ['56-53=3', '48-38=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[38, 16], Operations: ['56-53=3', '48/3=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,66 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[38, 45], Operations: ['56-53=3', '48-3=45'] Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,66 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 90, 89, 22 ]
78
[ "90/45=2", "22/2=11", "89-11=78" ]
Current State: 78:[45, 90, 89, 22], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [89, 22, 2] Generated Node #2: [89, 22, 2] from Operation: 90/45=2 Current State: 78:[89, 22, 2], Operations: ['90/45=2'] Exploring Operation: 22/2=11, Resulting Numbers: [89, 11] Generated Node #3: [89, 11] from Operation: 22/2=11 Current State: 78:[89, 11], Operations: ['90/45=2', '22/2=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[45, 90, 89, 22], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [89, 22, 2] Generated Node #0,0: 78:[89, 22, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [89, 22, 45] Generated Node #0,1: 78:[89, 22, 45] Operation: 90-45=45 Exploring Operation: 90-89=1, Resulting Numbers: [45, 22, 1] Generated Node #0,2: 78:[45, 22, 1] Operation: 90-89=1 Moving to Node #0,2 Current State: 78:[45, 22, 1], Operations: ['90-89=1'] Exploring Operation: 45-22=23, Resulting Numbers: [1, 23] Generated Node #0,2,0: 78:[1, 23] Operation: 45-22=23 Exploring Operation: 45-1=44, Resulting Numbers: [22, 44] Generated Node #0,2,1: 78:[22, 44] Operation: 45-1=44 Exploring Operation: 22+1=23, Resulting Numbers: [45, 23] Generated Node #0,2,2: 78:[45, 23] Operation: 22+1=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[1, 23], Operations: ['90-89=1', '45-22=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[22, 44], Operations: ['90-89=1', '45-1=44'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[45, 23], Operations: ['90-89=1', '22+1=23'] Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,78 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,78 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,78 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: 78:[89, 22, 2], Operations: ['90/45=2'] Exploring Operation: 89-22=67, Resulting Numbers: [2, 67] Generated Node #0,0,0: 78:[2, 67] Operation: 89-22=67 Exploring Operation: 89-2=87, Resulting Numbers: [22, 87] Generated Node #0,0,1: 78:[22, 87] Operation: 89-2=87 Exploring Operation: 22+2=24, Resulting Numbers: [89, 24] Generated Node #0,0,2: 78:[89, 24] Operation: 22+2=24 Moving to Node #0,1 Current State: 78:[89, 22, 45], Operations: ['90-45=45'] Exploring Operation: 89-22=67, Resulting Numbers: [45, 67] Generated Node #0,1,0: 78:[45, 67] Operation: 89-22=67 Exploring Operation: 89-45=44, Resulting Numbers: [22, 44] Generated Node #0,1,1: 78:[22, 44] Operation: 89-45=44 Exploring Operation: 45-22=23, Resulting Numbers: [89, 23] Generated Node #0,1,2: 78:[89, 23] Operation: 45-22=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[22, 44], Operations: ['90-45=45', '89-45=44'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[89, 23], Operations: ['90-45=45', '45-22=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,78 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,78 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[45, 67], Operations: ['90-45=45', '89-22=67'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,78 unequal: No Solution Exploring Operation: 45*67=3015, Resulting Numbers: [3015] 3015,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 78:[2, 67], Operations: ['90/45=2', '89-22=67'] Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,78 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[22, 87], Operations: ['90/45=2', '89-2=87'] Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,78 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[89, 24], Operations: ['90/45=2', '22+2=24'] Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 89*24=2136, Resulting Numbers: [2136] 2136,78 unequal: No Solution Exploring Operation: 89+24=113, Resulting Numbers: [113] 113,78 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 87, 72, 72 ]
51
[ "72-72=0", "87*0=0", "51+0=51" ]
Current State: 51:[51, 87, 72, 72], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [51, 87, 0] Generated Node #2: [51, 87, 0] from Operation: 72-72=0 Current State: 51:[51, 87, 0], Operations: ['72-72=0'] Exploring Operation: 87*0=0, Resulting Numbers: [51, 0] Generated Node #3: [51, 0] from Operation: 87*0=0 Current State: 51:[51, 0], Operations: ['72-72=0', '87*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[51, 87, 72, 72], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [51, 87, 1] Generated Node #0,0: 51:[51, 87, 1] Operation: 72/72=1 Exploring Operation: 87-72=15, Resulting Numbers: [51, 72, 15] Generated Node #0,1: 51:[51, 72, 15] Operation: 87-72=15 Exploring Operation: 72-72=0, Resulting Numbers: [51, 87, 0] Generated Node #0,2: 51:[51, 87, 0] Operation: 72-72=0 Exploring Operation: 87-51=36, Resulting Numbers: [72, 72, 36] Generated Node #0,3: 51:[72, 72, 36] Operation: 87-51=36 Exploring Operation: 87-72=15, Resulting Numbers: [51, 72, 15] Generated Node #0,4: 51:[51, 72, 15] Operation: 87-72=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[51, 72, 15], Operations: ['87-72=15'] Exploring Operation: 72-15=57, Resulting Numbers: [51, 57] Generated Node #0,1,0: 51:[51, 57] Operation: 72-15=57 Exploring Operation: 51+15=66, Resulting Numbers: [72, 66] Generated Node #0,1,1: 51:[72, 66] Operation: 51+15=66 Exploring Operation: 51-15=36, Resulting Numbers: [72, 36] Generated Node #0,1,2: 51:[72, 36] Operation: 51-15=36 Exploring Operation: 72+15=87, Resulting Numbers: [51, 87] Generated Node #0,1,3: 51:[51, 87] Operation: 72+15=87 Exploring Operation: 72-51=21, Resulting Numbers: [15, 21] Generated Node #0,1,4: 51:[15, 21] Operation: 72-51=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[51, 57], Operations: ['87-72=15', '72-15=57'] Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,51 unequal: No Solution Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 51:[15, 21], Operations: ['87-72=15', '72-51=21'] Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,51 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[72, 66], Operations: ['87-72=15', '51+15=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,51 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[72, 36], Operations: ['87-72=15', '51-15=36'] Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[51, 87], Operations: ['87-72=15', '72+15=87'] Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,51 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[51, 72, 15], Operations: ['87-72=15'] Exploring Operation: 72-51=21, Resulting Numbers: [15, 21] Generated Node #0,4,0: 51:[15, 21] Operation: 72-51=21 Exploring Operation: 72+15=87, Resulting Numbers: [51, 87] Generated Node #0,4,1: 51:[51, 87] Operation: 72+15=87 Exploring Operation: 51-15=36, Resulting Numbers: [72, 36] Generated Node #0,4,2: 51:[72, 36] Operation: 51-15=36 Exploring Operation: 51+15=66, Resulting Numbers: [72, 66] Generated Node #0,4,3: 51:[72, 66] Operation: 51+15=66 Exploring Operation: 72-15=57, Resulting Numbers: [51, 57] Generated Node #0,4,4: 51:[51, 57] Operation: 72-15=57 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 51:[15, 21], Operations: ['87-72=15', '72-51=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,51 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 51:[51, 57], Operations: ['87-72=15', '72-15=57'] Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 51:[51, 87], Operations: ['87-72=15', '72+15=87'] Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,51 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 51:[72, 36], Operations: ['87-72=15', '51-15=36'] Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,51 unequal: No Solution Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 51:[72, 66], Operations: ['87-72=15', '51+15=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,51 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[51, 87, 1], Operations: ['72/72=1'] Exploring Operation: 51/1=51, Resulting Numbers: [87, 51] Generated Node #0,0,0: 51:[87, 51] Operation: 51/1=51 Exploring Operation: 87-51=36, Resulting Numbers: [1, 36] Generated Node #0,0,1: 51:[1, 36] Operation: 87-51=36 Exploring Operation: 51*1=51, Resulting Numbers: [87, 51] Generated Node #0,0,2: 51:[87, 51] Operation: 51*1=51 Exploring Operation: 87*1=87, Resulting Numbers: [51, 87] Generated Node #0,0,3: 51:[51, 87] Operation: 87*1=87 Exploring Operation: 87-1=86, Resulting Numbers: [51, 86] Generated Node #0,0,4: 51:[51, 86] Operation: 87-1=86 Moving to Node #0,0,1 Current State: 51:[1, 36], Operations: ['72/72=1', '87-51=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[51, 86], Operations: ['72/72=1', '87-1=86'] Exploring Operation: 51+86=137, Resulting Numbers: [137] 137,51 unequal: No Solution Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 51*86=4386, Resulting Numbers: [4386] 4386,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[87, 51], Operations: ['72/72=1', '51/1=51'] Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 87*51=4437, Resulting Numbers: [4437] 4437,51 unequal: No Solution Exploring Operation: 87+51=138, Resulting Numbers: [138] 138,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[87, 51], Operations: ['72/72=1', '51*1=51'] Exploring Operation: 87+51=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 87*51=4437, Resulting Numbers: [4437] 4437,51 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[51, 87], Operations: ['72/72=1', '87*1=87'] Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,51 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[51, 87, 0], Operations: ['72-72=0'] Exploring Operation: 51-0=51, Resulting Numbers: [87, 51] Generated Node #0,2,0: 51:[87, 51] Operation: 51-0=51 Exploring Operation: 87+0=87, Resulting Numbers: [51, 87] Generated Node #0,2,1: 51:[51, 87] Operation: 87+0=87 Exploring Operation: 51+0=51, Resulting Numbers: [87, 51] Generated Node #0,2,2: 51:[87, 51] Operation: 51+0=51 Exploring Operation: 87-51=36, Resulting Numbers: [0, 36] Generated Node #0,2,3: 51:[0, 36] Operation: 87-51=36 Exploring Operation: 87*0=0, Resulting Numbers: [51, 0] Generated Node #0,2,4: 51:[51, 0] Operation: 87*0=0 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 51:[51, 0], Operations: ['72-72=0', '87*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[51, 87, 72, 72], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [51, 87, 0] Generated Node #0,2: 51:[51, 87, 0] Operation: 72-72=0 Moving to Node #0,2 Current State: 51:[51, 87, 0], Operations: ['72-72=0'] Exploring Operation: 87*0=0, Resulting Numbers: [51, 0] Generated Node #0,2,4: 51:[51, 0] Operation: 87*0=0 Moving to Node #0,2,4 Current State: 51:[51, 0], Operations: ['72-72=0', '87*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.932292
hs_5
sum_heuristic
[ 84, 45, 94, 39 ]
16
[ "84-45=39", "94-39=55", "55-39=16" ]
Current State: 16:[84, 45, 94, 39], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [94, 39, 39] Generated Node #2: [94, 39, 39] from Operation: 84-45=39 Current State: 16:[94, 39, 39], Operations: ['84-45=39'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,16 equal: Goal Reached Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[84, 45, 94, 39], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [94, 39, 39] Generated Node #0,0: 16:[94, 39, 39] Operation: 84-45=39 Exploring Operation: 94-45=49, Resulting Numbers: [84, 39, 49] Generated Node #0,1: 16:[84, 39, 49] Operation: 94-45=49 Exploring Operation: 94-84=10, Resulting Numbers: [45, 39, 10] Generated Node #0,2: 16:[45, 39, 10] Operation: 94-84=10 Moving to Node #0,2 Current State: 16:[45, 39, 10], Operations: ['94-84=10'] Exploring Operation: 45-10=35, Resulting Numbers: [39, 35] Generated Node #0,2,0: 16:[39, 35] Operation: 45-10=35 Exploring Operation: 45-39=6, Resulting Numbers: [10, 6] Generated Node #0,2,1: 16:[10, 6] Operation: 45-39=6 Exploring Operation: 39-10=29, Resulting Numbers: [45, 29] Generated Node #0,2,2: 16:[45, 29] Operation: 39-10=29 Moving to Node #0,0 Current State: 16:[94, 39, 39], Operations: ['84-45=39'] Exploring Operation: 94-39=55, Resulting Numbers: [39, 55] Generated Node #0,0,0: 16:[39, 55] Operation: 94-39=55 Exploring Operation: 39/39=1, Resulting Numbers: [94, 1] Generated Node #0,0,1: 16:[94, 1] Operation: 39/39=1 Exploring Operation: 94-39=55, Resulting Numbers: [39, 55] Generated Node #0,0,2: 16:[39, 55] Operation: 94-39=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[39, 55], Operations: ['84-45=39', '94-39=55'] Exploring Operation: 39*55=2145, Resulting Numbers: [2145] 2145,16 unequal: No Solution Exploring Operation: 39+55=94, Resulting Numbers: [94] 94,16 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[84, 45, 94, 39], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [94, 39, 39] Generated Node #0,0: 16:[94, 39, 39] Operation: 84-45=39 Moving to Node #0,0 Current State: 16:[94, 39, 39], Operations: ['84-45=39'] Exploring Operation: 94-39=55, Resulting Numbers: [39, 55] Generated Node #0,0,0: 16:[39, 55] Operation: 94-39=55 Moving to Node #0,0,0 Current State: 16:[39, 55], Operations: ['84-45=39', '94-39=55'] Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 29, 25, 58, 92 ]
65
[ "58/29=2", "92-25=67", "67-2=65" ]
Current State: 65:[29, 25, 58, 92], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [25, 92, 2] Generated Node #2: [25, 92, 2] from Operation: 58/29=2 Current State: 65:[25, 92, 2], Operations: ['58/29=2'] Exploring Operation: 92-25=67, Resulting Numbers: [2, 67] Generated Node #3: [2, 67] from Operation: 92-25=67 Current State: 65:[2, 67], Operations: ['58/29=2', '92-25=67'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[29, 25, 58, 92], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [58, 92, 4] Generated Node #0,0: 65:[58, 92, 4] Operation: 29-25=4 Exploring Operation: 58/29=2, Resulting Numbers: [25, 92, 2] Generated Node #0,1: 65:[25, 92, 2] Operation: 58/29=2 Exploring Operation: 29+25=54, Resulting Numbers: [58, 92, 54] Generated Node #0,2: 65:[58, 92, 54] Operation: 29+25=54 Exploring Operation: 92-25=67, Resulting Numbers: [29, 58, 67] Generated Node #0,3: 65:[29, 58, 67] Operation: 92-25=67 Exploring Operation: 92-29=63, Resulting Numbers: [25, 58, 63] Generated Node #0,4: 65:[25, 58, 63] Operation: 92-29=63 Moving to Node #0,4 Current State: 65:[25, 58, 63], Operations: ['92-29=63'] Exploring Operation: 25+58=83, Resulting Numbers: [63, 83] Generated Node #0,4,0: 65:[63, 83] Operation: 25+58=83 Exploring Operation: 63-25=38, Resulting Numbers: [58, 38] Generated Node #0,4,1: 65:[58, 38] Operation: 63-25=38 Exploring Operation: 63-58=5, Resulting Numbers: [25, 5] Generated Node #0,4,2: 65:[25, 5] Operation: 63-58=5 Exploring Operation: 58-25=33, Resulting Numbers: [63, 33] Generated Node #0,4,3: 65:[63, 33] Operation: 58-25=33 Exploring Operation: 25+63=88, Resulting Numbers: [58, 88] Generated Node #0,4,4: 65:[58, 88] Operation: 25+63=88 Moving to Node #0,3 Current State: 65:[29, 58, 67], Operations: ['92-25=67'] Exploring Operation: 67-29=38, Resulting Numbers: [58, 38] Generated Node #0,3,0: 65:[58, 38] Operation: 67-29=38 Exploring Operation: 29+58=87, Resulting Numbers: [67, 87] Generated Node #0,3,1: 65:[67, 87] Operation: 29+58=87 Exploring Operation: 67-58=9, Resulting Numbers: [29, 9] Generated Node #0,3,2: 65:[29, 9] Operation: 67-58=9 Exploring Operation: 58-29=29, Resulting Numbers: [67, 29] Generated Node #0,3,3: 65:[67, 29] Operation: 58-29=29 Exploring Operation: 58/29=2, Resulting Numbers: [67, 2] Generated Node #0,3,4: 65:[67, 2] Operation: 58/29=2 Moving to Node #0,0 Current State: 65:[58, 92, 4], Operations: ['29-25=4'] Exploring Operation: 58+4=62, Resulting Numbers: [92, 62] Generated Node #0,0,0: 65:[92, 62] Operation: 58+4=62 Exploring Operation: 92-4=88, Resulting Numbers: [58, 88] Generated Node #0,0,1: 65:[58, 88] Operation: 92-4=88 Exploring Operation: 58-4=54, Resulting Numbers: [92, 54] Generated Node #0,0,2: 65:[92, 54] Operation: 58-4=54 Exploring Operation: 92-58=34, Resulting Numbers: [4, 34] Generated Node #0,0,3: 65:[4, 34] Operation: 92-58=34 Exploring Operation: 92/4=23, Resulting Numbers: [58, 23] Generated Node #0,0,4: 65:[58, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[58, 23], Operations: ['29-25=4', '92/4=23'] Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,65 unequal: No Solution Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[4, 34], Operations: ['29-25=4', '92-58=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,65 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[92, 62], Operations: ['29-25=4', '58+4=62'] Exploring Operation: 92+62=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 92*62=5704, Resulting Numbers: [5704] 5704,65 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[58, 88], Operations: ['29-25=4', '92-4=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,65 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[92, 54], Operations: ['29-25=4', '58-4=54'] Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,65 unequal: No Solution Exploring Operation: 92*54=4968, Resulting Numbers: [4968] 4968,65 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,65 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: 65:[25, 92, 2], Operations: ['58/29=2'] Exploring Operation: 92/2=46, Resulting Numbers: [25, 46] Generated Node #0,1,0: 65:[25, 46] Operation: 92/2=46 Exploring Operation: 25+2=27, Resulting Numbers: [92, 27] Generated Node #0,1,1: 65:[92, 27] Operation: 25+2=27 Exploring Operation: 92-25=67, Resulting Numbers: [2, 67] Generated Node #0,1,2: 65:[2, 67] Operation: 92-25=67 Exploring Operation: 25-2=23, Resulting Numbers: [92, 23] Generated Node #0,1,3: 65:[92, 23] Operation: 25-2=23 Exploring Operation: 92-2=90, Resulting Numbers: [25, 90] Generated Node #0,1,4: 65:[25, 90] Operation: 92-2=90 Moving to Node #0,2 Current State: 65:[58, 92, 54], Operations: ['29+25=54'] Exploring Operation: 92-58=34, Resulting Numbers: [54, 34] Generated Node #0,2,0: 65:[54, 34] Operation: 92-58=34 Exploring Operation: 92-54=38, Resulting Numbers: [58, 38] Generated Node #0,2,1: 65:[58, 38] Operation: 92-54=38 Exploring Operation: 58+54=112, Resulting Numbers: [92, 112] Generated Node #0,2,2: 65:[92, 112] Operation: 58+54=112 Exploring Operation: 58-54=4, Resulting Numbers: [92, 4] Generated Node #0,2,3: 65:[92, 4] Operation: 58-54=4 Exploring Operation: 92+54=146, Resulting Numbers: [58, 146] Generated Node #0,2,4: 65:[58, 146] Operation: 92+54=146 Moving to Node #0,3,4 Current State: 65:[67, 2], Operations: ['92-25=67', '58/29=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,65 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,65 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[29, 25, 58, 92], Operations: [] Exploring Operation: 92-25=67, Resulting Numbers: [29, 58, 67] Generated Node #0,3: 65:[29, 58, 67] Operation: 92-25=67 Moving to Node #0,3 Current State: 65:[29, 58, 67], Operations: ['92-25=67'] Exploring Operation: 58/29=2, Resulting Numbers: [67, 2] Generated Node #0,3,4: 65:[67, 2] Operation: 58/29=2 Moving to Node #0,3,4 Current State: 65:[67, 2], Operations: ['92-25=67', '58/29=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.954861
hs_5
mult_heuristic
[ 48, 25, 20, 24 ]
37
[ "24-20=4", "48/4=12", "25+12=37" ]
Current State: 37:[48, 25, 20, 24], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [48, 25, 4] Generated Node #2: [48, 25, 4] from Operation: 24-20=4 Current State: 37:[48, 25, 4], Operations: ['24-20=4'] Exploring Operation: 48/4=12, Resulting Numbers: [25, 12] Generated Node #3: [25, 12] from Operation: 48/4=12 Current State: 37:[25, 12], Operations: ['24-20=4', '48/4=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[48, 25, 20, 24], Operations: [] Exploring Operation: 25+24=49, Resulting Numbers: [48, 20, 49] Generated Node #0,0: 37:[48, 20, 49] Operation: 25+24=49 Exploring Operation: 20+24=44, Resulting Numbers: [48, 25, 44] Generated Node #0,1: 37:[48, 25, 44] Operation: 20+24=44 Exploring Operation: 25+20=45, Resulting Numbers: [48, 24, 45] Generated Node #0,2: 37:[48, 24, 45] Operation: 25+20=45 Exploring Operation: 48-20=28, Resulting Numbers: [25, 24, 28] Generated Node #0,3: 37:[25, 24, 28] Operation: 48-20=28 Exploring Operation: 48-24=24, Resulting Numbers: [25, 20, 24] Generated Node #0,4: 37:[25, 20, 24] Operation: 48-24=24 Moving to Node #0,1 Current State: 37:[48, 25, 44], Operations: ['20+24=44'] Exploring Operation: 48-44=4, Resulting Numbers: [25, 4] Generated Node #0,1,0: 37:[25, 4] Operation: 48-44=4 Exploring Operation: 48-25=23, Resulting Numbers: [44, 23] Generated Node #0,1,1: 37:[44, 23] Operation: 48-25=23 Exploring Operation: 48+25=73, Resulting Numbers: [44, 73] Generated Node #0,1,2: 37:[44, 73] Operation: 48+25=73 Exploring Operation: 44-25=19, Resulting Numbers: [48, 19] Generated Node #0,1,3: 37:[48, 19] Operation: 44-25=19 Exploring Operation: 25+44=69, Resulting Numbers: [48, 69] Generated Node #0,1,4: 37:[48, 69] Operation: 25+44=69 Moving to Node #0,2 Current State: 37:[48, 24, 45], Operations: ['25+20=45'] Exploring Operation: 48/24=2, Resulting Numbers: [45, 2] Generated Node #0,2,0: 37:[45, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [45, 24] Generated Node #0,2,1: 37:[45, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [45, 72] Generated Node #0,2,2: 37:[45, 72] Operation: 48+24=72 Exploring Operation: 24+45=69, Resulting Numbers: [48, 69] Generated Node #0,2,3: 37:[48, 69] Operation: 24+45=69 Exploring Operation: 45-24=21, Resulting Numbers: [48, 21] Generated Node #0,2,4: 37:[48, 21] Operation: 45-24=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[45, 24], Operations: ['25+20=45', '48-24=24'] Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,37 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[48, 21], Operations: ['25+20=45', '45-24=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[45, 2], Operations: ['25+20=45', '48/24=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,37 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[45, 72], Operations: ['25+20=45', '48+24=72'] Exploring Operation: 45*72=3240, Resulting Numbers: [3240] 3240,37 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[48, 69], Operations: ['25+20=45', '24+45=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,37 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,37 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: 37:[25, 24, 28], Operations: ['48-20=28'] Exploring Operation: 25-24=1, Resulting Numbers: [28, 1] Generated Node #0,3,0: 37:[28, 1] Operation: 25-24=1 Exploring Operation: 25+28=53, Resulting Numbers: [24, 53] Generated Node #0,3,1: 37:[24, 53] Operation: 25+28=53 Exploring Operation: 24+28=52, Resulting Numbers: [25, 52] Generated Node #0,3,2: 37:[25, 52] Operation: 24+28=52 Exploring Operation: 25+24=49, Resulting Numbers: [28, 49] Generated Node #0,3,3: 37:[28, 49] Operation: 25+24=49 Exploring Operation: 28-24=4, Resulting Numbers: [25, 4] Generated Node #0,3,4: 37:[25, 4] Operation: 28-24=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[28, 49], Operations: ['48-20=28', '25+24=49'] Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,37 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[25, 52], Operations: ['48-20=28', '24+28=52'] Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 25+52=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 25*52=1300, Resulting Numbers: [1300] 1300,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[24, 53], Operations: ['48-20=28', '25+28=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[28, 1], Operations: ['48-20=28', '25-24=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[25, 4], Operations: ['48-20=28', '28-24=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 37:[48, 20, 49], Operations: ['25+24=49'] Exploring Operation: 48+20=68, Resulting Numbers: [49, 68] Generated Node #0,0,0: 37:[49, 68] Operation: 48+20=68 Exploring Operation: 48-20=28, Resulting Numbers: [49, 28] Generated Node #0,0,1: 37:[49, 28] Operation: 48-20=28 Exploring Operation: 49-20=29, Resulting Numbers: [48, 29] Generated Node #0,0,2: 37:[48, 29] Operation: 49-20=29 Exploring Operation: 20+49=69, Resulting Numbers: [48, 69] Generated Node #0,0,3: 37:[48, 69] Operation: 20+49=69 Exploring Operation: 49-48=1, Resulting Numbers: [20, 1] Generated Node #0,0,4: 37:[20, 1] Operation: 49-48=1 Moving to Node #0,4 Current State: 37:[25, 20, 24], Operations: ['48-24=24'] Exploring Operation: 20+24=44, Resulting Numbers: [25, 44] Generated Node #0,4,0: 37:[25, 44] Operation: 20+24=44 Exploring Operation: 25-20=5, Resulting Numbers: [24, 5] Generated Node #0,4,1: 37:[24, 5] Operation: 25-20=5 Exploring Operation: 25+20=45, Resulting Numbers: [24, 45] Generated Node #0,4,2: 37:[24, 45] Operation: 25+20=45 Exploring Operation: 24-20=4, Resulting Numbers: [25, 4] Generated Node #0,4,3: 37:[25, 4] Operation: 24-20=4 Exploring Operation: 25+24=49, Resulting Numbers: [20, 49] Generated Node #0,4,4: 37:[20, 49] Operation: 25+24=49 Moving to Node #0,0,2 Current State: 37:[48, 29], Operations: ['25+24=49', '49-20=29'] Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,37 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[25, 44], Operations: ['48-24=24', '20+24=44'] Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,37 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[44, 23], Operations: ['20+24=44', '48-25=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,37 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[49, 28], Operations: ['25+24=49', '48-20=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,37 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[24, 45], Operations: ['48-24=24', '25+20=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,37 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[20, 49], Operations: ['48-24=24', '25+24=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,37 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[48, 19], Operations: ['20+24=44', '44-25=19'] Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,37 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[44, 73], Operations: ['20+24=44', '48+25=73'] Exploring Operation: 44+73=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 44*73=3212, Resulting Numbers: [3212] 3212,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[48, 69], Operations: ['20+24=44', '25+44=69'] Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,37 unequal: No Solution Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[48, 69], Operations: ['25+24=49', '20+49=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,37 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[49, 68], Operations: ['25+24=49', '48+20=68'] Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,37 unequal: No Solution Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,37 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[24, 5], Operations: ['48-24=24', '25-20=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[25, 4], Operations: ['48-24=24', '24-20=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[25, 4], Operations: ['20+24=44', '48-44=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[20, 1], Operations: ['25+24=49', '49-48=1'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 24, 47, 29, 73 ]
21
[ "47-24=23", "73-29=44", "44-23=21" ]
Current State: 21:[24, 47, 29, 73], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [29, 73, 23] Generated Node #2: [29, 73, 23] from Operation: 47-24=23 Current State: 21:[29, 73, 23], Operations: ['47-24=23'] Exploring Operation: 73-29=44, Resulting Numbers: [23, 44] Generated Node #3: [23, 44] from Operation: 73-29=44 Current State: 21:[23, 44], Operations: ['47-24=23', '73-29=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[24, 47, 29, 73], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [24, 29, 26] Generated Node #0,0: 21:[24, 29, 26] Operation: 73-47=26 Moving to Node #0,0 Current State: 21:[24, 29, 26], Operations: ['73-47=26'] Exploring Operation: 29-26=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 21:[24, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[24, 3], Operations: ['73-47=26', '29-26=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[24, 47, 29, 73], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [24, 29, 26] Generated Node #0,0: 21:[24, 29, 26] Operation: 73-47=26 Moving to Node #0,0 Current State: 21:[24, 29, 26], Operations: ['73-47=26'] Exploring Operation: 29-26=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 21:[24, 3] Operation: 29-26=3 Moving to Node #0,0,0 Current State: 21:[24, 3], Operations: ['73-47=26', '29-26=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 86, 66, 68, 30 ]
18
[ "86-66=20", "68-30=38", "38-20=18" ]
Current State: 18:[86, 66, 68, 30], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [68, 30, 20] Generated Node #2: [68, 30, 20] from Operation: 86-66=20 Current State: 18:[68, 30, 20], Operations: ['86-66=20'] Exploring Operation: 68-30=38, Resulting Numbers: [20, 38] Generated Node #3: [20, 38] from Operation: 68-30=38 Current State: 18:[20, 38], Operations: ['86-66=20', '68-30=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[86, 66, 68, 30], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [66, 30, 18] Generated Node #0,0: 18:[66, 30, 18] Operation: 86-68=18 Moving to Node #0,0 Current State: 18:[66, 30, 18], Operations: ['86-68=18'] Exploring Operation: 66-30=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 18:[18, 36] Operation: 66-30=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[18, 36], Operations: ['86-68=18', '66-30=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[86, 66, 68, 30], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [66, 30, 18] Generated Node #0,0: 18:[66, 30, 18] Operation: 86-68=18 Moving to Node #0,0 Current State: 18:[66, 30, 18], Operations: ['86-68=18'] Exploring Operation: 66-30=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 18:[18, 36] Operation: 66-30=36 Moving to Node #0,0,0 Current State: 18:[18, 36], Operations: ['86-68=18', '66-30=36'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 59, 8, 7, 9 ]
52
[ "59-7=52", "9-8=1", "52*1=52" ]
Current State: 52:[59, 8, 7, 9], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [8, 9, 52] Generated Node #2: [8, 9, 52] from Operation: 59-7=52 Current State: 52:[8, 9, 52], Operations: ['59-7=52'] Exploring Operation: 9-8=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 9-8=1 Current State: 52:[52, 1], Operations: ['59-7=52', '9-8=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[59, 8, 7, 9], Operations: [] Exploring Operation: 59-8=51, Resulting Numbers: [7, 9, 51] Generated Node #0,0: 52:[7, 9, 51] Operation: 59-8=51 Exploring Operation: 59-7=52, Resulting Numbers: [8, 9, 52] Generated Node #0,1: 52:[8, 9, 52] Operation: 59-7=52 Moving to Node #0,0 Current State: 52:[7, 9, 51], Operations: ['59-8=51'] Exploring Operation: 9-7=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 52:[51, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [51, 16] Generated Node #0,0,1: 52:[51, 16] Operation: 7+9=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[51, 2], Operations: ['59-8=51', '9-7=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,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,1 Current State: 52:[51, 16], Operations: ['59-8=51', '7+9=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,52 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: 52:[8, 9, 52], Operations: ['59-7=52'] Exploring Operation: 8+9=17, Resulting Numbers: [52, 17] Generated Node #0,1,0: 52:[52, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [52, 1] Generated Node #0,1,1: 52:[52, 1] Operation: 9-8=1 Moving to Node #0,1,1 Current State: 52:[52, 1], Operations: ['59-7=52', '9-8=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[59, 8, 7, 9], Operations: [] Exploring Operation: 59-7=52, Resulting Numbers: [8, 9, 52] Generated Node #0,1: 52:[8, 9, 52] Operation: 59-7=52 Moving to Node #0,1 Current State: 52:[8, 9, 52], Operations: ['59-7=52'] Exploring Operation: 9-8=1, Resulting Numbers: [52, 1] Generated Node #0,1,1: 52:[52, 1] Operation: 9-8=1 Moving to Node #0,1,1 Current State: 52:[52, 1], Operations: ['59-7=52', '9-8=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 3, 51, 59, 44 ]
56
[ "59-44=15", "15/3=5", "51+5=56" ]
Current State: 56:[3, 51, 59, 44], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [3, 51, 15] Generated Node #2: [3, 51, 15] from Operation: 59-44=15 Current State: 56:[3, 51, 15], Operations: ['59-44=15'] Exploring Operation: 15/3=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 15/3=5 Current State: 56:[51, 5], Operations: ['59-44=15', '15/3=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 51, 59, 44], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [3, 59, 7] Generated Node #0,0: 56:[3, 59, 7] Operation: 51-44=7 Exploring Operation: 59-44=15, Resulting Numbers: [3, 51, 15] Generated Node #0,1: 56:[3, 51, 15] Operation: 59-44=15 Exploring Operation: 3+51=54, Resulting Numbers: [59, 44, 54] Generated Node #0,2: 56:[59, 44, 54] Operation: 3+51=54 Exploring Operation: 59-3=56, Resulting Numbers: [51, 44, 56] Generated Node #0,3: 56:[51, 44, 56] Operation: 59-3=56 Exploring Operation: 59-51=8, Resulting Numbers: [3, 44, 8] Generated Node #0,4: 56:[3, 44, 8] Operation: 59-51=8 Moving to Node #0,0 Current State: 56:[3, 59, 7], Operations: ['51-44=7'] Exploring Operation: 59-3=56, Resulting Numbers: [7, 56] Generated Node #0,0,0: 56:[7, 56] Operation: 59-3=56 Exploring Operation: 3+59=62, Resulting Numbers: [7, 62] Generated Node #0,0,1: 56:[7, 62] Operation: 3+59=62 Exploring Operation: 7-3=4, Resulting Numbers: [59, 4] Generated Node #0,0,2: 56:[59, 4] Operation: 7-3=4 Exploring Operation: 59-7=52, Resulting Numbers: [3, 52] Generated Node #0,0,3: 56:[3, 52] Operation: 59-7=52 Exploring Operation: 3+7=10, Resulting Numbers: [59, 10] Generated Node #0,0,4: 56:[59, 10] Operation: 3+7=10 Moving to Node #0,1 Current State: 56:[3, 51, 15], Operations: ['59-44=15'] Exploring Operation: 51/3=17, Resulting Numbers: [15, 17] Generated Node #0,1,0: 56:[15, 17] Operation: 51/3=17 Exploring Operation: 15-3=12, Resulting Numbers: [51, 12] Generated Node #0,1,1: 56:[51, 12] Operation: 15-3=12 Exploring Operation: 51-3=48, Resulting Numbers: [15, 48] Generated Node #0,1,2: 56:[15, 48] Operation: 51-3=48 Exploring Operation: 15/3=5, Resulting Numbers: [51, 5] Generated Node #0,1,3: 56:[51, 5] Operation: 15/3=5 Exploring Operation: 3+51=54, Resulting Numbers: [15, 54] Generated Node #0,1,4: 56:[15, 54] Operation: 3+51=54 Moving to Node #0,4 Current State: 56:[3, 44, 8], Operations: ['59-51=8'] Exploring Operation: 3+44=47, Resulting Numbers: [8, 47] Generated Node #0,4,0: 56:[8, 47] Operation: 3+44=47 Exploring Operation: 8-3=5, Resulting Numbers: [44, 5] Generated Node #0,4,1: 56:[44, 5] Operation: 8-3=5 Exploring Operation: 44+8=52, Resulting Numbers: [3, 52] Generated Node #0,4,2: 56:[3, 52] Operation: 44+8=52 Exploring Operation: 44-8=36, Resulting Numbers: [3, 36] Generated Node #0,4,3: 56:[3, 36] Operation: 44-8=36 Exploring Operation: 44-3=41, Resulting Numbers: [8, 41] Generated Node #0,4,4: 56:[8, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[3, 52], Operations: ['59-51=8', '44+8=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,56 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[8, 47], Operations: ['59-51=8', '3+44=47'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[3, 36], Operations: ['59-51=8', '44-8=36'] Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,56 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[44, 5], Operations: ['59-51=8', '8-3=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,56 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[8, 41], Operations: ['59-51=8', '44-3=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,56 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: 56:[59, 44, 54], Operations: ['3+51=54'] Exploring Operation: 54-44=10, Resulting Numbers: [59, 10] Generated Node #0,2,0: 56:[59, 10] Operation: 54-44=10 Exploring Operation: 44+54=98, Resulting Numbers: [59, 98] Generated Node #0,2,1: 56:[59, 98] Operation: 44+54=98 Exploring Operation: 59-54=5, Resulting Numbers: [44, 5] Generated Node #0,2,2: 56:[44, 5] Operation: 59-54=5 Exploring Operation: 59-44=15, Resulting Numbers: [54, 15] Generated Node #0,2,3: 56:[54, 15] Operation: 59-44=15 Exploring Operation: 59+44=103, Resulting Numbers: [54, 103] Generated Node #0,2,4: 56:[54, 103] Operation: 59+44=103 Moving to Node #0,3 Current State: 56:[51, 44, 56], Operations: ['59-3=56'] Exploring Operation: 44+56=100, Resulting Numbers: [51, 100] Generated Node #0,3,0: 56:[51, 100] Operation: 44+56=100 Exploring Operation: 56-44=12, Resulting Numbers: [51, 12] Generated Node #0,3,1: 56:[51, 12] Operation: 56-44=12 Exploring Operation: 56-51=5, Resulting Numbers: [44, 5] Generated Node #0,3,2: 56:[44, 5] Operation: 56-51=5 Exploring Operation: 51-44=7, Resulting Numbers: [56, 7] Generated Node #0,3,3: 56:[56, 7] Operation: 51-44=7 Exploring Operation: 51+44=95, Resulting Numbers: [56, 95] Generated Node #0,3,4: 56:[56, 95] Operation: 51+44=95 Moving to Node #0,0,0 Current State: 56:[7, 56], Operations: ['51-44=7', '59-3=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,56 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[56, 7], Operations: ['59-3=56', '51-44=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,56 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[15, 54], Operations: ['59-44=15', '3+51=54'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[54, 15], Operations: ['3+51=54', '59-44=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[59, 4], Operations: ['51-44=7', '7-3=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,56 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[15, 17], Operations: ['59-44=15', '51/3=17'] Exploring Operation: 15+17=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 15*17=255, Resulting Numbers: [255] 255,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[3, 52], Operations: ['51-44=7', '59-7=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[59, 10], Operations: ['3+51=54', '54-44=10'] Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,56 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[59, 10], Operations: ['51-44=7', '3+7=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[7, 62], Operations: ['51-44=7', '3+59=62'] Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,56 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,56 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[51, 5], Operations: ['59-44=15', '15/3=5'] Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,56 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[3, 51, 59, 44], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [3, 51, 15] Generated Node #0,1: 56:[3, 51, 15] Operation: 59-44=15 Moving to Node #0,1 Current State: 56:[3, 51, 15], Operations: ['59-44=15'] Exploring Operation: 15/3=5, Resulting Numbers: [51, 5] Generated Node #0,1,3: 56:[51, 5] Operation: 15/3=5 Moving to Node #0,1,3 Current State: 56:[51, 5], Operations: ['59-44=15', '15/3=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 94, 59, 9, 56 ]
91
[ "59-56=3", "9/3=3", "94-3=91" ]
Current State: 91:[94, 59, 9, 56], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [94, 9, 3] Generated Node #2: [94, 9, 3] from Operation: 59-56=3 Current State: 91:[94, 9, 3], Operations: ['59-56=3'] Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 9/3=3 Current State: 91:[94, 3], Operations: ['59-56=3', '9/3=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[94, 59, 9, 56], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [9, 56, 35] Generated Node #0,0: 91:[9, 56, 35] Operation: 94-59=35 Exploring Operation: 94-56=38, Resulting Numbers: [59, 9, 38] Generated Node #0,1: 91:[59, 9, 38] Operation: 94-56=38 Exploring Operation: 59+56=115, Resulting Numbers: [94, 9, 115] Generated Node #0,2: 91:[94, 9, 115] Operation: 59+56=115 Exploring Operation: 59-56=3, Resulting Numbers: [94, 9, 3] Generated Node #0,3: 91:[94, 9, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[94, 9, 3], Operations: ['59-56=3'] Exploring Operation: 9-3=6, Resulting Numbers: [94, 6] Generated Node #0,3,0: 91:[94, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #0,3,1: 91:[94, 3] Operation: 9/3=3 Exploring Operation: 9+3=12, Resulting Numbers: [94, 12] Generated Node #0,3,2: 91:[94, 12] Operation: 9+3=12 Exploring Operation: 94-3=91, Resulting Numbers: [9, 91] Generated Node #0,3,3: 91:[9, 91] Operation: 94-3=91 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 91:[9, 91], Operations: ['59-56=3', '94-3=91'] Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,91 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[94, 6], Operations: ['59-56=3', '9-3=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,91 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 91:[94, 12], Operations: ['59-56=3', '9+3=12'] Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,91 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 91:[94, 3], Operations: ['59-56=3', '9/3=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,91 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[94, 59, 9, 56], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [94, 9, 3] Generated Node #0,3: 91:[94, 9, 3] Operation: 59-56=3 Moving to Node #0,3 Current State: 91:[94, 9, 3], Operations: ['59-56=3'] Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #0,3,1: 91:[94, 3] Operation: 9/3=3 Moving to Node #0,3,1 Current State: 91:[94, 3], Operations: ['59-56=3', '9/3=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 77, 2, 26, 46 ]
82
[ "77*2=154", "26+46=72", "154-72=82" ]
Current State: 82:[77, 2, 26, 46], Operations: [] Exploring Operation: 77*2=154, Resulting Numbers: [26, 46, 154] Generated Node #2: [26, 46, 154] from Operation: 77*2=154 Current State: 82:[26, 46, 154], Operations: ['77*2=154'] Exploring Operation: 26+46=72, Resulting Numbers: [154, 72] Generated Node #3: [154, 72] from Operation: 26+46=72 Current State: 82:[154, 72], Operations: ['77*2=154', '26+46=72'] Exploring Operation: 154-72=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[77, 2, 26, 46], Operations: [] Exploring Operation: 26+46=72, Resulting Numbers: [77, 2, 72] Generated Node #0,0: 82:[77, 2, 72] Operation: 26+46=72 Exploring Operation: 77-26=51, Resulting Numbers: [2, 46, 51] Generated Node #0,1: 82:[2, 46, 51] Operation: 77-26=51 Exploring Operation: 2*26=52, Resulting Numbers: [77, 46, 52] Generated Node #0,2: 82:[77, 46, 52] Operation: 2*26=52 Moving to Node #0,0 Current State: 82:[77, 2, 72], Operations: ['26+46=72'] Exploring Operation: 77-72=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 82:[2, 5] Operation: 77-72=5 Exploring Operation: 77+2=79, Resulting Numbers: [72, 79] Generated Node #0,0,1: 82:[72, 79] Operation: 77+2=79 Exploring Operation: 72/2=36, Resulting Numbers: [77, 36] Generated Node #0,0,2: 82:[77, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[2, 5], Operations: ['26+46=72', '77-72=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[77, 36], Operations: ['26+46=72', '72/2=36'] Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,82 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[72, 79], Operations: ['26+46=72', '77+2=79'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,82 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,82 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: 82:[2, 46, 51], Operations: ['77-26=51'] Exploring Operation: 46-2=44, Resulting Numbers: [51, 44] Generated Node #0,1,0: 82:[51, 44] Operation: 46-2=44 Exploring Operation: 51-2=49, Resulting Numbers: [46, 49] Generated Node #0,1,1: 82:[46, 49] Operation: 51-2=49 Exploring Operation: 51-46=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 82:[2, 5] Operation: 51-46=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[2, 5], Operations: ['77-26=51', '51-46=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[51, 44], Operations: ['77-26=51', '46-2=44'] Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,82 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[46, 49], Operations: ['77-26=51', '51-2=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,82 unequal: No Solution Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,82 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: 82:[77, 46, 52], Operations: ['2*26=52'] Exploring Operation: 52-46=6, Resulting Numbers: [77, 6] Generated Node #0,2,0: 82:[77, 6] Operation: 52-46=6 Exploring Operation: 77-52=25, Resulting Numbers: [46, 25] Generated Node #0,2,1: 82:[46, 25] Operation: 77-52=25 Exploring Operation: 77-46=31, Resulting Numbers: [52, 31] Generated Node #0,2,2: 82:[52, 31] Operation: 77-46=31 Moving to Node #0,2,0 Current State: 82:[77, 6], Operations: ['2*26=52', '52-46=6'] Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,82 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[46, 25], Operations: ['2*26=52', '77-52=25'] Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,82 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[52, 31], Operations: ['2*26=52', '77-46=31'] Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,82 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 48, 20, 5 ]
41
[ "40/20=2", "48-5=43", "43-2=41" ]
Current State: 41:[40, 48, 20, 5], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [48, 5, 2] Generated Node #2: [48, 5, 2] from Operation: 40/20=2 Current State: 41:[48, 5, 2], Operations: ['40/20=2'] Exploring Operation: 48-5=43, Resulting Numbers: [2, 43] Generated Node #3: [2, 43] from Operation: 48-5=43 Current State: 41:[2, 43], Operations: ['40/20=2', '48-5=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[40, 48, 20, 5], Operations: [] Exploring Operation: 48-5=43, Resulting Numbers: [40, 20, 43] Generated Node #0,0: 41:[40, 20, 43] Operation: 48-5=43 Exploring Operation: 40-5=35, Resulting Numbers: [48, 20, 35] Generated Node #0,1: 41:[48, 20, 35] Operation: 40-5=35 Exploring Operation: 40+5=45, Resulting Numbers: [48, 20, 45] Generated Node #0,2: 41:[48, 20, 45] Operation: 40+5=45 Exploring Operation: 20+5=25, Resulting Numbers: [40, 48, 25] Generated Node #0,3: 41:[40, 48, 25] Operation: 20+5=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[40, 20, 43], Operations: ['48-5=43'] Exploring Operation: 20+43=63, Resulting Numbers: [40, 63] Generated Node #0,0,0: 41:[40, 63] Operation: 20+43=63 Exploring Operation: 43-20=23, Resulting Numbers: [40, 23] Generated Node #0,0,1: 41:[40, 23] Operation: 43-20=23 Exploring Operation: 40-20=20, Resulting Numbers: [43, 20] Generated Node #0,0,2: 41:[43, 20] Operation: 40-20=20 Exploring Operation: 40+20=60, Resulting Numbers: [43, 60] Generated Node #0,0,3: 41:[43, 60] Operation: 40+20=60 Moving to Node #0,0,1 Current State: 41:[40, 23], Operations: ['48-5=43', '43-20=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[43, 60], Operations: ['48-5=43', '40+20=60'] Exploring Operation: 43*60=2580, Resulting Numbers: [2580] 2580,41 unequal: No Solution Exploring Operation: 43+60=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[43, 20], Operations: ['48-5=43', '40-20=20'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[40, 63], Operations: ['48-5=43', '20+43=63'] Exploring Operation: 40*63=2520, Resulting Numbers: [2520] 2520,41 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 40+63=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[40, 48, 25], Operations: ['20+5=25'] Exploring Operation: 40+25=65, Resulting Numbers: [48, 65] Generated Node #0,3,0: 41:[48, 65] Operation: 40+25=65 Exploring Operation: 48+25=73, Resulting Numbers: [40, 73] Generated Node #0,3,1: 41:[40, 73] Operation: 48+25=73 Exploring Operation: 48-25=23, Resulting Numbers: [40, 23] Generated Node #0,3,2: 41:[40, 23] Operation: 48-25=23 Exploring Operation: 40-25=15, Resulting Numbers: [48, 15] Generated Node #0,3,3: 41:[48, 15] Operation: 40-25=15 Moving to Node #0,3,2 Current State: 41:[40, 23], Operations: ['20+5=25', '48-25=23'] Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,41 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[48, 65], Operations: ['20+5=25', '40+25=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,41 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[48, 15], Operations: ['20+5=25', '40-25=15'] Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,41 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[40, 73], Operations: ['20+5=25', '48+25=73'] Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,41 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[48, 20, 45], Operations: ['40+5=45'] Exploring Operation: 20+45=65, Resulting Numbers: [48, 65] Generated Node #0,2,0: 41:[48, 65] Operation: 20+45=65 Exploring Operation: 48+20=68, Resulting Numbers: [45, 68] Generated Node #0,2,1: 41:[45, 68] Operation: 48+20=68 Exploring Operation: 48-20=28, Resulting Numbers: [45, 28] Generated Node #0,2,2: 41:[45, 28] Operation: 48-20=28 Exploring Operation: 45-20=25, Resulting Numbers: [48, 25] Generated Node #0,2,3: 41:[48, 25] Operation: 45-20=25 Moving to Node #0,2,2 Current State: 41:[45, 28], Operations: ['40+5=45', '48-20=28'] Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,41 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[48, 25], Operations: ['40+5=45', '45-20=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,41 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[45, 68], Operations: ['40+5=45', '48+20=68'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,41 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[48, 65], Operations: ['40+5=45', '20+45=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[48, 20, 35], Operations: ['40-5=35'] Exploring Operation: 20+35=55, Resulting Numbers: [48, 55] Generated Node #0,1,0: 41:[48, 55] Operation: 20+35=55 Exploring Operation: 35-20=15, Resulting Numbers: [48, 15] Generated Node #0,1,1: 41:[48, 15] Operation: 35-20=15 Exploring Operation: 48+20=68, Resulting Numbers: [35, 68] Generated Node #0,1,2: 41:[35, 68] Operation: 48+20=68 Exploring Operation: 48-20=28, Resulting Numbers: [35, 28] Generated Node #0,1,3: 41:[35, 28] Operation: 48-20=28 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[35, 28], Operations: ['40-5=35', '48-20=28'] Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,41 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,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:[48, 55], Operations: ['40-5=35', '20+35=55'] Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,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:[48, 15], Operations: ['40-5=35', '35-20=15'] Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,41 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[35, 68], Operations: ['40-5=35', '48+20=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,41 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,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
mult_heuristic
[ 41, 63, 42, 13 ]
81
[ "41+13=54", "63*54=3402", "3402/42=81" ]
Current State: 81:[41, 63, 42, 13], Operations: [] Exploring Operation: 41+13=54, Resulting Numbers: [63, 42, 54] Generated Node #2: [63, 42, 54] from Operation: 41+13=54 Current State: 81:[63, 42, 54], Operations: ['41+13=54'] Exploring Operation: 63*54=3402, Resulting Numbers: [42, 3402] Generated Node #3: [42, 3402] from Operation: 63*54=3402 Current State: 81:[42, 3402], Operations: ['41+13=54', '63*54=3402'] Exploring Operation: 3402/42=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[41, 63, 42, 13], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [42, 13, 22] Generated Node #0,0: 81:[42, 13, 22] Operation: 63-41=22 Exploring Operation: 42-41=1, Resulting Numbers: [63, 13, 1] Generated Node #0,1: 81:[63, 13, 1] Operation: 42-41=1 Exploring Operation: 41+42=83, Resulting Numbers: [63, 13, 83] Generated Node #0,2: 81:[63, 13, 83] Operation: 41+42=83 Moving to Node #0,0 Current State: 81:[42, 13, 22], Operations: ['63-41=22'] Exploring Operation: 42-22=20, Resulting Numbers: [13, 20] Generated Node #0,0,0: 81:[13, 20] Operation: 42-22=20 Exploring Operation: 22-13=9, Resulting Numbers: [42, 9] Generated Node #0,0,1: 81:[42, 9] Operation: 22-13=9 Exploring Operation: 42-13=29, Resulting Numbers: [22, 29] Generated Node #0,0,2: 81:[22, 29] Operation: 42-13=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[22, 29], Operations: ['63-41=22', '42-13=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,81 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,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:[13, 20], Operations: ['63-41=22', '42-22=20'] Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,81 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,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,1 Current State: 81:[42, 9], Operations: ['63-41=22', '22-13=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,81 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,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:[63, 13, 1], Operations: ['42-41=1'] Exploring Operation: 63+1=64, Resulting Numbers: [13, 64] Generated Node #0,1,0: 81:[13, 64] Operation: 63+1=64 Exploring Operation: 13-1=12, Resulting Numbers: [63, 12] Generated Node #0,1,1: 81:[63, 12] Operation: 13-1=12 Exploring Operation: 63+13=76, Resulting Numbers: [1, 76] Generated Node #0,1,2: 81:[1, 76] Operation: 63+13=76 Moving to Node #0,2 Current State: 81:[63, 13, 83], Operations: ['41+42=83'] Exploring Operation: 63+13=76, Resulting Numbers: [83, 76] Generated Node #0,2,0: 81:[83, 76] Operation: 63+13=76 Exploring Operation: 63-13=50, Resulting Numbers: [83, 50] Generated Node #0,2,1: 81:[83, 50] Operation: 63-13=50 Exploring Operation: 83-63=20, Resulting Numbers: [13, 20] Generated Node #0,2,2: 81:[13, 20] Operation: 83-63=20 Moving to Node #0,1,2 Current State: 81:[1, 76], Operations: ['42-41=1', '63+13=76'] Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,81 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[83, 76], Operations: ['41+42=83', '63+13=76'] Exploring Operation: 83+76=159, Resulting Numbers: [159] 159,81 unequal: No Solution Exploring Operation: 83*76=6308, Resulting Numbers: [6308] 6308,81 unequal: No Solution Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[13, 20], Operations: ['41+42=83', '83-63=20'] Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[63, 12], Operations: ['42-41=1', '13-1=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,81 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[13, 64], Operations: ['42-41=1', '63+1=64'] Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[83, 50], Operations: ['41+42=83', '63-13=50'] Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 83*50=4150, Resulting Numbers: [4150] 4150,81 unequal: No Solution Exploring Operation: 83+50=133, Resulting Numbers: [133] 133,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 10, 87, 78, 82 ]
81
[ "87-10=77", "82-78=4", "77+4=81" ]
Current State: 81:[10, 87, 78, 82], Operations: [] Exploring Operation: 87-10=77, Resulting Numbers: [78, 82, 77] Generated Node #2: [78, 82, 77] from Operation: 87-10=77 Current State: 81:[78, 82, 77], Operations: ['87-10=77'] Exploring Operation: 82-78=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 82-78=4 Current State: 81:[77, 4], Operations: ['87-10=77', '82-78=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[10, 87, 78, 82], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [10, 82, 9] Generated Node #0,0: 81:[10, 82, 9] Operation: 87-78=9 Exploring Operation: 87-82=5, Resulting Numbers: [10, 78, 5] Generated Node #0,1: 81:[10, 78, 5] Operation: 87-82=5 Moving to Node #0,0 Current State: 81:[10, 82, 9], Operations: ['87-78=9'] Exploring Operation: 10-9=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 81:[82, 1] Operation: 10-9=1 Exploring Operation: 82-10=72, Resulting Numbers: [9, 72] Generated Node #0,0,1: 81:[9, 72] Operation: 82-10=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[82, 1], Operations: ['87-78=9', '10-9=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[10, 87, 78, 82], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [10, 82, 9] Generated Node #0,0: 81:[10, 82, 9] Operation: 87-78=9 Moving to Node #0,0 Current State: 81:[10, 82, 9], Operations: ['87-78=9'] Exploring Operation: 10-9=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 81:[82, 1] Operation: 10-9=1 Moving to Node #0,0,0 Current State: 81:[82, 1], Operations: ['87-78=9', '10-9=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 5, 34, 71 ]
19
[ "34+71=105", "105/5=21", "21-2=19" ]
Current State: 19:[2, 5, 34, 71], Operations: [] Exploring Operation: 34+71=105, Resulting Numbers: [2, 5, 105] Generated Node #2: [2, 5, 105] from Operation: 34+71=105 Current State: 19:[2, 5, 105], Operations: ['34+71=105'] Exploring Operation: 105/5=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 105/5=21 Current State: 19:[2, 21], Operations: ['34+71=105', '105/5=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 5, 34, 71], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [34, 71, 10] Generated Node #0,0: 19:[34, 71, 10] Operation: 2*5=10 Exploring Operation: 34/2=17, Resulting Numbers: [5, 71, 17] Generated Node #0,1: 19:[5, 71, 17] Operation: 34/2=17 Exploring Operation: 71-34=37, Resulting Numbers: [2, 5, 37] Generated Node #0,2: 19:[2, 5, 37] Operation: 71-34=37 Exploring Operation: 2+5=7, Resulting Numbers: [34, 71, 7] Generated Node #0,3: 19:[34, 71, 7] Operation: 2+5=7 Moving to Node #0,2 Current State: 19:[2, 5, 37], Operations: ['71-34=37'] Exploring Operation: 37-5=32, Resulting Numbers: [2, 32] Generated Node #0,2,0: 19:[2, 32] Operation: 37-5=32 Exploring Operation: 2*5=10, Resulting Numbers: [37, 10] Generated Node #0,2,1: 19:[37, 10] Operation: 2*5=10 Exploring Operation: 2+5=7, Resulting Numbers: [37, 7] Generated Node #0,2,2: 19:[37, 7] Operation: 2+5=7 Exploring Operation: 37-2=35, Resulting Numbers: [5, 35] Generated Node #0,2,3: 19:[5, 35] Operation: 37-2=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[37, 10], Operations: ['71-34=37', '2*5=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,19 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,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:[2, 32], Operations: ['71-34=37', '37-5=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 32-2=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,2 Current State: 19:[37, 7], Operations: ['71-34=37', '2+5=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,19 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 37+7=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,3 Current State: 19:[5, 35], Operations: ['71-34=37', '37-2=35'] Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,19 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,19 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: 19:[5, 71, 17], Operations: ['34/2=17'] Exploring Operation: 71-5=66, Resulting Numbers: [17, 66] Generated Node #0,1,0: 19:[17, 66] Operation: 71-5=66 Exploring Operation: 5+17=22, Resulting Numbers: [71, 22] Generated Node #0,1,1: 19:[71, 22] Operation: 5+17=22 Exploring Operation: 71-17=54, Resulting Numbers: [5, 54] Generated Node #0,1,2: 19:[5, 54] Operation: 71-17=54 Exploring Operation: 5+71=76, Resulting Numbers: [17, 76] Generated Node #0,1,3: 19:[17, 76] Operation: 5+71=76 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[17, 66], Operations: ['34/2=17', '71-5=66'] Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,19 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[5, 54], Operations: ['34/2=17', '71-17=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,19 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,19 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[71, 22], Operations: ['34/2=17', '5+17=22'] Exploring Operation: 71+22=93, Resulting Numbers: [93] 93,19 unequal: No Solution Exploring Operation: 71*22=1562, Resulting Numbers: [1562] 1562,19 unequal: No Solution Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[17, 76], Operations: ['34/2=17', '5+71=76'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,19 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,19 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: 19:[34, 71, 10], Operations: ['2*5=10'] Exploring Operation: 34+10=44, Resulting Numbers: [71, 44] Generated Node #0,0,0: 19:[71, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [71, 24] Generated Node #0,0,1: 19:[71, 24] Operation: 34-10=24 Exploring Operation: 71-10=61, Resulting Numbers: [34, 61] Generated Node #0,0,2: 19:[34, 61] Operation: 71-10=61 Exploring Operation: 71-34=37, Resulting Numbers: [10, 37] Generated Node #0,0,3: 19:[10, 37] Operation: 71-34=37 Moving to Node #0,3 Current State: 19:[34, 71, 7], Operations: ['2+5=7'] Exploring Operation: 34-7=27, Resulting Numbers: [71, 27] Generated Node #0,3,0: 19:[71, 27] Operation: 34-7=27 Exploring Operation: 71-7=64, Resulting Numbers: [34, 64] Generated Node #0,3,1: 19:[34, 64] Operation: 71-7=64 Exploring Operation: 71-34=37, Resulting Numbers: [7, 37] Generated Node #0,3,2: 19:[7, 37] Operation: 71-34=37 Exploring Operation: 34+7=41, Resulting Numbers: [71, 41] Generated Node #0,3,3: 19:[71, 41] Operation: 34+7=41 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[7, 37], Operations: ['2+5=7', '71-34=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,19 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 7+37=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,3,0 Current State: 19:[71, 27], Operations: ['2+5=7', '34-7=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,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,3,1 Current State: 19:[34, 64], Operations: ['2+5=7', '71-7=64'] Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,19 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 64-34=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,3,3 Current State: 19:[71, 41], Operations: ['2+5=7', '34+7=41'] Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,19 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 19:[10, 37], Operations: ['2*5=10', '71-34=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[34, 61], Operations: ['2*5=10', '71-10=61'] Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,19 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[71, 24], Operations: ['2*5=10', '34-10=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,19 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[71, 44], Operations: ['2*5=10', '34+10=44'] Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,19 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,19 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 87, 4, 93, 12 ]
19
[ "87+93=180", "180/12=15", "4+15=19" ]
Current State: 19:[87, 4, 93, 12], Operations: [] Exploring Operation: 87+93=180, Resulting Numbers: [4, 12, 180] Generated Node #2: [4, 12, 180] from Operation: 87+93=180 Current State: 19:[4, 12, 180], Operations: ['87+93=180'] Exploring Operation: 180/12=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 180/12=15 Current State: 19:[4, 15], Operations: ['87+93=180', '180/12=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[87, 4, 93, 12], Operations: [] Exploring Operation: 87-12=75, Resulting Numbers: [4, 93, 75] Generated Node #0,0: 19:[4, 93, 75] Operation: 87-12=75 Exploring Operation: 93-87=6, Resulting Numbers: [4, 12, 6] Generated Node #0,1: 19:[4, 12, 6] Operation: 93-87=6 Exploring Operation: 87-4=83, Resulting Numbers: [93, 12, 83] Generated Node #0,2: 19:[93, 12, 83] Operation: 87-4=83 Exploring Operation: 93-4=89, Resulting Numbers: [87, 12, 89] Generated Node #0,3: 19:[87, 12, 89] Operation: 93-4=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[4, 12, 6], Operations: ['93-87=6'] Exploring Operation: 4*6=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 19:[12, 24] Operation: 4*6=24 Exploring Operation: 4+12=16, Resulting Numbers: [6, 16] Generated Node #0,1,1: 19:[6, 16] Operation: 4+12=16 Exploring Operation: 4+6=10, Resulting Numbers: [12, 10] Generated Node #0,1,2: 19:[12, 10] Operation: 4+6=10 Exploring Operation: 12+6=18, Resulting Numbers: [4, 18] Generated Node #0,1,3: 19:[4, 18] Operation: 12+6=18 Moving to Node #0,1,0 Current State: 19:[12, 24], Operations: ['93-87=6', '4*6=24'] Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,19 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[12, 10], Operations: ['93-87=6', '4+6=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[6, 16], Operations: ['93-87=6', '4+12=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[4, 18], Operations: ['93-87=6', '12+6=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,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,0 Current State: 19:[4, 93, 75], Operations: ['87-12=75'] Exploring Operation: 4+93=97, Resulting Numbers: [75, 97] Generated Node #0,0,0: 19:[75, 97] Operation: 4+93=97 Exploring Operation: 75-4=71, Resulting Numbers: [93, 71] Generated Node #0,0,1: 19:[93, 71] Operation: 75-4=71 Exploring Operation: 93-75=18, Resulting Numbers: [4, 18] Generated Node #0,0,2: 19:[4, 18] Operation: 93-75=18 Exploring Operation: 93-4=89, Resulting Numbers: [75, 89] Generated Node #0,0,3: 19:[75, 89] Operation: 93-4=89 Moving to Node #0,0,2 Current State: 19:[4, 18], Operations: ['87-12=75', '93-75=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[75, 89], Operations: ['87-12=75', '93-4=89'] Exploring Operation: 75*89=6675, Resulting Numbers: [6675] 6675,19 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 75+89=164, Resulting Numbers: [164] 164,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[93, 71], Operations: ['87-12=75', '75-4=71'] Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 93+71=164, Resulting Numbers: [164] 164,19 unequal: No Solution Exploring Operation: 93*71=6603, Resulting Numbers: [6603] 6603,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[75, 97], Operations: ['87-12=75', '4+93=97'] Exploring Operation: 97-75=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 75*97=7275, Resulting Numbers: [7275] 7275,19 unequal: No Solution Exploring Operation: 75+97=172, Resulting Numbers: [172] 172,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 Current State: 19:[93, 12, 83], Operations: ['87-4=83'] Exploring Operation: 83-12=71, Resulting Numbers: [93, 71] Generated Node #0,2,0: 19:[93, 71] Operation: 83-12=71 Exploring Operation: 93+12=105, Resulting Numbers: [83, 105] Generated Node #0,2,1: 19:[83, 105] Operation: 93+12=105 Exploring Operation: 93-83=10, Resulting Numbers: [12, 10] Generated Node #0,2,2: 19:[12, 10] Operation: 93-83=10 Exploring Operation: 93-12=81, Resulting Numbers: [83, 81] Generated Node #0,2,3: 19:[83, 81] Operation: 93-12=81 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[12, 10], Operations: ['87-4=83', '93-83=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[93, 71], Operations: ['87-4=83', '83-12=71'] Exploring Operation: 93*71=6603, Resulting Numbers: [6603] 6603,19 unequal: No Solution Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 93+71=164, Resulting Numbers: [164] 164,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[83, 81], Operations: ['87-4=83', '93-12=81'] Exploring Operation: 83*81=6723, Resulting Numbers: [6723] 6723,19 unequal: No Solution Exploring Operation: 83+81=164, Resulting Numbers: [164] 164,19 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[83, 105], Operations: ['87-4=83', '93+12=105'] Exploring Operation: 105-83=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 83+105=188, Resulting Numbers: [188] 188,19 unequal: No Solution Exploring Operation: 83*105=8715, Resulting Numbers: [8715] 8715,19 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: 19:[87, 12, 89], Operations: ['93-4=89'] Exploring Operation: 89-87=2, Resulting Numbers: [12, 2] Generated Node #0,3,0: 19:[12, 2] Operation: 89-87=2 Exploring Operation: 87-12=75, Resulting Numbers: [89, 75] Generated Node #0,3,1: 19:[89, 75] Operation: 87-12=75 Exploring Operation: 87+12=99, Resulting Numbers: [89, 99] Generated Node #0,3,2: 19:[89, 99] Operation: 87+12=99 Exploring Operation: 89-12=77, Resulting Numbers: [87, 77] Generated Node #0,3,3: 19:[87, 77] Operation: 89-12=77 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[12, 2], Operations: ['93-4=89', '89-87=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[89, 75], Operations: ['93-4=89', '87-12=75'] Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,19 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,19 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[87, 77], Operations: ['93-4=89', '89-12=77'] Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 87*77=6699, Resulting Numbers: [6699] 6699,19 unequal: No Solution Exploring Operation: 87+77=164, Resulting Numbers: [164] 164,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[89, 99], Operations: ['93-4=89', '87+12=99'] Exploring Operation: 99-89=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 89+99=188, Resulting Numbers: [188] 188,19 unequal: No Solution Exploring Operation: 89*99=8811, Resulting Numbers: [8811] 8811,19 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
[ 87, 44, 81, 40 ]
90
[ "87+44=131", "81-40=41", "131-41=90" ]
Current State: 90:[87, 44, 81, 40], Operations: [] Exploring Operation: 87+44=131, Resulting Numbers: [81, 40, 131] Generated Node #2: [81, 40, 131] from Operation: 87+44=131 Current State: 90:[81, 40, 131], Operations: ['87+44=131'] Exploring Operation: 81-40=41, Resulting Numbers: [131, 41] Generated Node #3: [131, 41] from Operation: 81-40=41 Current State: 90:[131, 41], Operations: ['87+44=131', '81-40=41'] Exploring Operation: 131-41=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[87, 44, 81, 40], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [44, 40, 6] Generated Node #0,0: 90:[44, 40, 6] Operation: 87-81=6 Exploring Operation: 81-40=41, Resulting Numbers: [87, 44, 41] Generated Node #0,1: 90:[87, 44, 41] Operation: 81-40=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[44, 40, 6], Operations: ['87-81=6'] Exploring Operation: 40+6=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 90:[44, 46] Operation: 40+6=46 Exploring Operation: 44-40=4, Resulting Numbers: [6, 4] Generated Node #0,0,1: 90:[6, 4] Operation: 44-40=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[6, 4], Operations: ['87-81=6', '44-40=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[44, 46], Operations: ['87-81=6', '40+6=46'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[87, 44, 81, 40], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [44, 40, 6] Generated Node #0,0: 90:[44, 40, 6] Operation: 87-81=6 Moving to Node #0,0 Current State: 90:[44, 40, 6], Operations: ['87-81=6'] Exploring Operation: 40+6=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 90:[44, 46] Operation: 40+6=46 Moving to Node #0,0,0 Current State: 90:[44, 46], Operations: ['87-81=6', '40+6=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 93, 7, 79, 43 ]
55
[ "93-79=14", "7*14=98", "98-43=55" ]
Current State: 55:[93, 7, 79, 43], Operations: [] Exploring Operation: 93-79=14, Resulting Numbers: [7, 43, 14] Generated Node #2: [7, 43, 14] from Operation: 93-79=14 Current State: 55:[7, 43, 14], Operations: ['93-79=14'] Exploring Operation: 7*14=98, Resulting Numbers: [43, 98] Generated Node #3: [43, 98] from Operation: 7*14=98 Current State: 55:[43, 98], Operations: ['93-79=14', '7*14=98'] Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[93, 7, 79, 43], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [7, 79, 50] Generated Node #0,0: 55:[7, 79, 50] Operation: 93-43=50 Exploring Operation: 93-79=14, Resulting Numbers: [7, 43, 14] Generated Node #0,1: 55:[7, 43, 14] Operation: 93-79=14 Exploring Operation: 79-43=36, Resulting Numbers: [93, 7, 36] Generated Node #0,2: 55:[93, 7, 36] Operation: 79-43=36 Exploring Operation: 79-7=72, Resulting Numbers: [93, 43, 72] Generated Node #0,3: 55:[93, 43, 72] Operation: 79-7=72 Exploring Operation: 93-7=86, Resulting Numbers: [79, 43, 86] Generated Node #0,4: 55:[79, 43, 86] Operation: 93-7=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[7, 43, 14], Operations: ['93-79=14'] Exploring Operation: 43+14=57, Resulting Numbers: [7, 57] Generated Node #0,1,0: 55:[7, 57] Operation: 43+14=57 Exploring Operation: 43-14=29, Resulting Numbers: [7, 29] Generated Node #0,1,1: 55:[7, 29] Operation: 43-14=29 Exploring Operation: 7+43=50, Resulting Numbers: [14, 50] Generated Node #0,1,2: 55:[14, 50] Operation: 7+43=50 Exploring Operation: 14/7=2, Resulting Numbers: [43, 2] Generated Node #0,1,3: 55:[43, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [43, 7] Generated Node #0,1,4: 55:[43, 7] Operation: 14-7=7 Moving to Node #0,1,0 Current State: 55:[7, 57], Operations: ['93-79=14', '43+14=57'] Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,55 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[14, 50], Operations: ['93-79=14', '7+43=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[43, 7], Operations: ['93-79=14', '14-7=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[43, 2], Operations: ['93-79=14', '14/7=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[7, 29], Operations: ['93-79=14', '43-14=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,55 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[7, 79, 50], Operations: ['93-43=50'] Exploring Operation: 50-7=43, Resulting Numbers: [79, 43] Generated Node #0,0,0: 55:[79, 43] Operation: 50-7=43 Exploring Operation: 7+50=57, Resulting Numbers: [79, 57] Generated Node #0,0,1: 55:[79, 57] Operation: 7+50=57 Exploring Operation: 7+79=86, Resulting Numbers: [50, 86] Generated Node #0,0,2: 55:[50, 86] Operation: 7+79=86 Exploring Operation: 79-7=72, Resulting Numbers: [50, 72] Generated Node #0,0,3: 55:[50, 72] Operation: 79-7=72 Exploring Operation: 79-50=29, Resulting Numbers: [7, 29] Generated Node #0,0,4: 55:[7, 29] Operation: 79-50=29 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[7, 29], Operations: ['93-43=50', '79-50=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,55 unequal: No Solution No 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: 55:[50, 72], Operations: ['93-43=50', '79-7=72'] Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,55 unequal: No Solution Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,55 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,55 unequal: No Solution No 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: 55:[79, 57], Operations: ['93-43=50', '7+50=57'] Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,55 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,55 unequal: No Solution No 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: 55:[79, 43], Operations: ['93-43=50', '50-7=43'] Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,55 unequal: No Solution Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,55 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,55 unequal: No Solution No 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: 55:[50, 86], Operations: ['93-43=50', '7+79=86'] Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 50+86=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 50*86=4300, Resulting Numbers: [4300] 4300,55 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: 55:[93, 7, 36], Operations: ['79-43=36'] Exploring Operation: 93-36=57, Resulting Numbers: [7, 57] Generated Node #0,2,0: 55:[7, 57] Operation: 93-36=57 Exploring Operation: 36-7=29, Resulting Numbers: [93, 29] Generated Node #0,2,1: 55:[93, 29] Operation: 36-7=29 Exploring Operation: 93-7=86, Resulting Numbers: [36, 86] Generated Node #0,2,2: 55:[36, 86] Operation: 93-7=86 Exploring Operation: 7+36=43, Resulting Numbers: [93, 43] Generated Node #0,2,3: 55:[93, 43] Operation: 7+36=43 Exploring Operation: 93+7=100, Resulting Numbers: [36, 100] Generated Node #0,2,4: 55:[36, 100] Operation: 93+7=100 Moving to Node #0,2,0 Current State: 55:[7, 57], Operations: ['79-43=36', '93-36=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,55 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[93, 43], Operations: ['79-43=36', '7+36=43'] Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,55 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[36, 86], Operations: ['79-43=36', '93-7=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,55 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[93, 29], Operations: ['79-43=36', '36-7=29'] Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,55 unequal: No Solution Exploring Operation: 93*29=2697, Resulting Numbers: [2697] 2697,55 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[36, 100], Operations: ['79-43=36', '93+7=100'] Exploring Operation: 36*100=3600, Resulting Numbers: [3600] 3600,55 unequal: No Solution Exploring Operation: 36+100=136, Resulting Numbers: [136] 136,55 unequal: No Solution Exploring Operation: 100-36=64, Resulting Numbers: [64] 64,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[93, 43, 72], Operations: ['79-7=72'] Exploring Operation: 72-43=29, Resulting Numbers: [93, 29] Generated Node #0,3,0: 55:[93, 29] Operation: 72-43=29 Exploring Operation: 93-72=21, Resulting Numbers: [43, 21] Generated Node #0,3,1: 55:[43, 21] Operation: 93-72=21 Exploring Operation: 93+43=136, Resulting Numbers: [72, 136] Generated Node #0,3,2: 55:[72, 136] Operation: 93+43=136 Exploring Operation: 43+72=115, Resulting Numbers: [93, 115] Generated Node #0,3,3: 55:[93, 115] Operation: 43+72=115 Exploring Operation: 93-43=50, Resulting Numbers: [72, 50] Generated Node #0,3,4: 55:[72, 50] Operation: 93-43=50 Moving to Node #0,3,1 Current State: 55:[43, 21], Operations: ['79-7=72', '93-72=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,55 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[72, 50], Operations: ['79-7=72', '93-43=50'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,55 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[93, 29], Operations: ['79-7=72', '72-43=29'] Exploring Operation: 93*29=2697, Resulting Numbers: [2697] 2697,55 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[72, 136], Operations: ['79-7=72', '93+43=136'] Exploring Operation: 72+136=208, Resulting Numbers: [208] 208,55 unequal: No Solution Exploring Operation: 136-72=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 72*136=9792, Resulting Numbers: [9792] 9792,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[93, 115], Operations: ['79-7=72', '43+72=115'] Exploring Operation: 93+115=208, Resulting Numbers: [208] 208,55 unequal: No Solution Exploring Operation: 115-93=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 93*115=10695, Resulting Numbers: [10695] 10695,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[79, 43, 86], Operations: ['93-7=86'] Exploring Operation: 86-43=43, Resulting Numbers: [79, 43] Generated Node #0,4,0: 55:[79, 43] Operation: 86-43=43 Exploring Operation: 86-79=7, Resulting Numbers: [43, 7] Generated Node #0,4,1: 55:[43, 7] Operation: 86-79=7 Exploring Operation: 86/43=2, Resulting Numbers: [79, 2] Generated Node #0,4,2: 55:[79, 2] Operation: 86/43=2 Exploring Operation: 79+43=122, Resulting Numbers: [86, 122] Generated Node #0,4,3: 55:[86, 122] Operation: 79+43=122 Exploring Operation: 79-43=36, Resulting Numbers: [86, 36] Generated Node #0,4,4: 55:[86, 36] Operation: 79-43=36 Moving to Node #0,4,1 Current State: 55:[43, 7], Operations: ['93-7=86', '86-79=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,55 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[79, 2], Operations: ['93-7=86', '86/43=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,55 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[79, 43], Operations: ['93-7=86', '86-43=43'] Exploring Operation: 79*43=3397, Resulting Numbers: [3397] 3397,55 unequal: No Solution Exploring Operation: 79+43=122, Resulting Numbers: [122] 122,55 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[86, 36], Operations: ['93-7=86', '79-43=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,55 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[86, 122], Operations: ['93-7=86', '79+43=122'] Exploring Operation: 86+122=208, Resulting Numbers: [208] 208,55 unequal: No Solution Exploring Operation: 122-86=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 86*122=10492, Resulting Numbers: [10492] 10492,55 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
[ 2, 55, 65, 35 ]
50
[ "2*35=70", "55+65=120", "120-70=50" ]
Current State: 50:[2, 55, 65, 35], Operations: [] Exploring Operation: 2*35=70, Resulting Numbers: [55, 65, 70] Generated Node #2: [55, 65, 70] from Operation: 2*35=70 Current State: 50:[55, 65, 70], Operations: ['2*35=70'] Exploring Operation: 55+65=120, Resulting Numbers: [70, 120] Generated Node #3: [70, 120] from Operation: 55+65=120 Current State: 50:[70, 120], Operations: ['2*35=70', '55+65=120'] Exploring Operation: 120-70=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[2, 55, 65, 35], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [2, 55, 30] Generated Node #0,0: 50:[2, 55, 30] Operation: 65-35=30 Exploring Operation: 65-55=10, Resulting Numbers: [2, 35, 10] Generated Node #0,1: 50:[2, 35, 10] Operation: 65-55=10 Exploring Operation: 55-35=20, Resulting Numbers: [2, 65, 20] Generated Node #0,2: 50:[2, 65, 20] Operation: 55-35=20 Moving to Node #0,0 Current State: 50:[2, 55, 30], Operations: ['65-35=30'] Exploring Operation: 30-2=28, Resulting Numbers: [55, 28] Generated Node #0,0,0: 50:[55, 28] Operation: 30-2=28 Exploring Operation: 55-30=25, Resulting Numbers: [2, 25] Generated Node #0,0,1: 50:[2, 25] Operation: 55-30=25 Exploring Operation: 55-2=53, Resulting Numbers: [30, 53] Generated Node #0,0,2: 50:[30, 53] Operation: 55-2=53 Moving to Node #0,1 Current State: 50:[2, 35, 10], Operations: ['65-55=10'] Exploring Operation: 35-2=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 50:[10, 33] Operation: 35-2=33 Exploring Operation: 35+10=45, Resulting Numbers: [2, 45] Generated Node #0,1,1: 50:[2, 45] Operation: 35+10=45 Exploring Operation: 35-10=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 50:[2, 25] Operation: 35-10=25 Moving to Node #0,2 Current State: 50:[2, 65, 20], Operations: ['55-35=20'] Exploring Operation: 20/2=10, Resulting Numbers: [65, 10] Generated Node #0,2,0: 50:[65, 10] Operation: 20/2=10 Exploring Operation: 65-20=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 50:[2, 45] Operation: 65-20=45 Exploring Operation: 65-2=63, Resulting Numbers: [20, 63] Generated Node #0,2,2: 50:[20, 63] Operation: 65-2=63 Moving to Node #0,0,1 Current State: 50:[2, 25], Operations: ['65-35=30', '55-30=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[2, 55, 65, 35], Operations: [] Exploring Operation: 65-35=30, Resulting Numbers: [2, 55, 30] Generated Node #0,0: 50:[2, 55, 30] Operation: 65-35=30 Moving to Node #0,0 Current State: 50:[2, 55, 30], Operations: ['65-35=30'] Exploring Operation: 55-30=25, Resulting Numbers: [2, 25] Generated Node #0,0,1: 50:[2, 25] Operation: 55-30=25 Moving to Node #0,0,1 Current State: 50:[2, 25], Operations: ['65-35=30', '55-30=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 25, 27, 29, 63 ]
40
[ "25+27=52", "29+63=92", "92-52=40" ]
Current State: 40:[25, 27, 29, 63], Operations: [] Exploring Operation: 25+27=52, Resulting Numbers: [29, 63, 52] Generated Node #2: [29, 63, 52] from Operation: 25+27=52 Current State: 40:[29, 63, 52], Operations: ['25+27=52'] Exploring Operation: 29+63=92, Resulting Numbers: [52, 92] Generated Node #3: [52, 92] from Operation: 29+63=92 Current State: 40:[52, 92], Operations: ['25+27=52', '29+63=92'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[25, 27, 29, 63], Operations: [] Exploring Operation: 63-25=38, Resulting Numbers: [27, 29, 38] Generated Node #0,0: 40:[27, 29, 38] Operation: 63-25=38 Exploring Operation: 63-27=36, Resulting Numbers: [25, 29, 36] Generated Node #0,1: 40:[25, 29, 36] Operation: 63-27=36 Exploring Operation: 29-27=2, Resulting Numbers: [25, 63, 2] Generated Node #0,2: 40:[25, 63, 2] Operation: 29-27=2 Exploring Operation: 63-29=34, Resulting Numbers: [25, 27, 34] Generated Node #0,3: 40:[25, 27, 34] Operation: 63-29=34 Moving to Node #0,0 Current State: 40:[27, 29, 38], Operations: ['63-25=38'] Exploring Operation: 29-27=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 40:[38, 2] Operation: 29-27=2 Exploring Operation: 27+29=56, Resulting Numbers: [38, 56] Generated Node #0,0,1: 40:[38, 56] Operation: 27+29=56 Exploring Operation: 38-29=9, Resulting Numbers: [27, 9] Generated Node #0,0,2: 40:[27, 9] Operation: 38-29=9 Exploring Operation: 38-27=11, Resulting Numbers: [29, 11] Generated Node #0,0,3: 40:[29, 11] Operation: 38-27=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[38, 2], Operations: ['63-25=38', '29-27=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[25, 27, 29, 63], Operations: [] Exploring Operation: 63-25=38, Resulting Numbers: [27, 29, 38] Generated Node #0,0: 40:[27, 29, 38] Operation: 63-25=38 Moving to Node #0,0 Current State: 40:[27, 29, 38], Operations: ['63-25=38'] Exploring Operation: 29-27=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 40:[38, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 40:[38, 2], Operations: ['63-25=38', '29-27=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 93, 2, 34, 15 ]
37
[ "93-34=59", "15+59=74", "74/2=37" ]
Current State: 37:[93, 2, 34, 15], Operations: [] Exploring Operation: 93-34=59, Resulting Numbers: [2, 15, 59] Generated Node #2: [2, 15, 59] from Operation: 93-34=59 Current State: 37:[2, 15, 59], Operations: ['93-34=59'] Exploring Operation: 15+59=74, Resulting Numbers: [2, 74] Generated Node #3: [2, 74] from Operation: 15+59=74 Current State: 37:[2, 74], Operations: ['93-34=59', '15+59=74'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[93, 2, 34, 15], Operations: [] Exploring Operation: 2*15=30, Resulting Numbers: [93, 34, 30] Generated Node #0,0: 37:[93, 34, 30] Operation: 2*15=30 Exploring Operation: 93-2=91, Resulting Numbers: [34, 15, 91] Generated Node #0,1: 37:[34, 15, 91] Operation: 93-2=91 Moving to Node #0,0 Current State: 37:[93, 34, 30], Operations: ['2*15=30'] Exploring Operation: 93-34=59, Resulting Numbers: [30, 59] Generated Node #0,0,0: 37:[30, 59] Operation: 93-34=59 Exploring Operation: 93-30=63, Resulting Numbers: [34, 63] Generated Node #0,0,1: 37:[34, 63] Operation: 93-30=63 Moving to Node #0,1 Current State: 37:[34, 15, 91], Operations: ['93-2=91'] Exploring Operation: 91-34=57, Resulting Numbers: [15, 57] Generated Node #0,1,0: 37:[15, 57] Operation: 91-34=57 Exploring Operation: 91-15=76, Resulting Numbers: [34, 76] Generated Node #0,1,1: 37:[34, 76] Operation: 91-15=76 Moving to Node #0,0,0 Current State: 37:[30, 59], Operations: ['2*15=30', '93-34=59'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[34, 63], Operations: ['2*15=30', '93-30=63'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,37 unequal: No Solution Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[34, 76], Operations: ['93-2=91', '91-15=76'] Exploring Operation: 34+76=110, Resulting Numbers: [110] 110,37 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[15, 57], Operations: ['93-2=91', '91-34=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 64, 19, 35, 58 ]
16
[ "19+35=54", "58-54=4", "64/4=16" ]
Current State: 16:[64, 19, 35, 58], Operations: [] Exploring Operation: 19+35=54, Resulting Numbers: [64, 58, 54] Generated Node #2: [64, 58, 54] from Operation: 19+35=54 Current State: 16:[64, 58, 54], Operations: ['19+35=54'] Exploring Operation: 58-54=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 58-54=4 Current State: 16:[64, 4], Operations: ['19+35=54', '58-54=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[64, 19, 35, 58], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [19, 35, 6] Generated Node #0,0: 16:[19, 35, 6] Operation: 64-58=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[19, 35, 6], Operations: ['64-58=6'] Exploring Operation: 35-19=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 16:[6, 16] Operation: 35-19=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[6, 16], Operations: ['64-58=6', '35-19=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,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_1
mult_heuristic
[ 20, 80, 22, 69 ]
31
[ "80-20=60", "22+69=91", "91-60=31" ]
Current State: 31:[20, 80, 22, 69], Operations: [] Exploring Operation: 80-20=60, Resulting Numbers: [22, 69, 60] Generated Node #2: [22, 69, 60] from Operation: 80-20=60 Current State: 31:[22, 69, 60], Operations: ['80-20=60'] Exploring Operation: 22+69=91, Resulting Numbers: [60, 91] Generated Node #3: [60, 91] from Operation: 22+69=91 Current State: 31:[60, 91], Operations: ['80-20=60', '22+69=91'] Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 80, 22, 69], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [22, 69, 4] Generated Node #0,0: 31:[22, 69, 4] Operation: 80/20=4 Exploring Operation: 80-20=60, Resulting Numbers: [22, 69, 60] Generated Node #0,1: 31:[22, 69, 60] Operation: 80-20=60 Exploring Operation: 69-20=49, Resulting Numbers: [80, 22, 49] Generated Node #0,2: 31:[80, 22, 49] Operation: 69-20=49 Exploring Operation: 80-69=11, Resulting Numbers: [20, 22, 11] Generated Node #0,3: 31:[20, 22, 11] Operation: 80-69=11 Moving to Node #0,3 Current State: 31:[20, 22, 11], Operations: ['80-69=11'] Exploring Operation: 20-11=9, Resulting Numbers: [22, 9] Generated Node #0,3,0: 31:[22, 9] Operation: 20-11=9 Exploring Operation: 22+11=33, Resulting Numbers: [20, 33] Generated Node #0,3,1: 31:[20, 33] Operation: 22+11=33 Exploring Operation: 20+11=31, Resulting Numbers: [22, 31] Generated Node #0,3,2: 31:[22, 31] Operation: 20+11=31 Exploring Operation: 20+22=42, Resulting Numbers: [11, 42] Generated Node #0,3,3: 31:[11, 42] Operation: 20+22=42 Moving to Node #0,0 Current State: 31:[22, 69, 4], Operations: ['80/20=4'] Exploring Operation: 69-22=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 31:[4, 47] Operation: 69-22=47 Exploring Operation: 22+4=26, Resulting Numbers: [69, 26] Generated Node #0,0,1: 31:[69, 26] Operation: 22+4=26 Exploring Operation: 69-4=65, Resulting Numbers: [22, 65] Generated Node #0,0,2: 31:[22, 65] Operation: 69-4=65 Exploring Operation: 22-4=18, Resulting Numbers: [69, 18] Generated Node #0,0,3: 31:[69, 18] Operation: 22-4=18 Moving to Node #0,2 Current State: 31:[80, 22, 49], Operations: ['69-20=49'] Exploring Operation: 80+22=102, Resulting Numbers: [49, 102] Generated Node #0,2,0: 31:[49, 102] Operation: 80+22=102 Exploring Operation: 80-49=31, Resulting Numbers: [22, 31] Generated Node #0,2,1: 31:[22, 31] Operation: 80-49=31 Exploring Operation: 49-22=27, Resulting Numbers: [80, 27] Generated Node #0,2,2: 31:[80, 27] Operation: 49-22=27 Exploring Operation: 80-22=58, Resulting Numbers: [49, 58] Generated Node #0,2,3: 31:[49, 58] Operation: 80-22=58 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[22, 31], Operations: ['69-20=49', '80-49=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,31 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[49, 58], Operations: ['69-20=49', '80-22=58'] Exploring Operation: 49*58=2842, Resulting Numbers: [2842] 2842,31 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,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:[80, 27], Operations: ['69-20=49', '49-22=27'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 80*27=2160, Resulting Numbers: [2160] 2160,31 unequal: No Solution Exploring Operation: 80+27=107, Resulting Numbers: [107] 107,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,0 Current State: 31:[49, 102], Operations: ['69-20=49', '80+22=102'] Exploring Operation: 49+102=151, Resulting Numbers: [151] 151,31 unequal: No Solution Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 49*102=4998, Resulting Numbers: [4998] 4998,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[22, 69, 60], Operations: ['80-20=60'] Exploring Operation: 69-60=9, Resulting Numbers: [22, 9] Generated Node #0,1,0: 31:[22, 9] Operation: 69-60=9 Exploring Operation: 22+69=91, Resulting Numbers: [60, 91] Generated Node #0,1,1: 31:[60, 91] Operation: 22+69=91 Exploring Operation: 60-22=38, Resulting Numbers: [69, 38] Generated Node #0,1,2: 31:[69, 38] Operation: 60-22=38 Exploring Operation: 69-22=47, Resulting Numbers: [60, 47] Generated Node #0,1,3: 31:[60, 47] Operation: 69-22=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[22, 9], Operations: ['80-20=60', '69-60=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[20, 80, 22, 69], Operations: [] Exploring Operation: 80-20=60, Resulting Numbers: [22, 69, 60] Generated Node #0,1: 31:[22, 69, 60] Operation: 80-20=60 Moving to Node #0,1 Current State: 31:[22, 69, 60], Operations: ['80-20=60'] Exploring Operation: 69-60=9, Resulting Numbers: [22, 9] Generated Node #0,1,0: 31:[22, 9] Operation: 69-60=9 Moving to Node #0,1,0 Current State: 31:[22, 9], Operations: ['80-20=60', '69-60=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 84, 77, 18, 2 ]
32
[ "84-77=7", "2*7=14", "18+14=32" ]
Current State: 32:[84, 77, 18, 2], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [18, 2, 7] Generated Node #2: [18, 2, 7] from Operation: 84-77=7 Current State: 32:[18, 2, 7], Operations: ['84-77=7'] Exploring Operation: 2*7=14, Resulting Numbers: [18, 14] Generated Node #3: [18, 14] from Operation: 2*7=14 Current State: 32:[18, 14], Operations: ['84-77=7', '2*7=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 77, 18, 2], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [18, 2, 7] Generated Node #0,0: 32:[18, 2, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[18, 2, 7], Operations: ['84-77=7'] Exploring Operation: 18-2=16, Resulting Numbers: [7, 16] Generated Node #0,0,0: 32:[7, 16] Operation: 18-2=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[7, 16], Operations: ['84-77=7', '18-2=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 90, 41, 42, 41 ]
49
[ "90-41=49", "42-41=1", "49*1=49" ]
Current State: 49:[90, 41, 42, 41], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [42, 49] Generated Node #2: [42, 49] from Operation: 90-41=49 Current State: 49:[42, 49], Operations: ['90-41=49'] Exploring Operation: 42-41=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 42-41=1 Current State: 49:[49, 1], Operations: ['90-41=49', '42-41=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[90, 41, 42, 41], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [41, 42, 49] Generated Node #0,0: 49:[41, 42, 49] Operation: 90-41=49 Exploring Operation: 90-41=49, Resulting Numbers: [42, 41, 49] Generated Node #0,1: 49:[42, 41, 49] Operation: 90-41=49 Moving to Node #0,0 Current State: 49:[41, 42, 49], Operations: ['90-41=49'] Exploring Operation: 49-41=8, Resulting Numbers: [42, 8] Generated Node #0,0,0: 49:[42, 8] Operation: 49-41=8 Exploring Operation: 42-41=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 42-41=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['90-41=49', '42-41=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[90, 41, 42, 41], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [41, 42, 49] Generated Node #0,0: 49:[41, 42, 49] Operation: 90-41=49 Moving to Node #0,0 Current State: 49:[41, 42, 49], Operations: ['90-41=49'] Exploring Operation: 42-41=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 42-41=1 Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['90-41=49', '42-41=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic