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
[ 5, 44, 54, 73 ]
68
[ "5+44=49", "73-54=19", "49+19=68" ]
Current State: 68:[5, 44, 54, 73], Operations: [] Exploring Operation: 5+44=49, Resulting Numbers: [54, 73, 49] Generated Node #2: [54, 73, 49] from Operation: 5+44=49 Current State: 68:[54, 73, 49], Operations: ['5+44=49'] Exploring Operation: 73-54=19, Resulting Numbers: [49, 19] Generated Node #3: [49, 19] from Operation: 73-54=19 Current State: 68:[49, 19], Operations: ['5+44=49', '73-54=19'] Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[5, 44, 54, 73], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [5, 73, 10] Generated Node #0,0: 68:[5, 73, 10] Operation: 54-44=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[5, 73, 10], Operations: ['54-44=10'] Exploring Operation: 10/5=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 68:[73, 2] Operation: 10/5=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[73, 2], Operations: ['54-44=10', '10/5=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 70, 6, 63, 65 ]
52
[ "70+6=76", "63+65=128", "128-76=52" ]
Current State: 52:[70, 6, 63, 65], Operations: [] Exploring Operation: 70+6=76, Resulting Numbers: [63, 65, 76] Generated Node #2: [63, 65, 76] from Operation: 70+6=76 Current State: 52:[63, 65, 76], Operations: ['70+6=76'] Exploring Operation: 63+65=128, Resulting Numbers: [76, 128] Generated Node #3: [76, 128] from Operation: 63+65=128 Current State: 52:[76, 128], Operations: ['70+6=76', '63+65=128'] Exploring Operation: 128-76=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[70, 6, 63, 65], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [6, 63, 5] Generated Node #0,0: 52:[6, 63, 5] Operation: 70-65=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[6, 63, 5], Operations: ['70-65=5'] Exploring Operation: 63-6=57, Resulting Numbers: [5, 57] Generated Node #0,0,0: 52:[5, 57] Operation: 63-6=57 Moving to Node #0,0,0 Current State: 52:[5, 57], Operations: ['70-65=5', '63-6=57'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[70, 6, 63, 65], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [6, 63, 5] Generated Node #0,0: 52:[6, 63, 5] Operation: 70-65=5 Moving to Node #0,0 Current State: 52:[6, 63, 5], Operations: ['70-65=5'] Exploring Operation: 63-6=57, Resulting Numbers: [5, 57] Generated Node #0,0,0: 52:[5, 57] Operation: 63-6=57 Moving to Node #0,0,0 Current State: 52:[5, 57], Operations: ['70-65=5', '63-6=57'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 47, 27, 73, 77 ]
24
[ "47-27=20", "77-73=4", "20+4=24" ]
Current State: 24:[47, 27, 73, 77], Operations: [] Exploring Operation: 47-27=20, Resulting Numbers: [73, 77, 20] Generated Node #2: [73, 77, 20] from Operation: 47-27=20 Current State: 24:[73, 77, 20], Operations: ['47-27=20'] Exploring Operation: 77-73=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 77-73=4 Current State: 24:[20, 4], Operations: ['47-27=20', '77-73=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[47, 27, 73, 77], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [47, 27, 4] Generated Node #0,0: 24:[47, 27, 4] Operation: 77-73=4 Exploring Operation: 77-47=30, Resulting Numbers: [27, 73, 30] Generated Node #0,1: 24:[27, 73, 30] Operation: 77-47=30 Exploring Operation: 73-47=26, Resulting Numbers: [27, 77, 26] Generated Node #0,2: 24:[27, 77, 26] Operation: 73-47=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[47, 27, 4], Operations: ['77-73=4'] Exploring Operation: 47-4=43, Resulting Numbers: [27, 43] Generated Node #0,0,0: 24:[27, 43] Operation: 47-4=43 Exploring Operation: 47-27=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 24:[4, 20] Operation: 47-27=20 Exploring Operation: 27-4=23, Resulting Numbers: [47, 23] Generated Node #0,0,2: 24:[47, 23] Operation: 27-4=23 Moving to Node #0,0,1 Current State: 24:[4, 20], Operations: ['77-73=4', '47-27=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[47, 27, 73, 77], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [47, 27, 4] Generated Node #0,0: 24:[47, 27, 4] Operation: 77-73=4 Moving to Node #0,0 Current State: 24:[47, 27, 4], Operations: ['77-73=4'] Exploring Operation: 47-27=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 24:[4, 20] Operation: 47-27=20 Moving to Node #0,0,1 Current State: 24:[4, 20], Operations: ['77-73=4', '47-27=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 79, 95, 85, 60 ]
89
[ "79*95=7505", "60+7505=7565", "7565/85=89" ]
Current State: 89:[79, 95, 85, 60], Operations: [] Exploring Operation: 79*95=7505, Resulting Numbers: [85, 60, 7505] Generated Node #2: [85, 60, 7505] from Operation: 79*95=7505 Current State: 89:[85, 60, 7505], Operations: ['79*95=7505'] Exploring Operation: 60+7505=7565, Resulting Numbers: [85, 7565] Generated Node #3: [85, 7565] from Operation: 60+7505=7565 Current State: 89:[85, 7565], Operations: ['79*95=7505', '60+7505=7565'] Exploring Operation: 7565/85=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 95, 85, 60], Operations: [] Exploring Operation: 79+60=139, Resulting Numbers: [95, 85, 139] Generated Node #0,0: 89:[95, 85, 139] Operation: 79+60=139 Moving to Node #0,0 Current State: 89:[95, 85, 139], Operations: ['79+60=139'] Exploring Operation: 139-85=54, Resulting Numbers: [95, 54] Generated Node #0,0,0: 89:[95, 54] Operation: 139-85=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[95, 54], Operations: ['79+60=139', '139-85=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,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
mult_heuristic
[ 50, 55, 25, 8 ]
65
[ "55-50=5", "8*5=40", "25+40=65" ]
Current State: 65:[50, 55, 25, 8], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [25, 8, 5] Generated Node #2: [25, 8, 5] from Operation: 55-50=5 Current State: 65:[25, 8, 5], Operations: ['55-50=5'] Exploring Operation: 8*5=40, Resulting Numbers: [25, 40] Generated Node #3: [25, 40] from Operation: 8*5=40 Current State: 65:[25, 40], Operations: ['55-50=5', '8*5=40'] Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[50, 55, 25, 8], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [55, 8, 25] Generated Node #0,0: 65:[55, 8, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [55, 8, 2] Generated Node #0,1: 65:[55, 8, 2] Operation: 50/25=2 Exploring Operation: 50+25=75, Resulting Numbers: [55, 8, 75] Generated Node #0,2: 65:[55, 8, 75] Operation: 50+25=75 Exploring Operation: 55-50=5, Resulting Numbers: [25, 8, 5] Generated Node #0,3: 65:[25, 8, 5] Operation: 55-50=5 Exploring Operation: 50+8=58, Resulting Numbers: [55, 25, 58] Generated Node #0,4: 65:[55, 25, 58] Operation: 50+8=58 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[25, 8, 5], Operations: ['55-50=5'] Exploring Operation: 8-5=3, Resulting Numbers: [25, 3] Generated Node #0,3,0: 65:[25, 3] Operation: 8-5=3 Exploring Operation: 25-8=17, Resulting Numbers: [5, 17] Generated Node #0,3,1: 65:[5, 17] Operation: 25-8=17 Exploring Operation: 25/5=5, Resulting Numbers: [8, 5] Generated Node #0,3,2: 65:[8, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [8, 20] Generated Node #0,3,3: 65:[8, 20] Operation: 25-5=20 Exploring Operation: 8+5=13, Resulting Numbers: [25, 13] Generated Node #0,3,4: 65:[25, 13] Operation: 8+5=13 Moving to Node #0,3,2 Current State: 65:[8, 5], Operations: ['55-50=5', '25/5=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[5, 17], Operations: ['55-50=5', '25-8=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[8, 20], Operations: ['55-50=5', '25-5=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,65 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[25, 13], Operations: ['55-50=5', '8+5=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[25, 3], Operations: ['55-50=5', '8-5=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[55, 8, 2], Operations: ['50/25=2'] Exploring Operation: 55+8=63, Resulting Numbers: [2, 63] Generated Node #0,1,0: 65:[2, 63] Operation: 55+8=63 Exploring Operation: 8/2=4, Resulting Numbers: [55, 4] Generated Node #0,1,1: 65:[55, 4] Operation: 8/2=4 Exploring Operation: 55+2=57, Resulting Numbers: [8, 57] Generated Node #0,1,2: 65:[8, 57] Operation: 55+2=57 Exploring Operation: 8-2=6, Resulting Numbers: [55, 6] Generated Node #0,1,3: 65:[55, 6] Operation: 8-2=6 Exploring Operation: 8+2=10, Resulting Numbers: [55, 10] Generated Node #0,1,4: 65:[55, 10] Operation: 8+2=10 Moving to Node #0,1,0 Current State: 65:[2, 63], Operations: ['50/25=2', '55+8=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[50, 55, 25, 8], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [55, 8, 2] Generated Node #0,1: 65:[55, 8, 2] Operation: 50/25=2 Moving to Node #0,1 Current State: 65:[55, 8, 2], Operations: ['50/25=2'] Exploring Operation: 55+8=63, Resulting Numbers: [2, 63] Generated Node #0,1,0: 65:[2, 63] Operation: 55+8=63 Moving to Node #0,1,0 Current State: 65:[2, 63], Operations: ['50/25=2', '55+8=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 39, 22, 68, 28 ]
34
[ "39-28=11", "22/11=2", "68/2=34" ]
Current State: 34:[39, 22, 68, 28], Operations: [] Exploring Operation: 39-28=11, Resulting Numbers: [22, 68, 11] Generated Node #2: [22, 68, 11] from Operation: 39-28=11 Current State: 34:[22, 68, 11], Operations: ['39-28=11'] Exploring Operation: 22/11=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 22/11=2 Current State: 34:[68, 2], Operations: ['39-28=11', '22/11=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[39, 22, 68, 28], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [39, 22, 40] Generated Node #0,0: 34:[39, 22, 40] Operation: 68-28=40 Exploring Operation: 68-22=46, Resulting Numbers: [39, 28, 46] Generated Node #0,1: 34:[39, 28, 46] Operation: 68-22=46 Exploring Operation: 68-39=29, Resulting Numbers: [22, 28, 29] Generated Node #0,2: 34:[22, 28, 29] Operation: 68-39=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[39, 22, 40], Operations: ['68-28=40'] Exploring Operation: 39-22=17, Resulting Numbers: [40, 17] Generated Node #0,0,0: 34:[40, 17] Operation: 39-22=17 Exploring Operation: 40-39=1, Resulting Numbers: [22, 1] Generated Node #0,0,1: 34:[22, 1] Operation: 40-39=1 Exploring Operation: 40-22=18, Resulting Numbers: [39, 18] Generated Node #0,0,2: 34:[39, 18] Operation: 40-22=18 Moving to Node #0,0,0 Current State: 34:[40, 17], Operations: ['68-28=40', '39-22=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[22, 1], Operations: ['68-28=40', '40-39=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[39, 18], Operations: ['68-28=40', '40-22=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,34 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[22, 28, 29], Operations: ['68-39=29'] Exploring Operation: 29-22=7, Resulting Numbers: [28, 7] Generated Node #0,2,0: 34:[28, 7] Operation: 29-22=7 Exploring Operation: 29-28=1, Resulting Numbers: [22, 1] Generated Node #0,2,1: 34:[22, 1] Operation: 29-28=1 Exploring Operation: 28-22=6, Resulting Numbers: [29, 6] Generated Node #0,2,2: 34:[29, 6] Operation: 28-22=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[22, 1], Operations: ['68-39=29', '29-28=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[29, 6], Operations: ['68-39=29', '28-22=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,34 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[28, 7], Operations: ['68-39=29', '29-22=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[39, 28, 46], Operations: ['68-22=46'] Exploring Operation: 39-28=11, Resulting Numbers: [46, 11] Generated Node #0,1,0: 34:[46, 11] Operation: 39-28=11 Exploring Operation: 46-28=18, Resulting Numbers: [39, 18] Generated Node #0,1,1: 34:[39, 18] Operation: 46-28=18 Exploring Operation: 46-39=7, Resulting Numbers: [28, 7] Generated Node #0,1,2: 34:[28, 7] Operation: 46-39=7 Moving to Node #0,1,1 Current State: 34:[39, 18], Operations: ['68-22=46', '46-28=18'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[28, 7], Operations: ['68-22=46', '46-39=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[46, 11], Operations: ['68-22=46', '39-28=11'] Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,34 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,34 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
[ 48, 2, 68, 38 ]
48
[ "68-48=20", "20/2=10", "38+10=48" ]
Current State: 48:[48, 2, 68, 38], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [2, 38, 20] Generated Node #2: [2, 38, 20] from Operation: 68-48=20 Current State: 48:[2, 38, 20], Operations: ['68-48=20'] Exploring Operation: 20/2=10, Resulting Numbers: [38, 10] Generated Node #3: [38, 10] from Operation: 20/2=10 Current State: 48:[38, 10], Operations: ['68-48=20', '20/2=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 2, 68, 38], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [48, 2, 30] Generated Node #0,0: 48:[48, 2, 30] Operation: 68-38=30 Moving to Node #0,0 Current State: 48:[48, 2, 30], Operations: ['68-38=30'] Exploring Operation: 30/2=15, Resulting Numbers: [48, 15] Generated Node #0,0,0: 48:[48, 15] Operation: 30/2=15 Moving to Node #0,0,0 Current State: 48:[48, 15], Operations: ['68-38=30', '30/2=15'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,48 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 11, 37, 36, 72 ]
50
[ "11+37=48", "72/36=2", "48+2=50" ]
Current State: 50:[11, 37, 36, 72], Operations: [] Exploring Operation: 11+37=48, Resulting Numbers: [36, 72, 48] Generated Node #2: [36, 72, 48] from Operation: 11+37=48 Current State: 50:[36, 72, 48], Operations: ['11+37=48'] Exploring Operation: 72/36=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 72/36=2 Current State: 50:[48, 2], Operations: ['11+37=48', '72/36=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[11, 37, 36, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [11, 37, 2] Generated Node #0,0: 50:[11, 37, 2] Operation: 72/36=2 Moving to Node #0,0 Current State: 50:[11, 37, 2], Operations: ['72/36=2'] Exploring Operation: 37-11=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 50:[2, 26] Operation: 37-11=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[2, 26], Operations: ['72/36=2', '37-11=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,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
sum_heuristic
[ 66, 57, 95, 95 ]
57
[ "95-95=0", "66*0=0", "57+0=57" ]
Current State: 57:[66, 57, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [66, 57, 0] Generated Node #2: [66, 57, 0] from Operation: 95-95=0 Current State: 57:[66, 57, 0], Operations: ['95-95=0'] Exploring Operation: 66*0=0, Resulting Numbers: [57, 0] Generated Node #3: [57, 0] from Operation: 66*0=0 Current State: 57:[57, 0], Operations: ['95-95=0', '66*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[66, 57, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [66, 57, 0] Generated Node #0,0: 57:[66, 57, 0] Operation: 95-95=0 Exploring Operation: 95/95=1, Resulting Numbers: [66, 57, 1] Generated Node #0,1: 57:[66, 57, 1] Operation: 95/95=1 Moving to Node #0,1 Current State: 57:[66, 57, 1], Operations: ['95/95=1'] Exploring Operation: 66-1=65, Resulting Numbers: [57, 65] Generated Node #0,1,0: 57:[57, 65] Operation: 66-1=65 Exploring Operation: 66-57=9, Resulting Numbers: [1, 9] Generated Node #0,1,1: 57:[1, 9] Operation: 66-57=9 Moving to Node #0,0 Current State: 57:[66, 57, 0], Operations: ['95-95=0'] Exploring Operation: 66*0=0, Resulting Numbers: [57, 0] Generated Node #0,0,0: 57:[57, 0] Operation: 66*0=0 Exploring Operation: 66-57=9, Resulting Numbers: [0, 9] Generated Node #0,0,1: 57:[0, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[57, 0], Operations: ['95-95=0', '66*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[66, 57, 95, 95], Operations: [] Exploring Operation: 95-95=0, Resulting Numbers: [66, 57, 0] Generated Node #0,0: 57:[66, 57, 0] Operation: 95-95=0 Moving to Node #0,0 Current State: 57:[66, 57, 0], Operations: ['95-95=0'] Exploring Operation: 66*0=0, Resulting Numbers: [57, 0] Generated Node #0,0,0: 57:[57, 0] Operation: 66*0=0 Moving to Node #0,0,0 Current State: 57:[57, 0], Operations: ['95-95=0', '66*0=0'] Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 31, 7, 81, 48 ]
79
[ "31-7=24", "48/24=2", "81-2=79" ]
Current State: 79:[31, 7, 81, 48], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [81, 48, 24] Generated Node #2: [81, 48, 24] from Operation: 31-7=24 Current State: 79:[81, 48, 24], Operations: ['31-7=24'] Exploring Operation: 48/24=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 48/24=2 Current State: 79:[81, 2], Operations: ['31-7=24', '48/24=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[31, 7, 81, 48], Operations: [] Exploring Operation: 31+7=38, Resulting Numbers: [81, 48, 38] Generated Node #0,0: 79:[81, 48, 38] Operation: 31+7=38 Exploring Operation: 31-7=24, Resulting Numbers: [81, 48, 24] Generated Node #0,1: 79:[81, 48, 24] Operation: 31-7=24 Exploring Operation: 81-7=74, Resulting Numbers: [31, 48, 74] Generated Node #0,2: 79:[31, 48, 74] Operation: 81-7=74 Exploring Operation: 7+48=55, Resulting Numbers: [31, 81, 55] Generated Node #0,3: 79:[31, 81, 55] Operation: 7+48=55 Exploring Operation: 31+48=79, Resulting Numbers: [7, 81, 79] Generated Node #0,4: 79:[7, 81, 79] Operation: 31+48=79 Moving to Node #0,0 Current State: 79:[81, 48, 38], Operations: ['31+7=38'] Exploring Operation: 81-48=33, Resulting Numbers: [38, 33] Generated Node #0,0,0: 79:[38, 33] Operation: 81-48=33 Exploring Operation: 48+38=86, Resulting Numbers: [81, 86] Generated Node #0,0,1: 79:[81, 86] Operation: 48+38=86 Exploring Operation: 81+38=119, Resulting Numbers: [48, 119] Generated Node #0,0,2: 79:[48, 119] Operation: 81+38=119 Exploring Operation: 81-38=43, Resulting Numbers: [48, 43] Generated Node #0,0,3: 79:[48, 43] Operation: 81-38=43 Exploring Operation: 48-38=10, Resulting Numbers: [81, 10] Generated Node #0,0,4: 79:[81, 10] Operation: 48-38=10 Moving to Node #0,4 Current State: 79:[7, 81, 79], Operations: ['31+48=79'] Exploring Operation: 7+79=86, Resulting Numbers: [81, 86] Generated Node #0,4,0: 79:[81, 86] Operation: 7+79=86 Exploring Operation: 81-7=74, Resulting Numbers: [79, 74] Generated Node #0,4,1: 79:[79, 74] Operation: 81-7=74 Exploring Operation: 79-7=72, Resulting Numbers: [81, 72] Generated Node #0,4,2: 79:[81, 72] Operation: 79-7=72 Exploring Operation: 81-79=2, Resulting Numbers: [7, 2] Generated Node #0,4,3: 79:[7, 2] Operation: 81-79=2 Exploring Operation: 7+81=88, Resulting Numbers: [79, 88] Generated Node #0,4,4: 79:[79, 88] Operation: 7+81=88 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[79, 74], Operations: ['31+48=79', '81-7=74'] Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,79 unequal: No Solution Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[81, 86], Operations: ['31+48=79', '7+79=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,79 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,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,2 Current State: 79:[81, 72], Operations: ['31+48=79', '79-7=72'] Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,79 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[79, 88], Operations: ['31+48=79', '7+81=88'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[7, 2], Operations: ['31+48=79', '81-79=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,79 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: 79:[31, 81, 55], Operations: ['7+48=55'] Exploring Operation: 55-31=24, Resulting Numbers: [81, 24] Generated Node #0,3,0: 79:[81, 24] Operation: 55-31=24 Exploring Operation: 31+81=112, Resulting Numbers: [55, 112] Generated Node #0,3,1: 79:[55, 112] Operation: 31+81=112 Exploring Operation: 81-31=50, Resulting Numbers: [55, 50] Generated Node #0,3,2: 79:[55, 50] Operation: 81-31=50 Exploring Operation: 81-55=26, Resulting Numbers: [31, 26] Generated Node #0,3,3: 79:[31, 26] Operation: 81-55=26 Exploring Operation: 31+55=86, Resulting Numbers: [81, 86] Generated Node #0,3,4: 79:[81, 86] Operation: 31+55=86 Moving to Node #0,2 Current State: 79:[31, 48, 74], Operations: ['81-7=74'] Exploring Operation: 74-31=43, Resulting Numbers: [48, 43] Generated Node #0,2,0: 79:[48, 43] Operation: 74-31=43 Exploring Operation: 48-31=17, Resulting Numbers: [74, 17] Generated Node #0,2,1: 79:[74, 17] Operation: 48-31=17 Exploring Operation: 31+48=79, Resulting Numbers: [74, 79] Generated Node #0,2,2: 79:[74, 79] Operation: 31+48=79 Exploring Operation: 31+74=105, Resulting Numbers: [48, 105] Generated Node #0,2,3: 79:[48, 105] Operation: 31+74=105 Exploring Operation: 48+74=122, Resulting Numbers: [31, 122] Generated Node #0,2,4: 79:[31, 122] Operation: 48+74=122 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[74, 79], Operations: ['81-7=74', '31+48=79'] Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,79 unequal: No Solution Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[48, 105], Operations: ['81-7=74', '31+74=105'] Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 48*105=5040, Resulting Numbers: [5040] 5040,79 unequal: No Solution Exploring Operation: 48+105=153, Resulting Numbers: [153] 153,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,0 Current State: 79:[48, 43], Operations: ['81-7=74', '74-31=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,79 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[74, 17], Operations: ['81-7=74', '48-31=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,79 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[31, 122], Operations: ['81-7=74', '48+74=122'] Exploring Operation: 31+122=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 122-31=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 31*122=3782, Resulting Numbers: [3782] 3782,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[81, 48, 24], Operations: ['31-7=24'] Exploring Operation: 48-24=24, Resulting Numbers: [81, 24] Generated Node #0,1,0: 79:[81, 24] Operation: 48-24=24 Exploring Operation: 81+24=105, Resulting Numbers: [48, 105] Generated Node #0,1,1: 79:[48, 105] Operation: 81+24=105 Exploring Operation: 48/24=2, Resulting Numbers: [81, 2] Generated Node #0,1,2: 79:[81, 2] Operation: 48/24=2 Exploring Operation: 48+24=72, Resulting Numbers: [81, 72] Generated Node #0,1,3: 79:[81, 72] Operation: 48+24=72 Exploring Operation: 81-24=57, Resulting Numbers: [48, 57] Generated Node #0,1,4: 79:[48, 57] Operation: 81-24=57 Moving to Node #0,0,1 Current State: 79:[81, 86], Operations: ['31+7=38', '48+38=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,79 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[81, 86], Operations: ['7+48=55', '31+55=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,79 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[81, 72], Operations: ['31-7=24', '48+24=72'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,79 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[55, 50], Operations: ['7+48=55', '81-31=50'] Exploring Operation: 55*50=2750, Resulting Numbers: [2750] 2750,79 unequal: No Solution Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[48, 57], Operations: ['31-7=24', '81-24=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[48, 105], Operations: ['31-7=24', '81+24=105'] Exploring Operation: 48*105=5040, Resulting Numbers: [5040] 5040,79 unequal: No Solution Exploring Operation: 48+105=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[81, 24], Operations: ['31-7=24', '48-24=24'] Exploring Operation: 81*24=1944, Resulting Numbers: [1944] 1944,79 unequal: No Solution Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 81+24=105, Resulting Numbers: [105] 105,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[81, 24], Operations: ['7+48=55', '55-31=24'] Exploring Operation: 81*24=1944, Resulting Numbers: [1944] 1944,79 unequal: No Solution Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 81+24=105, Resulting Numbers: [105] 105,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[55, 112], Operations: ['7+48=55', '31+81=112'] Exploring Operation: 112-55=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 55+112=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 55*112=6160, Resulting Numbers: [6160] 6160,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[48, 43], Operations: ['31+7=38', '81-38=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,79 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[48, 119], Operations: ['31+7=38', '81+38=119'] Exploring Operation: 48+119=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 119-48=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 48*119=5712, Resulting Numbers: [5712] 5712,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[81, 10], Operations: ['31+7=38', '48-38=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,79 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[81, 2], Operations: ['31-7=24', '48/24=2'] Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,79 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,79 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[31, 7, 81, 48], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [81, 48, 24] Generated Node #0,1: 79:[81, 48, 24] Operation: 31-7=24 Moving to Node #0,1 Current State: 79:[81, 48, 24], Operations: ['31-7=24'] Exploring Operation: 48/24=2, Resulting Numbers: [81, 2] Generated Node #0,1,2: 79:[81, 2] Operation: 48/24=2 Moving to Node #0,1,2 Current State: 79:[81, 2], Operations: ['31-7=24', '48/24=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.91059
hs_5
sum_heuristic
[ 36, 37, 60, 30 ]
75
[ "36+37=73", "60/30=2", "73+2=75" ]
Current State: 75:[36, 37, 60, 30], Operations: [] Exploring Operation: 36+37=73, Resulting Numbers: [60, 30, 73] Generated Node #2: [60, 30, 73] from Operation: 36+37=73 Current State: 75:[60, 30, 73], Operations: ['36+37=73'] Exploring Operation: 60/30=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 60/30=2 Current State: 75:[73, 2], Operations: ['36+37=73', '60/30=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[36, 37, 60, 30], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [60, 30, 1] Generated Node #0,0: 75:[60, 30, 1] Operation: 37-36=1 Exploring Operation: 60-36=24, Resulting Numbers: [37, 30, 24] Generated Node #0,1: 75:[37, 30, 24] Operation: 60-36=24 Exploring Operation: 60-37=23, Resulting Numbers: [36, 30, 23] Generated Node #0,2: 75:[36, 30, 23] Operation: 60-37=23 Exploring Operation: 36+37=73, Resulting Numbers: [60, 30, 73] Generated Node #0,3: 75:[60, 30, 73] Operation: 36+37=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[37, 30, 24], Operations: ['60-36=24'] Exploring Operation: 30-24=6, Resulting Numbers: [37, 6] Generated Node #0,1,0: 75:[37, 6] Operation: 30-24=6 Exploring Operation: 37+30=67, Resulting Numbers: [24, 67] Generated Node #0,1,1: 75:[24, 67] Operation: 37+30=67 Exploring Operation: 37-24=13, Resulting Numbers: [30, 13] Generated Node #0,1,2: 75:[30, 13] Operation: 37-24=13 Exploring Operation: 37-30=7, Resulting Numbers: [24, 7] Generated Node #0,1,3: 75:[24, 7] Operation: 37-30=7 Moving to Node #0,1,3 Current State: 75:[24, 7], Operations: ['60-36=24', '37-30=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,75 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[30, 13], Operations: ['60-36=24', '37-24=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,75 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[24, 67], Operations: ['60-36=24', '37+30=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[37, 6], Operations: ['60-36=24', '30-24=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,75 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,75 unequal: No Solution No 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: 75:[36, 30, 23], Operations: ['60-37=23'] Exploring Operation: 36+30=66, Resulting Numbers: [23, 66] Generated Node #0,2,0: 75:[23, 66] Operation: 36+30=66 Exploring Operation: 36-30=6, Resulting Numbers: [23, 6] Generated Node #0,2,1: 75:[23, 6] Operation: 36-30=6 Exploring Operation: 36-23=13, Resulting Numbers: [30, 13] Generated Node #0,2,2: 75:[30, 13] Operation: 36-23=13 Exploring Operation: 30-23=7, Resulting Numbers: [36, 7] Generated Node #0,2,3: 75:[36, 7] Operation: 30-23=7 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[23, 6], Operations: ['60-37=23', '36-30=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,75 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,75 unequal: No Solution No 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: 75:[30, 13], Operations: ['60-37=23', '36-23=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,75 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,75 unequal: No Solution No 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: 75:[23, 66], Operations: ['60-37=23', '36+30=66'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,75 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,75 unequal: No Solution No 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: 75:[36, 7], Operations: ['60-37=23', '30-23=7'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,75 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: 75:[60, 30, 1], Operations: ['37-36=1'] Exploring Operation: 60-30=30, Resulting Numbers: [1, 30] Generated Node #0,0,0: 75:[1, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 75:[1, 2] Operation: 60/30=2 Exploring Operation: 60+30=90, Resulting Numbers: [1, 90] Generated Node #0,0,2: 75:[1, 90] Operation: 60+30=90 Exploring Operation: 60+1=61, Resulting Numbers: [30, 61] Generated Node #0,0,3: 75:[30, 61] Operation: 60+1=61 Moving to Node #0,0,1 Current State: 75:[1, 2], Operations: ['37-36=1', '60/30=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[1, 30], Operations: ['37-36=1', '60-30=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,75 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,75 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,75 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[1, 90], Operations: ['37-36=1', '60+30=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,75 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[30, 61], Operations: ['37-36=1', '60+1=61'] Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,75 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,75 unequal: No Solution No 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: 75:[60, 30, 73], Operations: ['36+37=73'] Exploring Operation: 60+30=90, Resulting Numbers: [73, 90] Generated Node #0,3,0: 75:[73, 90] Operation: 60+30=90 Exploring Operation: 60/30=2, Resulting Numbers: [73, 2] Generated Node #0,3,1: 75:[73, 2] Operation: 60/30=2 Exploring Operation: 73-60=13, Resulting Numbers: [30, 13] Generated Node #0,3,2: 75:[30, 13] Operation: 73-60=13 Exploring Operation: 60-30=30, Resulting Numbers: [73, 30] Generated Node #0,3,3: 75:[73, 30] Operation: 60-30=30 Moving to Node #0,3,1 Current State: 75:[73, 2], Operations: ['36+37=73', '60/30=2'] Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[36, 37, 60, 30], Operations: [] Exploring Operation: 36+37=73, Resulting Numbers: [60, 30, 73] Generated Node #0,3: 75:[60, 30, 73] Operation: 36+37=73 Moving to Node #0,3 Current State: 75:[60, 30, 73], Operations: ['36+37=73'] Exploring Operation: 60/30=2, Resulting Numbers: [73, 2] Generated Node #0,3,1: 75:[73, 2] Operation: 60/30=2 Moving to Node #0,3,1 Current State: 75:[73, 2], Operations: ['36+37=73', '60/30=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_4
mult_heuristic
[ 60, 90, 34, 20 ]
71
[ "90*34=3060", "3060/60=51", "20+51=71" ]
Current State: 71:[60, 90, 34, 20], Operations: [] Exploring Operation: 90*34=3060, Resulting Numbers: [60, 20, 3060] Generated Node #2: [60, 20, 3060] from Operation: 90*34=3060 Current State: 71:[60, 20, 3060], Operations: ['90*34=3060'] Exploring Operation: 3060/60=51, Resulting Numbers: [20, 51] Generated Node #3: [20, 51] from Operation: 3060/60=51 Current State: 71:[20, 51], Operations: ['90*34=3060', '3060/60=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[60, 90, 34, 20], Operations: [] Exploring Operation: 34+20=54, Resulting Numbers: [60, 90, 54] Generated Node #0,0: 71:[60, 90, 54] Operation: 34+20=54 Exploring Operation: 90-20=70, Resulting Numbers: [60, 34, 70] Generated Node #0,1: 71:[60, 34, 70] Operation: 90-20=70 Exploring Operation: 90-34=56, Resulting Numbers: [60, 20, 56] Generated Node #0,2: 71:[60, 20, 56] Operation: 90-34=56 Exploring Operation: 60+20=80, Resulting Numbers: [90, 34, 80] Generated Node #0,3: 71:[90, 34, 80] Operation: 60+20=80 Moving to Node #0,0 Current State: 71:[60, 90, 54], Operations: ['34+20=54'] Exploring Operation: 90-60=30, Resulting Numbers: [54, 30] Generated Node #0,0,0: 71:[54, 30] Operation: 90-60=30 Exploring Operation: 90-54=36, Resulting Numbers: [60, 36] Generated Node #0,0,1: 71:[60, 36] Operation: 90-54=36 Exploring Operation: 60-54=6, Resulting Numbers: [90, 6] Generated Node #0,0,2: 71:[90, 6] Operation: 60-54=6 Exploring Operation: 60+54=114, Resulting Numbers: [90, 114] Generated Node #0,0,3: 71:[90, 114] Operation: 60+54=114 Moving to Node #0,1 Current State: 71:[60, 34, 70], Operations: ['90-20=70'] Exploring Operation: 70-34=36, Resulting Numbers: [60, 36] Generated Node #0,1,0: 71:[60, 36] Operation: 70-34=36 Exploring Operation: 60-34=26, Resulting Numbers: [70, 26] Generated Node #0,1,1: 71:[70, 26] Operation: 60-34=26 Exploring Operation: 60+34=94, Resulting Numbers: [70, 94] Generated Node #0,1,2: 71:[70, 94] Operation: 60+34=94 Exploring Operation: 34+70=104, Resulting Numbers: [60, 104] Generated Node #0,1,3: 71:[60, 104] Operation: 34+70=104 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[70, 94], Operations: ['90-20=70', '60+34=94'] Exploring Operation: 70*94=6580, Resulting Numbers: [6580] 6580,71 unequal: No Solution Exploring Operation: 70+94=164, Resulting Numbers: [164] 164,71 unequal: No Solution Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[60, 104], Operations: ['90-20=70', '34+70=104'] Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,71 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[60, 36], Operations: ['90-20=70', '70-34=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[70, 26], Operations: ['90-20=70', '60-34=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,71 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 71:[90, 34, 80], Operations: ['60+20=80'] Exploring Operation: 90-34=56, Resulting Numbers: [80, 56] Generated Node #0,3,0: 71:[80, 56] Operation: 90-34=56 Exploring Operation: 90+34=124, Resulting Numbers: [80, 124] Generated Node #0,3,1: 71:[80, 124] Operation: 90+34=124 Exploring Operation: 80-34=46, Resulting Numbers: [90, 46] Generated Node #0,3,2: 71:[90, 46] Operation: 80-34=46 Exploring Operation: 34+80=114, Resulting Numbers: [90, 114] Generated Node #0,3,3: 71:[90, 114] Operation: 34+80=114 Moving to Node #0,2 Current State: 71:[60, 20, 56], Operations: ['90-34=56'] Exploring Operation: 60+20=80, Resulting Numbers: [56, 80] Generated Node #0,2,0: 71:[56, 80] Operation: 60+20=80 Exploring Operation: 20+56=76, Resulting Numbers: [60, 76] Generated Node #0,2,1: 71:[60, 76] Operation: 20+56=76 Exploring Operation: 60-20=40, Resulting Numbers: [56, 40] Generated Node #0,2,2: 71:[56, 40] Operation: 60-20=40 Exploring Operation: 56-20=36, Resulting Numbers: [60, 36] Generated Node #0,2,3: 71:[60, 36] Operation: 56-20=36 Moving to Node #0,2,1 Current State: 71:[60, 76], Operations: ['90-34=56', '20+56=76'] Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[80, 56], Operations: ['60+20=80', '90-34=56'] Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[56, 80], Operations: ['90-34=56', '60+20=80'] Exploring Operation: 56*80=4480, Resulting Numbers: [4480] 4480,71 unequal: No Solution Exploring Operation: 56+80=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[90, 46], Operations: ['60+20=80', '80-34=46'] Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,71 unequal: No Solution Exploring Operation: 90*46=4140, Resulting Numbers: [4140] 4140,71 unequal: No Solution Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[60, 36], Operations: ['90-34=56', '56-20=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[56, 40], Operations: ['90-34=56', '60-20=40'] Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,71 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[60, 36], Operations: ['34+20=54', '90-54=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[54, 30], Operations: ['34+20=54', '90-60=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,71 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[80, 124], Operations: ['60+20=80', '90+34=124'] Exploring Operation: 80*124=9920, Resulting Numbers: [9920] 9920,71 unequal: No Solution Exploring Operation: 80+124=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 124-80=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[90, 114], Operations: ['34+20=54', '60+54=114'] Exploring Operation: 114-90=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 90+114=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 90*114=10260, Resulting Numbers: [10260] 10260,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[90, 114], Operations: ['60+20=80', '34+80=114'] Exploring Operation: 90+114=204, Resulting Numbers: [204] 204,71 unequal: No Solution Exploring Operation: 114-90=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 90*114=10260, Resulting Numbers: [10260] 10260,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[90, 6], Operations: ['34+20=54', '60-54=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 90*6=540, Resulting Numbers: [540] 540,71 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,71 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 17, 2, 24, 77 ]
35
[ "24-17=7", "77-7=70", "70/2=35" ]
Current State: 35:[17, 2, 24, 77], Operations: [] Exploring Operation: 24-17=7, Resulting Numbers: [2, 77, 7] Generated Node #2: [2, 77, 7] from Operation: 24-17=7 Current State: 35:[2, 77, 7], Operations: ['24-17=7'] Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 77-7=70 Current State: 35:[2, 70], Operations: ['24-17=7', '77-7=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[17, 2, 24, 77], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [17, 2, 53] Generated Node #0,0: 35:[17, 2, 53] Operation: 77-24=53 Exploring Operation: 77-17=60, Resulting Numbers: [2, 24, 60] Generated Node #0,1: 35:[2, 24, 60] Operation: 77-17=60 Exploring Operation: 24-17=7, Resulting Numbers: [2, 77, 7] Generated Node #0,2: 35:[2, 77, 7] Operation: 24-17=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[17, 2, 53], Operations: ['77-24=53'] Exploring Operation: 17*2=34, Resulting Numbers: [53, 34] Generated Node #0,0,0: 35:[53, 34] Operation: 17*2=34 Exploring Operation: 17-2=15, Resulting Numbers: [53, 15] Generated Node #0,0,1: 35:[53, 15] Operation: 17-2=15 Exploring Operation: 53-17=36, Resulting Numbers: [2, 36] Generated Node #0,0,2: 35:[2, 36] Operation: 53-17=36 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[2, 36], Operations: ['77-24=53', '53-17=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,35 unequal: No Solution No 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: 35:[53, 34], Operations: ['77-24=53', '17*2=34'] Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,35 unequal: No Solution Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,35 unequal: No Solution No 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: 35:[53, 15], Operations: ['77-24=53', '17-2=15'] Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,35 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,35 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: 35:[2, 24, 60], Operations: ['77-17=60'] Exploring Operation: 60-24=36, Resulting Numbers: [2, 36] Generated Node #0,1,0: 35:[2, 36] Operation: 60-24=36 Exploring Operation: 60/2=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 35:[24, 30] Operation: 60/2=30 Exploring Operation: 24/2=12, Resulting Numbers: [60, 12] Generated Node #0,1,2: 35:[60, 12] Operation: 24/2=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[2, 36], Operations: ['77-17=60', '60-24=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,35 unequal: No Solution No 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: 35:[24, 30], Operations: ['77-17=60', '60/2=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,35 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,35 unequal: No Solution No 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: 35:[60, 12], Operations: ['77-17=60', '24/2=12'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,35 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: 35:[2, 77, 7], Operations: ['24-17=7'] Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #0,2,0: 35:[2, 70] Operation: 77-7=70 Exploring Operation: 77-2=75, Resulting Numbers: [7, 75] Generated Node #0,2,1: 35:[7, 75] Operation: 77-2=75 Exploring Operation: 77/7=11, Resulting Numbers: [2, 11] Generated Node #0,2,2: 35:[2, 11] Operation: 77/7=11 Moving to Node #0,2,2 Current State: 35:[2, 11], Operations: ['24-17=7', '77/7=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[2, 70], Operations: ['24-17=7', '77-7=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[17, 2, 24, 77], Operations: [] Exploring Operation: 24-17=7, Resulting Numbers: [2, 77, 7] Generated Node #0,2: 35:[2, 77, 7] Operation: 24-17=7 Moving to Node #0,2 Current State: 35:[2, 77, 7], Operations: ['24-17=7'] Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #0,2,0: 35:[2, 70] Operation: 77-7=70 Moving to Node #0,2,0 Current State: 35:[2, 70], Operations: ['24-17=7', '77-7=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
sum_heuristic
[ 73, 15, 34, 46 ]
76
[ "73+15=88", "46-34=12", "88-12=76" ]
Current State: 76:[73, 15, 34, 46], Operations: [] Exploring Operation: 73+15=88, Resulting Numbers: [34, 46, 88] Generated Node #2: [34, 46, 88] from Operation: 73+15=88 Current State: 76:[34, 46, 88], Operations: ['73+15=88'] Exploring Operation: 46-34=12, Resulting Numbers: [88, 12] Generated Node #3: [88, 12] from Operation: 46-34=12 Current State: 76:[88, 12], Operations: ['73+15=88', '46-34=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[73, 15, 34, 46], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [73, 46, 19] Generated Node #0,0: 76:[73, 46, 19] Operation: 34-15=19 Exploring Operation: 34+46=80, Resulting Numbers: [73, 15, 80] Generated Node #0,1: 76:[73, 15, 80] Operation: 34+46=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[73, 46, 19], Operations: ['34-15=19'] Exploring Operation: 73-46=27, Resulting Numbers: [19, 27] Generated Node #0,0,0: 76:[19, 27] Operation: 73-46=27 Exploring Operation: 46-19=27, Resulting Numbers: [73, 27] Generated Node #0,0,1: 76:[73, 27] Operation: 46-19=27 Moving to Node #0,0,0 Current State: 76:[19, 27], Operations: ['34-15=19', '73-46=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[73, 27], Operations: ['34-15=19', '46-19=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[73, 15, 80], Operations: ['34+46=80'] Exploring Operation: 80-73=7, Resulting Numbers: [15, 7] Generated Node #0,1,0: 76:[15, 7] Operation: 80-73=7 Exploring Operation: 80-15=65, Resulting Numbers: [73, 65] Generated Node #0,1,1: 76:[73, 65] Operation: 80-15=65 Moving to Node #0,1,0 Current State: 76:[15, 7], Operations: ['34+46=80', '80-73=7'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[73, 65], Operations: ['34+46=80', '80-15=65'] Exploring Operation: 73+65=138, Resulting Numbers: [138] 138,76 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,76 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
[ 65, 41, 35, 77 ]
88
[ "65-41=24", "35+77=112", "112-24=88" ]
Current State: 88:[65, 41, 35, 77], Operations: [] Exploring Operation: 65-41=24, Resulting Numbers: [35, 77, 24] Generated Node #2: [35, 77, 24] from Operation: 65-41=24 Current State: 88:[35, 77, 24], Operations: ['65-41=24'] Exploring Operation: 35+77=112, Resulting Numbers: [24, 112] Generated Node #3: [24, 112] from Operation: 35+77=112 Current State: 88:[24, 112], Operations: ['65-41=24', '35+77=112'] Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[65, 41, 35, 77], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [41, 35, 12] Generated Node #0,0: 88:[41, 35, 12] Operation: 77-65=12 Moving to Node #0,0 Current State: 88:[41, 35, 12], Operations: ['77-65=12'] Exploring Operation: 41-35=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 88:[12, 6] Operation: 41-35=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[12, 6], Operations: ['77-65=12', '41-35=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,88 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
[ 78, 83, 35, 99 ]
15
[ "78*35=2730", "83+99=182", "2730/182=15" ]
Current State: 15:[78, 83, 35, 99], Operations: [] Exploring Operation: 78*35=2730, Resulting Numbers: [83, 99, 2730] Generated Node #2: [83, 99, 2730] from Operation: 78*35=2730 Current State: 15:[83, 99, 2730], Operations: ['78*35=2730'] Exploring Operation: 83+99=182, Resulting Numbers: [2730, 182] Generated Node #3: [2730, 182] from Operation: 83+99=182 Current State: 15:[2730, 182], Operations: ['78*35=2730', '83+99=182'] Exploring Operation: 2730/182=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[78, 83, 35, 99], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [78, 35, 16] Generated Node #0,0: 15:[78, 35, 16] Operation: 99-83=16 Moving to Node #0,0 Current State: 15:[78, 35, 16], Operations: ['99-83=16'] Exploring Operation: 78-35=43, Resulting Numbers: [16, 43] Generated Node #0,0,0: 15:[16, 43] Operation: 78-35=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[16, 43], Operations: ['99-83=16', '78-35=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,15 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
[ 23, 44, 10, 29 ]
80
[ "44-23=21", "29-21=8", "10*8=80" ]
Current State: 80:[23, 44, 10, 29], Operations: [] Exploring Operation: 44-23=21, Resulting Numbers: [10, 29, 21] Generated Node #2: [10, 29, 21] from Operation: 44-23=21 Current State: 80:[10, 29, 21], Operations: ['44-23=21'] Exploring Operation: 29-21=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 29-21=8 Current State: 80:[10, 8], Operations: ['44-23=21', '29-21=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[23, 44, 10, 29], Operations: [] Exploring Operation: 29-23=6, Resulting Numbers: [44, 10, 6] Generated Node #0,0: 80:[44, 10, 6] Operation: 29-23=6 Exploring Operation: 44-29=15, Resulting Numbers: [23, 10, 15] Generated Node #0,1: 80:[23, 10, 15] Operation: 44-29=15 Moving to Node #0,1 Current State: 80:[23, 10, 15], Operations: ['44-29=15'] Exploring Operation: 23+15=38, Resulting Numbers: [10, 38] Generated Node #0,1,0: 80:[10, 38] Operation: 23+15=38 Exploring Operation: 23-15=8, Resulting Numbers: [10, 8] Generated Node #0,1,1: 80:[10, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[10, 8], Operations: ['44-29=15', '23-15=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[23, 44, 10, 29], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [23, 10, 15] Generated Node #0,1: 80:[23, 10, 15] Operation: 44-29=15 Moving to Node #0,1 Current State: 80:[23, 10, 15], Operations: ['44-29=15'] Exploring Operation: 23-15=8, Resulting Numbers: [10, 8] Generated Node #0,1,1: 80:[10, 8] Operation: 23-15=8 Moving to Node #0,1,1 Current State: 80:[10, 8], Operations: ['44-29=15', '23-15=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 95, 86, 45, 2 ]
97
[ "95+45=140", "86/2=43", "140-43=97" ]
Current State: 97:[95, 86, 45, 2], Operations: [] Exploring Operation: 95+45=140, Resulting Numbers: [86, 2, 140] Generated Node #2: [86, 2, 140] from Operation: 95+45=140 Current State: 97:[86, 2, 140], Operations: ['95+45=140'] Exploring Operation: 86/2=43, Resulting Numbers: [140, 43] Generated Node #3: [140, 43] from Operation: 86/2=43 Current State: 97:[140, 43], Operations: ['95+45=140', '86/2=43'] Exploring Operation: 140-43=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[95, 86, 45, 2], Operations: [] Exploring Operation: 95+2=97, Resulting Numbers: [86, 45, 97] Generated Node #0,0: 97:[86, 45, 97] Operation: 95+2=97 Exploring Operation: 86+2=88, Resulting Numbers: [95, 45, 88] Generated Node #0,1: 97:[95, 45, 88] Operation: 86+2=88 Exploring Operation: 45*2=90, Resulting Numbers: [95, 86, 90] Generated Node #0,2: 97:[95, 86, 90] Operation: 45*2=90 Moving to Node #0,2 Current State: 97:[95, 86, 90], Operations: ['45*2=90'] Exploring Operation: 95+86=181, Resulting Numbers: [90, 181] Generated Node #0,2,0: 97:[90, 181] Operation: 95+86=181 Exploring Operation: 86+90=176, Resulting Numbers: [95, 176] Generated Node #0,2,1: 97:[95, 176] Operation: 86+90=176 Exploring Operation: 95-86=9, Resulting Numbers: [90, 9] Generated Node #0,2,2: 97:[90, 9] Operation: 95-86=9 Moving to Node #0,0 Current State: 97:[86, 45, 97], Operations: ['95+2=97'] Exploring Operation: 86+45=131, Resulting Numbers: [97, 131] Generated Node #0,0,0: 97:[97, 131] Operation: 86+45=131 Exploring Operation: 86-45=41, Resulting Numbers: [97, 41] Generated Node #0,0,1: 97:[97, 41] Operation: 86-45=41 Exploring Operation: 45+97=142, Resulting Numbers: [86, 142] Generated Node #0,0,2: 97:[86, 142] Operation: 45+97=142 Moving to Node #0,1 Current State: 97:[95, 45, 88], Operations: ['86+2=88'] Exploring Operation: 95-45=50, Resulting Numbers: [88, 50] Generated Node #0,1,0: 97:[88, 50] Operation: 95-45=50 Exploring Operation: 95+45=140, Resulting Numbers: [88, 140] Generated Node #0,1,1: 97:[88, 140] Operation: 95+45=140 Exploring Operation: 45+88=133, Resulting Numbers: [95, 133] Generated Node #0,1,2: 97:[95, 133] Operation: 45+88=133 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[95, 133], Operations: ['86+2=88', '45+88=133'] Exploring Operation: 133-95=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 95+133=228, Resulting Numbers: [228] 228,97 unequal: No Solution Exploring Operation: 95*133=12635, Resulting Numbers: [12635] 12635,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[88, 140], Operations: ['86+2=88', '95+45=140'] Exploring Operation: 88*140=12320, Resulting Numbers: [12320] 12320,97 unequal: No Solution Exploring Operation: 88+140=228, Resulting Numbers: [228] 228,97 unequal: No Solution Exploring Operation: 140-88=52, Resulting Numbers: [52] 52,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[88, 50], Operations: ['86+2=88', '95-45=50'] Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,97 unequal: No Solution Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,97 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: 97:[97, 131], Operations: ['95+2=97', '86+45=131'] Exploring Operation: 97*131=12707, Resulting Numbers: [12707] 12707,97 unequal: No Solution Exploring Operation: 97+131=228, Resulting Numbers: [228] 228,97 unequal: No Solution Exploring Operation: 131-97=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[86, 142], Operations: ['95+2=97', '45+97=142'] Exploring Operation: 142-86=56, Resulting Numbers: [56] 56,97 unequal: No Solution Exploring Operation: 86+142=228, Resulting Numbers: [228] 228,97 unequal: No Solution Exploring Operation: 86*142=12212, Resulting Numbers: [12212] 12212,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[97, 41], Operations: ['95+2=97', '86-45=41'] Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,97 unequal: No Solution Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,97 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[95, 176], Operations: ['45*2=90', '86+90=176'] Exploring Operation: 95+176=271, Resulting Numbers: [271] 271,97 unequal: No Solution Exploring Operation: 176-95=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 95*176=16720, Resulting Numbers: [16720] 16720,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[90, 181], Operations: ['45*2=90', '95+86=181'] Exploring Operation: 181-90=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 90*181=16290, Resulting Numbers: [16290] 16290,97 unequal: No Solution Exploring Operation: 90+181=271, Resulting Numbers: [271] 271,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[90, 9], Operations: ['45*2=90', '95-86=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 69, 92, 46, 97 ]
56
[ "97-69=28", "92/46=2", "28*2=56" ]
Current State: 56:[69, 92, 46, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [92, 46, 28] Generated Node #2: [92, 46, 28] from Operation: 97-69=28 Current State: 56:[92, 46, 28], Operations: ['97-69=28'] Exploring Operation: 92/46=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 92/46=2 Current State: 56:[28, 2], Operations: ['97-69=28', '92/46=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[69, 92, 46, 97], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [69, 92, 51] Generated Node #0,0: 56:[69, 92, 51] Operation: 97-46=51 Exploring Operation: 97-92=5, Resulting Numbers: [69, 46, 5] Generated Node #0,1: 56:[69, 46, 5] Operation: 97-92=5 Exploring Operation: 92/46=2, Resulting Numbers: [69, 97, 2] Generated Node #0,2: 56:[69, 97, 2] Operation: 92/46=2 Exploring Operation: 97-69=28, Resulting Numbers: [92, 46, 28] Generated Node #0,3: 56:[92, 46, 28] Operation: 97-69=28 Exploring Operation: 92-69=23, Resulting Numbers: [46, 97, 23] Generated Node #0,4: 56:[46, 97, 23] Operation: 92-69=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[69, 46, 5], Operations: ['97-92=5'] Exploring Operation: 46+5=51, Resulting Numbers: [69, 51] Generated Node #0,1,0: 56:[69, 51] Operation: 46+5=51 Exploring Operation: 69-5=64, Resulting Numbers: [46, 64] Generated Node #0,1,1: 56:[46, 64] Operation: 69-5=64 Exploring Operation: 69-46=23, Resulting Numbers: [5, 23] Generated Node #0,1,2: 56:[5, 23] Operation: 69-46=23 Exploring Operation: 69+5=74, Resulting Numbers: [46, 74] Generated Node #0,1,3: 56:[46, 74] Operation: 69+5=74 Exploring Operation: 46-5=41, Resulting Numbers: [69, 41] Generated Node #0,1,4: 56:[69, 41] Operation: 46-5=41 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[5, 23], Operations: ['97-92=5', '69-46=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,56 unequal: No Solution No 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: 56:[69, 51], Operations: ['97-92=5', '46+5=51'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,56 unequal: No Solution Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,56 unequal: No Solution No 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: 56:[46, 64], Operations: ['97-92=5', '69-5=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,56 unequal: No Solution No 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: 56:[69, 41], Operations: ['97-92=5', '46-5=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,56 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,56 unequal: No Solution No 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: 56:[46, 74], Operations: ['97-92=5', '69+5=74'] Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,56 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,56 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: 56:[92, 46, 28], Operations: ['97-69=28'] Exploring Operation: 46+28=74, Resulting Numbers: [92, 74] Generated Node #0,3,0: 56:[92, 74] Operation: 46+28=74 Exploring Operation: 92/46=2, Resulting Numbers: [28, 2] Generated Node #0,3,1: 56:[28, 2] Operation: 92/46=2 Exploring Operation: 92-28=64, Resulting Numbers: [46, 64] Generated Node #0,3,2: 56:[46, 64] Operation: 92-28=64 Exploring Operation: 92-46=46, Resulting Numbers: [28, 46] Generated Node #0,3,3: 56:[28, 46] Operation: 92-46=46 Exploring Operation: 46-28=18, Resulting Numbers: [92, 18] Generated Node #0,3,4: 56:[92, 18] Operation: 46-28=18 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[28, 2], Operations: ['97-69=28', '92/46=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[69, 92, 46, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [92, 46, 28] Generated Node #0,3: 56:[92, 46, 28] Operation: 97-69=28 Moving to Node #0,3 Current State: 56:[92, 46, 28], Operations: ['97-69=28'] Exploring Operation: 92/46=2, Resulting Numbers: [28, 2] Generated Node #0,3,1: 56:[28, 2] Operation: 92/46=2 Moving to Node #0,3,1 Current State: 56:[28, 2], Operations: ['97-69=28', '92/46=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 46, 22, 92, 3 ]
72
[ "46+22=68", "92-68=24", "3*24=72" ]
Current State: 72:[46, 22, 92, 3], Operations: [] Exploring Operation: 46+22=68, Resulting Numbers: [92, 3, 68] Generated Node #2: [92, 3, 68] from Operation: 46+22=68 Current State: 72:[92, 3, 68], Operations: ['46+22=68'] Exploring Operation: 92-68=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 92-68=24 Current State: 72:[3, 24], Operations: ['46+22=68', '92-68=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[46, 22, 92, 3], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [22, 3, 46] Generated Node #0,0: 72:[22, 3, 46] Operation: 92-46=46 Exploring Operation: 92-22=70, Resulting Numbers: [46, 3, 70] Generated Node #0,1: 72:[46, 3, 70] Operation: 92-22=70 Exploring Operation: 92/46=2, Resulting Numbers: [22, 3, 2] Generated Node #0,2: 72:[22, 3, 2] Operation: 92/46=2 Moving to Node #0,2 Current State: 72:[22, 3, 2], Operations: ['92/46=2'] Exploring Operation: 22-3=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 72:[2, 19] Operation: 22-3=19 Exploring Operation: 22+3=25, Resulting Numbers: [2, 25] Generated Node #0,2,1: 72:[2, 25] Operation: 22+3=25 Exploring Operation: 22+2=24, Resulting Numbers: [3, 24] Generated Node #0,2,2: 72:[3, 24] Operation: 22+2=24 Moving to Node #0,0 Current State: 72:[22, 3, 46], Operations: ['92-46=46'] Exploring Operation: 22+46=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 72:[3, 68] Operation: 22+46=68 Exploring Operation: 46-3=43, Resulting Numbers: [22, 43] Generated Node #0,0,1: 72:[22, 43] Operation: 46-3=43 Exploring Operation: 46-22=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 72:[3, 24] Operation: 46-22=24 Moving to Node #0,1 Current State: 72:[46, 3, 70], Operations: ['92-22=70'] Exploring Operation: 46-3=43, Resulting Numbers: [70, 43] Generated Node #0,1,0: 72:[70, 43] Operation: 46-3=43 Exploring Operation: 70-46=24, Resulting Numbers: [3, 24] Generated Node #0,1,1: 72:[3, 24] Operation: 70-46=24 Exploring Operation: 3+70=73, Resulting Numbers: [46, 73] Generated Node #0,1,2: 72:[46, 73] Operation: 3+70=73 Moving to Node #0,2,2 Current State: 72:[3, 24], Operations: ['92/46=2', '22+2=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[46, 22, 92, 3], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [22, 3, 2] Generated Node #0,2: 72:[22, 3, 2] Operation: 92/46=2 Moving to Node #0,2 Current State: 72:[22, 3, 2], Operations: ['92/46=2'] Exploring Operation: 22+2=24, Resulting Numbers: [3, 24] Generated Node #0,2,2: 72:[3, 24] Operation: 22+2=24 Moving to Node #0,2,2 Current State: 72:[3, 24], Operations: ['92/46=2', '22+2=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 59, 25, 12, 14 ]
84
[ "59+25=84", "12*14=168", "168-84=84" ]
Current State: 84:[59, 25, 12, 14], Operations: [] Exploring Operation: 59+25=84, Resulting Numbers: [12, 14, 84] Generated Node #2: [12, 14, 84] from Operation: 59+25=84 Current State: 84:[12, 14, 84], Operations: ['59+25=84'] Exploring Operation: 12*14=168, Resulting Numbers: [84, 168] Generated Node #3: [84, 168] from Operation: 12*14=168 Current State: 84:[84, 168], Operations: ['59+25=84', '12*14=168'] Exploring Operation: 168-84=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[59, 25, 12, 14], Operations: [] Exploring Operation: 59+25=84, Resulting Numbers: [12, 14, 84] Generated Node #0,0: 84:[12, 14, 84] Operation: 59+25=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[12, 14, 84], Operations: ['59+25=84'] Exploring Operation: 14-12=2, Resulting Numbers: [84, 2] Generated Node #0,0,0: 84:[84, 2] Operation: 14-12=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[84, 2], Operations: ['59+25=84', '14-12=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,84 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
[ 97, 80, 81, 91 ]
86
[ "97-81=16", "80/16=5", "91-5=86" ]
Current State: 86:[97, 80, 81, 91], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [80, 91, 16] Generated Node #2: [80, 91, 16] from Operation: 97-81=16 Current State: 86:[80, 91, 16], Operations: ['97-81=16'] Exploring Operation: 80/16=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 80/16=5 Current State: 86:[91, 5], Operations: ['97-81=16', '80/16=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[97, 80, 81, 91], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [97, 91, 1] Generated Node #0,0: 86:[97, 91, 1] Operation: 81-80=1 Exploring Operation: 97-81=16, Resulting Numbers: [80, 91, 16] Generated Node #0,1: 86:[80, 91, 16] Operation: 97-81=16 Exploring Operation: 97-80=17, Resulting Numbers: [81, 91, 17] Generated Node #0,2: 86:[81, 91, 17] Operation: 97-80=17 Exploring Operation: 97-91=6, Resulting Numbers: [80, 81, 6] Generated Node #0,3: 86:[80, 81, 6] Operation: 97-91=6 Moving to Node #0,3 Current State: 86:[80, 81, 6], Operations: ['97-91=6'] Exploring Operation: 80+6=86, Resulting Numbers: [81, 86] Generated Node #0,3,0: 86:[81, 86] Operation: 80+6=86 Exploring Operation: 81-80=1, Resulting Numbers: [6, 1] Generated Node #0,3,1: 86:[6, 1] Operation: 81-80=1 Exploring Operation: 80-6=74, Resulting Numbers: [81, 74] Generated Node #0,3,2: 86:[81, 74] Operation: 80-6=74 Exploring Operation: 81+6=87, Resulting Numbers: [80, 87] Generated Node #0,3,3: 86:[80, 87] Operation: 81+6=87 Moving to Node #0,0 Current State: 86:[97, 91, 1], Operations: ['81-80=1'] Exploring Operation: 97*1=97, Resulting Numbers: [91, 97] Generated Node #0,0,0: 86:[91, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [91, 96] Generated Node #0,0,1: 86:[91, 96] Operation: 97-1=96 Exploring Operation: 97-91=6, Resulting Numbers: [1, 6] Generated Node #0,0,2: 86:[1, 6] Operation: 97-91=6 Exploring Operation: 91-1=90, Resulting Numbers: [97, 90] Generated Node #0,0,3: 86:[97, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[1, 6], Operations: ['81-80=1', '97-91=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,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,1 Current State: 86:[91, 96], Operations: ['81-80=1', '97-1=96'] Exploring Operation: 91*96=8736, Resulting Numbers: [8736] 8736,86 unequal: No Solution Exploring Operation: 91+96=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,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,3 Current State: 86:[97, 90], Operations: ['81-80=1', '91-1=90'] Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,86 unequal: No Solution Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,86 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,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:[91, 97], Operations: ['81-80=1', '97*1=97'] Exploring Operation: 91+97=188, Resulting Numbers: [188] 188,86 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 91*97=8827, Resulting Numbers: [8827] 8827,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:[81, 91, 17], Operations: ['97-80=17'] Exploring Operation: 81+17=98, Resulting Numbers: [91, 98] Generated Node #0,2,0: 86:[91, 98] Operation: 81+17=98 Exploring Operation: 81-17=64, Resulting Numbers: [91, 64] Generated Node #0,2,1: 86:[91, 64] Operation: 81-17=64 Exploring Operation: 91-81=10, Resulting Numbers: [17, 10] Generated Node #0,2,2: 86:[17, 10] Operation: 91-81=10 Exploring Operation: 91-17=74, Resulting Numbers: [81, 74] Generated Node #0,2,3: 86:[81, 74] Operation: 91-17=74 Moving to Node #0,1 Current State: 86:[80, 91, 16], Operations: ['97-81=16'] Exploring Operation: 80/16=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 86:[91, 5] Operation: 80/16=5 Exploring Operation: 80+16=96, Resulting Numbers: [91, 96] Generated Node #0,1,1: 86:[91, 96] Operation: 80+16=96 Exploring Operation: 91-80=11, Resulting Numbers: [16, 11] Generated Node #0,1,2: 86:[16, 11] Operation: 91-80=11 Exploring Operation: 91-16=75, Resulting Numbers: [80, 75] Generated Node #0,1,3: 86:[80, 75] Operation: 91-16=75 Moving to Node #0,3,0 Current State: 86:[81, 86], Operations: ['97-91=6', '80+6=86'] Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,86 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[6, 1], Operations: ['97-91=6', '81-80=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[80, 87], Operations: ['97-91=6', '81+6=87'] Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,86 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[91, 5], Operations: ['97-81=16', '80/16=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[97, 80, 81, 91], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [80, 91, 16] Generated Node #0,1: 86:[80, 91, 16] Operation: 97-81=16 Moving to Node #0,1 Current State: 86:[80, 91, 16], Operations: ['97-81=16'] Exploring Operation: 80/16=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 86:[91, 5] Operation: 80/16=5 Moving to Node #0,1,0 Current State: 86:[91, 5], Operations: ['97-81=16', '80/16=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 58, 72, 95, 53 ]
88
[ "58+72=130", "95-53=42", "130-42=88" ]
Current State: 88:[58, 72, 95, 53], Operations: [] Exploring Operation: 58+72=130, Resulting Numbers: [95, 53, 130] Generated Node #2: [95, 53, 130] from Operation: 58+72=130 Current State: 88:[95, 53, 130], Operations: ['58+72=130'] Exploring Operation: 95-53=42, Resulting Numbers: [130, 42] Generated Node #3: [130, 42] from Operation: 95-53=42 Current State: 88:[130, 42], Operations: ['58+72=130', '95-53=42'] Exploring Operation: 130-42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[58, 72, 95, 53], Operations: [] Exploring Operation: 72-53=19, Resulting Numbers: [58, 95, 19] Generated Node #0,0: 88:[58, 95, 19] Operation: 72-53=19 Exploring Operation: 95-72=23, Resulting Numbers: [58, 53, 23] Generated Node #0,1: 88:[58, 53, 23] Operation: 95-72=23 Exploring Operation: 72-58=14, Resulting Numbers: [95, 53, 14] Generated Node #0,2: 88:[95, 53, 14] Operation: 72-58=14 Exploring Operation: 95-58=37, Resulting Numbers: [72, 53, 37] Generated Node #0,3: 88:[72, 53, 37] Operation: 95-58=37 Exploring Operation: 58-53=5, Resulting Numbers: [72, 95, 5] Generated Node #0,4: 88:[72, 95, 5] Operation: 58-53=5 Moving to Node #0,2 Current State: 88:[95, 53, 14], Operations: ['72-58=14'] Exploring Operation: 95-14=81, Resulting Numbers: [53, 81] Generated Node #0,2,0: 88:[53, 81] Operation: 95-14=81 Exploring Operation: 53+14=67, Resulting Numbers: [95, 67] Generated Node #0,2,1: 88:[95, 67] Operation: 53+14=67 Exploring Operation: 95+14=109, Resulting Numbers: [53, 109] Generated Node #0,2,2: 88:[53, 109] Operation: 95+14=109 Exploring Operation: 53-14=39, Resulting Numbers: [95, 39] Generated Node #0,2,3: 88:[95, 39] Operation: 53-14=39 Exploring Operation: 95-53=42, Resulting Numbers: [14, 42] Generated Node #0,2,4: 88:[14, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 88:[58, 53, 23], Operations: ['95-72=23'] Exploring Operation: 58-53=5, Resulting Numbers: [23, 5] Generated Node #0,1,0: 88:[23, 5] Operation: 58-53=5 Exploring Operation: 53-23=30, Resulting Numbers: [58, 30] Generated Node #0,1,1: 88:[58, 30] Operation: 53-23=30 Exploring Operation: 58+23=81, Resulting Numbers: [53, 81] Generated Node #0,1,2: 88:[53, 81] Operation: 58+23=81 Exploring Operation: 58+53=111, Resulting Numbers: [23, 111] Generated Node #0,1,3: 88:[23, 111] Operation: 58+53=111 Exploring Operation: 58-23=35, Resulting Numbers: [53, 35] Generated Node #0,1,4: 88:[53, 35] Operation: 58-23=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[23, 5], Operations: ['95-72=23', '58-53=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[53, 81], Operations: ['95-72=23', '58+23=81'] Exploring Operation: 53*81=4293, Resulting Numbers: [4293] 4293,88 unequal: No Solution Exploring Operation: 53+81=134, Resulting Numbers: [134] 134,88 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[53, 35], Operations: ['95-72=23', '58-23=35'] Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[58, 72, 95, 53], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [58, 53, 23] Generated Node #0,1: 88:[58, 53, 23] Operation: 95-72=23 Moving to Node #0,1 Current State: 88:[58, 53, 23], Operations: ['95-72=23'] Exploring Operation: 58-23=35, Resulting Numbers: [53, 35] Generated Node #0,1,4: 88:[53, 35] Operation: 58-23=35 Moving to Node #0,1,4 Current State: 88:[53, 35], Operations: ['95-72=23', '58-23=35'] Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 1, 60, 2, 46 ]
17
[ "1+60=61", "46-2=44", "61-44=17" ]
Current State: 17:[1, 60, 2, 46], Operations: [] Exploring Operation: 1+60=61, Resulting Numbers: [2, 46, 61] Generated Node #2: [2, 46, 61] from Operation: 1+60=61 Current State: 17:[2, 46, 61], Operations: ['1+60=61'] Exploring Operation: 46-2=44, Resulting Numbers: [61, 44] Generated Node #3: [61, 44] from Operation: 46-2=44 Current State: 17:[61, 44], Operations: ['1+60=61', '46-2=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[1, 60, 2, 46], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [1, 60, 23] Generated Node #0,0: 17:[1, 60, 23] Operation: 46/2=23 Exploring Operation: 60/2=30, Resulting Numbers: [1, 46, 30] Generated Node #0,1: 17:[1, 46, 30] Operation: 60/2=30 Exploring Operation: 60-46=14, Resulting Numbers: [1, 2, 14] Generated Node #0,2: 17:[1, 2, 14] Operation: 60-46=14 Exploring Operation: 60-1=59, Resulting Numbers: [2, 46, 59] Generated Node #0,3: 17:[2, 46, 59] Operation: 60-1=59 Moving to Node #0,2 Current State: 17:[1, 2, 14], Operations: ['60-46=14'] Exploring Operation: 2+14=16, Resulting Numbers: [1, 16] Generated Node #0,2,0: 17:[1, 16] Operation: 2+14=16 Exploring Operation: 1*2=2, Resulting Numbers: [14, 2] Generated Node #0,2,1: 17:[14, 2] Operation: 1*2=2 Exploring Operation: 1+14=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 17:[2, 15] Operation: 1+14=15 Exploring Operation: 1+2=3, Resulting Numbers: [14, 3] Generated Node #0,2,3: 17:[14, 3] Operation: 1+2=3 Moving to Node #0,1 Current State: 17:[1, 46, 30], Operations: ['60/2=30'] Exploring Operation: 1*46=46, Resulting Numbers: [30, 46] Generated Node #0,1,0: 17:[30, 46] Operation: 1*46=46 Exploring Operation: 30-1=29, Resulting Numbers: [46, 29] Generated Node #0,1,1: 17:[46, 29] Operation: 30-1=29 Exploring Operation: 46-1=45, Resulting Numbers: [30, 45] Generated Node #0,1,2: 17:[30, 45] Operation: 46-1=45 Exploring Operation: 46-30=16, Resulting Numbers: [1, 16] Generated Node #0,1,3: 17:[1, 16] Operation: 46-30=16 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[1, 16], Operations: ['60/2=30', '46-30=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[1, 60, 2, 46], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [1, 46, 30] Generated Node #0,1: 17:[1, 46, 30] Operation: 60/2=30 Moving to Node #0,1 Current State: 17:[1, 46, 30], Operations: ['60/2=30'] Exploring Operation: 46-30=16, Resulting Numbers: [1, 16] Generated Node #0,1,3: 17:[1, 16] Operation: 46-30=16 Moving to Node #0,1,3 Current State: 17:[1, 16], Operations: ['60/2=30', '46-30=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 77, 48, 54, 63 ]
21
[ "48*63=3024", "3024/54=56", "77-56=21" ]
Current State: 21:[77, 48, 54, 63], Operations: [] Exploring Operation: 48*63=3024, Resulting Numbers: [77, 54, 3024] Generated Node #2: [77, 54, 3024] from Operation: 48*63=3024 Current State: 21:[77, 54, 3024], Operations: ['48*63=3024'] Exploring Operation: 3024/54=56, Resulting Numbers: [77, 56] Generated Node #3: [77, 56] from Operation: 3024/54=56 Current State: 21:[77, 56], Operations: ['48*63=3024', '3024/54=56'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[77, 48, 54, 63], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [48, 63, 23] Generated Node #0,0: 21:[48, 63, 23] Operation: 77-54=23 Exploring Operation: 77-48=29, Resulting Numbers: [54, 63, 29] Generated Node #0,1: 21:[54, 63, 29] Operation: 77-48=29 Exploring Operation: 77-63=14, Resulting Numbers: [48, 54, 14] Generated Node #0,2: 21:[48, 54, 14] Operation: 77-63=14 Exploring Operation: 63-54=9, Resulting Numbers: [77, 48, 9] Generated Node #0,3: 21:[77, 48, 9] Operation: 63-54=9 Moving to Node #0,2 Current State: 21:[48, 54, 14], Operations: ['77-63=14'] Exploring Operation: 54-48=6, Resulting Numbers: [14, 6] Generated Node #0,2,0: 21:[14, 6] Operation: 54-48=6 Exploring Operation: 48+14=62, Resulting Numbers: [54, 62] Generated Node #0,2,1: 21:[54, 62] Operation: 48+14=62 Exploring Operation: 54-14=40, Resulting Numbers: [48, 40] Generated Node #0,2,2: 21:[48, 40] Operation: 54-14=40 Exploring Operation: 48-14=34, Resulting Numbers: [54, 34] Generated Node #0,2,3: 21:[54, 34] Operation: 48-14=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[14, 6], Operations: ['77-63=14', '54-48=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[48, 40], Operations: ['77-63=14', '54-14=40'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,21 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[54, 34], Operations: ['77-63=14', '48-14=34'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,21 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[54, 62], Operations: ['77-63=14', '48+14=62'] Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,21 unequal: No Solution Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,21 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,21 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: 21:[48, 63, 23], Operations: ['77-54=23'] Exploring Operation: 63-48=15, Resulting Numbers: [23, 15] Generated Node #0,0,0: 21:[23, 15] Operation: 63-48=15 Exploring Operation: 48+63=111, Resulting Numbers: [23, 111] Generated Node #0,0,1: 21:[23, 111] Operation: 48+63=111 Exploring Operation: 63-23=40, Resulting Numbers: [48, 40] Generated Node #0,0,2: 21:[48, 40] Operation: 63-23=40 Exploring Operation: 48-23=25, Resulting Numbers: [63, 25] Generated Node #0,0,3: 21:[63, 25] Operation: 48-23=25 Moving to Node #0,1 Current State: 21:[54, 63, 29], Operations: ['77-48=29'] Exploring Operation: 54+63=117, Resulting Numbers: [29, 117] Generated Node #0,1,0: 21:[29, 117] Operation: 54+63=117 Exploring Operation: 63-54=9, Resulting Numbers: [29, 9] Generated Node #0,1,1: 21:[29, 9] Operation: 63-54=9 Exploring Operation: 63-29=34, Resulting Numbers: [54, 34] Generated Node #0,1,2: 21:[54, 34] Operation: 63-29=34 Exploring Operation: 54-29=25, Resulting Numbers: [63, 25] Generated Node #0,1,3: 21:[63, 25] Operation: 54-29=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[29, 9], Operations: ['77-48=29', '63-54=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,21 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[54, 34], Operations: ['77-48=29', '63-29=34'] Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,21 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[63, 25], Operations: ['77-48=29', '54-29=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,21 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[29, 117], Operations: ['77-48=29', '54+63=117'] Exploring Operation: 117-29=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 29+117=146, Resulting Numbers: [146] 146,21 unequal: No Solution Exploring Operation: 29*117=3393, Resulting Numbers: [3393] 3393,21 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: 21:[77, 48, 9], Operations: ['63-54=9'] Exploring Operation: 77+9=86, Resulting Numbers: [48, 86] Generated Node #0,3,0: 21:[48, 86] Operation: 77+9=86 Exploring Operation: 77-48=29, Resulting Numbers: [9, 29] Generated Node #0,3,1: 21:[9, 29] Operation: 77-48=29 Exploring Operation: 48-9=39, Resulting Numbers: [77, 39] Generated Node #0,3,2: 21:[77, 39] Operation: 48-9=39 Exploring Operation: 77-9=68, Resulting Numbers: [48, 68] Generated Node #0,3,3: 21:[48, 68] Operation: 77-9=68 Moving to Node #0,0,0 Current State: 21:[23, 15], Operations: ['77-54=23', '63-48=15'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,21 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[9, 29], Operations: ['63-54=9', '77-48=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,21 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[63, 25], Operations: ['77-54=23', '48-23=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,21 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[48, 40], Operations: ['77-54=23', '63-23=40'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[77, 39], Operations: ['63-54=9', '48-9=39'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,21 unequal: No Solution Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[48, 68], Operations: ['63-54=9', '77-9=68'] Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,21 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[23, 111], Operations: ['77-54=23', '48+63=111'] Exploring Operation: 23*111=2553, Resulting Numbers: [2553] 2553,21 unequal: No Solution Exploring Operation: 23+111=134, Resulting Numbers: [134] 134,21 unequal: No Solution Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[48, 86], Operations: ['63-54=9', '77+9=86'] Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,21 unequal: No Solution Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,21 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 93, 4, 95, 70 ]
62
[ "95-93=2", "4*2=8", "70-8=62" ]
Current State: 62:[93, 4, 95, 70], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [4, 70, 2] Generated Node #2: [4, 70, 2] from Operation: 95-93=2 Current State: 62:[4, 70, 2], Operations: ['95-93=2'] Exploring Operation: 4*2=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 4*2=8 Current State: 62:[70, 8], Operations: ['95-93=2', '4*2=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 4, 95, 70], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [4, 95, 23] Generated Node #0,0: 62:[4, 95, 23] Operation: 93-70=23 Exploring Operation: 95-93=2, Resulting Numbers: [4, 70, 2] Generated Node #0,1: 62:[4, 70, 2] Operation: 95-93=2 Exploring Operation: 95-70=25, Resulting Numbers: [93, 4, 25] Generated Node #0,2: 62:[93, 4, 25] Operation: 95-70=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[4, 70, 2], Operations: ['95-93=2'] Exploring Operation: 4-2=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 62:[70, 2] Operation: 4-2=2 Exploring Operation: 70/2=35, Resulting Numbers: [4, 35] Generated Node #0,1,1: 62:[4, 35] Operation: 70/2=35 Exploring Operation: 70-4=66, Resulting Numbers: [2, 66] Generated Node #0,1,2: 62:[2, 66] Operation: 70-4=66 Moving to Node #0,1,2 Current State: 62:[2, 66], Operations: ['95-93=2', '70-4=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[4, 35], Operations: ['95-93=2', '70/2=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[70, 2], Operations: ['95-93=2', '4-2=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[93, 4, 25], Operations: ['95-70=25'] Exploring Operation: 4+25=29, Resulting Numbers: [93, 29] Generated Node #0,2,0: 62:[93, 29] Operation: 4+25=29 Exploring Operation: 93-25=68, Resulting Numbers: [4, 68] Generated Node #0,2,1: 62:[4, 68] Operation: 93-25=68 Exploring Operation: 93-4=89, Resulting Numbers: [25, 89] Generated Node #0,2,2: 62:[25, 89] Operation: 93-4=89 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[4, 68], Operations: ['95-70=25', '93-25=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[93, 29], Operations: ['95-70=25', '4+25=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 93*29=2697, Resulting Numbers: [2697] 2697,62 unequal: No Solution Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[25, 89], Operations: ['95-70=25', '93-4=89'] Exploring Operation: 25*89=2225, Resulting Numbers: [2225] 2225,62 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 25+89=114, Resulting Numbers: [114] 114,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[4, 95, 23], Operations: ['93-70=23'] Exploring Operation: 95-23=72, Resulting Numbers: [4, 72] Generated Node #0,0,0: 62:[4, 72] Operation: 95-23=72 Exploring Operation: 95-4=91, Resulting Numbers: [23, 91] Generated Node #0,0,1: 62:[23, 91] Operation: 95-4=91 Exploring Operation: 4+23=27, Resulting Numbers: [95, 27] Generated Node #0,0,2: 62:[95, 27] Operation: 4+23=27 Moving to Node #0,0,0 Current State: 62:[4, 72], Operations: ['93-70=23', '95-23=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[23, 91], Operations: ['93-70=23', '95-4=91'] Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 23*91=2093, Resulting Numbers: [2093] 2093,62 unequal: No Solution Exploring Operation: 23+91=114, Resulting Numbers: [114] 114,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[95, 27], Operations: ['93-70=23', '4+23=27'] Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,62 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,62 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,62 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
[ 24, 30, 51, 26 ]
57
[ "30-26=4", "24/4=6", "51+6=57" ]
Current State: 57:[24, 30, 51, 26], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [24, 51, 4] Generated Node #2: [24, 51, 4] from Operation: 30-26=4 Current State: 57:[24, 51, 4], Operations: ['30-26=4'] Exploring Operation: 24/4=6, Resulting Numbers: [51, 6] Generated Node #3: [51, 6] from Operation: 24/4=6 Current State: 57:[51, 6], Operations: ['30-26=4', '24/4=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[24, 30, 51, 26], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [24, 51, 4] Generated Node #0,0: 57:[24, 51, 4] Operation: 30-26=4 Exploring Operation: 51-30=21, Resulting Numbers: [24, 26, 21] Generated Node #0,1: 57:[24, 26, 21] Operation: 51-30=21 Exploring Operation: 30+26=56, Resulting Numbers: [24, 51, 56] Generated Node #0,2: 57:[24, 51, 56] Operation: 30+26=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[24, 51, 4], Operations: ['30-26=4'] Exploring Operation: 51+4=55, Resulting Numbers: [24, 55] Generated Node #0,0,0: 57:[24, 55] Operation: 51+4=55 Exploring Operation: 24-4=20, Resulting Numbers: [51, 20] Generated Node #0,0,1: 57:[51, 20] Operation: 24-4=20 Exploring Operation: 51-24=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 57:[4, 27] Operation: 51-24=27 Moving to Node #0,0,0 Current State: 57:[24, 55], Operations: ['30-26=4', '51+4=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,57 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[51, 20], Operations: ['30-26=4', '24-4=20'] Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,57 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[4, 27], Operations: ['30-26=4', '51-24=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,57 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[24, 51, 56], Operations: ['30+26=56'] Exploring Operation: 51-24=27, Resulting Numbers: [56, 27] Generated Node #0,2,0: 57:[56, 27] Operation: 51-24=27 Exploring Operation: 56-51=5, Resulting Numbers: [24, 5] Generated Node #0,2,1: 57:[24, 5] Operation: 56-51=5 Exploring Operation: 24+51=75, Resulting Numbers: [56, 75] Generated Node #0,2,2: 57:[56, 75] Operation: 24+51=75 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[24, 5], Operations: ['30+26=56', '56-51=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[56, 27], Operations: ['30+26=56', '51-24=27'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,57 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[56, 75], Operations: ['30+26=56', '24+51=75'] Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,57 unequal: No Solution Exploring Operation: 56*75=4200, Resulting Numbers: [4200] 4200,57 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[24, 26, 21], Operations: ['51-30=21'] Exploring Operation: 26-24=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 57:[21, 2] Operation: 26-24=2 Exploring Operation: 26-21=5, Resulting Numbers: [24, 5] Generated Node #0,1,1: 57:[24, 5] Operation: 26-21=5 Exploring Operation: 24-21=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 57:[26, 3] Operation: 24-21=3 Moving to Node #0,1,0 Current State: 57:[21, 2], Operations: ['51-30=21', '26-24=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[24, 5], Operations: ['51-30=21', '26-21=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[26, 3], Operations: ['51-30=21', '24-21=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,57 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
[ 48, 85, 2, 27 ]
80
[ "48+85=133", "27+133=160", "160/2=80" ]
Current State: 80:[48, 85, 2, 27], Operations: [] Exploring Operation: 48+85=133, Resulting Numbers: [2, 27, 133] Generated Node #2: [2, 27, 133] from Operation: 48+85=133 Current State: 80:[2, 27, 133], Operations: ['48+85=133'] Exploring Operation: 27+133=160, Resulting Numbers: [2, 160] Generated Node #3: [2, 160] from Operation: 27+133=160 Current State: 80:[2, 160], Operations: ['48+85=133', '27+133=160'] Exploring Operation: 160/2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[48, 85, 2, 27], Operations: [] Exploring Operation: 48-2=46, Resulting Numbers: [85, 27, 46] Generated Node #0,0: 80:[85, 27, 46] Operation: 48-2=46 Exploring Operation: 85-48=37, Resulting Numbers: [2, 27, 37] Generated Node #0,1: 80:[2, 27, 37] Operation: 85-48=37 Exploring Operation: 48-27=21, Resulting Numbers: [85, 2, 21] Generated Node #0,2: 80:[85, 2, 21] Operation: 48-27=21 Exploring Operation: 48/2=24, Resulting Numbers: [85, 27, 24] Generated Node #0,3: 80:[85, 27, 24] Operation: 48/2=24 Exploring Operation: 48+27=75, Resulting Numbers: [85, 2, 75] Generated Node #0,4: 80:[85, 2, 75] Operation: 48+27=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[85, 2, 21], Operations: ['48-27=21'] Exploring Operation: 85+2=87, Resulting Numbers: [21, 87] Generated Node #0,2,0: 80:[21, 87] Operation: 85+2=87 Exploring Operation: 2*21=42, Resulting Numbers: [85, 42] Generated Node #0,2,1: 80:[85, 42] Operation: 2*21=42 Exploring Operation: 21-2=19, Resulting Numbers: [85, 19] Generated Node #0,2,2: 80:[85, 19] Operation: 21-2=19 Exploring Operation: 2+21=23, Resulting Numbers: [85, 23] Generated Node #0,2,3: 80:[85, 23] Operation: 2+21=23 Exploring Operation: 85-2=83, Resulting Numbers: [21, 83] Generated Node #0,2,4: 80:[21, 83] Operation: 85-2=83 Moving to Node #0,2,4 Current State: 80:[21, 83], Operations: ['48-27=21', '85-2=83'] Exploring Operation: 21*83=1743, Resulting Numbers: [1743] 1743,80 unequal: No Solution Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 21+83=104, Resulting Numbers: [104] 104,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[85, 19], Operations: ['48-27=21', '21-2=19'] Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,80 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[85, 42], Operations: ['48-27=21', '2*21=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,80 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[21, 87], Operations: ['48-27=21', '85+2=87'] Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,80 unequal: No Solution Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,80 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[85, 23], Operations: ['48-27=21', '2+21=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,80 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,80 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[2, 27, 37], Operations: ['85-48=37'] Exploring Operation: 2+37=39, Resulting Numbers: [27, 39] Generated Node #0,1,0: 80:[27, 39] Operation: 2+37=39 Exploring Operation: 2+27=29, Resulting Numbers: [37, 29] Generated Node #0,1,1: 80:[37, 29] Operation: 2+27=29 Exploring Operation: 37-27=10, Resulting Numbers: [2, 10] Generated Node #0,1,2: 80:[2, 10] Operation: 37-27=10 Exploring Operation: 37-2=35, Resulting Numbers: [27, 35] Generated Node #0,1,3: 80:[27, 35] Operation: 37-2=35 Exploring Operation: 27-2=25, Resulting Numbers: [37, 25] Generated Node #0,1,4: 80:[37, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[2, 10], Operations: ['85-48=37', '37-27=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[27, 39], Operations: ['85-48=37', '2+37=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[37, 25], Operations: ['85-48=37', '27-2=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[37, 29], Operations: ['85-48=37', '2+27=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,80 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[27, 35], Operations: ['85-48=37', '37-2=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,80 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[85, 2, 75], Operations: ['48+27=75'] Exploring Operation: 2+75=77, Resulting Numbers: [85, 77] Generated Node #0,4,0: 80:[85, 77] Operation: 2+75=77 Exploring Operation: 85+2=87, Resulting Numbers: [75, 87] Generated Node #0,4,1: 80:[75, 87] Operation: 85+2=87 Exploring Operation: 75-2=73, Resulting Numbers: [85, 73] Generated Node #0,4,2: 80:[85, 73] Operation: 75-2=73 Exploring Operation: 85-2=83, Resulting Numbers: [75, 83] Generated Node #0,4,3: 80:[75, 83] Operation: 85-2=83 Exploring Operation: 85-75=10, Resulting Numbers: [2, 10] Generated Node #0,4,4: 80:[2, 10] Operation: 85-75=10 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 80:[2, 10], Operations: ['48+27=75', '85-75=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[85, 77], Operations: ['48+27=75', '2+75=77'] Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 85*77=6545, Resulting Numbers: [6545] 6545,80 unequal: No Solution Exploring Operation: 85+77=162, Resulting Numbers: [162] 162,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 80:[75, 83], Operations: ['48+27=75', '85-2=83'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,80 unequal: No Solution Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 80:[75, 87], Operations: ['48+27=75', '85+2=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,80 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 80:[85, 73], Operations: ['48+27=75', '75-2=73'] Exploring Operation: 85+73=158, Resulting Numbers: [158] 158,80 unequal: No Solution Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 85*73=6205, Resulting Numbers: [6205] 6205,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[85, 27, 24], Operations: ['48/2=24'] Exploring Operation: 27+24=51, Resulting Numbers: [85, 51] Generated Node #0,3,0: 80:[85, 51] Operation: 27+24=51 Exploring Operation: 27-24=3, Resulting Numbers: [85, 3] Generated Node #0,3,1: 80:[85, 3] Operation: 27-24=3 Exploring Operation: 85+27=112, Resulting Numbers: [24, 112] Generated Node #0,3,2: 80:[24, 112] Operation: 85+27=112 Exploring Operation: 85-24=61, Resulting Numbers: [27, 61] Generated Node #0,3,3: 80:[27, 61] Operation: 85-24=61 Exploring Operation: 85-27=58, Resulting Numbers: [24, 58] Generated Node #0,3,4: 80:[24, 58] Operation: 85-27=58 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[85, 3], Operations: ['48/2=24', '27-24=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,80 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,80 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 80:[85, 51], Operations: ['48/2=24', '27+24=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 80:[24, 58], Operations: ['48/2=24', '85-27=58'] Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,80 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 24*58=1392, Resulting Numbers: [1392] 1392,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 80:[27, 61], Operations: ['48/2=24', '85-24=61'] Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,80 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 80:[24, 112], Operations: ['48/2=24', '85+27=112'] Exploring Operation: 24*112=2688, Resulting Numbers: [2688] 2688,80 unequal: No Solution Exploring Operation: 24+112=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[85, 27, 46], Operations: ['48-2=46'] Exploring Operation: 85-27=58, Resulting Numbers: [46, 58] Generated Node #0,0,0: 80:[46, 58] Operation: 85-27=58 Exploring Operation: 85-46=39, Resulting Numbers: [27, 39] Generated Node #0,0,1: 80:[27, 39] Operation: 85-46=39 Exploring Operation: 85+27=112, Resulting Numbers: [46, 112] Generated Node #0,0,2: 80:[46, 112] Operation: 85+27=112 Exploring Operation: 27+46=73, Resulting Numbers: [85, 73] Generated Node #0,0,3: 80:[85, 73] Operation: 27+46=73 Exploring Operation: 46-27=19, Resulting Numbers: [85, 19] Generated Node #0,0,4: 80:[85, 19] Operation: 46-27=19 Moving to Node #0,0,4 Current State: 80:[85, 19], Operations: ['48-2=46', '46-27=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,80 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[27, 39], Operations: ['48-2=46', '85-46=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,80 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[85, 73], Operations: ['48-2=46', '27+46=73'] Exploring Operation: 85+73=158, Resulting Numbers: [158] 158,80 unequal: No Solution Exploring Operation: 85*73=6205, Resulting Numbers: [6205] 6205,80 unequal: No Solution Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[46, 58], Operations: ['48-2=46', '85-27=58'] Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,80 unequal: No Solution Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,80 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[46, 112], Operations: ['48-2=46', '85+27=112'] Exploring Operation: 46*112=5152, Resulting Numbers: [5152] 5152,80 unequal: No Solution Exploring Operation: 112-46=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 46+112=158, Resulting Numbers: [158] 158,80 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
[ 9, 24, 97, 30 ]
100
[ "9+24=33", "97-30=67", "33+67=100" ]
Current State: 100:[9, 24, 97, 30], Operations: [] Exploring Operation: 9+24=33, Resulting Numbers: [97, 30, 33] Generated Node #2: [97, 30, 33] from Operation: 9+24=33 Current State: 100:[97, 30, 33], Operations: ['9+24=33'] Exploring Operation: 97-30=67, Resulting Numbers: [33, 67] Generated Node #3: [33, 67] from Operation: 97-30=67 Current State: 100:[33, 67], Operations: ['9+24=33', '97-30=67'] Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 24, 97, 30], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [24, 97, 21] Generated Node #0,0: 100:[24, 97, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[24, 97, 21], Operations: ['30-9=21'] Exploring Operation: 24-21=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 100:[97, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 100:[97, 3], Operations: ['30-9=21', '24-21=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[9, 24, 97, 30], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [24, 97, 21] Generated Node #0,0: 100:[24, 97, 21] Operation: 30-9=21 Moving to Node #0,0 Current State: 100:[24, 97, 21], Operations: ['30-9=21'] Exploring Operation: 24-21=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 100:[97, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 100:[97, 3], Operations: ['30-9=21', '24-21=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 64, 25, 3 ]
32
[ "25/5=5", "5-3=2", "64/2=32" ]
Current State: 32:[5, 64, 25, 3], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [64, 3, 5] Generated Node #2: [64, 3, 5] from Operation: 25/5=5 Current State: 32:[64, 3, 5], Operations: ['25/5=5'] Exploring Operation: 5-3=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 5-3=2 Current State: 32:[64, 2], Operations: ['25/5=5', '5-3=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 64, 25, 3], Operations: [] Exploring Operation: 64-25=39, Resulting Numbers: [5, 3, 39] Generated Node #0,0: 32:[5, 3, 39] Operation: 64-25=39 Exploring Operation: 25/5=5, Resulting Numbers: [64, 3, 5] Generated Node #0,1: 32:[64, 3, 5] Operation: 25/5=5 Moving to Node #0,0 Current State: 32:[5, 3, 39], Operations: ['64-25=39'] Exploring Operation: 39/3=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 32:[5, 13] Operation: 39/3=13 Exploring Operation: 39-5=34, Resulting Numbers: [3, 34] Generated Node #0,0,1: 32:[3, 34] Operation: 39-5=34 Moving to Node #0,1 Current State: 32:[64, 3, 5], Operations: ['25/5=5'] Exploring Operation: 64-5=59, Resulting Numbers: [3, 59] Generated Node #0,1,0: 32:[3, 59] Operation: 64-5=59 Exploring Operation: 64-3=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 32:[5, 61] Operation: 64-3=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[3, 59], Operations: ['25/5=5', '64-5=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,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,1 Current State: 32:[5, 61], Operations: ['25/5=5', '64-3=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,32 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: 32:[3, 34], Operations: ['64-25=39', '39-5=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[5, 13], Operations: ['64-25=39', '39/3=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 40, 6, 57, 44 ]
43
[ "40+44=84", "84/6=14", "57-14=43" ]
Current State: 43:[40, 6, 57, 44], Operations: [] Exploring Operation: 40+44=84, Resulting Numbers: [6, 57, 84] Generated Node #2: [6, 57, 84] from Operation: 40+44=84 Current State: 43:[6, 57, 84], Operations: ['40+44=84'] Exploring Operation: 84/6=14, Resulting Numbers: [57, 14] Generated Node #3: [57, 14] from Operation: 84/6=14 Current State: 43:[57, 14], Operations: ['40+44=84', '84/6=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[40, 6, 57, 44], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [40, 57, 38] Generated Node #0,0: 43:[40, 57, 38] Operation: 44-6=38 Exploring Operation: 6+57=63, Resulting Numbers: [40, 44, 63] Generated Node #0,1: 43:[40, 44, 63] Operation: 6+57=63 Exploring Operation: 57-6=51, Resulting Numbers: [40, 44, 51] Generated Node #0,2: 43:[40, 44, 51] Operation: 57-6=51 Exploring Operation: 40-6=34, Resulting Numbers: [57, 44, 34] Generated Node #0,3: 43:[57, 44, 34] Operation: 40-6=34 Exploring Operation: 40+6=46, Resulting Numbers: [57, 44, 46] Generated Node #0,4: 43:[57, 44, 46] Operation: 40+6=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[40, 44, 51], Operations: ['57-6=51'] Exploring Operation: 51-40=11, Resulting Numbers: [44, 11] Generated Node #0,2,0: 43:[44, 11] Operation: 51-40=11 Exploring Operation: 51-44=7, Resulting Numbers: [40, 7] Generated Node #0,2,1: 43:[40, 7] Operation: 51-44=7 Exploring Operation: 40+51=91, Resulting Numbers: [44, 91] Generated Node #0,2,2: 43:[44, 91] Operation: 40+51=91 Exploring Operation: 40+44=84, Resulting Numbers: [51, 84] Generated Node #0,2,3: 43:[51, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [51, 4] Generated Node #0,2,4: 43:[51, 4] Operation: 44-40=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[44, 11], Operations: ['57-6=51', '51-40=11'] Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,43 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[40, 7], Operations: ['57-6=51', '51-44=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 43:[51, 4], Operations: ['57-6=51', '44-40=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,43 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[44, 91], Operations: ['57-6=51', '40+51=91'] Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,43 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 43:[51, 84], Operations: ['57-6=51', '40+44=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,43 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,43 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: 43:[57, 44, 46], Operations: ['40+6=46'] Exploring Operation: 57-44=13, Resulting Numbers: [46, 13] Generated Node #0,4,0: 43:[46, 13] Operation: 57-44=13 Exploring Operation: 57+46=103, Resulting Numbers: [44, 103] Generated Node #0,4,1: 43:[44, 103] Operation: 57+46=103 Exploring Operation: 57-46=11, Resulting Numbers: [44, 11] Generated Node #0,4,2: 43:[44, 11] Operation: 57-46=11 Exploring Operation: 57+44=101, Resulting Numbers: [46, 101] Generated Node #0,4,3: 43:[46, 101] Operation: 57+44=101 Exploring Operation: 46-44=2, Resulting Numbers: [57, 2] Generated Node #0,4,4: 43:[57, 2] Operation: 46-44=2 Moving to Node #0,4,0 Current State: 43:[46, 13], Operations: ['40+6=46', '57-44=13'] Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,43 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[44, 11], Operations: ['40+6=46', '57-46=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[57, 2], Operations: ['40+6=46', '46-44=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,43 unequal: No Solution Moving to Node #0,4,1 Current State: 43:[44, 103], Operations: ['40+6=46', '57+46=103'] Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,43 unequal: No Solution Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[46, 101], Operations: ['40+6=46', '57+44=101'] Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 46+101=147, Resulting Numbers: [147] 147,43 unequal: No Solution Exploring Operation: 46*101=4646, Resulting Numbers: [4646] 4646,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[40, 57, 38], Operations: ['44-6=38'] Exploring Operation: 57-40=17, Resulting Numbers: [38, 17] Generated Node #0,0,0: 43:[38, 17] Operation: 57-40=17 Exploring Operation: 40-38=2, Resulting Numbers: [57, 2] Generated Node #0,0,1: 43:[57, 2] Operation: 40-38=2 Exploring Operation: 40+38=78, Resulting Numbers: [57, 78] Generated Node #0,0,2: 43:[57, 78] Operation: 40+38=78 Exploring Operation: 57+38=95, Resulting Numbers: [40, 95] Generated Node #0,0,3: 43:[40, 95] Operation: 57+38=95 Exploring Operation: 57-38=19, Resulting Numbers: [40, 19] Generated Node #0,0,4: 43:[40, 19] Operation: 57-38=19 Moving to Node #0,0,4 Current State: 43:[40, 19], Operations: ['44-6=38', '57-38=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[38, 17], Operations: ['44-6=38', '57-40=17'] Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,43 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[57, 78], Operations: ['44-6=38', '40+38=78'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 57*78=4446, Resulting Numbers: [4446] 4446,43 unequal: No Solution Exploring Operation: 57+78=135, Resulting Numbers: [135] 135,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[57, 2], Operations: ['44-6=38', '40-38=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[40, 95], Operations: ['44-6=38', '57+38=95'] Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 40*95=3800, Resulting Numbers: [3800] 3800,43 unequal: No Solution Exploring Operation: 40+95=135, Resulting Numbers: [135] 135,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[40, 44, 63], Operations: ['6+57=63'] Exploring Operation: 40+63=103, Resulting Numbers: [44, 103] Generated Node #0,1,0: 43:[44, 103] Operation: 40+63=103 Exploring Operation: 63-44=19, Resulting Numbers: [40, 19] Generated Node #0,1,1: 43:[40, 19] Operation: 63-44=19 Exploring Operation: 63-40=23, Resulting Numbers: [44, 23] Generated Node #0,1,2: 43:[44, 23] Operation: 63-40=23 Exploring Operation: 40+44=84, Resulting Numbers: [63, 84] Generated Node #0,1,3: 43:[63, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [63, 4] Generated Node #0,1,4: 43:[63, 4] Operation: 44-40=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[44, 23], Operations: ['6+57=63', '63-40=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,43 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[40, 19], Operations: ['6+57=63', '63-44=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,43 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 43:[63, 4], Operations: ['6+57=63', '44-40=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,43 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[44, 103], Operations: ['6+57=63', '40+63=103'] Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,43 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 43:[63, 84], Operations: ['6+57=63', '40+44=84'] Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,43 unequal: No Solution Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,43 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,43 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: 43:[57, 44, 34], Operations: ['40-6=34'] Exploring Operation: 44+34=78, Resulting Numbers: [57, 78] Generated Node #0,3,0: 43:[57, 78] Operation: 44+34=78 Exploring Operation: 57-34=23, Resulting Numbers: [44, 23] Generated Node #0,3,1: 43:[44, 23] Operation: 57-34=23 Exploring Operation: 57-44=13, Resulting Numbers: [34, 13] Generated Node #0,3,2: 43:[34, 13] Operation: 57-44=13 Exploring Operation: 44-34=10, Resulting Numbers: [57, 10] Generated Node #0,3,3: 43:[57, 10] Operation: 44-34=10 Exploring Operation: 57+34=91, Resulting Numbers: [44, 91] Generated Node #0,3,4: 43:[44, 91] Operation: 57+34=91 Moving to Node #0,3,1 Current State: 43:[44, 23], Operations: ['40-6=34', '57-34=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[34, 13], Operations: ['40-6=34', '57-44=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,43 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[57, 10], Operations: ['40-6=34', '44-34=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[57, 78], Operations: ['40-6=34', '44+34=78'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 57+78=135, Resulting Numbers: [135] 135,43 unequal: No Solution Exploring Operation: 57*78=4446, Resulting Numbers: [4446] 4446,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[44, 91], Operations: ['40-6=34', '57+34=91'] Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,43 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,43 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
[ 53, 4, 51, 78 ]
19
[ "53-51=2", "78-2=76", "76/4=19" ]
Current State: 19:[53, 4, 51, 78], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [4, 78, 2] Generated Node #2: [4, 78, 2] from Operation: 53-51=2 Current State: 19:[4, 78, 2], Operations: ['53-51=2'] Exploring Operation: 78-2=76, Resulting Numbers: [4, 76] Generated Node #3: [4, 76] from Operation: 78-2=76 Current State: 19:[4, 76], Operations: ['53-51=2', '78-2=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[53, 4, 51, 78], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [4, 78, 2] Generated Node #0,0: 19:[4, 78, 2] Operation: 53-51=2 Exploring Operation: 78-53=25, Resulting Numbers: [4, 51, 25] Generated Node #0,1: 19:[4, 51, 25] Operation: 78-53=25 Exploring Operation: 51-4=47, Resulting Numbers: [53, 78, 47] Generated Node #0,2: 19:[53, 78, 47] Operation: 51-4=47 Exploring Operation: 78-51=27, Resulting Numbers: [53, 4, 27] Generated Node #0,3: 19:[53, 4, 27] Operation: 78-51=27 Exploring Operation: 53-4=49, Resulting Numbers: [51, 78, 49] Generated Node #0,4: 19:[51, 78, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[4, 51, 25], Operations: ['78-53=25'] Exploring Operation: 4+51=55, Resulting Numbers: [25, 55] Generated Node #0,1,0: 19:[25, 55] Operation: 4+51=55 Exploring Operation: 25-4=21, Resulting Numbers: [51, 21] Generated Node #0,1,1: 19:[51, 21] Operation: 25-4=21 Exploring Operation: 51-4=47, Resulting Numbers: [25, 47] Generated Node #0,1,2: 19:[25, 47] Operation: 51-4=47 Exploring Operation: 51-25=26, Resulting Numbers: [4, 26] Generated Node #0,1,3: 19:[4, 26] Operation: 51-25=26 Exploring Operation: 4+25=29, Resulting Numbers: [51, 29] Generated Node #0,1,4: 19:[51, 29] Operation: 4+25=29 Moving to Node #0,1,3 Current State: 19:[4, 26], Operations: ['78-53=25', '51-25=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[25, 47], Operations: ['78-53=25', '51-4=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,19 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[51, 21], Operations: ['78-53=25', '25-4=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,19 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[25, 55], Operations: ['78-53=25', '4+51=55'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,19 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,19 unequal: No Solution Moving to Node #0,1,4 Current State: 19:[51, 29], Operations: ['78-53=25', '4+25=29'] Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,19 unequal: No Solution Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,19 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,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 Current State: 19:[53, 4, 27], Operations: ['78-51=27'] Exploring Operation: 53-4=49, Resulting Numbers: [27, 49] Generated Node #0,3,0: 19:[27, 49] Operation: 53-4=49 Exploring Operation: 27-4=23, Resulting Numbers: [53, 23] Generated Node #0,3,1: 19:[53, 23] Operation: 27-4=23 Exploring Operation: 53+4=57, Resulting Numbers: [27, 57] Generated Node #0,3,2: 19:[27, 57] Operation: 53+4=57 Exploring Operation: 53-27=26, Resulting Numbers: [4, 26] Generated Node #0,3,3: 19:[4, 26] Operation: 53-27=26 Exploring Operation: 4+27=31, Resulting Numbers: [53, 31] Generated Node #0,3,4: 19:[53, 31] Operation: 4+27=31 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[4, 26], Operations: ['78-51=27', '53-27=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[27, 49], Operations: ['78-51=27', '53-4=49'] Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,19 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,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:[53, 23], Operations: ['78-51=27', '27-4=23'] Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,19 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,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:[27, 57], Operations: ['78-51=27', '53+4=57'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,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,4 Current State: 19:[53, 31], Operations: ['78-51=27', '4+27=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,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,0 Current State: 19:[4, 78, 2], Operations: ['53-51=2'] Exploring Operation: 4+2=6, Resulting Numbers: [78, 6] Generated Node #0,0,0: 19:[78, 6] Operation: 4+2=6 Exploring Operation: 4*2=8, Resulting Numbers: [78, 8] Generated Node #0,0,1: 19:[78, 8] Operation: 4*2=8 Exploring Operation: 78/2=39, Resulting Numbers: [4, 39] Generated Node #0,0,2: 19:[4, 39] Operation: 78/2=39 Exploring Operation: 78-4=74, Resulting Numbers: [2, 74] Generated Node #0,0,3: 19:[2, 74] Operation: 78-4=74 Exploring Operation: 78-2=76, Resulting Numbers: [4, 76] Generated Node #0,0,4: 19:[4, 76] Operation: 78-2=76 Moving to Node #0,0,2 Current State: 19:[4, 39], Operations: ['53-51=2', '78/2=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,19 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[78, 8], Operations: ['53-51=2', '4*2=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,19 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[78, 6], Operations: ['53-51=2', '4+2=6'] Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,19 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[2, 74], Operations: ['53-51=2', '78-4=74'] Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,19 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,19 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[4, 76], Operations: ['53-51=2', '78-2=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,19 unequal: No Solution Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,19 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[53, 4, 51, 78], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [4, 78, 2] Generated Node #0,0: 19:[4, 78, 2] Operation: 53-51=2 Moving to Node #0,0 Current State: 19:[4, 78, 2], Operations: ['53-51=2'] Exploring Operation: 78-2=76, Resulting Numbers: [4, 76] Generated Node #0,0,4: 19:[4, 76] Operation: 78-2=76 Moving to Node #0,0,4 Current State: 19:[4, 76], Operations: ['53-51=2', '78-2=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_5
sum_heuristic
[ 49, 69, 70, 39 ]
10
[ "49-39=10", "70-69=1", "10*1=10" ]
Current State: 10:[49, 69, 70, 39], Operations: [] Exploring Operation: 49-39=10, Resulting Numbers: [69, 70, 10] Generated Node #2: [69, 70, 10] from Operation: 49-39=10 Current State: 10:[69, 70, 10], Operations: ['49-39=10'] Exploring Operation: 70-69=1, Resulting Numbers: [10, 1] Generated Node #3: [10, 1] from Operation: 70-69=1 Current State: 10:[10, 1], Operations: ['49-39=10', '70-69=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[49, 69, 70, 39], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [49, 39, 1] Generated Node #0,0: 10:[49, 39, 1] Operation: 70-69=1 Exploring Operation: 70-49=21, Resulting Numbers: [69, 39, 21] Generated Node #0,1: 10:[69, 39, 21] Operation: 70-49=21 Exploring Operation: 69-49=20, Resulting Numbers: [70, 39, 20] Generated Node #0,2: 10:[70, 39, 20] Operation: 69-49=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[49, 39, 1], Operations: ['70-69=1'] Exploring Operation: 49-1=48, Resulting Numbers: [39, 48] Generated Node #0,0,0: 10:[39, 48] Operation: 49-1=48 Exploring Operation: 39-1=38, Resulting Numbers: [49, 38] Generated Node #0,0,1: 10:[49, 38] Operation: 39-1=38 Exploring Operation: 49-39=10, Resulting Numbers: [1, 10] Generated Node #0,0,2: 10:[1, 10] Operation: 49-39=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[1, 10], Operations: ['70-69=1', '49-39=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[49, 69, 70, 39], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [49, 39, 1] Generated Node #0,0: 10:[49, 39, 1] Operation: 70-69=1 Moving to Node #0,0 Current State: 10:[49, 39, 1], Operations: ['70-69=1'] Exploring Operation: 49-39=10, Resulting Numbers: [1, 10] Generated Node #0,0,2: 10:[1, 10] Operation: 49-39=10 Moving to Node #0,0,2 Current State: 10:[1, 10], Operations: ['70-69=1', '49-39=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 51, 69, 58, 63 ]
78
[ "58-51=7", "63/7=9", "69+9=78" ]
Current State: 78:[51, 69, 58, 63], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [69, 63, 7] Generated Node #2: [69, 63, 7] from Operation: 58-51=7 Current State: 78:[69, 63, 7], Operations: ['58-51=7'] Exploring Operation: 63/7=9, Resulting Numbers: [69, 9] Generated Node #3: [69, 9] from Operation: 63/7=9 Current State: 78:[69, 9], Operations: ['58-51=7', '63/7=9'] Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[51, 69, 58, 63], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [51, 69, 5] Generated Node #0,0: 78:[51, 69, 5] Operation: 63-58=5 Exploring Operation: 69-58=11, Resulting Numbers: [51, 63, 11] Generated Node #0,1: 78:[51, 63, 11] Operation: 69-58=11 Exploring Operation: 63-51=12, Resulting Numbers: [69, 58, 12] Generated Node #0,2: 78:[69, 58, 12] Operation: 63-51=12 Exploring Operation: 58-51=7, Resulting Numbers: [69, 63, 7] Generated Node #0,3: 78:[69, 63, 7] Operation: 58-51=7 Moving to Node #0,0 Current State: 78:[51, 69, 5], Operations: ['63-58=5'] Exploring Operation: 51-5=46, Resulting Numbers: [69, 46] Generated Node #0,0,0: 78:[69, 46] Operation: 51-5=46 Exploring Operation: 51+5=56, Resulting Numbers: [69, 56] Generated Node #0,0,1: 78:[69, 56] Operation: 51+5=56 Exploring Operation: 69+5=74, Resulting Numbers: [51, 74] Generated Node #0,0,2: 78:[51, 74] Operation: 69+5=74 Exploring Operation: 69-51=18, Resulting Numbers: [5, 18] Generated Node #0,0,3: 78:[5, 18] Operation: 69-51=18 Moving to Node #0,3 Current State: 78:[69, 63, 7], Operations: ['58-51=7'] Exploring Operation: 63+7=70, Resulting Numbers: [69, 70] Generated Node #0,3,0: 78:[69, 70] Operation: 63+7=70 Exploring Operation: 69+7=76, Resulting Numbers: [63, 76] Generated Node #0,3,1: 78:[63, 76] Operation: 69+7=76 Exploring Operation: 69-63=6, Resulting Numbers: [7, 6] Generated Node #0,3,2: 78:[7, 6] Operation: 69-63=6 Exploring Operation: 63/7=9, Resulting Numbers: [69, 9] Generated Node #0,3,3: 78:[69, 9] Operation: 63/7=9 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[7, 6], Operations: ['58-51=7', '69-63=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[69, 9], Operations: ['58-51=7', '63/7=9'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,78 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[51, 69, 58, 63], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [69, 63, 7] Generated Node #0,3: 78:[69, 63, 7] Operation: 58-51=7 Moving to Node #0,3 Current State: 78:[69, 63, 7], Operations: ['58-51=7'] Exploring Operation: 63/7=9, Resulting Numbers: [69, 9] Generated Node #0,3,3: 78:[69, 9] Operation: 63/7=9 Moving to Node #0,3,3 Current State: 78:[69, 9], Operations: ['58-51=7', '63/7=9'] Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 50, 3, 56, 21 ]
58
[ "3*56=168", "168/21=8", "50+8=58" ]
Current State: 58:[50, 3, 56, 21], Operations: [] Exploring Operation: 3*56=168, Resulting Numbers: [50, 21, 168] Generated Node #2: [50, 21, 168] from Operation: 3*56=168 Current State: 58:[50, 21, 168], Operations: ['3*56=168'] Exploring Operation: 168/21=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 168/21=8 Current State: 58:[50, 8], Operations: ['3*56=168', '168/21=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[50, 3, 56, 21], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [3, 21, 6] Generated Node #0,0: 58:[3, 21, 6] Operation: 56-50=6 Exploring Operation: 3+21=24, Resulting Numbers: [50, 56, 24] Generated Node #0,1: 58:[50, 56, 24] Operation: 3+21=24 Exploring Operation: 3*21=63, Resulting Numbers: [50, 56, 63] Generated Node #0,2: 58:[50, 56, 63] Operation: 3*21=63 Exploring Operation: 50-21=29, Resulting Numbers: [3, 56, 29] Generated Node #0,3: 58:[3, 56, 29] Operation: 50-21=29 Exploring Operation: 50+3=53, Resulting Numbers: [56, 21, 53] Generated Node #0,4: 58:[56, 21, 53] Operation: 50+3=53 Moving to Node #0,3 Current State: 58:[3, 56, 29], Operations: ['50-21=29'] Exploring Operation: 29-3=26, Resulting Numbers: [56, 26] Generated Node #0,3,0: 58:[56, 26] Operation: 29-3=26 Exploring Operation: 56-3=53, Resulting Numbers: [29, 53] Generated Node #0,3,1: 58:[29, 53] Operation: 56-3=53 Exploring Operation: 3+29=32, Resulting Numbers: [56, 32] Generated Node #0,3,2: 58:[56, 32] Operation: 3+29=32 Exploring Operation: 56-29=27, Resulting Numbers: [3, 27] Generated Node #0,3,3: 58:[3, 27] Operation: 56-29=27 Exploring Operation: 3+56=59, Resulting Numbers: [29, 59] Generated Node #0,3,4: 58:[29, 59] Operation: 3+56=59 Moving to Node #0,0 Current State: 58:[3, 21, 6], Operations: ['56-50=6'] Exploring Operation: 21+6=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 58:[3, 27] Operation: 21+6=27 Exploring Operation: 6/3=2, Resulting Numbers: [21, 2] Generated Node #0,0,1: 58:[21, 2] Operation: 6/3=2 Exploring Operation: 21/3=7, Resulting Numbers: [6, 7] Generated Node #0,0,2: 58:[6, 7] Operation: 21/3=7 Exploring Operation: 3+21=24, Resulting Numbers: [6, 24] Generated Node #0,0,3: 58:[6, 24] Operation: 3+21=24 Exploring Operation: 3*21=63, Resulting Numbers: [6, 63] Generated Node #0,0,4: 58:[6, 63] Operation: 3*21=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[3, 27], Operations: ['56-50=6', '21+6=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,58 unequal: No Solution No 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: 58:[21, 2], Operations: ['56-50=6', '6/3=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,58 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,58 unequal: No Solution No 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: 58:[6, 7], Operations: ['56-50=6', '21/3=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,58 unequal: No Solution No 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: 58:[6, 24], Operations: ['56-50=6', '3+21=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,58 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,58 unequal: No Solution No 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: 58:[6, 63], Operations: ['56-50=6', '3*21=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,58 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,58 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: 58:[50, 56, 24], Operations: ['3+21=24'] Exploring Operation: 56-24=32, Resulting Numbers: [50, 32] Generated Node #0,1,0: 58:[50, 32] Operation: 56-24=32 Exploring Operation: 56+24=80, Resulting Numbers: [50, 80] Generated Node #0,1,1: 58:[50, 80] Operation: 56+24=80 Exploring Operation: 56-50=6, Resulting Numbers: [24, 6] Generated Node #0,1,2: 58:[24, 6] Operation: 56-50=6 Exploring Operation: 50+24=74, Resulting Numbers: [56, 74] Generated Node #0,1,3: 58:[56, 74] Operation: 50+24=74 Exploring Operation: 50-24=26, Resulting Numbers: [56, 26] Generated Node #0,1,4: 58:[56, 26] Operation: 50-24=26 Moving to Node #0,2 Current State: 58:[50, 56, 63], Operations: ['3*21=63'] Exploring Operation: 50+56=106, Resulting Numbers: [63, 106] Generated Node #0,2,0: 58:[63, 106] Operation: 50+56=106 Exploring Operation: 63-50=13, Resulting Numbers: [56, 13] Generated Node #0,2,1: 58:[56, 13] Operation: 63-50=13 Exploring Operation: 63-56=7, Resulting Numbers: [50, 7] Generated Node #0,2,2: 58:[50, 7] Operation: 63-56=7 Exploring Operation: 56-50=6, Resulting Numbers: [63, 6] Generated Node #0,2,3: 58:[63, 6] Operation: 56-50=6 Exploring Operation: 50+63=113, Resulting Numbers: [56, 113] Generated Node #0,2,4: 58:[56, 113] Operation: 50+63=113 Moving to Node #0,4 Current State: 58:[56, 21, 53], Operations: ['50+3=53'] Exploring Operation: 56+21=77, Resulting Numbers: [53, 77] Generated Node #0,4,0: 58:[53, 77] Operation: 56+21=77 Exploring Operation: 56-21=35, Resulting Numbers: [53, 35] Generated Node #0,4,1: 58:[53, 35] Operation: 56-21=35 Exploring Operation: 21+53=74, Resulting Numbers: [56, 74] Generated Node #0,4,2: 58:[56, 74] Operation: 21+53=74 Exploring Operation: 56-53=3, Resulting Numbers: [21, 3] Generated Node #0,4,3: 58:[21, 3] Operation: 56-53=3 Exploring Operation: 53-21=32, Resulting Numbers: [56, 32] Generated Node #0,4,4: 58:[56, 32] Operation: 53-21=32 Moving to Node #0,3,4 Current State: 58:[29, 59], Operations: ['50-21=29', '3+56=59'] Exploring Operation: 29+59=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 29*59=1711, Resulting Numbers: [1711] 1711,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[3, 27], Operations: ['50-21=29', '56-29=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[56, 26], Operations: ['50-21=29', '29-3=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,58 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[56, 26], Operations: ['3+21=24', '50-24=26'] Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,58 unequal: No Solution Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[56, 32], Operations: ['50-21=29', '3+29=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,58 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[29, 53], Operations: ['50-21=29', '56-3=53'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,58 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,58 unequal: No Solution Moving to Node #0,4,4 Current State: 58:[56, 32], Operations: ['50+3=53', '53-21=32'] Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[24, 6], Operations: ['3+21=24', '56-50=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[63, 6], Operations: ['3*21=63', '56-50=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,58 unequal: No Solution Moving to Node #0,4,3 Current State: 58:[21, 3], Operations: ['50+3=53', '56-53=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,58 unequal: No Solution Moving to Node #0,4,1 Current State: 58:[53, 35], Operations: ['50+3=53', '56-21=35'] Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[50, 32], Operations: ['3+21=24', '56-24=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[50, 7], Operations: ['3*21=63', '63-56=7'] Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,58 unequal: No Solution Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[56, 13], Operations: ['3*21=63', '63-50=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[56, 74], Operations: ['3+21=24', '50+24=74'] Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,58 unequal: No Solution Moving to Node #0,4,2 Current State: 58:[56, 74], Operations: ['50+3=53', '21+53=74'] Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,58 unequal: No Solution Moving to Node #0,4,0 Current State: 58:[53, 77], Operations: ['50+3=53', '56+21=77'] Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 53+77=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 53*77=4081, Resulting Numbers: [4081] 4081,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[50, 80], Operations: ['3+21=24', '56+24=80'] Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,58 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[63, 106], Operations: ['3*21=63', '50+56=106'] Exploring Operation: 63+106=169, Resulting Numbers: [169] 169,58 unequal: No Solution Exploring Operation: 106-63=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 63*106=6678, Resulting Numbers: [6678] 6678,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[56, 113], Operations: ['3*21=63', '50+63=113'] Exploring Operation: 113-56=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 56+113=169, Resulting Numbers: [169] 169,58 unequal: No Solution Exploring Operation: 56*113=6328, Resulting Numbers: [6328] 6328,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 37, 41, 31 ]
74
[ "70-41=29", "31-29=2", "37*2=74" ]
Current State: 74:[70, 37, 41, 31], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [37, 31, 29] Generated Node #2: [37, 31, 29] from Operation: 70-41=29 Current State: 74:[37, 31, 29], Operations: ['70-41=29'] Exploring Operation: 31-29=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 31-29=2 Current State: 74:[37, 2], Operations: ['70-41=29', '31-29=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[70, 37, 41, 31], Operations: [] Exploring Operation: 41+31=72, Resulting Numbers: [70, 37, 72] Generated Node #0,0: 74:[70, 37, 72] Operation: 41+31=72 Exploring Operation: 70-31=39, Resulting Numbers: [37, 41, 39] Generated Node #0,1: 74:[37, 41, 39] Operation: 70-31=39 Moving to Node #0,0 Current State: 74:[70, 37, 72], Operations: ['41+31=72'] Exploring Operation: 70-37=33, Resulting Numbers: [72, 33] Generated Node #0,0,0: 74:[72, 33] Operation: 70-37=33 Exploring Operation: 72-70=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 74:[37, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[37, 2], Operations: ['41+31=72', '72-70=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[70, 37, 41, 31], Operations: [] Exploring Operation: 41+31=72, Resulting Numbers: [70, 37, 72] Generated Node #0,0: 74:[70, 37, 72] Operation: 41+31=72 Moving to Node #0,0 Current State: 74:[70, 37, 72], Operations: ['41+31=72'] Exploring Operation: 72-70=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 74:[37, 2] Operation: 72-70=2 Moving to Node #0,0,1 Current State: 74:[37, 2], Operations: ['41+31=72', '72-70=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 9, 7, 88, 52 ]
96
[ "9-7=2", "88/2=44", "52+44=96" ]
Current State: 96:[9, 7, 88, 52], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [88, 52, 2] Generated Node #2: [88, 52, 2] from Operation: 9-7=2 Current State: 96:[88, 52, 2], Operations: ['9-7=2'] Exploring Operation: 88/2=44, Resulting Numbers: [52, 44] Generated Node #3: [52, 44] from Operation: 88/2=44 Current State: 96:[52, 44], Operations: ['9-7=2', '88/2=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[9, 7, 88, 52], Operations: [] Exploring Operation: 9+88=97, Resulting Numbers: [7, 52, 97] Generated Node #0,0: 96:[7, 52, 97] Operation: 9+88=97 Moving to Node #0,0 Current State: 96:[7, 52, 97], Operations: ['9+88=97'] Exploring Operation: 52-7=45, Resulting Numbers: [97, 45] Generated Node #0,0,0: 96:[97, 45] Operation: 52-7=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[97, 45], Operations: ['9+88=97', '52-7=45'] Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 98, 82, 13, 26 ]
78
[ "98-82=16", "16-13=3", "26*3=78" ]
Current State: 78:[98, 82, 13, 26], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [13, 26, 16] Generated Node #2: [13, 26, 16] from Operation: 98-82=16 Current State: 78:[13, 26, 16], Operations: ['98-82=16'] Exploring Operation: 16-13=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 16-13=3 Current State: 78:[26, 3], Operations: ['98-82=16', '16-13=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[98, 82, 13, 26], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [82, 13, 72] Generated Node #0,0: 78:[82, 13, 72] Operation: 98-26=72 Exploring Operation: 13+26=39, Resulting Numbers: [98, 82, 39] Generated Node #0,1: 78:[98, 82, 39] Operation: 13+26=39 Exploring Operation: 98-13=85, Resulting Numbers: [82, 26, 85] Generated Node #0,2: 78:[82, 26, 85] Operation: 98-13=85 Exploring Operation: 98-82=16, Resulting Numbers: [13, 26, 16] Generated Node #0,3: 78:[13, 26, 16] Operation: 98-82=16 Exploring Operation: 26-13=13, Resulting Numbers: [98, 82, 13] Generated Node #0,4: 78:[98, 82, 13] Operation: 26-13=13 Moving to Node #0,3 Current State: 78:[13, 26, 16], Operations: ['98-82=16'] Exploring Operation: 16-13=3, Resulting Numbers: [26, 3] Generated Node #0,3,0: 78:[26, 3] Operation: 16-13=3 Exploring Operation: 26-13=13, Resulting Numbers: [16, 13] Generated Node #0,3,1: 78:[16, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [16, 2] Generated Node #0,3,2: 78:[16, 2] Operation: 26/13=2 Exploring Operation: 13+16=29, Resulting Numbers: [26, 29] Generated Node #0,3,3: 78:[26, 29] Operation: 13+16=29 Exploring Operation: 13+26=39, Resulting Numbers: [16, 39] Generated Node #0,3,4: 78:[16, 39] Operation: 13+26=39 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[26, 3], Operations: ['98-82=16', '16-13=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[98, 82, 13, 26], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [13, 26, 16] Generated Node #0,3: 78:[13, 26, 16] Operation: 98-82=16 Moving to Node #0,3 Current State: 78:[13, 26, 16], Operations: ['98-82=16'] Exploring Operation: 16-13=3, Resulting Numbers: [26, 3] Generated Node #0,3,0: 78:[26, 3] Operation: 16-13=3 Moving to Node #0,3,0 Current State: 78:[26, 3], Operations: ['98-82=16', '16-13=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 97, 75, 76, 12 ]
84
[ "97+75=172", "76+12=88", "172-88=84" ]
Current State: 84:[97, 75, 76, 12], Operations: [] Exploring Operation: 97+75=172, Resulting Numbers: [76, 12, 172] Generated Node #2: [76, 12, 172] from Operation: 97+75=172 Current State: 84:[76, 12, 172], Operations: ['97+75=172'] Exploring Operation: 76+12=88, Resulting Numbers: [172, 88] Generated Node #3: [172, 88] from Operation: 76+12=88 Current State: 84:[172, 88], Operations: ['97+75=172', '76+12=88'] Exploring Operation: 172-88=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[97, 75, 76, 12], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [75, 12, 21] Generated Node #0,0: 84:[75, 12, 21] Operation: 97-76=21 Exploring Operation: 97-75=22, Resulting Numbers: [76, 12, 22] Generated Node #0,1: 84:[76, 12, 22] Operation: 97-75=22 Exploring Operation: 76-75=1, Resulting Numbers: [97, 12, 1] Generated Node #0,2: 84:[97, 12, 1] Operation: 76-75=1 Moving to Node #0,0 Current State: 84:[75, 12, 21], Operations: ['97-76=21'] Exploring Operation: 21-12=9, Resulting Numbers: [75, 9] Generated Node #0,0,0: 84:[75, 9] Operation: 21-12=9 Exploring Operation: 75+21=96, Resulting Numbers: [12, 96] Generated Node #0,0,1: 84:[12, 96] Operation: 75+21=96 Exploring Operation: 75+12=87, Resulting Numbers: [21, 87] Generated Node #0,0,2: 84:[21, 87] Operation: 75+12=87 Moving to Node #0,1 Current State: 84:[76, 12, 22], Operations: ['97-75=22'] Exploring Operation: 76+12=88, Resulting Numbers: [22, 88] Generated Node #0,1,0: 84:[22, 88] Operation: 76+12=88 Exploring Operation: 76-22=54, Resulting Numbers: [12, 54] Generated Node #0,1,1: 84:[12, 54] Operation: 76-22=54 Exploring Operation: 22-12=10, Resulting Numbers: [76, 10] Generated Node #0,1,2: 84:[76, 10] Operation: 22-12=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[22, 88], Operations: ['97-75=22', '76+12=88'] Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,84 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[76, 10], Operations: ['97-75=22', '22-12=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,84 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,84 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[12, 54], Operations: ['97-75=22', '76-22=54'] Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,84 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[97, 12, 1], Operations: ['76-75=1'] Exploring Operation: 97*1=97, Resulting Numbers: [12, 97] Generated Node #0,2,0: 84:[12, 97] Operation: 97*1=97 Exploring Operation: 97-1=96, Resulting Numbers: [12, 96] Generated Node #0,2,1: 84:[12, 96] Operation: 97-1=96 Exploring Operation: 97-12=85, Resulting Numbers: [1, 85] Generated Node #0,2,2: 84:[1, 85] Operation: 97-12=85 Moving to Node #0,2,2 Current State: 84:[1, 85], Operations: ['76-75=1', '97-12=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[97, 75, 76, 12], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [97, 12, 1] Generated Node #0,2: 84:[97, 12, 1] Operation: 76-75=1 Moving to Node #0,2 Current State: 84:[97, 12, 1], Operations: ['76-75=1'] Exploring Operation: 97-12=85, Resulting Numbers: [1, 85] Generated Node #0,2,2: 84:[1, 85] Operation: 97-12=85 Moving to Node #0,2,2 Current State: 84:[1, 85], Operations: ['76-75=1', '97-12=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 96, 81, 98, 66 ]
82
[ "81*98=7938", "7938-66=7872", "7872/96=82" ]
Current State: 82:[96, 81, 98, 66], Operations: [] Exploring Operation: 81*98=7938, Resulting Numbers: [96, 66, 7938] Generated Node #2: [96, 66, 7938] from Operation: 81*98=7938 Current State: 82:[96, 66, 7938], Operations: ['81*98=7938'] Exploring Operation: 7938-66=7872, Resulting Numbers: [96, 7872] Generated Node #3: [96, 7872] from Operation: 7938-66=7872 Current State: 82:[96, 7872], Operations: ['81*98=7938', '7938-66=7872'] Exploring Operation: 7872/96=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[96, 81, 98, 66], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [81, 66, 2] Generated Node #0,0: 82:[81, 66, 2] Operation: 98-96=2 Exploring Operation: 98-66=32, Resulting Numbers: [96, 81, 32] Generated Node #0,1: 82:[96, 81, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[81, 66, 2], Operations: ['98-96=2'] Exploring Operation: 66/2=33, Resulting Numbers: [81, 33] Generated Node #0,0,0: 82:[81, 33] Operation: 66/2=33 Exploring Operation: 81-66=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 82:[2, 15] Operation: 81-66=15 Moving to Node #0,0,0 Current State: 82:[81, 33], Operations: ['98-96=2', '66/2=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[2, 15], Operations: ['98-96=2', '81-66=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,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 Current State: 82:[96, 81, 32], Operations: ['98-66=32'] Exploring Operation: 96/32=3, Resulting Numbers: [81, 3] Generated Node #0,1,0: 82:[81, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [81, 64] Generated Node #0,1,1: 82:[81, 64] Operation: 96-32=64 Moving to Node #0,1,0 Current State: 82:[81, 3], Operations: ['98-66=32', '96/32=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,82 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[81, 64], Operations: ['98-66=32', '96-32=64'] Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,82 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,82 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
[ 57, 2, 33, 5 ]
21
[ "57+2=59", "33+5=38", "59-38=21" ]
Current State: 21:[57, 2, 33, 5], Operations: [] Exploring Operation: 57+2=59, Resulting Numbers: [33, 5, 59] Generated Node #2: [33, 5, 59] from Operation: 57+2=59 Current State: 21:[33, 5, 59], Operations: ['57+2=59'] Exploring Operation: 33+5=38, Resulting Numbers: [59, 38] Generated Node #3: [59, 38] from Operation: 33+5=38 Current State: 21:[59, 38], Operations: ['57+2=59', '33+5=38'] Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[57, 2, 33, 5], Operations: [] Exploring Operation: 57-33=24, Resulting Numbers: [2, 5, 24] Generated Node #0,0: 21:[2, 5, 24] Operation: 57-33=24 Exploring Operation: 33-5=28, Resulting Numbers: [57, 2, 28] Generated Node #0,1: 21:[57, 2, 28] Operation: 33-5=28 Exploring Operation: 57-5=52, Resulting Numbers: [2, 33, 52] Generated Node #0,2: 21:[2, 33, 52] Operation: 57-5=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[2, 5, 24], Operations: ['57-33=24'] Exploring Operation: 24-2=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 21:[5, 22] Operation: 24-2=22 Exploring Operation: 2+5=7, Resulting Numbers: [24, 7] Generated Node #0,0,1: 21:[24, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [24, 3] Generated Node #0,0,2: 21:[24, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[5, 22], Operations: ['57-33=24', '24-2=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,21 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[24, 7], Operations: ['57-33=24', '2+5=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,21 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[24, 3], Operations: ['57-33=24', '5-2=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,21 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[57, 2, 33, 5], Operations: [] Exploring Operation: 57-33=24, Resulting Numbers: [2, 5, 24] Generated Node #0,0: 21:[2, 5, 24] Operation: 57-33=24 Moving to Node #0,0 Current State: 21:[2, 5, 24], Operations: ['57-33=24'] Exploring Operation: 5-2=3, Resulting Numbers: [24, 3] Generated Node #0,0,2: 21:[24, 3] Operation: 5-2=3 Moving to Node #0,0,2 Current State: 21:[24, 3], Operations: ['57-33=24', '5-2=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 48, 3, 65, 36 ]
52
[ "48-3=45", "65*36=2340", "2340/45=52" ]
Current State: 52:[48, 3, 65, 36], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [65, 36, 45] Generated Node #2: [65, 36, 45] from Operation: 48-3=45 Current State: 52:[65, 36, 45], Operations: ['48-3=45'] Exploring Operation: 65*36=2340, Resulting Numbers: [45, 2340] Generated Node #3: [45, 2340] from Operation: 65*36=2340 Current State: 52:[45, 2340], Operations: ['48-3=45', '65*36=2340'] Exploring Operation: 2340/45=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[48, 3, 65, 36], Operations: [] Exploring Operation: 65-48=17, Resulting Numbers: [3, 36, 17] Generated Node #0,0: 52:[3, 36, 17] Operation: 65-48=17 Exploring Operation: 65-36=29, Resulting Numbers: [48, 3, 29] Generated Node #0,1: 52:[48, 3, 29] Operation: 65-36=29 Moving to Node #0,1 Current State: 52:[48, 3, 29], Operations: ['65-36=29'] Exploring Operation: 48+3=51, Resulting Numbers: [29, 51] Generated Node #0,1,0: 52:[29, 51] Operation: 48+3=51 Exploring Operation: 29-3=26, Resulting Numbers: [48, 26] Generated Node #0,1,1: 52:[48, 26] Operation: 29-3=26 Moving to Node #0,0 Current State: 52:[3, 36, 17], Operations: ['65-48=17'] Exploring Operation: 36+17=53, Resulting Numbers: [3, 53] Generated Node #0,0,0: 52:[3, 53] Operation: 36+17=53 Exploring Operation: 36/3=12, Resulting Numbers: [17, 12] Generated Node #0,0,1: 52:[17, 12] Operation: 36/3=12 Moving to Node #0,0,0 Current State: 52:[3, 53], Operations: ['65-48=17', '36+17=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,52 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[29, 51], Operations: ['65-36=29', '48+3=51'] Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[48, 26], Operations: ['65-36=29', '29-3=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[17, 12], Operations: ['65-48=17', '36/3=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,52 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 67, 39, 94, 79 ]
67
[ "67+39=106", "94+79=173", "173-106=67" ]
Current State: 67:[67, 39, 94, 79], Operations: [] Exploring Operation: 67+39=106, Resulting Numbers: [94, 79, 106] Generated Node #2: [94, 79, 106] from Operation: 67+39=106 Current State: 67:[94, 79, 106], Operations: ['67+39=106'] Exploring Operation: 94+79=173, Resulting Numbers: [106, 173] Generated Node #3: [106, 173] from Operation: 94+79=173 Current State: 67:[106, 173], Operations: ['67+39=106', '94+79=173'] Exploring Operation: 173-106=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[67, 39, 94, 79], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [67, 94, 40] Generated Node #0,0: 67:[67, 94, 40] Operation: 79-39=40 Exploring Operation: 67+39=106, Resulting Numbers: [94, 79, 106] Generated Node #0,1: 67:[94, 79, 106] Operation: 67+39=106 Exploring Operation: 94-39=55, Resulting Numbers: [67, 79, 55] Generated Node #0,2: 67:[67, 79, 55] Operation: 94-39=55 Moving to Node #0,2 Current State: 67:[67, 79, 55], Operations: ['94-39=55'] Exploring Operation: 79-67=12, Resulting Numbers: [55, 12] Generated Node #0,2,0: 67:[55, 12] Operation: 79-67=12 Exploring Operation: 79-55=24, Resulting Numbers: [67, 24] Generated Node #0,2,1: 67:[67, 24] Operation: 79-55=24 Exploring Operation: 67+55=122, Resulting Numbers: [79, 122] Generated Node #0,2,2: 67:[79, 122] Operation: 67+55=122 Moving to Node #0,0 Current State: 67:[67, 94, 40], Operations: ['79-39=40'] Exploring Operation: 94-67=27, Resulting Numbers: [40, 27] Generated Node #0,0,0: 67:[40, 27] Operation: 94-67=27 Exploring Operation: 94-40=54, Resulting Numbers: [67, 54] Generated Node #0,0,1: 67:[67, 54] Operation: 94-40=54 Exploring Operation: 67+40=107, Resulting Numbers: [94, 107] Generated Node #0,0,2: 67:[94, 107] Operation: 67+40=107 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[67, 54], Operations: ['79-39=40', '94-40=54'] Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,67 unequal: No Solution Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[40, 27], Operations: ['79-39=40', '94-67=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[67, 39, 94, 79], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [67, 94, 40] Generated Node #0,0: 67:[67, 94, 40] Operation: 79-39=40 Moving to Node #0,0 Current State: 67:[67, 94, 40], Operations: ['79-39=40'] Exploring Operation: 94-67=27, Resulting Numbers: [40, 27] Generated Node #0,0,0: 67:[40, 27] Operation: 94-67=27 Moving to Node #0,0,0 Current State: 67:[40, 27], Operations: ['79-39=40', '94-67=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 56, 92, 10, 15 ]
17
[ "56-10=46", "92/46=2", "15+2=17" ]
Current State: 17:[56, 92, 10, 15], Operations: [] Exploring Operation: 56-10=46, Resulting Numbers: [92, 15, 46] Generated Node #2: [92, 15, 46] from Operation: 56-10=46 Current State: 17:[92, 15, 46], Operations: ['56-10=46'] Exploring Operation: 92/46=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 92/46=2 Current State: 17:[15, 2], Operations: ['56-10=46', '92/46=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[56, 92, 10, 15], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [10, 15, 36] Generated Node #0,0: 17:[10, 15, 36] Operation: 92-56=36 Exploring Operation: 56-15=41, Resulting Numbers: [92, 10, 41] Generated Node #0,1: 17:[92, 10, 41] Operation: 56-15=41 Exploring Operation: 56-10=46, Resulting Numbers: [92, 15, 46] Generated Node #0,2: 17:[92, 15, 46] Operation: 56-10=46 Exploring Operation: 92-10=82, Resulting Numbers: [56, 15, 82] Generated Node #0,3: 17:[56, 15, 82] Operation: 92-10=82 Moving to Node #0,0 Current State: 17:[10, 15, 36], Operations: ['92-56=36'] Exploring Operation: 36-10=26, Resulting Numbers: [15, 26] Generated Node #0,0,0: 17:[15, 26] Operation: 36-10=26 Exploring Operation: 15-10=5, Resulting Numbers: [36, 5] Generated Node #0,0,1: 17:[36, 5] Operation: 15-10=5 Exploring Operation: 10+15=25, Resulting Numbers: [36, 25] Generated Node #0,0,2: 17:[36, 25] Operation: 10+15=25 Exploring Operation: 36-15=21, Resulting Numbers: [10, 21] Generated Node #0,0,3: 17:[10, 21] Operation: 36-15=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[15, 26], Operations: ['92-56=36', '36-10=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[10, 21], Operations: ['92-56=36', '36-15=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[36, 25], Operations: ['92-56=36', '10+15=25'] Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,17 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[36, 5], Operations: ['92-56=36', '15-10=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,17 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: 17:[92, 15, 46], Operations: ['56-10=46'] Exploring Operation: 46-15=31, Resulting Numbers: [92, 31] Generated Node #0,2,0: 17:[92, 31] Operation: 46-15=31 Exploring Operation: 92-46=46, Resulting Numbers: [15, 46] Generated Node #0,2,1: 17:[15, 46] Operation: 92-46=46 Exploring Operation: 92-15=77, Resulting Numbers: [46, 77] Generated Node #0,2,2: 17:[46, 77] Operation: 92-15=77 Exploring Operation: 92/46=2, Resulting Numbers: [15, 2] Generated Node #0,2,3: 17:[15, 2] Operation: 92/46=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[15, 2], Operations: ['56-10=46', '92/46=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[56, 92, 10, 15], Operations: [] Exploring Operation: 56-10=46, Resulting Numbers: [92, 15, 46] Generated Node #0,2: 17:[92, 15, 46] Operation: 56-10=46 Moving to Node #0,2 Current State: 17:[92, 15, 46], Operations: ['56-10=46'] Exploring Operation: 92/46=2, Resulting Numbers: [15, 2] Generated Node #0,2,3: 17:[15, 2] Operation: 92/46=2 Moving to Node #0,2,3 Current State: 17:[15, 2], Operations: ['56-10=46', '92/46=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 88, 2, 66, 9 ]
31
[ "88/2=44", "66+9=75", "75-44=31" ]
Current State: 31:[88, 2, 66, 9], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [66, 9, 44] Generated Node #2: [66, 9, 44] from Operation: 88/2=44 Current State: 31:[66, 9, 44], Operations: ['88/2=44'] Exploring Operation: 66+9=75, Resulting Numbers: [44, 75] Generated Node #3: [44, 75] from Operation: 66+9=75 Current State: 31:[44, 75], Operations: ['88/2=44', '66+9=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[88, 2, 66, 9], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [2, 9, 22] Generated Node #0,0: 31:[2, 9, 22] Operation: 88-66=22 Exploring Operation: 88/2=44, Resulting Numbers: [66, 9, 44] Generated Node #0,1: 31:[66, 9, 44] Operation: 88/2=44 Exploring Operation: 2*9=18, Resulting Numbers: [88, 66, 18] Generated Node #0,2: 31:[88, 66, 18] Operation: 2*9=18 Exploring Operation: 66/2=33, Resulting Numbers: [88, 9, 33] Generated Node #0,3: 31:[88, 9, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[2, 9, 22], Operations: ['88-66=22'] Exploring Operation: 2+22=24, Resulting Numbers: [9, 24] Generated Node #0,0,0: 31:[9, 24] Operation: 2+22=24 Exploring Operation: 2+9=11, Resulting Numbers: [22, 11] Generated Node #0,0,1: 31:[22, 11] Operation: 2+9=11 Exploring Operation: 9+22=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 31:[2, 31] Operation: 9+22=31 Exploring Operation: 2*9=18, Resulting Numbers: [22, 18] Generated Node #0,0,3: 31:[22, 18] Operation: 2*9=18 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[22, 18], Operations: ['88-66=22', '2*9=18'] Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,31 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[9, 24], Operations: ['88-66=22', '2+22=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,31 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[22, 11], Operations: ['88-66=22', '2+9=11'] Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,31 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[2, 31], Operations: ['88-66=22', '9+22=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[66, 9, 44], Operations: ['88/2=44'] Exploring Operation: 66-44=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 31:[9, 22] Operation: 66-44=22 Exploring Operation: 66+9=75, Resulting Numbers: [44, 75] Generated Node #0,1,1: 31:[44, 75] Operation: 66+9=75 Exploring Operation: 44-9=35, Resulting Numbers: [66, 35] Generated Node #0,1,2: 31:[66, 35] Operation: 44-9=35 Exploring Operation: 66-9=57, Resulting Numbers: [44, 57] Generated Node #0,1,3: 31:[44, 57] Operation: 66-9=57 Moving to Node #0,1,0 Current State: 31:[9, 22], Operations: ['88/2=44', '66-44=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,31 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[88, 2, 66, 9], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [66, 9, 44] Generated Node #0,1: 31:[66, 9, 44] Operation: 88/2=44 Moving to Node #0,1 Current State: 31:[66, 9, 44], Operations: ['88/2=44'] Exploring Operation: 66-44=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 31:[9, 22] Operation: 66-44=22 Moving to Node #0,1,0 Current State: 31:[9, 22], Operations: ['88/2=44', '66-44=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 42, 14, 50, 33 ]
27
[ "42+14=56", "50+33=83", "83-56=27" ]
Current State: 27:[42, 14, 50, 33], Operations: [] Exploring Operation: 42+14=56, Resulting Numbers: [50, 33, 56] Generated Node #2: [50, 33, 56] from Operation: 42+14=56 Current State: 27:[50, 33, 56], Operations: ['42+14=56'] Exploring Operation: 50+33=83, Resulting Numbers: [56, 83] Generated Node #3: [56, 83] from Operation: 50+33=83 Current State: 27:[56, 83], Operations: ['42+14=56', '50+33=83'] Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[42, 14, 50, 33], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [42, 14, 17] Generated Node #0,0: 27:[42, 14, 17] Operation: 50-33=17 Exploring Operation: 42-14=28, Resulting Numbers: [50, 33, 28] Generated Node #0,1: 27:[50, 33, 28] Operation: 42-14=28 Exploring Operation: 50-42=8, Resulting Numbers: [14, 33, 8] Generated Node #0,2: 27:[14, 33, 8] Operation: 50-42=8 Exploring Operation: 42-33=9, Resulting Numbers: [14, 50, 9] Generated Node #0,3: 27:[14, 50, 9] Operation: 42-33=9 Exploring Operation: 42/14=3, Resulting Numbers: [50, 33, 3] Generated Node #0,4: 27:[50, 33, 3] Operation: 42/14=3 Moving to Node #0,2 Current State: 27:[14, 33, 8], Operations: ['50-42=8'] Exploring Operation: 33+8=41, Resulting Numbers: [14, 41] Generated Node #0,2,0: 27:[14, 41] Operation: 33+8=41 Exploring Operation: 33-8=25, Resulting Numbers: [14, 25] Generated Node #0,2,1: 27:[14, 25] Operation: 33-8=25 Exploring Operation: 14+8=22, Resulting Numbers: [33, 22] Generated Node #0,2,2: 27:[33, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [33, 6] Generated Node #0,2,3: 27:[33, 6] Operation: 14-8=6 Exploring Operation: 33-14=19, Resulting Numbers: [8, 19] Generated Node #0,2,4: 27:[8, 19] Operation: 33-14=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[14, 25], Operations: ['50-42=8', '33-8=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,27 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[33, 6], Operations: ['50-42=8', '14-8=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[42, 14, 50, 33], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [14, 33, 8] Generated Node #0,2: 27:[14, 33, 8] Operation: 50-42=8 Moving to Node #0,2 Current State: 27:[14, 33, 8], Operations: ['50-42=8'] Exploring Operation: 14-8=6, Resulting Numbers: [33, 6] Generated Node #0,2,3: 27:[33, 6] Operation: 14-8=6 Moving to Node #0,2,3 Current State: 27:[33, 6], Operations: ['50-42=8', '14-8=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 25, 5, 49, 85 ]
61
[ "85-25=60", "60/5=12", "49+12=61" ]
Current State: 61:[25, 5, 49, 85], Operations: [] Exploring Operation: 85-25=60, Resulting Numbers: [5, 49, 60] Generated Node #2: [5, 49, 60] from Operation: 85-25=60 Current State: 61:[5, 49, 60], Operations: ['85-25=60'] Exploring Operation: 60/5=12, Resulting Numbers: [49, 12] Generated Node #3: [49, 12] from Operation: 60/5=12 Current State: 61:[49, 12], Operations: ['85-25=60', '60/5=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[25, 5, 49, 85], Operations: [] Exploring Operation: 25+5=30, Resulting Numbers: [49, 85, 30] Generated Node #0,0: 61:[49, 85, 30] Operation: 25+5=30 Moving to Node #0,0 Current State: 61:[49, 85, 30], Operations: ['25+5=30'] Exploring Operation: 85-30=55, Resulting Numbers: [49, 55] Generated Node #0,0,0: 61:[49, 55] Operation: 85-30=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[49, 55], Operations: ['25+5=30', '85-30=55'] Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,61 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
[ 70, 53, 9, 31 ]
72
[ "53+9=62", "62/31=2", "70+2=72" ]
Current State: 72:[70, 53, 9, 31], Operations: [] Exploring Operation: 53+9=62, Resulting Numbers: [70, 31, 62] Generated Node #2: [70, 31, 62] from Operation: 53+9=62 Current State: 72:[70, 31, 62], Operations: ['53+9=62'] Exploring Operation: 62/31=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 62/31=2 Current State: 72:[70, 2], Operations: ['53+9=62', '62/31=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[70, 53, 9, 31], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [9, 31, 17] Generated Node #0,0: 72:[9, 31, 17] Operation: 70-53=17 Exploring Operation: 53-31=22, Resulting Numbers: [70, 9, 22] Generated Node #0,1: 72:[70, 9, 22] Operation: 53-31=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[70, 9, 22], Operations: ['53-31=22'] Exploring Operation: 9+22=31, Resulting Numbers: [70, 31] Generated Node #0,1,0: 72:[70, 31] Operation: 9+22=31 Exploring Operation: 22-9=13, Resulting Numbers: [70, 13] Generated Node #0,1,1: 72:[70, 13] Operation: 22-9=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[70, 13], Operations: ['53-31=22', '22-9=13'] Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[70, 31], Operations: ['53-31=22', '9+22=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[9, 31, 17], Operations: ['70-53=17'] Exploring Operation: 31-17=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 72:[9, 14] Operation: 31-17=14 Exploring Operation: 31-9=22, Resulting Numbers: [17, 22] Generated Node #0,0,1: 72:[17, 22] Operation: 31-9=22 Moving to Node #0,0,0 Current State: 72:[9, 14], Operations: ['70-53=17', '31-17=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[17, 22], Operations: ['70-53=17', '31-9=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,72 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
[ 57, 23, 2, 76 ]
42
[ "57+23=80", "76/2=38", "80-38=42" ]
Current State: 42:[57, 23, 2, 76], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [2, 76, 80] Generated Node #2: [2, 76, 80] from Operation: 57+23=80 Current State: 42:[2, 76, 80], Operations: ['57+23=80'] Exploring Operation: 76/2=38, Resulting Numbers: [80, 38] Generated Node #3: [80, 38] from Operation: 76/2=38 Current State: 42:[80, 38], Operations: ['57+23=80', '76/2=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[57, 23, 2, 76], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [23, 2, 19] Generated Node #0,0: 42:[23, 2, 19] Operation: 76-57=19 Exploring Operation: 76/2=38, Resulting Numbers: [57, 23, 38] Generated Node #0,1: 42:[57, 23, 38] Operation: 76/2=38 Exploring Operation: 76-23=53, Resulting Numbers: [57, 2, 53] Generated Node #0,2: 42:[57, 2, 53] Operation: 76-23=53 Moving to Node #0,0 Current State: 42:[23, 2, 19], Operations: ['76-57=19'] Exploring Operation: 23-2=21, Resulting Numbers: [19, 21] Generated Node #0,0,0: 42:[19, 21] Operation: 23-2=21 Exploring Operation: 23+19=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 42:[2, 42] Operation: 23+19=42 Exploring Operation: 23-19=4, Resulting Numbers: [2, 4] Generated Node #0,0,2: 42:[2, 4] Operation: 23-19=4 Moving to Node #0,1 Current State: 42:[57, 23, 38], Operations: ['76/2=38'] Exploring Operation: 57-38=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 42:[23, 19] Operation: 57-38=19 Exploring Operation: 38-23=15, Resulting Numbers: [57, 15] Generated Node #0,1,1: 42:[57, 15] Operation: 38-23=15 Exploring Operation: 57-23=34, Resulting Numbers: [38, 34] Generated Node #0,1,2: 42:[38, 34] Operation: 57-23=34 Moving to Node #0,2 Current State: 42:[57, 2, 53], Operations: ['76-23=53'] Exploring Operation: 57-2=55, Resulting Numbers: [53, 55] Generated Node #0,2,0: 42:[53, 55] Operation: 57-2=55 Exploring Operation: 57-53=4, Resulting Numbers: [2, 4] Generated Node #0,2,1: 42:[2, 4] Operation: 57-53=4 Exploring Operation: 53-2=51, Resulting Numbers: [57, 51] Generated Node #0,2,2: 42:[57, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[2, 4], Operations: ['76-23=53', '57-53=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[53, 55], Operations: ['76-23=53', '57-2=55'] Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,42 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[57, 51], Operations: ['76-23=53', '53-2=51'] Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,42 unequal: No Solution Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,42 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,42 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: 42:[2, 42], Operations: ['76-57=19', '23+19=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[2, 4], Operations: ['76-57=19', '23-19=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[19, 21], Operations: ['76-57=19', '23-2=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,42 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[23, 19], Operations: ['76/2=38', '57-38=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,42 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[57, 23, 2, 76], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [57, 23, 38] Generated Node #0,1: 42:[57, 23, 38] Operation: 76/2=38 Moving to Node #0,1 Current State: 42:[57, 23, 38], Operations: ['76/2=38'] Exploring Operation: 57-38=19, Resulting Numbers: [23, 19] Generated Node #0,1,0: 42:[23, 19] Operation: 57-38=19 Moving to Node #0,1,0 Current State: 42:[23, 19], Operations: ['76/2=38', '57-38=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 9, 61, 64, 33 ]
21
[ "61-9=52", "64-33=31", "52-31=21" ]
Current State: 21:[9, 61, 64, 33], Operations: [] Exploring Operation: 61-9=52, Resulting Numbers: [64, 33, 52] Generated Node #2: [64, 33, 52] from Operation: 61-9=52 Current State: 21:[64, 33, 52], Operations: ['61-9=52'] Exploring Operation: 64-33=31, Resulting Numbers: [52, 31] Generated Node #3: [52, 31] from Operation: 64-33=31 Current State: 21:[52, 31], Operations: ['61-9=52', '64-33=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[9, 61, 64, 33], Operations: [] Exploring Operation: 61-33=28, Resulting Numbers: [9, 64, 28] Generated Node #0,0: 21:[9, 64, 28] Operation: 61-33=28 Exploring Operation: 64-61=3, Resulting Numbers: [9, 33, 3] Generated Node #0,1: 21:[9, 33, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 21:[9, 33, 3], Operations: ['64-61=3'] Exploring Operation: 33/3=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 21:[9, 11] Operation: 33/3=11 Exploring Operation: 33-9=24, Resulting Numbers: [3, 24] Generated Node #0,1,1: 21:[3, 24] Operation: 33-9=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[3, 24], Operations: ['64-61=3', '33-9=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[9, 61, 64, 33], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [9, 33, 3] Generated Node #0,1: 21:[9, 33, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 21:[9, 33, 3], Operations: ['64-61=3'] Exploring Operation: 33-9=24, Resulting Numbers: [3, 24] Generated Node #0,1,1: 21:[3, 24] Operation: 33-9=24 Moving to Node #0,1,1 Current State: 21:[3, 24], Operations: ['64-61=3', '33-9=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 18, 59, 14, 69 ]
22
[ "18+59=77", "69-14=55", "77-55=22" ]
Current State: 22:[18, 59, 14, 69], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [14, 69, 77] Generated Node #2: [14, 69, 77] from Operation: 18+59=77 Current State: 22:[14, 69, 77], Operations: ['18+59=77'] Exploring Operation: 69-14=55, Resulting Numbers: [77, 55] Generated Node #3: [77, 55] from Operation: 69-14=55 Current State: 22:[77, 55], Operations: ['18+59=77', '69-14=55'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 59, 14, 69], Operations: [] Exploring Operation: 69-14=55, Resulting Numbers: [18, 59, 55] Generated Node #0,0: 22:[18, 59, 55] Operation: 69-14=55 Exploring Operation: 59-18=41, Resulting Numbers: [14, 69, 41] Generated Node #0,1: 22:[14, 69, 41] Operation: 59-18=41 Exploring Operation: 59-14=45, Resulting Numbers: [18, 69, 45] Generated Node #0,2: 22:[18, 69, 45] Operation: 59-14=45 Exploring Operation: 69-59=10, Resulting Numbers: [18, 14, 10] Generated Node #0,3: 22:[18, 14, 10] Operation: 69-59=10 Exploring Operation: 69-18=51, Resulting Numbers: [59, 14, 51] Generated Node #0,4: 22:[59, 14, 51] Operation: 69-18=51 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[18, 14, 10], Operations: ['69-59=10'] Exploring Operation: 18-14=4, Resulting Numbers: [10, 4] Generated Node #0,3,0: 22:[10, 4] Operation: 18-14=4 Exploring Operation: 14+10=24, Resulting Numbers: [18, 24] Generated Node #0,3,1: 22:[18, 24] Operation: 14+10=24 Exploring Operation: 18+10=28, Resulting Numbers: [14, 28] Generated Node #0,3,2: 22:[14, 28] Operation: 18+10=28 Exploring Operation: 14-10=4, Resulting Numbers: [18, 4] Generated Node #0,3,3: 22:[18, 4] Operation: 14-10=4 Exploring Operation: 18-10=8, Resulting Numbers: [14, 8] Generated Node #0,3,4: 22:[14, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[10, 4], Operations: ['69-59=10', '18-14=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[18, 24], Operations: ['69-59=10', '14+10=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,22 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[18, 4], Operations: ['69-59=10', '14-10=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[18, 59, 14, 69], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [18, 14, 10] Generated Node #0,3: 22:[18, 14, 10] Operation: 69-59=10 Moving to Node #0,3 Current State: 22:[18, 14, 10], Operations: ['69-59=10'] Exploring Operation: 14-10=4, Resulting Numbers: [18, 4] Generated Node #0,3,3: 22:[18, 4] Operation: 14-10=4 Moving to Node #0,3,3 Current State: 22:[18, 4], Operations: ['69-59=10', '14-10=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 66, 42, 21, 9 ]
54
[ "66-42=24", "21+9=30", "24+30=54" ]
Current State: 54:[66, 42, 21, 9], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [21, 9, 24] Generated Node #2: [21, 9, 24] from Operation: 66-42=24 Current State: 54:[21, 9, 24], Operations: ['66-42=24'] Exploring Operation: 21+9=30, Resulting Numbers: [24, 30] Generated Node #3: [24, 30] from Operation: 21+9=30 Current State: 54:[24, 30], Operations: ['66-42=24', '21+9=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[66, 42, 21, 9], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [66, 9, 2] Generated Node #0,0: 54:[66, 9, 2] Operation: 42/21=2 Exploring Operation: 66-42=24, Resulting Numbers: [21, 9, 24] Generated Node #0,1: 54:[21, 9, 24] Operation: 66-42=24 Exploring Operation: 42-21=21, Resulting Numbers: [66, 9, 21] Generated Node #0,2: 54:[66, 9, 21] Operation: 42-21=21 Moving to Node #0,1 Current State: 54:[21, 9, 24], Operations: ['66-42=24'] Exploring Operation: 24-21=3, Resulting Numbers: [9, 3] Generated Node #0,1,0: 54:[9, 3] Operation: 24-21=3 Exploring Operation: 21+9=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 54:[24, 30] Operation: 21+9=30 Exploring Operation: 21-9=12, Resulting Numbers: [24, 12] Generated Node #0,1,2: 54:[24, 12] Operation: 21-9=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[9, 3], Operations: ['66-42=24', '24-21=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[24, 30], Operations: ['66-42=24', '21+9=30'] Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,54 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[66, 42, 21, 9], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [21, 9, 24] Generated Node #0,1: 54:[21, 9, 24] Operation: 66-42=24 Moving to Node #0,1 Current State: 54:[21, 9, 24], Operations: ['66-42=24'] Exploring Operation: 21+9=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 54:[24, 30] Operation: 21+9=30 Moving to Node #0,1,1 Current State: 54:[24, 30], Operations: ['66-42=24', '21+9=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 93, 13, 17, 27 ]
15
[ "17-13=4", "27*4=108", "108-93=15" ]
Current State: 15:[93, 13, 17, 27], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [93, 27, 4] Generated Node #2: [93, 27, 4] from Operation: 17-13=4 Current State: 15:[93, 27, 4], Operations: ['17-13=4'] Exploring Operation: 27*4=108, Resulting Numbers: [93, 108] Generated Node #3: [93, 108] from Operation: 27*4=108 Current State: 15:[93, 108], Operations: ['17-13=4', '27*4=108'] Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[93, 13, 17, 27], Operations: [] Exploring Operation: 93-17=76, Resulting Numbers: [13, 27, 76] Generated Node #0,0: 15:[13, 27, 76] Operation: 93-17=76 Exploring Operation: 93-27=66, Resulting Numbers: [13, 17, 66] Generated Node #0,1: 15:[13, 17, 66] Operation: 93-27=66 Exploring Operation: 93-13=80, Resulting Numbers: [17, 27, 80] Generated Node #0,2: 15:[17, 27, 80] Operation: 93-13=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[13, 17, 66], Operations: ['93-27=66'] Exploring Operation: 66-17=49, Resulting Numbers: [13, 49] Generated Node #0,1,0: 15:[13, 49] Operation: 66-17=49 Exploring Operation: 17-13=4, Resulting Numbers: [66, 4] Generated Node #0,1,1: 15:[66, 4] Operation: 17-13=4 Exploring Operation: 66-13=53, Resulting Numbers: [17, 53] Generated Node #0,1,2: 15:[17, 53] Operation: 66-13=53 Moving to Node #0,1,0 Current State: 15:[13, 49], Operations: ['93-27=66', '66-17=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,15 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[17, 53], Operations: ['93-27=66', '66-13=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[66, 4], Operations: ['93-27=66', '17-13=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,15 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[13, 27, 76], Operations: ['93-17=76'] Exploring Operation: 76-27=49, Resulting Numbers: [13, 49] Generated Node #0,0,0: 15:[13, 49] Operation: 76-27=49 Exploring Operation: 76-13=63, Resulting Numbers: [27, 63] Generated Node #0,0,1: 15:[27, 63] Operation: 76-13=63 Exploring Operation: 27-13=14, Resulting Numbers: [76, 14] Generated Node #0,0,2: 15:[76, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[13, 49], Operations: ['93-17=76', '76-27=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,15 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[27, 63], Operations: ['93-17=76', '76-13=63'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 27*63=1701, Resulting Numbers: [1701] 1701,15 unequal: No Solution Exploring Operation: 27+63=90, Resulting Numbers: [90] 90,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[76, 14], Operations: ['93-17=76', '27-13=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,15 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[17, 27, 80], Operations: ['93-13=80'] Exploring Operation: 80-17=63, Resulting Numbers: [27, 63] Generated Node #0,2,0: 15:[27, 63] Operation: 80-17=63 Exploring Operation: 27-17=10, Resulting Numbers: [80, 10] Generated Node #0,2,1: 15:[80, 10] Operation: 27-17=10 Exploring Operation: 80-27=53, Resulting Numbers: [17, 53] Generated Node #0,2,2: 15:[17, 53] Operation: 80-27=53 Moving to Node #0,2,2 Current State: 15:[17, 53], Operations: ['93-13=80', '80-27=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 17*53=901, Resulting Numbers: [901] 901,15 unequal: No Solution Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[27, 63], Operations: ['93-13=80', '80-17=63'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 27+63=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 27*63=1701, Resulting Numbers: [1701] 1701,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[80, 10], Operations: ['93-13=80', '27-17=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,15 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
[ 60, 33, 47, 46 ]
92
[ "60+33=93", "47-46=1", "93-1=92" ]
Current State: 92:[60, 33, 47, 46], Operations: [] Exploring Operation: 60+33=93, Resulting Numbers: [47, 46, 93] Generated Node #2: [47, 46, 93] from Operation: 60+33=93 Current State: 92:[47, 46, 93], Operations: ['60+33=93'] Exploring Operation: 47-46=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 47-46=1 Current State: 92:[93, 1], Operations: ['60+33=93', '47-46=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[60, 33, 47, 46], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [47, 46, 27] Generated Node #0,0: 92:[47, 46, 27] Operation: 60-33=27 Exploring Operation: 60-47=13, Resulting Numbers: [33, 46, 13] Generated Node #0,1: 92:[33, 46, 13] Operation: 60-47=13 Exploring Operation: 60+33=93, Resulting Numbers: [47, 46, 93] Generated Node #0,2: 92:[47, 46, 93] Operation: 60+33=93 Moving to Node #0,2 Current State: 92:[47, 46, 93], Operations: ['60+33=93'] Exploring Operation: 47+46=93, Resulting Numbers: [93, 93] Generated Node #0,2,0: 92:[93, 93] Operation: 47+46=93 Exploring Operation: 47-46=1, Resulting Numbers: [93, 1] Generated Node #0,2,1: 92:[93, 1] Operation: 47-46=1 Exploring Operation: 93-47=46, Resulting Numbers: [46, 46] Generated Node #0,2,2: 92:[46, 46] Operation: 93-47=46 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[46, 46], Operations: ['60+33=93', '93-47=46'] Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[60, 33, 47, 46], Operations: [] Exploring Operation: 60+33=93, Resulting Numbers: [47, 46, 93] Generated Node #0,2: 92:[47, 46, 93] Operation: 60+33=93 Moving to Node #0,2 Current State: 92:[47, 46, 93], Operations: ['60+33=93'] Exploring Operation: 93-47=46, Resulting Numbers: [46, 46] Generated Node #0,2,2: 92:[46, 46] Operation: 93-47=46 Moving to Node #0,2,2 Current State: 92:[46, 46], Operations: ['60+33=93', '93-47=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 18, 90, 29, 84 ]
79
[ "90-84=6", "18*6=108", "108-29=79" ]
Current State: 79:[18, 90, 29, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [18, 29, 6] Generated Node #2: [18, 29, 6] from Operation: 90-84=6 Current State: 79:[18, 29, 6], Operations: ['90-84=6'] Exploring Operation: 18*6=108, Resulting Numbers: [29, 108] Generated Node #3: [29, 108] from Operation: 18*6=108 Current State: 79:[29, 108], Operations: ['90-84=6', '18*6=108'] Exploring Operation: 108-29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[18, 90, 29, 84], Operations: [] Exploring Operation: 18+29=47, Resulting Numbers: [90, 84, 47] Generated Node #0,0: 79:[90, 84, 47] Operation: 18+29=47 Exploring Operation: 90-18=72, Resulting Numbers: [29, 84, 72] Generated Node #0,1: 79:[29, 84, 72] Operation: 90-18=72 Moving to Node #0,0 Current State: 79:[90, 84, 47], Operations: ['18+29=47'] Exploring Operation: 90-47=43, Resulting Numbers: [84, 43] Generated Node #0,0,0: 79:[84, 43] Operation: 90-47=43 Exploring Operation: 84-47=37, Resulting Numbers: [90, 37] Generated Node #0,0,1: 79:[90, 37] Operation: 84-47=37 Moving to Node #0,1 Current State: 79:[29, 84, 72], Operations: ['90-18=72'] Exploring Operation: 29+72=101, Resulting Numbers: [84, 101] Generated Node #0,1,0: 79:[84, 101] Operation: 29+72=101 Exploring Operation: 84-29=55, Resulting Numbers: [72, 55] Generated Node #0,1,1: 79:[72, 55] Operation: 84-29=55 Moving to Node #0,1,0 Current State: 79:[84, 101], Operations: ['90-18=72', '29+72=101'] Exploring Operation: 84+101=185, Resulting Numbers: [185] 185,79 unequal: No Solution Exploring Operation: 101-84=17, Resulting Numbers: [17] 17,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[72, 55], Operations: ['90-18=72', '84-29=55'] Exploring Operation: 72+55=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[84, 43], Operations: ['18+29=47', '90-47=43'] Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[90, 37], Operations: ['18+29=47', '84-47=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 60, 46, 5 ]
91
[ "33+46=79", "60/5=12", "79+12=91" ]
Current State: 91:[33, 60, 46, 5], Operations: [] Exploring Operation: 33+46=79, Resulting Numbers: [60, 5, 79] Generated Node #2: [60, 5, 79] from Operation: 33+46=79 Current State: 91:[60, 5, 79], Operations: ['33+46=79'] Exploring Operation: 60/5=12, Resulting Numbers: [79, 12] Generated Node #3: [79, 12] from Operation: 60/5=12 Current State: 91:[79, 12], Operations: ['33+46=79', '60/5=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[33, 60, 46, 5], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [33, 5, 14] Generated Node #0,0: 91:[33, 5, 14] Operation: 60-46=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[33, 5, 14], Operations: ['60-46=14'] Exploring Operation: 33-14=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 91:[5, 19] Operation: 33-14=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[5, 19], Operations: ['60-46=14', '33-14=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 60, 6, 86 ]
79
[ "60-59=1", "86-6=80", "80-1=79" ]
Current State: 79:[59, 60, 6, 86], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [6, 86, 1] Generated Node #2: [6, 86, 1] from Operation: 60-59=1 Current State: 79:[6, 86, 1], Operations: ['60-59=1'] Exploring Operation: 86-6=80, Resulting Numbers: [1, 80] Generated Node #3: [1, 80] from Operation: 86-6=80 Current State: 79:[1, 80], Operations: ['60-59=1', '86-6=80'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[59, 60, 6, 86], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [59, 60, 80] Generated Node #0,0: 79:[59, 60, 80] Operation: 86-6=80 Exploring Operation: 59-6=53, Resulting Numbers: [60, 86, 53] Generated Node #0,1: 79:[60, 86, 53] Operation: 59-6=53 Exploring Operation: 59+6=65, Resulting Numbers: [60, 86, 65] Generated Node #0,2: 79:[60, 86, 65] Operation: 59+6=65 Exploring Operation: 60+6=66, Resulting Numbers: [59, 86, 66] Generated Node #0,3: 79:[59, 86, 66] Operation: 60+6=66 Moving to Node #0,0 Current State: 79:[59, 60, 80], Operations: ['86-6=80'] Exploring Operation: 80-59=21, Resulting Numbers: [60, 21] Generated Node #0,0,0: 79:[60, 21] Operation: 80-59=21 Exploring Operation: 60-59=1, Resulting Numbers: [80, 1] Generated Node #0,0,1: 79:[80, 1] Operation: 60-59=1 Exploring Operation: 59+60=119, Resulting Numbers: [80, 119] Generated Node #0,0,2: 79:[80, 119] Operation: 59+60=119 Exploring Operation: 59+80=139, Resulting Numbers: [60, 139] Generated Node #0,0,3: 79:[60, 139] Operation: 59+80=139 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[80, 119], Operations: ['86-6=80', '59+60=119'] Exploring Operation: 119-80=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 80*119=9520, Resulting Numbers: [9520] 9520,79 unequal: No Solution Exploring Operation: 80+119=199, Resulting Numbers: [199] 199,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,0 Current State: 79:[60, 21], Operations: ['86-6=80', '80-59=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,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,1 Current State: 79:[80, 1], Operations: ['86-6=80', '60-59=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[59, 60, 6, 86], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [59, 60, 80] Generated Node #0,0: 79:[59, 60, 80] Operation: 86-6=80 Moving to Node #0,0 Current State: 79:[59, 60, 80], Operations: ['86-6=80'] Exploring Operation: 60-59=1, Resulting Numbers: [80, 1] Generated Node #0,0,1: 79:[80, 1] Operation: 60-59=1 Moving to Node #0,0,1 Current State: 79:[80, 1], Operations: ['86-6=80', '60-59=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 41, 65, 54, 75 ]
80
[ "54-41=13", "65/13=5", "75+5=80" ]
Current State: 80:[41, 65, 54, 75], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [65, 75, 13] Generated Node #2: [65, 75, 13] from Operation: 54-41=13 Current State: 80:[65, 75, 13], Operations: ['54-41=13'] Exploring Operation: 65/13=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 65/13=5 Current State: 80:[75, 5], Operations: ['54-41=13', '65/13=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[41, 65, 54, 75], Operations: [] Exploring Operation: 65-41=24, Resulting Numbers: [54, 75, 24] Generated Node #0,0: 80:[54, 75, 24] Operation: 65-41=24 Exploring Operation: 65-54=11, Resulting Numbers: [41, 75, 11] Generated Node #0,1: 80:[41, 75, 11] Operation: 65-54=11 Exploring Operation: 75-54=21, Resulting Numbers: [41, 65, 21] Generated Node #0,2: 80:[41, 65, 21] Operation: 75-54=21 Exploring Operation: 75-65=10, Resulting Numbers: [41, 54, 10] Generated Node #0,3: 80:[41, 54, 10] Operation: 75-65=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[41, 75, 11], Operations: ['65-54=11'] Exploring Operation: 75+11=86, Resulting Numbers: [41, 86] Generated Node #0,1,0: 80:[41, 86] Operation: 75+11=86 Exploring Operation: 75-41=34, Resulting Numbers: [11, 34] Generated Node #0,1,1: 80:[11, 34] Operation: 75-41=34 Exploring Operation: 41+11=52, Resulting Numbers: [75, 52] Generated Node #0,1,2: 80:[75, 52] Operation: 41+11=52 Exploring Operation: 41-11=30, Resulting Numbers: [75, 30] Generated Node #0,1,3: 80:[75, 30] Operation: 41-11=30 Moving to Node #0,1,0 Current State: 80:[41, 86], Operations: ['65-54=11', '75+11=86'] Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,80 unequal: No Solution Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,80 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[11, 34], Operations: ['65-54=11', '75-41=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,80 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[75, 30], Operations: ['65-54=11', '41-11=30'] Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,80 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[75, 52], Operations: ['65-54=11', '41+11=52'] Exploring Operation: 75+52=127, Resulting Numbers: [127] 127,80 unequal: No Solution Exploring Operation: 75*52=3900, Resulting Numbers: [3900] 3900,80 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,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,3 Current State: 80:[41, 54, 10], Operations: ['75-65=10'] Exploring Operation: 54+10=64, Resulting Numbers: [41, 64] Generated Node #0,3,0: 80:[41, 64] Operation: 54+10=64 Exploring Operation: 54-41=13, Resulting Numbers: [10, 13] Generated Node #0,3,1: 80:[10, 13] Operation: 54-41=13 Exploring Operation: 54-10=44, Resulting Numbers: [41, 44] Generated Node #0,3,2: 80:[41, 44] Operation: 54-10=44 Exploring Operation: 41+54=95, Resulting Numbers: [10, 95] Generated Node #0,3,3: 80:[10, 95] Operation: 41+54=95 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[10, 13], Operations: ['75-65=10', '54-41=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,80 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 80:[41, 44], Operations: ['75-65=10', '54-10=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,80 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 80:[10, 95], Operations: ['75-65=10', '41+54=95'] Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 10*95=950, Resulting Numbers: [950] 950,80 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 80:[41, 64], Operations: ['75-65=10', '54+10=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[41, 65, 21], Operations: ['75-54=21'] Exploring Operation: 65-41=24, Resulting Numbers: [21, 24] Generated Node #0,2,0: 80:[21, 24] Operation: 65-41=24 Exploring Operation: 41-21=20, Resulting Numbers: [65, 20] Generated Node #0,2,1: 80:[65, 20] Operation: 41-21=20 Exploring Operation: 65+21=86, Resulting Numbers: [41, 86] Generated Node #0,2,2: 80:[41, 86] Operation: 65+21=86 Exploring Operation: 65-21=44, Resulting Numbers: [41, 44] Generated Node #0,2,3: 80:[41, 44] Operation: 65-21=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[21, 24], Operations: ['75-54=21', '65-41=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 21*24=504, Resulting Numbers: [504] 504,80 unequal: No Solution Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[41, 44], Operations: ['75-54=21', '65-21=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,80 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[41, 86], Operations: ['75-54=21', '65+21=86'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 41*86=3526, Resulting Numbers: [3526] 3526,80 unequal: No Solution Exploring Operation: 41+86=127, Resulting Numbers: [127] 127,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[65, 20], Operations: ['75-54=21', '41-21=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,80 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[54, 75, 24], Operations: ['65-41=24'] Exploring Operation: 54+24=78, Resulting Numbers: [75, 78] Generated Node #0,0,0: 80:[75, 78] Operation: 54+24=78 Exploring Operation: 75-54=21, Resulting Numbers: [24, 21] Generated Node #0,0,1: 80:[24, 21] Operation: 75-54=21 Exploring Operation: 75-24=51, Resulting Numbers: [54, 51] Generated Node #0,0,2: 80:[54, 51] Operation: 75-24=51 Exploring Operation: 54-24=30, Resulting Numbers: [75, 30] Generated Node #0,0,3: 80:[75, 30] Operation: 54-24=30 Moving to Node #0,0,1 Current State: 80:[24, 21], Operations: ['65-41=24', '75-54=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[75, 78], Operations: ['65-41=24', '54+24=78'] Exploring Operation: 75+78=153, Resulting Numbers: [153] 153,80 unequal: No Solution Exploring Operation: 75*78=5850, Resulting Numbers: [5850] 5850,80 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[75, 30], Operations: ['65-41=24', '54-24=30'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,80 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[54, 51], Operations: ['65-41=24', '75-24=51'] Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,80 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
[ 94, 2, 83, 75 ]
27
[ "94+83=177", "2*75=150", "177-150=27" ]
Current State: 27:[94, 2, 83, 75], Operations: [] Exploring Operation: 94+83=177, Resulting Numbers: [2, 75, 177] Generated Node #2: [2, 75, 177] from Operation: 94+83=177 Current State: 27:[2, 75, 177], Operations: ['94+83=177'] Exploring Operation: 2*75=150, Resulting Numbers: [177, 150] Generated Node #3: [177, 150] from Operation: 2*75=150 Current State: 27:[177, 150], Operations: ['94+83=177', '2*75=150'] Exploring Operation: 177-150=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[94, 2, 83, 75], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [2, 75, 11] Generated Node #0,0: 27:[2, 75, 11] Operation: 94-83=11 Exploring Operation: 83-75=8, Resulting Numbers: [94, 2, 8] Generated Node #0,1: 27:[94, 2, 8] Operation: 83-75=8 Exploring Operation: 94-2=92, Resulting Numbers: [83, 75, 92] Generated Node #0,2: 27:[83, 75, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [83, 75, 47] Generated Node #0,3: 27:[83, 75, 47] Operation: 94/2=47 Exploring Operation: 94-75=19, Resulting Numbers: [2, 83, 19] Generated Node #0,4: 27:[2, 83, 19] Operation: 94-75=19 Moving to Node #0,0 Current State: 27:[2, 75, 11], Operations: ['94-83=11'] Exploring Operation: 75-2=73, Resulting Numbers: [11, 73] Generated Node #0,0,0: 27:[11, 73] Operation: 75-2=73 Exploring Operation: 75-11=64, Resulting Numbers: [2, 64] Generated Node #0,0,1: 27:[2, 64] Operation: 75-11=64 Exploring Operation: 2+75=77, Resulting Numbers: [11, 77] Generated Node #0,0,2: 27:[11, 77] Operation: 2+75=77 Exploring Operation: 11-2=9, Resulting Numbers: [75, 9] Generated Node #0,0,3: 27:[75, 9] Operation: 11-2=9 Exploring Operation: 2+11=13, Resulting Numbers: [75, 13] Generated Node #0,0,4: 27:[75, 13] Operation: 2+11=13 Moving to Node #0,4 Current State: 27:[2, 83, 19], Operations: ['94-75=19'] Exploring Operation: 83-2=81, Resulting Numbers: [19, 81] Generated Node #0,4,0: 27:[19, 81] Operation: 83-2=81 Exploring Operation: 2+19=21, Resulting Numbers: [83, 21] Generated Node #0,4,1: 27:[83, 21] Operation: 2+19=21 Exploring Operation: 19-2=17, Resulting Numbers: [83, 17] Generated Node #0,4,2: 27:[83, 17] Operation: 19-2=17 Exploring Operation: 83-19=64, Resulting Numbers: [2, 64] Generated Node #0,4,3: 27:[2, 64] Operation: 83-19=64 Exploring Operation: 2+83=85, Resulting Numbers: [19, 85] Generated Node #0,4,4: 27:[19, 85] Operation: 2+83=85 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 27:[2, 64], Operations: ['94-75=19', '83-19=64'] Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,27 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 27:[19, 81], Operations: ['94-75=19', '83-2=81'] Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,27 unequal: No Solution Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 27:[83, 21], Operations: ['94-75=19', '2+19=21'] Exploring Operation: 83*21=1743, Resulting Numbers: [1743] 1743,27 unequal: No Solution Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 83+21=104, Resulting Numbers: [104] 104,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[83, 17], Operations: ['94-75=19', '19-2=17'] Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,27 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 27:[19, 85], Operations: ['94-75=19', '2+83=85'] Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,27 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,27 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,27 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: 27:[94, 2, 8], Operations: ['83-75=8'] Exploring Operation: 8/2=4, Resulting Numbers: [94, 4] Generated Node #0,1,0: 27:[94, 4] Operation: 8/2=4 Exploring Operation: 94/2=47, Resulting Numbers: [8, 47] Generated Node #0,1,1: 27:[8, 47] Operation: 94/2=47 Exploring Operation: 94-8=86, Resulting Numbers: [2, 86] Generated Node #0,1,2: 27:[2, 86] Operation: 94-8=86 Exploring Operation: 94-2=92, Resulting Numbers: [8, 92] Generated Node #0,1,3: 27:[8, 92] Operation: 94-2=92 Exploring Operation: 2+8=10, Resulting Numbers: [94, 10] Generated Node #0,1,4: 27:[94, 10] Operation: 2+8=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[8, 47], Operations: ['83-75=8', '94/2=47'] Exploring Operation: 8*47=376, Resulting Numbers: [376] 376,27 unequal: No Solution Exploring Operation: 8+47=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[2, 86], Operations: ['83-75=8', '94-8=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,27 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[8, 92], Operations: ['83-75=8', '94-2=92'] Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,27 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[94, 4], Operations: ['83-75=8', '8/2=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,27 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 27:[94, 10], Operations: ['83-75=8', '2+8=10'] Exploring Operation: 94*10=940, Resulting Numbers: [940] 940,27 unequal: No Solution Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 94+10=104, Resulting Numbers: [104] 104,27 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: 27:[83, 75, 47], Operations: ['94/2=47'] Exploring Operation: 75-47=28, Resulting Numbers: [83, 28] Generated Node #0,3,0: 27:[83, 28] Operation: 75-47=28 Exploring Operation: 83+75=158, Resulting Numbers: [47, 158] Generated Node #0,3,1: 27:[47, 158] Operation: 83+75=158 Exploring Operation: 83-75=8, Resulting Numbers: [47, 8] Generated Node #0,3,2: 27:[47, 8] Operation: 83-75=8 Exploring Operation: 83-47=36, Resulting Numbers: [75, 36] Generated Node #0,3,3: 27:[75, 36] Operation: 83-47=36 Exploring Operation: 83+47=130, Resulting Numbers: [75, 130] Generated Node #0,3,4: 27:[75, 130] Operation: 83+47=130 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[47, 8], Operations: ['94/2=47', '83-75=8'] Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,27 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[83, 28], Operations: ['94/2=47', '75-47=28'] Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,27 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[75, 36], Operations: ['94/2=47', '83-47=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,27 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[47, 158], Operations: ['94/2=47', '83+75=158'] Exploring Operation: 158-47=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 47*158=7426, Resulting Numbers: [7426] 7426,27 unequal: No Solution Exploring Operation: 47+158=205, Resulting Numbers: [205] 205,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 27:[75, 130], Operations: ['94/2=47', '83+47=130'] Exploring Operation: 130-75=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 75+130=205, Resulting Numbers: [205] 205,27 unequal: No Solution Exploring Operation: 75*130=9750, Resulting Numbers: [9750] 9750,27 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: 27:[83, 75, 92], Operations: ['94-2=92'] Exploring Operation: 83+92=175, Resulting Numbers: [75, 175] Generated Node #0,2,0: 27:[75, 175] Operation: 83+92=175 Exploring Operation: 92-75=17, Resulting Numbers: [83, 17] Generated Node #0,2,1: 27:[83, 17] Operation: 92-75=17 Exploring Operation: 83+75=158, Resulting Numbers: [92, 158] Generated Node #0,2,2: 27:[92, 158] Operation: 83+75=158 Exploring Operation: 92-83=9, Resulting Numbers: [75, 9] Generated Node #0,2,3: 27:[75, 9] Operation: 92-83=9 Exploring Operation: 83-75=8, Resulting Numbers: [92, 8] Generated Node #0,2,4: 27:[92, 8] Operation: 83-75=8 Moving to Node #0,0,1 Current State: 27:[2, 64], Operations: ['94-83=11', '75-11=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,27 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[75, 9], Operations: ['94-83=11', '11-2=9'] Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,27 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[75, 9], Operations: ['94-2=92', '92-83=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[11, 73], Operations: ['94-83=11', '75-2=73'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,27 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[75, 13], Operations: ['94-83=11', '2+11=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[11, 77], Operations: ['94-83=11', '2+75=77'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,27 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[83, 17], Operations: ['94-2=92', '92-75=17'] Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,27 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[92, 8], Operations: ['94-2=92', '83-75=8'] Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,27 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[75, 175], Operations: ['94-2=92', '83+92=175'] Exploring Operation: 175-75=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 75+175=250, Resulting Numbers: [250] 250,27 unequal: No Solution Exploring Operation: 75*175=13125, Resulting Numbers: [13125] 13125,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[92, 158], Operations: ['94-2=92', '83+75=158'] Exploring Operation: 158-92=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 92*158=14536, Resulting Numbers: [14536] 14536,27 unequal: No Solution Exploring Operation: 92+158=250, Resulting Numbers: [250] 250,27 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 95, 5, 71, 44 ]
72
[ "71+44=115", "115/5=23", "95-23=72" ]
Current State: 72:[95, 5, 71, 44], Operations: [] Exploring Operation: 71+44=115, Resulting Numbers: [95, 5, 115] Generated Node #2: [95, 5, 115] from Operation: 71+44=115 Current State: 72:[95, 5, 115], Operations: ['71+44=115'] Exploring Operation: 115/5=23, Resulting Numbers: [95, 23] Generated Node #3: [95, 23] from Operation: 115/5=23 Current State: 72:[95, 23], Operations: ['71+44=115', '115/5=23'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[95, 5, 71, 44], Operations: [] Exploring Operation: 95-71=24, Resulting Numbers: [5, 44, 24] Generated Node #0,0: 72:[5, 44, 24] Operation: 95-71=24 Moving to Node #0,0 Current State: 72:[5, 44, 24], Operations: ['95-71=24'] Exploring Operation: 44-5=39, Resulting Numbers: [24, 39] Generated Node #0,0,0: 72:[24, 39] Operation: 44-5=39 Moving to Node #0,0,0 Current State: 72:[24, 39], Operations: ['95-71=24', '44-5=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,72 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 43, 1, 5, 2 ]
92
[ "43*2=86", "1+5=6", "86+6=92" ]
Current State: 92:[43, 1, 5, 2], Operations: [] Exploring Operation: 43*2=86, Resulting Numbers: [1, 5, 86] Generated Node #2: [1, 5, 86] from Operation: 43*2=86 Current State: 92:[1, 5, 86], Operations: ['43*2=86'] Exploring Operation: 1+5=6, Resulting Numbers: [86, 6] Generated Node #3: [86, 6] from Operation: 1+5=6 Current State: 92:[86, 6], Operations: ['43*2=86', '1+5=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[43, 1, 5, 2], Operations: [] Exploring Operation: 43+1=44, Resulting Numbers: [5, 2, 44] Generated Node #0,0: 92:[5, 2, 44] Operation: 43+1=44 Exploring Operation: 43+5=48, Resulting Numbers: [1, 2, 48] Generated Node #0,1: 92:[1, 2, 48] Operation: 43+5=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[5, 2, 44], Operations: ['43+1=44'] Exploring Operation: 2+44=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 92:[5, 46] Operation: 2+44=46 Exploring Operation: 44/2=22, Resulting Numbers: [5, 22] Generated Node #0,0,1: 92:[5, 22] Operation: 44/2=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[5, 46], Operations: ['43+1=44', '2+44=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[5, 22], Operations: ['43+1=44', '44/2=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[1, 2, 48], Operations: ['43+5=48'] Exploring Operation: 48-2=46, Resulting Numbers: [1, 46] Generated Node #0,1,0: 92:[1, 46] Operation: 48-2=46 Exploring Operation: 48-1=47, Resulting Numbers: [2, 47] Generated Node #0,1,1: 92:[2, 47] Operation: 48-1=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[1, 46], Operations: ['43+5=48', '48-2=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[2, 47], Operations: ['43+5=48', '48-1=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,92 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 22, 7, 73, 36 ]
66
[ "22+7=29", "73-36=37", "29+37=66" ]
Current State: 66:[22, 7, 73, 36], Operations: [] Exploring Operation: 22+7=29, Resulting Numbers: [73, 36, 29] Generated Node #2: [73, 36, 29] from Operation: 22+7=29 Current State: 66:[73, 36, 29], Operations: ['22+7=29'] Exploring Operation: 73-36=37, Resulting Numbers: [29, 37] Generated Node #3: [29, 37] from Operation: 73-36=37 Current State: 66:[29, 37], Operations: ['22+7=29', '73-36=37'] Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[22, 7, 73, 36], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [7, 73, 14] Generated Node #0,0: 66:[7, 73, 14] Operation: 36-22=14 Exploring Operation: 73-7=66, Resulting Numbers: [22, 36, 66] Generated Node #0,1: 66:[22, 36, 66] Operation: 73-7=66 Exploring Operation: 73-36=37, Resulting Numbers: [22, 7, 37] Generated Node #0,2: 66:[22, 7, 37] Operation: 73-36=37 Moving to Node #0,1 Current State: 66:[22, 36, 66], Operations: ['73-7=66'] Exploring Operation: 66-36=30, Resulting Numbers: [22, 30] Generated Node #0,1,0: 66:[22, 30] Operation: 66-36=30 Exploring Operation: 66/22=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 66:[36, 3] Operation: 66/22=3 Exploring Operation: 36-22=14, Resulting Numbers: [66, 14] Generated Node #0,1,2: 66:[66, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[22, 30], Operations: ['73-7=66', '66-36=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,66 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[36, 3], Operations: ['73-7=66', '66/22=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[66, 14], Operations: ['73-7=66', '36-22=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,66 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: 66:[22, 7, 37], Operations: ['73-36=37'] Exploring Operation: 22+7=29, Resulting Numbers: [37, 29] Generated Node #0,2,0: 66:[37, 29] Operation: 22+7=29 Exploring Operation: 37-7=30, Resulting Numbers: [22, 30] Generated Node #0,2,1: 66:[22, 30] Operation: 37-7=30 Exploring Operation: 37-22=15, Resulting Numbers: [7, 15] Generated Node #0,2,2: 66:[7, 15] Operation: 37-22=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[22, 30], Operations: ['73-36=37', '37-7=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,66 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[7, 15], Operations: ['73-36=37', '37-22=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[37, 29], Operations: ['73-36=37', '22+7=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[22, 7, 73, 36], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [22, 7, 37] Generated Node #0,2: 66:[22, 7, 37] Operation: 73-36=37 Moving to Node #0,2 Current State: 66:[22, 7, 37], Operations: ['73-36=37'] Exploring Operation: 22+7=29, Resulting Numbers: [37, 29] Generated Node #0,2,0: 66:[37, 29] Operation: 22+7=29 Moving to Node #0,2,0 Current State: 66:[37, 29], Operations: ['73-36=37', '22+7=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 7, 56, 88, 63 ]
87
[ "7+56=63", "63/63=1", "88-1=87" ]
Current State: 87:[7, 56, 88, 63], Operations: [] Exploring Operation: 7+56=63, Resulting Numbers: [88, 63, 63] Generated Node #2: [88, 63, 63] from Operation: 7+56=63 Current State: 87:[88, 63, 63], Operations: ['7+56=63'] Exploring Operation: 63/63=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 63/63=1 Current State: 87:[88, 1], Operations: ['7+56=63', '63/63=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[7, 56, 88, 63], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [7, 63, 32] Generated Node #0,0: 87:[7, 63, 32] Operation: 88-56=32 Exploring Operation: 63-56=7, Resulting Numbers: [7, 88, 7] Generated Node #0,1: 87:[7, 88, 7] Operation: 63-56=7 Exploring Operation: 63/7=9, Resulting Numbers: [56, 88, 9] Generated Node #0,2: 87:[56, 88, 9] Operation: 63/7=9 Exploring Operation: 56/7=8, Resulting Numbers: [88, 63, 8] Generated Node #0,3: 87:[88, 63, 8] Operation: 56/7=8 Exploring Operation: 88-63=25, Resulting Numbers: [7, 56, 25] Generated Node #0,4: 87:[7, 56, 25] Operation: 88-63=25 Moving to Node #0,1 Current State: 87:[7, 88, 7], Operations: ['63-56=7'] Exploring Operation: 7-7=0, Resulting Numbers: [88, 0] Generated Node #0,1,0: 87:[88, 0] Operation: 7-7=0 Exploring Operation: 7+88=95, Resulting Numbers: [7, 95] Generated Node #0,1,1: 87:[7, 95] Operation: 7+88=95 Exploring Operation: 88-7=81, Resulting Numbers: [7, 81] Generated Node #0,1,2: 87:[7, 81] Operation: 88-7=81 Exploring Operation: 7/7=1, Resulting Numbers: [88, 1] Generated Node #0,1,3: 87:[88, 1] Operation: 7/7=1 Exploring Operation: 88-7=81, Resulting Numbers: [7, 81] Generated Node #0,1,4: 87:[7, 81] Operation: 88-7=81 Moving to Node #0,3 Current State: 87:[88, 63, 8], Operations: ['56/7=8'] Exploring Operation: 63+8=71, Resulting Numbers: [88, 71] Generated Node #0,3,0: 87:[88, 71] Operation: 63+8=71 Exploring Operation: 63-8=55, Resulting Numbers: [88, 55] Generated Node #0,3,1: 87:[88, 55] Operation: 63-8=55 Exploring Operation: 88-63=25, Resulting Numbers: [8, 25] Generated Node #0,3,2: 87:[8, 25] Operation: 88-63=25 Exploring Operation: 88/8=11, Resulting Numbers: [63, 11] Generated Node #0,3,3: 87:[63, 11] Operation: 88/8=11 Exploring Operation: 88-8=80, Resulting Numbers: [63, 80] Generated Node #0,3,4: 87:[63, 80] Operation: 88-8=80 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[8, 25], Operations: ['56/7=8', '88-63=25'] Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,87 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[88, 71], Operations: ['56/7=8', '63+8=71'] Exploring Operation: 88*71=6248, Resulting Numbers: [6248] 6248,87 unequal: No Solution Exploring Operation: 88+71=159, Resulting Numbers: [159] 159,87 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[88, 55], Operations: ['56/7=8', '63-8=55'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 88+55=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 88*55=4840, Resulting Numbers: [4840] 4840,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 87:[63, 80], Operations: ['56/7=8', '88-8=80'] Exploring Operation: 63*80=5040, Resulting Numbers: [5040] 5040,87 unequal: No Solution Exploring Operation: 63+80=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[63, 11], Operations: ['56/7=8', '88/8=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,87 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: 87:[7, 63, 32], Operations: ['88-56=32'] Exploring Operation: 63/7=9, Resulting Numbers: [32, 9] Generated Node #0,0,0: 87:[32, 9] Operation: 63/7=9 Exploring Operation: 63+32=95, Resulting Numbers: [7, 95] Generated Node #0,0,1: 87:[7, 95] Operation: 63+32=95 Exploring Operation: 7+63=70, Resulting Numbers: [32, 70] Generated Node #0,0,2: 87:[32, 70] Operation: 7+63=70 Exploring Operation: 32-7=25, Resulting Numbers: [63, 25] Generated Node #0,0,3: 87:[63, 25] Operation: 32-7=25 Exploring Operation: 63-32=31, Resulting Numbers: [7, 31] Generated Node #0,0,4: 87:[7, 31] Operation: 63-32=31 Moving to Node #0,2 Current State: 87:[56, 88, 9], Operations: ['63/7=9'] Exploring Operation: 56-9=47, Resulting Numbers: [88, 47] Generated Node #0,2,0: 87:[88, 47] Operation: 56-9=47 Exploring Operation: 88-56=32, Resulting Numbers: [9, 32] Generated Node #0,2,1: 87:[9, 32] Operation: 88-56=32 Exploring Operation: 88-9=79, Resulting Numbers: [56, 79] Generated Node #0,2,2: 87:[56, 79] Operation: 88-9=79 Exploring Operation: 56+9=65, Resulting Numbers: [88, 65] Generated Node #0,2,3: 87:[88, 65] Operation: 56+9=65 Exploring Operation: 88+9=97, Resulting Numbers: [56, 97] Generated Node #0,2,4: 87:[56, 97] Operation: 88+9=97 Moving to Node #0,4 Current State: 87:[7, 56, 25], Operations: ['88-63=25'] Exploring Operation: 56-25=31, Resulting Numbers: [7, 31] Generated Node #0,4,0: 87:[7, 31] Operation: 56-25=31 Exploring Operation: 56/7=8, Resulting Numbers: [25, 8] Generated Node #0,4,1: 87:[25, 8] Operation: 56/7=8 Exploring Operation: 7+56=63, Resulting Numbers: [25, 63] Generated Node #0,4,2: 87:[25, 63] Operation: 7+56=63 Exploring Operation: 56-7=49, Resulting Numbers: [25, 49] Generated Node #0,4,3: 87:[25, 49] Operation: 56-7=49 Exploring Operation: 56+25=81, Resulting Numbers: [7, 81] Generated Node #0,4,4: 87:[7, 81] Operation: 56+25=81 Moving to Node #0,1,3 Current State: 87:[88, 1], Operations: ['63-56=7', '7/7=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[7, 56, 88, 63], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [7, 88, 7] Generated Node #0,1: 87:[7, 88, 7] Operation: 63-56=7 Moving to Node #0,1 Current State: 87:[7, 88, 7], Operations: ['63-56=7'] Exploring Operation: 7/7=1, Resulting Numbers: [88, 1] Generated Node #0,1,3: 87:[88, 1] Operation: 7/7=1 Moving to Node #0,1,3 Current State: 87:[88, 1], Operations: ['63-56=7', '7/7=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 51, 2, 79, 73 ]
48
[ "79-73=6", "6/2=3", "51-3=48" ]
Current State: 48:[51, 2, 79, 73], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [51, 2, 6] Generated Node #2: [51, 2, 6] from Operation: 79-73=6 Current State: 48:[51, 2, 6], Operations: ['79-73=6'] Exploring Operation: 6/2=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 6/2=3 Current State: 48:[51, 3], Operations: ['79-73=6', '6/2=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[51, 2, 79, 73], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [51, 2, 6] Generated Node #0,0: 48:[51, 2, 6] Operation: 79-73=6 Exploring Operation: 51-2=49, Resulting Numbers: [79, 73, 49] Generated Node #0,1: 48:[79, 73, 49] Operation: 51-2=49 Exploring Operation: 73-51=22, Resulting Numbers: [2, 79, 22] Generated Node #0,2: 48:[2, 79, 22] Operation: 73-51=22 Exploring Operation: 79-51=28, Resulting Numbers: [2, 73, 28] Generated Node #0,3: 48:[2, 73, 28] Operation: 79-51=28 Exploring Operation: 79-2=77, Resulting Numbers: [51, 73, 77] Generated Node #0,4: 48:[51, 73, 77] Operation: 79-2=77 Moving to Node #0,0 Current State: 48:[51, 2, 6], Operations: ['79-73=6'] Exploring Operation: 6-2=4, Resulting Numbers: [51, 4] Generated Node #0,0,0: 48:[51, 4] Operation: 6-2=4 Exploring Operation: 2+6=8, Resulting Numbers: [51, 8] Generated Node #0,0,1: 48:[51, 8] Operation: 2+6=8 Exploring Operation: 51-2=49, Resulting Numbers: [6, 49] Generated Node #0,0,2: 48:[6, 49] Operation: 51-2=49 Exploring Operation: 51-6=45, Resulting Numbers: [2, 45] Generated Node #0,0,3: 48:[2, 45] Operation: 51-6=45 Exploring Operation: 2*6=12, Resulting Numbers: [51, 12] Generated Node #0,0,4: 48:[51, 12] Operation: 2*6=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[6, 49], Operations: ['79-73=6', '51-2=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,48 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,48 unequal: No Solution No 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: 48:[51, 4], Operations: ['79-73=6', '6-2=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,48 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution No 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: 48:[51, 8], Operations: ['79-73=6', '2+6=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,48 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,48 unequal: No Solution No 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: 48:[2, 45], Operations: ['79-73=6', '51-6=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,48 unequal: No Solution No 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: 48:[51, 12], Operations: ['79-73=6', '2*6=12'] Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,48 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,48 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: 48:[2, 73, 28], Operations: ['79-51=28'] Exploring Operation: 73-28=45, Resulting Numbers: [2, 45] Generated Node #0,3,0: 48:[2, 45] Operation: 73-28=45 Exploring Operation: 28/2=14, Resulting Numbers: [73, 14] Generated Node #0,3,1: 48:[73, 14] Operation: 28/2=14 Exploring Operation: 2+73=75, Resulting Numbers: [28, 75] Generated Node #0,3,2: 48:[28, 75] Operation: 2+73=75 Exploring Operation: 28-2=26, Resulting Numbers: [73, 26] Generated Node #0,3,3: 48:[73, 26] Operation: 28-2=26 Exploring Operation: 73-2=71, Resulting Numbers: [28, 71] Generated Node #0,3,4: 48:[28, 71] Operation: 73-2=71 Moving to Node #0,2 Current State: 48:[2, 79, 22], Operations: ['73-51=22'] Exploring Operation: 79-2=77, Resulting Numbers: [22, 77] Generated Node #0,2,0: 48:[22, 77] Operation: 79-2=77 Exploring Operation: 79-22=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 48:[2, 57] Operation: 79-22=57 Exploring Operation: 2+22=24, Resulting Numbers: [79, 24] Generated Node #0,2,2: 48:[79, 24] Operation: 2+22=24 Exploring Operation: 22/2=11, Resulting Numbers: [79, 11] Generated Node #0,2,3: 48:[79, 11] Operation: 22/2=11 Exploring Operation: 2+79=81, Resulting Numbers: [22, 81] Generated Node #0,2,4: 48:[22, 81] Operation: 2+79=81 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[2, 57], Operations: ['73-51=22', '79-22=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,48 unequal: No Solution No 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: 48:[22, 77], Operations: ['73-51=22', '79-2=77'] Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,48 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,48 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,48 unequal: No Solution No 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: 48:[79, 24], Operations: ['73-51=22', '2+22=24'] Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,48 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,48 unequal: No Solution No 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: 48:[79, 11], Operations: ['73-51=22', '22/2=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,48 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,48 unequal: No Solution No 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: 48:[22, 81], Operations: ['73-51=22', '2+79=81'] Exploring Operation: 22+81=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 22*81=1782, Resulting Numbers: [1782] 1782,48 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,48 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: 48:[79, 73, 49], Operations: ['51-2=49'] Exploring Operation: 79+49=128, Resulting Numbers: [73, 128] Generated Node #0,1,0: 48:[73, 128] Operation: 79+49=128 Exploring Operation: 79+73=152, Resulting Numbers: [49, 152] Generated Node #0,1,1: 48:[49, 152] Operation: 79+73=152 Exploring Operation: 79-49=30, Resulting Numbers: [73, 30] Generated Node #0,1,2: 48:[73, 30] Operation: 79-49=30 Exploring Operation: 79-73=6, Resulting Numbers: [49, 6] Generated Node #0,1,3: 48:[49, 6] Operation: 79-73=6 Exploring Operation: 73-49=24, Resulting Numbers: [79, 24] Generated Node #0,1,4: 48:[79, 24] Operation: 73-49=24 Moving to Node #0,4 Current State: 48:[51, 73, 77], Operations: ['79-2=77'] Exploring Operation: 77-73=4, Resulting Numbers: [51, 4] Generated Node #0,4,0: 48:[51, 4] Operation: 77-73=4 Exploring Operation: 77-51=26, Resulting Numbers: [73, 26] Generated Node #0,4,1: 48:[73, 26] Operation: 77-51=26 Exploring Operation: 51+77=128, Resulting Numbers: [73, 128] Generated Node #0,4,2: 48:[73, 128] Operation: 51+77=128 Exploring Operation: 51+73=124, Resulting Numbers: [77, 124] Generated Node #0,4,3: 48:[77, 124] Operation: 51+73=124 Exploring Operation: 73-51=22, Resulting Numbers: [77, 22] Generated Node #0,4,4: 48:[77, 22] Operation: 73-51=22 Moving to Node #0,1,3 Current State: 48:[49, 6], Operations: ['51-2=49', '79-73=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,48 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[2, 45], Operations: ['79-51=28', '73-28=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[51, 4], Operations: ['79-2=77', '77-73=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[73, 26], Operations: ['79-51=28', '28-2=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,48 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,48 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[73, 26], Operations: ['79-2=77', '77-51=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,48 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[73, 14], Operations: ['79-51=28', '28/2=14'] Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,48 unequal: No Solution Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[28, 71], Operations: ['79-51=28', '73-2=71'] Exploring Operation: 28*71=1988, Resulting Numbers: [1988] 1988,48 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 28+71=99, Resulting Numbers: [99] 99,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[73, 30], Operations: ['51-2=49', '79-49=30'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[77, 22], Operations: ['79-2=77', '73-51=22'] Exploring Operation: 77*22=1694, Resulting Numbers: [1694] 1694,48 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[28, 75], Operations: ['79-51=28', '2+73=75'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,48 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[79, 24], Operations: ['51-2=49', '73-49=24'] Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,48 unequal: No Solution Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,48 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[77, 124], Operations: ['79-2=77', '51+73=124'] Exploring Operation: 77+124=201, Resulting Numbers: [201] 201,48 unequal: No Solution Exploring Operation: 77*124=9548, Resulting Numbers: [9548] 9548,48 unequal: No Solution Exploring Operation: 124-77=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[73, 128], Operations: ['51-2=49', '79+49=128'] Exploring Operation: 73+128=201, Resulting Numbers: [201] 201,48 unequal: No Solution Exploring Operation: 73*128=9344, Resulting Numbers: [9344] 9344,48 unequal: No Solution Exploring Operation: 128-73=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[49, 152], Operations: ['51-2=49', '79+73=152'] Exploring Operation: 49+152=201, Resulting Numbers: [201] 201,48 unequal: No Solution Exploring Operation: 49*152=7448, Resulting Numbers: [7448] 7448,48 unequal: No Solution Exploring Operation: 152-49=103, Resulting Numbers: [103] 103,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[73, 128], Operations: ['79-2=77', '51+77=128'] Exploring Operation: 73*128=9344, Resulting Numbers: [9344] 9344,48 unequal: No Solution Exploring Operation: 73+128=201, Resulting Numbers: [201] 201,48 unequal: No Solution Exploring Operation: 128-73=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 50, 9, 64, 79 ]
84
[ "50+9=59", "64+79=143", "143-59=84" ]
Current State: 84:[50, 9, 64, 79], Operations: [] Exploring Operation: 50+9=59, Resulting Numbers: [64, 79, 59] Generated Node #2: [64, 79, 59] from Operation: 50+9=59 Current State: 84:[64, 79, 59], Operations: ['50+9=59'] Exploring Operation: 64+79=143, Resulting Numbers: [59, 143] Generated Node #3: [59, 143] from Operation: 64+79=143 Current State: 84:[59, 143], Operations: ['50+9=59', '64+79=143'] Exploring Operation: 143-59=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[50, 9, 64, 79], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [9, 64, 29] Generated Node #0,0: 84:[9, 64, 29] Operation: 79-50=29 Exploring Operation: 64-50=14, Resulting Numbers: [9, 79, 14] Generated Node #0,1: 84:[9, 79, 14] Operation: 64-50=14 Exploring Operation: 79-64=15, Resulting Numbers: [50, 9, 15] Generated Node #0,2: 84:[50, 9, 15] Operation: 79-64=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[9, 79, 14], Operations: ['64-50=14'] Exploring Operation: 9+14=23, Resulting Numbers: [79, 23] Generated Node #0,1,0: 84:[79, 23] Operation: 9+14=23 Exploring Operation: 9+79=88, Resulting Numbers: [14, 88] Generated Node #0,1,1: 84:[14, 88] Operation: 9+79=88 Exploring Operation: 14-9=5, Resulting Numbers: [79, 5] Generated Node #0,1,2: 84:[79, 5] Operation: 14-9=5 Moving to Node #0,1,1 Current State: 84:[14, 88], Operations: ['64-50=14', '9+79=88'] Exploring Operation: 14+88=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 14*88=1232, Resulting Numbers: [1232] 1232,84 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[79, 5], Operations: ['64-50=14', '14-9=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,84 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[50, 9, 64, 79], Operations: [] Exploring Operation: 64-50=14, Resulting Numbers: [9, 79, 14] Generated Node #0,1: 84:[9, 79, 14] Operation: 64-50=14 Moving to Node #0,1 Current State: 84:[9, 79, 14], Operations: ['64-50=14'] Exploring Operation: 14-9=5, Resulting Numbers: [79, 5] Generated Node #0,1,2: 84:[79, 5] Operation: 14-9=5 Moving to Node #0,1,2 Current State: 84:[79, 5], Operations: ['64-50=14', '14-9=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 47, 45, 56, 55 ]
91
[ "47+45=92", "56-55=1", "92-1=91" ]
Current State: 91:[47, 45, 56, 55], Operations: [] Exploring Operation: 47+45=92, Resulting Numbers: [56, 55, 92] Generated Node #2: [56, 55, 92] from Operation: 47+45=92 Current State: 91:[56, 55, 92], Operations: ['47+45=92'] Exploring Operation: 56-55=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 56-55=1 Current State: 91:[92, 1], Operations: ['47+45=92', '56-55=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[47, 45, 56, 55], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [45, 56, 8] Generated Node #0,0: 91:[45, 56, 8] Operation: 55-47=8 Moving to Node #0,0 Current State: 91:[45, 56, 8], Operations: ['55-47=8'] Exploring Operation: 56-45=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 91:[8, 11] Operation: 56-45=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[8, 11], Operations: ['55-47=8', '56-45=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 66, 33, 88 ]
65
[ "88-33=55", "78*55=4290", "4290/66=65" ]
Current State: 65:[78, 66, 33, 88], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [78, 66, 55] Generated Node #2: [78, 66, 55] from Operation: 88-33=55 Current State: 65:[78, 66, 55], Operations: ['88-33=55'] Exploring Operation: 78*55=4290, Resulting Numbers: [66, 4290] Generated Node #3: [66, 4290] from Operation: 78*55=4290 Current State: 65:[66, 4290], Operations: ['88-33=55', '78*55=4290'] Exploring Operation: 4290/66=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[78, 66, 33, 88], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [78, 88, 2] Generated Node #0,0: 65:[78, 88, 2] Operation: 66/33=2 Exploring Operation: 88-78=10, Resulting Numbers: [66, 33, 10] Generated Node #0,1: 65:[66, 33, 10] Operation: 88-78=10 Exploring Operation: 88-33=55, Resulting Numbers: [78, 66, 55] Generated Node #0,2: 65:[78, 66, 55] Operation: 88-33=55 Moving to Node #0,1 Current State: 65:[66, 33, 10], Operations: ['88-78=10'] Exploring Operation: 66-33=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 65:[10, 33] Operation: 66-33=33 Exploring Operation: 33-10=23, Resulting Numbers: [66, 23] Generated Node #0,1,1: 65:[66, 23] Operation: 33-10=23 Exploring Operation: 66/33=2, Resulting Numbers: [10, 2] Generated Node #0,1,2: 65:[10, 2] Operation: 66/33=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[10, 2], Operations: ['88-78=10', '66/33=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[66, 23], Operations: ['88-78=10', '33-10=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,65 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[10, 33], Operations: ['88-78=10', '66-33=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,65 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,65 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: 65:[78, 66, 55], Operations: ['88-33=55'] Exploring Operation: 66-55=11, Resulting Numbers: [78, 11] Generated Node #0,2,0: 65:[78, 11] Operation: 66-55=11 Exploring Operation: 78-55=23, Resulting Numbers: [66, 23] Generated Node #0,2,1: 65:[66, 23] Operation: 78-55=23 Exploring Operation: 78-66=12, Resulting Numbers: [55, 12] Generated Node #0,2,2: 65:[55, 12] Operation: 78-66=12 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[66, 23], Operations: ['88-33=55', '78-55=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,65 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,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,2,2 Current State: 65:[55, 12], Operations: ['88-33=55', '78-66=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,65 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,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,2,0 Current State: 65:[78, 11], Operations: ['88-33=55', '66-55=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,65 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,65 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: 65:[78, 88, 2], Operations: ['66/33=2'] Exploring Operation: 88-78=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 65:[2, 10] Operation: 88-78=10 Exploring Operation: 78-2=76, Resulting Numbers: [88, 76] Generated Node #0,0,1: 65:[88, 76] Operation: 78-2=76 Exploring Operation: 88-2=86, Resulting Numbers: [78, 86] Generated Node #0,0,2: 65:[78, 86] Operation: 88-2=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[2, 10], Operations: ['66/33=2', '88-78=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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:[88, 76], Operations: ['66/33=2', '78-2=76'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,65 unequal: No Solution Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,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:[78, 86], Operations: ['66/33=2', '88-2=86'] Exploring Operation: 86-78=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 78*86=6708, Resulting Numbers: [6708] 6708,65 unequal: No Solution Exploring Operation: 78+86=164, Resulting Numbers: [164] 164,65 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
[ 80, 27, 72, 80 ]
37
[ "80-72=8", "80/8=10", "27+10=37" ]
Current State: 37:[80, 27, 72, 80], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [27, 8] Generated Node #2: [27, 8] from Operation: 80-72=8 Current State: 37:[27, 8], Operations: ['80-72=8'] Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #3: [27, 10] from Operation: 80/8=10 Current State: 37:[27, 10], Operations: ['80-72=8', '80/8=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[80, 27, 72, 80], Operations: [] Exploring Operation: 80-80=0, Resulting Numbers: [27, 72, 0] Generated Node #0,0: 37:[27, 72, 0] Operation: 80-80=0 Exploring Operation: 80-72=8, Resulting Numbers: [27, 80, 8] Generated Node #0,1: 37:[27, 80, 8] Operation: 80-72=8 Exploring Operation: 80/80=1, Resulting Numbers: [27, 72, 1] Generated Node #0,2: 37:[27, 72, 1] Operation: 80/80=1 Exploring Operation: 80-72=8, Resulting Numbers: [80, 27, 8] Generated Node #0,3: 37:[80, 27, 8] Operation: 80-72=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[27, 72, 1], Operations: ['80/80=1'] Exploring Operation: 27+1=28, Resulting Numbers: [72, 28] Generated Node #0,2,0: 37:[72, 28] Operation: 27+1=28 Exploring Operation: 27*1=27, Resulting Numbers: [72, 27] Generated Node #0,2,1: 37:[72, 27] Operation: 27*1=27 Exploring Operation: 72-27=45, Resulting Numbers: [1, 45] Generated Node #0,2,2: 37:[1, 45] Operation: 72-27=45 Exploring Operation: 72-1=71, Resulting Numbers: [27, 71] Generated Node #0,2,3: 37:[27, 71] Operation: 72-1=71 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[72, 28], Operations: ['80/80=1', '27+1=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,37 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[1, 45], Operations: ['80/80=1', '72-27=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[27, 71], Operations: ['80/80=1', '72-1=71'] Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,37 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[72, 27], Operations: ['80/80=1', '27*1=27'] Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,37 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[27, 72, 0], Operations: ['80-80=0'] Exploring Operation: 27-0=27, Resulting Numbers: [72, 27] Generated Node #0,0,0: 37:[72, 27] Operation: 27-0=27 Exploring Operation: 27+0=27, Resulting Numbers: [72, 27] Generated Node #0,0,1: 37:[72, 27] Operation: 27+0=27 Exploring Operation: 72-27=45, Resulting Numbers: [0, 45] Generated Node #0,0,2: 37:[0, 45] Operation: 72-27=45 Exploring Operation: 72+0=72, Resulting Numbers: [27, 72] Generated Node #0,0,3: 37:[27, 72] Operation: 72+0=72 Moving to Node #0,0,0 Current State: 37:[72, 27], Operations: ['80-80=0', '27-0=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[0, 45], Operations: ['80-80=0', '72-27=45'] Exploring Operation: 45-0=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 0+45=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 0*45=0, Resulting Numbers: [0] 0,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[72, 27], Operations: ['80-80=0', '27+0=27'] Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,37 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[27, 72], Operations: ['80-80=0', '72+0=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[27, 80, 8], Operations: ['80-72=8'] Exploring Operation: 27+8=35, Resulting Numbers: [80, 35] Generated Node #0,1,0: 37:[80, 35] Operation: 27+8=35 Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #0,1,1: 37:[27, 10] Operation: 80/8=10 Exploring Operation: 80-27=53, Resulting Numbers: [8, 53] Generated Node #0,1,2: 37:[8, 53] Operation: 80-27=53 Exploring Operation: 80-8=72, Resulting Numbers: [27, 72] Generated Node #0,1,3: 37:[27, 72] Operation: 80-8=72 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[27, 10], Operations: ['80-72=8', '80/8=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,37 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[80, 27, 72, 80], Operations: [] Exploring Operation: 80-72=8, Resulting Numbers: [27, 80, 8] Generated Node #0,1: 37:[27, 80, 8] Operation: 80-72=8 Moving to Node #0,1 Current State: 37:[27, 80, 8], Operations: ['80-72=8'] Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #0,1,1: 37:[27, 10] Operation: 80/8=10 Moving to Node #0,1,1 Current State: 37:[27, 10], Operations: ['80-72=8', '80/8=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
sum_heuristic
[ 94, 80, 74, 51 ]
37
[ "94-80=14", "74-51=23", "14+23=37" ]
Current State: 37:[94, 80, 74, 51], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [74, 51, 14] Generated Node #2: [74, 51, 14] from Operation: 94-80=14 Current State: 37:[74, 51, 14], Operations: ['94-80=14'] Exploring Operation: 74-51=23, Resulting Numbers: [14, 23] Generated Node #3: [14, 23] from Operation: 74-51=23 Current State: 37:[14, 23], Operations: ['94-80=14', '74-51=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[94, 80, 74, 51], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [80, 74, 43] Generated Node #0,0: 37:[80, 74, 43] Operation: 94-51=43 Exploring Operation: 94-80=14, Resulting Numbers: [74, 51, 14] Generated Node #0,1: 37:[74, 51, 14] Operation: 94-80=14 Exploring Operation: 94-74=20, Resulting Numbers: [80, 51, 20] Generated Node #0,2: 37:[80, 51, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[74, 51, 14], Operations: ['94-80=14'] Exploring Operation: 74-51=23, Resulting Numbers: [14, 23] Generated Node #0,1,0: 37:[14, 23] Operation: 74-51=23 Exploring Operation: 51-14=37, Resulting Numbers: [74, 37] Generated Node #0,1,1: 37:[74, 37] Operation: 51-14=37 Exploring Operation: 74-14=60, Resulting Numbers: [51, 60] Generated Node #0,1,2: 37:[51, 60] Operation: 74-14=60 Moving to Node #0,1,0 Current State: 37:[14, 23], Operations: ['94-80=14', '74-51=23'] Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,37 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[94, 80, 74, 51], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [74, 51, 14] Generated Node #0,1: 37:[74, 51, 14] Operation: 94-80=14 Moving to Node #0,1 Current State: 37:[74, 51, 14], Operations: ['94-80=14'] Exploring Operation: 74-51=23, Resulting Numbers: [14, 23] Generated Node #0,1,0: 37:[14, 23] Operation: 74-51=23 Moving to Node #0,1,0 Current State: 37:[14, 23], Operations: ['94-80=14', '74-51=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 89, 64, 35, 50 ]
40
[ "89-64=25", "50-35=15", "25+15=40" ]
Current State: 40:[89, 64, 35, 50], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [35, 50, 25] Generated Node #2: [35, 50, 25] from Operation: 89-64=25 Current State: 40:[35, 50, 25], Operations: ['89-64=25'] Exploring Operation: 50-35=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 50-35=15 Current State: 40:[25, 15], Operations: ['89-64=25', '50-35=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[89, 64, 35, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [64, 35, 39] Generated Node #0,0: 40:[64, 35, 39] Operation: 89-50=39 Exploring Operation: 89-35=54, Resulting Numbers: [64, 50, 54] Generated Node #0,1: 40:[64, 50, 54] Operation: 89-35=54 Exploring Operation: 89-64=25, Resulting Numbers: [35, 50, 25] Generated Node #0,2: 40:[35, 50, 25] Operation: 89-64=25 Moving to Node #0,2 Current State: 40:[35, 50, 25], Operations: ['89-64=25'] Exploring Operation: 50-35=15, Resulting Numbers: [25, 15] Generated Node #0,2,0: 40:[25, 15] Operation: 50-35=15 Exploring Operation: 50/25=2, Resulting Numbers: [35, 2] Generated Node #0,2,1: 40:[35, 2] Operation: 50/25=2 Exploring Operation: 35-25=10, Resulting Numbers: [50, 10] Generated Node #0,2,2: 40:[50, 10] Operation: 35-25=10 Moving to Node #0,0 Current State: 40:[64, 35, 39], Operations: ['89-50=39'] Exploring Operation: 64-35=29, Resulting Numbers: [39, 29] Generated Node #0,0,0: 40:[39, 29] Operation: 64-35=29 Exploring Operation: 39-35=4, Resulting Numbers: [64, 4] Generated Node #0,0,1: 40:[64, 4] Operation: 39-35=4 Exploring Operation: 64-39=25, Resulting Numbers: [35, 25] Generated Node #0,0,2: 40:[35, 25] Operation: 64-39=25 Moving to Node #0,1 Current State: 40:[64, 50, 54], Operations: ['89-35=54'] Exploring Operation: 64-54=10, Resulting Numbers: [50, 10] Generated Node #0,1,0: 40:[50, 10] Operation: 64-54=10 Exploring Operation: 54-50=4, Resulting Numbers: [64, 4] Generated Node #0,1,1: 40:[64, 4] Operation: 54-50=4 Exploring Operation: 64-50=14, Resulting Numbers: [54, 14] Generated Node #0,1,2: 40:[54, 14] Operation: 64-50=14 Moving to Node #0,2,1 Current State: 40:[35, 2], Operations: ['89-64=25', '50/25=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[50, 10], Operations: ['89-64=25', '35-25=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[89, 64, 35, 50], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [35, 50, 25] Generated Node #0,2: 40:[35, 50, 25] Operation: 89-64=25 Moving to Node #0,2 Current State: 40:[35, 50, 25], Operations: ['89-64=25'] Exploring Operation: 35-25=10, Resulting Numbers: [50, 10] Generated Node #0,2,2: 40:[50, 10] Operation: 35-25=10 Moving to Node #0,2,2 Current State: 40:[50, 10], Operations: ['89-64=25', '35-25=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 39, 10, 8, 9 ]
41
[ "10+8=18", "18/9=2", "39+2=41" ]
Current State: 41:[39, 10, 8, 9], Operations: [] Exploring Operation: 10+8=18, Resulting Numbers: [39, 9, 18] Generated Node #2: [39, 9, 18] from Operation: 10+8=18 Current State: 41:[39, 9, 18], Operations: ['10+8=18'] Exploring Operation: 18/9=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 18/9=2 Current State: 41:[39, 2], Operations: ['10+8=18', '18/9=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[39, 10, 8, 9], Operations: [] Exploring Operation: 8+9=17, Resulting Numbers: [39, 10, 17] Generated Node #0,0: 41:[39, 10, 17] Operation: 8+9=17 Exploring Operation: 10+9=19, Resulting Numbers: [39, 8, 19] Generated Node #0,1: 41:[39, 8, 19] Operation: 10+9=19 Exploring Operation: 10+8=18, Resulting Numbers: [39, 9, 18] Generated Node #0,2: 41:[39, 9, 18] Operation: 10+8=18 Exploring Operation: 8*9=72, Resulting Numbers: [39, 10, 72] Generated Node #0,3: 41:[39, 10, 72] Operation: 8*9=72 Exploring Operation: 39+8=47, Resulting Numbers: [10, 9, 47] Generated Node #0,4: 41:[10, 9, 47] Operation: 39+8=47 Moving to Node #0,0 Current State: 41:[39, 10, 17], Operations: ['8+9=17'] Exploring Operation: 39-10=29, Resulting Numbers: [17, 29] Generated Node #0,0,0: 41:[17, 29] Operation: 39-10=29 Exploring Operation: 10+17=27, Resulting Numbers: [39, 27] Generated Node #0,0,1: 41:[39, 27] Operation: 10+17=27 Exploring Operation: 39+10=49, Resulting Numbers: [17, 49] Generated Node #0,0,2: 41:[17, 49] Operation: 39+10=49 Exploring Operation: 17-10=7, Resulting Numbers: [39, 7] Generated Node #0,0,3: 41:[39, 7] Operation: 17-10=7 Exploring Operation: 39+17=56, Resulting Numbers: [10, 56] Generated Node #0,0,4: 41:[10, 56] Operation: 39+17=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[39, 27], Operations: ['8+9=17', '10+17=27'] Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,41 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,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,0,2 Current State: 41:[17, 49], Operations: ['8+9=17', '39+10=49'] Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,41 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,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,0,0 Current State: 41:[17, 29], Operations: ['8+9=17', '39-10=29'] Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,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,0,3 Current State: 41:[39, 7], Operations: ['8+9=17', '17-10=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,41 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,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,0,4 Current State: 41:[10, 56], Operations: ['8+9=17', '39+17=56'] Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[39, 9, 18], Operations: ['10+8=18'] Exploring Operation: 39-9=30, Resulting Numbers: [18, 30] Generated Node #0,2,0: 41:[18, 30] Operation: 39-9=30 Exploring Operation: 9+18=27, Resulting Numbers: [39, 27] Generated Node #0,2,1: 41:[39, 27] Operation: 9+18=27 Exploring Operation: 18/9=2, Resulting Numbers: [39, 2] Generated Node #0,2,2: 41:[39, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [39, 9] Generated Node #0,2,3: 41:[39, 9] Operation: 18-9=9 Exploring Operation: 39+9=48, Resulting Numbers: [18, 48] Generated Node #0,2,4: 41:[18, 48] Operation: 39+9=48 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[39, 27], Operations: ['10+8=18', '9+18=27'] Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,41 unequal: No Solution Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,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,4 Current State: 41:[18, 48], Operations: ['10+8=18', '39+9=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,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,0 Current State: 41:[18, 30], Operations: ['10+8=18', '39-9=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,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,3 Current State: 41:[39, 9], Operations: ['10+8=18', '18-9=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,41 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,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,2 Current State: 41:[39, 2], Operations: ['10+8=18', '18/9=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[39, 10, 8, 9], Operations: [] Exploring Operation: 10+8=18, Resulting Numbers: [39, 9, 18] Generated Node #0,2: 41:[39, 9, 18] Operation: 10+8=18 Moving to Node #0,2 Current State: 41:[39, 9, 18], Operations: ['10+8=18'] Exploring Operation: 18/9=2, Resulting Numbers: [39, 2] Generated Node #0,2,2: 41:[39, 2] Operation: 18/9=2 Moving to Node #0,2,2 Current State: 41:[39, 2], Operations: ['10+8=18', '18/9=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 21, 69, 60, 59 ]
49
[ "69-21=48", "60-59=1", "48+1=49" ]
Current State: 49:[21, 69, 60, 59], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [60, 59, 48] Generated Node #2: [60, 59, 48] from Operation: 69-21=48 Current State: 49:[60, 59, 48], Operations: ['69-21=48'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 60-59=1 Current State: 49:[48, 1], Operations: ['69-21=48', '60-59=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[21, 69, 60, 59], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [60, 59, 48] Generated Node #0,0: 49:[60, 59, 48] Operation: 69-21=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[60, 59, 48], Operations: ['69-21=48'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 49:[48, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 49:[48, 1], Operations: ['69-21=48', '60-59=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[21, 69, 60, 59], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [60, 59, 48] Generated Node #0,0: 49:[60, 59, 48] Operation: 69-21=48 Moving to Node #0,0 Current State: 49:[60, 59, 48], Operations: ['69-21=48'] Exploring Operation: 60-59=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 49:[48, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 49:[48, 1], Operations: ['69-21=48', '60-59=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 37, 3, 18, 35 ]
42
[ "37+35=72", "72/3=24", "18+24=42" ]
Current State: 42:[37, 3, 18, 35], Operations: [] Exploring Operation: 37+35=72, Resulting Numbers: [3, 18, 72] Generated Node #2: [3, 18, 72] from Operation: 37+35=72 Current State: 42:[3, 18, 72], Operations: ['37+35=72'] Exploring Operation: 72/3=24, Resulting Numbers: [18, 24] Generated Node #3: [18, 24] from Operation: 72/3=24 Current State: 42:[18, 24], Operations: ['37+35=72', '72/3=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 3, 18, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [3, 18, 2] Generated Node #0,0: 42:[3, 18, 2] Operation: 37-35=2 Moving to Node #0,0 Current State: 42:[3, 18, 2], Operations: ['37-35=2'] Exploring Operation: 3+18=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 42:[2, 21] Operation: 3+18=21 Moving to Node #0,0,0 Current State: 42:[2, 21], Operations: ['37-35=2', '3+18=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[37, 3, 18, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [3, 18, 2] Generated Node #0,0: 42:[3, 18, 2] Operation: 37-35=2 Moving to Node #0,0 Current State: 42:[3, 18, 2], Operations: ['37-35=2'] Exploring Operation: 3+18=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 42:[2, 21] Operation: 3+18=21 Moving to Node #0,0,0 Current State: 42:[2, 21], Operations: ['37-35=2', '3+18=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 1, 57, 95, 51 ]
30
[ "51-1=50", "57*50=2850", "2850/95=30" ]
Current State: 30:[1, 57, 95, 51], Operations: [] Exploring Operation: 51-1=50, Resulting Numbers: [57, 95, 50] Generated Node #2: [57, 95, 50] from Operation: 51-1=50 Current State: 30:[57, 95, 50], Operations: ['51-1=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [95, 2850] Generated Node #3: [95, 2850] from Operation: 57*50=2850 Current State: 30:[95, 2850], Operations: ['51-1=50', '57*50=2850'] Exploring Operation: 2850/95=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[1, 57, 95, 51], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [1, 57, 44] Generated Node #0,0: 30:[1, 57, 44] Operation: 95-51=44 Exploring Operation: 57-1=56, Resulting Numbers: [95, 51, 56] Generated Node #0,1: 30:[95, 51, 56] Operation: 57-1=56 Exploring Operation: 57-51=6, Resulting Numbers: [1, 95, 6] Generated Node #0,2: 30:[1, 95, 6] Operation: 57-51=6 Exploring Operation: 95-57=38, Resulting Numbers: [1, 51, 38] Generated Node #0,3: 30:[1, 51, 38] Operation: 95-57=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[1, 51, 38], Operations: ['95-57=38'] Exploring Operation: 38-1=37, Resulting Numbers: [51, 37] Generated Node #0,3,0: 30:[51, 37] Operation: 38-1=37 Exploring Operation: 51-1=50, Resulting Numbers: [38, 50] Generated Node #0,3,1: 30:[38, 50] Operation: 51-1=50 Exploring Operation: 51-38=13, Resulting Numbers: [1, 13] Generated Node #0,3,2: 30:[1, 13] Operation: 51-38=13 Exploring Operation: 1*51=51, Resulting Numbers: [38, 51] Generated Node #0,3,3: 30:[38, 51] Operation: 1*51=51 Moving to Node #0,3,2 Current State: 30:[1, 13], Operations: ['95-57=38', '51-38=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[38, 50], Operations: ['95-57=38', '51-1=50'] Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,30 unequal: No Solution Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,30 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[51, 37], Operations: ['95-57=38', '38-1=37'] Exploring Operation: 51+37=88, Resulting Numbers: [88] 88,30 unequal: No Solution Exploring Operation: 51*37=1887, Resulting Numbers: [1887] 1887,30 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[38, 51], Operations: ['95-57=38', '1*51=51'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 38+51=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 38*51=1938, Resulting Numbers: [1938] 1938,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[1, 57, 44], Operations: ['95-51=44'] Exploring Operation: 57-1=56, Resulting Numbers: [44, 56] Generated Node #0,0,0: 30:[44, 56] Operation: 57-1=56 Exploring Operation: 1*57=57, Resulting Numbers: [44, 57] Generated Node #0,0,1: 30:[44, 57] Operation: 1*57=57 Exploring Operation: 57-44=13, Resulting Numbers: [1, 13] Generated Node #0,0,2: 30:[1, 13] Operation: 57-44=13 Exploring Operation: 44-1=43, Resulting Numbers: [57, 43] Generated Node #0,0,3: 30:[57, 43] Operation: 44-1=43 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 30:[1, 13], Operations: ['95-51=44', '57-44=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[44, 56], Operations: ['95-51=44', '57-1=56'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,30 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 30:[57, 43], Operations: ['95-51=44', '44-1=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,30 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,30 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[44, 57], Operations: ['95-51=44', '1*57=57'] Exploring Operation: 44+57=101, Resulting Numbers: [101] 101,30 unequal: No Solution Exploring Operation: 44*57=2508, Resulting Numbers: [2508] 2508,30 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[1, 95, 6], Operations: ['57-51=6'] Exploring Operation: 1*95=95, Resulting Numbers: [6, 95] Generated Node #0,2,0: 30:[6, 95] Operation: 1*95=95 Exploring Operation: 95-1=94, Resulting Numbers: [6, 94] Generated Node #0,2,1: 30:[6, 94] Operation: 95-1=94 Exploring Operation: 95/1=95, Resulting Numbers: [6, 95] Generated Node #0,2,2: 30:[6, 95] Operation: 95/1=95 Exploring Operation: 95-6=89, Resulting Numbers: [1, 89] Generated Node #0,2,3: 30:[1, 89] Operation: 95-6=89 Moving to Node #0,2,3 Current State: 30:[1, 89], Operations: ['57-51=6', '95-6=89'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,30 unequal: No Solution Exploring Operation: 1+89=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 1*89=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[6, 94], Operations: ['57-51=6', '95-1=94'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,30 unequal: No Solution Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,30 unequal: No Solution Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[6, 95], Operations: ['57-51=6', '95/1=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,30 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,30 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[6, 95], Operations: ['57-51=6', '1*95=95'] Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,30 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,30 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[95, 51, 56], Operations: ['57-1=56'] Exploring Operation: 95+51=146, Resulting Numbers: [56, 146] Generated Node #0,1,0: 30:[56, 146] Operation: 95+51=146 Exploring Operation: 95-56=39, Resulting Numbers: [51, 39] Generated Node #0,1,1: 30:[51, 39] Operation: 95-56=39 Exploring Operation: 95-51=44, Resulting Numbers: [56, 44] Generated Node #0,1,2: 30:[56, 44] Operation: 95-51=44 Exploring Operation: 56-51=5, Resulting Numbers: [95, 5] Generated Node #0,1,3: 30:[95, 5] Operation: 56-51=5 Moving to Node #0,1,1 Current State: 30:[51, 39], Operations: ['57-1=56', '95-56=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[56, 44], Operations: ['57-1=56', '95-51=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,30 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[95, 5], Operations: ['57-1=56', '56-51=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,30 unequal: No Solution Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,30 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[56, 146], Operations: ['57-1=56', '95+51=146'] Exploring Operation: 56*146=8176, Resulting Numbers: [8176] 8176,30 unequal: No Solution Exploring Operation: 146-56=90, Resulting Numbers: [90] 90,30 unequal: No Solution Exploring Operation: 56+146=202, Resulting Numbers: [202] 202,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 99, 35, 72, 44 ]
52
[ "99-35=64", "72+44=116", "116-64=52" ]
Current State: 52:[99, 35, 72, 44], Operations: [] Exploring Operation: 99-35=64, Resulting Numbers: [72, 44, 64] Generated Node #2: [72, 44, 64] from Operation: 99-35=64 Current State: 52:[72, 44, 64], Operations: ['99-35=64'] Exploring Operation: 72+44=116, Resulting Numbers: [64, 116] Generated Node #3: [64, 116] from Operation: 72+44=116 Current State: 52:[64, 116], Operations: ['99-35=64', '72+44=116'] Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[99, 35, 72, 44], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [35, 72, 55] Generated Node #0,0: 52:[35, 72, 55] Operation: 99-44=55 Exploring Operation: 72-44=28, Resulting Numbers: [99, 35, 28] Generated Node #0,1: 52:[99, 35, 28] Operation: 72-44=28 Exploring Operation: 99-35=64, Resulting Numbers: [72, 44, 64] Generated Node #0,2: 52:[72, 44, 64] Operation: 99-35=64 Exploring Operation: 72-35=37, Resulting Numbers: [99, 44, 37] Generated Node #0,3: 52:[99, 44, 37] Operation: 72-35=37 Exploring Operation: 99-72=27, Resulting Numbers: [35, 44, 27] Generated Node #0,4: 52:[35, 44, 27] Operation: 99-72=27 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[35, 44, 27], Operations: ['99-72=27'] Exploring Operation: 44-27=17, Resulting Numbers: [35, 17] Generated Node #0,4,0: 52:[35, 17] Operation: 44-27=17 Exploring Operation: 35+44=79, Resulting Numbers: [27, 79] Generated Node #0,4,1: 52:[27, 79] Operation: 35+44=79 Exploring Operation: 35+27=62, Resulting Numbers: [44, 62] Generated Node #0,4,2: 52:[44, 62] Operation: 35+27=62 Exploring Operation: 44-35=9, Resulting Numbers: [27, 9] Generated Node #0,4,3: 52:[27, 9] Operation: 44-35=9 Exploring Operation: 35-27=8, Resulting Numbers: [44, 8] Generated Node #0,4,4: 52:[44, 8] Operation: 35-27=8 Moving to Node #0,4,3 Current State: 52:[27, 9], Operations: ['99-72=27', '44-35=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,52 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[44, 8], Operations: ['99-72=27', '35-27=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[99, 35, 72, 44], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [35, 44, 27] Generated Node #0,4: 52:[35, 44, 27] Operation: 99-72=27 Moving to Node #0,4 Current State: 52:[35, 44, 27], Operations: ['99-72=27'] Exploring Operation: 35-27=8, Resulting Numbers: [44, 8] Generated Node #0,4,4: 52:[44, 8] Operation: 35-27=8 Moving to Node #0,4,4 Current State: 52:[44, 8], Operations: ['99-72=27', '35-27=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 57, 46, 25, 66 ]
31
[ "57-46=11", "66/11=6", "25+6=31" ]
Current State: 31:[57, 46, 25, 66], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [25, 66, 11] Generated Node #2: [25, 66, 11] from Operation: 57-46=11 Current State: 31:[25, 66, 11], Operations: ['57-46=11'] Exploring Operation: 66/11=6, Resulting Numbers: [25, 6] Generated Node #3: [25, 6] from Operation: 66/11=6 Current State: 31:[25, 6], Operations: ['57-46=11', '66/11=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 46, 25, 66], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [46, 25, 9] Generated Node #0,0: 31:[46, 25, 9] Operation: 66-57=9 Exploring Operation: 66-46=20, Resulting Numbers: [57, 25, 20] Generated Node #0,1: 31:[57, 25, 20] Operation: 66-46=20 Exploring Operation: 66-25=41, Resulting Numbers: [57, 46, 41] Generated Node #0,2: 31:[57, 46, 41] Operation: 66-25=41 Exploring Operation: 57-25=32, Resulting Numbers: [46, 66, 32] Generated Node #0,3: 31:[46, 66, 32] Operation: 57-25=32 Moving to Node #0,0 Current State: 31:[46, 25, 9], Operations: ['66-57=9'] Exploring Operation: 25+9=34, Resulting Numbers: [46, 34] Generated Node #0,0,0: 31:[46, 34] Operation: 25+9=34 Exploring Operation: 46-9=37, Resulting Numbers: [25, 37] Generated Node #0,0,1: 31:[25, 37] Operation: 46-9=37 Exploring Operation: 46+9=55, Resulting Numbers: [25, 55] Generated Node #0,0,2: 31:[25, 55] Operation: 46+9=55 Exploring Operation: 25-9=16, Resulting Numbers: [46, 16] Generated Node #0,0,3: 31:[46, 16] Operation: 25-9=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[25, 37], Operations: ['66-57=9', '46-9=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,31 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,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,0,0 Current State: 31:[46, 34], Operations: ['66-57=9', '25+9=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,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,0,2 Current State: 31:[25, 55], Operations: ['66-57=9', '46+9=55'] Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,31 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[46, 16], Operations: ['66-57=9', '25-9=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,31 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,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:[57, 25, 20], Operations: ['66-46=20'] Exploring Operation: 25+20=45, Resulting Numbers: [57, 45] Generated Node #0,1,0: 31:[57, 45] Operation: 25+20=45 Exploring Operation: 57-20=37, Resulting Numbers: [25, 37] Generated Node #0,1,1: 31:[25, 37] Operation: 57-20=37 Exploring Operation: 57+20=77, Resulting Numbers: [25, 77] Generated Node #0,1,2: 31:[25, 77] Operation: 57+20=77 Exploring Operation: 57-25=32, Resulting Numbers: [20, 32] Generated Node #0,1,3: 31:[20, 32] Operation: 57-25=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[25, 37], Operations: ['66-46=20', '57-20=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,31 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 31:[20, 32], Operations: ['66-46=20', '57-25=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[57, 45], Operations: ['66-46=20', '25+20=45'] Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[25, 77], Operations: ['66-46=20', '57+20=77'] Exploring Operation: 25+77=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 25*77=1925, Resulting Numbers: [1925] 1925,31 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: 31:[46, 66, 32], Operations: ['57-25=32'] Exploring Operation: 66-32=34, Resulting Numbers: [46, 34] Generated Node #0,3,0: 31:[46, 34] Operation: 66-32=34 Exploring Operation: 66-46=20, Resulting Numbers: [32, 20] Generated Node #0,3,1: 31:[32, 20] Operation: 66-46=20 Exploring Operation: 46-32=14, Resulting Numbers: [66, 14] Generated Node #0,3,2: 31:[66, 14] Operation: 46-32=14 Exploring Operation: 46+66=112, Resulting Numbers: [32, 112] Generated Node #0,3,3: 31:[32, 112] Operation: 46+66=112 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[32, 20], Operations: ['57-25=32', '66-46=20'] Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 32*20=640, Resulting Numbers: [640] 640,31 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[46, 34], Operations: ['57-25=32', '66-32=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[66, 14], Operations: ['57-25=32', '46-32=14'] Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,31 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[32, 112], Operations: ['57-25=32', '46+66=112'] Exploring Operation: 32*112=3584, Resulting Numbers: [3584] 3584,31 unequal: No Solution Exploring Operation: 112-32=80, Resulting Numbers: [80] 80,31 unequal: No Solution Exploring Operation: 32+112=144, Resulting Numbers: [144] 144,31 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: 31:[57, 46, 41], Operations: ['66-25=41'] Exploring Operation: 57-46=11, Resulting Numbers: [41, 11] Generated Node #0,2,0: 31:[41, 11] Operation: 57-46=11 Exploring Operation: 46-41=5, Resulting Numbers: [57, 5] Generated Node #0,2,1: 31:[57, 5] Operation: 46-41=5 Exploring Operation: 57-41=16, Resulting Numbers: [46, 16] Generated Node #0,2,2: 31:[46, 16] Operation: 57-41=16 Exploring Operation: 57+46=103, Resulting Numbers: [41, 103] Generated Node #0,2,3: 31:[41, 103] Operation: 57+46=103 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[41, 11], Operations: ['66-25=41', '57-46=11'] Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,31 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[46, 16], Operations: ['66-25=41', '57-41=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,31 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[57, 5], Operations: ['66-25=41', '46-41=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,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:[41, 103], Operations: ['66-25=41', '57+46=103'] Exploring Operation: 41*103=4223, Resulting Numbers: [4223] 4223,31 unequal: No Solution Exploring Operation: 41+103=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 103-41=62, Resulting Numbers: [62] 62,31 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
[ 7, 33, 51, 9 ]
16
[ "33-7=26", "51-9=42", "42-26=16" ]
Current State: 16:[7, 33, 51, 9], Operations: [] Exploring Operation: 33-7=26, Resulting Numbers: [51, 9, 26] Generated Node #2: [51, 9, 26] from Operation: 33-7=26 Current State: 16:[51, 9, 26], Operations: ['33-7=26'] Exploring Operation: 51-9=42, Resulting Numbers: [26, 42] Generated Node #3: [26, 42] from Operation: 51-9=42 Current State: 16:[26, 42], Operations: ['33-7=26', '51-9=42'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[7, 33, 51, 9], Operations: [] Exploring Operation: 33-9=24, Resulting Numbers: [7, 51, 24] Generated Node #0,0: 16:[7, 51, 24] Operation: 33-9=24 Exploring Operation: 51-33=18, Resulting Numbers: [7, 9, 18] Generated Node #0,1: 16:[7, 9, 18] Operation: 51-33=18 Exploring Operation: 51-7=44, Resulting Numbers: [33, 9, 44] Generated Node #0,2: 16:[33, 9, 44] Operation: 51-7=44 Exploring Operation: 33-7=26, Resulting Numbers: [51, 9, 26] Generated Node #0,3: 16:[51, 9, 26] Operation: 33-7=26 Exploring Operation: 51-9=42, Resulting Numbers: [7, 33, 42] Generated Node #0,4: 16:[7, 33, 42] Operation: 51-9=42 Moving to Node #0,1 Current State: 16:[7, 9, 18], Operations: ['51-33=18'] Exploring Operation: 18-7=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 16:[9, 11] Operation: 18-7=11 Exploring Operation: 18-9=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 16:[7, 9] Operation: 18-9=9 Exploring Operation: 9-7=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 16:[18, 2] Operation: 9-7=2 Exploring Operation: 18/9=2, Resulting Numbers: [7, 2] Generated Node #0,1,3: 16:[7, 2] Operation: 18/9=2 Exploring Operation: 7+9=16, Resulting Numbers: [18, 16] Generated Node #0,1,4: 16:[18, 16] Operation: 7+9=16 Moving to Node #0,4 Current State: 16:[7, 33, 42], Operations: ['51-9=42'] Exploring Operation: 33-7=26, Resulting Numbers: [42, 26] Generated Node #0,4,0: 16:[42, 26] Operation: 33-7=26 Exploring Operation: 42-7=35, Resulting Numbers: [33, 35] Generated Node #0,4,1: 16:[33, 35] Operation: 42-7=35 Exploring Operation: 42-33=9, Resulting Numbers: [7, 9] Generated Node #0,4,2: 16:[7, 9] Operation: 42-33=9 Exploring Operation: 7+33=40, Resulting Numbers: [42, 40] Generated Node #0,4,3: 16:[42, 40] Operation: 7+33=40 Exploring Operation: 42/7=6, Resulting Numbers: [33, 6] Generated Node #0,4,4: 16:[33, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 16:[7, 9], Operations: ['51-9=42', '42-33=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[7, 33, 51, 9], Operations: [] Exploring Operation: 51-9=42, Resulting Numbers: [7, 33, 42] Generated Node #0,4: 16:[7, 33, 42] Operation: 51-9=42 Moving to Node #0,4 Current State: 16:[7, 33, 42], Operations: ['51-9=42'] Exploring Operation: 42-33=9, Resulting Numbers: [7, 9] Generated Node #0,4,2: 16:[7, 9] Operation: 42-33=9 Moving to Node #0,4,2 Current State: 16:[7, 9], Operations: ['51-9=42', '42-33=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 62, 91, 79, 89 ]
39
[ "91-62=29", "89-79=10", "29+10=39" ]
Current State: 39:[62, 91, 79, 89], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [79, 89, 29] Generated Node #2: [79, 89, 29] from Operation: 91-62=29 Current State: 39:[79, 89, 29], Operations: ['91-62=29'] Exploring Operation: 89-79=10, Resulting Numbers: [29, 10] Generated Node #3: [29, 10] from Operation: 89-79=10 Current State: 39:[29, 10], Operations: ['91-62=29', '89-79=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[62, 91, 79, 89], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [79, 89, 29] Generated Node #0,0: 39:[79, 89, 29] Operation: 91-62=29 Exploring Operation: 91-79=12, Resulting Numbers: [62, 89, 12] Generated Node #0,1: 39:[62, 89, 12] Operation: 91-79=12 Exploring Operation: 89-79=10, Resulting Numbers: [62, 91, 10] Generated Node #0,2: 39:[62, 91, 10] Operation: 89-79=10 Exploring Operation: 91-89=2, Resulting Numbers: [62, 79, 2] Generated Node #0,3: 39:[62, 79, 2] Operation: 91-89=2 Moving to Node #0,3 Current State: 39:[62, 79, 2], Operations: ['91-89=2'] Exploring Operation: 79-62=17, Resulting Numbers: [2, 17] Generated Node #0,3,0: 39:[2, 17] Operation: 79-62=17 Exploring Operation: 62/2=31, Resulting Numbers: [79, 31] Generated Node #0,3,1: 39:[79, 31] Operation: 62/2=31 Exploring Operation: 79-2=77, Resulting Numbers: [62, 77] Generated Node #0,3,2: 39:[62, 77] Operation: 79-2=77 Exploring Operation: 62-2=60, Resulting Numbers: [79, 60] Generated Node #0,3,3: 39:[79, 60] Operation: 62-2=60 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 39:[2, 17], Operations: ['91-89=2', '79-62=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[79, 31], Operations: ['91-89=2', '62/2=31'] Exploring Operation: 79+31=110, Resulting Numbers: [110] 110,39 unequal: No Solution Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 79*31=2449, Resulting Numbers: [2449] 2449,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[62, 77], Operations: ['91-89=2', '79-2=77'] Exploring Operation: 62*77=4774, Resulting Numbers: [4774] 4774,39 unequal: No Solution Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 62+77=139, Resulting Numbers: [139] 139,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 39:[79, 60], Operations: ['91-89=2', '62-2=60'] Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,39 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,39 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,39 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: 39:[62, 89, 12], Operations: ['91-79=12'] Exploring Operation: 62-12=50, Resulting Numbers: [89, 50] Generated Node #0,1,0: 39:[89, 50] Operation: 62-12=50 Exploring Operation: 89-12=77, Resulting Numbers: [62, 77] Generated Node #0,1,1: 39:[62, 77] Operation: 89-12=77 Exploring Operation: 62+12=74, Resulting Numbers: [89, 74] Generated Node #0,1,2: 39:[89, 74] Operation: 62+12=74 Exploring Operation: 89-62=27, Resulting Numbers: [12, 27] Generated Node #0,1,3: 39:[12, 27] Operation: 89-62=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[12, 27], Operations: ['91-79=12', '89-62=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[62, 91, 79, 89], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [62, 89, 12] Generated Node #0,1: 39:[62, 89, 12] Operation: 91-79=12 Moving to Node #0,1 Current State: 39:[62, 89, 12], Operations: ['91-79=12'] Exploring Operation: 89-62=27, Resulting Numbers: [12, 27] Generated Node #0,1,3: 39:[12, 27] Operation: 89-62=27 Moving to Node #0,1,3 Current State: 39:[12, 27], Operations: ['91-79=12', '89-62=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 2, 4, 90, 20 ]
28
[ "2+90=92", "20+92=112", "112/4=28" ]
Current State: 28:[2, 4, 90, 20], Operations: [] Exploring Operation: 2+90=92, Resulting Numbers: [4, 20, 92] Generated Node #2: [4, 20, 92] from Operation: 2+90=92 Current State: 28:[4, 20, 92], Operations: ['2+90=92'] Exploring Operation: 20+92=112, Resulting Numbers: [4, 112] Generated Node #3: [4, 112] from Operation: 20+92=112 Current State: 28:[4, 112], Operations: ['2+90=92', '20+92=112'] Exploring Operation: 112/4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 4, 90, 20], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [2, 4, 70] Generated Node #0,0: 28:[2, 4, 70] Operation: 90-20=70 Exploring Operation: 90/2=45, Resulting Numbers: [4, 20, 45] Generated Node #0,1: 28:[4, 20, 45] Operation: 90/2=45 Moving to Node #0,1 Current State: 28:[4, 20, 45], Operations: ['90/2=45'] Exploring Operation: 20/4=5, Resulting Numbers: [45, 5] Generated Node #0,1,0: 28:[45, 5] Operation: 20/4=5 Exploring Operation: 45-20=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 28:[4, 25] Operation: 45-20=25 Moving to Node #0,0 Current State: 28:[2, 4, 70], Operations: ['90-20=70'] Exploring Operation: 70-4=66, Resulting Numbers: [2, 66] Generated Node #0,0,0: 28:[2, 66] Operation: 70-4=66 Exploring Operation: 70/2=35, Resulting Numbers: [4, 35] Generated Node #0,0,1: 28:[4, 35] Operation: 70/2=35 Moving to Node #0,1,1 Current State: 28:[4, 25], Operations: ['90/2=45', '45-20=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[4, 35], Operations: ['90-20=70', '70/2=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[45, 5], Operations: ['90/2=45', '20/4=5'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[2, 66], Operations: ['90-20=70', '70-4=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,28 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 77, 88, 93, 99 ]
91
[ "77+99=176", "176/88=2", "93-2=91" ]
Current State: 91:[77, 88, 93, 99], Operations: [] Exploring Operation: 77+99=176, Resulting Numbers: [88, 93, 176] Generated Node #2: [88, 93, 176] from Operation: 77+99=176 Current State: 91:[88, 93, 176], Operations: ['77+99=176'] Exploring Operation: 176/88=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 176/88=2 Current State: 91:[93, 2], Operations: ['77+99=176', '176/88=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[77, 88, 93, 99], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [93, 99, 11] Generated Node #0,0: 91:[93, 99, 11] Operation: 88-77=11 Exploring Operation: 99-77=22, Resulting Numbers: [88, 93, 22] Generated Node #0,1: 91:[88, 93, 22] Operation: 99-77=22 Exploring Operation: 99-88=11, Resulting Numbers: [77, 93, 11] Generated Node #0,2: 91:[77, 93, 11] Operation: 99-88=11 Exploring Operation: 93-77=16, Resulting Numbers: [88, 99, 16] Generated Node #0,3: 91:[88, 99, 16] Operation: 93-77=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[93, 99, 11], Operations: ['88-77=11'] Exploring Operation: 93-11=82, Resulting Numbers: [99, 82] Generated Node #0,0,0: 91:[99, 82] Operation: 93-11=82 Exploring Operation: 99-93=6, Resulting Numbers: [11, 6] Generated Node #0,0,1: 91:[11, 6] Operation: 99-93=6 Exploring Operation: 99/11=9, Resulting Numbers: [93, 9] Generated Node #0,0,2: 91:[93, 9] Operation: 99/11=9 Exploring Operation: 99-11=88, Resulting Numbers: [93, 88] Generated Node #0,0,3: 91:[93, 88] Operation: 99-11=88 Moving to Node #0,0,1 Current State: 91:[11, 6], Operations: ['88-77=11', '99-93=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[93, 9], Operations: ['88-77=11', '99/11=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,91 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,91 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[93, 88], Operations: ['88-77=11', '99-11=88'] Exploring Operation: 93*88=8184, Resulting Numbers: [8184] 8184,91 unequal: No Solution Exploring Operation: 93+88=181, Resulting Numbers: [181] 181,91 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[99, 82], Operations: ['88-77=11', '93-11=82'] Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,91 unequal: No Solution Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 99*82=8118, Resulting Numbers: [8118] 8118,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[88, 93, 22], Operations: ['99-77=22'] Exploring Operation: 93-22=71, Resulting Numbers: [88, 71] Generated Node #0,1,0: 91:[88, 71] Operation: 93-22=71 Exploring Operation: 93-88=5, Resulting Numbers: [22, 5] Generated Node #0,1,1: 91:[22, 5] Operation: 93-88=5 Exploring Operation: 88/22=4, Resulting Numbers: [93, 4] Generated Node #0,1,2: 91:[93, 4] Operation: 88/22=4 Exploring Operation: 88+22=110, Resulting Numbers: [93, 110] Generated Node #0,1,3: 91:[93, 110] Operation: 88+22=110 Moving to Node #0,1,2 Current State: 91:[93, 4], Operations: ['99-77=22', '88/22=4'] Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,91 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[22, 5], Operations: ['99-77=22', '93-88=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[93, 110], Operations: ['99-77=22', '88+22=110'] Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,91 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[88, 71], Operations: ['99-77=22', '93-22=71'] Exploring Operation: 88*71=6248, Resulting Numbers: [6248] 6248,91 unequal: No Solution Exploring Operation: 88+71=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[88, 99, 16], Operations: ['93-77=16'] Exploring Operation: 99-88=11, Resulting Numbers: [16, 11] Generated Node #0,3,0: 91:[16, 11] Operation: 99-88=11 Exploring Operation: 99-16=83, Resulting Numbers: [88, 83] Generated Node #0,3,1: 91:[88, 83] Operation: 99-16=83 Exploring Operation: 88-16=72, Resulting Numbers: [99, 72] Generated Node #0,3,2: 91:[99, 72] Operation: 88-16=72 Exploring Operation: 88+16=104, Resulting Numbers: [99, 104] Generated Node #0,3,3: 91:[99, 104] Operation: 88+16=104 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[16, 11], Operations: ['93-77=16', '99-88=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,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:[88, 83], Operations: ['93-77=16', '99-16=83'] Exploring Operation: 88*83=7304, Resulting Numbers: [7304] 7304,91 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 88+83=171, Resulting Numbers: [171] 171,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,3 Current State: 91:[99, 104], Operations: ['93-77=16', '88+16=104'] Exploring Operation: 99+104=203, Resulting Numbers: [203] 203,91 unequal: No Solution Exploring Operation: 99*104=10296, Resulting Numbers: [10296] 10296,91 unequal: No Solution Exploring Operation: 104-99=5, Resulting Numbers: [5] 5,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:[99, 72], Operations: ['93-77=16', '88-16=72'] Exploring Operation: 99+72=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 99*72=7128, Resulting Numbers: [7128] 7128,91 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[77, 93, 11], Operations: ['99-88=11'] Exploring Operation: 93-77=16, Resulting Numbers: [11, 16] Generated Node #0,2,0: 91:[11, 16] Operation: 93-77=16 Exploring Operation: 77/11=7, Resulting Numbers: [93, 7] Generated Node #0,2,1: 91:[93, 7] Operation: 77/11=7 Exploring Operation: 93-11=82, Resulting Numbers: [77, 82] Generated Node #0,2,2: 91:[77, 82] Operation: 93-11=82 Exploring Operation: 77+11=88, Resulting Numbers: [93, 88] Generated Node #0,2,3: 91:[93, 88] Operation: 77+11=88 Moving to Node #0,2,1 Current State: 91:[93, 7], Operations: ['99-88=11', '77/11=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,91 unequal: No Solution Exploring Operation: 93+7=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 93*7=651, Resulting Numbers: [651] 651,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[93, 88], Operations: ['99-88=11', '77+11=88'] Exploring Operation: 93*88=8184, Resulting Numbers: [8184] 8184,91 unequal: No Solution Exploring Operation: 93+88=181, Resulting Numbers: [181] 181,91 unequal: No Solution Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[11, 16], Operations: ['99-88=11', '93-77=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[77, 82], Operations: ['99-88=11', '93-11=82'] Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 77+82=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 77*82=6314, Resulting Numbers: [6314] 6314,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 31, 7, 71 ]
22
[ "7-4=3", "31*3=93", "93-71=22" ]
Current State: 22:[4, 31, 7, 71], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [31, 71, 3] Generated Node #2: [31, 71, 3] from Operation: 7-4=3 Current State: 22:[31, 71, 3], Operations: ['7-4=3'] Exploring Operation: 31*3=93, Resulting Numbers: [71, 93] Generated Node #3: [71, 93] from Operation: 31*3=93 Current State: 22:[71, 93], Operations: ['7-4=3', '31*3=93'] Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 31, 7, 71], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [4, 71, 24] Generated Node #0,0: 22:[4, 71, 24] Operation: 31-7=24 Exploring Operation: 71-31=40, Resulting Numbers: [4, 7, 40] Generated Node #0,1: 22:[4, 7, 40] Operation: 71-31=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[4, 7, 40], Operations: ['71-31=40'] Exploring Operation: 40/4=10, Resulting Numbers: [7, 10] Generated Node #0,1,0: 22:[7, 10] Operation: 40/4=10 Exploring Operation: 40-7=33, Resulting Numbers: [4, 33] Generated Node #0,1,1: 22:[4, 33] Operation: 40-7=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[7, 10], Operations: ['71-31=40', '40/4=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[4, 33], Operations: ['71-31=40', '40-7=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[4, 71, 24], Operations: ['31-7=24'] Exploring Operation: 71-24=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 22:[4, 47] Operation: 71-24=47 Exploring Operation: 71-4=67, Resulting Numbers: [24, 67] Generated Node #0,0,1: 22:[24, 67] Operation: 71-4=67 Moving to Node #0,0,0 Current State: 22:[4, 47], Operations: ['31-7=24', '71-24=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[24, 67], Operations: ['31-7=24', '71-4=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,22 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
[ 9, 11, 67, 5 ]
92
[ "9+11=20", "67+5=72", "20+72=92" ]
Current State: 92:[9, 11, 67, 5], Operations: [] Exploring Operation: 9+11=20, Resulting Numbers: [67, 5, 20] Generated Node #2: [67, 5, 20] from Operation: 9+11=20 Current State: 92:[67, 5, 20], Operations: ['9+11=20'] Exploring Operation: 67+5=72, Resulting Numbers: [20, 72] Generated Node #3: [20, 72] from Operation: 67+5=72 Current State: 92:[20, 72], Operations: ['9+11=20', '67+5=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 11, 67, 5], Operations: [] Exploring Operation: 67-9=58, Resulting Numbers: [11, 5, 58] Generated Node #0,0: 92:[11, 5, 58] Operation: 67-9=58 Exploring Operation: 67-11=56, Resulting Numbers: [9, 5, 56] Generated Node #0,1: 92:[9, 5, 56] Operation: 67-11=56 Exploring Operation: 11-9=2, Resulting Numbers: [67, 5, 2] Generated Node #0,2: 92:[67, 5, 2] Operation: 11-9=2 Exploring Operation: 11+67=78, Resulting Numbers: [9, 5, 78] Generated Node #0,3: 92:[9, 5, 78] Operation: 11+67=78 Moving to Node #0,1 Current State: 92:[9, 5, 56], Operations: ['67-11=56'] Exploring Operation: 9*5=45, Resulting Numbers: [56, 45] Generated Node #0,1,0: 92:[56, 45] Operation: 9*5=45 Exploring Operation: 56-9=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 92:[5, 47] Operation: 56-9=47 Exploring Operation: 56-5=51, Resulting Numbers: [9, 51] Generated Node #0,1,2: 92:[9, 51] Operation: 56-5=51 Exploring Operation: 9-5=4, Resulting Numbers: [56, 4] Generated Node #0,1,3: 92:[56, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[5, 47], Operations: ['67-11=56', '56-9=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[9, 51], Operations: ['67-11=56', '56-5=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,92 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[56, 4], Operations: ['67-11=56', '9-5=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,92 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[56, 45], Operations: ['67-11=56', '9*5=45'] Exploring Operation: 56*45=2520, Resulting Numbers: [2520] 2520,92 unequal: No Solution Exploring Operation: 56+45=101, Resulting Numbers: [101] 101,92 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,92 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: 92:[9, 5, 78], Operations: ['11+67=78'] Exploring Operation: 5+78=83, Resulting Numbers: [9, 83] Generated Node #0,3,0: 92:[9, 83] Operation: 5+78=83 Exploring Operation: 9+78=87, Resulting Numbers: [5, 87] Generated Node #0,3,1: 92:[5, 87] Operation: 9+78=87 Exploring Operation: 9*5=45, Resulting Numbers: [78, 45] Generated Node #0,3,2: 92:[78, 45] Operation: 9*5=45 Exploring Operation: 9-5=4, Resulting Numbers: [78, 4] Generated Node #0,3,3: 92:[78, 4] Operation: 9-5=4 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[5, 87], Operations: ['11+67=78', '9+78=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[9, 11, 67, 5], Operations: [] Exploring Operation: 11+67=78, Resulting Numbers: [9, 5, 78] Generated Node #0,3: 92:[9, 5, 78] Operation: 11+67=78 Moving to Node #0,3 Current State: 92:[9, 5, 78], Operations: ['11+67=78'] Exploring Operation: 9+78=87, Resulting Numbers: [5, 87] Generated Node #0,3,1: 92:[5, 87] Operation: 9+78=87 Moving to Node #0,3,1 Current State: 92:[5, 87], Operations: ['11+67=78', '9+78=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 32, 15, 22, 11 ]
62
[ "15*22=330", "330/11=30", "32+30=62" ]
Current State: 62:[32, 15, 22, 11], Operations: [] Exploring Operation: 15*22=330, Resulting Numbers: [32, 11, 330] Generated Node #2: [32, 11, 330] from Operation: 15*22=330 Current State: 62:[32, 11, 330], Operations: ['15*22=330'] Exploring Operation: 330/11=30, Resulting Numbers: [32, 30] Generated Node #3: [32, 30] from Operation: 330/11=30 Current State: 62:[32, 30], Operations: ['15*22=330', '330/11=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[32, 15, 22, 11], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [32, 11, 7] Generated Node #0,0: 62:[32, 11, 7] Operation: 22-15=7 Exploring Operation: 15-11=4, Resulting Numbers: [32, 22, 4] Generated Node #0,1: 62:[32, 22, 4] Operation: 15-11=4 Exploring Operation: 15+22=37, Resulting Numbers: [32, 11, 37] Generated Node #0,2: 62:[32, 11, 37] Operation: 15+22=37 Exploring Operation: 15+11=26, Resulting Numbers: [32, 22, 26] Generated Node #0,3: 62:[32, 22, 26] Operation: 15+11=26 Exploring Operation: 22/11=2, Resulting Numbers: [32, 15, 2] Generated Node #0,4: 62:[32, 15, 2] Operation: 22/11=2 Moving to Node #0,1 Current State: 62:[32, 22, 4], Operations: ['15-11=4'] Exploring Operation: 32+4=36, Resulting Numbers: [22, 36] Generated Node #0,1,0: 62:[22, 36] Operation: 32+4=36 Exploring Operation: 32-4=28, Resulting Numbers: [22, 28] Generated Node #0,1,1: 62:[22, 28] Operation: 32-4=28 Exploring Operation: 32-22=10, Resulting Numbers: [4, 10] Generated Node #0,1,2: 62:[4, 10] Operation: 32-22=10 Exploring Operation: 22+4=26, Resulting Numbers: [32, 26] Generated Node #0,1,3: 62:[32, 26] Operation: 22+4=26 Exploring Operation: 32+22=54, Resulting Numbers: [4, 54] Generated Node #0,1,4: 62:[4, 54] Operation: 32+22=54 Moving to Node #0,4 Current State: 62:[32, 15, 2], Operations: ['22/11=2'] Exploring Operation: 15-2=13, Resulting Numbers: [32, 13] Generated Node #0,4,0: 62:[32, 13] Operation: 15-2=13 Exploring Operation: 15*2=30, Resulting Numbers: [32, 30] Generated Node #0,4,1: 62:[32, 30] Operation: 15*2=30 Exploring Operation: 32-2=30, Resulting Numbers: [15, 30] Generated Node #0,4,2: 62:[15, 30] Operation: 32-2=30 Exploring Operation: 32+15=47, Resulting Numbers: [2, 47] Generated Node #0,4,3: 62:[2, 47] Operation: 32+15=47 Exploring Operation: 32-15=17, Resulting Numbers: [2, 17] Generated Node #0,4,4: 62:[2, 17] Operation: 32-15=17 Moving to Node #0,0 Current State: 62:[32, 11, 7], Operations: ['22-15=7'] Exploring Operation: 11*7=77, Resulting Numbers: [32, 77] Generated Node #0,0,0: 62:[32, 77] Operation: 11*7=77 Exploring Operation: 32-7=25, Resulting Numbers: [11, 25] Generated Node #0,0,1: 62:[11, 25] Operation: 32-7=25 Exploring Operation: 32-11=21, Resulting Numbers: [7, 21] Generated Node #0,0,2: 62:[7, 21] Operation: 32-11=21 Exploring Operation: 11+7=18, Resulting Numbers: [32, 18] Generated Node #0,0,3: 62:[32, 18] Operation: 11+7=18 Exploring Operation: 11-7=4, Resulting Numbers: [32, 4] Generated Node #0,0,4: 62:[32, 4] Operation: 11-7=4 Moving to Node #0,3 Current State: 62:[32, 22, 26], Operations: ['15+11=26'] Exploring Operation: 32+22=54, Resulting Numbers: [26, 54] Generated Node #0,3,0: 62:[26, 54] Operation: 32+22=54 Exploring Operation: 32-22=10, Resulting Numbers: [26, 10] Generated Node #0,3,1: 62:[26, 10] Operation: 32-22=10 Exploring Operation: 32-26=6, Resulting Numbers: [22, 6] Generated Node #0,3,2: 62:[22, 6] Operation: 32-26=6 Exploring Operation: 26-22=4, Resulting Numbers: [32, 4] Generated Node #0,3,3: 62:[32, 4] Operation: 26-22=4 Exploring Operation: 32+26=58, Resulting Numbers: [22, 58] Generated Node #0,3,4: 62:[22, 58] Operation: 32+26=58 Moving to Node #0,2 Current State: 62:[32, 11, 37], Operations: ['15+22=37'] Exploring Operation: 32+37=69, Resulting Numbers: [11, 69] Generated Node #0,2,0: 62:[11, 69] Operation: 32+37=69 Exploring Operation: 11+37=48, Resulting Numbers: [32, 48] Generated Node #0,2,1: 62:[32, 48] Operation: 11+37=48 Exploring Operation: 32-11=21, Resulting Numbers: [37, 21] Generated Node #0,2,2: 62:[37, 21] Operation: 32-11=21 Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #0,2,3: 62:[11, 5] Operation: 37-32=5 Exploring Operation: 37-11=26, Resulting Numbers: [32, 26] Generated Node #0,2,4: 62:[32, 26] Operation: 37-11=26 Moving to Node #0,4,1 Current State: 62:[32, 30], Operations: ['22/11=2', '15*2=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[32, 15, 22, 11], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [32, 15, 2] Generated Node #0,4: 62:[32, 15, 2] Operation: 22/11=2 Moving to Node #0,4 Current State: 62:[32, 15, 2], Operations: ['22/11=2'] Exploring Operation: 15*2=30, Resulting Numbers: [32, 30] Generated Node #0,4,1: 62:[32, 30] Operation: 15*2=30 Moving to Node #0,4,1 Current State: 62:[32, 30], Operations: ['22/11=2', '15*2=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.969618
hs_5
mult_heuristic
[ 45, 92, 59, 10 ]
60
[ "45*92=4140", "59+10=69", "4140/69=60" ]
Current State: 60:[45, 92, 59, 10], Operations: [] Exploring Operation: 45*92=4140, Resulting Numbers: [59, 10, 4140] Generated Node #2: [59, 10, 4140] from Operation: 45*92=4140 Current State: 60:[59, 10, 4140], Operations: ['45*92=4140'] Exploring Operation: 59+10=69, Resulting Numbers: [4140, 69] Generated Node #3: [4140, 69] from Operation: 59+10=69 Current State: 60:[4140, 69], Operations: ['45*92=4140', '59+10=69'] Exploring Operation: 4140/69=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[45, 92, 59, 10], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [59, 10, 47] Generated Node #0,0: 60:[59, 10, 47] Operation: 92-45=47 Exploring Operation: 59-45=14, Resulting Numbers: [92, 10, 14] Generated Node #0,1: 60:[92, 10, 14] Operation: 59-45=14 Exploring Operation: 92-59=33, Resulting Numbers: [45, 10, 33] Generated Node #0,2: 60:[45, 10, 33] Operation: 92-59=33 Exploring Operation: 45+10=55, Resulting Numbers: [92, 59, 55] Generated Node #0,3: 60:[92, 59, 55] Operation: 45+10=55 Moving to Node #0,0 Current State: 60:[59, 10, 47], Operations: ['92-45=47'] Exploring Operation: 10+47=57, Resulting Numbers: [59, 57] Generated Node #0,0,0: 60:[59, 57] Operation: 10+47=57 Exploring Operation: 59-47=12, Resulting Numbers: [10, 12] Generated Node #0,0,1: 60:[10, 12] Operation: 59-47=12 Exploring Operation: 59+10=69, Resulting Numbers: [47, 69] Generated Node #0,0,2: 60:[47, 69] Operation: 59+10=69 Exploring Operation: 47-10=37, Resulting Numbers: [59, 37] Generated Node #0,0,3: 60:[59, 37] Operation: 47-10=37 Moving to Node #0,2 Current State: 60:[45, 10, 33], Operations: ['92-59=33'] Exploring Operation: 45-10=35, Resulting Numbers: [33, 35] Generated Node #0,2,0: 60:[33, 35] Operation: 45-10=35 Exploring Operation: 45+33=78, Resulting Numbers: [10, 78] Generated Node #0,2,1: 60:[10, 78] Operation: 45+33=78 Exploring Operation: 45-33=12, Resulting Numbers: [10, 12] Generated Node #0,2,2: 60:[10, 12] Operation: 45-33=12 Exploring Operation: 45+10=55, Resulting Numbers: [33, 55] Generated Node #0,2,3: 60:[33, 55] Operation: 45+10=55 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[10, 12], Operations: ['92-59=33', '45-33=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[33, 35], Operations: ['92-59=33', '45-10=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 60:[33, 55], Operations: ['92-59=33', '45+10=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,60 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[10, 78], Operations: ['92-59=33', '45+33=78'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 60:[92, 10, 14], Operations: ['59-45=14'] Exploring Operation: 92-14=78, Resulting Numbers: [10, 78] Generated Node #0,1,0: 60:[10, 78] Operation: 92-14=78 Exploring Operation: 14-10=4, Resulting Numbers: [92, 4] Generated Node #0,1,1: 60:[92, 4] Operation: 14-10=4 Exploring Operation: 10+14=24, Resulting Numbers: [92, 24] Generated Node #0,1,2: 60:[92, 24] Operation: 10+14=24 Exploring Operation: 92-10=82, Resulting Numbers: [14, 82] Generated Node #0,1,3: 60:[14, 82] Operation: 92-10=82 Moving to Node #0,3 Current State: 60:[92, 59, 55], Operations: ['45+10=55'] Exploring Operation: 92-55=37, Resulting Numbers: [59, 37] Generated Node #0,3,0: 60:[59, 37] Operation: 92-55=37 Exploring Operation: 59-55=4, Resulting Numbers: [92, 4] Generated Node #0,3,1: 60:[92, 4] Operation: 59-55=4 Exploring Operation: 92-59=33, Resulting Numbers: [55, 33] Generated Node #0,3,2: 60:[55, 33] Operation: 92-59=33 Exploring Operation: 59+55=114, Resulting Numbers: [92, 114] Generated Node #0,3,3: 60:[92, 114] Operation: 59+55=114 Moving to Node #0,0,1 Current State: 60:[10, 12], Operations: ['92-45=47', '59-47=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[59, 57], Operations: ['92-45=47', '10+47=57'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 59*57=3363, Resulting Numbers: [3363] 3363,60 unequal: No Solution Exploring Operation: 59+57=116, Resulting Numbers: [116] 116,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[59, 37], Operations: ['92-45=47', '47-10=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[55, 33], Operations: ['45+10=55', '92-59=33'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 55*33=1815, Resulting Numbers: [1815] 1815,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[59, 37], Operations: ['45+10=55', '92-55=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[10, 78], Operations: ['59-45=14', '92-14=78'] Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,60 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[47, 69], Operations: ['92-45=47', '59+10=69'] Exploring Operation: 47+69=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 47*69=3243, Resulting Numbers: [3243] 3243,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[14, 82], Operations: ['59-45=14', '92-10=82'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[92, 4], Operations: ['45+10=55', '59-55=4'] Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,60 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[92, 4], Operations: ['59-45=14', '14-10=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,60 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[92, 24], Operations: ['59-45=14', '10+14=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[92, 114], Operations: ['45+10=55', '59+55=114'] Exploring Operation: 92*114=10488, Resulting Numbers: [10488] 10488,60 unequal: No Solution Exploring Operation: 92+114=206, Resulting Numbers: [206] 206,60 unequal: No Solution Exploring Operation: 114-92=22, Resulting Numbers: [22] 22,60 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 64, 99, 82, 31 ]
50
[ "64+99=163", "82+31=113", "163-113=50" ]
Current State: 50:[64, 99, 82, 31], Operations: [] Exploring Operation: 64+99=163, Resulting Numbers: [82, 31, 163] Generated Node #2: [82, 31, 163] from Operation: 64+99=163 Current State: 50:[82, 31, 163], Operations: ['64+99=163'] Exploring Operation: 82+31=113, Resulting Numbers: [163, 113] Generated Node #3: [163, 113] from Operation: 82+31=113 Current State: 50:[163, 113], Operations: ['64+99=163', '82+31=113'] Exploring Operation: 163-113=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[64, 99, 82, 31], Operations: [] Exploring Operation: 99-64=35, Resulting Numbers: [82, 31, 35] Generated Node #0,0: 50:[82, 31, 35] Operation: 99-64=35 Exploring Operation: 82-64=18, Resulting Numbers: [99, 31, 18] Generated Node #0,1: 50:[99, 31, 18] Operation: 82-64=18 Exploring Operation: 99-82=17, Resulting Numbers: [64, 31, 17] Generated Node #0,2: 50:[64, 31, 17] Operation: 99-82=17 Moving to Node #0,2 Current State: 50:[64, 31, 17], Operations: ['99-82=17'] Exploring Operation: 64-31=33, Resulting Numbers: [17, 33] Generated Node #0,2,0: 50:[17, 33] Operation: 64-31=33 Exploring Operation: 64-17=47, Resulting Numbers: [31, 47] Generated Node #0,2,1: 50:[31, 47] Operation: 64-17=47 Exploring Operation: 31+17=48, Resulting Numbers: [64, 48] Generated Node #0,2,2: 50:[64, 48] Operation: 31+17=48 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[31, 47], Operations: ['99-82=17', '64-17=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,50 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[17, 33], Operations: ['99-82=17', '64-31=33'] Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,50 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[64, 99, 82, 31], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [64, 31, 17] Generated Node #0,2: 50:[64, 31, 17] Operation: 99-82=17 Moving to Node #0,2 Current State: 50:[64, 31, 17], Operations: ['99-82=17'] Exploring Operation: 64-31=33, Resulting Numbers: [17, 33] Generated Node #0,2,0: 50:[17, 33] Operation: 64-31=33 Moving to Node #0,2,0 Current State: 50:[17, 33], Operations: ['99-82=17', '64-31=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 2, 90, 9, 33 ]
86
[ "90/9=10", "33+10=43", "2*43=86" ]
Current State: 86:[2, 90, 9, 33], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [2, 33, 10] Generated Node #2: [2, 33, 10] from Operation: 90/9=10 Current State: 86:[2, 33, 10], Operations: ['90/9=10'] Exploring Operation: 33+10=43, Resulting Numbers: [2, 43] Generated Node #3: [2, 43] from Operation: 33+10=43 Current State: 86:[2, 43], Operations: ['90/9=10', '33+10=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[2, 90, 9, 33], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [2, 33, 10] Generated Node #0,0: 86:[2, 33, 10] Operation: 90/9=10 Exploring Operation: 9+33=42, Resulting Numbers: [2, 90, 42] Generated Node #0,1: 86:[2, 90, 42] Operation: 9+33=42 Exploring Operation: 90-9=81, Resulting Numbers: [2, 33, 81] Generated Node #0,2: 86:[2, 33, 81] Operation: 90-9=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[2, 90, 42], Operations: ['9+33=42'] Exploring Operation: 2+42=44, Resulting Numbers: [90, 44] Generated Node #0,1,0: 86:[90, 44] Operation: 2+42=44 Exploring Operation: 90-2=88, Resulting Numbers: [42, 88] Generated Node #0,1,1: 86:[42, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [42, 45] Generated Node #0,1,2: 86:[42, 45] Operation: 90/2=45 Moving to Node #0,1,1 Current State: 86:[42, 88], Operations: ['9+33=42', '90-2=88'] Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,86 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,86 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[42, 45], Operations: ['9+33=42', '90/2=45'] Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[90, 44], Operations: ['9+33=42', '2+42=44'] Exploring Operation: 90+44=134, Resulting Numbers: [134] 134,86 unequal: No Solution Exploring Operation: 90*44=3960, Resulting Numbers: [3960] 3960,86 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,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,2 Current State: 86:[2, 33, 81], Operations: ['90-9=81'] Exploring Operation: 2+81=83, Resulting Numbers: [33, 83] Generated Node #0,2,0: 86:[33, 83] Operation: 2+81=83 Exploring Operation: 81-33=48, Resulting Numbers: [2, 48] Generated Node #0,2,1: 86:[2, 48] Operation: 81-33=48 Exploring Operation: 2+33=35, Resulting Numbers: [81, 35] Generated Node #0,2,2: 86:[81, 35] Operation: 2+33=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[2, 48], Operations: ['90-9=81', '81-33=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[33, 83], Operations: ['90-9=81', '2+81=83'] Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[81, 35], Operations: ['90-9=81', '2+33=35'] Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,86 unequal: No Solution Exploring Operation: 81*35=2835, Resulting Numbers: [2835] 2835,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[2, 33, 10], Operations: ['90/9=10'] Exploring Operation: 10/2=5, Resulting Numbers: [33, 5] Generated Node #0,0,0: 86:[33, 5] Operation: 10/2=5 Exploring Operation: 33+10=43, Resulting Numbers: [2, 43] Generated Node #0,0,1: 86:[2, 43] Operation: 33+10=43 Exploring Operation: 2+33=35, Resulting Numbers: [10, 35] Generated Node #0,0,2: 86:[10, 35] Operation: 2+33=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[2, 43], Operations: ['90/9=10', '33+10=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[2, 90, 9, 33], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [2, 33, 10] Generated Node #0,0: 86:[2, 33, 10] Operation: 90/9=10 Moving to Node #0,0 Current State: 86:[2, 33, 10], Operations: ['90/9=10'] Exploring Operation: 33+10=43, Resulting Numbers: [2, 43] Generated Node #0,0,1: 86:[2, 43] Operation: 33+10=43 Moving to Node #0,0,1 Current State: 86:[2, 43], Operations: ['90/9=10', '33+10=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 61, 32, 80, 85 ]
34
[ "61-32=29", "85-80=5", "29+5=34" ]
Current State: 34:[61, 32, 80, 85], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [80, 85, 29] Generated Node #2: [80, 85, 29] from Operation: 61-32=29 Current State: 34:[80, 85, 29], Operations: ['61-32=29'] Exploring Operation: 85-80=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 85-80=5 Current State: 34:[29, 5], Operations: ['61-32=29', '85-80=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[61, 32, 80, 85], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [61, 32, 5] Generated Node #0,0: 34:[61, 32, 5] Operation: 85-80=5 Exploring Operation: 85-61=24, Resulting Numbers: [32, 80, 24] Generated Node #0,1: 34:[32, 80, 24] Operation: 85-61=24 Exploring Operation: 80-61=19, Resulting Numbers: [32, 85, 19] Generated Node #0,2: 34:[32, 85, 19] Operation: 80-61=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[61, 32, 5], Operations: ['85-80=5'] Exploring Operation: 32+5=37, Resulting Numbers: [61, 37] Generated Node #0,0,0: 34:[61, 37] Operation: 32+5=37 Exploring Operation: 61-32=29, Resulting Numbers: [5, 29] Generated Node #0,0,1: 34:[5, 29] Operation: 61-32=29 Exploring Operation: 61-5=56, Resulting Numbers: [32, 56] Generated Node #0,0,2: 34:[32, 56] Operation: 61-5=56 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[5, 29], Operations: ['85-80=5', '61-32=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[61, 32, 80, 85], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [61, 32, 5] Generated Node #0,0: 34:[61, 32, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 34:[61, 32, 5], Operations: ['85-80=5'] Exploring Operation: 61-32=29, Resulting Numbers: [5, 29] Generated Node #0,0,1: 34:[5, 29] Operation: 61-32=29 Moving to Node #0,0,1 Current State: 34:[5, 29], Operations: ['85-80=5', '61-32=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 24, 4, 59, 44 ]
13
[ "24+4=28", "59-44=15", "28-15=13" ]
Current State: 13:[24, 4, 59, 44], Operations: [] Exploring Operation: 24+4=28, Resulting Numbers: [59, 44, 28] Generated Node #2: [59, 44, 28] from Operation: 24+4=28 Current State: 13:[59, 44, 28], Operations: ['24+4=28'] Exploring Operation: 59-44=15, Resulting Numbers: [28, 15] Generated Node #3: [28, 15] from Operation: 59-44=15 Current State: 13:[28, 15], Operations: ['24+4=28', '59-44=15'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[24, 4, 59, 44], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [24, 59, 11] Generated Node #0,0: 13:[24, 59, 11] Operation: 44/4=11 Exploring Operation: 59-24=35, Resulting Numbers: [4, 44, 35] Generated Node #0,1: 13:[4, 44, 35] Operation: 59-24=35 Exploring Operation: 59-44=15, Resulting Numbers: [24, 4, 15] Generated Node #0,2: 13:[24, 4, 15] Operation: 59-44=15 Exploring Operation: 44-24=20, Resulting Numbers: [4, 59, 20] Generated Node #0,3: 13:[4, 59, 20] Operation: 44-24=20 Moving to Node #0,2 Current State: 13:[24, 4, 15], Operations: ['59-44=15'] Exploring Operation: 24-4=20, Resulting Numbers: [15, 20] Generated Node #0,2,0: 13:[15, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [15, 6] Generated Node #0,2,1: 13:[15, 6] Operation: 24/4=6 Exploring Operation: 24-15=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 13:[4, 9] Operation: 24-15=9 Exploring Operation: 15-4=11, Resulting Numbers: [24, 11] Generated Node #0,2,3: 13:[24, 11] Operation: 15-4=11 Moving to Node #0,0 Current State: 13:[24, 59, 11], Operations: ['44/4=11'] Exploring Operation: 24+11=35, Resulting Numbers: [59, 35] Generated Node #0,0,0: 13:[59, 35] Operation: 24+11=35 Exploring Operation: 59-24=35, Resulting Numbers: [11, 35] Generated Node #0,0,1: 13:[11, 35] Operation: 59-24=35 Exploring Operation: 59-11=48, Resulting Numbers: [24, 48] Generated Node #0,0,2: 13:[24, 48] Operation: 59-11=48 Exploring Operation: 24-11=13, Resulting Numbers: [59, 13] Generated Node #0,0,3: 13:[59, 13] Operation: 24-11=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[11, 35], Operations: ['44/4=11', '59-24=35'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,13 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,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,0,2 Current State: 13:[24, 48], Operations: ['44/4=11', '59-11=48'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,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,0,3 Current State: 13:[59, 13], Operations: ['44/4=11', '24-11=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,13 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,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,0,0 Current State: 13:[59, 35], Operations: ['44/4=11', '24+11=35'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,13 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,13 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: 13:[4, 59, 20], Operations: ['44-24=20'] Exploring Operation: 59-4=55, Resulting Numbers: [20, 55] Generated Node #0,3,0: 13:[20, 55] Operation: 59-4=55 Exploring Operation: 59-20=39, Resulting Numbers: [4, 39] Generated Node #0,3,1: 13:[4, 39] Operation: 59-20=39 Exploring Operation: 20/4=5, Resulting Numbers: [59, 5] Generated Node #0,3,2: 13:[59, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [59, 16] Generated Node #0,3,3: 13:[59, 16] Operation: 20-4=16 Moving to Node #0,1 Current State: 13:[4, 44, 35], Operations: ['59-24=35'] Exploring Operation: 44/4=11, Resulting Numbers: [35, 11] Generated Node #0,1,0: 13:[35, 11] Operation: 44/4=11 Exploring Operation: 44-35=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 13:[4, 9] Operation: 44-35=9 Exploring Operation: 35-4=31, Resulting Numbers: [44, 31] Generated Node #0,1,2: 13:[44, 31] Operation: 35-4=31 Exploring Operation: 44-4=40, Resulting Numbers: [35, 40] Generated Node #0,1,3: 13:[35, 40] Operation: 44-4=40 Moving to Node #0,2,0 Current State: 13:[15, 20], Operations: ['59-44=15', '24-4=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[15, 6], Operations: ['59-44=15', '24/4=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[4, 9], Operations: ['59-44=15', '24-15=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[24, 4, 59, 44], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [24, 4, 15] Generated Node #0,2: 13:[24, 4, 15] Operation: 59-44=15 Moving to Node #0,2 Current State: 13:[24, 4, 15], Operations: ['59-44=15'] Exploring Operation: 24-15=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 13:[4, 9] Operation: 24-15=9 Moving to Node #0,2,2 Current State: 13:[4, 9], Operations: ['59-44=15', '24-15=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.960069
hs_4
sum_heuristic
[ 91, 97, 83, 2 ]
95
[ "97-91=6", "2*6=12", "83+12=95" ]
Current State: 95:[91, 97, 83, 2], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [83, 2, 6] Generated Node #2: [83, 2, 6] from Operation: 97-91=6 Current State: 95:[83, 2, 6], Operations: ['97-91=6'] Exploring Operation: 2*6=12, Resulting Numbers: [83, 12] Generated Node #3: [83, 12] from Operation: 2*6=12 Current State: 95:[83, 12], Operations: ['97-91=6', '2*6=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[91, 97, 83, 2], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [83, 2, 6] Generated Node #0,0: 95:[83, 2, 6] Operation: 97-91=6 Exploring Operation: 97-83=14, Resulting Numbers: [91, 2, 14] Generated Node #0,1: 95:[91, 2, 14] Operation: 97-83=14 Exploring Operation: 91-83=8, Resulting Numbers: [97, 2, 8] Generated Node #0,2: 95:[97, 2, 8] Operation: 91-83=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[97, 2, 8], Operations: ['91-83=8'] Exploring Operation: 8/2=4, Resulting Numbers: [97, 4] Generated Node #0,2,0: 95:[97, 4] Operation: 8/2=4 Exploring Operation: 97-2=95, Resulting Numbers: [8, 95] Generated Node #0,2,1: 95:[8, 95] Operation: 97-2=95 Exploring Operation: 8-2=6, Resulting Numbers: [97, 6] Generated Node #0,2,2: 95:[97, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[97, 4], Operations: ['91-83=8', '8/2=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,95 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[8, 95], Operations: ['91-83=8', '97-2=95'] Exploring Operation: 8*95=760, Resulting Numbers: [760] 760,95 unequal: No Solution Exploring Operation: 8+95=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[97, 6], Operations: ['91-83=8', '8-2=6'] Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,95 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[91, 2, 14], Operations: ['97-83=14'] Exploring Operation: 91+2=93, Resulting Numbers: [14, 93] Generated Node #0,1,0: 95:[14, 93] Operation: 91+2=93 Exploring Operation: 2+14=16, Resulting Numbers: [91, 16] Generated Node #0,1,1: 95:[91, 16] Operation: 2+14=16 Exploring Operation: 14/2=7, Resulting Numbers: [91, 7] Generated Node #0,1,2: 95:[91, 7] Operation: 14/2=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[91, 7], Operations: ['97-83=14', '14/2=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[14, 93], Operations: ['97-83=14', '91+2=93'] Exploring Operation: 14*93=1302, Resulting Numbers: [1302] 1302,95 unequal: No Solution Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 14+93=107, Resulting Numbers: [107] 107,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[91, 16], Operations: ['97-83=14', '2+14=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 91*16=1456, Resulting Numbers: [1456] 1456,95 unequal: No Solution Exploring Operation: 91+16=107, Resulting Numbers: [107] 107,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[83, 2, 6], Operations: ['97-91=6'] Exploring Operation: 83+2=85, Resulting Numbers: [6, 85] Generated Node #0,0,0: 95:[6, 85] Operation: 83+2=85 Exploring Operation: 6-2=4, Resulting Numbers: [83, 4] Generated Node #0,0,1: 95:[83, 4] Operation: 6-2=4 Exploring Operation: 83+6=89, Resulting Numbers: [2, 89] Generated Node #0,0,2: 95:[2, 89] Operation: 83+6=89 Moving to Node #0,0,2 Current State: 95:[2, 89], Operations: ['97-91=6', '83+6=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[6, 85], Operations: ['97-91=6', '83+2=85'] Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 6*85=510, Resulting Numbers: [510] 510,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[83, 4], Operations: ['97-91=6', '6-2=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,95 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,95 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
[ 60, 5, 46, 3 ]
10
[ "60/5=12", "3*12=36", "46-36=10" ]
Current State: 10:[60, 5, 46, 3], Operations: [] Exploring Operation: 60/5=12, Resulting Numbers: [46, 3, 12] Generated Node #2: [46, 3, 12] from Operation: 60/5=12 Current State: 10:[46, 3, 12], Operations: ['60/5=12'] Exploring Operation: 3*12=36, Resulting Numbers: [46, 36] Generated Node #3: [46, 36] from Operation: 3*12=36 Current State: 10:[46, 36], Operations: ['60/5=12', '3*12=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[60, 5, 46, 3], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [5, 3, 14] Generated Node #0,0: 10:[5, 3, 14] Operation: 60-46=14 Moving to Node #0,0 Current State: 10:[5, 3, 14], Operations: ['60-46=14'] Exploring Operation: 14-3=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 10:[5, 11] Operation: 14-3=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[5, 11], Operations: ['60-46=14', '14-3=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 36, 21, 66 ]
99
[ "33+21=54", "66*54=3564", "3564/36=99" ]
Current State: 99:[33, 36, 21, 66], Operations: [] Exploring Operation: 33+21=54, Resulting Numbers: [36, 66, 54] Generated Node #2: [36, 66, 54] from Operation: 33+21=54 Current State: 99:[36, 66, 54], Operations: ['33+21=54'] Exploring Operation: 66*54=3564, Resulting Numbers: [36, 3564] Generated Node #3: [36, 3564] from Operation: 66*54=3564 Current State: 99:[36, 3564], Operations: ['33+21=54', '66*54=3564'] Exploring Operation: 3564/36=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[33, 36, 21, 66], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [36, 21, 33] Generated Node #0,0: 99:[36, 21, 33] Operation: 66-33=33 Exploring Operation: 33+66=99, Resulting Numbers: [36, 21, 99] Generated Node #0,1: 99:[36, 21, 99] Operation: 33+66=99 Exploring Operation: 36+66=102, Resulting Numbers: [33, 21, 102] Generated Node #0,2: 99:[33, 21, 102] Operation: 36+66=102 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[36, 21, 33], Operations: ['66-33=33'] Exploring Operation: 33-21=12, Resulting Numbers: [36, 12] Generated Node #0,0,0: 99:[36, 12] Operation: 33-21=12 Exploring Operation: 36-33=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 99:[21, 3] Operation: 36-33=3 Exploring Operation: 36-21=15, Resulting Numbers: [33, 15] Generated Node #0,0,2: 99:[33, 15] Operation: 36-21=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[36, 12], Operations: ['66-33=33', '33-21=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[33, 15], Operations: ['66-33=33', '36-21=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,99 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,99 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[21, 3], Operations: ['66-33=33', '36-33=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[36, 21, 99], Operations: ['33+66=99'] Exploring Operation: 21+99=120, Resulting Numbers: [36, 120] Generated Node #0,1,0: 99:[36, 120] Operation: 21+99=120 Exploring Operation: 36+21=57, Resulting Numbers: [99, 57] Generated Node #0,1,1: 99:[99, 57] Operation: 36+21=57 Exploring Operation: 36-21=15, Resulting Numbers: [99, 15] Generated Node #0,1,2: 99:[99, 15] Operation: 36-21=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[99, 15], Operations: ['33+66=99', '36-21=15'] Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,99 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[36, 120], Operations: ['33+66=99', '21+99=120'] Exploring Operation: 36+120=156, Resulting Numbers: [156] 156,99 unequal: No Solution Exploring Operation: 120-36=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 36*120=4320, Resulting Numbers: [4320] 4320,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[99, 57], Operations: ['33+66=99', '36+21=57'] Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,99 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,99 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[33, 21, 102], Operations: ['36+66=102'] Exploring Operation: 33-21=12, Resulting Numbers: [102, 12] Generated Node #0,2,0: 99:[102, 12] Operation: 33-21=12 Exploring Operation: 33+21=54, Resulting Numbers: [102, 54] Generated Node #0,2,1: 99:[102, 54] Operation: 33+21=54 Exploring Operation: 102-21=81, Resulting Numbers: [33, 81] Generated Node #0,2,2: 99:[33, 81] Operation: 102-21=81 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[102, 12], Operations: ['36+66=102', '33-21=12'] Exploring Operation: 102+12=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 102*12=1224, Resulting Numbers: [1224] 1224,99 unequal: No Solution Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[33, 81], Operations: ['36+66=102', '102-21=81'] Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[102, 54], Operations: ['36+66=102', '33+21=54'] Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 102*54=5508, Resulting Numbers: [5508] 5508,99 unequal: No Solution Exploring Operation: 102+54=156, Resulting Numbers: [156] 156,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 90, 39, 13, 98 ]
65
[ "98-90=8", "13*8=104", "104-39=65" ]
Current State: 65:[90, 39, 13, 98], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [39, 13, 8] Generated Node #2: [39, 13, 8] from Operation: 98-90=8 Current State: 65:[39, 13, 8], Operations: ['98-90=8'] Exploring Operation: 13*8=104, Resulting Numbers: [39, 104] Generated Node #3: [39, 104] from Operation: 13*8=104 Current State: 65:[39, 104], Operations: ['98-90=8', '13*8=104'] Exploring Operation: 104-39=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[90, 39, 13, 98], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [90, 13, 59] Generated Node #0,0: 65:[90, 13, 59] Operation: 98-39=59 Exploring Operation: 98-90=8, Resulting Numbers: [39, 13, 8] Generated Node #0,1: 65:[39, 13, 8] Operation: 98-90=8 Exploring Operation: 90-39=51, Resulting Numbers: [13, 98, 51] Generated Node #0,2: 65:[13, 98, 51] Operation: 90-39=51 Moving to Node #0,1 Current State: 65:[39, 13, 8], Operations: ['98-90=8'] Exploring Operation: 39+13=52, Resulting Numbers: [8, 52] Generated Node #0,1,0: 65:[8, 52] Operation: 39+13=52 Exploring Operation: 39-13=26, Resulting Numbers: [8, 26] Generated Node #0,1,1: 65:[8, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 65:[8, 3] Operation: 39/13=3 Moving to Node #0,0 Current State: 65:[90, 13, 59], Operations: ['98-39=59'] Exploring Operation: 13+59=72, Resulting Numbers: [90, 72] Generated Node #0,0,0: 65:[90, 72] Operation: 13+59=72 Exploring Operation: 90-59=31, Resulting Numbers: [13, 31] Generated Node #0,0,1: 65:[13, 31] Operation: 90-59=31 Exploring Operation: 90-13=77, Resulting Numbers: [59, 77] Generated Node #0,0,2: 65:[59, 77] Operation: 90-13=77 Moving to Node #0,2 Current State: 65:[13, 98, 51], Operations: ['90-39=51'] Exploring Operation: 98-51=47, Resulting Numbers: [13, 47] Generated Node #0,2,0: 65:[13, 47] Operation: 98-51=47 Exploring Operation: 98-13=85, Resulting Numbers: [51, 85] Generated Node #0,2,1: 65:[51, 85] Operation: 98-13=85 Exploring Operation: 13+51=64, Resulting Numbers: [98, 64] Generated Node #0,2,2: 65:[98, 64] Operation: 13+51=64 Moving to Node #0,1,2 Current State: 65:[8, 3], Operations: ['98-90=8', '39/13=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[8, 26], Operations: ['98-90=8', '39-13=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[8, 52], Operations: ['98-90=8', '39+13=52'] Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,65 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[13, 47], Operations: ['90-39=51', '98-51=47'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,65 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[59, 77], Operations: ['98-39=59', '90-13=77'] Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,65 unequal: No Solution Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,65 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[13, 31], Operations: ['98-39=59', '90-59=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,65 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[90, 72], Operations: ['98-39=59', '13+59=72'] Exploring Operation: 90+72=162, Resulting Numbers: [162] 162,65 unequal: No Solution Exploring Operation: 90*72=6480, Resulting Numbers: [6480] 6480,65 unequal: No Solution Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[98, 64], Operations: ['90-39=51', '13+51=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,65 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,65 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[51, 85], Operations: ['90-39=51', '98-13=85'] Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,65 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 91, 7, 48, 60 ]
95
[ "91/7=13", "48+60=108", "108-13=95" ]
Current State: 95:[91, 7, 48, 60], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [48, 60, 13] Generated Node #2: [48, 60, 13] from Operation: 91/7=13 Current State: 95:[48, 60, 13], Operations: ['91/7=13'] Exploring Operation: 48+60=108, Resulting Numbers: [13, 108] Generated Node #3: [13, 108] from Operation: 48+60=108 Current State: 95:[13, 108], Operations: ['91/7=13', '48+60=108'] Exploring Operation: 108-13=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[91, 7, 48, 60], Operations: [] Exploring Operation: 91-60=31, Resulting Numbers: [7, 48, 31] Generated Node #0,0: 95:[7, 48, 31] Operation: 91-60=31 Exploring Operation: 48+60=108, Resulting Numbers: [91, 7, 108] Generated Node #0,1: 95:[91, 7, 108] Operation: 48+60=108 Exploring Operation: 60-48=12, Resulting Numbers: [91, 7, 12] Generated Node #0,2: 95:[91, 7, 12] Operation: 60-48=12 Moving to Node #0,2 Current State: 95:[91, 7, 12], Operations: ['60-48=12'] Exploring Operation: 91+7=98, Resulting Numbers: [12, 98] Generated Node #0,2,0: 95:[12, 98] Operation: 91+7=98 Exploring Operation: 7+12=19, Resulting Numbers: [91, 19] Generated Node #0,2,1: 95:[91, 19] Operation: 7+12=19 Exploring Operation: 12-7=5, Resulting Numbers: [91, 5] Generated Node #0,2,2: 95:[91, 5] Operation: 12-7=5 Moving to Node #0,1 Current State: 95:[91, 7, 108], Operations: ['48+60=108'] Exploring Operation: 108-91=17, Resulting Numbers: [7, 17] Generated Node #0,1,0: 95:[7, 17] Operation: 108-91=17 Exploring Operation: 108-7=101, Resulting Numbers: [91, 101] Generated Node #0,1,1: 95:[91, 101] Operation: 108-7=101 Exploring Operation: 91+7=98, Resulting Numbers: [108, 98] Generated Node #0,1,2: 95:[108, 98] Operation: 91+7=98 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[7, 17], Operations: ['48+60=108', '108-91=17'] Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,95 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[91, 101], Operations: ['48+60=108', '108-7=101'] Exploring Operation: 91+101=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 101-91=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 91*101=9191, Resulting Numbers: [9191] 9191,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[108, 98], Operations: ['48+60=108', '91+7=98'] Exploring Operation: 108*98=10584, Resulting Numbers: [10584] 10584,95 unequal: No Solution Exploring Operation: 108-98=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 108+98=206, Resulting Numbers: [206] 206,95 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: 95:[7, 48, 31], Operations: ['91-60=31'] Exploring Operation: 48+31=79, Resulting Numbers: [7, 79] Generated Node #0,0,0: 95:[7, 79] Operation: 48+31=79 Exploring Operation: 48-31=17, Resulting Numbers: [7, 17] Generated Node #0,0,1: 95:[7, 17] Operation: 48-31=17 Exploring Operation: 48-7=41, Resulting Numbers: [31, 41] Generated Node #0,0,2: 95:[31, 41] Operation: 48-7=41 Moving to Node #0,2,1 Current State: 95:[91, 19], Operations: ['60-48=12', '7+12=19'] Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,95 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[91, 5], Operations: ['60-48=12', '12-7=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,95 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[7, 17], Operations: ['91-60=31', '48-31=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[12, 98], Operations: ['60-48=12', '91+7=98'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,95 unequal: No Solution Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[7, 79], Operations: ['91-60=31', '48+31=79'] Exploring Operation: 7+79=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 7*79=553, Resulting Numbers: [553] 553,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[31, 41], Operations: ['91-60=31', '48-7=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,95 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 80, 81, 62, 38 ]
40
[ "81-62=19", "80*19=1520", "1520/38=40" ]
Current State: 40:[80, 81, 62, 38], Operations: [] Exploring Operation: 81-62=19, Resulting Numbers: [80, 38, 19] Generated Node #2: [80, 38, 19] from Operation: 81-62=19 Current State: 40:[80, 38, 19], Operations: ['81-62=19'] Exploring Operation: 80*19=1520, Resulting Numbers: [38, 1520] Generated Node #3: [38, 1520] from Operation: 80*19=1520 Current State: 40:[38, 1520], Operations: ['81-62=19', '80*19=1520'] Exploring Operation: 1520/38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[80, 81, 62, 38], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [62, 38, 1] Generated Node #0,0: 40:[62, 38, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 40:[62, 38, 1], Operations: ['81-80=1'] Exploring Operation: 62-38=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 40:[1, 24] Operation: 62-38=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[1, 24], Operations: ['81-80=1', '62-38=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 13, 78, 65 ]
83
[ "78+65=143", "143/13=11", "72+11=83" ]
Current State: 83:[72, 13, 78, 65], Operations: [] Exploring Operation: 78+65=143, Resulting Numbers: [72, 13, 143] Generated Node #2: [72, 13, 143] from Operation: 78+65=143 Current State: 83:[72, 13, 143], Operations: ['78+65=143'] Exploring Operation: 143/13=11, Resulting Numbers: [72, 11] Generated Node #3: [72, 11] from Operation: 143/13=11 Current State: 83:[72, 11], Operations: ['78+65=143', '143/13=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[72, 13, 78, 65], Operations: [] Exploring Operation: 72+13=85, Resulting Numbers: [78, 65, 85] Generated Node #0,0: 83:[78, 65, 85] Operation: 72+13=85 Exploring Operation: 13+65=78, Resulting Numbers: [72, 78, 78] Generated Node #0,1: 83:[72, 78, 78] Operation: 13+65=78 Exploring Operation: 78-13=65, Resulting Numbers: [72, 65, 65] Generated Node #0,2: 83:[72, 65, 65] Operation: 78-13=65 Exploring Operation: 72-13=59, Resulting Numbers: [78, 65, 59] Generated Node #0,3: 83:[78, 65, 59] Operation: 72-13=59 Exploring Operation: 13+78=91, Resulting Numbers: [72, 65, 91] Generated Node #0,4: 83:[72, 65, 91] Operation: 13+78=91 Moving to Node #0,1 Current State: 83:[72, 78, 78], Operations: ['13+65=78'] Exploring Operation: 72+78=150, Resulting Numbers: [78, 150] Generated Node #0,1,0: 83:[78, 150] Operation: 72+78=150 Exploring Operation: 78-72=6, Resulting Numbers: [78, 6] Generated Node #0,1,1: 83:[78, 6] Operation: 78-72=6 Exploring Operation: 72+78=150, Resulting Numbers: [78, 150] Generated Node #0,1,2: 83:[78, 150] Operation: 72+78=150 Exploring Operation: 78+78=156, Resulting Numbers: [72, 156] Generated Node #0,1,3: 83:[72, 156] Operation: 78+78=156 Exploring Operation: 78-72=6, Resulting Numbers: [78, 6] Generated Node #0,1,4: 83:[78, 6] Operation: 78-72=6 Moving to Node #0,0 Current State: 83:[78, 65, 85], Operations: ['72+13=85'] Exploring Operation: 78-65=13, Resulting Numbers: [85, 13] Generated Node #0,0,0: 83:[85, 13] Operation: 78-65=13 Exploring Operation: 85-78=7, Resulting Numbers: [65, 7] Generated Node #0,0,1: 83:[65, 7] Operation: 85-78=7 Exploring Operation: 85-65=20, Resulting Numbers: [78, 20] Generated Node #0,0,2: 83:[78, 20] Operation: 85-65=20 Exploring Operation: 78+65=143, Resulting Numbers: [85, 143] Generated Node #0,0,3: 83:[85, 143] Operation: 78+65=143 Exploring Operation: 65+85=150, Resulting Numbers: [78, 150] Generated Node #0,0,4: 83:[78, 150] Operation: 65+85=150 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[85, 143], Operations: ['72+13=85', '78+65=143'] Exploring Operation: 143-85=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 85*143=12155, Resulting Numbers: [12155] 12155,83 unequal: No Solution Exploring Operation: 85+143=228, Resulting Numbers: [228] 228,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[78, 20], Operations: ['72+13=85', '85-65=20'] Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 78*20=1560, Resulting Numbers: [1560] 1560,83 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[85, 13], Operations: ['72+13=85', '78-65=13'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[78, 150], Operations: ['72+13=85', '65+85=150'] Exploring Operation: 78+150=228, Resulting Numbers: [228] 228,83 unequal: No Solution Exploring Operation: 150-78=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 78*150=11700, Resulting Numbers: [11700] 11700,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[65, 7], Operations: ['72+13=85', '85-78=7'] Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,83 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,83 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: 83:[72, 65, 91], Operations: ['13+78=91'] Exploring Operation: 91-65=26, Resulting Numbers: [72, 26] Generated Node #0,4,0: 83:[72, 26] Operation: 91-65=26 Exploring Operation: 72-65=7, Resulting Numbers: [91, 7] Generated Node #0,4,1: 83:[91, 7] Operation: 72-65=7 Exploring Operation: 91-72=19, Resulting Numbers: [65, 19] Generated Node #0,4,2: 83:[65, 19] Operation: 91-72=19 Exploring Operation: 65+91=156, Resulting Numbers: [72, 156] Generated Node #0,4,3: 83:[72, 156] Operation: 65+91=156 Exploring Operation: 72+65=137, Resulting Numbers: [91, 137] Generated Node #0,4,4: 83:[91, 137] Operation: 72+65=137 Moving to Node #0,2 Current State: 83:[72, 65, 65], Operations: ['78-13=65'] Exploring Operation: 72+65=137, Resulting Numbers: [65, 137] Generated Node #0,2,0: 83:[65, 137] Operation: 72+65=137 Exploring Operation: 72+65=137, Resulting Numbers: [65, 137] Generated Node #0,2,1: 83:[65, 137] Operation: 72+65=137 Exploring Operation: 72-65=7, Resulting Numbers: [65, 7] Generated Node #0,2,2: 83:[65, 7] Operation: 72-65=7 Exploring Operation: 65/65=1, Resulting Numbers: [72, 1] Generated Node #0,2,3: 83:[72, 1] Operation: 65/65=1 Exploring Operation: 65+65=130, Resulting Numbers: [72, 130] Generated Node #0,2,4: 83:[72, 130] Operation: 65+65=130 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[72, 130], Operations: ['78-13=65', '65+65=130'] Exploring Operation: 72+130=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 130-72=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 72*130=9360, Resulting Numbers: [9360] 9360,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[65, 137], Operations: ['78-13=65', '72+65=137'] Exploring Operation: 137-65=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 65+137=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 65*137=8905, Resulting Numbers: [8905] 8905,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[65, 137], Operations: ['78-13=65', '72+65=137'] Exploring Operation: 65*137=8905, Resulting Numbers: [8905] 8905,83 unequal: No Solution Exploring Operation: 65+137=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 137-65=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[72, 1], Operations: ['78-13=65', '65/65=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[65, 7], Operations: ['78-13=65', '72-65=7'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,83 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 83:[78, 65, 59], Operations: ['72-13=59'] Exploring Operation: 78-59=19, Resulting Numbers: [65, 19] Generated Node #0,3,0: 83:[65, 19] Operation: 78-59=19 Exploring Operation: 65-59=6, Resulting Numbers: [78, 6] Generated Node #0,3,1: 83:[78, 6] Operation: 65-59=6 Exploring Operation: 78+65=143, Resulting Numbers: [59, 143] Generated Node #0,3,2: 83:[59, 143] Operation: 78+65=143 Exploring Operation: 65+59=124, Resulting Numbers: [78, 124] Generated Node #0,3,3: 83:[78, 124] Operation: 65+59=124 Exploring Operation: 78+59=137, Resulting Numbers: [65, 137] Generated Node #0,3,4: 83:[65, 137] Operation: 78+59=137 Moving to Node #0,3,3 Current State: 83:[78, 124], Operations: ['72-13=59', '65+59=124'] Exploring Operation: 78*124=9672, Resulting Numbers: [9672] 9672,83 unequal: No Solution Exploring Operation: 78+124=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 124-78=46, Resulting Numbers: [46] 46,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[91, 137], Operations: ['13+78=91', '72+65=137'] Exploring Operation: 91*137=12467, Resulting Numbers: [12467] 12467,83 unequal: No Solution Exploring Operation: 91+137=228, Resulting Numbers: [228] 228,83 unequal: No Solution Exploring Operation: 137-91=46, Resulting Numbers: [46] 46,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[72, 26], Operations: ['13+78=91', '91-65=26'] Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,83 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[78, 150], Operations: ['13+65=78', '72+78=150'] Exploring Operation: 78+150=228, Resulting Numbers: [228] 228,83 unequal: No Solution Exploring Operation: 78*150=11700, Resulting Numbers: [11700] 11700,83 unequal: No Solution Exploring Operation: 150-78=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[65, 137], Operations: ['72-13=59', '78+59=137'] Exploring Operation: 137-65=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 65+137=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 65*137=8905, Resulting Numbers: [8905] 8905,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[78, 150], Operations: ['13+65=78', '72+78=150'] Exploring Operation: 78+150=228, Resulting Numbers: [228] 228,83 unequal: No Solution Exploring Operation: 78*150=11700, Resulting Numbers: [11700] 11700,83 unequal: No Solution Exploring Operation: 150-78=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[78, 6], Operations: ['72-13=59', '65-59=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,83 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[65, 19], Operations: ['72-13=59', '78-59=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[78, 6], Operations: ['13+65=78', '78-72=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[78, 6], Operations: ['13+65=78', '78-72=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,83 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[65, 19], Operations: ['13+78=91', '91-72=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[72, 156], Operations: ['13+78=91', '65+91=156'] Exploring Operation: 72*156=11232, Resulting Numbers: [11232] 11232,83 unequal: No Solution Exploring Operation: 72+156=228, Resulting Numbers: [228] 228,83 unequal: No Solution Exploring Operation: 156-72=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[91, 7], Operations: ['13+78=91', '72-65=7'] Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,83 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[72, 156], Operations: ['13+65=78', '78+78=156'] Exploring Operation: 156-72=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 72*156=11232, Resulting Numbers: [11232] 11232,83 unequal: No Solution Exploring Operation: 72+156=228, Resulting Numbers: [228] 228,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[59, 143], Operations: ['72-13=59', '78+65=143'] Exploring Operation: 143-59=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 59*143=8437, Resulting Numbers: [8437] 8437,83 unequal: No Solution Exploring Operation: 59+143=202, Resulting Numbers: [202] 202,83 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 29, 11, 57 ]
82
[ "10*11=110", "57-29=28", "110-28=82" ]
Current State: 82:[10, 29, 11, 57], Operations: [] Exploring Operation: 10*11=110, Resulting Numbers: [29, 57, 110] Generated Node #2: [29, 57, 110] from Operation: 10*11=110 Current State: 82:[29, 57, 110], Operations: ['10*11=110'] Exploring Operation: 57-29=28, Resulting Numbers: [110, 28] Generated Node #3: [110, 28] from Operation: 57-29=28 Current State: 82:[110, 28], Operations: ['10*11=110', '57-29=28'] Exploring Operation: 110-28=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[10, 29, 11, 57], Operations: [] Exploring Operation: 57-10=47, Resulting Numbers: [29, 11, 47] Generated Node #0,0: 82:[29, 11, 47] Operation: 57-10=47 Exploring Operation: 10+29=39, Resulting Numbers: [11, 57, 39] Generated Node #0,1: 82:[11, 57, 39] Operation: 10+29=39 Exploring Operation: 29+57=86, Resulting Numbers: [10, 11, 86] Generated Node #0,2: 82:[10, 11, 86] Operation: 29+57=86 Exploring Operation: 29+11=40, Resulting Numbers: [10, 57, 40] Generated Node #0,3: 82:[10, 57, 40] Operation: 29+11=40 Exploring Operation: 57-11=46, Resulting Numbers: [10, 29, 46] Generated Node #0,4: 82:[10, 29, 46] Operation: 57-11=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[10, 11, 86], Operations: ['29+57=86'] Exploring Operation: 86-11=75, Resulting Numbers: [10, 75] Generated Node #0,2,0: 82:[10, 75] Operation: 86-11=75 Exploring Operation: 10+86=96, Resulting Numbers: [11, 96] Generated Node #0,2,1: 82:[11, 96] Operation: 10+86=96 Exploring Operation: 86-10=76, Resulting Numbers: [11, 76] Generated Node #0,2,2: 82:[11, 76] Operation: 86-10=76 Exploring Operation: 11-10=1, Resulting Numbers: [86, 1] Generated Node #0,2,3: 82:[86, 1] Operation: 11-10=1 Exploring Operation: 10+11=21, Resulting Numbers: [86, 21] Generated Node #0,2,4: 82:[86, 21] Operation: 10+11=21 Moving to Node #0,2,3 Current State: 82:[86, 1], Operations: ['29+57=86', '11-10=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,82 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[11, 76], Operations: ['29+57=86', '86-10=76'] Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,82 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[10, 75], Operations: ['29+57=86', '86-11=75'] Exploring Operation: 10+75=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 10*75=750, Resulting Numbers: [750] 750,82 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[11, 96], Operations: ['29+57=86', '10+86=96'] Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,82 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[86, 21], Operations: ['29+57=86', '10+11=21'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 86*21=1806, Resulting Numbers: [1806] 1806,82 unequal: No Solution Exploring Operation: 86+21=107, Resulting Numbers: [107] 107,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:[10, 57, 40], Operations: ['29+11=40'] Exploring Operation: 10+57=67, Resulting Numbers: [40, 67] Generated Node #0,3,0: 82:[40, 67] Operation: 10+57=67 Exploring Operation: 40/10=4, Resulting Numbers: [57, 4] Generated Node #0,3,1: 82:[57, 4] Operation: 40/10=4 Exploring Operation: 57-10=47, Resulting Numbers: [40, 47] Generated Node #0,3,2: 82:[40, 47] Operation: 57-10=47 Exploring Operation: 57-40=17, Resulting Numbers: [10, 17] Generated Node #0,3,3: 82:[10, 17] Operation: 57-40=17 Exploring Operation: 57+40=97, Resulting Numbers: [10, 97] Generated Node #0,3,4: 82:[10, 97] Operation: 57+40=97 Moving to Node #0,3,2 Current State: 82:[40, 47], Operations: ['29+11=40', '57-10=47'] Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 40*47=1880, Resulting Numbers: [1880] 1880,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[40, 67], Operations: ['29+11=40', '10+57=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[57, 4], Operations: ['29+11=40', '40/10=4'] Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,82 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[10, 17], Operations: ['29+11=40', '57-40=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[10, 97], Operations: ['29+11=40', '57+40=97'] Exploring Operation: 10+97=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 10*97=970, Resulting Numbers: [970] 970,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,4 Current State: 82:[10, 29, 46], Operations: ['57-11=46'] Exploring Operation: 46-10=36, Resulting Numbers: [29, 36] Generated Node #0,4,0: 82:[29, 36] Operation: 46-10=36 Exploring Operation: 46-29=17, Resulting Numbers: [10, 17] Generated Node #0,4,1: 82:[10, 17] Operation: 46-29=17 Exploring Operation: 10+29=39, Resulting Numbers: [46, 39] Generated Node #0,4,2: 82:[46, 39] Operation: 10+29=39 Exploring Operation: 29+46=75, Resulting Numbers: [10, 75] Generated Node #0,4,3: 82:[10, 75] Operation: 29+46=75 Exploring Operation: 29-10=19, Resulting Numbers: [46, 19] Generated Node #0,4,4: 82:[46, 19] Operation: 29-10=19 Moving to Node #0,4,2 Current State: 82:[46, 39], Operations: ['57-11=46', '10+29=39'] Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,82 unequal: No Solution Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[10, 75], Operations: ['57-11=46', '29+46=75'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 10*75=750, Resulting Numbers: [750] 750,82 unequal: No Solution Exploring Operation: 10+75=85, Resulting Numbers: [85] 85,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[29, 36], Operations: ['57-11=46', '46-10=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,82 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[46, 19], Operations: ['57-11=46', '29-10=19'] Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,82 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[10, 17], Operations: ['57-11=46', '46-29=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,82 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,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:[29, 11, 47], Operations: ['57-10=47'] Exploring Operation: 47-11=36, Resulting Numbers: [29, 36] Generated Node #0,0,0: 82:[29, 36] Operation: 47-11=36 Exploring Operation: 29-11=18, Resulting Numbers: [47, 18] Generated Node #0,0,1: 82:[47, 18] Operation: 29-11=18 Exploring Operation: 29+47=76, Resulting Numbers: [11, 76] Generated Node #0,0,2: 82:[11, 76] Operation: 29+47=76 Exploring Operation: 29+11=40, Resulting Numbers: [47, 40] Generated Node #0,0,3: 82:[47, 40] Operation: 29+11=40 Exploring Operation: 47-29=18, Resulting Numbers: [11, 18] Generated Node #0,0,4: 82:[11, 18] Operation: 47-29=18 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[47, 40], Operations: ['57-10=47', '29+11=40'] Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,82 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,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,0,2 Current State: 82:[11, 76], Operations: ['57-10=47', '29+47=76'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,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,0,0 Current State: 82:[29, 36], Operations: ['57-10=47', '47-11=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,82 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,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,0,1 Current State: 82:[47, 18], Operations: ['57-10=47', '29-11=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,82 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,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,0,4 Current State: 82:[11, 18], Operations: ['57-10=47', '47-29=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[11, 57, 39], Operations: ['10+29=39'] Exploring Operation: 57+39=96, Resulting Numbers: [11, 96] Generated Node #0,1,0: 82:[11, 96] Operation: 57+39=96 Exploring Operation: 11+57=68, Resulting Numbers: [39, 68] Generated Node #0,1,1: 82:[39, 68] Operation: 11+57=68 Exploring Operation: 57-39=18, Resulting Numbers: [11, 18] Generated Node #0,1,2: 82:[11, 18] Operation: 57-39=18 Exploring Operation: 11+39=50, Resulting Numbers: [57, 50] Generated Node #0,1,3: 82:[57, 50] Operation: 11+39=50 Exploring Operation: 57-11=46, Resulting Numbers: [39, 46] Generated Node #0,1,4: 82:[39, 46] Operation: 57-11=46 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 82:[39, 46], Operations: ['10+29=39', '57-11=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,82 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,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,1,1 Current State: 82:[39, 68], Operations: ['10+29=39', '11+57=68'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 39+68=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 39*68=2652, Resulting Numbers: [2652] 2652,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,1,0 Current State: 82:[11, 96], Operations: ['10+29=39', '57+39=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 11*96=1056, Resulting Numbers: [1056] 1056,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,1,2 Current State: 82:[11, 18], Operations: ['10+29=39', '57-39=18'] Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,82 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,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,1,3 Current State: 82:[57, 50], Operations: ['10+29=39', '11+39=50'] Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,82 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,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_5
sum_heuristic
[ 28, 8, 34, 69 ]
56
[ "28+34=62", "69-62=7", "8*7=56" ]
Current State: 56:[28, 8, 34, 69], Operations: [] Exploring Operation: 28+34=62, Resulting Numbers: [8, 69, 62] Generated Node #2: [8, 69, 62] from Operation: 28+34=62 Current State: 56:[8, 69, 62], Operations: ['28+34=62'] Exploring Operation: 69-62=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 69-62=7 Current State: 56:[8, 7], Operations: ['28+34=62', '69-62=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 8, 34, 69], Operations: [] Exploring Operation: 69-8=61, Resulting Numbers: [28, 34, 61] Generated Node #0,0: 56:[28, 34, 61] Operation: 69-8=61 Exploring Operation: 34-28=6, Resulting Numbers: [8, 69, 6] Generated Node #0,1: 56:[8, 69, 6] Operation: 34-28=6 Exploring Operation: 69-34=35, Resulting Numbers: [28, 8, 35] Generated Node #0,2: 56:[28, 8, 35] Operation: 69-34=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[28, 8, 35], Operations: ['69-34=35'] Exploring Operation: 35-28=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 56:[8, 7] Operation: 35-28=7 Exploring Operation: 28+35=63, Resulting Numbers: [8, 63] Generated Node #0,2,1: 56:[8, 63] Operation: 28+35=63 Exploring Operation: 35-8=27, Resulting Numbers: [28, 27] Generated Node #0,2,2: 56:[28, 27] Operation: 35-8=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[8, 7], Operations: ['69-34=35', '35-28=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[28, 8, 34, 69], Operations: [] Exploring Operation: 69-34=35, Resulting Numbers: [28, 8, 35] Generated Node #0,2: 56:[28, 8, 35] Operation: 69-34=35 Moving to Node #0,2 Current State: 56:[28, 8, 35], Operations: ['69-34=35'] Exploring Operation: 35-28=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 56:[8, 7] Operation: 35-28=7 Moving to Node #0,2,0 Current State: 56:[8, 7], Operations: ['69-34=35', '35-28=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 10, 41, 93, 74 ]
70
[ "10+41=51", "93-74=19", "51+19=70" ]
Current State: 70:[10, 41, 93, 74], Operations: [] Exploring Operation: 10+41=51, Resulting Numbers: [93, 74, 51] Generated Node #2: [93, 74, 51] from Operation: 10+41=51 Current State: 70:[93, 74, 51], Operations: ['10+41=51'] Exploring Operation: 93-74=19, Resulting Numbers: [51, 19] Generated Node #3: [51, 19] from Operation: 93-74=19 Current State: 70:[51, 19], Operations: ['10+41=51', '93-74=19'] Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 41, 93, 74], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [10, 41, 19] Generated Node #0,0: 70:[10, 41, 19] Operation: 93-74=19 Exploring Operation: 93-10=83, Resulting Numbers: [41, 74, 83] Generated Node #0,1: 70:[41, 74, 83] Operation: 93-10=83 Exploring Operation: 93-41=52, Resulting Numbers: [10, 74, 52] Generated Node #0,2: 70:[10, 74, 52] Operation: 93-41=52 Moving to Node #0,0 Current State: 70:[10, 41, 19], Operations: ['93-74=19'] Exploring Operation: 19-10=9, Resulting Numbers: [41, 9] Generated Node #0,0,0: 70:[41, 9] Operation: 19-10=9 Exploring Operation: 41-10=31, Resulting Numbers: [19, 31] Generated Node #0,0,1: 70:[19, 31] Operation: 41-10=31 Exploring Operation: 41-19=22, Resulting Numbers: [10, 22] Generated Node #0,0,2: 70:[10, 22] Operation: 41-19=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[41, 9], Operations: ['93-74=19', '19-10=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,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,2 Current State: 70:[10, 22], Operations: ['93-74=19', '41-19=22'] Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,70 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,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:[19, 31], Operations: ['93-74=19', '41-10=31'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,70 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: 70:[10, 74, 52], Operations: ['93-41=52'] Exploring Operation: 74-52=22, Resulting Numbers: [10, 22] Generated Node #0,2,0: 70:[10, 22] Operation: 74-52=22 Exploring Operation: 10+52=62, Resulting Numbers: [74, 62] Generated Node #0,2,1: 70:[74, 62] Operation: 10+52=62 Exploring Operation: 52-10=42, Resulting Numbers: [74, 42] Generated Node #0,2,2: 70:[74, 42] Operation: 52-10=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[10, 22], Operations: ['93-41=52', '74-52=22'] Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,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,2,2 Current State: 70:[74, 42], Operations: ['93-41=52', '52-10=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,70 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,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,2,1 Current State: 70:[74, 62], Operations: ['93-41=52', '10+52=62'] Exploring Operation: 74*62=4588, Resulting Numbers: [4588] 4588,70 unequal: No Solution Exploring Operation: 74+62=136, Resulting Numbers: [136] 136,70 unequal: No Solution Exploring Operation: 74-62=12, Resulting Numbers: [12] 12,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:[41, 74, 83], Operations: ['93-10=83'] Exploring Operation: 83-41=42, Resulting Numbers: [74, 42] Generated Node #0,1,0: 70:[74, 42] Operation: 83-41=42 Exploring Operation: 83-74=9, Resulting Numbers: [41, 9] Generated Node #0,1,1: 70:[41, 9] Operation: 83-74=9 Exploring Operation: 74-41=33, Resulting Numbers: [83, 33] Generated Node #0,1,2: 70:[83, 33] Operation: 74-41=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[41, 9], Operations: ['93-10=83', '83-74=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,70 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,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,0 Current State: 70:[74, 42], Operations: ['93-10=83', '83-41=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,70 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,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,2 Current State: 70:[83, 33], Operations: ['93-10=83', '74-41=33'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 83*33=2739, Resulting Numbers: [2739] 2739,70 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,70 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
[ 59, 3, 58, 56 ]
51
[ "59+58=117", "3*56=168", "168-117=51" ]
Current State: 51:[59, 3, 58, 56], Operations: [] Exploring Operation: 59+58=117, Resulting Numbers: [3, 56, 117] Generated Node #2: [3, 56, 117] from Operation: 59+58=117 Current State: 51:[3, 56, 117], Operations: ['59+58=117'] Exploring Operation: 3*56=168, Resulting Numbers: [117, 168] Generated Node #3: [117, 168] from Operation: 3*56=168 Current State: 51:[117, 168], Operations: ['59+58=117', '3*56=168'] Exploring Operation: 168-117=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 3, 58, 56], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [3, 58, 3] Generated Node #0,0: 51:[3, 58, 3] Operation: 59-56=3 Exploring Operation: 58-56=2, Resulting Numbers: [59, 3, 2] Generated Node #0,1: 51:[59, 3, 2] Operation: 58-56=2 Exploring Operation: 59-58=1, Resulting Numbers: [3, 56, 1] Generated Node #0,2: 51:[3, 56, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 58, 3], Operations: ['59-56=3'] Exploring Operation: 3/3=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 51:[58, 1] Operation: 3/3=1 Exploring Operation: 58-3=55, Resulting Numbers: [3, 55] Generated Node #0,0,1: 51:[3, 55] Operation: 58-3=55 Exploring Operation: 58-3=55, Resulting Numbers: [3, 55] Generated Node #0,0,2: 51:[3, 55] Operation: 58-3=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[3, 55], Operations: ['59-56=3', '58-3=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,51 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,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,2 Current State: 51:[3, 55], Operations: ['59-56=3', '58-3=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,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,0 Current State: 51:[58, 1], Operations: ['59-56=3', '3/3=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,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,2 Current State: 51:[3, 56, 1], Operations: ['59-58=1'] Exploring Operation: 3*1=3, Resulting Numbers: [56, 3] Generated Node #0,2,0: 51:[56, 3] Operation: 3*1=3 Exploring Operation: 56-3=53, Resulting Numbers: [1, 53] Generated Node #0,2,1: 51:[1, 53] Operation: 56-3=53 Exploring Operation: 56-1=55, Resulting Numbers: [3, 55] Generated Node #0,2,2: 51:[3, 55] Operation: 56-1=55 Moving to Node #0,2,1 Current State: 51:[1, 53], Operations: ['59-58=1', '56-3=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[3, 55], Operations: ['59-58=1', '56-1=55'] Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,51 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[56, 3], Operations: ['59-58=1', '3*1=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,51 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,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:[59, 3, 2], Operations: ['58-56=2'] Exploring Operation: 59+2=61, Resulting Numbers: [3, 61] Generated Node #0,1,0: 51:[3, 61] Operation: 59+2=61 Exploring Operation: 59-2=57, Resulting Numbers: [3, 57] Generated Node #0,1,1: 51:[3, 57] Operation: 59-2=57 Exploring Operation: 59-3=56, Resulting Numbers: [2, 56] Generated Node #0,1,2: 51:[2, 56] Operation: 59-3=56 Moving to Node #0,1,1 Current State: 51:[3, 57], Operations: ['58-56=2', '59-2=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[2, 56], Operations: ['58-56=2', '59-3=56'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[3, 61], Operations: ['58-56=2', '59+2=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,51 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,51 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
[ 63, 6, 83, 8 ]
19
[ "63+6=69", "83+69=152", "152/8=19" ]
Current State: 19:[63, 6, 83, 8], Operations: [] Exploring Operation: 63+6=69, Resulting Numbers: [83, 8, 69] Generated Node #2: [83, 8, 69] from Operation: 63+6=69 Current State: 19:[83, 8, 69], Operations: ['63+6=69'] Exploring Operation: 83+69=152, Resulting Numbers: [8, 152] Generated Node #3: [8, 152] from Operation: 83+69=152 Current State: 19:[8, 152], Operations: ['63+6=69', '83+69=152'] Exploring Operation: 152/8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 6, 83, 8], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [63, 8, 77] Generated Node #0,0: 19:[63, 8, 77] Operation: 83-6=77 Exploring Operation: 63-6=57, Resulting Numbers: [83, 8, 57] Generated Node #0,1: 19:[83, 8, 57] Operation: 63-6=57 Exploring Operation: 83-63=20, Resulting Numbers: [6, 8, 20] Generated Node #0,2: 19:[6, 8, 20] Operation: 83-63=20 Exploring Operation: 63-8=55, Resulting Numbers: [6, 83, 55] Generated Node #0,3: 19:[6, 83, 55] Operation: 63-8=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[6, 8, 20], Operations: ['83-63=20'] Exploring Operation: 8-6=2, Resulting Numbers: [20, 2] Generated Node #0,2,0: 19:[20, 2] Operation: 8-6=2 Exploring Operation: 20-6=14, Resulting Numbers: [8, 14] Generated Node #0,2,1: 19:[8, 14] Operation: 20-6=14 Exploring Operation: 6+20=26, Resulting Numbers: [8, 26] Generated Node #0,2,2: 19:[8, 26] Operation: 6+20=26 Exploring Operation: 6+8=14, Resulting Numbers: [20, 14] Generated Node #0,2,3: 19:[20, 14] Operation: 6+8=14 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[20, 14], Operations: ['83-63=20', '6+8=14'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,19 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,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:[8, 14], Operations: ['83-63=20', '20-6=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,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:[20, 2], Operations: ['83-63=20', '8-6=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,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,2 Current State: 19:[8, 26], Operations: ['83-63=20', '6+20=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,19 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,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,0 Current State: 19:[63, 8, 77], Operations: ['83-6=77'] Exploring Operation: 77-63=14, Resulting Numbers: [8, 14] Generated Node #0,0,0: 19:[8, 14] Operation: 77-63=14 Exploring Operation: 63+8=71, Resulting Numbers: [77, 71] Generated Node #0,0,1: 19:[77, 71] Operation: 63+8=71 Exploring Operation: 77-8=69, Resulting Numbers: [63, 69] Generated Node #0,0,2: 19:[63, 69] Operation: 77-8=69 Exploring Operation: 63-8=55, Resulting Numbers: [77, 55] Generated Node #0,0,3: 19:[77, 55] Operation: 63-8=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[8, 14], Operations: ['83-6=77', '77-63=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,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,0,2 Current State: 19:[63, 69], Operations: ['83-6=77', '77-8=69'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 63+69=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 63*69=4347, Resulting Numbers: [4347] 4347,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,0,3 Current State: 19:[77, 55], Operations: ['83-6=77', '63-8=55'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 77+55=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 77*55=4235, Resulting Numbers: [4235] 4235,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,0,1 Current State: 19:[77, 71], Operations: ['83-6=77', '63+8=71'] Exploring Operation: 77+71=148, Resulting Numbers: [148] 148,19 unequal: No Solution Exploring Operation: 77*71=5467, Resulting Numbers: [5467] 5467,19 unequal: No Solution Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,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,1 Current State: 19:[83, 8, 57], Operations: ['63-6=57'] Exploring Operation: 57-8=49, Resulting Numbers: [83, 49] Generated Node #0,1,0: 19:[83, 49] Operation: 57-8=49 Exploring Operation: 83-57=26, Resulting Numbers: [8, 26] Generated Node #0,1,1: 19:[8, 26] Operation: 83-57=26 Exploring Operation: 83-8=75, Resulting Numbers: [57, 75] Generated Node #0,1,2: 19:[57, 75] Operation: 83-8=75 Exploring Operation: 83+8=91, Resulting Numbers: [57, 91] Generated Node #0,1,3: 19:[57, 91] Operation: 83+8=91 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[8, 26], Operations: ['63-6=57', '83-57=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,19 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,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,1,0 Current State: 19:[83, 49], Operations: ['63-6=57', '57-8=49'] Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,19 unequal: No Solution Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,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,1,2 Current State: 19:[57, 75], Operations: ['63-6=57', '83-8=75'] Exploring Operation: 57*75=4275, Resulting Numbers: [4275] 4275,19 unequal: No Solution Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 57+75=132, Resulting Numbers: [132] 132,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,1,3 Current State: 19:[57, 91], Operations: ['63-6=57', '83+8=91'] Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,19 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,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:[6, 83, 55], Operations: ['63-8=55'] Exploring Operation: 6+83=89, Resulting Numbers: [55, 89] Generated Node #0,3,0: 19:[55, 89] Operation: 6+83=89 Exploring Operation: 83-55=28, Resulting Numbers: [6, 28] Generated Node #0,3,1: 19:[6, 28] Operation: 83-55=28 Exploring Operation: 83-6=77, Resulting Numbers: [55, 77] Generated Node #0,3,2: 19:[55, 77] Operation: 83-6=77 Exploring Operation: 55-6=49, Resulting Numbers: [83, 49] Generated Node #0,3,3: 19:[83, 49] Operation: 55-6=49 Moving to Node #0,3,1 Current State: 19:[6, 28], Operations: ['63-8=55', '83-55=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,19 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[83, 49], Operations: ['63-8=55', '55-6=49'] Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[55, 77], Operations: ['63-8=55', '83-6=77'] Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,19 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[55, 89], Operations: ['63-8=55', '6+83=89'] Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 55*89=4895, Resulting Numbers: [4895] 4895,19 unequal: No Solution Exploring Operation: 55+89=144, Resulting Numbers: [144] 144,19 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