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
[ 50, 45, 54, 12 ]
60
[ "45*12=540", "540/54=10", "50+10=60" ]
Current State: 60:[50, 45, 54, 12], Operations: [] Exploring Operation: 45*12=540, Resulting Numbers: [50, 54, 540] Generated Node #2: [50, 54, 540] from Operation: 45*12=540 Current State: 60:[50, 54, 540], Operations: ['45*12=540'] Exploring Operation: 540/54=10, Resulting Numbers: [50, 10] Generated Node #3: [50, 10] from Operation: 540/54=10 Current State: 60:[50, 10], Operations: ['45*12=540', '540/54=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[50, 45, 54, 12], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [54, 12, 5] Generated Node #0,0: 60:[54, 12, 5] Operation: 50-45=5 Exploring Operation: 45+12=57, Resulting Numbers: [50, 54, 57] Generated Node #0,1: 60:[50, 54, 57] Operation: 45+12=57 Exploring Operation: 54-45=9, Resulting Numbers: [50, 12, 9] Generated Node #0,2: 60:[50, 12, 9] Operation: 54-45=9 Exploring Operation: 54-50=4, Resulting Numbers: [45, 12, 4] Generated Node #0,3: 60:[45, 12, 4] Operation: 54-50=4 Exploring Operation: 45-12=33, Resulting Numbers: [50, 54, 33] Generated Node #0,4: 60:[50, 54, 33] Operation: 45-12=33 Moving to Node #0,0 Current State: 60:[54, 12, 5], Operations: ['50-45=5'] Exploring Operation: 12*5=60, Resulting Numbers: [54, 60] Generated Node #0,0,0: 60:[54, 60] Operation: 12*5=60 Exploring Operation: 54+12=66, Resulting Numbers: [5, 66] Generated Node #0,0,1: 60:[5, 66] Operation: 54+12=66 Exploring Operation: 12-5=7, Resulting Numbers: [54, 7] Generated Node #0,0,2: 60:[54, 7] Operation: 12-5=7 Exploring Operation: 54+5=59, Resulting Numbers: [12, 59] Generated Node #0,0,3: 60:[12, 59] Operation: 54+5=59 Exploring Operation: 12+5=17, Resulting Numbers: [54, 17] Generated Node #0,0,4: 60:[54, 17] Operation: 12+5=17 Moving to Node #0,2 Current State: 60:[50, 12, 9], Operations: ['54-45=9'] Exploring Operation: 50+9=59, Resulting Numbers: [12, 59] Generated Node #0,2,0: 60:[12, 59] Operation: 50+9=59 Exploring Operation: 50-12=38, Resulting Numbers: [9, 38] Generated Node #0,2,1: 60:[9, 38] Operation: 50-12=38 Exploring Operation: 50-9=41, Resulting Numbers: [12, 41] Generated Node #0,2,2: 60:[12, 41] Operation: 50-9=41 Exploring Operation: 12-9=3, Resulting Numbers: [50, 3] Generated Node #0,2,3: 60:[50, 3] Operation: 12-9=3 Exploring Operation: 50+12=62, Resulting Numbers: [9, 62] Generated Node #0,2,4: 60:[9, 62] Operation: 50+12=62 Moving to Node #0,3 Current State: 60:[45, 12, 4], Operations: ['54-50=4'] Exploring Operation: 45+4=49, Resulting Numbers: [12, 49] Generated Node #0,3,0: 60:[12, 49] Operation: 45+4=49 Exploring Operation: 45-12=33, Resulting Numbers: [4, 33] Generated Node #0,3,1: 60:[4, 33] Operation: 45-12=33 Exploring Operation: 45-4=41, Resulting Numbers: [12, 41] Generated Node #0,3,2: 60:[12, 41] Operation: 45-4=41 Exploring Operation: 12/4=3, Resulting Numbers: [45, 3] Generated Node #0,3,3: 60:[45, 3] Operation: 12/4=3 Exploring Operation: 45+12=57, Resulting Numbers: [4, 57] Generated Node #0,3,4: 60:[4, 57] Operation: 45+12=57 Moving to Node #0,1 Current State: 60:[50, 54, 57], Operations: ['45+12=57'] Exploring Operation: 54-50=4, Resulting Numbers: [57, 4] Generated Node #0,1,0: 60:[57, 4] Operation: 54-50=4 Exploring Operation: 57-54=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 60:[50, 3] Operation: 57-54=3 Exploring Operation: 57-50=7, Resulting Numbers: [54, 7] Generated Node #0,1,2: 60:[54, 7] Operation: 57-50=7 Exploring Operation: 50+54=104, Resulting Numbers: [57, 104] Generated Node #0,1,3: 60:[57, 104] Operation: 50+54=104 Exploring Operation: 50+57=107, Resulting Numbers: [54, 107] Generated Node #0,1,4: 60:[54, 107] Operation: 50+57=107 Moving to Node #0,4 Current State: 60:[50, 54, 33], Operations: ['45-12=33'] Exploring Operation: 54-33=21, Resulting Numbers: [50, 21] Generated Node #0,4,0: 60:[50, 21] Operation: 54-33=21 Exploring Operation: 50+33=83, Resulting Numbers: [54, 83] Generated Node #0,4,1: 60:[54, 83] Operation: 50+33=83 Exploring Operation: 54+33=87, Resulting Numbers: [50, 87] Generated Node #0,4,2: 60:[50, 87] Operation: 54+33=87 Exploring Operation: 54-50=4, Resulting Numbers: [33, 4] Generated Node #0,4,3: 60:[33, 4] Operation: 54-50=4 Exploring Operation: 50-33=17, Resulting Numbers: [54, 17] Generated Node #0,4,4: 60:[54, 17] Operation: 50-33=17 Moving to Node #0,0,3 Current State: 60:[12, 59], Operations: ['50-45=5', '54+5=59'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[12, 59], Operations: ['54-45=9', '50+9=59'] Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,60 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,60 unequal: No Solution Moving to Node #0,2,4 Current State: 60:[9, 62], Operations: ['54-45=9', '50+12=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,60 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[4, 57], Operations: ['54-50=4', '45+12=57'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[4, 33], Operations: ['54-50=4', '45-12=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,60 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[33, 4], Operations: ['45-12=33', '54-50=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[57, 4], Operations: ['45+12=57', '54-50=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,60 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[5, 66], Operations: ['50-45=5', '54+12=66'] Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,60 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[54, 60], Operations: ['50-45=5', '12*5=60'] Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,60 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[54, 7], Operations: ['50-45=5', '12-5=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[54, 7], Operations: ['45+12=57', '57-50=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[54, 17], Operations: ['50-45=5', '12+5=17'] Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,60 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[54, 17], Operations: ['45-12=33', '50-33=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[9, 38], Operations: ['54-45=9', '50-12=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[50, 3], Operations: ['54-45=9', '12-9=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,60 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[50, 3], Operations: ['45+12=57', '57-54=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[12, 41], Operations: ['54-50=4', '45-4=41'] Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,60 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[12, 49], Operations: ['54-50=4', '45+4=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,60 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,60 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[12, 41], Operations: ['54-45=9', '50-9=41'] Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,60 unequal: No Solution Moving to Node #0,4,0 Current State: 60:[50, 21], Operations: ['45-12=33', '54-33=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,60 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,60 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[45, 3], Operations: ['54-50=4', '12/4=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[54, 83], Operations: ['45-12=33', '50+33=83'] Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 54*83=4482, Resulting Numbers: [4482] 4482,60 unequal: No Solution Exploring Operation: 54+83=137, Resulting Numbers: [137] 137,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[50, 87], Operations: ['45-12=33', '54+33=87'] Exploring Operation: 50+87=137, Resulting Numbers: [137] 137,60 unequal: No Solution Exploring Operation: 50*87=4350, Resulting Numbers: [4350] 4350,60 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[57, 104], Operations: ['45+12=57', '50+54=104'] Exploring Operation: 57*104=5928, Resulting Numbers: [5928] 5928,60 unequal: No Solution Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 57+104=161, Resulting Numbers: [161] 161,60 unequal: No Solution Moving to Node #0,1,4 Current State: 60:[54, 107], Operations: ['45+12=57', '50+57=107'] Exploring Operation: 107-54=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 54*107=5778, Resulting Numbers: [5778] 5778,60 unequal: No Solution Exploring Operation: 54+107=161, Resulting Numbers: [161] 161,60 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 42, 54, 15, 69 ]
71
[ "42-15=27", "54/27=2", "69+2=71" ]
Current State: 71:[42, 54, 15, 69], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [54, 69, 27] Generated Node #2: [54, 69, 27] from Operation: 42-15=27 Current State: 71:[54, 69, 27], Operations: ['42-15=27'] Exploring Operation: 54/27=2, Resulting Numbers: [69, 2] Generated Node #3: [69, 2] from Operation: 54/27=2 Current State: 71:[69, 2], Operations: ['42-15=27', '54/27=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 54, 15, 69], Operations: [] Exploring Operation: 15+69=84, Resulting Numbers: [42, 54, 84] Generated Node #0,0: 71:[42, 54, 84] Operation: 15+69=84 Exploring Operation: 42-15=27, Resulting Numbers: [54, 69, 27] Generated Node #0,1: 71:[54, 69, 27] Operation: 42-15=27 Exploring Operation: 54+15=69, Resulting Numbers: [42, 69, 69] Generated Node #0,2: 71:[42, 69, 69] Operation: 54+15=69 Exploring Operation: 42+15=57, Resulting Numbers: [54, 69, 57] Generated Node #0,3: 71:[54, 69, 57] Operation: 42+15=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[42, 69, 69], Operations: ['54+15=69'] Exploring Operation: 69-42=27, Resulting Numbers: [69, 27] Generated Node #0,2,0: 71:[69, 27] Operation: 69-42=27 Exploring Operation: 42+69=111, Resulting Numbers: [69, 111] Generated Node #0,2,1: 71:[69, 111] Operation: 42+69=111 Exploring Operation: 42+69=111, Resulting Numbers: [69, 111] Generated Node #0,2,2: 71:[69, 111] Operation: 42+69=111 Exploring Operation: 69-42=27, Resulting Numbers: [69, 27] Generated Node #0,2,3: 71:[69, 27] Operation: 69-42=27 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[69, 111], Operations: ['54+15=69', '42+69=111'] Exploring Operation: 69*111=7659, Resulting Numbers: [7659] 7659,71 unequal: No Solution Exploring Operation: 69+111=180, Resulting Numbers: [180] 180,71 unequal: No Solution Exploring Operation: 111-69=42, Resulting Numbers: [42] 42,71 unequal: No Solution No 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: 71:[69, 111], Operations: ['54+15=69', '42+69=111'] Exploring Operation: 111-69=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 69*111=7659, Resulting Numbers: [7659] 7659,71 unequal: No Solution Exploring Operation: 69+111=180, Resulting Numbers: [180] 180,71 unequal: No Solution No 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: 71:[69, 27], Operations: ['54+15=69', '69-42=27'] Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,71 unequal: No Solution No 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: 71:[69, 27], Operations: ['54+15=69', '69-42=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,71 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: 71:[54, 69, 57], Operations: ['42+15=57'] Exploring Operation: 54+57=111, Resulting Numbers: [69, 111] Generated Node #0,3,0: 71:[69, 111] Operation: 54+57=111 Exploring Operation: 69-54=15, Resulting Numbers: [57, 15] Generated Node #0,3,1: 71:[57, 15] Operation: 69-54=15 Exploring Operation: 54+69=123, Resulting Numbers: [57, 123] Generated Node #0,3,2: 71:[57, 123] Operation: 54+69=123 Exploring Operation: 57-54=3, Resulting Numbers: [69, 3] Generated Node #0,3,3: 71:[69, 3] Operation: 57-54=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[69, 111], Operations: ['42+15=57', '54+57=111'] Exploring Operation: 111-69=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 69*111=7659, Resulting Numbers: [7659] 7659,71 unequal: No Solution Exploring Operation: 69+111=180, Resulting Numbers: [180] 180,71 unequal: No Solution No 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: 71:[57, 123], Operations: ['42+15=57', '54+69=123'] Exploring Operation: 57+123=180, Resulting Numbers: [180] 180,71 unequal: No Solution Exploring Operation: 57*123=7011, Resulting Numbers: [7011] 7011,71 unequal: No Solution Exploring Operation: 123-57=66, Resulting Numbers: [66] 66,71 unequal: No Solution No 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: 71:[57, 15], Operations: ['42+15=57', '69-54=15'] Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,71 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,71 unequal: No Solution No 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: 71:[69, 3], Operations: ['42+15=57', '57-54=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,71 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: 71:[42, 54, 84], Operations: ['15+69=84'] Exploring Operation: 84-54=30, Resulting Numbers: [42, 30] Generated Node #0,0,0: 71:[42, 30] Operation: 84-54=30 Exploring Operation: 54-42=12, Resulting Numbers: [84, 12] Generated Node #0,0,1: 71:[84, 12] Operation: 54-42=12 Exploring Operation: 84-42=42, Resulting Numbers: [54, 42] Generated Node #0,0,2: 71:[54, 42] Operation: 84-42=42 Exploring Operation: 42+54=96, Resulting Numbers: [84, 96] Generated Node #0,0,3: 71:[84, 96] Operation: 42+54=96 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[84, 96], Operations: ['15+69=84', '42+54=96'] Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 84*96=8064, Resulting Numbers: [8064] 8064,71 unequal: No Solution Exploring Operation: 84+96=180, Resulting Numbers: [180] 180,71 unequal: No Solution No 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: 71:[54, 42], Operations: ['15+69=84', '84-42=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,71 unequal: No Solution No 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: 71:[42, 30], Operations: ['15+69=84', '84-54=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,71 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,71 unequal: No Solution No 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: 71:[84, 12], Operations: ['15+69=84', '54-42=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,71 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: 71:[54, 69, 27], Operations: ['42-15=27'] Exploring Operation: 54-27=27, Resulting Numbers: [69, 27] Generated Node #0,1,0: 71:[69, 27] Operation: 54-27=27 Exploring Operation: 69+27=96, Resulting Numbers: [54, 96] Generated Node #0,1,1: 71:[54, 96] Operation: 69+27=96 Exploring Operation: 54+27=81, Resulting Numbers: [69, 81] Generated Node #0,1,2: 71:[69, 81] Operation: 54+27=81 Exploring Operation: 69-27=42, Resulting Numbers: [54, 42] Generated Node #0,1,3: 71:[54, 42] Operation: 69-27=42 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[69, 81], Operations: ['42-15=27', '54+27=81'] Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,71 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,71 unequal: No Solution No 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: 71:[54, 96], Operations: ['42-15=27', '69+27=96'] Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,71 unequal: No Solution Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,71 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,71 unequal: No Solution No 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: 71:[69, 27], Operations: ['42-15=27', '54-27=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,71 unequal: No Solution No 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: 71:[54, 42], Operations: ['42-15=27', '69-27=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,71 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 15, 38, 68, 40 ]
85
[ "38-15=23", "68+40=108", "108-23=85" ]
Current State: 85:[15, 38, 68, 40], Operations: [] Exploring Operation: 38-15=23, Resulting Numbers: [68, 40, 23] Generated Node #2: [68, 40, 23] from Operation: 38-15=23 Current State: 85:[68, 40, 23], Operations: ['38-15=23'] Exploring Operation: 68+40=108, Resulting Numbers: [23, 108] Generated Node #3: [23, 108] from Operation: 68+40=108 Current State: 85:[23, 108], Operations: ['38-15=23', '68+40=108'] Exploring Operation: 108-23=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[15, 38, 68, 40], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [15, 68, 2] Generated Node #0,0: 85:[15, 68, 2] Operation: 40-38=2 Exploring Operation: 68-40=28, Resulting Numbers: [15, 38, 28] Generated Node #0,1: 85:[15, 38, 28] Operation: 68-40=28 Exploring Operation: 38+40=78, Resulting Numbers: [15, 68, 78] Generated Node #0,2: 85:[15, 68, 78] Operation: 38+40=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[15, 68, 2], Operations: ['40-38=2'] Exploring Operation: 15+68=83, Resulting Numbers: [2, 83] Generated Node #0,0,0: 85:[2, 83] Operation: 15+68=83 Exploring Operation: 15+2=17, Resulting Numbers: [68, 17] Generated Node #0,0,1: 85:[68, 17] Operation: 15+2=17 Exploring Operation: 68+2=70, Resulting Numbers: [15, 70] Generated Node #0,0,2: 85:[15, 70] Operation: 68+2=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[2, 83], Operations: ['40-38=2', '15+68=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[15, 38, 68, 40], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [15, 68, 2] Generated Node #0,0: 85:[15, 68, 2] Operation: 40-38=2 Moving to Node #0,0 Current State: 85:[15, 68, 2], Operations: ['40-38=2'] Exploring Operation: 15+68=83, Resulting Numbers: [2, 83] Generated Node #0,0,0: 85:[2, 83] Operation: 15+68=83 Moving to Node #0,0,0 Current State: 85:[2, 83], Operations: ['40-38=2', '15+68=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 78, 2, 47, 48 ]
15
[ "78+2=80", "47+48=95", "95-80=15" ]
Current State: 15:[78, 2, 47, 48], Operations: [] Exploring Operation: 78+2=80, Resulting Numbers: [47, 48, 80] Generated Node #2: [47, 48, 80] from Operation: 78+2=80 Current State: 15:[47, 48, 80], Operations: ['78+2=80'] Exploring Operation: 47+48=95, Resulting Numbers: [80, 95] Generated Node #3: [80, 95] from Operation: 47+48=95 Current State: 15:[80, 95], Operations: ['78+2=80', '47+48=95'] Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[78, 2, 47, 48], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [47, 48, 39] Generated Node #0,0: 15:[47, 48, 39] Operation: 78/2=39 Exploring Operation: 78-48=30, Resulting Numbers: [2, 47, 30] Generated Node #0,1: 15:[2, 47, 30] Operation: 78-48=30 Exploring Operation: 78-47=31, Resulting Numbers: [2, 48, 31] Generated Node #0,2: 15:[2, 48, 31] Operation: 78-47=31 Exploring Operation: 48-47=1, Resulting Numbers: [78, 2, 1] Generated Node #0,3: 15:[78, 2, 1] Operation: 48-47=1 Moving to Node #0,1 Current State: 15:[2, 47, 30], Operations: ['78-48=30'] Exploring Operation: 47-2=45, Resulting Numbers: [30, 45] Generated Node #0,1,0: 15:[30, 45] Operation: 47-2=45 Exploring Operation: 30/2=15, Resulting Numbers: [47, 15] Generated Node #0,1,1: 15:[47, 15] Operation: 30/2=15 Exploring Operation: 47-30=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 15:[2, 17] Operation: 47-30=17 Exploring Operation: 30-2=28, Resulting Numbers: [47, 28] Generated Node #0,1,3: 15:[47, 28] Operation: 30-2=28 Moving to Node #0,2 Current State: 15:[2, 48, 31], Operations: ['78-47=31'] Exploring Operation: 48-2=46, Resulting Numbers: [31, 46] Generated Node #0,2,0: 15:[31, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [31, 24] Generated Node #0,2,1: 15:[31, 24] Operation: 48/2=24 Exploring Operation: 31-2=29, Resulting Numbers: [48, 29] Generated Node #0,2,2: 15:[48, 29] Operation: 31-2=29 Exploring Operation: 48-31=17, Resulting Numbers: [2, 17] Generated Node #0,2,3: 15:[2, 17] Operation: 48-31=17 Moving to Node #0,3 Current State: 15:[78, 2, 1], Operations: ['48-47=1'] Exploring Operation: 2+1=3, Resulting Numbers: [78, 3] Generated Node #0,3,0: 15:[78, 3] Operation: 2+1=3 Exploring Operation: 78-2=76, Resulting Numbers: [1, 76] Generated Node #0,3,1: 15:[1, 76] Operation: 78-2=76 Exploring Operation: 78/2=39, Resulting Numbers: [1, 39] Generated Node #0,3,2: 15:[1, 39] Operation: 78/2=39 Exploring Operation: 78-1=77, Resulting Numbers: [2, 77] Generated Node #0,3,3: 15:[2, 77] Operation: 78-1=77 Moving to Node #0,0 Current State: 15:[47, 48, 39], Operations: ['78/2=39'] Exploring Operation: 48-47=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 15:[39, 1] Operation: 48-47=1 Exploring Operation: 47-39=8, Resulting Numbers: [48, 8] Generated Node #0,0,1: 15:[48, 8] Operation: 47-39=8 Exploring Operation: 47+48=95, Resulting Numbers: [39, 95] Generated Node #0,0,2: 15:[39, 95] Operation: 47+48=95 Exploring Operation: 48-39=9, Resulting Numbers: [47, 9] Generated Node #0,0,3: 15:[47, 9] Operation: 48-39=9 Moving to Node #0,1,2 Current State: 15:[2, 17], Operations: ['78-48=30', '47-30=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[78, 2, 47, 48], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [2, 47, 30] Generated Node #0,1: 15:[2, 47, 30] Operation: 78-48=30 Moving to Node #0,1 Current State: 15:[2, 47, 30], Operations: ['78-48=30'] Exploring Operation: 47-30=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 15:[2, 17] Operation: 47-30=17 Moving to Node #0,1,2 Current State: 15:[2, 17], Operations: ['78-48=30', '47-30=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 50, 12, 33, 27 ]
32
[ "50-12=38", "33-27=6", "38-6=32" ]
Current State: 32:[50, 12, 33, 27], Operations: [] Exploring Operation: 50-12=38, Resulting Numbers: [33, 27, 38] Generated Node #2: [33, 27, 38] from Operation: 50-12=38 Current State: 32:[33, 27, 38], Operations: ['50-12=38'] Exploring Operation: 33-27=6, Resulting Numbers: [38, 6] Generated Node #3: [38, 6] from Operation: 33-27=6 Current State: 32:[38, 6], Operations: ['50-12=38', '33-27=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[50, 12, 33, 27], Operations: [] Exploring Operation: 50-12=38, Resulting Numbers: [33, 27, 38] Generated Node #0,0: 32:[33, 27, 38] Operation: 50-12=38 Exploring Operation: 50-33=17, Resulting Numbers: [12, 27, 17] Generated Node #0,1: 32:[12, 27, 17] Operation: 50-33=17 Moving to Node #0,1 Current State: 32:[12, 27, 17], Operations: ['50-33=17'] Exploring Operation: 17-12=5, Resulting Numbers: [27, 5] Generated Node #0,1,0: 32:[27, 5] Operation: 17-12=5 Exploring Operation: 27-12=15, Resulting Numbers: [17, 15] Generated Node #0,1,1: 32:[17, 15] Operation: 27-12=15 Moving to Node #0,0 Current State: 32:[33, 27, 38], Operations: ['50-12=38'] Exploring Operation: 38-33=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 32:[27, 5] Operation: 38-33=5 Exploring Operation: 38-27=11, Resulting Numbers: [33, 11] Generated Node #0,0,1: 32:[33, 11] Operation: 38-27=11 Moving to Node #0,1,1 Current State: 32:[17, 15], Operations: ['50-33=17', '27-12=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[50, 12, 33, 27], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [12, 27, 17] Generated Node #0,1: 32:[12, 27, 17] Operation: 50-33=17 Moving to Node #0,1 Current State: 32:[12, 27, 17], Operations: ['50-33=17'] Exploring Operation: 27-12=15, Resulting Numbers: [17, 15] Generated Node #0,1,1: 32:[17, 15] Operation: 27-12=15 Moving to Node #0,1,1 Current State: 32:[17, 15], Operations: ['50-33=17', '27-12=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 57, 8, 89, 31 ]
100
[ "57+31=88", "88/8=11", "89+11=100" ]
Current State: 100:[57, 8, 89, 31], Operations: [] Exploring Operation: 57+31=88, Resulting Numbers: [8, 89, 88] Generated Node #2: [8, 89, 88] from Operation: 57+31=88 Current State: 100:[8, 89, 88], Operations: ['57+31=88'] Exploring Operation: 88/8=11, Resulting Numbers: [89, 11] Generated Node #3: [89, 11] from Operation: 88/8=11 Current State: 100:[89, 11], Operations: ['57+31=88', '88/8=11'] Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[57, 8, 89, 31], Operations: [] Exploring Operation: 57-31=26, Resulting Numbers: [8, 89, 26] Generated Node #0,0: 100:[8, 89, 26] Operation: 57-31=26 Moving to Node #0,0 Current State: 100:[8, 89, 26], Operations: ['57-31=26'] Exploring Operation: 8+89=97, Resulting Numbers: [26, 97] Generated Node #0,0,0: 100:[26, 97] Operation: 8+89=97 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[26, 97], Operations: ['57-31=26', '8+89=97'] Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 53, 12, 8, 40 ]
92
[ "53-40=13", "8*13=104", "104-12=92" ]
Current State: 92:[53, 12, 8, 40], Operations: [] Exploring Operation: 53-40=13, Resulting Numbers: [12, 8, 13] Generated Node #2: [12, 8, 13] from Operation: 53-40=13 Current State: 92:[12, 8, 13], Operations: ['53-40=13'] Exploring Operation: 8*13=104, Resulting Numbers: [12, 104] Generated Node #3: [12, 104] from Operation: 8*13=104 Current State: 92:[12, 104], Operations: ['53-40=13', '8*13=104'] Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[53, 12, 8, 40], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [8, 40, 41] Generated Node #0,0: 92:[8, 40, 41] Operation: 53-12=41 Exploring Operation: 12-8=4, Resulting Numbers: [53, 40, 4] Generated Node #0,1: 92:[53, 40, 4] Operation: 12-8=4 Exploring Operation: 53+40=93, Resulting Numbers: [12, 8, 93] Generated Node #0,2: 92:[12, 8, 93] Operation: 53+40=93 Exploring Operation: 53-8=45, Resulting Numbers: [12, 40, 45] Generated Node #0,3: 92:[12, 40, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[53, 40, 4], Operations: ['12-8=4'] Exploring Operation: 53+40=93, Resulting Numbers: [4, 93] Generated Node #0,1,0: 92:[4, 93] Operation: 53+40=93 Exploring Operation: 53-4=49, Resulting Numbers: [40, 49] Generated Node #0,1,1: 92:[40, 49] Operation: 53-4=49 Exploring Operation: 53-40=13, Resulting Numbers: [4, 13] Generated Node #0,1,2: 92:[4, 13] Operation: 53-40=13 Exploring Operation: 40+4=44, Resulting Numbers: [53, 44] Generated Node #0,1,3: 92:[53, 44] Operation: 40+4=44 Moving to Node #0,1,0 Current State: 92:[4, 93], Operations: ['12-8=4', '53+40=93'] Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,92 unequal: No Solution Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,92 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[4, 13], Operations: ['12-8=4', '53-40=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[40, 49], Operations: ['12-8=4', '53-4=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[53, 44], Operations: ['12-8=4', '40+4=44'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 53+44=97, Resulting Numbers: [97] 97,92 unequal: No Solution Exploring Operation: 53*44=2332, Resulting Numbers: [2332] 2332,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[12, 8, 93], Operations: ['53+40=93'] Exploring Operation: 93-12=81, Resulting Numbers: [8, 81] Generated Node #0,2,0: 92:[8, 81] Operation: 93-12=81 Exploring Operation: 12+8=20, Resulting Numbers: [93, 20] Generated Node #0,2,1: 92:[93, 20] Operation: 12+8=20 Exploring Operation: 12*8=96, Resulting Numbers: [93, 96] Generated Node #0,2,2: 92:[93, 96] Operation: 12*8=96 Exploring Operation: 12-8=4, Resulting Numbers: [93, 4] Generated Node #0,2,3: 92:[93, 4] Operation: 12-8=4 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[93, 4], Operations: ['53+40=93', '12-8=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,92 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[93, 20], Operations: ['53+40=93', '12+8=20'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 93+20=113, Resulting Numbers: [113] 113,92 unequal: No Solution Exploring Operation: 93*20=1860, Resulting Numbers: [1860] 1860,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[93, 96], Operations: ['53+40=93', '12*8=96'] Exploring Operation: 93+96=189, Resulting Numbers: [189] 189,92 unequal: No Solution Exploring Operation: 93*96=8928, Resulting Numbers: [8928] 8928,92 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[8, 81], Operations: ['53+40=93', '93-12=81'] Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,92 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[8, 40, 41], Operations: ['53-12=41'] Exploring Operation: 8+41=49, Resulting Numbers: [40, 49] Generated Node #0,0,0: 92:[40, 49] Operation: 8+41=49 Exploring Operation: 8+40=48, Resulting Numbers: [41, 48] Generated Node #0,0,1: 92:[41, 48] Operation: 8+40=48 Exploring Operation: 40/8=5, Resulting Numbers: [41, 5] Generated Node #0,0,2: 92:[41, 5] Operation: 40/8=5 Exploring Operation: 41-40=1, Resulting Numbers: [8, 1] Generated Node #0,0,3: 92:[8, 1] Operation: 41-40=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[8, 1], Operations: ['53-12=41', '41-40=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[41, 5], Operations: ['53-12=41', '40/8=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,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:[41, 48], Operations: ['53-12=41', '8+40=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,92 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[40, 49], Operations: ['53-12=41', '8+41=49'] Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,92 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,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,3 Current State: 92:[12, 40, 45], Operations: ['53-8=45'] Exploring Operation: 40+45=85, Resulting Numbers: [12, 85] Generated Node #0,3,0: 92:[12, 85] Operation: 40+45=85 Exploring Operation: 45-40=5, Resulting Numbers: [12, 5] Generated Node #0,3,1: 92:[12, 5] Operation: 45-40=5 Exploring Operation: 40-12=28, Resulting Numbers: [45, 28] Generated Node #0,3,2: 92:[45, 28] Operation: 40-12=28 Exploring Operation: 12+40=52, Resulting Numbers: [45, 52] Generated Node #0,3,3: 92:[45, 52] Operation: 12+40=52 Moving to Node #0,3,2 Current State: 92:[45, 28], Operations: ['53-8=45', '40-12=28'] Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,92 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[45, 52], Operations: ['53-8=45', '12+40=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,92 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[12, 5], Operations: ['53-8=45', '45-40=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[12, 85], Operations: ['53-8=45', '40+45=85'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,92 unequal: No Solution Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,92 unequal: No Solution Exploring Operation: 12*85=1020, Resulting Numbers: [1020] 1020,92 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
[ 69, 71, 80, 93 ]
67
[ "71-69=2", "80*2=160", "160-93=67" ]
Current State: 67:[69, 71, 80, 93], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [80, 93, 2] Generated Node #2: [80, 93, 2] from Operation: 71-69=2 Current State: 67:[80, 93, 2], Operations: ['71-69=2'] Exploring Operation: 80*2=160, Resulting Numbers: [93, 160] Generated Node #3: [93, 160] from Operation: 80*2=160 Current State: 67:[93, 160], Operations: ['71-69=2', '80*2=160'] Exploring Operation: 160-93=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[69, 71, 80, 93], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [71, 80, 24] Generated Node #0,0: 67:[71, 80, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[71, 80, 24], Operations: ['93-69=24'] Exploring Operation: 80-24=56, Resulting Numbers: [71, 56] Generated Node #0,0,0: 67:[71, 56] Operation: 80-24=56 Moving to Node #0,0,0 Current State: 67:[71, 56], Operations: ['93-69=24', '80-24=56'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,67 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
[ 37, 62, 10, 8 ]
44
[ "62+8=70", "70/10=7", "37+7=44" ]
Current State: 44:[37, 62, 10, 8], Operations: [] Exploring Operation: 62+8=70, Resulting Numbers: [37, 10, 70] Generated Node #2: [37, 10, 70] from Operation: 62+8=70 Current State: 44:[37, 10, 70], Operations: ['62+8=70'] Exploring Operation: 70/10=7, Resulting Numbers: [37, 7] Generated Node #3: [37, 7] from Operation: 70/10=7 Current State: 44:[37, 7], Operations: ['62+8=70', '70/10=7'] Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[37, 62, 10, 8], Operations: [] Exploring Operation: 37+8=45, Resulting Numbers: [62, 10, 45] Generated Node #0,0: 44:[62, 10, 45] Operation: 37+8=45 Exploring Operation: 62-37=25, Resulting Numbers: [10, 8, 25] Generated Node #0,1: 44:[10, 8, 25] Operation: 62-37=25 Exploring Operation: 62-10=52, Resulting Numbers: [37, 8, 52] Generated Node #0,2: 44:[37, 8, 52] Operation: 62-10=52 Exploring Operation: 62-8=54, Resulting Numbers: [37, 10, 54] Generated Node #0,3: 44:[37, 10, 54] Operation: 62-8=54 Moving to Node #0,1 Current State: 44:[10, 8, 25], Operations: ['62-37=25'] Exploring Operation: 25-10=15, Resulting Numbers: [8, 15] Generated Node #0,1,0: 44:[8, 15] Operation: 25-10=15 Exploring Operation: 10+8=18, Resulting Numbers: [25, 18] Generated Node #0,1,1: 44:[25, 18] Operation: 10+8=18 Exploring Operation: 25-8=17, Resulting Numbers: [10, 17] Generated Node #0,1,2: 44:[10, 17] Operation: 25-8=17 Exploring Operation: 10-8=2, Resulting Numbers: [25, 2] Generated Node #0,1,3: 44:[25, 2] Operation: 10-8=2 Moving to Node #0,3 Current State: 44:[37, 10, 54], Operations: ['62-8=54'] Exploring Operation: 37+10=47, Resulting Numbers: [54, 47] Generated Node #0,3,0: 44:[54, 47] Operation: 37+10=47 Exploring Operation: 54-10=44, Resulting Numbers: [37, 44] Generated Node #0,3,1: 44:[37, 44] Operation: 54-10=44 Exploring Operation: 37-10=27, Resulting Numbers: [54, 27] Generated Node #0,3,2: 44:[54, 27] Operation: 37-10=27 Exploring Operation: 54-37=17, Resulting Numbers: [10, 17] Generated Node #0,3,3: 44:[10, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[10, 17], Operations: ['62-8=54', '54-37=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,44 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,44 unequal: No Solution No 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: 44:[37, 44], Operations: ['62-8=54', '54-10=44'] Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,44 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,44 unequal: No Solution No 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: 44:[54, 47], Operations: ['62-8=54', '37+10=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,44 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,44 unequal: No Solution No 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: 44:[54, 27], Operations: ['62-8=54', '37-10=27'] Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,44 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,44 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: 44:[37, 8, 52], Operations: ['62-10=52'] Exploring Operation: 37-8=29, Resulting Numbers: [52, 29] Generated Node #0,2,0: 44:[52, 29] Operation: 37-8=29 Exploring Operation: 52-37=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 44:[8, 15] Operation: 52-37=15 Exploring Operation: 37+8=45, Resulting Numbers: [52, 45] Generated Node #0,2,2: 44:[52, 45] Operation: 37+8=45 Exploring Operation: 52-8=44, Resulting Numbers: [37, 44] Generated Node #0,2,3: 44:[37, 44] Operation: 52-8=44 Moving to Node #0,0 Current State: 44:[62, 10, 45], Operations: ['37+8=45'] Exploring Operation: 45-10=35, Resulting Numbers: [62, 35] Generated Node #0,0,0: 44:[62, 35] Operation: 45-10=35 Exploring Operation: 62-45=17, Resulting Numbers: [10, 17] Generated Node #0,0,1: 44:[10, 17] Operation: 62-45=17 Exploring Operation: 62+10=72, Resulting Numbers: [45, 72] Generated Node #0,0,2: 44:[45, 72] Operation: 62+10=72 Exploring Operation: 62-10=52, Resulting Numbers: [45, 52] Generated Node #0,0,3: 44:[45, 52] Operation: 62-10=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[10, 17], Operations: ['37+8=45', '62-45=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,44 unequal: No Solution No 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: 44:[45, 52], Operations: ['37+8=45', '62-10=52'] Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,44 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,44 unequal: No Solution No 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: 44:[62, 35], Operations: ['37+8=45', '45-10=35'] Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 62*35=2170, Resulting Numbers: [2170] 2170,44 unequal: No Solution Exploring Operation: 62+35=97, Resulting Numbers: [97] 97,44 unequal: No Solution No 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: 44:[45, 72], Operations: ['37+8=45', '62+10=72'] Exploring Operation: 45*72=3240, Resulting Numbers: [3240] 3240,44 unequal: No Solution Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,44 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 44:[25, 2], Operations: ['62-37=25', '10-8=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[10, 17], Operations: ['62-37=25', '25-8=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,44 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[8, 15], Operations: ['62-37=25', '25-10=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[37, 44], Operations: ['62-10=52', '52-8=44'] Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,44 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[8, 15], Operations: ['62-10=52', '52-37=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[25, 18], Operations: ['62-37=25', '10+8=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[52, 45], Operations: ['62-10=52', '37+8=45'] Exploring Operation: 52*45=2340, Resulting Numbers: [2340] 2340,44 unequal: No Solution Exploring Operation: 52+45=97, Resulting Numbers: [97] 97,44 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[52, 29], Operations: ['62-10=52', '37-8=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,44 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,44 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 58, 67, 10, 34 ]
69
[ "58+10=68", "68/34=2", "67+2=69" ]
Current State: 69:[58, 67, 10, 34], Operations: [] Exploring Operation: 58+10=68, Resulting Numbers: [67, 34, 68] Generated Node #2: [67, 34, 68] from Operation: 58+10=68 Current State: 69:[67, 34, 68], Operations: ['58+10=68'] Exploring Operation: 68/34=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 68/34=2 Current State: 69:[67, 2], Operations: ['58+10=68', '68/34=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[58, 67, 10, 34], Operations: [] Exploring Operation: 58-34=24, Resulting Numbers: [67, 10, 24] Generated Node #0,0: 69:[67, 10, 24] Operation: 58-34=24 Exploring Operation: 67-58=9, Resulting Numbers: [10, 34, 9] Generated Node #0,1: 69:[10, 34, 9] Operation: 67-58=9 Exploring Operation: 34-10=24, Resulting Numbers: [58, 67, 24] Generated Node #0,2: 69:[58, 67, 24] Operation: 34-10=24 Exploring Operation: 58+10=68, Resulting Numbers: [67, 34, 68] Generated Node #0,3: 69:[67, 34, 68] Operation: 58+10=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[67, 10, 24], Operations: ['58-34=24'] Exploring Operation: 67-10=57, Resulting Numbers: [24, 57] Generated Node #0,0,0: 69:[24, 57] Operation: 67-10=57 Exploring Operation: 67+10=77, Resulting Numbers: [24, 77] Generated Node #0,0,1: 69:[24, 77] Operation: 67+10=77 Exploring Operation: 24-10=14, Resulting Numbers: [67, 14] Generated Node #0,0,2: 69:[67, 14] Operation: 24-10=14 Exploring Operation: 10+24=34, Resulting Numbers: [67, 34] Generated Node #0,0,3: 69:[67, 34] Operation: 10+24=34 Moving to Node #0,0,1 Current State: 69:[24, 77], Operations: ['58-34=24', '67+10=77'] Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[67, 14], Operations: ['58-34=24', '24-10=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,69 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[67, 34], Operations: ['58-34=24', '10+24=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,69 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[24, 57], Operations: ['58-34=24', '67-10=57'] Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,69 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[58, 67, 24], Operations: ['34-10=24'] Exploring Operation: 58-24=34, Resulting Numbers: [67, 34] Generated Node #0,2,0: 69:[67, 34] Operation: 58-24=34 Exploring Operation: 67-24=43, Resulting Numbers: [58, 43] Generated Node #0,2,1: 69:[58, 43] Operation: 67-24=43 Exploring Operation: 67-58=9, Resulting Numbers: [24, 9] Generated Node #0,2,2: 69:[24, 9] Operation: 67-58=9 Exploring Operation: 58+24=82, Resulting Numbers: [67, 82] Generated Node #0,2,3: 69:[67, 82] Operation: 58+24=82 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[24, 9], Operations: ['34-10=24', '67-58=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,69 unequal: No Solution No 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: 69:[67, 34], Operations: ['34-10=24', '58-24=34'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,69 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,69 unequal: No Solution No 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: 69:[67, 82], Operations: ['34-10=24', '58+24=82'] Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,69 unequal: No Solution Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,69 unequal: No Solution No 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: 69:[58, 43], Operations: ['34-10=24', '67-24=43'] Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,69 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,69 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: 69:[67, 34, 68], Operations: ['58+10=68'] Exploring Operation: 68-67=1, Resulting Numbers: [34, 1] Generated Node #0,3,0: 69:[34, 1] Operation: 68-67=1 Exploring Operation: 68-34=34, Resulting Numbers: [67, 34] Generated Node #0,3,1: 69:[67, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 69:[67, 2] Operation: 68/34=2 Exploring Operation: 67-34=33, Resulting Numbers: [68, 33] Generated Node #0,3,3: 69:[68, 33] Operation: 67-34=33 Moving to Node #0,3,2 Current State: 69:[67, 2], Operations: ['58+10=68', '68/34=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[58, 67, 10, 34], Operations: [] Exploring Operation: 58+10=68, Resulting Numbers: [67, 34, 68] Generated Node #0,3: 69:[67, 34, 68] Operation: 58+10=68 Moving to Node #0,3 Current State: 69:[67, 34, 68], Operations: ['58+10=68'] Exploring Operation: 68/34=2, Resulting Numbers: [67, 2] Generated Node #0,3,2: 69:[67, 2] Operation: 68/34=2 Moving to Node #0,3,2 Current State: 69:[67, 2], Operations: ['58+10=68', '68/34=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic
[ 91, 13, 39, 24 ]
15
[ "91-13=78", "39+24=63", "78-63=15" ]
Current State: 15:[91, 13, 39, 24], Operations: [] Exploring Operation: 91-13=78, Resulting Numbers: [39, 24, 78] Generated Node #2: [39, 24, 78] from Operation: 91-13=78 Current State: 15:[39, 24, 78], Operations: ['91-13=78'] Exploring Operation: 39+24=63, Resulting Numbers: [78, 63] Generated Node #3: [78, 63] from Operation: 39+24=63 Current State: 15:[78, 63], Operations: ['91-13=78', '39+24=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[91, 13, 39, 24], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [13, 24, 52] Generated Node #0,0: 15:[13, 24, 52] Operation: 91-39=52 Exploring Operation: 91-24=67, Resulting Numbers: [13, 39, 67] Generated Node #0,1: 15:[13, 39, 67] Operation: 91-24=67 Exploring Operation: 91/13=7, Resulting Numbers: [39, 24, 7] Generated Node #0,2: 15:[39, 24, 7] Operation: 91/13=7 Exploring Operation: 39-24=15, Resulting Numbers: [91, 13, 15] Generated Node #0,3: 15:[91, 13, 15] Operation: 39-24=15 Exploring Operation: 39/13=3, Resulting Numbers: [91, 24, 3] Generated Node #0,4: 15:[91, 24, 3] Operation: 39/13=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[39, 24, 7], Operations: ['91/13=7'] Exploring Operation: 24-7=17, Resulting Numbers: [39, 17] Generated Node #0,2,0: 15:[39, 17] Operation: 24-7=17 Exploring Operation: 39-24=15, Resulting Numbers: [7, 15] Generated Node #0,2,1: 15:[7, 15] Operation: 39-24=15 Exploring Operation: 24+7=31, Resulting Numbers: [39, 31] Generated Node #0,2,2: 15:[39, 31] Operation: 24+7=31 Exploring Operation: 39-7=32, Resulting Numbers: [24, 32] Generated Node #0,2,3: 15:[24, 32] Operation: 39-7=32 Exploring Operation: 39+7=46, Resulting Numbers: [24, 46] Generated Node #0,2,4: 15:[24, 46] Operation: 39+7=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[7, 15], Operations: ['91/13=7', '39-24=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,15 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[39, 17], Operations: ['91/13=7', '24-7=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,15 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[24, 32], Operations: ['91/13=7', '39-7=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[39, 31], Operations: ['91/13=7', '24+7=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,15 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[24, 46], Operations: ['91/13=7', '39+7=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,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,0 Current State: 15:[13, 24, 52], Operations: ['91-39=52'] Exploring Operation: 13+24=37, Resulting Numbers: [52, 37] Generated Node #0,0,0: 15:[52, 37] Operation: 13+24=37 Exploring Operation: 24-13=11, Resulting Numbers: [52, 11] Generated Node #0,0,1: 15:[52, 11] Operation: 24-13=11 Exploring Operation: 52/13=4, Resulting Numbers: [24, 4] Generated Node #0,0,2: 15:[24, 4] Operation: 52/13=4 Exploring Operation: 52-24=28, Resulting Numbers: [13, 28] Generated Node #0,0,3: 15:[13, 28] Operation: 52-24=28 Exploring Operation: 52-13=39, Resulting Numbers: [24, 39] Generated Node #0,0,4: 15:[24, 39] Operation: 52-13=39 Moving to Node #0,0,2 Current State: 15:[24, 4], Operations: ['91-39=52', '52/13=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[13, 28], Operations: ['91-39=52', '52-24=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,15 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[91, 13, 39, 24], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [13, 24, 52] Generated Node #0,0: 15:[13, 24, 52] Operation: 91-39=52 Moving to Node #0,0 Current State: 15:[13, 24, 52], Operations: ['91-39=52'] Exploring Operation: 52-24=28, Resulting Numbers: [13, 28] Generated Node #0,0,3: 15:[13, 28] Operation: 52-24=28 Moving to Node #0,0,3 Current State: 15:[13, 28], Operations: ['91-39=52', '52-24=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 54, 23, 46, 32 ]
20
[ "54-32=22", "46/23=2", "22-2=20" ]
Current State: 20:[54, 23, 46, 32], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [23, 46, 22] Generated Node #2: [23, 46, 22] from Operation: 54-32=22 Current State: 20:[23, 46, 22], Operations: ['54-32=22'] Exploring Operation: 46/23=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 46/23=2 Current State: 20:[22, 2], Operations: ['54-32=22', '46/23=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[54, 23, 46, 32], Operations: [] Exploring Operation: 46-32=14, Resulting Numbers: [54, 23, 14] Generated Node #0,0: 20:[54, 23, 14] Operation: 46-32=14 Exploring Operation: 54-32=22, Resulting Numbers: [23, 46, 22] Generated Node #0,1: 20:[23, 46, 22] Operation: 54-32=22 Exploring Operation: 54-23=31, Resulting Numbers: [46, 32, 31] Generated Node #0,2: 20:[46, 32, 31] Operation: 54-23=31 Exploring Operation: 54-46=8, Resulting Numbers: [23, 32, 8] Generated Node #0,3: 20:[23, 32, 8] Operation: 54-46=8 Exploring Operation: 46/23=2, Resulting Numbers: [54, 32, 2] Generated Node #0,4: 20:[54, 32, 2] Operation: 46/23=2 Moving to Node #0,3 Current State: 20:[23, 32, 8], Operations: ['54-46=8'] Exploring Operation: 32/8=4, Resulting Numbers: [23, 4] Generated Node #0,3,0: 20:[23, 4] Operation: 32/8=4 Exploring Operation: 23-8=15, Resulting Numbers: [32, 15] Generated Node #0,3,1: 20:[32, 15] Operation: 23-8=15 Exploring Operation: 32-23=9, Resulting Numbers: [8, 9] Generated Node #0,3,2: 20:[8, 9] Operation: 32-23=9 Exploring Operation: 32-8=24, Resulting Numbers: [23, 24] Generated Node #0,3,3: 20:[23, 24] Operation: 32-8=24 Exploring Operation: 23+8=31, Resulting Numbers: [32, 31] Generated Node #0,3,4: 20:[32, 31] Operation: 23+8=31 Moving to Node #0,1 Current State: 20:[23, 46, 22], Operations: ['54-32=22'] Exploring Operation: 46-22=24, Resulting Numbers: [23, 24] Generated Node #0,1,0: 20:[23, 24] Operation: 46-22=24 Exploring Operation: 23+46=69, Resulting Numbers: [22, 69] Generated Node #0,1,1: 20:[22, 69] Operation: 23+46=69 Exploring Operation: 46-23=23, Resulting Numbers: [22, 23] Generated Node #0,1,2: 20:[22, 23] Operation: 46-23=23 Exploring Operation: 46/23=2, Resulting Numbers: [22, 2] Generated Node #0,1,3: 20:[22, 2] Operation: 46/23=2 Exploring Operation: 23-22=1, Resulting Numbers: [46, 1] Generated Node #0,1,4: 20:[46, 1] Operation: 23-22=1 Moving to Node #0,0 Current State: 20:[54, 23, 14], Operations: ['46-32=14'] Exploring Operation: 54-23=31, Resulting Numbers: [14, 31] Generated Node #0,0,0: 20:[14, 31] Operation: 54-23=31 Exploring Operation: 54+14=68, Resulting Numbers: [23, 68] Generated Node #0,0,1: 20:[23, 68] Operation: 54+14=68 Exploring Operation: 23-14=9, Resulting Numbers: [54, 9] Generated Node #0,0,2: 20:[54, 9] Operation: 23-14=9 Exploring Operation: 54-14=40, Resulting Numbers: [23, 40] Generated Node #0,0,3: 20:[23, 40] Operation: 54-14=40 Exploring Operation: 23+14=37, Resulting Numbers: [54, 37] Generated Node #0,0,4: 20:[54, 37] Operation: 23+14=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[14, 31], Operations: ['46-32=14', '54-23=31'] Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,20 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[23, 40], Operations: ['46-32=14', '54-14=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[54, 9], Operations: ['46-32=14', '23-14=9'] Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,20 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[23, 68], Operations: ['46-32=14', '54+14=68'] Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 20:[54, 37], Operations: ['46-32=14', '23+14=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,20 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: 20:[54, 32, 2], Operations: ['46/23=2'] Exploring Operation: 54-32=22, Resulting Numbers: [2, 22] Generated Node #0,4,0: 20:[2, 22] Operation: 54-32=22 Exploring Operation: 32-2=30, Resulting Numbers: [54, 30] Generated Node #0,4,1: 20:[54, 30] Operation: 32-2=30 Exploring Operation: 32/2=16, Resulting Numbers: [54, 16] Generated Node #0,4,2: 20:[54, 16] Operation: 32/2=16 Exploring Operation: 54-2=52, Resulting Numbers: [32, 52] Generated Node #0,4,3: 20:[32, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [32, 27] Generated Node #0,4,4: 20:[32, 27] Operation: 54/2=27 Moving to Node #0,2 Current State: 20:[46, 32, 31], Operations: ['54-23=31'] Exploring Operation: 46-32=14, Resulting Numbers: [31, 14] Generated Node #0,2,0: 20:[31, 14] Operation: 46-32=14 Exploring Operation: 46+31=77, Resulting Numbers: [32, 77] Generated Node #0,2,1: 20:[32, 77] Operation: 46+31=77 Exploring Operation: 32-31=1, Resulting Numbers: [46, 1] Generated Node #0,2,2: 20:[46, 1] Operation: 32-31=1 Exploring Operation: 46-31=15, Resulting Numbers: [32, 15] Generated Node #0,2,3: 20:[32, 15] Operation: 46-31=15 Exploring Operation: 46+32=78, Resulting Numbers: [31, 78] Generated Node #0,2,4: 20:[31, 78] Operation: 46+32=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[31, 14], Operations: ['54-23=31', '46-32=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 20:[32, 15], Operations: ['54-23=31', '46-31=15'] Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,20 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[46, 1], Operations: ['54-23=31', '32-31=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,20 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[32, 77], Operations: ['54-23=31', '46+31=77'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 20:[31, 78], Operations: ['54-23=31', '46+32=78'] Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,20 unequal: No Solution Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 20:[22, 2], Operations: ['54-32=22', '46/23=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[54, 23, 46, 32], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [23, 46, 22] Generated Node #0,1: 20:[23, 46, 22] Operation: 54-32=22 Moving to Node #0,1 Current State: 20:[23, 46, 22], Operations: ['54-32=22'] Exploring Operation: 46/23=2, Resulting Numbers: [22, 2] Generated Node #0,1,3: 20:[22, 2] Operation: 46/23=2 Moving to Node #0,1,3 Current State: 20:[22, 2], Operations: ['54-32=22', '46/23=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 71, 70, 42, 37 ]
62
[ "71+70=141", "42+37=79", "141-79=62" ]
Current State: 62:[71, 70, 42, 37], Operations: [] Exploring Operation: 71+70=141, Resulting Numbers: [42, 37, 141] Generated Node #2: [42, 37, 141] from Operation: 71+70=141 Current State: 62:[42, 37, 141], Operations: ['71+70=141'] Exploring Operation: 42+37=79, Resulting Numbers: [141, 79] Generated Node #3: [141, 79] from Operation: 42+37=79 Current State: 62:[141, 79], Operations: ['71+70=141', '42+37=79'] Exploring Operation: 141-79=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[71, 70, 42, 37], Operations: [] Exploring Operation: 70-42=28, Resulting Numbers: [71, 37, 28] Generated Node #0,0: 62:[71, 37, 28] Operation: 70-42=28 Exploring Operation: 71-42=29, Resulting Numbers: [70, 37, 29] Generated Node #0,1: 62:[70, 37, 29] Operation: 71-42=29 Exploring Operation: 71-70=1, Resulting Numbers: [42, 37, 1] Generated Node #0,2: 62:[42, 37, 1] Operation: 71-70=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[70, 37, 29], Operations: ['71-42=29'] Exploring Operation: 37+29=66, Resulting Numbers: [70, 66] Generated Node #0,1,0: 62:[70, 66] Operation: 37+29=66 Exploring Operation: 37-29=8, Resulting Numbers: [70, 8] Generated Node #0,1,1: 62:[70, 8] Operation: 37-29=8 Exploring Operation: 70-37=33, Resulting Numbers: [29, 33] Generated Node #0,1,2: 62:[29, 33] Operation: 70-37=33 Moving to Node #0,1,2 Current State: 62:[29, 33], Operations: ['71-42=29', '70-37=33'] Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,62 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[71, 70, 42, 37], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [70, 37, 29] Generated Node #0,1: 62:[70, 37, 29] Operation: 71-42=29 Moving to Node #0,1 Current State: 62:[70, 37, 29], Operations: ['71-42=29'] Exploring Operation: 70-37=33, Resulting Numbers: [29, 33] Generated Node #0,1,2: 62:[29, 33] Operation: 70-37=33 Moving to Node #0,1,2 Current State: 62:[29, 33], Operations: ['71-42=29', '70-37=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 59, 53, 29, 3 ]
71
[ "59+29=88", "53*3=159", "159-88=71" ]
Current State: 71:[59, 53, 29, 3], Operations: [] Exploring Operation: 59+29=88, Resulting Numbers: [53, 3, 88] Generated Node #2: [53, 3, 88] from Operation: 59+29=88 Current State: 71:[53, 3, 88], Operations: ['59+29=88'] Exploring Operation: 53*3=159, Resulting Numbers: [88, 159] Generated Node #3: [88, 159] from Operation: 53*3=159 Current State: 71:[88, 159], Operations: ['59+29=88', '53*3=159'] Exploring Operation: 159-88=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[59, 53, 29, 3], Operations: [] Exploring Operation: 29+3=32, Resulting Numbers: [59, 53, 32] Generated Node #0,0: 71:[59, 53, 32] Operation: 29+3=32 Exploring Operation: 59+3=62, Resulting Numbers: [53, 29, 62] Generated Node #0,1: 71:[53, 29, 62] Operation: 59+3=62 Exploring Operation: 29*3=87, Resulting Numbers: [59, 53, 87] Generated Node #0,2: 71:[59, 53, 87] Operation: 29*3=87 Exploring Operation: 59-3=56, Resulting Numbers: [53, 29, 56] Generated Node #0,3: 71:[53, 29, 56] Operation: 59-3=56 Exploring Operation: 53+3=56, Resulting Numbers: [59, 29, 56] Generated Node #0,4: 71:[59, 29, 56] Operation: 53+3=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[59, 53, 87], Operations: ['29*3=87'] Exploring Operation: 59-53=6, Resulting Numbers: [87, 6] Generated Node #0,2,0: 71:[87, 6] Operation: 59-53=6 Exploring Operation: 53+87=140, Resulting Numbers: [59, 140] Generated Node #0,2,1: 71:[59, 140] Operation: 53+87=140 Exploring Operation: 87-59=28, Resulting Numbers: [53, 28] Generated Node #0,2,2: 71:[53, 28] Operation: 87-59=28 Exploring Operation: 87-53=34, Resulting Numbers: [59, 34] Generated Node #0,2,3: 71:[59, 34] Operation: 87-53=34 Exploring Operation: 59+53=112, Resulting Numbers: [87, 112] Generated Node #0,2,4: 71:[87, 112] Operation: 59+53=112 Moving to Node #0,2,3 Current State: 71:[59, 34], Operations: ['29*3=87', '87-53=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,71 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[87, 112], Operations: ['29*3=87', '59+53=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[53, 28], Operations: ['29*3=87', '87-59=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,71 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[87, 6], Operations: ['29*3=87', '59-53=6'] Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,71 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[59, 140], Operations: ['29*3=87', '53+87=140'] Exploring Operation: 59*140=8260, Resulting Numbers: [8260] 8260,71 unequal: No Solution Exploring Operation: 140-59=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 59+140=199, Resulting Numbers: [199] 199,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[59, 53, 32], Operations: ['29+3=32'] Exploring Operation: 53+32=85, Resulting Numbers: [59, 85] Generated Node #0,0,0: 71:[59, 85] Operation: 53+32=85 Exploring Operation: 59+32=91, Resulting Numbers: [53, 91] Generated Node #0,0,1: 71:[53, 91] Operation: 59+32=91 Exploring Operation: 59+53=112, Resulting Numbers: [32, 112] Generated Node #0,0,2: 71:[32, 112] Operation: 59+53=112 Exploring Operation: 59-32=27, Resulting Numbers: [53, 27] Generated Node #0,0,3: 71:[53, 27] Operation: 59-32=27 Exploring Operation: 53-32=21, Resulting Numbers: [59, 21] Generated Node #0,0,4: 71:[59, 21] Operation: 53-32=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[59, 85], Operations: ['29+3=32', '53+32=85'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,71 unequal: No Solution No 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: 71:[53, 91], Operations: ['29+3=32', '59+32=91'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 53+91=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 53*91=4823, Resulting Numbers: [4823] 4823,71 unequal: No Solution No 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: 71:[53, 27], Operations: ['29+3=32', '59-32=27'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,71 unequal: No Solution No 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: 71:[59, 21], Operations: ['29+3=32', '53-32=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,71 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,71 unequal: No Solution No 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: 71:[32, 112], Operations: ['29+3=32', '59+53=112'] Exploring Operation: 32*112=3584, Resulting Numbers: [3584] 3584,71 unequal: No Solution Exploring Operation: 32+112=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 112-32=80, Resulting Numbers: [80] 80,71 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: 71:[53, 29, 62], Operations: ['59+3=62'] Exploring Operation: 53+62=115, Resulting Numbers: [29, 115] Generated Node #0,1,0: 71:[29, 115] Operation: 53+62=115 Exploring Operation: 53+29=82, Resulting Numbers: [62, 82] Generated Node #0,1,1: 71:[62, 82] Operation: 53+29=82 Exploring Operation: 53-29=24, Resulting Numbers: [62, 24] Generated Node #0,1,2: 71:[62, 24] Operation: 53-29=24 Exploring Operation: 29+62=91, Resulting Numbers: [53, 91] Generated Node #0,1,3: 71:[53, 91] Operation: 29+62=91 Exploring Operation: 62-29=33, Resulting Numbers: [53, 33] Generated Node #0,1,4: 71:[53, 33] Operation: 62-29=33 Moving to Node #0,1,1 Current State: 71:[62, 82], Operations: ['59+3=62', '53+29=82'] Exploring Operation: 62+82=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 62*82=5084, Resulting Numbers: [5084] 5084,71 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[53, 91], Operations: ['59+3=62', '29+62=91'] Exploring Operation: 53+91=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 53*91=4823, Resulting Numbers: [4823] 4823,71 unequal: No Solution Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[62, 24], Operations: ['59+3=62', '53-29=24'] Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,71 unequal: No Solution Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[53, 33], Operations: ['59+3=62', '62-29=33'] Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,71 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[29, 115], Operations: ['59+3=62', '53+62=115'] Exploring Operation: 29+115=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 115-29=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 29*115=3335, Resulting Numbers: [3335] 3335,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,4 Current State: 71:[59, 29, 56], Operations: ['53+3=56'] Exploring Operation: 59-29=30, Resulting Numbers: [56, 30] Generated Node #0,4,0: 71:[56, 30] Operation: 59-29=30 Exploring Operation: 56-29=27, Resulting Numbers: [59, 27] Generated Node #0,4,1: 71:[59, 27] Operation: 56-29=27 Exploring Operation: 59+56=115, Resulting Numbers: [29, 115] Generated Node #0,4,2: 71:[29, 115] Operation: 59+56=115 Exploring Operation: 29+56=85, Resulting Numbers: [59, 85] Generated Node #0,4,3: 71:[59, 85] Operation: 29+56=85 Exploring Operation: 59+29=88, Resulting Numbers: [56, 88] Generated Node #0,4,4: 71:[56, 88] Operation: 59+29=88 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 71:[59, 85], Operations: ['53+3=56', '29+56=85'] Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,71 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 71:[56, 88], Operations: ['53+3=56', '59+29=88'] Exploring Operation: 56+88=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 56*88=4928, Resulting Numbers: [4928] 4928,71 unequal: No Solution No 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: 71:[56, 30], Operations: ['53+3=56', '59-29=30'] Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,71 unequal: No Solution No 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: 71:[59, 27], Operations: ['53+3=56', '56-29=27'] Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,71 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,71 unequal: No Solution No 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: 71:[29, 115], Operations: ['53+3=56', '59+56=115'] Exploring Operation: 29*115=3335, Resulting Numbers: [3335] 3335,71 unequal: No Solution Exploring Operation: 115-29=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 29+115=144, Resulting Numbers: [144] 144,71 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: 71:[53, 29, 56], Operations: ['59-3=56'] Exploring Operation: 29+56=85, Resulting Numbers: [53, 85] Generated Node #0,3,0: 71:[53, 85] Operation: 29+56=85 Exploring Operation: 53+56=109, Resulting Numbers: [29, 109] Generated Node #0,3,1: 71:[29, 109] Operation: 53+56=109 Exploring Operation: 56-29=27, Resulting Numbers: [53, 27] Generated Node #0,3,2: 71:[53, 27] Operation: 56-29=27 Exploring Operation: 53+29=82, Resulting Numbers: [56, 82] Generated Node #0,3,3: 71:[56, 82] Operation: 53+29=82 Exploring Operation: 53-29=24, Resulting Numbers: [56, 24] Generated Node #0,3,4: 71:[56, 24] Operation: 53-29=24 Moving to Node #0,3,3 Current State: 71:[56, 82], Operations: ['59-3=56', '53+29=82'] Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,71 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,71 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[53, 85], Operations: ['59-3=56', '29+56=85'] Exploring Operation: 53+85=138, Resulting Numbers: [138] 138,71 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 53*85=4505, Resulting Numbers: [4505] 4505,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[53, 27], Operations: ['59-3=56', '56-29=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[56, 24], Operations: ['59-3=56', '53-29=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[29, 109], Operations: ['59-3=56', '53+56=109'] Exploring Operation: 29*109=3161, Resulting Numbers: [3161] 3161,71 unequal: No Solution Exploring Operation: 109-29=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 29+109=138, Resulting Numbers: [138] 138,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 92, 38, 28, 46 ]
33
[ "92/46=2", "38+28=66", "66/2=33" ]
Current State: 33:[92, 38, 28, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [38, 28, 2] Generated Node #2: [38, 28, 2] from Operation: 92/46=2 Current State: 33:[38, 28, 2], Operations: ['92/46=2'] Exploring Operation: 38+28=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 38+28=66 Current State: 33:[2, 66], Operations: ['92/46=2', '38+28=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[92, 38, 28, 46], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [38, 28, 46] Generated Node #0,0: 33:[38, 28, 46] Operation: 92-46=46 Exploring Operation: 92/46=2, Resulting Numbers: [38, 28, 2] Generated Node #0,1: 33:[38, 28, 2] Operation: 92/46=2 Moving to Node #0,1 Current State: 33:[38, 28, 2], Operations: ['92/46=2'] Exploring Operation: 38-28=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 33:[2, 10] Operation: 38-28=10 Exploring Operation: 38-2=36, Resulting Numbers: [28, 36] Generated Node #0,1,1: 33:[28, 36] Operation: 38-2=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[2, 10], Operations: ['92/46=2', '38-28=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,33 unequal: No Solution No 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: 33:[28, 36], Operations: ['92/46=2', '38-2=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,33 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: 33:[38, 28, 46], Operations: ['92-46=46'] Exploring Operation: 46-38=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 33:[28, 8] Operation: 46-38=8 Exploring Operation: 46-28=18, Resulting Numbers: [38, 18] Generated Node #0,0,1: 33:[38, 18] Operation: 46-28=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[28, 8], Operations: ['92-46=46', '46-38=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,33 unequal: No Solution No 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: 33:[38, 18], Operations: ['92-46=46', '46-28=18'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,33 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
[ 69, 93, 76, 31 ]
95
[ "69-31=38", "76/38=2", "93+2=95" ]
Current State: 95:[69, 93, 76, 31], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [93, 76, 38] Generated Node #2: [93, 76, 38] from Operation: 69-31=38 Current State: 95:[93, 76, 38], Operations: ['69-31=38'] Exploring Operation: 76/38=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 76/38=2 Current State: 95:[93, 2], Operations: ['69-31=38', '76/38=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[69, 93, 76, 31], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [93, 76, 38] Generated Node #0,0: 95:[93, 76, 38] Operation: 69-31=38 Exploring Operation: 69+31=100, Resulting Numbers: [93, 76, 100] Generated Node #0,1: 95:[93, 76, 100] Operation: 69+31=100 Exploring Operation: 93-69=24, Resulting Numbers: [76, 31, 24] Generated Node #0,2: 95:[76, 31, 24] Operation: 93-69=24 Exploring Operation: 76-69=7, Resulting Numbers: [93, 31, 7] Generated Node #0,3: 95:[93, 31, 7] Operation: 76-69=7 Moving to Node #0,3 Current State: 95:[93, 31, 7], Operations: ['76-69=7'] Exploring Operation: 93/31=3, Resulting Numbers: [7, 3] Generated Node #0,3,0: 95:[7, 3] Operation: 93/31=3 Exploring Operation: 93-7=86, Resulting Numbers: [31, 86] Generated Node #0,3,1: 95:[31, 86] Operation: 93-7=86 Exploring Operation: 93+7=100, Resulting Numbers: [31, 100] Generated Node #0,3,2: 95:[31, 100] Operation: 93+7=100 Exploring Operation: 31-7=24, Resulting Numbers: [93, 24] Generated Node #0,3,3: 95:[93, 24] Operation: 31-7=24 Moving to Node #0,1 Current State: 95:[93, 76, 100], Operations: ['69+31=100'] Exploring Operation: 93+76=169, Resulting Numbers: [100, 169] Generated Node #0,1,0: 95:[100, 169] Operation: 93+76=169 Exploring Operation: 100-93=7, Resulting Numbers: [76, 7] Generated Node #0,1,1: 95:[76, 7] Operation: 100-93=7 Exploring Operation: 93-76=17, Resulting Numbers: [100, 17] Generated Node #0,1,2: 95:[100, 17] Operation: 93-76=17 Exploring Operation: 100-76=24, Resulting Numbers: [93, 24] Generated Node #0,1,3: 95:[93, 24] Operation: 100-76=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[100, 17], Operations: ['69+31=100', '93-76=17'] Exploring Operation: 100-17=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 100+17=117, Resulting Numbers: [117] 117,95 unequal: No Solution Exploring Operation: 100*17=1700, Resulting Numbers: [1700] 1700,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,3 Current State: 95:[93, 24], Operations: ['69+31=100', '100-76=24'] Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,95 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,95 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,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:[76, 7], Operations: ['69+31=100', '100-93=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,95 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,95 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,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,0 Current State: 95:[100, 169], Operations: ['69+31=100', '93+76=169'] Exploring Operation: 100+169=269, Resulting Numbers: [269] 269,95 unequal: No Solution Exploring Operation: 100*169=16900, Resulting Numbers: [16900] 16900,95 unequal: No Solution Exploring Operation: 169-100=69, Resulting Numbers: [69] 69,95 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: 95:[76, 31, 24], Operations: ['93-69=24'] Exploring Operation: 76+24=100, Resulting Numbers: [31, 100] Generated Node #0,2,0: 95:[31, 100] Operation: 76+24=100 Exploring Operation: 76-31=45, Resulting Numbers: [24, 45] Generated Node #0,2,1: 95:[24, 45] Operation: 76-31=45 Exploring Operation: 31-24=7, Resulting Numbers: [76, 7] Generated Node #0,2,2: 95:[76, 7] Operation: 31-24=7 Exploring Operation: 76+31=107, Resulting Numbers: [24, 107] Generated Node #0,2,3: 95:[24, 107] Operation: 76+31=107 Moving to Node #0,0 Current State: 95:[93, 76, 38], Operations: ['69-31=38'] Exploring Operation: 76+38=114, Resulting Numbers: [93, 114] Generated Node #0,0,0: 95:[93, 114] Operation: 76+38=114 Exploring Operation: 76-38=38, Resulting Numbers: [93, 38] Generated Node #0,0,1: 95:[93, 38] Operation: 76-38=38 Exploring Operation: 93-76=17, Resulting Numbers: [38, 17] Generated Node #0,0,2: 95:[38, 17] Operation: 93-76=17 Exploring Operation: 76/38=2, Resulting Numbers: [93, 2] Generated Node #0,0,3: 95:[93, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[93, 2], Operations: ['69-31=38', '76/38=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[69, 93, 76, 31], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [93, 76, 38] Generated Node #0,0: 95:[93, 76, 38] Operation: 69-31=38 Moving to Node #0,0 Current State: 95:[93, 76, 38], Operations: ['69-31=38'] Exploring Operation: 76/38=2, Resulting Numbers: [93, 2] Generated Node #0,0,3: 95:[93, 2] Operation: 76/38=2 Moving to Node #0,0,3 Current State: 95:[93, 2], Operations: ['69-31=38', '76/38=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 99, 56, 38, 7 ]
27
[ "56-38=18", "7*18=126", "126-99=27" ]
Current State: 27:[99, 56, 38, 7], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [99, 7, 18] Generated Node #2: [99, 7, 18] from Operation: 56-38=18 Current State: 27:[99, 7, 18], Operations: ['56-38=18'] Exploring Operation: 7*18=126, Resulting Numbers: [99, 126] Generated Node #3: [99, 126] from Operation: 7*18=126 Current State: 27:[99, 126], Operations: ['56-38=18', '7*18=126'] Exploring Operation: 126-99=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[99, 56, 38, 7], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [99, 38, 8] Generated Node #0,0: 27:[99, 38, 8] Operation: 56/7=8 Exploring Operation: 99-56=43, Resulting Numbers: [38, 7, 43] Generated Node #0,1: 27:[38, 7, 43] Operation: 99-56=43 Exploring Operation: 56-38=18, Resulting Numbers: [99, 7, 18] Generated Node #0,2: 27:[99, 7, 18] Operation: 56-38=18 Exploring Operation: 99-38=61, Resulting Numbers: [56, 7, 61] Generated Node #0,3: 27:[56, 7, 61] Operation: 99-38=61 Exploring Operation: 99-7=92, Resulting Numbers: [56, 38, 92] Generated Node #0,4: 27:[56, 38, 92] Operation: 99-7=92 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[38, 7, 43], Operations: ['99-56=43'] Exploring Operation: 43-7=36, Resulting Numbers: [38, 36] Generated Node #0,1,0: 27:[38, 36] Operation: 43-7=36 Exploring Operation: 38-7=31, Resulting Numbers: [43, 31] Generated Node #0,1,1: 27:[43, 31] Operation: 38-7=31 Exploring Operation: 7+43=50, Resulting Numbers: [38, 50] Generated Node #0,1,2: 27:[38, 50] Operation: 7+43=50 Exploring Operation: 38+7=45, Resulting Numbers: [43, 45] Generated Node #0,1,3: 27:[43, 45] Operation: 38+7=45 Exploring Operation: 43-38=5, Resulting Numbers: [7, 5] Generated Node #0,1,4: 27:[7, 5] Operation: 43-38=5 Moving to Node #0,1,4 Current State: 27:[7, 5], Operations: ['99-56=43', '43-38=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[43, 31], Operations: ['99-56=43', '38-7=31'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,27 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[38, 36], Operations: ['99-56=43', '43-7=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[38, 50], Operations: ['99-56=43', '7+43=50'] Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[43, 45], Operations: ['99-56=43', '38+7=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,27 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,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 Current State: 27:[56, 7, 61], Operations: ['99-38=61'] Exploring Operation: 56/7=8, Resulting Numbers: [61, 8] Generated Node #0,3,0: 27:[61, 8] Operation: 56/7=8 Exploring Operation: 56+7=63, Resulting Numbers: [61, 63] Generated Node #0,3,1: 27:[61, 63] Operation: 56+7=63 Exploring Operation: 61-7=54, Resulting Numbers: [56, 54] Generated Node #0,3,2: 27:[56, 54] Operation: 61-7=54 Exploring Operation: 61-56=5, Resulting Numbers: [7, 5] Generated Node #0,3,3: 27:[7, 5] Operation: 61-56=5 Exploring Operation: 56-7=49, Resulting Numbers: [61, 49] Generated Node #0,3,4: 27:[61, 49] Operation: 56-7=49 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[7, 5], Operations: ['99-38=61', '61-56=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[61, 8], Operations: ['99-38=61', '56/7=8'] Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,27 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[56, 54], Operations: ['99-38=61', '61-7=54'] Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 27:[61, 49], Operations: ['99-38=61', '56-7=49'] Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,27 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 27:[61, 63], Operations: ['99-38=61', '56+7=63'] Exploring Operation: 61+63=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 61*63=3843, Resulting Numbers: [3843] 3843,27 unequal: No Solution Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[99, 7, 18], Operations: ['56-38=18'] Exploring Operation: 18-7=11, Resulting Numbers: [99, 11] Generated Node #0,2,0: 27:[99, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [99, 25] Generated Node #0,2,1: 27:[99, 25] Operation: 7+18=25 Exploring Operation: 99-18=81, Resulting Numbers: [7, 81] Generated Node #0,2,2: 27:[7, 81] Operation: 99-18=81 Exploring Operation: 99+7=106, Resulting Numbers: [18, 106] Generated Node #0,2,3: 27:[18, 106] Operation: 99+7=106 Exploring Operation: 99-7=92, Resulting Numbers: [18, 92] Generated Node #0,2,4: 27:[18, 92] Operation: 99-7=92 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[7, 81], Operations: ['56-38=18', '99-18=81'] Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,27 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[99, 11], Operations: ['56-38=18', '18-7=11'] Exploring Operation: 99-11=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 99+11=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 99/11=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 99*11=1089, Resulting Numbers: [1089] 1089,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[99, 25], Operations: ['56-38=18', '7+18=25'] Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,27 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 27:[18, 92], Operations: ['56-38=18', '99-7=92'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 18*92=1656, Resulting Numbers: [1656] 1656,27 unequal: No Solution Exploring Operation: 18+92=110, Resulting Numbers: [110] 110,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 27:[18, 106], Operations: ['56-38=18', '99+7=106'] Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[99, 38, 8], Operations: ['56/7=8'] Exploring Operation: 38-8=30, Resulting Numbers: [99, 30] Generated Node #0,0,0: 27:[99, 30] Operation: 38-8=30 Exploring Operation: 99+8=107, Resulting Numbers: [38, 107] Generated Node #0,0,1: 27:[38, 107] Operation: 99+8=107 Exploring Operation: 38+8=46, Resulting Numbers: [99, 46] Generated Node #0,0,2: 27:[99, 46] Operation: 38+8=46 Exploring Operation: 99-38=61, Resulting Numbers: [8, 61] Generated Node #0,0,3: 27:[8, 61] Operation: 99-38=61 Exploring Operation: 99-8=91, Resulting Numbers: [38, 91] Generated Node #0,0,4: 27:[38, 91] Operation: 99-8=91 Moving to Node #0,0,3 Current State: 27:[8, 61], Operations: ['56/7=8', '99-38=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,27 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[38, 91], Operations: ['56/7=8', '99-8=91'] Exploring Operation: 38*91=3458, Resulting Numbers: [3458] 3458,27 unequal: No Solution Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 38+91=129, Resulting Numbers: [129] 129,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[99, 30], Operations: ['56/7=8', '38-8=30'] Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,27 unequal: No Solution Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[38, 107], Operations: ['56/7=8', '99+8=107'] Exploring Operation: 107-38=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 38+107=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 38*107=4066, Resulting Numbers: [4066] 4066,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[99, 46], Operations: ['56/7=8', '38+8=46'] Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,27 unequal: No Solution Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,27 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,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 Current State: 27:[56, 38, 92], Operations: ['99-7=92'] Exploring Operation: 56+92=148, Resulting Numbers: [38, 148] Generated Node #0,4,0: 27:[38, 148] Operation: 56+92=148 Exploring Operation: 92-56=36, Resulting Numbers: [38, 36] Generated Node #0,4,1: 27:[38, 36] Operation: 92-56=36 Exploring Operation: 56-38=18, Resulting Numbers: [92, 18] Generated Node #0,4,2: 27:[92, 18] Operation: 56-38=18 Exploring Operation: 56+38=94, Resulting Numbers: [92, 94] Generated Node #0,4,3: 27:[92, 94] Operation: 56+38=94 Exploring Operation: 92-38=54, Resulting Numbers: [56, 54] Generated Node #0,4,4: 27:[56, 54] Operation: 92-38=54 Moving to Node #0,4,1 Current State: 27:[38, 36], Operations: ['99-7=92', '92-56=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,27 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,4,4 Current State: 27:[56, 54], Operations: ['99-7=92', '92-38=54'] Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,27 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,27 unequal: No Solution Moving to Node #0,4,2 Current State: 27:[92, 18], Operations: ['99-7=92', '56-38=18'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[38, 148], Operations: ['99-7=92', '56+92=148'] Exploring Operation: 38+148=186, Resulting Numbers: [186] 186,27 unequal: No Solution Exploring Operation: 148-38=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 38*148=5624, Resulting Numbers: [5624] 5624,27 unequal: No Solution Moving to Node #0,4,3 Current State: 27:[92, 94], Operations: ['99-7=92', '56+38=94'] Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,27 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,27 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, 59, 10, 58 ]
81
[ "59-10=49", "58-49=9", "9*9=81" ]
Current State: 81:[9, 59, 10, 58], Operations: [] Exploring Operation: 59-10=49, Resulting Numbers: [9, 58, 49] Generated Node #2: [9, 58, 49] from Operation: 59-10=49 Current State: 81:[9, 58, 49], Operations: ['59-10=49'] Exploring Operation: 58-49=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 58-49=9 Current State: 81:[9, 9], Operations: ['59-10=49', '58-49=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[9, 59, 10, 58], Operations: [] Exploring Operation: 59+10=69, Resulting Numbers: [9, 58, 69] Generated Node #0,0: 81:[9, 58, 69] Operation: 59+10=69 Exploring Operation: 59-58=1, Resulting Numbers: [9, 10, 1] Generated Node #0,1: 81:[9, 10, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[9, 10, 1], Operations: ['59-58=1'] Exploring Operation: 9*1=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 81:[10, 9] Operation: 9*1=9 Exploring Operation: 10-1=9, Resulting Numbers: [9, 9] Generated Node #0,1,1: 81:[9, 9] Operation: 10-1=9 Moving to Node #0,1,1 Current State: 81:[9, 9], Operations: ['59-58=1', '10-1=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[9, 59, 10, 58], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [9, 10, 1] Generated Node #0,1: 81:[9, 10, 1] Operation: 59-58=1 Moving to Node #0,1 Current State: 81:[9, 10, 1], Operations: ['59-58=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9, 9] Generated Node #0,1,1: 81:[9, 9] Operation: 10-1=9 Moving to Node #0,1,1 Current State: 81:[9, 9], Operations: ['59-58=1', '10-1=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 44, 15, 84, 21 ]
76
[ "44-15=29", "84+21=105", "105-29=76" ]
Current State: 76:[44, 15, 84, 21], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [84, 21, 29] Generated Node #2: [84, 21, 29] from Operation: 44-15=29 Current State: 76:[84, 21, 29], Operations: ['44-15=29'] Exploring Operation: 84+21=105, Resulting Numbers: [29, 105] Generated Node #3: [29, 105] from Operation: 84+21=105 Current State: 76:[29, 105], Operations: ['44-15=29', '84+21=105'] Exploring Operation: 105-29=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[44, 15, 84, 21], Operations: [] Exploring Operation: 84-15=69, Resulting Numbers: [44, 21, 69] Generated Node #0,0: 76:[44, 21, 69] Operation: 84-15=69 Exploring Operation: 84/21=4, Resulting Numbers: [44, 15, 4] Generated Node #0,1: 76:[44, 15, 4] Operation: 84/21=4 Exploring Operation: 84-44=40, Resulting Numbers: [15, 21, 40] Generated Node #0,2: 76:[15, 21, 40] Operation: 84-44=40 Moving to Node #0,2 Current State: 76:[15, 21, 40], Operations: ['84-44=40'] Exploring Operation: 15+21=36, Resulting Numbers: [40, 36] Generated Node #0,2,0: 76:[40, 36] Operation: 15+21=36 Exploring Operation: 40-21=19, Resulting Numbers: [15, 19] Generated Node #0,2,1: 76:[15, 19] Operation: 40-21=19 Exploring Operation: 21-15=6, Resulting Numbers: [40, 6] Generated Node #0,2,2: 76:[40, 6] Operation: 21-15=6 Moving to Node #0,1 Current State: 76:[44, 15, 4], Operations: ['84/21=4'] Exploring Operation: 44-4=40, Resulting Numbers: [15, 40] Generated Node #0,1,0: 76:[15, 40] Operation: 44-4=40 Exploring Operation: 15+4=19, Resulting Numbers: [44, 19] Generated Node #0,1,1: 76:[44, 19] Operation: 15+4=19 Exploring Operation: 44-15=29, Resulting Numbers: [4, 29] Generated Node #0,1,2: 76:[4, 29] Operation: 44-15=29 Moving to Node #0,0 Current State: 76:[44, 21, 69], Operations: ['84-15=69'] Exploring Operation: 44-21=23, Resulting Numbers: [69, 23] Generated Node #0,0,0: 76:[69, 23] Operation: 44-21=23 Exploring Operation: 69-44=25, Resulting Numbers: [21, 25] Generated Node #0,0,1: 76:[21, 25] Operation: 69-44=25 Exploring Operation: 69-21=48, Resulting Numbers: [44, 48] Generated Node #0,0,2: 76:[44, 48] Operation: 69-21=48 Moving to Node #0,2,0 Current State: 76:[40, 36], Operations: ['84-44=40', '15+21=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[44, 15, 84, 21], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [15, 21, 40] Generated Node #0,2: 76:[15, 21, 40] Operation: 84-44=40 Moving to Node #0,2 Current State: 76:[15, 21, 40], Operations: ['84-44=40'] Exploring Operation: 15+21=36, Resulting Numbers: [40, 36] Generated Node #0,2,0: 76:[40, 36] Operation: 15+21=36 Moving to Node #0,2,0 Current State: 76:[40, 36], Operations: ['84-44=40', '15+21=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 11, 98, 17, 29 ]
98
[ "11+17=28", "29-28=1", "98*1=98" ]
Current State: 98:[11, 98, 17, 29], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [98, 29, 28] Generated Node #2: [98, 29, 28] from Operation: 11+17=28 Current State: 98:[98, 29, 28], Operations: ['11+17=28'] Exploring Operation: 29-28=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 29-28=1 Current State: 98:[98, 1], Operations: ['11+17=28', '29-28=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[11, 98, 17, 29], Operations: [] Exploring Operation: 11+29=40, Resulting Numbers: [98, 17, 40] Generated Node #0,0: 98:[98, 17, 40] Operation: 11+29=40 Exploring Operation: 29-11=18, Resulting Numbers: [98, 17, 18] Generated Node #0,1: 98:[98, 17, 18] Operation: 29-11=18 Exploring Operation: 17+29=46, Resulting Numbers: [11, 98, 46] Generated Node #0,2: 98:[11, 98, 46] Operation: 17+29=46 Exploring Operation: 17-11=6, Resulting Numbers: [98, 29, 6] Generated Node #0,3: 98:[98, 29, 6] Operation: 17-11=6 Exploring Operation: 29-17=12, Resulting Numbers: [11, 98, 12] Generated Node #0,4: 98:[11, 98, 12] Operation: 29-17=12 Moving to Node #0,4 Current State: 98:[11, 98, 12], Operations: ['29-17=12'] Exploring Operation: 98+12=110, Resulting Numbers: [11, 110] Generated Node #0,4,0: 98:[11, 110] Operation: 98+12=110 Exploring Operation: 12-11=1, Resulting Numbers: [98, 1] Generated Node #0,4,1: 98:[98, 1] Operation: 12-11=1 Exploring Operation: 11+98=109, Resulting Numbers: [12, 109] Generated Node #0,4,2: 98:[12, 109] Operation: 11+98=109 Exploring Operation: 11+12=23, Resulting Numbers: [98, 23] Generated Node #0,4,3: 98:[98, 23] Operation: 11+12=23 Exploring Operation: 98-11=87, Resulting Numbers: [12, 87] Generated Node #0,4,4: 98:[12, 87] Operation: 98-11=87 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 98:[98, 1], Operations: ['29-17=12', '12-11=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[11, 98, 17, 29], Operations: [] Exploring Operation: 29-17=12, Resulting Numbers: [11, 98, 12] Generated Node #0,4: 98:[11, 98, 12] Operation: 29-17=12 Moving to Node #0,4 Current State: 98:[11, 98, 12], Operations: ['29-17=12'] Exploring Operation: 12-11=1, Resulting Numbers: [98, 1] Generated Node #0,4,1: 98:[98, 1] Operation: 12-11=1 Moving to Node #0,4,1 Current State: 98:[98, 1], Operations: ['29-17=12', '12-11=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 75, 38, 67, 34 ]
15
[ "67-38=29", "34-29=5", "75/5=15" ]
Current State: 15:[75, 38, 67, 34], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [75, 34, 29] Generated Node #2: [75, 34, 29] from Operation: 67-38=29 Current State: 15:[75, 34, 29], Operations: ['67-38=29'] Exploring Operation: 34-29=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 34-29=5 Current State: 15:[75, 5], Operations: ['67-38=29', '34-29=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[75, 38, 67, 34], Operations: [] Exploring Operation: 67-34=33, Resulting Numbers: [75, 38, 33] Generated Node #0,0: 15:[75, 38, 33] Operation: 67-34=33 Exploring Operation: 75-67=8, Resulting Numbers: [38, 34, 8] Generated Node #0,1: 15:[38, 34, 8] Operation: 75-67=8 Exploring Operation: 75-38=37, Resulting Numbers: [67, 34, 37] Generated Node #0,2: 15:[67, 34, 37] Operation: 75-38=37 Exploring Operation: 75-34=41, Resulting Numbers: [38, 67, 41] Generated Node #0,3: 15:[38, 67, 41] Operation: 75-34=41 Exploring Operation: 67-38=29, Resulting Numbers: [75, 34, 29] Generated Node #0,4: 15:[75, 34, 29] Operation: 67-38=29 Moving to Node #0,1 Current State: 15:[38, 34, 8], Operations: ['75-67=8'] Exploring Operation: 38+8=46, Resulting Numbers: [34, 46] Generated Node #0,1,0: 15:[34, 46] Operation: 38+8=46 Exploring Operation: 38-34=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 15:[8, 4] Operation: 38-34=4 Exploring Operation: 38-8=30, Resulting Numbers: [34, 30] Generated Node #0,1,2: 15:[34, 30] Operation: 38-8=30 Exploring Operation: 34-8=26, Resulting Numbers: [38, 26] Generated Node #0,1,3: 15:[38, 26] Operation: 34-8=26 Exploring Operation: 34+8=42, Resulting Numbers: [38, 42] Generated Node #0,1,4: 15:[38, 42] Operation: 34+8=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[8, 4], Operations: ['75-67=8', '38-34=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[34, 30], Operations: ['75-67=8', '38-8=30'] Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,15 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[38, 26], Operations: ['75-67=8', '34-8=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[34, 46], Operations: ['75-67=8', '38+8=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 15:[38, 42], Operations: ['75-67=8', '34+8=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,15 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: 15:[75, 34, 29], Operations: ['67-38=29'] Exploring Operation: 75-34=41, Resulting Numbers: [29, 41] Generated Node #0,4,0: 15:[29, 41] Operation: 75-34=41 Exploring Operation: 75+34=109, Resulting Numbers: [29, 109] Generated Node #0,4,1: 15:[29, 109] Operation: 75+34=109 Exploring Operation: 75+29=104, Resulting Numbers: [34, 104] Generated Node #0,4,2: 15:[34, 104] Operation: 75+29=104 Exploring Operation: 75-29=46, Resulting Numbers: [34, 46] Generated Node #0,4,3: 15:[34, 46] Operation: 75-29=46 Exploring Operation: 34-29=5, Resulting Numbers: [75, 5] Generated Node #0,4,4: 15:[75, 5] Operation: 34-29=5 Moving to Node #0,2 Current State: 15:[67, 34, 37], Operations: ['75-38=37'] Exploring Operation: 37-34=3, Resulting Numbers: [67, 3] Generated Node #0,2,0: 15:[67, 3] Operation: 37-34=3 Exploring Operation: 67+34=101, Resulting Numbers: [37, 101] Generated Node #0,2,1: 15:[37, 101] Operation: 67+34=101 Exploring Operation: 67-37=30, Resulting Numbers: [34, 30] Generated Node #0,2,2: 15:[34, 30] Operation: 67-37=30 Exploring Operation: 67+37=104, Resulting Numbers: [34, 104] Generated Node #0,2,3: 15:[34, 104] Operation: 67+37=104 Exploring Operation: 67-34=33, Resulting Numbers: [37, 33] Generated Node #0,2,4: 15:[37, 33] Operation: 67-34=33 Moving to Node #0,0 Current State: 15:[75, 38, 33], Operations: ['67-34=33'] Exploring Operation: 75+38=113, Resulting Numbers: [33, 113] Generated Node #0,0,0: 15:[33, 113] Operation: 75+38=113 Exploring Operation: 75-33=42, Resulting Numbers: [38, 42] Generated Node #0,0,1: 15:[38, 42] Operation: 75-33=42 Exploring Operation: 75-38=37, Resulting Numbers: [33, 37] Generated Node #0,0,2: 15:[33, 37] Operation: 75-38=37 Exploring Operation: 75+33=108, Resulting Numbers: [38, 108] Generated Node #0,0,3: 15:[38, 108] Operation: 75+33=108 Exploring Operation: 38-33=5, Resulting Numbers: [75, 5] Generated Node #0,0,4: 15:[75, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[33, 37], Operations: ['67-34=33', '75-38=37'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[38, 42], Operations: ['67-34=33', '75-33=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,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,4 Current State: 15:[75, 5], Operations: ['67-34=33', '38-33=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,15 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[75, 38, 67, 34], Operations: [] Exploring Operation: 67-34=33, Resulting Numbers: [75, 38, 33] Generated Node #0,0: 15:[75, 38, 33] Operation: 67-34=33 Moving to Node #0,0 Current State: 15:[75, 38, 33], Operations: ['67-34=33'] Exploring Operation: 38-33=5, Resulting Numbers: [75, 5] Generated Node #0,0,4: 15:[75, 5] Operation: 38-33=5 Moving to Node #0,0,4 Current State: 15:[75, 5], Operations: ['67-34=33', '38-33=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
sum_heuristic
[ 78, 77, 68, 30 ]
97
[ "78-77=1", "68+30=98", "98-1=97" ]
Current State: 97:[78, 77, 68, 30], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [68, 30, 1] Generated Node #2: [68, 30, 1] from Operation: 78-77=1 Current State: 97:[68, 30, 1], Operations: ['78-77=1'] Exploring Operation: 68+30=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 68+30=98 Current State: 97:[1, 98], Operations: ['78-77=1', '68+30=98'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[78, 77, 68, 30], Operations: [] Exploring Operation: 68+30=98, Resulting Numbers: [78, 77, 98] Generated Node #0,0: 97:[78, 77, 98] Operation: 68+30=98 Exploring Operation: 77+30=107, Resulting Numbers: [78, 68, 107] Generated Node #0,1: 97:[78, 68, 107] Operation: 77+30=107 Exploring Operation: 78+30=108, Resulting Numbers: [77, 68, 108] Generated Node #0,2: 97:[77, 68, 108] Operation: 78+30=108 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[78, 77, 98], Operations: ['68+30=98'] Exploring Operation: 98-77=21, Resulting Numbers: [78, 21] Generated Node #0,0,0: 97:[78, 21] Operation: 98-77=21 Exploring Operation: 78+77=155, Resulting Numbers: [98, 155] Generated Node #0,0,1: 97:[98, 155] Operation: 78+77=155 Exploring Operation: 78-77=1, Resulting Numbers: [98, 1] Generated Node #0,0,2: 97:[98, 1] Operation: 78-77=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[98, 155], Operations: ['68+30=98', '78+77=155'] Exploring Operation: 98*155=15190, Resulting Numbers: [15190] 15190,97 unequal: No Solution Exploring Operation: 155-98=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 98+155=253, Resulting Numbers: [253] 253,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[78, 21], Operations: ['68+30=98', '98-77=21'] Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,97 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[98, 1], Operations: ['68+30=98', '78-77=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[78, 77, 68, 30], Operations: [] Exploring Operation: 68+30=98, Resulting Numbers: [78, 77, 98] Generated Node #0,0: 97:[78, 77, 98] Operation: 68+30=98 Moving to Node #0,0 Current State: 97:[78, 77, 98], Operations: ['68+30=98'] Exploring Operation: 78-77=1, Resulting Numbers: [98, 1] Generated Node #0,0,2: 97:[98, 1] Operation: 78-77=1 Moving to Node #0,0,2 Current State: 97:[98, 1], Operations: ['68+30=98', '78-77=1'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 18, 52, 73, 78 ]
100
[ "18*78=1404", "1404/52=27", "73+27=100" ]
Current State: 100:[18, 52, 73, 78], Operations: [] Exploring Operation: 18*78=1404, Resulting Numbers: [52, 73, 1404] Generated Node #2: [52, 73, 1404] from Operation: 18*78=1404 Current State: 100:[52, 73, 1404], Operations: ['18*78=1404'] Exploring Operation: 1404/52=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 1404/52=27 Current State: 100:[73, 27], Operations: ['18*78=1404', '1404/52=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[18, 52, 73, 78], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [18, 52, 5] Generated Node #0,0: 100:[18, 52, 5] Operation: 78-73=5 Exploring Operation: 73-52=21, Resulting Numbers: [18, 78, 21] Generated Node #0,1: 100:[18, 78, 21] Operation: 73-52=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[18, 52, 5], Operations: ['78-73=5'] Exploring Operation: 18-5=13, Resulting Numbers: [52, 13] Generated Node #0,0,0: 100:[52, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [52, 23] Generated Node #0,0,1: 100:[52, 23] Operation: 18+5=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[52, 23], Operations: ['78-73=5', '18+5=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[52, 13], Operations: ['78-73=5', '18-5=13'] Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,100 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: 100:[18, 78, 21], Operations: ['73-52=21'] Exploring Operation: 78+21=99, Resulting Numbers: [18, 99] Generated Node #0,1,0: 100:[18, 99] Operation: 78+21=99 Exploring Operation: 18+78=96, Resulting Numbers: [21, 96] Generated Node #0,1,1: 100:[21, 96] Operation: 18+78=96 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[18, 99], Operations: ['73-52=21', '78+21=99'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 18+99=117, Resulting Numbers: [117] 117,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[21, 96], Operations: ['73-52=21', '18+78=96'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,100 unequal: No Solution Exploring Operation: 21+96=117, Resulting Numbers: [117] 117,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 44, 49, 10 ]
60
[ "49-44=5", "10+5=15", "4*15=60" ]
Current State: 60:[4, 44, 49, 10], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [4, 10, 5] Generated Node #2: [4, 10, 5] from Operation: 49-44=5 Current State: 60:[4, 10, 5], Operations: ['49-44=5'] Exploring Operation: 10+5=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 10+5=15 Current State: 60:[4, 15], Operations: ['49-44=5', '10+5=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[4, 44, 49, 10], Operations: [] Exploring Operation: 44-10=34, Resulting Numbers: [4, 49, 34] Generated Node #0,0: 60:[4, 49, 34] Operation: 44-10=34 Exploring Operation: 44/4=11, Resulting Numbers: [49, 10, 11] Generated Node #0,1: 60:[49, 10, 11] Operation: 44/4=11 Exploring Operation: 49-44=5, Resulting Numbers: [4, 10, 5] Generated Node #0,2: 60:[4, 10, 5] Operation: 49-44=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[4, 10, 5], Operations: ['49-44=5'] Exploring Operation: 10+5=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 60:[4, 15] Operation: 10+5=15 Exploring Operation: 4*5=20, Resulting Numbers: [10, 20] Generated Node #0,2,1: 60:[10, 20] Operation: 4*5=20 Exploring Operation: 10-4=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 60:[5, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[4, 15], Operations: ['49-44=5', '10+5=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[4, 44, 49, 10], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [4, 10, 5] Generated Node #0,2: 60:[4, 10, 5] Operation: 49-44=5 Moving to Node #0,2 Current State: 60:[4, 10, 5], Operations: ['49-44=5'] Exploring Operation: 10+5=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 60:[4, 15] Operation: 10+5=15 Moving to Node #0,2,0 Current State: 60:[4, 15], Operations: ['49-44=5', '10+5=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 61, 72, 88, 2 ]
47
[ "61+72=133", "88-2=86", "133-86=47" ]
Current State: 47:[61, 72, 88, 2], Operations: [] Exploring Operation: 61+72=133, Resulting Numbers: [88, 2, 133] Generated Node #2: [88, 2, 133] from Operation: 61+72=133 Current State: 47:[88, 2, 133], Operations: ['61+72=133'] Exploring Operation: 88-2=86, Resulting Numbers: [133, 86] Generated Node #3: [133, 86] from Operation: 88-2=86 Current State: 47:[133, 86], Operations: ['61+72=133', '88-2=86'] Exploring Operation: 133-86=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[61, 72, 88, 2], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [61, 72, 44] Generated Node #0,0: 47:[61, 72, 44] Operation: 88/2=44 Exploring Operation: 72/2=36, Resulting Numbers: [61, 88, 36] Generated Node #0,1: 47:[61, 88, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[61, 72, 44], Operations: ['88/2=44'] Exploring Operation: 72-61=11, Resulting Numbers: [44, 11] Generated Node #0,0,0: 47:[44, 11] Operation: 72-61=11 Exploring Operation: 72-44=28, Resulting Numbers: [61, 28] Generated Node #0,0,1: 47:[61, 28] Operation: 72-44=28 Moving to Node #0,0,1 Current State: 47:[61, 28], Operations: ['88/2=44', '72-44=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[44, 11], Operations: ['88/2=44', '72-61=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,47 unequal: No Solution No 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: 47:[61, 88, 36], Operations: ['72/2=36'] Exploring Operation: 88-36=52, Resulting Numbers: [61, 52] Generated Node #0,1,0: 47:[61, 52] Operation: 88-36=52 Exploring Operation: 88-61=27, Resulting Numbers: [36, 27] Generated Node #0,1,1: 47:[36, 27] Operation: 88-61=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[61, 52], Operations: ['72/2=36', '88-36=52'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 61+52=113, Resulting Numbers: [113] 113,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[36, 27], Operations: ['72/2=36', '88-61=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 98, 46, 39, 25 ]
32
[ "46*25=1150", "98+1150=1248", "1248/39=32" ]
Current State: 32:[98, 46, 39, 25], Operations: [] Exploring Operation: 46*25=1150, Resulting Numbers: [98, 39, 1150] Generated Node #2: [98, 39, 1150] from Operation: 46*25=1150 Current State: 32:[98, 39, 1150], Operations: ['46*25=1150'] Exploring Operation: 98+1150=1248, Resulting Numbers: [39, 1248] Generated Node #3: [39, 1248] from Operation: 98+1150=1248 Current State: 32:[39, 1248], Operations: ['46*25=1150', '98+1150=1248'] Exploring Operation: 1248/39=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[98, 46, 39, 25], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [46, 25, 59] Generated Node #0,0: 32:[46, 25, 59] Operation: 98-39=59 Exploring Operation: 98-46=52, Resulting Numbers: [39, 25, 52] Generated Node #0,1: 32:[39, 25, 52] Operation: 98-46=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[39, 25, 52], Operations: ['98-46=52'] Exploring Operation: 52-25=27, Resulting Numbers: [39, 27] Generated Node #0,1,0: 32:[39, 27] Operation: 52-25=27 Exploring Operation: 52-39=13, Resulting Numbers: [25, 13] Generated Node #0,1,1: 32:[25, 13] Operation: 52-39=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[25, 13], Operations: ['98-46=52', '52-39=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,32 unequal: No Solution No 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: 32:[39, 27], Operations: ['98-46=52', '52-25=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[46, 25, 59], Operations: ['98-39=59'] Exploring Operation: 59-25=34, Resulting Numbers: [46, 34] Generated Node #0,0,0: 32:[46, 34] Operation: 59-25=34 Exploring Operation: 59-46=13, Resulting Numbers: [25, 13] Generated Node #0,0,1: 32:[25, 13] Operation: 59-46=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[25, 13], Operations: ['98-39=59', '59-46=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,32 unequal: No Solution No 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: 32:[46, 34], Operations: ['98-39=59', '59-25=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 82, 89, 52, 9 ]
71
[ "82+89=171", "171/9=19", "52+19=71" ]
Current State: 71:[82, 89, 52, 9], Operations: [] Exploring Operation: 82+89=171, Resulting Numbers: [52, 9, 171] Generated Node #2: [52, 9, 171] from Operation: 82+89=171 Current State: 71:[52, 9, 171], Operations: ['82+89=171'] Exploring Operation: 171/9=19, Resulting Numbers: [52, 19] Generated Node #3: [52, 19] from Operation: 171/9=19 Current State: 71:[52, 19], Operations: ['82+89=171', '171/9=19'] Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[82, 89, 52, 9], Operations: [] Exploring Operation: 89-9=80, Resulting Numbers: [82, 52, 80] Generated Node #0,0: 71:[82, 52, 80] Operation: 89-9=80 Exploring Operation: 82-9=73, Resulting Numbers: [89, 52, 73] Generated Node #0,1: 71:[89, 52, 73] Operation: 82-9=73 Exploring Operation: 52+9=61, Resulting Numbers: [82, 89, 61] Generated Node #0,2: 71:[82, 89, 61] Operation: 52+9=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[82, 52, 80], Operations: ['89-9=80'] Exploring Operation: 82+52=134, Resulting Numbers: [80, 134] Generated Node #0,0,0: 71:[80, 134] Operation: 82+52=134 Exploring Operation: 80-52=28, Resulting Numbers: [82, 28] Generated Node #0,0,1: 71:[82, 28] Operation: 80-52=28 Exploring Operation: 82-52=30, Resulting Numbers: [80, 30] Generated Node #0,0,2: 71:[80, 30] Operation: 82-52=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[80, 30], Operations: ['89-9=80', '82-52=30'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,71 unequal: No Solution Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[82, 28], Operations: ['89-9=80', '80-52=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,71 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[80, 134], Operations: ['89-9=80', '82+52=134'] Exploring Operation: 134-80=54, Resulting Numbers: [54] 54,71 unequal: No Solution Exploring Operation: 80*134=10720, Resulting Numbers: [10720] 10720,71 unequal: No Solution Exploring Operation: 80+134=214, Resulting Numbers: [214] 214,71 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: 71:[89, 52, 73], Operations: ['82-9=73'] Exploring Operation: 89+52=141, Resulting Numbers: [73, 141] Generated Node #0,1,0: 71:[73, 141] Operation: 89+52=141 Exploring Operation: 73-52=21, Resulting Numbers: [89, 21] Generated Node #0,1,1: 71:[89, 21] Operation: 73-52=21 Exploring Operation: 89-52=37, Resulting Numbers: [73, 37] Generated Node #0,1,2: 71:[73, 37] Operation: 89-52=37 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[73, 37], Operations: ['82-9=73', '89-52=37'] Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,71 unequal: No Solution No 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: 71:[89, 21], Operations: ['82-9=73', '73-52=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,71 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,71 unequal: No Solution No 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: 71:[73, 141], Operations: ['82-9=73', '89+52=141'] Exploring Operation: 73*141=10293, Resulting Numbers: [10293] 10293,71 unequal: No Solution Exploring Operation: 73+141=214, Resulting Numbers: [214] 214,71 unequal: No Solution Exploring Operation: 141-73=68, Resulting Numbers: [68] 68,71 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: 71:[82, 89, 61], Operations: ['52+9=61'] Exploring Operation: 89-61=28, Resulting Numbers: [82, 28] Generated Node #0,2,0: 71:[82, 28] Operation: 89-61=28 Exploring Operation: 82-61=21, Resulting Numbers: [89, 21] Generated Node #0,2,1: 71:[89, 21] Operation: 82-61=21 Exploring Operation: 89-82=7, Resulting Numbers: [61, 7] Generated Node #0,2,2: 71:[61, 7] Operation: 89-82=7 Moving to Node #0,2,0 Current State: 71:[82, 28], Operations: ['52+9=61', '89-61=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,71 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[89, 21], Operations: ['52+9=61', '82-61=21'] Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,71 unequal: No Solution Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[61, 7], Operations: ['52+9=61', '89-82=7'] Exploring Operation: 61*7=427, Resulting Numbers: [427] 427,71 unequal: No Solution Exploring Operation: 61+7=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 14, 90, 93 ]
77
[ "90/45=2", "93-14=79", "79-2=77" ]
Current State: 77:[45, 14, 90, 93], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [14, 93, 2] Generated Node #2: [14, 93, 2] from Operation: 90/45=2 Current State: 77:[14, 93, 2], Operations: ['90/45=2'] Exploring Operation: 93-14=79, Resulting Numbers: [2, 79] Generated Node #3: [2, 79] from Operation: 93-14=79 Current State: 77:[2, 79], Operations: ['90/45=2', '93-14=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[45, 14, 90, 93], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [14, 93, 2] Generated Node #0,0: 77:[14, 93, 2] Operation: 90/45=2 Exploring Operation: 93-90=3, Resulting Numbers: [45, 14, 3] Generated Node #0,1: 77:[45, 14, 3] Operation: 93-90=3 Moving to Node #0,0 Current State: 77:[14, 93, 2], Operations: ['90/45=2'] Exploring Operation: 14/2=7, Resulting Numbers: [93, 7] Generated Node #0,0,0: 77:[93, 7] Operation: 14/2=7 Exploring Operation: 93-14=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 77:[2, 79] Operation: 93-14=79 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[2, 79], Operations: ['90/45=2', '93-14=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[45, 14, 90, 93], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [14, 93, 2] Generated Node #0,0: 77:[14, 93, 2] Operation: 90/45=2 Moving to Node #0,0 Current State: 77:[14, 93, 2], Operations: ['90/45=2'] Exploring Operation: 93-14=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 77:[2, 79] Operation: 93-14=79 Moving to Node #0,0,1 Current State: 77:[2, 79], Operations: ['90/45=2', '93-14=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 9, 3, 7, 93 ]
51
[ "9-3=6", "7*6=42", "93-42=51" ]
Current State: 51:[9, 3, 7, 93], Operations: [] Exploring Operation: 9-3=6, Resulting Numbers: [7, 93, 6] Generated Node #2: [7, 93, 6] from Operation: 9-3=6 Current State: 51:[7, 93, 6], Operations: ['9-3=6'] Exploring Operation: 7*6=42, Resulting Numbers: [93, 42] Generated Node #3: [93, 42] from Operation: 7*6=42 Current State: 51:[93, 42], Operations: ['9-3=6', '7*6=42'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[9, 3, 7, 93], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [9, 3, 86] Generated Node #0,0: 51:[9, 3, 86] Operation: 93-7=86 Exploring Operation: 93/3=31, Resulting Numbers: [9, 7, 31] Generated Node #0,1: 51:[9, 7, 31] Operation: 93/3=31 Exploring Operation: 9+7=16, Resulting Numbers: [3, 93, 16] Generated Node #0,2: 51:[3, 93, 16] Operation: 9+7=16 Exploring Operation: 93-9=84, Resulting Numbers: [3, 7, 84] Generated Node #0,3: 51:[3, 7, 84] Operation: 93-9=84 Exploring Operation: 9-7=2, Resulting Numbers: [3, 93, 2] Generated Node #0,4: 51:[3, 93, 2] Operation: 9-7=2 Moving to Node #0,1 Current State: 51:[9, 7, 31], Operations: ['93/3=31'] Exploring Operation: 31-9=22, Resulting Numbers: [7, 22] Generated Node #0,1,0: 51:[7, 22] Operation: 31-9=22 Exploring Operation: 31-7=24, Resulting Numbers: [9, 24] Generated Node #0,1,1: 51:[9, 24] Operation: 31-7=24 Exploring Operation: 9+31=40, Resulting Numbers: [7, 40] Generated Node #0,1,2: 51:[7, 40] Operation: 9+31=40 Exploring Operation: 9+7=16, Resulting Numbers: [31, 16] Generated Node #0,1,3: 51:[31, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [31, 2] Generated Node #0,1,4: 51:[31, 2] Operation: 9-7=2 Moving to Node #0,3 Current State: 51:[3, 7, 84], Operations: ['93-9=84'] Exploring Operation: 84/3=28, Resulting Numbers: [7, 28] Generated Node #0,3,0: 51:[7, 28] Operation: 84/3=28 Exploring Operation: 84/7=12, Resulting Numbers: [3, 12] Generated Node #0,3,1: 51:[3, 12] Operation: 84/7=12 Exploring Operation: 7-3=4, Resulting Numbers: [84, 4] Generated Node #0,3,2: 51:[84, 4] Operation: 7-3=4 Exploring Operation: 84-3=81, Resulting Numbers: [7, 81] Generated Node #0,3,3: 51:[7, 81] Operation: 84-3=81 Exploring Operation: 84-7=77, Resulting Numbers: [3, 77] Generated Node #0,3,4: 51:[3, 77] Operation: 84-7=77 Moving to Node #0,0 Current State: 51:[9, 3, 86], Operations: ['93-7=86'] Exploring Operation: 86-9=77, Resulting Numbers: [3, 77] Generated Node #0,0,0: 51:[3, 77] Operation: 86-9=77 Exploring Operation: 86-3=83, Resulting Numbers: [9, 83] Generated Node #0,0,1: 51:[9, 83] Operation: 86-3=83 Exploring Operation: 9-3=6, Resulting Numbers: [86, 6] Generated Node #0,0,2: 51:[86, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [86, 3] Generated Node #0,0,3: 51:[86, 3] Operation: 9/3=3 Exploring Operation: 9+3=12, Resulting Numbers: [86, 12] Generated Node #0,0,4: 51:[86, 12] Operation: 9+3=12 Moving to Node #0,2 Current State: 51:[3, 93, 16], Operations: ['9+7=16'] Exploring Operation: 93-16=77, Resulting Numbers: [3, 77] Generated Node #0,2,0: 51:[3, 77] Operation: 93-16=77 Exploring Operation: 93/3=31, Resulting Numbers: [16, 31] Generated Node #0,2,1: 51:[16, 31] Operation: 93/3=31 Exploring Operation: 3+16=19, Resulting Numbers: [93, 19] Generated Node #0,2,2: 51:[93, 19] Operation: 3+16=19 Exploring Operation: 93-3=90, Resulting Numbers: [16, 90] Generated Node #0,2,3: 51:[16, 90] Operation: 93-3=90 Exploring Operation: 3*16=48, Resulting Numbers: [93, 48] Generated Node #0,2,4: 51:[93, 48] Operation: 3*16=48 Moving to Node #0,4 Current State: 51:[3, 93, 2], Operations: ['9-7=2'] Exploring Operation: 93-2=91, Resulting Numbers: [3, 91] Generated Node #0,4,0: 51:[3, 91] Operation: 93-2=91 Exploring Operation: 93-3=90, Resulting Numbers: [2, 90] Generated Node #0,4,1: 51:[2, 90] Operation: 93-3=90 Exploring Operation: 3-2=1, Resulting Numbers: [93, 1] Generated Node #0,4,2: 51:[93, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [93, 5] Generated Node #0,4,3: 51:[93, 5] Operation: 3+2=5 Exploring Operation: 93/3=31, Resulting Numbers: [2, 31] Generated Node #0,4,4: 51:[2, 31] Operation: 93/3=31 Moving to Node #0,3,1 Current State: 51:[3, 12], Operations: ['93-9=84', '84/7=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[7, 22], Operations: ['93/3=31', '31-9=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[9, 24], Operations: ['93/3=31', '31-7=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,51 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[7, 28], Operations: ['93-9=84', '84/3=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[7, 40], Operations: ['93/3=31', '9+31=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,51 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,51 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[31, 2], Operations: ['93/3=31', '9-7=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[2, 31], Operations: ['9-7=2', '93/3=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,51 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[31, 16], Operations: ['93/3=31', '9+7=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,51 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[16, 31], Operations: ['9+7=16', '93/3=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,51 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[3, 77], Operations: ['93-7=86', '86-9=77'] Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,51 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[3, 77], Operations: ['9+7=16', '93-16=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,51 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[3, 77], Operations: ['93-9=84', '84-7=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[7, 81], Operations: ['93-9=84', '84-3=81'] Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,51 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[84, 4], Operations: ['93-9=84', '7-3=4'] Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[86, 3], Operations: ['93-7=86', '9/3=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,51 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,51 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[86, 6], Operations: ['93-7=86', '9-3=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,51 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[9, 83], Operations: ['93-7=86', '86-3=83'] Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,51 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[2, 90], Operations: ['9-7=2', '93-3=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[3, 91], Operations: ['9-7=2', '93-2=91'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[16, 90], Operations: ['9+7=16', '93-3=90'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 16+90=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 16*90=1440, Resulting Numbers: [1440] 1440,51 unequal: No Solution Moving to Node #0,0,4 Current State: 51:[86, 12], Operations: ['93-7=86', '9+3=12'] Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 86+12=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 86*12=1032, Resulting Numbers: [1032] 1032,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[93, 1], Operations: ['9-7=2', '3-2=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,51 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,51 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[93, 19], Operations: ['9+7=16', '3+16=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,51 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,51 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[93, 5], Operations: ['9-7=2', '3+2=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[93, 48], Operations: ['9+7=16', '3*16=48'] Exploring Operation: 93*48=4464, Resulting Numbers: [4464] 4464,51 unequal: No Solution Exploring Operation: 93+48=141, Resulting Numbers: [141] 141,51 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,51 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 35, 18, 45, 63 ]
36
[ "18+45=63", "63/63=1", "35+1=36" ]
Current State: 36:[35, 18, 45, 63], Operations: [] Exploring Operation: 18+45=63, Resulting Numbers: [35, 63, 63] Generated Node #2: [35, 63, 63] from Operation: 18+45=63 Current State: 36:[35, 63, 63], Operations: ['18+45=63'] Exploring Operation: 63/63=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 63/63=1 Current State: 36:[35, 1], Operations: ['18+45=63', '63/63=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[35, 18, 45, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [35, 45, 45] Generated Node #0,0: 36:[35, 45, 45] Operation: 63-18=45 Exploring Operation: 63-35=28, Resulting Numbers: [18, 45, 28] Generated Node #0,1: 36:[18, 45, 28] Operation: 63-35=28 Exploring Operation: 63-45=18, Resulting Numbers: [35, 18, 18] Generated Node #0,2: 36:[35, 18, 18] Operation: 63-45=18 Exploring Operation: 45-35=10, Resulting Numbers: [18, 63, 10] Generated Node #0,3: 36:[18, 63, 10] Operation: 45-35=10 Moving to Node #0,2 Current State: 36:[35, 18, 18], Operations: ['63-45=18'] Exploring Operation: 35-18=17, Resulting Numbers: [18, 17] Generated Node #0,2,0: 36:[18, 17] Operation: 35-18=17 Exploring Operation: 35-18=17, Resulting Numbers: [18, 17] Generated Node #0,2,1: 36:[18, 17] Operation: 35-18=17 Exploring Operation: 18/18=1, Resulting Numbers: [35, 1] Generated Node #0,2,2: 36:[35, 1] Operation: 18/18=1 Exploring Operation: 18+18=36, Resulting Numbers: [35, 36] Generated Node #0,2,3: 36:[35, 36] Operation: 18+18=36 Moving to Node #0,1 Current State: 36:[18, 45, 28], Operations: ['63-35=28'] Exploring Operation: 45-18=27, Resulting Numbers: [28, 27] Generated Node #0,1,0: 36:[28, 27] Operation: 45-18=27 Exploring Operation: 18+28=46, Resulting Numbers: [45, 46] Generated Node #0,1,1: 36:[45, 46] Operation: 18+28=46 Exploring Operation: 45-28=17, Resulting Numbers: [18, 17] Generated Node #0,1,2: 36:[18, 17] Operation: 45-28=17 Exploring Operation: 28-18=10, Resulting Numbers: [45, 10] Generated Node #0,1,3: 36:[45, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[18, 17], Operations: ['63-35=28', '45-28=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,36 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[45, 10], Operations: ['63-35=28', '28-18=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,36 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[28, 27], Operations: ['63-35=28', '45-18=27'] Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,36 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[45, 46], Operations: ['63-35=28', '18+28=46'] Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,36 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,36 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: 36:[35, 45, 45], Operations: ['63-18=45'] Exploring Operation: 45-35=10, Resulting Numbers: [45, 10] Generated Node #0,0,0: 36:[45, 10] Operation: 45-35=10 Exploring Operation: 45-35=10, Resulting Numbers: [45, 10] Generated Node #0,0,1: 36:[45, 10] Operation: 45-35=10 Exploring Operation: 45-45=0, Resulting Numbers: [35, 0] Generated Node #0,0,2: 36:[35, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [35, 1] Generated Node #0,0,3: 36:[35, 1] Operation: 45/45=1 Moving to Node #0,3 Current State: 36:[18, 63, 10], Operations: ['45-35=10'] Exploring Operation: 18+10=28, Resulting Numbers: [63, 28] Generated Node #0,3,0: 36:[63, 28] Operation: 18+10=28 Exploring Operation: 63-10=53, Resulting Numbers: [18, 53] Generated Node #0,3,1: 36:[18, 53] Operation: 63-10=53 Exploring Operation: 63-18=45, Resulting Numbers: [10, 45] Generated Node #0,3,2: 36:[10, 45] Operation: 63-18=45 Exploring Operation: 18-10=8, Resulting Numbers: [63, 8] Generated Node #0,3,3: 36:[63, 8] Operation: 18-10=8 Moving to Node #0,2,0 Current State: 36:[18, 17], Operations: ['63-45=18', '35-18=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,36 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[35, 36], Operations: ['63-45=18', '18+18=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[18, 17], Operations: ['63-45=18', '35-18=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,36 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[35, 1], Operations: ['63-18=45', '45/45=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[35, 18, 45, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [35, 45, 45] Generated Node #0,0: 36:[35, 45, 45] Operation: 63-18=45 Moving to Node #0,0 Current State: 36:[35, 45, 45], Operations: ['63-18=45'] Exploring Operation: 45/45=1, Resulting Numbers: [35, 1] Generated Node #0,0,3: 36:[35, 1] Operation: 45/45=1 Moving to Node #0,0,3 Current State: 36:[35, 1], Operations: ['63-18=45', '45/45=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.959201
hs_4
sum_heuristic
[ 27, 73, 4, 14 ]
90
[ "27+73=100", "14-4=10", "100-10=90" ]
Current State: 90:[27, 73, 4, 14], Operations: [] Exploring Operation: 27+73=100, Resulting Numbers: [4, 14, 100] Generated Node #2: [4, 14, 100] from Operation: 27+73=100 Current State: 90:[4, 14, 100], Operations: ['27+73=100'] Exploring Operation: 14-4=10, Resulting Numbers: [100, 10] Generated Node #3: [100, 10] from Operation: 14-4=10 Current State: 90:[100, 10], Operations: ['27+73=100', '14-4=10'] Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[27, 73, 4, 14], Operations: [] Exploring Operation: 73-27=46, Resulting Numbers: [4, 14, 46] Generated Node #0,0: 90:[4, 14, 46] Operation: 73-27=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[4, 14, 46], Operations: ['73-27=46'] Exploring Operation: 4+14=18, Resulting Numbers: [46, 18] Generated Node #0,0,0: 90:[46, 18] Operation: 4+14=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[46, 18], Operations: ['73-27=46', '4+14=18'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,90 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
[ 69, 22, 12, 3 ]
82
[ "69+22=91", "12-3=9", "91-9=82" ]
Current State: 82:[69, 22, 12, 3], Operations: [] Exploring Operation: 69+22=91, Resulting Numbers: [12, 3, 91] Generated Node #2: [12, 3, 91] from Operation: 69+22=91 Current State: 82:[12, 3, 91], Operations: ['69+22=91'] Exploring Operation: 12-3=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 12-3=9 Current State: 82:[91, 9], Operations: ['69+22=91', '12-3=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[69, 22, 12, 3], Operations: [] Exploring Operation: 69+22=91, Resulting Numbers: [12, 3, 91] Generated Node #0,0: 82:[12, 3, 91] Operation: 69+22=91 Exploring Operation: 69+12=81, Resulting Numbers: [22, 3, 81] Generated Node #0,1: 82:[22, 3, 81] Operation: 69+12=81 Exploring Operation: 22+12=34, Resulting Numbers: [69, 3, 34] Generated Node #0,2: 82:[69, 3, 34] Operation: 22+12=34 Exploring Operation: 69-22=47, Resulting Numbers: [12, 3, 47] Generated Node #0,3: 82:[12, 3, 47] Operation: 69-22=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[12, 3, 47], Operations: ['69-22=47'] Exploring Operation: 12/3=4, Resulting Numbers: [47, 4] Generated Node #0,3,0: 82:[47, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [47, 9] Generated Node #0,3,1: 82:[47, 9] Operation: 12-3=9 Exploring Operation: 47-12=35, Resulting Numbers: [3, 35] Generated Node #0,3,2: 82:[3, 35] Operation: 47-12=35 Exploring Operation: 12*3=36, Resulting Numbers: [47, 36] Generated Node #0,3,3: 82:[47, 36] Operation: 12*3=36 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[3, 35], Operations: ['69-22=47', '47-12=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[47, 4], Operations: ['69-22=47', '12/3=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,82 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[47, 36], Operations: ['69-22=47', '12*3=36'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,82 unequal: No Solution Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[47, 9], Operations: ['69-22=47', '12-3=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,82 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,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,0 Current State: 82:[12, 3, 91], Operations: ['69+22=91'] Exploring Operation: 12-3=9, Resulting Numbers: [91, 9] Generated Node #0,0,0: 82:[91, 9] Operation: 12-3=9 Exploring Operation: 12*3=36, Resulting Numbers: [91, 36] Generated Node #0,0,1: 82:[91, 36] Operation: 12*3=36 Exploring Operation: 91-12=79, Resulting Numbers: [3, 79] Generated Node #0,0,2: 82:[3, 79] Operation: 91-12=79 Exploring Operation: 12/3=4, Resulting Numbers: [91, 4] Generated Node #0,0,3: 82:[91, 4] Operation: 12/3=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[3, 79], Operations: ['69+22=91', '91-12=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[69, 22, 12, 3], Operations: [] Exploring Operation: 69+22=91, Resulting Numbers: [12, 3, 91] Generated Node #0,0: 82:[12, 3, 91] Operation: 69+22=91 Moving to Node #0,0 Current State: 82:[12, 3, 91], Operations: ['69+22=91'] Exploring Operation: 91-12=79, Resulting Numbers: [3, 79] Generated Node #0,0,2: 82:[3, 79] Operation: 91-12=79 Moving to Node #0,0,2 Current State: 82:[3, 79], Operations: ['69+22=91', '91-12=79'] Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 41, 51, 25, 5 ]
27
[ "51-41=10", "10/5=2", "25+2=27" ]
Current State: 27:[41, 51, 25, 5], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [25, 5, 10] Generated Node #2: [25, 5, 10] from Operation: 51-41=10 Current State: 27:[25, 5, 10], Operations: ['51-41=10'] Exploring Operation: 10/5=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 10/5=2 Current State: 27:[25, 2], Operations: ['51-41=10', '10/5=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[41, 51, 25, 5], Operations: [] Exploring Operation: 41-5=36, Resulting Numbers: [51, 25, 36] Generated Node #0,0: 27:[51, 25, 36] Operation: 41-5=36 Exploring Operation: 41-25=16, Resulting Numbers: [51, 5, 16] Generated Node #0,1: 27:[51, 5, 16] Operation: 41-25=16 Exploring Operation: 51-5=46, Resulting Numbers: [41, 25, 46] Generated Node #0,2: 27:[41, 25, 46] Operation: 51-5=46 Exploring Operation: 51-41=10, Resulting Numbers: [25, 5, 10] Generated Node #0,3: 27:[25, 5, 10] Operation: 51-41=10 Exploring Operation: 51-25=26, Resulting Numbers: [41, 5, 26] Generated Node #0,4: 27:[41, 5, 26] Operation: 51-25=26 Moving to Node #0,3 Current State: 27:[25, 5, 10], Operations: ['51-41=10'] Exploring Operation: 25-5=20, Resulting Numbers: [10, 20] Generated Node #0,3,0: 27:[10, 20] Operation: 25-5=20 Exploring Operation: 10/5=2, Resulting Numbers: [25, 2] Generated Node #0,3,1: 27:[25, 2] Operation: 10/5=2 Exploring Operation: 25+5=30, Resulting Numbers: [10, 30] Generated Node #0,3,2: 27:[10, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [10, 5] Generated Node #0,3,3: 27:[10, 5] Operation: 25/5=5 Exploring Operation: 10-5=5, Resulting Numbers: [25, 5] Generated Node #0,3,4: 27:[25, 5] Operation: 10-5=5 Moving to Node #0,4 Current State: 27:[41, 5, 26], Operations: ['51-25=26'] Exploring Operation: 41-5=36, Resulting Numbers: [26, 36] Generated Node #0,4,0: 27:[26, 36] Operation: 41-5=36 Exploring Operation: 41+5=46, Resulting Numbers: [26, 46] Generated Node #0,4,1: 27:[26, 46] Operation: 41+5=46 Exploring Operation: 41-26=15, Resulting Numbers: [5, 15] Generated Node #0,4,2: 27:[5, 15] Operation: 41-26=15 Exploring Operation: 26-5=21, Resulting Numbers: [41, 21] Generated Node #0,4,3: 27:[41, 21] Operation: 26-5=21 Exploring Operation: 5+26=31, Resulting Numbers: [41, 31] Generated Node #0,4,4: 27:[41, 31] Operation: 5+26=31 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[5, 15], Operations: ['51-25=26', '41-26=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,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:[26, 36], Operations: ['51-25=26', '41-5=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,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:[41, 31], Operations: ['51-25=26', '5+26=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,27 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,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:[26, 46], Operations: ['51-25=26', '41+5=46'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,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,3 Current State: 27:[41, 21], Operations: ['51-25=26', '26-5=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,27 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,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:[51, 5, 16], Operations: ['41-25=16'] Exploring Operation: 51-16=35, Resulting Numbers: [5, 35] Generated Node #0,1,0: 27:[5, 35] Operation: 51-16=35 Exploring Operation: 5+16=21, Resulting Numbers: [51, 21] Generated Node #0,1,1: 27:[51, 21] Operation: 5+16=21 Exploring Operation: 51-5=46, Resulting Numbers: [16, 46] Generated Node #0,1,2: 27:[16, 46] Operation: 51-5=46 Exploring Operation: 51+5=56, Resulting Numbers: [16, 56] Generated Node #0,1,3: 27:[16, 56] Operation: 51+5=56 Exploring Operation: 16-5=11, Resulting Numbers: [51, 11] Generated Node #0,1,4: 27:[51, 11] Operation: 16-5=11 Moving to Node #0,0 Current State: 27:[51, 25, 36], Operations: ['41-5=36'] Exploring Operation: 25+36=61, Resulting Numbers: [51, 61] Generated Node #0,0,0: 27:[51, 61] Operation: 25+36=61 Exploring Operation: 51-36=15, Resulting Numbers: [25, 15] Generated Node #0,0,1: 27:[25, 15] Operation: 51-36=15 Exploring Operation: 36-25=11, Resulting Numbers: [51, 11] Generated Node #0,0,2: 27:[51, 11] Operation: 36-25=11 Exploring Operation: 51-25=26, Resulting Numbers: [36, 26] Generated Node #0,0,3: 27:[36, 26] Operation: 51-25=26 Exploring Operation: 51+25=76, Resulting Numbers: [36, 76] Generated Node #0,0,4: 27:[36, 76] Operation: 51+25=76 Moving to Node #0,2 Current State: 27:[41, 25, 46], Operations: ['51-5=46'] Exploring Operation: 25+46=71, Resulting Numbers: [41, 71] Generated Node #0,2,0: 27:[41, 71] Operation: 25+46=71 Exploring Operation: 46-41=5, Resulting Numbers: [25, 5] Generated Node #0,2,1: 27:[25, 5] Operation: 46-41=5 Exploring Operation: 46-25=21, Resulting Numbers: [41, 21] Generated Node #0,2,2: 27:[41, 21] Operation: 46-25=21 Exploring Operation: 41+25=66, Resulting Numbers: [46, 66] Generated Node #0,2,3: 27:[46, 66] Operation: 41+25=66 Exploring Operation: 41-25=16, Resulting Numbers: [46, 16] Generated Node #0,2,4: 27:[46, 16] Operation: 41-25=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[25, 5], Operations: ['51-5=46', '46-41=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,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,2 Current State: 27:[41, 21], Operations: ['51-5=46', '46-25=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,27 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,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,4 Current State: 27:[46, 16], Operations: ['51-5=46', '41-25=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,27 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,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,0 Current State: 27:[41, 71], Operations: ['51-5=46', '25+46=71'] Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,27 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,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:[46, 66], Operations: ['51-5=46', '41+25=66'] Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,27 unequal: No Solution Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,27 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 27:[25, 2], Operations: ['51-41=10', '10/5=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[41, 51, 25, 5], Operations: [] Exploring Operation: 51-41=10, Resulting Numbers: [25, 5, 10] Generated Node #0,3: 27:[25, 5, 10] Operation: 51-41=10 Moving to Node #0,3 Current State: 27:[25, 5, 10], Operations: ['51-41=10'] Exploring Operation: 10/5=2, Resulting Numbers: [25, 2] Generated Node #0,3,1: 27:[25, 2] Operation: 10/5=2 Moving to Node #0,3,1 Current State: 27:[25, 2], Operations: ['51-41=10', '10/5=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 26, 86, 44, 22 ]
82
[ "86-26=60", "44-22=22", "60+22=82" ]
Current State: 82:[26, 86, 44, 22], Operations: [] Exploring Operation: 86-26=60, Resulting Numbers: [44, 22, 60] Generated Node #2: [44, 22, 60] from Operation: 86-26=60 Current State: 82:[44, 22, 60], Operations: ['86-26=60'] Exploring Operation: 44-22=22, Resulting Numbers: [60, 22] Generated Node #3: [60, 22] from Operation: 44-22=22 Current State: 82:[60, 22], Operations: ['86-26=60', '44-22=22'] Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[26, 86, 44, 22], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [86, 44, 4] Generated Node #0,0: 82:[86, 44, 4] Operation: 26-22=4 Exploring Operation: 26+22=48, Resulting Numbers: [86, 44, 48] Generated Node #0,1: 82:[86, 44, 48] Operation: 26+22=48 Moving to Node #0,0 Current State: 82:[86, 44, 4], Operations: ['26-22=4'] Exploring Operation: 86-44=42, Resulting Numbers: [4, 42] Generated Node #0,0,0: 82:[4, 42] Operation: 86-44=42 Exploring Operation: 86-4=82, Resulting Numbers: [44, 82] Generated Node #0,0,1: 82:[44, 82] Operation: 86-4=82 Moving to Node #0,1 Current State: 82:[86, 44, 48], Operations: ['26+22=48'] Exploring Operation: 86-48=38, Resulting Numbers: [44, 38] Generated Node #0,1,0: 82:[44, 38] Operation: 86-48=38 Exploring Operation: 48-44=4, Resulting Numbers: [86, 4] Generated Node #0,1,1: 82:[86, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[44, 38], Operations: ['26+22=48', '86-48=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[26, 86, 44, 22], Operations: [] Exploring Operation: 26+22=48, Resulting Numbers: [86, 44, 48] Generated Node #0,1: 82:[86, 44, 48] Operation: 26+22=48 Moving to Node #0,1 Current State: 82:[86, 44, 48], Operations: ['26+22=48'] Exploring Operation: 86-48=38, Resulting Numbers: [44, 38] Generated Node #0,1,0: 82:[44, 38] Operation: 86-48=38 Moving to Node #0,1,0 Current State: 82:[44, 38], Operations: ['26+22=48', '86-48=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 25, 68, 30, 25 ]
68
[ "25-25=0", "30*0=0", "68+0=68" ]
Current State: 68:[25, 68, 30, 25], Operations: [] Exploring Operation: 25-25=0, Resulting Numbers: [68, 30, 0] Generated Node #2: [68, 30, 0] from Operation: 25-25=0 Current State: 68:[68, 30, 0], Operations: ['25-25=0'] Exploring Operation: 30*0=0, Resulting Numbers: [68, 0] Generated Node #3: [68, 0] from Operation: 30*0=0 Current State: 68:[68, 0], Operations: ['25-25=0', '30*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[25, 68, 30, 25], Operations: [] Exploring Operation: 25/25=1, Resulting Numbers: [68, 30, 1] Generated Node #0,0: 68:[68, 30, 1] Operation: 25/25=1 Exploring Operation: 25-25=0, Resulting Numbers: [68, 30, 0] Generated Node #0,1: 68:[68, 30, 0] Operation: 25-25=0 Moving to Node #0,0 Current State: 68:[68, 30, 1], Operations: ['25/25=1'] Exploring Operation: 68*1=68, Resulting Numbers: [30, 68] Generated Node #0,0,0: 68:[30, 68] Operation: 68*1=68 Exploring Operation: 30+1=31, Resulting Numbers: [68, 31] Generated Node #0,0,1: 68:[68, 31] Operation: 30+1=31 Moving to Node #0,1 Current State: 68:[68, 30, 0], Operations: ['25-25=0'] Exploring Operation: 68+0=68, Resulting Numbers: [30, 68] Generated Node #0,1,0: 68:[30, 68] Operation: 68+0=68 Exploring Operation: 30*0=0, Resulting Numbers: [68, 0] Generated Node #0,1,1: 68:[68, 0] Operation: 30*0=0 Moving to Node #0,1,1 Current State: 68:[68, 0], Operations: ['25-25=0', '30*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[25, 68, 30, 25], Operations: [] Exploring Operation: 25-25=0, Resulting Numbers: [68, 30, 0] Generated Node #0,1: 68:[68, 30, 0] Operation: 25-25=0 Moving to Node #0,1 Current State: 68:[68, 30, 0], Operations: ['25-25=0'] Exploring Operation: 30*0=0, Resulting Numbers: [68, 0] Generated Node #0,1,1: 68:[68, 0] Operation: 30*0=0 Moving to Node #0,1,1 Current State: 68:[68, 0], Operations: ['25-25=0', '30*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 65, 2, 13, 13 ]
39
[ "65*2=130", "13*13=169", "169-130=39" ]
Current State: 39:[65, 2, 13, 13], Operations: [] Exploring Operation: 65*2=130, Resulting Numbers: [13, 13, 130] Generated Node #2: [13, 13, 130] from Operation: 65*2=130 Current State: 39:[13, 13, 130], Operations: ['65*2=130'] Exploring Operation: 13*13=169, Resulting Numbers: [130, 169] Generated Node #3: [130, 169] from Operation: 13*13=169 Current State: 39:[130, 169], Operations: ['65*2=130', '13*13=169'] Exploring Operation: 169-130=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[65, 2, 13, 13], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [2, 13, 5] Generated Node #0,0: 39:[2, 13, 5] Operation: 65/13=5 Exploring Operation: 65/13=5, Resulting Numbers: [2, 13, 5] Generated Node #0,1: 39:[2, 13, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [2, 13, 52] Generated Node #0,2: 39:[2, 13, 52] Operation: 65-13=52 Moving to Node #0,0 Current State: 39:[2, 13, 5], Operations: ['65/13=5'] Exploring Operation: 5-2=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 5-2=3 Exploring Operation: 2*5=10, Resulting Numbers: [13, 10] Generated Node #0,0,1: 39:[13, 10] Operation: 2*5=10 Exploring Operation: 2+13=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 39:[5, 15] Operation: 2+13=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['65/13=5', '5-2=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[65, 2, 13, 13], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [2, 13, 5] Generated Node #0,0: 39:[2, 13, 5] Operation: 65/13=5 Moving to Node #0,0 Current State: 39:[2, 13, 5], Operations: ['65/13=5'] Exploring Operation: 5-2=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 5-2=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['65/13=5', '5-2=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 24, 81, 75, 93 ]
97
[ "81-75=6", "24/6=4", "93+4=97" ]
Current State: 97:[24, 81, 75, 93], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [24, 93, 6] Generated Node #2: [24, 93, 6] from Operation: 81-75=6 Current State: 97:[24, 93, 6], Operations: ['81-75=6'] Exploring Operation: 24/6=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 24/6=4 Current State: 97:[93, 4], Operations: ['81-75=6', '24/6=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[24, 81, 75, 93], Operations: [] Exploring Operation: 24+93=117, Resulting Numbers: [81, 75, 117] Generated Node #0,0: 97:[81, 75, 117] Operation: 24+93=117 Exploring Operation: 24+81=105, Resulting Numbers: [75, 93, 105] Generated Node #0,1: 97:[75, 93, 105] Operation: 24+81=105 Exploring Operation: 24+75=99, Resulting Numbers: [81, 93, 99] Generated Node #0,2: 97:[81, 93, 99] Operation: 24+75=99 Exploring Operation: 81-24=57, Resulting Numbers: [75, 93, 57] Generated Node #0,3: 97:[75, 93, 57] Operation: 81-24=57 Moving to Node #0,2 Current State: 97:[81, 93, 99], Operations: ['24+75=99'] Exploring Operation: 93-81=12, Resulting Numbers: [99, 12] Generated Node #0,2,0: 97:[99, 12] Operation: 93-81=12 Exploring Operation: 81+93=174, Resulting Numbers: [99, 174] Generated Node #0,2,1: 97:[99, 174] Operation: 81+93=174 Exploring Operation: 99-81=18, Resulting Numbers: [93, 18] Generated Node #0,2,2: 97:[93, 18] Operation: 99-81=18 Exploring Operation: 81+99=180, Resulting Numbers: [93, 180] Generated Node #0,2,3: 97:[93, 180] Operation: 81+99=180 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[99, 174], Operations: ['24+75=99', '81+93=174'] Exploring Operation: 99*174=17226, Resulting Numbers: [17226] 17226,97 unequal: No Solution Exploring Operation: 174-99=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 99+174=273, Resulting Numbers: [273] 273,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[93, 18], Operations: ['24+75=99', '99-81=18'] Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,97 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[99, 12], Operations: ['24+75=99', '93-81=12'] Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 99+12=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 99*12=1188, Resulting Numbers: [1188] 1188,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[93, 180], Operations: ['24+75=99', '81+99=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 93+180=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 93*180=16740, Resulting Numbers: [16740] 16740,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[75, 93, 105], Operations: ['24+81=105'] Exploring Operation: 75+105=180, Resulting Numbers: [93, 180] Generated Node #0,1,0: 97:[93, 180] Operation: 75+105=180 Exploring Operation: 93-75=18, Resulting Numbers: [105, 18] Generated Node #0,1,1: 97:[105, 18] Operation: 93-75=18 Exploring Operation: 75+93=168, Resulting Numbers: [105, 168] Generated Node #0,1,2: 97:[105, 168] Operation: 75+93=168 Exploring Operation: 105-75=30, Resulting Numbers: [93, 30] Generated Node #0,1,3: 97:[93, 30] Operation: 105-75=30 Moving to Node #0,0 Current State: 97:[81, 75, 117], Operations: ['24+93=117'] Exploring Operation: 117-81=36, Resulting Numbers: [75, 36] Generated Node #0,0,0: 97:[75, 36] Operation: 117-81=36 Exploring Operation: 81-75=6, Resulting Numbers: [117, 6] Generated Node #0,0,1: 97:[117, 6] Operation: 81-75=6 Exploring Operation: 117-75=42, Resulting Numbers: [81, 42] Generated Node #0,0,2: 97:[81, 42] Operation: 117-75=42 Exploring Operation: 81+75=156, Resulting Numbers: [117, 156] Generated Node #0,0,3: 97:[117, 156] Operation: 81+75=156 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[81, 42], Operations: ['24+93=117', '117-75=42'] Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,97 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[117, 156], Operations: ['24+93=117', '81+75=156'] Exploring Operation: 156-117=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 117*156=18252, Resulting Numbers: [18252] 18252,97 unequal: No Solution Exploring Operation: 117+156=273, Resulting Numbers: [273] 273,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[75, 36], Operations: ['24+93=117', '117-81=36'] Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,97 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[117, 6], Operations: ['24+93=117', '81-75=6'] Exploring Operation: 117-6=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 117+6=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 117*6=702, Resulting Numbers: [702] 702,97 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: 97:[75, 93, 57], Operations: ['81-24=57'] Exploring Operation: 75-57=18, Resulting Numbers: [93, 18] Generated Node #0,3,0: 97:[93, 18] Operation: 75-57=18 Exploring Operation: 93+57=150, Resulting Numbers: [75, 150] Generated Node #0,3,1: 97:[75, 150] Operation: 93+57=150 Exploring Operation: 75+57=132, Resulting Numbers: [93, 132] Generated Node #0,3,2: 97:[93, 132] Operation: 75+57=132 Exploring Operation: 93-57=36, Resulting Numbers: [75, 36] Generated Node #0,3,3: 97:[75, 36] Operation: 93-57=36 Moving to Node #0,3,2 Current State: 97:[93, 132], Operations: ['81-24=57', '75+57=132'] Exploring Operation: 93*132=12276, Resulting Numbers: [12276] 12276,97 unequal: No Solution Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,97 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[93, 30], Operations: ['24+81=105', '105-75=30'] Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[75, 150], Operations: ['81-24=57', '93+57=150'] Exploring Operation: 150/75=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 150-75=75, Resulting Numbers: [75] 75,97 unequal: No Solution Exploring Operation: 75*150=11250, Resulting Numbers: [11250] 11250,97 unequal: No Solution Exploring Operation: 75+150=225, Resulting Numbers: [225] 225,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[105, 168], Operations: ['24+81=105', '75+93=168'] Exploring Operation: 105*168=17640, Resulting Numbers: [17640] 17640,97 unequal: No Solution Exploring Operation: 105+168=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 168-105=63, Resulting Numbers: [63] 63,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[93, 18], Operations: ['81-24=57', '75-57=18'] Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,97 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[75, 36], Operations: ['81-24=57', '93-57=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,97 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[93, 180], Operations: ['24+81=105', '75+105=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 93+180=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 93*180=16740, Resulting Numbers: [16740] 16740,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[105, 18], Operations: ['24+81=105', '93-75=18'] Exploring Operation: 105-18=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 105+18=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 105*18=1890, Resulting Numbers: [1890] 1890,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 45, 54, 41 ]
80
[ "45-30=15", "54+41=95", "95-15=80" ]
Current State: 80:[30, 45, 54, 41], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [54, 41, 15] Generated Node #2: [54, 41, 15] from Operation: 45-30=15 Current State: 80:[54, 41, 15], Operations: ['45-30=15'] Exploring Operation: 54+41=95, Resulting Numbers: [15, 95] Generated Node #3: [15, 95] from Operation: 54+41=95 Current State: 80:[15, 95], Operations: ['45-30=15', '54+41=95'] Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[30, 45, 54, 41], Operations: [] Exploring Operation: 45-30=15, Resulting Numbers: [54, 41, 15] Generated Node #0,0: 80:[54, 41, 15] Operation: 45-30=15 Exploring Operation: 30+54=84, Resulting Numbers: [45, 41, 84] Generated Node #0,1: 80:[45, 41, 84] Operation: 30+54=84 Exploring Operation: 54-45=9, Resulting Numbers: [30, 41, 9] Generated Node #0,2: 80:[30, 41, 9] Operation: 54-45=9 Exploring Operation: 54-41=13, Resulting Numbers: [30, 45, 13] Generated Node #0,3: 80:[30, 45, 13] Operation: 54-41=13 Exploring Operation: 54-30=24, Resulting Numbers: [45, 41, 24] Generated Node #0,4: 80:[45, 41, 24] Operation: 54-30=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[45, 41, 84], Operations: ['30+54=84'] Exploring Operation: 45+84=129, Resulting Numbers: [41, 129] Generated Node #0,1,0: 80:[41, 129] Operation: 45+84=129 Exploring Operation: 45+41=86, Resulting Numbers: [84, 86] Generated Node #0,1,1: 80:[84, 86] Operation: 45+41=86 Exploring Operation: 84-45=39, Resulting Numbers: [41, 39] Generated Node #0,1,2: 80:[41, 39] Operation: 84-45=39 Exploring Operation: 84-41=43, Resulting Numbers: [45, 43] Generated Node #0,1,3: 80:[45, 43] Operation: 84-41=43 Exploring Operation: 45-41=4, Resulting Numbers: [84, 4] Generated Node #0,1,4: 80:[84, 4] Operation: 45-41=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[41, 39], Operations: ['30+54=84', '84-45=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,80 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[30, 45, 54, 41], Operations: [] Exploring Operation: 30+54=84, Resulting Numbers: [45, 41, 84] Generated Node #0,1: 80:[45, 41, 84] Operation: 30+54=84 Moving to Node #0,1 Current State: 80:[45, 41, 84], Operations: ['30+54=84'] Exploring Operation: 84-45=39, Resulting Numbers: [41, 39] Generated Node #0,1,2: 80:[41, 39] Operation: 84-45=39 Moving to Node #0,1,2 Current State: 80:[41, 39], Operations: ['30+54=84', '84-45=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 46, 72, 99, 44 ]
63
[ "46+72=118", "99-44=55", "118-55=63" ]
Current State: 63:[46, 72, 99, 44], Operations: [] Exploring Operation: 46+72=118, Resulting Numbers: [99, 44, 118] Generated Node #2: [99, 44, 118] from Operation: 46+72=118 Current State: 63:[99, 44, 118], Operations: ['46+72=118'] Exploring Operation: 99-44=55, Resulting Numbers: [118, 55] Generated Node #3: [118, 55] from Operation: 99-44=55 Current State: 63:[118, 55], Operations: ['46+72=118', '99-44=55'] Exploring Operation: 118-55=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[46, 72, 99, 44], Operations: [] Exploring Operation: 99-46=53, Resulting Numbers: [72, 44, 53] Generated Node #0,0: 63:[72, 44, 53] Operation: 99-46=53 Exploring Operation: 99-44=55, Resulting Numbers: [46, 72, 55] Generated Node #0,1: 63:[46, 72, 55] Operation: 99-44=55 Exploring Operation: 99-72=27, Resulting Numbers: [46, 44, 27] Generated Node #0,2: 63:[46, 44, 27] Operation: 99-72=27 Exploring Operation: 46-44=2, Resulting Numbers: [72, 99, 2] Generated Node #0,3: 63:[72, 99, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[46, 72, 55], Operations: ['99-44=55'] Exploring Operation: 72-46=26, Resulting Numbers: [55, 26] Generated Node #0,1,0: 63:[55, 26] Operation: 72-46=26 Exploring Operation: 46+55=101, Resulting Numbers: [72, 101] Generated Node #0,1,1: 63:[72, 101] Operation: 46+55=101 Exploring Operation: 72-55=17, Resulting Numbers: [46, 17] Generated Node #0,1,2: 63:[46, 17] Operation: 72-55=17 Exploring Operation: 55-46=9, Resulting Numbers: [72, 9] Generated Node #0,1,3: 63:[72, 9] Operation: 55-46=9 Moving to Node #0,1,3 Current State: 63:[72, 9], Operations: ['99-44=55', '55-46=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[46, 72, 99, 44], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [46, 72, 55] Generated Node #0,1: 63:[46, 72, 55] Operation: 99-44=55 Moving to Node #0,1 Current State: 63:[46, 72, 55], Operations: ['99-44=55'] Exploring Operation: 55-46=9, Resulting Numbers: [72, 9] Generated Node #0,1,3: 63:[72, 9] Operation: 55-46=9 Moving to Node #0,1,3 Current State: 63:[72, 9], Operations: ['99-44=55', '55-46=9'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 55, 8, 15, 14 ]
57
[ "15-8=7", "14/7=2", "55+2=57" ]
Current State: 57:[55, 8, 15, 14], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [55, 14, 7] Generated Node #2: [55, 14, 7] from Operation: 15-8=7 Current State: 57:[55, 14, 7], Operations: ['15-8=7'] Exploring Operation: 14/7=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 14/7=2 Current State: 57:[55, 2], Operations: ['15-8=7', '14/7=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[55, 8, 15, 14], Operations: [] Exploring Operation: 8+14=22, Resulting Numbers: [55, 15, 22] Generated Node #0,0: 57:[55, 15, 22] Operation: 8+14=22 Exploring Operation: 8+15=23, Resulting Numbers: [55, 14, 23] Generated Node #0,1: 57:[55, 14, 23] Operation: 8+15=23 Exploring Operation: 14-8=6, Resulting Numbers: [55, 15, 6] Generated Node #0,2: 57:[55, 15, 6] Operation: 14-8=6 Exploring Operation: 15-14=1, Resulting Numbers: [55, 8, 1] Generated Node #0,3: 57:[55, 8, 1] Operation: 15-14=1 Moving to Node #0,0 Current State: 57:[55, 15, 22], Operations: ['8+14=22'] Exploring Operation: 55+15=70, Resulting Numbers: [22, 70] Generated Node #0,0,0: 57:[22, 70] Operation: 55+15=70 Exploring Operation: 55-22=33, Resulting Numbers: [15, 33] Generated Node #0,0,1: 57:[15, 33] Operation: 55-22=33 Exploring Operation: 22-15=7, Resulting Numbers: [55, 7] Generated Node #0,0,2: 57:[55, 7] Operation: 22-15=7 Exploring Operation: 55-15=40, Resulting Numbers: [22, 40] Generated Node #0,0,3: 57:[22, 40] Operation: 55-15=40 Moving to Node #0,3 Current State: 57:[55, 8, 1], Operations: ['15-14=1'] Exploring Operation: 55*1=55, Resulting Numbers: [8, 55] Generated Node #0,3,0: 57:[8, 55] Operation: 55*1=55 Exploring Operation: 8-1=7, Resulting Numbers: [55, 7] Generated Node #0,3,1: 57:[55, 7] Operation: 8-1=7 Exploring Operation: 55+1=56, Resulting Numbers: [8, 56] Generated Node #0,3,2: 57:[8, 56] Operation: 55+1=56 Exploring Operation: 55/1=55, Resulting Numbers: [8, 55] Generated Node #0,3,3: 57:[8, 55] Operation: 55/1=55 Moving to Node #0,2 Current State: 57:[55, 15, 6], Operations: ['14-8=6'] Exploring Operation: 15+6=21, Resulting Numbers: [55, 21] Generated Node #0,2,0: 57:[55, 21] Operation: 15+6=21 Exploring Operation: 55-6=49, Resulting Numbers: [15, 49] Generated Node #0,2,1: 57:[15, 49] Operation: 55-6=49 Exploring Operation: 55+6=61, Resulting Numbers: [15, 61] Generated Node #0,2,2: 57:[15, 61] Operation: 55+6=61 Exploring Operation: 15-6=9, Resulting Numbers: [55, 9] Generated Node #0,2,3: 57:[55, 9] Operation: 15-6=9 Moving to Node #0,1 Current State: 57:[55, 14, 23], Operations: ['8+15=23'] Exploring Operation: 55-23=32, Resulting Numbers: [14, 32] Generated Node #0,1,0: 57:[14, 32] Operation: 55-23=32 Exploring Operation: 55+14=69, Resulting Numbers: [23, 69] Generated Node #0,1,1: 57:[23, 69] Operation: 55+14=69 Exploring Operation: 23-14=9, Resulting Numbers: [55, 9] Generated Node #0,1,2: 57:[55, 9] Operation: 23-14=9 Exploring Operation: 55-14=41, Resulting Numbers: [23, 41] Generated Node #0,1,3: 57:[23, 41] Operation: 55-14=41 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[55, 9], Operations: ['8+15=23', '23-14=9'] Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,57 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,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,1,1 Current State: 57:[23, 69], Operations: ['8+15=23', '55+14=69'] Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 23*69=1587, Resulting Numbers: [1587] 1587,57 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[14, 32], Operations: ['8+15=23', '55-23=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,57 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,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,1,3 Current State: 57:[23, 41], Operations: ['8+15=23', '55-14=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,57 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 57:[55, 21], Operations: ['14-8=6', '15+6=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[8, 56], Operations: ['15-14=1', '55+1=56'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[55, 7], Operations: ['8+14=22', '22-15=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,57 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[55, 7], Operations: ['15-14=1', '8-1=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,57 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[8, 55], Operations: ['15-14=1', '55*1=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,57 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,57 unequal: No Solution Moving to Node #0,3,3 Current State: 57:[8, 55], Operations: ['15-14=1', '55/1=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,57 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[15, 61], Operations: ['14-8=6', '55+6=61'] Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,57 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[55, 9], Operations: ['14-8=6', '15-6=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[15, 49], Operations: ['14-8=6', '55-6=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,57 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[22, 70], Operations: ['8+14=22', '55+15=70'] Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,57 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,57 unequal: No Solution Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[15, 33], Operations: ['8+14=22', '55-22=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,57 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[22, 40], Operations: ['8+14=22', '55-15=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,57 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 44, 15, 67 ]
64
[ "44+15=59", "67-59=8", "8*8=64" ]
Current State: 64:[8, 44, 15, 67], Operations: [] Exploring Operation: 44+15=59, Resulting Numbers: [8, 67, 59] Generated Node #2: [8, 67, 59] from Operation: 44+15=59 Current State: 64:[8, 67, 59], Operations: ['44+15=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 67-59=8 Current State: 64:[8, 8], Operations: ['44+15=59', '67-59=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 44, 15, 67], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [8, 67, 29] Generated Node #0,0: 64:[8, 67, 29] Operation: 44-15=29 Exploring Operation: 67-44=23, Resulting Numbers: [8, 15, 23] Generated Node #0,1: 64:[8, 15, 23] Operation: 67-44=23 Exploring Operation: 44-8=36, Resulting Numbers: [15, 67, 36] Generated Node #0,2: 64:[15, 67, 36] Operation: 44-8=36 Exploring Operation: 44+15=59, Resulting Numbers: [8, 67, 59] Generated Node #0,3: 64:[8, 67, 59] Operation: 44+15=59 Moving to Node #0,0 Current State: 64:[8, 67, 29], Operations: ['44-15=29'] Exploring Operation: 67-8=59, Resulting Numbers: [29, 59] Generated Node #0,0,0: 64:[29, 59] Operation: 67-8=59 Exploring Operation: 67-29=38, Resulting Numbers: [8, 38] Generated Node #0,0,1: 64:[8, 38] Operation: 67-29=38 Exploring Operation: 8+29=37, Resulting Numbers: [67, 37] Generated Node #0,0,2: 64:[67, 37] Operation: 8+29=37 Exploring Operation: 29-8=21, Resulting Numbers: [67, 21] Generated Node #0,0,3: 64:[67, 21] Operation: 29-8=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[8, 38], Operations: ['44-15=29', '67-29=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[29, 59], Operations: ['44-15=29', '67-8=59'] Exploring Operation: 29+59=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 29*59=1711, Resulting Numbers: [1711] 1711,64 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[67, 37], Operations: ['44-15=29', '8+29=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,64 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[67, 21], Operations: ['44-15=29', '29-8=21'] Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,64 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,64 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: 64:[15, 67, 36], Operations: ['44-8=36'] Exploring Operation: 67-15=52, Resulting Numbers: [36, 52] Generated Node #0,2,0: 64:[36, 52] Operation: 67-15=52 Exploring Operation: 15+36=51, Resulting Numbers: [67, 51] Generated Node #0,2,1: 64:[67, 51] Operation: 15+36=51 Exploring Operation: 67-36=31, Resulting Numbers: [15, 31] Generated Node #0,2,2: 64:[15, 31] Operation: 67-36=31 Exploring Operation: 36-15=21, Resulting Numbers: [67, 21] Generated Node #0,2,3: 64:[67, 21] Operation: 36-15=21 Moving to Node #0,1 Current State: 64:[8, 15, 23], Operations: ['67-44=23'] Exploring Operation: 8+23=31, Resulting Numbers: [15, 31] Generated Node #0,1,0: 64:[15, 31] Operation: 8+23=31 Exploring Operation: 15+23=38, Resulting Numbers: [8, 38] Generated Node #0,1,1: 64:[8, 38] Operation: 15+23=38 Exploring Operation: 23-8=15, Resulting Numbers: [15, 15] Generated Node #0,1,2: 64:[15, 15] Operation: 23-8=15 Exploring Operation: 23-15=8, Resulting Numbers: [8, 8] Generated Node #0,1,3: 64:[8, 8] Operation: 23-15=8 Moving to Node #0,3 Current State: 64:[8, 67, 59], Operations: ['44+15=59'] Exploring Operation: 8+67=75, Resulting Numbers: [59, 75] Generated Node #0,3,0: 64:[59, 75] Operation: 8+67=75 Exploring Operation: 67-8=59, Resulting Numbers: [59, 59] Generated Node #0,3,1: 64:[59, 59] Operation: 67-8=59 Exploring Operation: 8+59=67, Resulting Numbers: [67, 67] Generated Node #0,3,2: 64:[67, 67] Operation: 8+59=67 Exploring Operation: 67-59=8, Resulting Numbers: [8, 8] Generated Node #0,3,3: 64:[8, 8] Operation: 67-59=8 Moving to Node #0,1,3 Current State: 64:[8, 8], Operations: ['67-44=23', '23-15=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[8, 44, 15, 67], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [8, 15, 23] Generated Node #0,1: 64:[8, 15, 23] Operation: 67-44=23 Moving to Node #0,1 Current State: 64:[8, 15, 23], Operations: ['67-44=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8, 8] Generated Node #0,1,3: 64:[8, 8] Operation: 23-15=8 Moving to Node #0,1,3 Current State: 64:[8, 8], Operations: ['67-44=23', '23-15=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 68, 12, 87, 54 ]
61
[ "68+12=80", "87+54=141", "141-80=61" ]
Current State: 61:[68, 12, 87, 54], Operations: [] Exploring Operation: 68+12=80, Resulting Numbers: [87, 54, 80] Generated Node #2: [87, 54, 80] from Operation: 68+12=80 Current State: 61:[87, 54, 80], Operations: ['68+12=80'] Exploring Operation: 87+54=141, Resulting Numbers: [80, 141] Generated Node #3: [80, 141] from Operation: 87+54=141 Current State: 61:[80, 141], Operations: ['68+12=80', '87+54=141'] Exploring Operation: 141-80=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[68, 12, 87, 54], Operations: [] Exploring Operation: 87-12=75, Resulting Numbers: [68, 54, 75] Generated Node #0,0: 61:[68, 54, 75] Operation: 87-12=75 Moving to Node #0,0 Current State: 61:[68, 54, 75], Operations: ['87-12=75'] Exploring Operation: 75-54=21, Resulting Numbers: [68, 21] Generated Node #0,0,0: 61:[68, 21] Operation: 75-54=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[68, 21], Operations: ['87-12=75', '75-54=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,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
sum_heuristic
[ 89, 16, 48, 65 ]
89
[ "16+48=64", "65-64=1", "89*1=89" ]
Current State: 89:[89, 16, 48, 65], Operations: [] Exploring Operation: 16+48=64, Resulting Numbers: [89, 65, 64] Generated Node #2: [89, 65, 64] from Operation: 16+48=64 Current State: 89:[89, 65, 64], Operations: ['16+48=64'] Exploring Operation: 65-64=1, Resulting Numbers: [89, 1] Generated Node #3: [89, 1] from Operation: 65-64=1 Current State: 89:[89, 1], Operations: ['16+48=64', '65-64=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[89, 16, 48, 65], Operations: [] Exploring Operation: 16+48=64, Resulting Numbers: [89, 65, 64] Generated Node #0,0: 89:[89, 65, 64] Operation: 16+48=64 Exploring Operation: 89-16=73, Resulting Numbers: [48, 65, 73] Generated Node #0,1: 89:[48, 65, 73] Operation: 89-16=73 Exploring Operation: 89+16=105, Resulting Numbers: [48, 65, 105] Generated Node #0,2: 89:[48, 65, 105] Operation: 89+16=105 Exploring Operation: 16+65=81, Resulting Numbers: [89, 48, 81] Generated Node #0,3: 89:[89, 48, 81] Operation: 16+65=81 Exploring Operation: 48-16=32, Resulting Numbers: [89, 65, 32] Generated Node #0,4: 89:[89, 65, 32] Operation: 48-16=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[89, 65, 64], Operations: ['16+48=64'] Exploring Operation: 89+65=154, Resulting Numbers: [64, 154] Generated Node #0,0,0: 89:[64, 154] Operation: 89+65=154 Exploring Operation: 89+64=153, Resulting Numbers: [65, 153] Generated Node #0,0,1: 89:[65, 153] Operation: 89+64=153 Exploring Operation: 89-64=25, Resulting Numbers: [65, 25] Generated Node #0,0,2: 89:[65, 25] Operation: 89-64=25 Exploring Operation: 65-64=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 89:[89, 1] Operation: 65-64=1 Exploring Operation: 65+64=129, Resulting Numbers: [89, 129] Generated Node #0,0,4: 89:[89, 129] Operation: 65+64=129 Moving to Node #0,0,4 Current State: 89:[89, 129], Operations: ['16+48=64', '65+64=129'] Exploring Operation: 129-89=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 89*129=11481, Resulting Numbers: [11481] 11481,89 unequal: No Solution Exploring Operation: 89+129=218, Resulting Numbers: [218] 218,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[65, 25], Operations: ['16+48=64', '89-64=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,89 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[65, 153], Operations: ['16+48=64', '89+64=153'] Exploring Operation: 65*153=9945, Resulting Numbers: [9945] 9945,89 unequal: No Solution Exploring Operation: 153-65=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 65+153=218, Resulting Numbers: [218] 218,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[89, 1], Operations: ['16+48=64', '65-64=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[89, 16, 48, 65], Operations: [] Exploring Operation: 16+48=64, Resulting Numbers: [89, 65, 64] Generated Node #0,0: 89:[89, 65, 64] Operation: 16+48=64 Moving to Node #0,0 Current State: 89:[89, 65, 64], Operations: ['16+48=64'] Exploring Operation: 65-64=1, Resulting Numbers: [89, 1] Generated Node #0,0,3: 89:[89, 1] Operation: 65-64=1 Moving to Node #0,0,3 Current State: 89:[89, 1], Operations: ['16+48=64', '65-64=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 14, 28, 93, 5 ]
90
[ "28/14=2", "93-5=88", "2+88=90" ]
Current State: 90:[14, 28, 93, 5], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [93, 5, 2] Generated Node #2: [93, 5, 2] from Operation: 28/14=2 Current State: 90:[93, 5, 2], Operations: ['28/14=2'] Exploring Operation: 93-5=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 93-5=88 Current State: 90:[2, 88], Operations: ['28/14=2', '93-5=88'] Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[14, 28, 93, 5], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [93, 5, 2] Generated Node #0,0: 90:[93, 5, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[93, 5, 2], Operations: ['28/14=2'] Exploring Operation: 93-2=91, Resulting Numbers: [5, 91] Generated Node #0,0,0: 90:[5, 91] Operation: 93-2=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[5, 91], Operations: ['28/14=2', '93-2=91'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,90 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
[ 13, 28, 29, 22 ]
52
[ "13*28=364", "29-22=7", "364/7=52" ]
Current State: 52:[13, 28, 29, 22], Operations: [] Exploring Operation: 13*28=364, Resulting Numbers: [29, 22, 364] Generated Node #2: [29, 22, 364] from Operation: 13*28=364 Current State: 52:[29, 22, 364], Operations: ['13*28=364'] Exploring Operation: 29-22=7, Resulting Numbers: [364, 7] Generated Node #3: [364, 7] from Operation: 29-22=7 Current State: 52:[364, 7], Operations: ['13*28=364', '29-22=7'] Exploring Operation: 364/7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 28, 29, 22], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [13, 22, 1] Generated Node #0,0: 52:[13, 22, 1] Operation: 29-28=1 Exploring Operation: 28+22=50, Resulting Numbers: [13, 29, 50] Generated Node #0,1: 52:[13, 29, 50] Operation: 28+22=50 Exploring Operation: 28-22=6, Resulting Numbers: [13, 29, 6] Generated Node #0,2: 52:[13, 29, 6] Operation: 28-22=6 Exploring Operation: 29+22=51, Resulting Numbers: [13, 28, 51] Generated Node #0,3: 52:[13, 28, 51] Operation: 29+22=51 Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[13, 28, 51], Operations: ['29+22=51'] Exploring Operation: 28-13=15, Resulting Numbers: [51, 15] Generated Node #0,3,0: 52:[51, 15] Operation: 28-13=15 Exploring Operation: 51-28=23, Resulting Numbers: [13, 23] Generated Node #0,3,1: 52:[13, 23] Operation: 51-28=23 Exploring Operation: 13+51=64, Resulting Numbers: [28, 64] Generated Node #0,3,2: 52:[28, 64] Operation: 13+51=64 Exploring Operation: 13+28=41, Resulting Numbers: [51, 41] Generated Node #0,3,3: 52:[51, 41] Operation: 13+28=41 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[51, 15], Operations: ['29+22=51', '28-13=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,52 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[13, 23], Operations: ['29+22=51', '51-28=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,52 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[51, 41], Operations: ['29+22=51', '13+28=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[28, 64], Operations: ['29+22=51', '13+51=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,52 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[13, 22, 1], Operations: ['29-28=1'] Exploring Operation: 13*1=13, Resulting Numbers: [22, 13] Generated Node #0,0,0: 52:[22, 13] Operation: 13*1=13 Exploring Operation: 22+1=23, Resulting Numbers: [13, 23] Generated Node #0,0,1: 52:[13, 23] Operation: 22+1=23 Exploring Operation: 13/1=13, Resulting Numbers: [22, 13] Generated Node #0,0,2: 52:[22, 13] Operation: 13/1=13 Exploring Operation: 22*1=22, Resulting Numbers: [13, 22] Generated Node #0,0,3: 52:[13, 22] Operation: 22*1=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[13, 23], Operations: ['29-28=1', '22+1=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,52 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[22, 13], Operations: ['29-28=1', '13*1=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,52 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[22, 13], Operations: ['29-28=1', '13/1=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,52 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[13, 22], Operations: ['29-28=1', '22*1=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,52 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[13, 29, 50], Operations: ['28+22=50'] Exploring Operation: 29-13=16, Resulting Numbers: [50, 16] Generated Node #0,1,0: 52:[50, 16] Operation: 29-13=16 Exploring Operation: 13+29=42, Resulting Numbers: [50, 42] Generated Node #0,1,1: 52:[50, 42] Operation: 13+29=42 Exploring Operation: 50-29=21, Resulting Numbers: [13, 21] Generated Node #0,1,2: 52:[13, 21] Operation: 50-29=21 Exploring Operation: 13+50=63, Resulting Numbers: [29, 63] Generated Node #0,1,3: 52:[29, 63] Operation: 13+50=63 Moving to Node #0,1,0 Current State: 52:[50, 16], Operations: ['28+22=50', '29-13=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[13, 21], Operations: ['28+22=50', '50-29=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[50, 42], Operations: ['28+22=50', '13+29=42'] Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,52 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[29, 63], Operations: ['28+22=50', '13+50=63'] Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,52 unequal: No Solution Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[13, 29, 6], Operations: ['28-22=6'] Exploring Operation: 29-13=16, Resulting Numbers: [6, 16] Generated Node #0,2,0: 52:[6, 16] Operation: 29-13=16 Exploring Operation: 13+6=19, Resulting Numbers: [29, 19] Generated Node #0,2,1: 52:[29, 19] Operation: 13+6=19 Exploring Operation: 13-6=7, Resulting Numbers: [29, 7] Generated Node #0,2,2: 52:[29, 7] Operation: 13-6=7 Exploring Operation: 29-6=23, Resulting Numbers: [13, 23] Generated Node #0,2,3: 52:[13, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[13, 23], Operations: ['28-22=6', '29-6=23'] Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,52 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[6, 16], Operations: ['28-22=6', '29-13=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,52 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[29, 7], Operations: ['28-22=6', '13-6=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,52 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[29, 19], Operations: ['28-22=6', '13+6=19'] Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,52 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 5, 40, 37, 38 ]
44
[ "5+40=45", "38-37=1", "45-1=44" ]
Current State: 44:[5, 40, 37, 38], Operations: [] Exploring Operation: 5+40=45, Resulting Numbers: [37, 38, 45] Generated Node #2: [37, 38, 45] from Operation: 5+40=45 Current State: 44:[37, 38, 45], Operations: ['5+40=45'] Exploring Operation: 38-37=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 38-37=1 Current State: 44:[45, 1], Operations: ['5+40=45', '38-37=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 40, 37, 38], Operations: [] Exploring Operation: 5+37=42, Resulting Numbers: [40, 38, 42] Generated Node #0,0: 44:[40, 38, 42] Operation: 5+37=42 Exploring Operation: 40-37=3, Resulting Numbers: [5, 38, 3] Generated Node #0,1: 44:[5, 38, 3] Operation: 40-37=3 Exploring Operation: 5+38=43, Resulting Numbers: [40, 37, 43] Generated Node #0,2: 44:[40, 37, 43] Operation: 5+38=43 Exploring Operation: 38-37=1, Resulting Numbers: [5, 40, 1] Generated Node #0,3: 44:[5, 40, 1] Operation: 38-37=1 Exploring Operation: 40-38=2, Resulting Numbers: [5, 37, 2] Generated Node #0,4: 44:[5, 37, 2] Operation: 40-38=2 Moving to Node #0,3 Current State: 44:[5, 40, 1], Operations: ['38-37=1'] Exploring Operation: 5*1=5, Resulting Numbers: [40, 5] Generated Node #0,3,0: 44:[40, 5] Operation: 5*1=5 Exploring Operation: 5+40=45, Resulting Numbers: [1, 45] Generated Node #0,3,1: 44:[1, 45] Operation: 5+40=45 Exploring Operation: 40+1=41, Resulting Numbers: [5, 41] Generated Node #0,3,2: 44:[5, 41] Operation: 40+1=41 Exploring Operation: 40/5=8, Resulting Numbers: [1, 8] Generated Node #0,3,3: 44:[1, 8] Operation: 40/5=8 Exploring Operation: 5-1=4, Resulting Numbers: [40, 4] Generated Node #0,3,4: 44:[40, 4] Operation: 5-1=4 Moving to Node #0,4 Current State: 44:[5, 37, 2], Operations: ['40-38=2'] Exploring Operation: 5-2=3, Resulting Numbers: [37, 3] Generated Node #0,4,0: 44:[37, 3] Operation: 5-2=3 Exploring Operation: 37+2=39, Resulting Numbers: [5, 39] Generated Node #0,4,1: 44:[5, 39] Operation: 37+2=39 Exploring Operation: 37-5=32, Resulting Numbers: [2, 32] Generated Node #0,4,2: 44:[2, 32] Operation: 37-5=32 Exploring Operation: 5*2=10, Resulting Numbers: [37, 10] Generated Node #0,4,3: 44:[37, 10] Operation: 5*2=10 Exploring Operation: 5+37=42, Resulting Numbers: [2, 42] Generated Node #0,4,4: 44:[2, 42] Operation: 5+37=42 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[2, 42], Operations: ['40-38=2', '5+37=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[5, 40, 37, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [5, 37, 2] Generated Node #0,4: 44:[5, 37, 2] Operation: 40-38=2 Moving to Node #0,4 Current State: 44:[5, 37, 2], Operations: ['40-38=2'] Exploring Operation: 5+37=42, Resulting Numbers: [2, 42] Generated Node #0,4,4: 44:[2, 42] Operation: 5+37=42 Moving to Node #0,4,4 Current State: 44:[2, 42], Operations: ['40-38=2', '5+37=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 27, 30, 50, 3 ]
99
[ "50-27=23", "3*23=69", "30+69=99" ]
Current State: 99:[27, 30, 50, 3], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [30, 3, 23] Generated Node #2: [30, 3, 23] from Operation: 50-27=23 Current State: 99:[30, 3, 23], Operations: ['50-27=23'] Exploring Operation: 3*23=69, Resulting Numbers: [30, 69] Generated Node #3: [30, 69] from Operation: 3*23=69 Current State: 99:[30, 69], Operations: ['50-27=23', '3*23=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[27, 30, 50, 3], Operations: [] Exploring Operation: 50-30=20, Resulting Numbers: [27, 3, 20] Generated Node #0,0: 99:[27, 3, 20] Operation: 50-30=20 Exploring Operation: 50-27=23, Resulting Numbers: [30, 3, 23] Generated Node #0,1: 99:[30, 3, 23] Operation: 50-27=23 Exploring Operation: 30-27=3, Resulting Numbers: [50, 3, 3] Generated Node #0,2: 99:[50, 3, 3] Operation: 30-27=3 Exploring Operation: 27+3=30, Resulting Numbers: [30, 50, 30] Generated Node #0,3: 99:[30, 50, 30] Operation: 27+3=30 Exploring Operation: 27/3=9, Resulting Numbers: [30, 50, 9] Generated Node #0,4: 99:[30, 50, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[30, 3, 23], Operations: ['50-27=23'] Exploring Operation: 3+23=26, Resulting Numbers: [30, 26] Generated Node #0,1,0: 99:[30, 26] Operation: 3+23=26 Exploring Operation: 30+3=33, Resulting Numbers: [23, 33] Generated Node #0,1,1: 99:[23, 33] Operation: 30+3=33 Exploring Operation: 30-23=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 99:[3, 7] Operation: 30-23=7 Exploring Operation: 30/3=10, Resulting Numbers: [23, 10] Generated Node #0,1,3: 99:[23, 10] Operation: 30/3=10 Exploring Operation: 23-3=20, Resulting Numbers: [30, 20] Generated Node #0,1,4: 99:[30, 20] Operation: 23-3=20 Moving to Node #0,1,2 Current State: 99:[3, 7], Operations: ['50-27=23', '30-23=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[23, 33], Operations: ['50-27=23', '30+3=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,99 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[30, 26], Operations: ['50-27=23', '3+23=26'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,99 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[23, 10], Operations: ['50-27=23', '30/3=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[30, 20], Operations: ['50-27=23', '23-3=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[27, 3, 20], Operations: ['50-30=20'] Exploring Operation: 27+20=47, Resulting Numbers: [3, 47] Generated Node #0,0,0: 99:[3, 47] Operation: 27+20=47 Exploring Operation: 27-20=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 99:[3, 7] Operation: 27-20=7 Exploring Operation: 20-3=17, Resulting Numbers: [27, 17] Generated Node #0,0,2: 99:[27, 17] Operation: 20-3=17 Exploring Operation: 27+3=30, Resulting Numbers: [20, 30] Generated Node #0,0,3: 99:[20, 30] Operation: 27+3=30 Exploring Operation: 27/3=9, Resulting Numbers: [20, 9] Generated Node #0,0,4: 99:[20, 9] Operation: 27/3=9 Moving to Node #0,0,1 Current State: 99:[3, 7], Operations: ['50-30=20', '27-20=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[20, 9], Operations: ['50-30=20', '27/3=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[27, 17], Operations: ['50-30=20', '20-3=17'] Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,99 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[20, 30], Operations: ['50-30=20', '27+3=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,99 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[3, 47], Operations: ['50-30=20', '27+20=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,99 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[50, 3, 3], Operations: ['30-27=3'] Exploring Operation: 3*3=9, Resulting Numbers: [50, 9] Generated Node #0,2,0: 99:[50, 9] Operation: 3*3=9 Exploring Operation: 50-3=47, Resulting Numbers: [3, 47] Generated Node #0,2,1: 99:[3, 47] Operation: 50-3=47 Exploring Operation: 50-3=47, Resulting Numbers: [3, 47] Generated Node #0,2,2: 99:[3, 47] Operation: 50-3=47 Exploring Operation: 50+3=53, Resulting Numbers: [3, 53] Generated Node #0,2,3: 99:[3, 53] Operation: 50+3=53 Exploring Operation: 3/3=1, Resulting Numbers: [50, 1] Generated Node #0,2,4: 99:[50, 1] Operation: 3/3=1 Moving to Node #0,2,1 Current State: 99:[3, 47], Operations: ['30-27=3', '50-3=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[3, 47], Operations: ['30-27=3', '50-3=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,99 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[50, 9], Operations: ['30-27=3', '3*3=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[50, 1], Operations: ['30-27=3', '3/3=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,99 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[3, 53], Operations: ['30-27=3', '50+3=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 99:[30, 50, 9], Operations: ['27/3=9'] Exploring Operation: 50-9=41, Resulting Numbers: [30, 41] Generated Node #0,4,0: 99:[30, 41] Operation: 50-9=41 Exploring Operation: 30-9=21, Resulting Numbers: [50, 21] Generated Node #0,4,1: 99:[50, 21] Operation: 30-9=21 Exploring Operation: 30+50=80, Resulting Numbers: [9, 80] Generated Node #0,4,2: 99:[9, 80] Operation: 30+50=80 Exploring Operation: 50-30=20, Resulting Numbers: [9, 20] Generated Node #0,4,3: 99:[9, 20] Operation: 50-30=20 Exploring Operation: 30+9=39, Resulting Numbers: [50, 39] Generated Node #0,4,4: 99:[50, 39] Operation: 30+9=39 Moving to Node #0,4,3 Current State: 99:[9, 20], Operations: ['27/3=9', '50-30=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,99 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[30, 41], Operations: ['27/3=9', '50-9=41'] Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,99 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[9, 80], Operations: ['27/3=9', '30+50=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,99 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[50, 39], Operations: ['27/3=9', '30+9=39'] Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,99 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[50, 21], Operations: ['27/3=9', '30-9=21'] Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,99 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[30, 50, 30], Operations: ['27+3=30'] Exploring Operation: 30-30=0, Resulting Numbers: [50, 0] Generated Node #0,3,0: 99:[50, 0] Operation: 30-30=0 Exploring Operation: 50-30=20, Resulting Numbers: [30, 20] Generated Node #0,3,1: 99:[30, 20] Operation: 50-30=20 Exploring Operation: 30/30=1, Resulting Numbers: [50, 1] Generated Node #0,3,2: 99:[50, 1] Operation: 30/30=1 Exploring Operation: 50-30=20, Resulting Numbers: [30, 20] Generated Node #0,3,3: 99:[30, 20] Operation: 50-30=20 Exploring Operation: 30+50=80, Resulting Numbers: [30, 80] Generated Node #0,3,4: 99:[30, 80] Operation: 30+50=80 Moving to Node #0,3,1 Current State: 99:[30, 20], Operations: ['27+3=30', '50-30=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[30, 20], Operations: ['27+3=30', '50-30=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[50, 1], Operations: ['27+3=30', '30/30=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,99 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[50, 0], Operations: ['27+3=30', '30-30=0'] Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[30, 80], Operations: ['27+3=30', '30+50=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,99 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 29, 54, 17, 20 ]
23
[ "29-20=9", "54/9=6", "17+6=23" ]
Current State: 23:[29, 54, 17, 20], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [54, 17, 9] Generated Node #2: [54, 17, 9] from Operation: 29-20=9 Current State: 23:[54, 17, 9], Operations: ['29-20=9'] Exploring Operation: 54/9=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 54/9=6 Current State: 23:[17, 6], Operations: ['29-20=9', '54/9=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 54, 17, 20], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [54, 17, 9] Generated Node #0,0: 23:[54, 17, 9] Operation: 29-20=9 Exploring Operation: 29-17=12, Resulting Numbers: [54, 20, 12] Generated Node #0,1: 23:[54, 20, 12] Operation: 29-17=12 Exploring Operation: 54-17=37, Resulting Numbers: [29, 20, 37] Generated Node #0,2: 23:[29, 20, 37] Operation: 54-17=37 Exploring Operation: 54-29=25, Resulting Numbers: [17, 20, 25] Generated Node #0,3: 23:[17, 20, 25] Operation: 54-29=25 Exploring Operation: 54-20=34, Resulting Numbers: [29, 17, 34] Generated Node #0,4: 23:[29, 17, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[17, 20, 25], Operations: ['54-29=25'] Exploring Operation: 25-20=5, Resulting Numbers: [17, 5] Generated Node #0,3,0: 23:[17, 5] Operation: 25-20=5 Exploring Operation: 17+25=42, Resulting Numbers: [20, 42] Generated Node #0,3,1: 23:[20, 42] Operation: 17+25=42 Exploring Operation: 25-17=8, Resulting Numbers: [20, 8] Generated Node #0,3,2: 23:[20, 8] Operation: 25-17=8 Exploring Operation: 17+20=37, Resulting Numbers: [25, 37] Generated Node #0,3,3: 23:[25, 37] Operation: 17+20=37 Exploring Operation: 20-17=3, Resulting Numbers: [25, 3] Generated Node #0,3,4: 23:[25, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 23:[25, 37], Operations: ['54-29=25', '17+20=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[20, 8], Operations: ['54-29=25', '25-17=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,23 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[20, 42], Operations: ['54-29=25', '17+25=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 23:[25, 3], Operations: ['54-29=25', '20-17=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,23 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[17, 5], Operations: ['54-29=25', '25-20=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,23 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[29, 20, 37], Operations: ['54-17=37'] Exploring Operation: 20+37=57, Resulting Numbers: [29, 57] Generated Node #0,2,0: 23:[29, 57] Operation: 20+37=57 Exploring Operation: 29-20=9, Resulting Numbers: [37, 9] Generated Node #0,2,1: 23:[37, 9] Operation: 29-20=9 Exploring Operation: 37-20=17, Resulting Numbers: [29, 17] Generated Node #0,2,2: 23:[29, 17] Operation: 37-20=17 Exploring Operation: 29+20=49, Resulting Numbers: [37, 49] Generated Node #0,2,3: 23:[37, 49] Operation: 29+20=49 Exploring Operation: 37-29=8, Resulting Numbers: [20, 8] Generated Node #0,2,4: 23:[20, 8] Operation: 37-29=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[29, 17], Operations: ['54-17=37', '37-20=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,23 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 23:[20, 8], Operations: ['54-17=37', '37-29=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,23 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[37, 9], Operations: ['54-17=37', '29-20=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,23 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[29, 57], Operations: ['54-17=37', '20+37=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,23 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,23 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[37, 49], Operations: ['54-17=37', '29+20=49'] Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,23 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 23:[29, 17, 34], Operations: ['54-20=34'] Exploring Operation: 34-17=17, Resulting Numbers: [29, 17] Generated Node #0,4,0: 23:[29, 17] Operation: 34-17=17 Exploring Operation: 29+17=46, Resulting Numbers: [34, 46] Generated Node #0,4,1: 23:[34, 46] Operation: 29+17=46 Exploring Operation: 29-17=12, Resulting Numbers: [34, 12] Generated Node #0,4,2: 23:[34, 12] Operation: 29-17=12 Exploring Operation: 34/17=2, Resulting Numbers: [29, 2] Generated Node #0,4,3: 23:[29, 2] Operation: 34/17=2 Exploring Operation: 34-29=5, Resulting Numbers: [17, 5] Generated Node #0,4,4: 23:[17, 5] Operation: 34-29=5 Moving to Node #0,4,0 Current State: 23:[29, 17], Operations: ['54-20=34', '34-17=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,23 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[34, 12], Operations: ['54-20=34', '29-17=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[17, 5], Operations: ['54-20=34', '34-29=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,23 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[29, 2], Operations: ['54-20=34', '34/17=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[34, 46], Operations: ['54-20=34', '29+17=46'] Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,23 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,23 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[54, 20, 12], Operations: ['29-17=12'] Exploring Operation: 54+12=66, Resulting Numbers: [20, 66] Generated Node #0,1,0: 23:[20, 66] Operation: 54+12=66 Exploring Operation: 54-12=42, Resulting Numbers: [20, 42] Generated Node #0,1,1: 23:[20, 42] Operation: 54-12=42 Exploring Operation: 20+12=32, Resulting Numbers: [54, 32] Generated Node #0,1,2: 23:[54, 32] Operation: 20+12=32 Exploring Operation: 20-12=8, Resulting Numbers: [54, 8] Generated Node #0,1,3: 23:[54, 8] Operation: 20-12=8 Exploring Operation: 54-20=34, Resulting Numbers: [12, 34] Generated Node #0,1,4: 23:[12, 34] Operation: 54-20=34 Moving to Node #0,1,1 Current State: 23:[20, 42], Operations: ['29-17=12', '54-12=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,23 unequal: No Solution Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[12, 34], Operations: ['29-17=12', '54-20=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,23 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[54, 32], Operations: ['29-17=12', '20+12=32'] Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,23 unequal: No Solution Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,23 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[20, 66], Operations: ['29-17=12', '54+12=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,23 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[54, 8], Operations: ['29-17=12', '20-12=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,23 unequal: No Solution No 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: 23:[54, 17, 9], Operations: ['29-20=9'] Exploring Operation: 17+9=26, Resulting Numbers: [54, 26] Generated Node #0,0,0: 23:[54, 26] Operation: 17+9=26 Exploring Operation: 54+9=63, Resulting Numbers: [17, 63] Generated Node #0,0,1: 23:[17, 63] Operation: 54+9=63 Exploring Operation: 54-9=45, Resulting Numbers: [17, 45] Generated Node #0,0,2: 23:[17, 45] Operation: 54-9=45 Exploring Operation: 54-17=37, Resulting Numbers: [9, 37] Generated Node #0,0,3: 23:[9, 37] Operation: 54-17=37 Exploring Operation: 54/9=6, Resulting Numbers: [17, 6] Generated Node #0,0,4: 23:[17, 6] Operation: 54/9=6 Moving to Node #0,0,4 Current State: 23:[17, 6], Operations: ['29-20=9', '54/9=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[29, 54, 17, 20], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [54, 17, 9] Generated Node #0,0: 23:[54, 17, 9] Operation: 29-20=9 Moving to Node #0,0 Current State: 23:[54, 17, 9], Operations: ['29-20=9'] Exploring Operation: 54/9=6, Resulting Numbers: [17, 6] Generated Node #0,0,4: 23:[17, 6] Operation: 54/9=6 Moving to Node #0,0,4 Current State: 23:[17, 6], Operations: ['29-20=9', '54/9=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.916667
hs_5
mult_heuristic
[ 45, 62, 81, 42 ]
56
[ "62-45=17", "81-42=39", "17+39=56" ]
Current State: 56:[45, 62, 81, 42], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [81, 42, 17] Generated Node #2: [81, 42, 17] from Operation: 62-45=17 Current State: 56:[81, 42, 17], Operations: ['62-45=17'] Exploring Operation: 81-42=39, Resulting Numbers: [17, 39] Generated Node #3: [17, 39] from Operation: 81-42=39 Current State: 56:[17, 39], Operations: ['62-45=17', '81-42=39'] Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 62, 81, 42], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [62, 42, 36] Generated Node #0,0: 56:[62, 42, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 56:[62, 42, 36], Operations: ['81-45=36'] Exploring Operation: 42-36=6, Resulting Numbers: [62, 6] Generated Node #0,0,0: 56:[62, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[62, 6], Operations: ['81-45=36', '42-36=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[45, 62, 81, 42], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [62, 42, 36] Generated Node #0,0: 56:[62, 42, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 56:[62, 42, 36], Operations: ['81-45=36'] Exploring Operation: 42-36=6, Resulting Numbers: [62, 6] Generated Node #0,0,0: 56:[62, 6] Operation: 42-36=6 Moving to Node #0,0,0 Current State: 56:[62, 6], Operations: ['81-45=36', '42-36=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 62, 31, 92 ]
46
[ "1*62=62", "31*92=2852", "2852/62=46" ]
Current State: 46:[1, 62, 31, 92], Operations: [] Exploring Operation: 1*62=62, Resulting Numbers: [31, 92, 62] Generated Node #2: [31, 92, 62] from Operation: 1*62=62 Current State: 46:[31, 92, 62], Operations: ['1*62=62'] Exploring Operation: 31*92=2852, Resulting Numbers: [62, 2852] Generated Node #3: [62, 2852] from Operation: 31*92=2852 Current State: 46:[62, 2852], Operations: ['1*62=62', '31*92=2852'] Exploring Operation: 2852/62=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 62, 31, 92], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [1, 92, 31] Generated Node #0,0: 46:[1, 92, 31] Operation: 62-31=31 Exploring Operation: 92-31=61, Resulting Numbers: [1, 62, 61] Generated Node #0,1: 46:[1, 62, 61] Operation: 92-31=61 Exploring Operation: 62/31=2, Resulting Numbers: [1, 92, 2] Generated Node #0,2: 46:[1, 92, 2] Operation: 62/31=2 Exploring Operation: 92-62=30, Resulting Numbers: [1, 31, 30] Generated Node #0,3: 46:[1, 31, 30] Operation: 92-62=30 Moving to Node #0,3 Current State: 46:[1, 31, 30], Operations: ['92-62=30'] Exploring Operation: 1*31=31, Resulting Numbers: [30, 31] Generated Node #0,3,0: 46:[30, 31] Operation: 1*31=31 Exploring Operation: 31-1=30, Resulting Numbers: [30, 30] Generated Node #0,3,1: 46:[30, 30] Operation: 31-1=30 Exploring Operation: 31-30=1, Resulting Numbers: [1, 1] Generated Node #0,3,2: 46:[1, 1] Operation: 31-30=1 Exploring Operation: 30-1=29, Resulting Numbers: [31, 29] Generated Node #0,3,3: 46:[31, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[1, 1], Operations: ['92-62=30', '31-30=1'] Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,46 unequal: No Solution No 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: 46:[30, 30], Operations: ['92-62=30', '31-1=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,46 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,46 unequal: No Solution No 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: 46:[31, 29], Operations: ['92-62=30', '30-1=29'] Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,46 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,46 unequal: No Solution No 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: 46:[30, 31], Operations: ['92-62=30', '1*31=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,46 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: 46:[1, 62, 61], Operations: ['92-31=61'] Exploring Operation: 1*62=62, Resulting Numbers: [61, 62] Generated Node #0,1,0: 46:[61, 62] Operation: 1*62=62 Exploring Operation: 61-1=60, Resulting Numbers: [62, 60] Generated Node #0,1,1: 46:[62, 60] Operation: 61-1=60 Exploring Operation: 62-1=61, Resulting Numbers: [61, 61] Generated Node #0,1,2: 46:[61, 61] Operation: 62-1=61 Exploring Operation: 62-61=1, Resulting Numbers: [1, 1] Generated Node #0,1,3: 46:[1, 1] Operation: 62-61=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[1, 1], Operations: ['92-31=61', '62-61=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,46 unequal: No Solution No 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: 46:[62, 60], Operations: ['92-31=61', '61-1=60'] Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 62+60=122, Resulting Numbers: [122] 122,46 unequal: No Solution Exploring Operation: 62*60=3720, Resulting Numbers: [3720] 3720,46 unequal: No Solution No 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: 46:[61, 61], Operations: ['92-31=61', '62-1=61'] Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,46 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,46 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,46 unequal: No Solution No 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: 46:[61, 62], Operations: ['92-31=61', '1*62=62'] Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,46 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,46 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: 46:[1, 92, 2], Operations: ['62/31=2'] Exploring Operation: 92-1=91, Resulting Numbers: [2, 91] Generated Node #0,2,0: 46:[2, 91] Operation: 92-1=91 Exploring Operation: 1*92=92, Resulting Numbers: [2, 92] Generated Node #0,2,1: 46:[2, 92] Operation: 1*92=92 Exploring Operation: 92-2=90, Resulting Numbers: [1, 90] Generated Node #0,2,2: 46:[1, 90] Operation: 92-2=90 Exploring Operation: 92/2=46, Resulting Numbers: [1, 46] Generated Node #0,2,3: 46:[1, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[1, 46], Operations: ['62/31=2', '92/2=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[1, 62, 31, 92], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [1, 92, 2] Generated Node #0,2: 46:[1, 92, 2] Operation: 62/31=2 Moving to Node #0,2 Current State: 46:[1, 92, 2], Operations: ['62/31=2'] Exploring Operation: 92/2=46, Resulting Numbers: [1, 46] Generated Node #0,2,3: 46:[1, 46] Operation: 92/2=46 Moving to Node #0,2,3 Current State: 46:[1, 46], Operations: ['62/31=2', '92/2=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 80, 87, 43, 70 ]
20
[ "87-80=7", "70-43=27", "27-7=20" ]
Current State: 20:[80, 87, 43, 70], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [43, 70, 7] Generated Node #2: [43, 70, 7] from Operation: 87-80=7 Current State: 20:[43, 70, 7], Operations: ['87-80=7'] Exploring Operation: 70-43=27, Resulting Numbers: [7, 27] Generated Node #3: [7, 27] from Operation: 70-43=27 Current State: 20:[7, 27], Operations: ['87-80=7', '70-43=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 87, 43, 70], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [87, 43, 10] Generated Node #0,0: 20:[87, 43, 10] Operation: 80-70=10 Exploring Operation: 87-70=17, Resulting Numbers: [80, 43, 17] Generated Node #0,1: 20:[80, 43, 17] Operation: 87-70=17 Exploring Operation: 87-80=7, Resulting Numbers: [43, 70, 7] Generated Node #0,2: 20:[43, 70, 7] Operation: 87-80=7 Moving to Node #0,2 Current State: 20:[43, 70, 7], Operations: ['87-80=7'] Exploring Operation: 43-7=36, Resulting Numbers: [70, 36] Generated Node #0,2,0: 20:[70, 36] Operation: 43-7=36 Exploring Operation: 70-43=27, Resulting Numbers: [7, 27] Generated Node #0,2,1: 20:[7, 27] Operation: 70-43=27 Exploring Operation: 70/7=10, Resulting Numbers: [43, 10] Generated Node #0,2,2: 20:[43, 10] Operation: 70/7=10 Moving to Node #0,1 Current State: 20:[80, 43, 17], Operations: ['87-70=17'] Exploring Operation: 43-17=26, Resulting Numbers: [80, 26] Generated Node #0,1,0: 20:[80, 26] Operation: 43-17=26 Exploring Operation: 80-17=63, Resulting Numbers: [43, 63] Generated Node #0,1,1: 20:[43, 63] Operation: 80-17=63 Exploring Operation: 80-43=37, Resulting Numbers: [17, 37] Generated Node #0,1,2: 20:[17, 37] Operation: 80-43=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[17, 37], Operations: ['87-70=17', '80-43=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,20 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[80, 87, 43, 70], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [80, 43, 17] Generated Node #0,1: 20:[80, 43, 17] Operation: 87-70=17 Moving to Node #0,1 Current State: 20:[80, 43, 17], Operations: ['87-70=17'] Exploring Operation: 80-43=37, Resulting Numbers: [17, 37] Generated Node #0,1,2: 20:[17, 37] Operation: 80-43=37 Moving to Node #0,1,2 Current State: 20:[17, 37], Operations: ['87-70=17', '80-43=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 91, 7, 55, 10 ]
87
[ "91*7=637", "55*10=550", "637-550=87" ]
Current State: 87:[91, 7, 55, 10], Operations: [] Exploring Operation: 91*7=637, Resulting Numbers: [55, 10, 637] Generated Node #2: [55, 10, 637] from Operation: 91*7=637 Current State: 87:[55, 10, 637], Operations: ['91*7=637'] Exploring Operation: 55*10=550, Resulting Numbers: [637, 550] Generated Node #3: [637, 550] from Operation: 55*10=550 Current State: 87:[637, 550], Operations: ['91*7=637', '55*10=550'] Exploring Operation: 637-550=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[91, 7, 55, 10], Operations: [] Exploring Operation: 55-7=48, Resulting Numbers: [91, 10, 48] Generated Node #0,0: 87:[91, 10, 48] Operation: 55-7=48 Exploring Operation: 55-10=45, Resulting Numbers: [91, 7, 45] Generated Node #0,1: 87:[91, 7, 45] Operation: 55-10=45 Exploring Operation: 91-55=36, Resulting Numbers: [7, 10, 36] Generated Node #0,2: 87:[7, 10, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[7, 10, 36], Operations: ['91-55=36'] Exploring Operation: 36-10=26, Resulting Numbers: [7, 26] Generated Node #0,2,0: 87:[7, 26] Operation: 36-10=26 Exploring Operation: 10-7=3, Resulting Numbers: [36, 3] Generated Node #0,2,1: 87:[36, 3] Operation: 10-7=3 Exploring Operation: 36-7=29, Resulting Numbers: [10, 29] Generated Node #0,2,2: 87:[10, 29] Operation: 36-7=29 Moving to Node #0,2,0 Current State: 87:[7, 26], Operations: ['91-55=36', '36-10=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,87 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[36, 3], Operations: ['91-55=36', '10-7=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[10, 29], Operations: ['91-55=36', '36-7=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,87 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,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,1 Current State: 87:[91, 7, 45], Operations: ['55-10=45'] Exploring Operation: 91-7=84, Resulting Numbers: [45, 84] Generated Node #0,1,0: 87:[45, 84] Operation: 91-7=84 Exploring Operation: 91-45=46, Resulting Numbers: [7, 46] Generated Node #0,1,1: 87:[7, 46] Operation: 91-45=46 Exploring Operation: 45-7=38, Resulting Numbers: [91, 38] Generated Node #0,1,2: 87:[91, 38] Operation: 45-7=38 Moving to Node #0,1,2 Current State: 87:[91, 38], Operations: ['55-10=45', '45-7=38'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,87 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[45, 84], Operations: ['55-10=45', '91-7=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,87 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[7, 46], Operations: ['55-10=45', '91-45=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,87 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[91, 10, 48], Operations: ['55-7=48'] Exploring Operation: 91-48=43, Resulting Numbers: [10, 43] Generated Node #0,0,0: 87:[10, 43] Operation: 91-48=43 Exploring Operation: 91-10=81, Resulting Numbers: [48, 81] Generated Node #0,0,1: 87:[48, 81] Operation: 91-10=81 Exploring Operation: 48-10=38, Resulting Numbers: [91, 38] Generated Node #0,0,2: 87:[91, 38] Operation: 48-10=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[91, 38], Operations: ['55-7=48', '48-10=38'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 91*38=3458, Resulting Numbers: [3458] 3458,87 unequal: No Solution Exploring Operation: 91+38=129, Resulting Numbers: [129] 129,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[10, 43], Operations: ['55-7=48', '91-48=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[48, 81], Operations: ['55-7=48', '91-10=81'] Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,87 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,87 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 37, 92, 34, 61 ]
34
[ "37+92=129", "34+61=95", "129-95=34" ]
Current State: 34:[37, 92, 34, 61], Operations: [] Exploring Operation: 37+92=129, Resulting Numbers: [34, 61, 129] Generated Node #2: [34, 61, 129] from Operation: 37+92=129 Current State: 34:[34, 61, 129], Operations: ['37+92=129'] Exploring Operation: 34+61=95, Resulting Numbers: [129, 95] Generated Node #3: [129, 95] from Operation: 34+61=95 Current State: 34:[129, 95], Operations: ['37+92=129', '34+61=95'] Exploring Operation: 129-95=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[37, 92, 34, 61], Operations: [] Exploring Operation: 92-34=58, Resulting Numbers: [37, 61, 58] Generated Node #0,0: 34:[37, 61, 58] Operation: 92-34=58 Exploring Operation: 61-34=27, Resulting Numbers: [37, 92, 27] Generated Node #0,1: 34:[37, 92, 27] Operation: 61-34=27 Exploring Operation: 92-37=55, Resulting Numbers: [34, 61, 55] Generated Node #0,2: 34:[34, 61, 55] Operation: 92-37=55 Exploring Operation: 61-37=24, Resulting Numbers: [92, 34, 24] Generated Node #0,3: 34:[92, 34, 24] Operation: 61-37=24 Exploring Operation: 92-61=31, Resulting Numbers: [37, 34, 31] Generated Node #0,4: 34:[37, 34, 31] Operation: 92-61=31 Moving to Node #0,4 Current State: 34:[37, 34, 31], Operations: ['92-61=31'] Exploring Operation: 37-34=3, Resulting Numbers: [31, 3] Generated Node #0,4,0: 34:[31, 3] Operation: 37-34=3 Exploring Operation: 34-31=3, Resulting Numbers: [37, 3] Generated Node #0,4,1: 34:[37, 3] Operation: 34-31=3 Exploring Operation: 37-31=6, Resulting Numbers: [34, 6] Generated Node #0,4,2: 34:[34, 6] Operation: 37-31=6 Exploring Operation: 37+31=68, Resulting Numbers: [34, 68] Generated Node #0,4,3: 34:[34, 68] Operation: 37+31=68 Exploring Operation: 34+31=65, Resulting Numbers: [37, 65] Generated Node #0,4,4: 34:[37, 65] Operation: 34+31=65 Moving to Node #0,2 Current State: 34:[34, 61, 55], Operations: ['92-37=55'] Exploring Operation: 55-34=21, Resulting Numbers: [61, 21] Generated Node #0,2,0: 34:[61, 21] Operation: 55-34=21 Exploring Operation: 61-34=27, Resulting Numbers: [55, 27] Generated Node #0,2,1: 34:[55, 27] Operation: 61-34=27 Exploring Operation: 61-55=6, Resulting Numbers: [34, 6] Generated Node #0,2,2: 34:[34, 6] Operation: 61-55=6 Exploring Operation: 34+61=95, Resulting Numbers: [55, 95] Generated Node #0,2,3: 34:[55, 95] Operation: 34+61=95 Exploring Operation: 34+55=89, Resulting Numbers: [61, 89] Generated Node #0,2,4: 34:[61, 89] Operation: 34+55=89 Moving to Node #0,0 Current State: 34:[37, 61, 58], Operations: ['92-34=58'] Exploring Operation: 61-58=3, Resulting Numbers: [37, 3] Generated Node #0,0,0: 34:[37, 3] Operation: 61-58=3 Exploring Operation: 61-37=24, Resulting Numbers: [58, 24] Generated Node #0,0,1: 34:[58, 24] Operation: 61-37=24 Exploring Operation: 37+58=95, Resulting Numbers: [61, 95] Generated Node #0,0,2: 34:[61, 95] Operation: 37+58=95 Exploring Operation: 58-37=21, Resulting Numbers: [61, 21] Generated Node #0,0,3: 34:[61, 21] Operation: 58-37=21 Exploring Operation: 37+61=98, Resulting Numbers: [58, 98] Generated Node #0,0,4: 34:[58, 98] Operation: 37+61=98 Moving to Node #0,3 Current State: 34:[92, 34, 24], Operations: ['61-37=24'] Exploring Operation: 34-24=10, Resulting Numbers: [92, 10] Generated Node #0,3,0: 34:[92, 10] Operation: 34-24=10 Exploring Operation: 92-24=68, Resulting Numbers: [34, 68] Generated Node #0,3,1: 34:[34, 68] Operation: 92-24=68 Exploring Operation: 92-34=58, Resulting Numbers: [24, 58] Generated Node #0,3,2: 34:[24, 58] Operation: 92-34=58 Exploring Operation: 34+24=58, Resulting Numbers: [92, 58] Generated Node #0,3,3: 34:[92, 58] Operation: 34+24=58 Exploring Operation: 92+24=116, Resulting Numbers: [34, 116] Generated Node #0,3,4: 34:[34, 116] Operation: 92+24=116 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[24, 58], Operations: ['61-37=24', '92-34=58'] Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,34 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[37, 92, 34, 61], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [92, 34, 24] Generated Node #0,3: 34:[92, 34, 24] Operation: 61-37=24 Moving to Node #0,3 Current State: 34:[92, 34, 24], Operations: ['61-37=24'] Exploring Operation: 92-34=58, Resulting Numbers: [24, 58] Generated Node #0,3,2: 34:[24, 58] Operation: 92-34=58 Moving to Node #0,3,2 Current State: 34:[24, 58], Operations: ['61-37=24', '92-34=58'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 30, 52, 39, 57 ]
97
[ "30*52=1560", "1560/39=40", "57+40=97" ]
Current State: 97:[30, 52, 39, 57], Operations: [] Exploring Operation: 30*52=1560, Resulting Numbers: [39, 57, 1560] Generated Node #2: [39, 57, 1560] from Operation: 30*52=1560 Current State: 97:[39, 57, 1560], Operations: ['30*52=1560'] Exploring Operation: 1560/39=40, Resulting Numbers: [57, 40] Generated Node #3: [57, 40] from Operation: 1560/39=40 Current State: 97:[57, 40], Operations: ['30*52=1560', '1560/39=40'] Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[30, 52, 39, 57], Operations: [] Exploring Operation: 39+57=96, Resulting Numbers: [30, 52, 96] Generated Node #0,0: 97:[30, 52, 96] Operation: 39+57=96 Exploring Operation: 30+52=82, Resulting Numbers: [39, 57, 82] Generated Node #0,1: 97:[39, 57, 82] Operation: 30+52=82 Exploring Operation: 52+39=91, Resulting Numbers: [30, 57, 91] Generated Node #0,2: 97:[30, 57, 91] Operation: 52+39=91 Exploring Operation: 30+57=87, Resulting Numbers: [52, 39, 87] Generated Node #0,3: 97:[52, 39, 87] Operation: 30+57=87 Exploring Operation: 30+39=69, Resulting Numbers: [52, 57, 69] Generated Node #0,4: 97:[52, 57, 69] Operation: 30+39=69 Moving to Node #0,0 Current State: 97:[30, 52, 96], Operations: ['39+57=96'] Exploring Operation: 52-30=22, Resulting Numbers: [96, 22] Generated Node #0,0,0: 97:[96, 22] Operation: 52-30=22 Exploring Operation: 30+96=126, Resulting Numbers: [52, 126] Generated Node #0,0,1: 97:[52, 126] Operation: 30+96=126 Exploring Operation: 30+52=82, Resulting Numbers: [96, 82] Generated Node #0,0,2: 97:[96, 82] Operation: 30+52=82 Exploring Operation: 52+96=148, Resulting Numbers: [30, 148] Generated Node #0,0,3: 97:[30, 148] Operation: 52+96=148 Exploring Operation: 96-30=66, Resulting Numbers: [52, 66] Generated Node #0,0,4: 97:[52, 66] Operation: 96-30=66 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[96, 82], Operations: ['39+57=96', '30+52=82'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 96*82=7872, Resulting Numbers: [7872] 7872,97 unequal: No Solution Exploring Operation: 96+82=178, Resulting Numbers: [178] 178,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[52, 126], Operations: ['39+57=96', '30+96=126'] Exploring Operation: 52+126=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 126-52=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 52*126=6552, Resulting Numbers: [6552] 6552,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[96, 22], Operations: ['39+57=96', '52-30=22'] Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,97 unequal: No Solution Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[52, 66], Operations: ['39+57=96', '96-30=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[30, 148], Operations: ['39+57=96', '52+96=148'] Exploring Operation: 148-30=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 30*148=4440, Resulting Numbers: [4440] 4440,97 unequal: No Solution Exploring Operation: 30+148=178, Resulting Numbers: [178] 178,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[30, 57, 91], Operations: ['52+39=91'] Exploring Operation: 91-30=61, Resulting Numbers: [57, 61] Generated Node #0,2,0: 97:[57, 61] Operation: 91-30=61 Exploring Operation: 30+91=121, Resulting Numbers: [57, 121] Generated Node #0,2,1: 97:[57, 121] Operation: 30+91=121 Exploring Operation: 57-30=27, Resulting Numbers: [91, 27] Generated Node #0,2,2: 97:[91, 27] Operation: 57-30=27 Exploring Operation: 30+57=87, Resulting Numbers: [91, 87] Generated Node #0,2,3: 97:[91, 87] Operation: 30+57=87 Exploring Operation: 57+91=148, Resulting Numbers: [30, 148] Generated Node #0,2,4: 97:[30, 148] Operation: 57+91=148 Moving to Node #0,4 Current State: 97:[52, 57, 69], Operations: ['30+39=69'] Exploring Operation: 57+69=126, Resulting Numbers: [52, 126] Generated Node #0,4,0: 97:[52, 126] Operation: 57+69=126 Exploring Operation: 52+69=121, Resulting Numbers: [57, 121] Generated Node #0,4,1: 97:[57, 121] Operation: 52+69=121 Exploring Operation: 52+57=109, Resulting Numbers: [69, 109] Generated Node #0,4,2: 97:[69, 109] Operation: 52+57=109 Exploring Operation: 69-52=17, Resulting Numbers: [57, 17] Generated Node #0,4,3: 97:[57, 17] Operation: 69-52=17 Exploring Operation: 57-52=5, Resulting Numbers: [69, 5] Generated Node #0,4,4: 97:[69, 5] Operation: 57-52=5 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[69, 109], Operations: ['30+39=69', '52+57=109'] Exploring Operation: 69+109=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 109-69=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 69*109=7521, Resulting Numbers: [7521] 7521,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[57, 121], Operations: ['30+39=69', '52+69=121'] Exploring Operation: 57*121=6897, Resulting Numbers: [6897] 6897,97 unequal: No Solution Exploring Operation: 57+121=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 121-57=64, Resulting Numbers: [64] 64,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 97:[52, 126], Operations: ['30+39=69', '57+69=126'] Exploring Operation: 52+126=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 52*126=6552, Resulting Numbers: [6552] 6552,97 unequal: No Solution Exploring Operation: 126-52=74, Resulting Numbers: [74] 74,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[57, 17], Operations: ['30+39=69', '69-52=17'] Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[69, 5], Operations: ['30+39=69', '57-52=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,97 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[39, 57, 82], Operations: ['30+52=82'] Exploring Operation: 57-39=18, Resulting Numbers: [82, 18] Generated Node #0,1,0: 97:[82, 18] Operation: 57-39=18 Exploring Operation: 82-39=43, Resulting Numbers: [57, 43] Generated Node #0,1,1: 97:[57, 43] Operation: 82-39=43 Exploring Operation: 39+57=96, Resulting Numbers: [82, 96] Generated Node #0,1,2: 97:[82, 96] Operation: 39+57=96 Exploring Operation: 39+82=121, Resulting Numbers: [57, 121] Generated Node #0,1,3: 97:[57, 121] Operation: 39+82=121 Exploring Operation: 57+82=139, Resulting Numbers: [39, 139] Generated Node #0,1,4: 97:[39, 139] Operation: 57+82=139 Moving to Node #0,3 Current State: 97:[52, 39, 87], Operations: ['30+57=87'] Exploring Operation: 52+87=139, Resulting Numbers: [39, 139] Generated Node #0,3,0: 97:[39, 139] Operation: 52+87=139 Exploring Operation: 52-39=13, Resulting Numbers: [87, 13] Generated Node #0,3,1: 97:[87, 13] Operation: 52-39=13 Exploring Operation: 87-39=48, Resulting Numbers: [52, 48] Generated Node #0,3,2: 97:[52, 48] Operation: 87-39=48 Exploring Operation: 52+39=91, Resulting Numbers: [87, 91] Generated Node #0,3,3: 97:[87, 91] Operation: 52+39=91 Exploring Operation: 39+87=126, Resulting Numbers: [52, 126] Generated Node #0,3,4: 97:[52, 126] Operation: 39+87=126 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[87, 91], Operations: ['30+57=87', '52+39=91'] Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 87*91=7917, Resulting Numbers: [7917] 7917,97 unequal: No Solution Exploring Operation: 87+91=178, Resulting Numbers: [178] 178,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[52, 126], Operations: ['30+57=87', '39+87=126'] Exploring Operation: 52*126=6552, Resulting Numbers: [6552] 6552,97 unequal: No Solution Exploring Operation: 52+126=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 126-52=74, Resulting Numbers: [74] 74,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[87, 13], Operations: ['30+57=87', '52-39=13'] Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,97 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,97 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[52, 48], Operations: ['30+57=87', '87-39=48'] Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,97 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[39, 139], Operations: ['30+57=87', '52+87=139'] Exploring Operation: 39*139=5421, Resulting Numbers: [5421] 5421,97 unequal: No Solution Exploring Operation: 139-39=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 39+139=178, Resulting Numbers: [178] 178,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 97:[91, 87], Operations: ['52+39=91', '30+57=87'] Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,97 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[82, 96], Operations: ['30+52=82', '39+57=96'] Exploring Operation: 82*96=7872, Resulting Numbers: [7872] 7872,97 unequal: No Solution Exploring Operation: 82+96=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[57, 121], Operations: ['30+52=82', '39+82=121'] Exploring Operation: 121-57=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 57+121=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 57*121=6897, Resulting Numbers: [6897] 6897,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[57, 121], Operations: ['52+39=91', '30+91=121'] Exploring Operation: 121-57=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 57+121=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 57*121=6897, Resulting Numbers: [6897] 6897,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[57, 61], Operations: ['52+39=91', '91-30=61'] Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,97 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[91, 27], Operations: ['52+39=91', '57-30=27'] Exploring Operation: 91+27=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 91*27=2457, Resulting Numbers: [2457] 2457,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[57, 43], Operations: ['30+52=82', '82-39=43'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,97 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[82, 18], Operations: ['30+52=82', '57-39=18'] Exploring Operation: 82*18=1476, Resulting Numbers: [1476] 1476,97 unequal: No Solution Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 82+18=100, Resulting Numbers: [100] 100,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[39, 139], Operations: ['30+52=82', '57+82=139'] Exploring Operation: 139-39=100, Resulting Numbers: [100] 100,97 unequal: No Solution Exploring Operation: 39*139=5421, Resulting Numbers: [5421] 5421,97 unequal: No Solution Exploring Operation: 39+139=178, Resulting Numbers: [178] 178,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[30, 148], Operations: ['52+39=91', '57+91=148'] Exploring Operation: 148-30=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 30+148=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 30*148=4440, Resulting Numbers: [4440] 4440,97 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 21, 74, 79 ]
76
[ "98-21=77", "74+79=153", "153-77=76" ]
Current State: 76:[98, 21, 74, 79], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [74, 79, 77] Generated Node #2: [74, 79, 77] from Operation: 98-21=77 Current State: 76:[74, 79, 77], Operations: ['98-21=77'] Exploring Operation: 74+79=153, Resulting Numbers: [77, 153] Generated Node #3: [77, 153] from Operation: 74+79=153 Current State: 76:[77, 153], Operations: ['98-21=77', '74+79=153'] Exploring Operation: 153-77=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[98, 21, 74, 79], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [74, 79, 77] Generated Node #0,0: 76:[74, 79, 77] Operation: 98-21=77 Exploring Operation: 98-79=19, Resulting Numbers: [21, 74, 19] Generated Node #0,1: 76:[21, 74, 19] Operation: 98-79=19 Moving to Node #0,1 Current State: 76:[21, 74, 19], Operations: ['98-79=19'] Exploring Operation: 21-19=2, Resulting Numbers: [74, 2] Generated Node #0,1,0: 76:[74, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [74, 40] Generated Node #0,1,1: 76:[74, 40] Operation: 21+19=40 Moving to Node #0,0 Current State: 76:[74, 79, 77], Operations: ['98-21=77'] Exploring Operation: 79-74=5, Resulting Numbers: [77, 5] Generated Node #0,0,0: 76:[77, 5] Operation: 79-74=5 Exploring Operation: 79-77=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 76:[74, 2] Operation: 79-77=2 Moving to Node #0,1,0 Current State: 76:[74, 2], Operations: ['98-79=19', '21-19=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[98, 21, 74, 79], Operations: [] Exploring Operation: 98-79=19, Resulting Numbers: [21, 74, 19] Generated Node #0,1: 76:[21, 74, 19] Operation: 98-79=19 Moving to Node #0,1 Current State: 76:[21, 74, 19], Operations: ['98-79=19'] Exploring Operation: 21-19=2, Resulting Numbers: [74, 2] Generated Node #0,1,0: 76:[74, 2] Operation: 21-19=2 Moving to Node #0,1,0 Current State: 76:[74, 2], Operations: ['98-79=19', '21-19=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 18, 3, 10, 24 ]
16
[ "18-3=15", "10*24=240", "240/15=16" ]
Current State: 16:[18, 3, 10, 24], Operations: [] Exploring Operation: 18-3=15, Resulting Numbers: [10, 24, 15] Generated Node #2: [10, 24, 15] from Operation: 18-3=15 Current State: 16:[10, 24, 15], Operations: ['18-3=15'] Exploring Operation: 10*24=240, Resulting Numbers: [15, 240] Generated Node #3: [15, 240] from Operation: 10*24=240 Current State: 16:[15, 240], Operations: ['18-3=15', '10*24=240'] Exploring Operation: 240/15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[18, 3, 10, 24], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [3, 24, 8] Generated Node #0,0: 16:[3, 24, 8] Operation: 18-10=8 Exploring Operation: 24-10=14, Resulting Numbers: [18, 3, 14] Generated Node #0,1: 16:[18, 3, 14] Operation: 24-10=14 Exploring Operation: 24/3=8, Resulting Numbers: [18, 10, 8] Generated Node #0,2: 16:[18, 10, 8] Operation: 24/3=8 Exploring Operation: 24-18=6, Resulting Numbers: [3, 10, 6] Generated Node #0,3: 16:[3, 10, 6] Operation: 24-18=6 Moving to Node #0,2 Current State: 16:[18, 10, 8], Operations: ['24/3=8'] Exploring Operation: 18-10=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 16:[8, 8] Operation: 18-10=8 Exploring Operation: 18-8=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 16:[10, 10] Operation: 18-8=10 Exploring Operation: 10-8=2, Resulting Numbers: [18, 2] Generated Node #0,2,2: 16:[18, 2] Operation: 10-8=2 Exploring Operation: 10+8=18, Resulting Numbers: [18, 18] Generated Node #0,2,3: 16:[18, 18] Operation: 10+8=18 Moving to Node #0,3 Current State: 16:[3, 10, 6], Operations: ['24-18=6'] Exploring Operation: 10-3=7, Resulting Numbers: [6, 7] Generated Node #0,3,0: 16:[6, 7] Operation: 10-3=7 Exploring Operation: 6/3=2, Resulting Numbers: [10, 2] Generated Node #0,3,1: 16:[10, 2] Operation: 6/3=2 Exploring Operation: 10-6=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 16:[3, 4] Operation: 10-6=4 Exploring Operation: 10+6=16, Resulting Numbers: [3, 16] Generated Node #0,3,3: 16:[3, 16] Operation: 10+6=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[3, 4], Operations: ['24-18=6', '10-6=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[3, 16], Operations: ['24-18=6', '10+6=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[10, 2], Operations: ['24-18=6', '6/3=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[6, 7], Operations: ['24-18=6', '10-3=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,16 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: 16:[18, 3, 14], Operations: ['24-10=14'] Exploring Operation: 18/3=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 16:[14, 6] Operation: 18/3=6 Exploring Operation: 3+14=17, Resulting Numbers: [18, 17] Generated Node #0,1,1: 16:[18, 17] Operation: 3+14=17 Exploring Operation: 18-14=4, Resulting Numbers: [3, 4] Generated Node #0,1,2: 16:[3, 4] Operation: 18-14=4 Exploring Operation: 18-3=15, Resulting Numbers: [14, 15] Generated Node #0,1,3: 16:[14, 15] Operation: 18-3=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[3, 4], Operations: ['24-10=14', '18-14=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[18, 17], Operations: ['24-10=14', '3+14=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,16 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[14, 15], Operations: ['24-10=14', '18-3=15'] Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,16 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[14, 6], Operations: ['24-10=14', '18/3=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,16 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: 16:[3, 24, 8], Operations: ['18-10=8'] Exploring Operation: 24/3=8, Resulting Numbers: [8, 8] Generated Node #0,0,0: 16:[8, 8] Operation: 24/3=8 Exploring Operation: 24/8=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 16:[3, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [3, 16] Generated Node #0,0,2: 16:[3, 16] Operation: 24-8=16 Exploring Operation: 24-3=21, Resulting Numbers: [8, 21] Generated Node #0,0,3: 16:[8, 21] Operation: 24-3=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[8, 8], Operations: ['18-10=8', '24/3=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[18, 3, 10, 24], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [3, 24, 8] Generated Node #0,0: 16:[3, 24, 8] Operation: 18-10=8 Moving to Node #0,0 Current State: 16:[3, 24, 8], Operations: ['18-10=8'] Exploring Operation: 24/3=8, Resulting Numbers: [8, 8] Generated Node #0,0,0: 16:[8, 8] Operation: 24/3=8 Moving to Node #0,0,0 Current State: 16:[8, 8], Operations: ['18-10=8', '24/3=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 54, 46, 8, 80 ]
80
[ "54-46=8", "8+80=88", "88-8=80" ]
Current State: 80:[54, 46, 8, 80], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [8, 80, 8] Generated Node #2: [8, 80, 8] from Operation: 54-46=8 Current State: 80:[8, 80, 8], Operations: ['54-46=8'] Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,80 equal: Goal Reached Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[54, 46, 8, 80], Operations: [] Exploring Operation: 54-8=46, Resulting Numbers: [46, 80, 46] Generated Node #0,0: 80:[46, 80, 46] Operation: 54-8=46 Exploring Operation: 54-46=8, Resulting Numbers: [8, 80, 8] Generated Node #0,1: 80:[8, 80, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[8, 80, 8], Operations: ['54-46=8'] Exploring Operation: 80/8=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 80:[8, 10] Operation: 80/8=10 Exploring Operation: 8+8=16, Resulting Numbers: [80, 16] Generated Node #0,1,1: 80:[80, 16] Operation: 8+8=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[8, 10], Operations: ['54-46=8', '80/8=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[54, 46, 8, 80], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [8, 80, 8] Generated Node #0,1: 80:[8, 80, 8] Operation: 54-46=8 Moving to Node #0,1 Current State: 80:[8, 80, 8], Operations: ['54-46=8'] Exploring Operation: 80/8=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 80:[8, 10] Operation: 80/8=10 Moving to Node #0,1,0 Current State: 80:[8, 10], Operations: ['54-46=8', '80/8=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 96, 57, 24, 92 ]
77
[ "96-57=39", "24+92=116", "116-39=77" ]
Current State: 77:[96, 57, 24, 92], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [24, 92, 39] Generated Node #2: [24, 92, 39] from Operation: 96-57=39 Current State: 77:[24, 92, 39], Operations: ['96-57=39'] Exploring Operation: 24+92=116, Resulting Numbers: [39, 116] Generated Node #3: [39, 116] from Operation: 24+92=116 Current State: 77:[39, 116], Operations: ['96-57=39', '24+92=116'] Exploring Operation: 116-39=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[96, 57, 24, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [57, 24, 4] Generated Node #0,0: 77:[57, 24, 4] Operation: 96-92=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[57, 24, 4], Operations: ['96-92=4'] Exploring Operation: 57+24=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 77:[4, 81] Operation: 57+24=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[4, 81], Operations: ['96-92=4', '57+24=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[96, 57, 24, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [57, 24, 4] Generated Node #0,0: 77:[57, 24, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 77:[57, 24, 4], Operations: ['96-92=4'] Exploring Operation: 57+24=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 77:[4, 81] Operation: 57+24=81 Moving to Node #0,0,0 Current State: 77:[4, 81], Operations: ['96-92=4', '57+24=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 32, 4, 94, 2 ]
76
[ "32+4=36", "36/2=18", "94-18=76" ]
Current State: 76:[32, 4, 94, 2], Operations: [] Exploring Operation: 32+4=36, Resulting Numbers: [94, 2, 36] Generated Node #2: [94, 2, 36] from Operation: 32+4=36 Current State: 76:[94, 2, 36], Operations: ['32+4=36'] Exploring Operation: 36/2=18, Resulting Numbers: [94, 18] Generated Node #3: [94, 18] from Operation: 36/2=18 Current State: 76:[94, 18], Operations: ['32+4=36', '36/2=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[32, 4, 94, 2], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [32, 4, 47] Generated Node #0,0: 76:[32, 4, 47] Operation: 94/2=47 Exploring Operation: 32+4=36, Resulting Numbers: [94, 2, 36] Generated Node #0,1: 76:[94, 2, 36] Operation: 32+4=36 Exploring Operation: 94-32=62, Resulting Numbers: [4, 2, 62] Generated Node #0,2: 76:[4, 2, 62] Operation: 94-32=62 Exploring Operation: 94-4=90, Resulting Numbers: [32, 2, 90] Generated Node #0,3: 76:[32, 2, 90] Operation: 94-4=90 Moving to Node #0,2 Current State: 76:[4, 2, 62], Operations: ['94-32=62'] Exploring Operation: 4-2=2, Resulting Numbers: [62, 2] Generated Node #0,2,0: 76:[62, 2] Operation: 4-2=2 Exploring Operation: 2+62=64, Resulting Numbers: [4, 64] Generated Node #0,2,1: 76:[4, 64] Operation: 2+62=64 Exploring Operation: 62/2=31, Resulting Numbers: [4, 31] Generated Node #0,2,2: 76:[4, 31] Operation: 62/2=31 Exploring Operation: 4+62=66, Resulting Numbers: [2, 66] Generated Node #0,2,3: 76:[2, 66] Operation: 4+62=66 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[4, 31], Operations: ['94-32=62', '62/2=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[2, 66], Operations: ['94-32=62', '4+62=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,76 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[4, 64], Operations: ['94-32=62', '2+62=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,76 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[62, 2], Operations: ['94-32=62', '4-2=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,76 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,76 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: 76:[32, 4, 47], Operations: ['94/2=47'] Exploring Operation: 32+47=79, Resulting Numbers: [4, 79] Generated Node #0,0,0: 76:[4, 79] Operation: 32+47=79 Exploring Operation: 47-32=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 76:[4, 15] Operation: 47-32=15 Exploring Operation: 32+4=36, Resulting Numbers: [47, 36] Generated Node #0,0,2: 76:[47, 36] Operation: 32+4=36 Exploring Operation: 47-4=43, Resulting Numbers: [32, 43] Generated Node #0,0,3: 76:[32, 43] Operation: 47-4=43 Moving to Node #0,3 Current State: 76:[32, 2, 90], Operations: ['94-4=90'] Exploring Operation: 32+2=34, Resulting Numbers: [90, 34] Generated Node #0,3,0: 76:[90, 34] Operation: 32+2=34 Exploring Operation: 90-32=58, Resulting Numbers: [2, 58] Generated Node #0,3,1: 76:[2, 58] Operation: 90-32=58 Exploring Operation: 90/2=45, Resulting Numbers: [32, 45] Generated Node #0,3,2: 76:[32, 45] Operation: 90/2=45 Exploring Operation: 32/2=16, Resulting Numbers: [90, 16] Generated Node #0,3,3: 76:[90, 16] Operation: 32/2=16 Moving to Node #0,1 Current State: 76:[94, 2, 36], Operations: ['32+4=36'] Exploring Operation: 94-2=92, Resulting Numbers: [36, 92] Generated Node #0,1,0: 76:[36, 92] Operation: 94-2=92 Exploring Operation: 2+36=38, Resulting Numbers: [94, 38] Generated Node #0,1,1: 76:[94, 38] Operation: 2+36=38 Exploring Operation: 94/2=47, Resulting Numbers: [36, 47] Generated Node #0,1,2: 76:[36, 47] Operation: 94/2=47 Exploring Operation: 94-36=58, Resulting Numbers: [2, 58] Generated Node #0,1,3: 76:[2, 58] Operation: 94-36=58 Moving to Node #0,0,0 Current State: 76:[4, 79], Operations: ['94/2=47', '32+47=79'] Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,76 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[4, 15], Operations: ['94/2=47', '47-32=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[47, 36], Operations: ['94/2=47', '32+4=36'] Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,76 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[32, 43], Operations: ['94/2=47', '47-4=43'] Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,76 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[36, 47], Operations: ['32+4=36', '94/2=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,76 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[32, 45], Operations: ['94-4=90', '90/2=45'] Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[90, 16], Operations: ['94-4=90', '32/2=16'] Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[94, 38], Operations: ['32+4=36', '2+36=38'] Exploring Operation: 94+38=132, Resulting Numbers: [132] 132,76 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 94*38=3572, Resulting Numbers: [3572] 3572,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[90, 34], Operations: ['94-4=90', '32+2=34'] Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,76 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[2, 58], Operations: ['94-4=90', '90-32=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,76 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[36, 92], Operations: ['32+4=36', '94-2=92'] Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 36*92=3312, Resulting Numbers: [3312] 3312,76 unequal: No Solution Exploring Operation: 36+92=128, Resulting Numbers: [128] 128,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[2, 58], Operations: ['32+4=36', '94-36=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,76 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 17, 16, 93, 25 ]
64
[ "93-25=68", "68/17=4", "16*4=64" ]
Current State: 64:[17, 16, 93, 25], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [17, 16, 68] Generated Node #2: [17, 16, 68] from Operation: 93-25=68 Current State: 64:[17, 16, 68], Operations: ['93-25=68'] Exploring Operation: 68/17=4, Resulting Numbers: [16, 4] Generated Node #3: [16, 4] from Operation: 68/17=4 Current State: 64:[16, 4], Operations: ['93-25=68', '68/17=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[17, 16, 93, 25], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [17, 25, 77] Generated Node #0,0: 64:[17, 25, 77] Operation: 93-16=77 Exploring Operation: 93-25=68, Resulting Numbers: [17, 16, 68] Generated Node #0,1: 64:[17, 16, 68] Operation: 93-25=68 Exploring Operation: 93-17=76, Resulting Numbers: [16, 25, 76] Generated Node #0,2: 64:[16, 25, 76] Operation: 93-17=76 Moving to Node #0,1 Current State: 64:[17, 16, 68], Operations: ['93-25=68'] Exploring Operation: 17-16=1, Resulting Numbers: [68, 1] Generated Node #0,1,0: 64:[68, 1] Operation: 17-16=1 Exploring Operation: 17+16=33, Resulting Numbers: [68, 33] Generated Node #0,1,1: 64:[68, 33] Operation: 17+16=33 Exploring Operation: 68/17=4, Resulting Numbers: [16, 4] Generated Node #0,1,2: 64:[16, 4] Operation: 68/17=4 Moving to Node #0,2 Current State: 64:[16, 25, 76], Operations: ['93-17=76'] Exploring Operation: 76-16=60, Resulting Numbers: [25, 60] Generated Node #0,2,0: 64:[25, 60] Operation: 76-16=60 Exploring Operation: 25-16=9, Resulting Numbers: [76, 9] Generated Node #0,2,1: 64:[76, 9] Operation: 25-16=9 Exploring Operation: 76-25=51, Resulting Numbers: [16, 51] Generated Node #0,2,2: 64:[16, 51] Operation: 76-25=51 Moving to Node #0,0 Current State: 64:[17, 25, 77], Operations: ['93-16=77'] Exploring Operation: 77-17=60, Resulting Numbers: [25, 60] Generated Node #0,0,0: 64:[25, 60] Operation: 77-17=60 Exploring Operation: 77-25=52, Resulting Numbers: [17, 52] Generated Node #0,0,1: 64:[17, 52] Operation: 77-25=52 Exploring Operation: 25-17=8, Resulting Numbers: [77, 8] Generated Node #0,0,2: 64:[77, 8] Operation: 25-17=8 Moving to Node #0,1,2 Current State: 64:[16, 4], Operations: ['93-25=68', '68/17=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[17, 16, 93, 25], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [17, 16, 68] Generated Node #0,1: 64:[17, 16, 68] Operation: 93-25=68 Moving to Node #0,1 Current State: 64:[17, 16, 68], Operations: ['93-25=68'] Exploring Operation: 68/17=4, Resulting Numbers: [16, 4] Generated Node #0,1,2: 64:[16, 4] Operation: 68/17=4 Moving to Node #0,1,2 Current State: 64:[16, 4], Operations: ['93-25=68', '68/17=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 92, 56, 51, 28 ]
60
[ "51-28=23", "92/23=4", "56+4=60" ]
Current State: 60:[92, 56, 51, 28], Operations: [] Exploring Operation: 51-28=23, Resulting Numbers: [92, 56, 23] Generated Node #2: [92, 56, 23] from Operation: 51-28=23 Current State: 60:[92, 56, 23], Operations: ['51-28=23'] Exploring Operation: 92/23=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 92/23=4 Current State: 60:[56, 4], Operations: ['51-28=23', '92/23=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[92, 56, 51, 28], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [92, 28, 5] Generated Node #0,0: 60:[92, 28, 5] Operation: 56-51=5 Exploring Operation: 92-28=64, Resulting Numbers: [56, 51, 64] Generated Node #0,1: 60:[56, 51, 64] Operation: 92-28=64 Exploring Operation: 92-56=36, Resulting Numbers: [51, 28, 36] Generated Node #0,2: 60:[51, 28, 36] Operation: 92-56=36 Exploring Operation: 92-51=41, Resulting Numbers: [56, 28, 41] Generated Node #0,3: 60:[56, 28, 41] Operation: 92-51=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[56, 51, 64], Operations: ['92-28=64'] Exploring Operation: 56-51=5, Resulting Numbers: [64, 5] Generated Node #0,1,0: 60:[64, 5] Operation: 56-51=5 Exploring Operation: 64-56=8, Resulting Numbers: [51, 8] Generated Node #0,1,1: 60:[51, 8] Operation: 64-56=8 Exploring Operation: 64-51=13, Resulting Numbers: [56, 13] Generated Node #0,1,2: 60:[56, 13] Operation: 64-51=13 Exploring Operation: 56+51=107, Resulting Numbers: [64, 107] Generated Node #0,1,3: 60:[64, 107] Operation: 56+51=107 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[64, 5], Operations: ['92-28=64', '56-51=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,60 unequal: No Solution No 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: 60:[56, 13], Operations: ['92-28=64', '64-51=13'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,60 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,60 unequal: No Solution No 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: 60:[51, 8], Operations: ['92-28=64', '64-56=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,60 unequal: No Solution No 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: 60:[64, 107], Operations: ['92-28=64', '56+51=107'] Exploring Operation: 107-64=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 64+107=171, Resulting Numbers: [171] 171,60 unequal: No Solution Exploring Operation: 64*107=6848, Resulting Numbers: [6848] 6848,60 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: 60:[51, 28, 36], Operations: ['92-56=36'] Exploring Operation: 28+36=64, Resulting Numbers: [51, 64] Generated Node #0,2,0: 60:[51, 64] Operation: 28+36=64 Exploring Operation: 51-28=23, Resulting Numbers: [36, 23] Generated Node #0,2,1: 60:[36, 23] Operation: 51-28=23 Exploring Operation: 51-36=15, Resulting Numbers: [28, 15] Generated Node #0,2,2: 60:[28, 15] Operation: 51-36=15 Exploring Operation: 36-28=8, Resulting Numbers: [51, 8] Generated Node #0,2,3: 60:[51, 8] Operation: 36-28=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[28, 15], Operations: ['92-56=36', '51-36=15'] Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,60 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,60 unequal: No Solution No 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: 60:[36, 23], Operations: ['92-56=36', '51-28=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,60 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,60 unequal: No Solution No 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: 60:[51, 8], Operations: ['92-56=36', '36-28=8'] Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,60 unequal: No Solution No 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: 60:[51, 64], Operations: ['92-56=36', '28+36=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,60 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,60 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: 60:[56, 28, 41], Operations: ['92-51=41'] Exploring Operation: 41-28=13, Resulting Numbers: [56, 13] Generated Node #0,3,0: 60:[56, 13] Operation: 41-28=13 Exploring Operation: 56-41=15, Resulting Numbers: [28, 15] Generated Node #0,3,1: 60:[28, 15] Operation: 56-41=15 Exploring Operation: 56/28=2, Resulting Numbers: [41, 2] Generated Node #0,3,2: 60:[41, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [41, 28] Generated Node #0,3,3: 60:[41, 28] Operation: 56-28=28 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[28, 15], Operations: ['92-51=41', '56-41=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,60 unequal: No Solution No 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: 60:[56, 13], Operations: ['92-51=41', '41-28=13'] Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,60 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,60 unequal: No Solution No 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: 60:[41, 2], Operations: ['92-51=41', '56/28=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,60 unequal: No Solution No 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: 60:[41, 28], Operations: ['92-51=41', '56-28=28'] Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,60 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,60 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: 60:[92, 28, 5], Operations: ['56-51=5'] Exploring Operation: 92-5=87, Resulting Numbers: [28, 87] Generated Node #0,0,0: 60:[28, 87] Operation: 92-5=87 Exploring Operation: 28+5=33, Resulting Numbers: [92, 33] Generated Node #0,0,1: 60:[92, 33] Operation: 28+5=33 Exploring Operation: 92-28=64, Resulting Numbers: [5, 64] Generated Node #0,0,2: 60:[5, 64] Operation: 92-28=64 Exploring Operation: 28-5=23, Resulting Numbers: [92, 23] Generated Node #0,0,3: 60:[92, 23] Operation: 28-5=23 Moving to Node #0,0,2 Current State: 60:[5, 64], Operations: ['56-51=5', '92-28=64'] Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 5*64=320, Resulting Numbers: [320] 320,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[28, 87], Operations: ['56-51=5', '92-5=87'] Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,60 unequal: No Solution Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,60 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[92, 23], Operations: ['56-51=5', '28-5=23'] Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,60 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 92*23=2116, Resulting Numbers: [2116] 2116,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[92, 33], Operations: ['56-51=5', '28+5=33'] Exploring Operation: 92+33=125, Resulting Numbers: [125] 125,60 unequal: No Solution Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 92*33=3036, Resulting Numbers: [3036] 3036,60 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
[ 90, 95, 24, 50 ]
57
[ "90-50=40", "95*24=2280", "2280/40=57" ]
Current State: 57:[90, 95, 24, 50], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [95, 24, 40] Generated Node #2: [95, 24, 40] from Operation: 90-50=40 Current State: 57:[95, 24, 40], Operations: ['90-50=40'] Exploring Operation: 95*24=2280, Resulting Numbers: [40, 2280] Generated Node #3: [40, 2280] from Operation: 95*24=2280 Current State: 57:[40, 2280], Operations: ['90-50=40', '95*24=2280'] Exploring Operation: 2280/40=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[90, 95, 24, 50], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [24, 50, 5] Generated Node #0,0: 57:[24, 50, 5] Operation: 95-90=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[24, 50, 5], Operations: ['95-90=5'] Exploring Operation: 24-5=19, Resulting Numbers: [50, 19] Generated Node #0,0,0: 57:[50, 19] Operation: 24-5=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[50, 19], Operations: ['95-90=5', '24-5=19'] Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 9, 34, 11 ]
21
[ "14-9=5", "11*5=55", "55-34=21" ]
Current State: 21:[14, 9, 34, 11], Operations: [] Exploring Operation: 14-9=5, Resulting Numbers: [34, 11, 5] Generated Node #2: [34, 11, 5] from Operation: 14-9=5 Current State: 21:[34, 11, 5], Operations: ['14-9=5'] Exploring Operation: 11*5=55, Resulting Numbers: [34, 55] Generated Node #3: [34, 55] from Operation: 11*5=55 Current State: 21:[34, 55], Operations: ['14-9=5', '11*5=55'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[14, 9, 34, 11], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [9, 11, 20] Generated Node #0,0: 21:[9, 11, 20] Operation: 34-14=20 Exploring Operation: 34-11=23, Resulting Numbers: [14, 9, 23] Generated Node #0,1: 21:[14, 9, 23] Operation: 34-11=23 Moving to Node #0,0 Current State: 21:[9, 11, 20], Operations: ['34-14=20'] Exploring Operation: 11-9=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 21:[20, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [20, 20] Generated Node #0,0,1: 21:[20, 20] Operation: 9+11=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[20, 2], Operations: ['34-14=20', '11-9=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,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,0,1 Current State: 21:[20, 20], Operations: ['34-14=20', '9+11=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,21 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: 21:[14, 9, 23], Operations: ['34-11=23'] Exploring Operation: 14+9=23, Resulting Numbers: [23, 23] Generated Node #0,1,0: 21:[23, 23] Operation: 14+9=23 Exploring Operation: 14-9=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 21:[23, 5] Operation: 14-9=5 Moving to Node #0,1,0 Current State: 21:[23, 23], Operations: ['34-11=23', '14+9=23'] Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[23, 5], Operations: ['34-11=23', '14-9=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 23, 10, 69 ]
40
[ "69/23=3", "7-3=4", "10*4=40" ]
Current State: 40:[7, 23, 10, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [7, 10, 3] Generated Node #2: [7, 10, 3] from Operation: 69/23=3 Current State: 40:[7, 10, 3], Operations: ['69/23=3'] Exploring Operation: 7-3=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 7-3=4 Current State: 40:[10, 4], Operations: ['69/23=3', '7-3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[7, 23, 10, 69], Operations: [] Exploring Operation: 23-7=16, Resulting Numbers: [10, 69, 16] Generated Node #0,0: 40:[10, 69, 16] Operation: 23-7=16 Exploring Operation: 69-7=62, Resulting Numbers: [23, 10, 62] Generated Node #0,1: 40:[23, 10, 62] Operation: 69-7=62 Exploring Operation: 69-10=59, Resulting Numbers: [7, 23, 59] Generated Node #0,2: 40:[7, 23, 59] Operation: 69-10=59 Exploring Operation: 69-23=46, Resulting Numbers: [7, 10, 46] Generated Node #0,3: 40:[7, 10, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [7, 10, 3] Generated Node #0,4: 40:[7, 10, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[7, 10, 3], Operations: ['69/23=3'] Exploring Operation: 7-3=4, Resulting Numbers: [10, 4] Generated Node #0,4,0: 40:[10, 4] Operation: 7-3=4 Exploring Operation: 10-3=7, Resulting Numbers: [7, 7] Generated Node #0,4,1: 40:[7, 7] Operation: 10-3=7 Exploring Operation: 7*3=21, Resulting Numbers: [10, 21] Generated Node #0,4,2: 40:[10, 21] Operation: 7*3=21 Exploring Operation: 10-7=3, Resulting Numbers: [3, 3] Generated Node #0,4,3: 40:[3, 3] Operation: 10-7=3 Exploring Operation: 7+3=10, Resulting Numbers: [10, 10] Generated Node #0,4,4: 40:[10, 10] Operation: 7+3=10 Moving to Node #0,4,0 Current State: 40:[10, 4], Operations: ['69/23=3', '7-3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[7, 23, 10, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [7, 10, 3] Generated Node #0,4: 40:[7, 10, 3] Operation: 69/23=3 Moving to Node #0,4 Current State: 40:[7, 10, 3], Operations: ['69/23=3'] Exploring Operation: 7-3=4, Resulting Numbers: [10, 4] Generated Node #0,4,0: 40:[10, 4] Operation: 7-3=4 Moving to Node #0,4,0 Current State: 40:[10, 4], Operations: ['69/23=3', '7-3=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 26, 12, 18, 23 ]
70
[ "26-12=14", "23-18=5", "14*5=70" ]
Current State: 70:[26, 12, 18, 23], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [18, 23, 14] Generated Node #2: [18, 23, 14] from Operation: 26-12=14 Current State: 70:[18, 23, 14], Operations: ['26-12=14'] Exploring Operation: 23-18=5, Resulting Numbers: [14, 5] Generated Node #3: [14, 5] from Operation: 23-18=5 Current State: 70:[14, 5], Operations: ['26-12=14', '23-18=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[26, 12, 18, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [12, 18, 3] Generated Node #0,0: 70:[12, 18, 3] Operation: 26-23=3 Exploring Operation: 26-18=8, Resulting Numbers: [12, 23, 8] Generated Node #0,1: 70:[12, 23, 8] Operation: 26-18=8 Exploring Operation: 23-18=5, Resulting Numbers: [26, 12, 5] Generated Node #0,2: 70:[26, 12, 5] Operation: 23-18=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[12, 18, 3], Operations: ['26-23=3'] Exploring Operation: 18-12=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 70:[3, 6] Operation: 18-12=6 Exploring Operation: 18/3=6, Resulting Numbers: [12, 6] Generated Node #0,0,1: 70:[12, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [12, 15] Generated Node #0,0,2: 70:[12, 15] Operation: 18-3=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[3, 6], Operations: ['26-23=3', '18-12=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,70 unequal: No Solution No 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: 70:[12, 6], Operations: ['26-23=3', '18/3=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,70 unequal: No Solution No 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: 70:[12, 15], Operations: ['26-23=3', '18-3=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,70 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,70 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: 70:[26, 12, 5], Operations: ['23-18=5'] Exploring Operation: 26-12=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 70:[5, 14] Operation: 26-12=14 Exploring Operation: 26+5=31, Resulting Numbers: [12, 31] Generated Node #0,2,1: 70:[12, 31] Operation: 26+5=31 Exploring Operation: 26+12=38, Resulting Numbers: [5, 38] Generated Node #0,2,2: 70:[5, 38] Operation: 26+12=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[5, 14], Operations: ['23-18=5', '26-12=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[26, 12, 18, 23], Operations: [] Exploring Operation: 23-18=5, Resulting Numbers: [26, 12, 5] Generated Node #0,2: 70:[26, 12, 5] Operation: 23-18=5 Moving to Node #0,2 Current State: 70:[26, 12, 5], Operations: ['23-18=5'] Exploring Operation: 26-12=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 70:[5, 14] Operation: 26-12=14 Moving to Node #0,2,0 Current State: 70:[5, 14], Operations: ['23-18=5', '26-12=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 77, 86, 52, 39 ]
26
[ "77+52=129", "86*39=3354", "3354/129=26" ]
Current State: 26:[77, 86, 52, 39], Operations: [] Exploring Operation: 77+52=129, Resulting Numbers: [86, 39, 129] Generated Node #2: [86, 39, 129] from Operation: 77+52=129 Current State: 26:[86, 39, 129], Operations: ['77+52=129'] Exploring Operation: 86*39=3354, Resulting Numbers: [129, 3354] Generated Node #3: [129, 3354] from Operation: 86*39=3354 Current State: 26:[129, 3354], Operations: ['77+52=129', '86*39=3354'] Exploring Operation: 3354/129=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[77, 86, 52, 39], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [52, 39, 9] Generated Node #0,0: 26:[52, 39, 9] Operation: 86-77=9 Exploring Operation: 86-52=34, Resulting Numbers: [77, 39, 34] Generated Node #0,1: 26:[77, 39, 34] Operation: 86-52=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[52, 39, 9], Operations: ['86-77=9'] Exploring Operation: 52-9=43, Resulting Numbers: [39, 43] Generated Node #0,0,0: 26:[39, 43] Operation: 52-9=43 Exploring Operation: 52-39=13, Resulting Numbers: [9, 13] Generated Node #0,0,1: 26:[9, 13] Operation: 52-39=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[9, 13], Operations: ['86-77=9', '52-39=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,26 unequal: No Solution No 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: 26:[39, 43], Operations: ['86-77=9', '52-9=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,26 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: 26:[77, 39, 34], Operations: ['86-52=34'] Exploring Operation: 77-39=38, Resulting Numbers: [34, 38] Generated Node #0,1,0: 26:[34, 38] Operation: 77-39=38 Exploring Operation: 77-34=43, Resulting Numbers: [39, 43] Generated Node #0,1,1: 26:[39, 43] Operation: 77-34=43 Moving to Node #0,1,0 Current State: 26:[34, 38], Operations: ['86-52=34', '77-39=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[39, 43], Operations: ['86-52=34', '77-34=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,26 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
[ 21, 58, 28, 8 ]
59
[ "21+58=79", "28-8=20", "79-20=59" ]
Current State: 59:[21, 58, 28, 8], Operations: [] Exploring Operation: 21+58=79, Resulting Numbers: [28, 8, 79] Generated Node #2: [28, 8, 79] from Operation: 21+58=79 Current State: 59:[28, 8, 79], Operations: ['21+58=79'] Exploring Operation: 28-8=20, Resulting Numbers: [79, 20] Generated Node #3: [79, 20] from Operation: 28-8=20 Current State: 59:[79, 20], Operations: ['21+58=79', '28-8=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[21, 58, 28, 8], Operations: [] Exploring Operation: 28+8=36, Resulting Numbers: [21, 58, 36] Generated Node #0,0: 59:[21, 58, 36] Operation: 28+8=36 Exploring Operation: 21+28=49, Resulting Numbers: [58, 8, 49] Generated Node #0,1: 59:[58, 8, 49] Operation: 21+28=49 Exploring Operation: 21+8=29, Resulting Numbers: [58, 28, 29] Generated Node #0,2: 59:[58, 28, 29] Operation: 21+8=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[21, 58, 36], Operations: ['28+8=36'] Exploring Operation: 21+58=79, Resulting Numbers: [36, 79] Generated Node #0,0,0: 59:[36, 79] Operation: 21+58=79 Exploring Operation: 58-21=37, Resulting Numbers: [36, 37] Generated Node #0,0,1: 59:[36, 37] Operation: 58-21=37 Exploring Operation: 21+36=57, Resulting Numbers: [58, 57] Generated Node #0,0,2: 59:[58, 57] Operation: 21+36=57 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[58, 57], Operations: ['28+8=36', '21+36=57'] Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution No 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: 59:[36, 79], Operations: ['28+8=36', '21+58=79'] Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,59 unequal: No Solution No 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: 59:[36, 37], Operations: ['28+8=36', '58-21=37'] Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,59 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: 59:[58, 8, 49], Operations: ['21+28=49'] Exploring Operation: 58+8=66, Resulting Numbers: [49, 66] Generated Node #0,1,0: 59:[49, 66] Operation: 58+8=66 Exploring Operation: 58-8=50, Resulting Numbers: [49, 50] Generated Node #0,1,1: 59:[49, 50] Operation: 58-8=50 Exploring Operation: 8+49=57, Resulting Numbers: [58, 57] Generated Node #0,1,2: 59:[58, 57] Operation: 8+49=57 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[58, 57], Operations: ['21+28=49', '8+49=57'] Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution No 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: 59:[49, 66], Operations: ['21+28=49', '58+8=66'] Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,59 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,59 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,59 unequal: No Solution No 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: 59:[49, 50], Operations: ['21+28=49', '58-8=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,59 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: 59:[58, 28, 29], Operations: ['21+8=29'] Exploring Operation: 58-28=30, Resulting Numbers: [29, 30] Generated Node #0,2,0: 59:[29, 30] Operation: 58-28=30 Exploring Operation: 58+28=86, Resulting Numbers: [29, 86] Generated Node #0,2,1: 59:[29, 86] Operation: 58+28=86 Exploring Operation: 28+29=57, Resulting Numbers: [58, 57] Generated Node #0,2,2: 59:[58, 57] Operation: 28+29=57 Moving to Node #0,2,2 Current State: 59:[58, 57], Operations: ['21+8=29', '28+29=57'] Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,59 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[29, 86], Operations: ['21+8=29', '58+28=86'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,59 unequal: No Solution Exploring Operation: 29*86=2494, Resulting Numbers: [2494] 2494,59 unequal: No Solution Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[29, 30], Operations: ['21+8=29', '58-28=30'] Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,59 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[21, 58, 28, 8], Operations: [] Exploring Operation: 21+8=29, Resulting Numbers: [58, 28, 29] Generated Node #0,2: 59:[58, 28, 29] Operation: 21+8=29 Moving to Node #0,2 Current State: 59:[58, 28, 29], Operations: ['21+8=29'] Exploring Operation: 58-28=30, Resulting Numbers: [29, 30] Generated Node #0,2,0: 59:[29, 30] Operation: 58-28=30 Moving to Node #0,2,0 Current State: 59:[29, 30], Operations: ['21+8=29', '58-28=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 29, 64, 14, 27 ]
16
[ "29+27=56", "64*14=896", "896/56=16" ]
Current State: 16:[29, 64, 14, 27], Operations: [] Exploring Operation: 29+27=56, Resulting Numbers: [64, 14, 56] Generated Node #2: [64, 14, 56] from Operation: 29+27=56 Current State: 16:[64, 14, 56], Operations: ['29+27=56'] Exploring Operation: 64*14=896, Resulting Numbers: [56, 896] Generated Node #3: [56, 896] from Operation: 64*14=896 Current State: 16:[56, 896], Operations: ['29+27=56', '64*14=896'] Exploring Operation: 896/56=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[29, 64, 14, 27], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [29, 14, 37] Generated Node #0,0: 16:[29, 14, 37] Operation: 64-27=37 Exploring Operation: 64-29=35, Resulting Numbers: [14, 27, 35] Generated Node #0,1: 16:[14, 27, 35] Operation: 64-29=35 Moving to Node #0,1 Current State: 16:[14, 27, 35], Operations: ['64-29=35'] Exploring Operation: 35-14=21, Resulting Numbers: [27, 21] Generated Node #0,1,0: 16:[27, 21] Operation: 35-14=21 Exploring Operation: 35-27=8, Resulting Numbers: [14, 8] Generated Node #0,1,1: 16:[14, 8] Operation: 35-27=8 Moving to Node #0,0 Current State: 16:[29, 14, 37], Operations: ['64-27=37'] Exploring Operation: 37-14=23, Resulting Numbers: [29, 23] Generated Node #0,0,0: 16:[29, 23] Operation: 37-14=23 Exploring Operation: 37-29=8, Resulting Numbers: [14, 8] Generated Node #0,0,1: 16:[14, 8] Operation: 37-29=8 Moving to Node #0,1,1 Current State: 16:[14, 8], Operations: ['64-29=35', '35-27=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[14, 8], Operations: ['64-27=37', '37-29=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[27, 21], Operations: ['64-29=35', '35-14=21'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[29, 23], Operations: ['64-27=37', '37-14=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,16 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 68, 56, 60 ]
59
[ "62*56=3472", "68+3472=3540", "3540/60=59" ]
Current State: 59:[62, 68, 56, 60], Operations: [] Exploring Operation: 62*56=3472, Resulting Numbers: [68, 60, 3472] Generated Node #2: [68, 60, 3472] from Operation: 62*56=3472 Current State: 59:[68, 60, 3472], Operations: ['62*56=3472'] Exploring Operation: 68+3472=3540, Resulting Numbers: [60, 3540] Generated Node #3: [60, 3540] from Operation: 68+3472=3540 Current State: 59:[60, 3540], Operations: ['62*56=3472', '68+3472=3540'] Exploring Operation: 3540/60=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[62, 68, 56, 60], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [62, 60, 12] Generated Node #0,0: 59:[62, 60, 12] Operation: 68-56=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[62, 60, 12], Operations: ['68-56=12'] Exploring Operation: 62-12=50, Resulting Numbers: [60, 50] Generated Node #0,0,0: 59:[60, 50] Operation: 62-12=50 Moving to Node #0,0,0 Current State: 59:[60, 50], Operations: ['68-56=12', '62-12=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 62, 27, 29 ]
41
[ "62-27=35", "2*35=70", "70-29=41" ]
Current State: 41:[2, 62, 27, 29], Operations: [] Exploring Operation: 62-27=35, Resulting Numbers: [2, 29, 35] Generated Node #2: [2, 29, 35] from Operation: 62-27=35 Current State: 41:[2, 29, 35], Operations: ['62-27=35'] Exploring Operation: 2*35=70, Resulting Numbers: [29, 70] Generated Node #3: [29, 70] from Operation: 2*35=70 Current State: 41:[29, 70], Operations: ['62-27=35', '2*35=70'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 62, 27, 29], Operations: [] Exploring Operation: 2+27=29, Resulting Numbers: [62, 29, 29] Generated Node #0,0: 41:[62, 29, 29] Operation: 2+27=29 Exploring Operation: 62/2=31, Resulting Numbers: [27, 29, 31] Generated Node #0,1: 41:[27, 29, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [27, 29, 60] Generated Node #0,2: 41:[27, 29, 60] Operation: 62-2=60 Moving to Node #0,1 Current State: 41:[27, 29, 31], Operations: ['62/2=31'] Exploring Operation: 29+31=60, Resulting Numbers: [27, 60] Generated Node #0,1,0: 41:[27, 60] Operation: 29+31=60 Exploring Operation: 27+29=56, Resulting Numbers: [31, 56] Generated Node #0,1,1: 41:[31, 56] Operation: 27+29=56 Exploring Operation: 27+31=58, Resulting Numbers: [29, 58] Generated Node #0,1,2: 41:[29, 58] Operation: 27+31=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[31, 56], Operations: ['62/2=31', '27+29=56'] Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,41 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[29, 58], Operations: ['62/2=31', '27+31=58'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[27, 60], Operations: ['62/2=31', '29+31=60'] Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 27*60=1620, Resulting Numbers: [1620] 1620,41 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: 41:[62, 29, 29], Operations: ['2+27=29'] Exploring Operation: 29+29=58, Resulting Numbers: [62, 58] Generated Node #0,0,0: 41:[62, 58] Operation: 29+29=58 Exploring Operation: 62-29=33, Resulting Numbers: [29, 33] Generated Node #0,0,1: 41:[29, 33] Operation: 62-29=33 Exploring Operation: 62-29=33, Resulting Numbers: [29, 33] Generated Node #0,0,2: 41:[29, 33] Operation: 62-29=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[29, 33], Operations: ['2+27=29', '62-29=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,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:[29, 33], Operations: ['2+27=29', '62-29=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,41 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,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:[62, 58], Operations: ['2+27=29', '29+29=58'] Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 62+58=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 62*58=3596, Resulting Numbers: [3596] 3596,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:[27, 29, 60], Operations: ['62-2=60'] Exploring Operation: 60-27=33, Resulting Numbers: [29, 33] Generated Node #0,2,0: 41:[29, 33] Operation: 60-27=33 Exploring Operation: 60-29=31, Resulting Numbers: [27, 31] Generated Node #0,2,1: 41:[27, 31] Operation: 60-29=31 Exploring Operation: 27+29=56, Resulting Numbers: [60, 56] Generated Node #0,2,2: 41:[60, 56] Operation: 27+29=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[29, 33], Operations: ['62-2=60', '60-27=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,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,1 Current State: 41:[27, 31], Operations: ['62-2=60', '60-29=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,41 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,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:[60, 56], Operations: ['62-2=60', '27+29=56'] Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,41 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,41 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
[ 54, 9, 7, 69 ]
27
[ "54/9=6", "7*6=42", "69-42=27" ]
Current State: 27:[54, 9, 7, 69], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [7, 69, 6] Generated Node #2: [7, 69, 6] from Operation: 54/9=6 Current State: 27:[7, 69, 6], Operations: ['54/9=6'] Exploring Operation: 7*6=42, Resulting Numbers: [69, 42] Generated Node #3: [69, 42] from Operation: 7*6=42 Current State: 27:[69, 42], Operations: ['54/9=6', '7*6=42'] Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[54, 9, 7, 69], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [7, 69, 6] Generated Node #0,0: 27:[7, 69, 6] Operation: 54/9=6 Exploring Operation: 69-9=60, Resulting Numbers: [54, 7, 60] Generated Node #0,1: 27:[54, 7, 60] Operation: 69-9=60 Exploring Operation: 54-9=45, Resulting Numbers: [7, 69, 45] Generated Node #0,2: 27:[7, 69, 45] Operation: 54-9=45 Exploring Operation: 69-54=15, Resulting Numbers: [9, 7, 15] Generated Node #0,3: 27:[9, 7, 15] Operation: 69-54=15 Exploring Operation: 54-7=47, Resulting Numbers: [9, 69, 47] Generated Node #0,4: 27:[9, 69, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[9, 7, 15], Operations: ['69-54=15'] Exploring Operation: 9+15=24, Resulting Numbers: [7, 24] Generated Node #0,3,0: 27:[7, 24] Operation: 9+15=24 Exploring Operation: 9-7=2, Resulting Numbers: [15, 2] Generated Node #0,3,1: 27:[15, 2] Operation: 9-7=2 Exploring Operation: 15-9=6, Resulting Numbers: [7, 6] Generated Node #0,3,2: 27:[7, 6] Operation: 15-9=6 Exploring Operation: 15-7=8, Resulting Numbers: [9, 8] Generated Node #0,3,3: 27:[9, 8] Operation: 15-7=8 Exploring Operation: 7+15=22, Resulting Numbers: [9, 22] Generated Node #0,3,4: 27:[9, 22] Operation: 7+15=22 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[9, 8], Operations: ['69-54=15', '15-7=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[7, 24], Operations: ['69-54=15', '9+15=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[7, 6], Operations: ['69-54=15', '15-9=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 27:[9, 22], Operations: ['69-54=15', '7+15=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,27 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 27:[15, 2], Operations: ['69-54=15', '9-7=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[7, 69, 6], Operations: ['54/9=6'] Exploring Operation: 7-6=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 27:[69, 1] Operation: 7-6=1 Exploring Operation: 69+6=75, Resulting Numbers: [7, 75] Generated Node #0,0,1: 27:[7, 75] Operation: 69+6=75 Exploring Operation: 7+6=13, Resulting Numbers: [69, 13] Generated Node #0,0,2: 27:[69, 13] Operation: 7+6=13 Exploring Operation: 69-7=62, Resulting Numbers: [6, 62] Generated Node #0,0,3: 27:[6, 62] Operation: 69-7=62 Exploring Operation: 69-6=63, Resulting Numbers: [7, 63] Generated Node #0,0,4: 27:[7, 63] Operation: 69-6=63 Moving to Node #0,0,3 Current State: 27:[6, 62], Operations: ['54/9=6', '69-7=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,27 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,27 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[7, 63], Operations: ['54/9=6', '69-6=63'] Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,27 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[69, 1], Operations: ['54/9=6', '7-6=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,27 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[69, 13], Operations: ['54/9=6', '7+6=13'] Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,27 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[7, 75], Operations: ['54/9=6', '69+6=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,27 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,27 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[54, 7, 60], Operations: ['69-9=60'] Exploring Operation: 60-54=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 27:[7, 6] Operation: 60-54=6 Exploring Operation: 54-7=47, Resulting Numbers: [60, 47] Generated Node #0,1,1: 27:[60, 47] Operation: 54-7=47 Exploring Operation: 60-7=53, Resulting Numbers: [54, 53] Generated Node #0,1,2: 27:[54, 53] Operation: 60-7=53 Exploring Operation: 54+7=61, Resulting Numbers: [60, 61] Generated Node #0,1,3: 27:[60, 61] Operation: 54+7=61 Exploring Operation: 7+60=67, Resulting Numbers: [54, 67] Generated Node #0,1,4: 27:[54, 67] Operation: 7+60=67 Moving to Node #0,1,0 Current State: 27:[7, 6], Operations: ['69-9=60', '60-54=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[54, 53], Operations: ['69-9=60', '60-7=53'] Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,27 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[60, 47], Operations: ['69-9=60', '54-7=47'] Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,27 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[60, 61], Operations: ['69-9=60', '54+7=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[54, 67], Operations: ['69-9=60', '7+60=67'] Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,27 unequal: No Solution Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[7, 69, 45], Operations: ['54-9=45'] Exploring Operation: 7+45=52, Resulting Numbers: [69, 52] Generated Node #0,2,0: 27:[69, 52] Operation: 7+45=52 Exploring Operation: 7+69=76, Resulting Numbers: [45, 76] Generated Node #0,2,1: 27:[45, 76] Operation: 7+69=76 Exploring Operation: 45-7=38, Resulting Numbers: [69, 38] Generated Node #0,2,2: 27:[69, 38] Operation: 45-7=38 Exploring Operation: 69-45=24, Resulting Numbers: [7, 24] Generated Node #0,2,3: 27:[7, 24] Operation: 69-45=24 Exploring Operation: 69-7=62, Resulting Numbers: [45, 62] Generated Node #0,2,4: 27:[45, 62] Operation: 69-7=62 Moving to Node #0,2,3 Current State: 27:[7, 24], Operations: ['54-9=45', '69-45=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,27 unequal: No Solution Moving to Node #0,2,4 Current State: 27:[45, 62], Operations: ['54-9=45', '69-7=62'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,27 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[69, 38], Operations: ['54-9=45', '45-7=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[69, 52], Operations: ['54-9=45', '7+45=52'] Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,27 unequal: No Solution Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[45, 76], Operations: ['54-9=45', '7+69=76'] Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,27 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,27 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,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 Current State: 27:[9, 69, 47], Operations: ['54-7=47'] Exploring Operation: 69-9=60, Resulting Numbers: [47, 60] Generated Node #0,4,0: 27:[47, 60] Operation: 69-9=60 Exploring Operation: 69-47=22, Resulting Numbers: [9, 22] Generated Node #0,4,1: 27:[9, 22] Operation: 69-47=22 Exploring Operation: 9+69=78, Resulting Numbers: [47, 78] Generated Node #0,4,2: 27:[47, 78] Operation: 9+69=78 Exploring Operation: 9+47=56, Resulting Numbers: [69, 56] Generated Node #0,4,3: 27:[69, 56] Operation: 9+47=56 Exploring Operation: 47-9=38, Resulting Numbers: [69, 38] Generated Node #0,4,4: 27:[69, 38] Operation: 47-9=38 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 27:[9, 22], Operations: ['54-7=47', '69-47=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,27 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 27:[47, 60], Operations: ['54-7=47', '69-9=60'] Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,27 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 27:[69, 38], Operations: ['54-7=47', '47-9=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,27 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[47, 78], Operations: ['54-7=47', '9+69=78'] Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,27 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 27:[69, 56], Operations: ['54-7=47', '9+47=56'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,27 unequal: No Solution Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 73, 25, 89, 46 ]
87
[ "73-25=48", "89+46=135", "135-48=87" ]
Current State: 87:[73, 25, 89, 46], Operations: [] Exploring Operation: 73-25=48, Resulting Numbers: [89, 46, 48] Generated Node #2: [89, 46, 48] from Operation: 73-25=48 Current State: 87:[89, 46, 48], Operations: ['73-25=48'] Exploring Operation: 89+46=135, Resulting Numbers: [48, 135] Generated Node #3: [48, 135] from Operation: 89+46=135 Current State: 87:[48, 135], Operations: ['73-25=48', '89+46=135'] Exploring Operation: 135-48=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[73, 25, 89, 46], Operations: [] Exploring Operation: 25+46=71, Resulting Numbers: [73, 89, 71] Generated Node #0,0: 87:[73, 89, 71] Operation: 25+46=71 Exploring Operation: 46-25=21, Resulting Numbers: [73, 89, 21] Generated Node #0,1: 87:[73, 89, 21] Operation: 46-25=21 Exploring Operation: 89-46=43, Resulting Numbers: [73, 25, 43] Generated Node #0,2: 87:[73, 25, 43] Operation: 89-46=43 Exploring Operation: 73+25=98, Resulting Numbers: [89, 46, 98] Generated Node #0,3: 87:[89, 46, 98] Operation: 73+25=98 Exploring Operation: 73-46=27, Resulting Numbers: [25, 89, 27] Generated Node #0,4: 87:[25, 89, 27] Operation: 73-46=27 Moving to Node #0,4 Current State: 87:[25, 89, 27], Operations: ['73-46=27'] Exploring Operation: 89-27=62, Resulting Numbers: [25, 62] Generated Node #0,4,0: 87:[25, 62] Operation: 89-27=62 Exploring Operation: 89-25=64, Resulting Numbers: [27, 64] Generated Node #0,4,1: 87:[27, 64] Operation: 89-25=64 Exploring Operation: 27-25=2, Resulting Numbers: [89, 2] Generated Node #0,4,2: 87:[89, 2] Operation: 27-25=2 Exploring Operation: 25+89=114, Resulting Numbers: [27, 114] Generated Node #0,4,3: 87:[27, 114] Operation: 25+89=114 Exploring Operation: 25+27=52, Resulting Numbers: [89, 52] Generated Node #0,4,4: 87:[89, 52] Operation: 25+27=52 Moving to Node #0,1 Current State: 87:[73, 89, 21], Operations: ['46-25=21'] Exploring Operation: 89-21=68, Resulting Numbers: [73, 68] Generated Node #0,1,0: 87:[73, 68] Operation: 89-21=68 Exploring Operation: 89-73=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 87:[21, 16] Operation: 89-73=16 Exploring Operation: 89+21=110, Resulting Numbers: [73, 110] Generated Node #0,1,2: 87:[73, 110] Operation: 89+21=110 Exploring Operation: 73+21=94, Resulting Numbers: [89, 94] Generated Node #0,1,3: 87:[89, 94] Operation: 73+21=94 Exploring Operation: 73-21=52, Resulting Numbers: [89, 52] Generated Node #0,1,4: 87:[89, 52] Operation: 73-21=52 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[89, 94], Operations: ['46-25=21', '73+21=94'] Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 89+94=183, Resulting Numbers: [183] 183,87 unequal: No Solution Exploring Operation: 89*94=8366, Resulting Numbers: [8366] 8366,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,1,1 Current State: 87:[21, 16], Operations: ['46-25=21', '89-73=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,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,1,4 Current State: 87:[89, 52], Operations: ['46-25=21', '73-21=52'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,87 unequal: No Solution Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,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,1,0 Current State: 87:[73, 68], Operations: ['46-25=21', '89-21=68'] Exploring Operation: 73+68=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 73*68=4964, Resulting Numbers: [4964] 4964,87 unequal: No Solution Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,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,1,2 Current State: 87:[73, 110], Operations: ['46-25=21', '89+21=110'] Exploring Operation: 73+110=183, Resulting Numbers: [183] 183,87 unequal: No Solution Exploring Operation: 110-73=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 73*110=8030, Resulting Numbers: [8030] 8030,87 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: 87:[89, 46, 98], Operations: ['73+25=98'] Exploring Operation: 89+46=135, Resulting Numbers: [98, 135] Generated Node #0,3,0: 87:[98, 135] Operation: 89+46=135 Exploring Operation: 98-89=9, Resulting Numbers: [46, 9] Generated Node #0,3,1: 87:[46, 9] Operation: 98-89=9 Exploring Operation: 98-46=52, Resulting Numbers: [89, 52] Generated Node #0,3,2: 87:[89, 52] Operation: 98-46=52 Exploring Operation: 89-46=43, Resulting Numbers: [98, 43] Generated Node #0,3,3: 87:[98, 43] Operation: 89-46=43 Exploring Operation: 46+98=144, Resulting Numbers: [89, 144] Generated Node #0,3,4: 87:[89, 144] Operation: 46+98=144 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[46, 9], Operations: ['73+25=98', '98-89=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,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,2 Current State: 87:[89, 52], Operations: ['73+25=98', '98-46=52'] Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,87 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,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:[98, 43], Operations: ['73+25=98', '89-46=43'] Exploring Operation: 98+43=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 98*43=4214, Resulting Numbers: [4214] 4214,87 unequal: No Solution Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,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:[98, 135], Operations: ['73+25=98', '89+46=135'] Exploring Operation: 135-98=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 98*135=13230, Resulting Numbers: [13230] 13230,87 unequal: No Solution Exploring Operation: 98+135=233, Resulting Numbers: [233] 233,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:[89, 144], Operations: ['73+25=98', '46+98=144'] Exploring Operation: 89+144=233, Resulting Numbers: [233] 233,87 unequal: No Solution Exploring Operation: 144-89=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 89*144=12816, Resulting Numbers: [12816] 12816,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:[73, 89, 71], Operations: ['25+46=71'] Exploring Operation: 89-71=18, Resulting Numbers: [73, 18] Generated Node #0,0,0: 87:[73, 18] Operation: 89-71=18 Exploring Operation: 73-71=2, Resulting Numbers: [89, 2] Generated Node #0,0,1: 87:[89, 2] Operation: 73-71=2 Exploring Operation: 89-73=16, Resulting Numbers: [71, 16] Generated Node #0,0,2: 87:[71, 16] Operation: 89-73=16 Exploring Operation: 73+71=144, Resulting Numbers: [89, 144] Generated Node #0,0,3: 87:[89, 144] Operation: 73+71=144 Exploring Operation: 89+71=160, Resulting Numbers: [73, 160] Generated Node #0,0,4: 87:[73, 160] Operation: 89+71=160 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[89, 2], Operations: ['25+46=71', '73-71=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[73, 25, 89, 46], Operations: [] Exploring Operation: 25+46=71, Resulting Numbers: [73, 89, 71] Generated Node #0,0: 87:[73, 89, 71] Operation: 25+46=71 Moving to Node #0,0 Current State: 87:[73, 89, 71], Operations: ['25+46=71'] Exploring Operation: 73-71=2, Resulting Numbers: [89, 2] Generated Node #0,0,1: 87:[89, 2] Operation: 73-71=2 Moving to Node #0,0,1 Current State: 87:[89, 2], Operations: ['25+46=71', '73-71=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 22, 24, 22, 31 ]
13
[ "24-22=2", "22*2=44", "44-31=13" ]
Current State: 13:[22, 24, 22, 31], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [31, 2] Generated Node #2: [31, 2] from Operation: 24-22=2 Current State: 13:[31, 2], Operations: ['24-22=2'] Exploring Operation: 22*2=44, Resulting Numbers: [31, 44] Generated Node #3: [31, 44] from Operation: 22*2=44 Current State: 13:[31, 44], Operations: ['24-22=2', '22*2=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[22, 24, 22, 31], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [24, 22, 9] Generated Node #0,0: 13:[24, 22, 9] Operation: 31-22=9 Exploring Operation: 24-22=2, Resulting Numbers: [22, 31, 2] Generated Node #0,1: 13:[22, 31, 2] Operation: 24-22=2 Exploring Operation: 31-22=9, Resulting Numbers: [22, 24, 9] Generated Node #0,2: 13:[22, 24, 9] Operation: 31-22=9 Exploring Operation: 24-22=2, Resulting Numbers: [22, 31, 2] Generated Node #0,3: 13:[22, 31, 2] Operation: 24-22=2 Exploring Operation: 31-24=7, Resulting Numbers: [22, 22, 7] Generated Node #0,4: 13:[22, 22, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[24, 22, 9], Operations: ['31-22=9'] Exploring Operation: 24+9=33, Resulting Numbers: [22, 33] Generated Node #0,0,0: 13:[22, 33] Operation: 24+9=33 Exploring Operation: 22-9=13, Resulting Numbers: [24, 13] Generated Node #0,0,1: 13:[24, 13] Operation: 22-9=13 Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,0,2: 13:[9, 2] Operation: 24-22=2 Exploring Operation: 24-9=15, Resulting Numbers: [22, 15] Generated Node #0,0,3: 13:[22, 15] Operation: 24-9=15 Exploring Operation: 22+9=31, Resulting Numbers: [24, 31] Generated Node #0,0,4: 13:[24, 31] Operation: 22+9=31 Moving to Node #0,0,1 Current State: 13:[24, 13], Operations: ['31-22=9', '22-9=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[22, 15], Operations: ['31-22=9', '24-9=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[9, 2], Operations: ['31-22=9', '24-22=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[22, 33], Operations: ['31-22=9', '24+9=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,13 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[24, 31], Operations: ['31-22=9', '22+9=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,13 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,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,2 Current State: 13:[22, 24, 9], Operations: ['31-22=9'] Exploring Operation: 22+9=31, Resulting Numbers: [24, 31] Generated Node #0,2,0: 13:[24, 31] Operation: 22+9=31 Exploring Operation: 22-9=13, Resulting Numbers: [24, 13] Generated Node #0,2,1: 13:[24, 13] Operation: 22-9=13 Exploring Operation: 24-22=2, Resulting Numbers: [9, 2] Generated Node #0,2,2: 13:[9, 2] Operation: 24-22=2 Exploring Operation: 24-9=15, Resulting Numbers: [22, 15] Generated Node #0,2,3: 13:[22, 15] Operation: 24-9=15 Exploring Operation: 24+9=33, Resulting Numbers: [22, 33] Generated Node #0,2,4: 13:[22, 33] Operation: 24+9=33 Moving to Node #0,2,1 Current State: 13:[24, 13], Operations: ['31-22=9', '22-9=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,13 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[22, 15], Operations: ['31-22=9', '24-9=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,13 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[9, 2], Operations: ['31-22=9', '24-22=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[24, 31], Operations: ['31-22=9', '22+9=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[22, 33], Operations: ['31-22=9', '24+9=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,13 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,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,4 Current State: 13:[22, 22, 7], Operations: ['31-24=7'] Exploring Operation: 22/22=1, Resulting Numbers: [7, 1] Generated Node #0,4,0: 13:[7, 1] Operation: 22/22=1 Exploring Operation: 22-7=15, Resulting Numbers: [22, 15] Generated Node #0,4,1: 13:[22, 15] Operation: 22-7=15 Exploring Operation: 22-7=15, Resulting Numbers: [22, 15] Generated Node #0,4,2: 13:[22, 15] Operation: 22-7=15 Exploring Operation: 22+7=29, Resulting Numbers: [22, 29] Generated Node #0,4,3: 13:[22, 29] Operation: 22+7=29 Exploring Operation: 22-22=0, Resulting Numbers: [7, 0] Generated Node #0,4,4: 13:[7, 0] Operation: 22-22=0 Moving to Node #0,4,1 Current State: 13:[22, 15], Operations: ['31-24=7', '22-7=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,13 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[22, 15], Operations: ['31-24=7', '22-7=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,13 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[7, 1], Operations: ['31-24=7', '22/22=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[7, 0], Operations: ['31-24=7', '22-22=0'] Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[22, 29], Operations: ['31-24=7', '22+7=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,13 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[22, 31, 2], Operations: ['24-22=2'] Exploring Operation: 22-2=20, Resulting Numbers: [31, 20] Generated Node #0,1,0: 13:[31, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [31, 11] Generated Node #0,1,1: 13:[31, 11] Operation: 22/2=11 Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 13:[2, 9] Operation: 31-22=9 Exploring Operation: 31-2=29, Resulting Numbers: [22, 29] Generated Node #0,1,3: 13:[22, 29] Operation: 31-2=29 Exploring Operation: 22+2=24, Resulting Numbers: [31, 24] Generated Node #0,1,4: 13:[31, 24] Operation: 22+2=24 Moving to Node #0,1,2 Current State: 13:[2, 9], Operations: ['24-22=2', '31-22=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[31, 11], Operations: ['24-22=2', '22/2=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,13 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[31, 20], Operations: ['24-22=2', '22-2=20'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,13 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[22, 29], Operations: ['24-22=2', '31-2=29'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,13 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[31, 24], Operations: ['24-22=2', '22+2=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,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,3 Current State: 13:[22, 31, 2], Operations: ['24-22=2'] Exploring Operation: 22+2=24, Resulting Numbers: [31, 24] Generated Node #0,3,0: 13:[31, 24] Operation: 22+2=24 Exploring Operation: 31-2=29, Resulting Numbers: [22, 29] Generated Node #0,3,1: 13:[22, 29] Operation: 31-2=29 Exploring Operation: 22/2=11, Resulting Numbers: [31, 11] Generated Node #0,3,2: 13:[31, 11] Operation: 22/2=11 Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #0,3,3: 13:[2, 9] Operation: 31-22=9 Exploring Operation: 22-2=20, Resulting Numbers: [31, 20] Generated Node #0,3,4: 13:[31, 20] Operation: 22-2=20 Moving to Node #0,3,3 Current State: 13:[2, 9], Operations: ['24-22=2', '31-22=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[31, 11], Operations: ['24-22=2', '22/2=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,13 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[22, 29], Operations: ['24-22=2', '31-2=29'] Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,13 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[31, 20], Operations: ['24-22=2', '22-2=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[31, 24], Operations: ['24-22=2', '22+2=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 11, 4, 68, 13 ]
76
[ "13-11=2", "4*2=8", "68+8=76" ]
Current State: 76:[11, 4, 68, 13], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [4, 68, 2] Generated Node #2: [4, 68, 2] from Operation: 13-11=2 Current State: 76:[4, 68, 2], Operations: ['13-11=2'] Exploring Operation: 4*2=8, Resulting Numbers: [68, 8] Generated Node #3: [68, 8] from Operation: 4*2=8 Current State: 76:[68, 8], Operations: ['13-11=2', '4*2=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[11, 4, 68, 13], Operations: [] Exploring Operation: 11+13=24, Resulting Numbers: [4, 68, 24] Generated Node #0,0: 76:[4, 68, 24] Operation: 11+13=24 Exploring Operation: 68/4=17, Resulting Numbers: [11, 13, 17] Generated Node #0,1: 76:[11, 13, 17] Operation: 68/4=17 Exploring Operation: 11+68=79, Resulting Numbers: [4, 13, 79] Generated Node #0,2: 76:[4, 13, 79] Operation: 11+68=79 Exploring Operation: 13-11=2, Resulting Numbers: [4, 68, 2] Generated Node #0,3: 76:[4, 68, 2] Operation: 13-11=2 Exploring Operation: 68+13=81, Resulting Numbers: [11, 4, 81] Generated Node #0,4: 76:[11, 4, 81] Operation: 68+13=81 Moving to Node #0,3 Current State: 76:[4, 68, 2], Operations: ['13-11=2'] Exploring Operation: 4-2=2, Resulting Numbers: [68, 2] Generated Node #0,3,0: 76:[68, 2] Operation: 4-2=2 Exploring Operation: 68/4=17, Resulting Numbers: [2, 17] Generated Node #0,3,1: 76:[2, 17] Operation: 68/4=17 Exploring Operation: 68+2=70, Resulting Numbers: [4, 70] Generated Node #0,3,2: 76:[4, 70] Operation: 68+2=70 Exploring Operation: 68/2=34, Resulting Numbers: [4, 34] Generated Node #0,3,3: 76:[4, 34] Operation: 68/2=34 Exploring Operation: 4+68=72, Resulting Numbers: [2, 72] Generated Node #0,3,4: 76:[2, 72] Operation: 4+68=72 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[2, 17], Operations: ['13-11=2', '68/4=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,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,3,3 Current State: 76:[4, 34], Operations: ['13-11=2', '68/2=34'] Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,76 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,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,3,4 Current State: 76:[2, 72], Operations: ['13-11=2', '4+68=72'] Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,76 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,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,3,2 Current State: 76:[4, 70], Operations: ['13-11=2', '68+2=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,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,3,0 Current State: 76:[68, 2], Operations: ['13-11=2', '4-2=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,76 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,76 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: 76:[4, 13, 79], Operations: ['11+68=79'] Exploring Operation: 13-4=9, Resulting Numbers: [79, 9] Generated Node #0,2,0: 76:[79, 9] Operation: 13-4=9 Exploring Operation: 4+13=17, Resulting Numbers: [79, 17] Generated Node #0,2,1: 76:[79, 17] Operation: 4+13=17 Exploring Operation: 79-4=75, Resulting Numbers: [13, 75] Generated Node #0,2,2: 76:[13, 75] Operation: 79-4=75 Exploring Operation: 79-13=66, Resulting Numbers: [4, 66] Generated Node #0,2,3: 76:[4, 66] Operation: 79-13=66 Exploring Operation: 4+79=83, Resulting Numbers: [13, 83] Generated Node #0,2,4: 76:[13, 83] Operation: 4+79=83 Moving to Node #0,4 Current State: 76:[11, 4, 81], Operations: ['68+13=81'] Exploring Operation: 11*4=44, Resulting Numbers: [81, 44] Generated Node #0,4,0: 76:[81, 44] Operation: 11*4=44 Exploring Operation: 11-4=7, Resulting Numbers: [81, 7] Generated Node #0,4,1: 76:[81, 7] Operation: 11-4=7 Exploring Operation: 11+4=15, Resulting Numbers: [81, 15] Generated Node #0,4,2: 76:[81, 15] Operation: 11+4=15 Exploring Operation: 81-4=77, Resulting Numbers: [11, 77] Generated Node #0,4,3: 76:[11, 77] Operation: 81-4=77 Exploring Operation: 81-11=70, Resulting Numbers: [4, 70] Generated Node #0,4,4: 76:[4, 70] Operation: 81-11=70 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[4, 70], Operations: ['68+13=81', '81-11=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,76 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,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,4,1 Current State: 76:[81, 7], Operations: ['68+13=81', '11-4=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,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,4,3 Current State: 76:[11, 77], Operations: ['68+13=81', '81-4=77'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,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,4,2 Current State: 76:[81, 15], Operations: ['68+13=81', '11+4=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,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,4,0 Current State: 76:[81, 44], Operations: ['68+13=81', '11*4=44'] Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,76 unequal: No Solution Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,76 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: 76:[4, 68, 24], Operations: ['11+13=24'] Exploring Operation: 68/4=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 76:[24, 17] Operation: 68/4=17 Exploring Operation: 68-24=44, Resulting Numbers: [4, 44] Generated Node #0,0,1: 76:[4, 44] Operation: 68-24=44 Exploring Operation: 24-4=20, Resulting Numbers: [68, 20] Generated Node #0,0,2: 76:[68, 20] Operation: 24-4=20 Exploring Operation: 4+68=72, Resulting Numbers: [24, 72] Generated Node #0,0,3: 76:[24, 72] Operation: 4+68=72 Exploring Operation: 24/4=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 76:[68, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[4, 44], Operations: ['11+13=24', '68-24=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,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,0,0 Current State: 76:[24, 17], Operations: ['11+13=24', '68/4=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,76 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,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,0,2 Current State: 76:[68, 20], Operations: ['11+13=24', '24-4=20'] Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,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,0,3 Current State: 76:[24, 72], Operations: ['11+13=24', '4+68=72'] Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,76 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,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,0,4 Current State: 76:[68, 6], Operations: ['11+13=24', '24/4=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,76 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: 76:[11, 13, 17], Operations: ['68/4=17'] Exploring Operation: 11+13=24, Resulting Numbers: [17, 24] Generated Node #0,1,0: 76:[17, 24] Operation: 11+13=24 Exploring Operation: 11+17=28, Resulting Numbers: [13, 28] Generated Node #0,1,1: 76:[13, 28] Operation: 11+17=28 Exploring Operation: 13-11=2, Resulting Numbers: [17, 2] Generated Node #0,1,2: 76:[17, 2] Operation: 13-11=2 Exploring Operation: 17-11=6, Resulting Numbers: [13, 6] Generated Node #0,1,3: 76:[13, 6] Operation: 17-11=6 Exploring Operation: 17-13=4, Resulting Numbers: [11, 4] Generated Node #0,1,4: 76:[11, 4] Operation: 17-13=4 Moving to Node #0,1,2 Current State: 76:[17, 2], Operations: ['68/4=17', '13-11=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[79, 17], Operations: ['11+68=79', '4+13=17'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,76 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[17, 24], Operations: ['68/4=17', '11+13=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,76 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[13, 75], Operations: ['11+68=79', '79-4=75'] Exploring Operation: 13+75=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 13*75=975, Resulting Numbers: [975] 975,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[11, 4], Operations: ['68/4=17', '17-13=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[79, 9], Operations: ['11+68=79', '13-4=9'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,76 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[13, 6], Operations: ['68/4=17', '17-11=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[4, 66], Operations: ['11+68=79', '79-13=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,76 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,76 unequal: No Solution Moving to Node #0,2,4 Current State: 76:[13, 83], Operations: ['11+68=79', '4+79=83'] Exploring Operation: 13*83=1079, Resulting Numbers: [1079] 1079,76 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 13+83=96, Resulting Numbers: [96] 96,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[13, 28], Operations: ['68/4=17', '11+17=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,76 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,76 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 20, 28, 20, 81 ]
54
[ "20/20=1", "81-28=53", "1+53=54" ]
Current State: 54:[20, 28, 20, 81], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [28, 81, 1] Generated Node #2: [28, 81, 1] from Operation: 20/20=1 Current State: 54:[28, 81, 1], Operations: ['20/20=1'] Exploring Operation: 81-28=53, Resulting Numbers: [1, 53] Generated Node #3: [1, 53] from Operation: 81-28=53 Current State: 54:[1, 53], Operations: ['20/20=1', '81-28=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[20, 28, 20, 81], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [20, 20, 53] Generated Node #0,0: 54:[20, 20, 53] Operation: 81-28=53 Exploring Operation: 20/20=1, Resulting Numbers: [28, 81, 1] Generated Node #0,1: 54:[28, 81, 1] Operation: 20/20=1 Exploring Operation: 28-20=8, Resulting Numbers: [20, 81, 8] Generated Node #0,2: 54:[20, 81, 8] Operation: 28-20=8 Exploring Operation: 81-20=61, Resulting Numbers: [28, 20, 61] Generated Node #0,3: 54:[28, 20, 61] Operation: 81-20=61 Exploring Operation: 81-20=61, Resulting Numbers: [20, 28, 61] Generated Node #0,4: 54:[20, 28, 61] Operation: 81-20=61 Moving to Node #0,0 Current State: 54:[20, 20, 53], Operations: ['81-28=53'] Exploring Operation: 20/20=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 54:[53, 1] Operation: 20/20=1 Exploring Operation: 20-20=0, Resulting Numbers: [53, 0] Generated Node #0,0,1: 54:[53, 0] Operation: 20-20=0 Exploring Operation: 53-20=33, Resulting Numbers: [20, 33] Generated Node #0,0,2: 54:[20, 33] Operation: 53-20=33 Exploring Operation: 53-20=33, Resulting Numbers: [20, 33] Generated Node #0,0,3: 54:[20, 33] Operation: 53-20=33 Exploring Operation: 20+20=40, Resulting Numbers: [53, 40] Generated Node #0,0,4: 54:[53, 40] Operation: 20+20=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[53, 1], Operations: ['81-28=53', '20/20=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[20, 28, 20, 81], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [20, 20, 53] Generated Node #0,0: 54:[20, 20, 53] Operation: 81-28=53 Moving to Node #0,0 Current State: 54:[20, 20, 53], Operations: ['81-28=53'] Exploring Operation: 20/20=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 54:[53, 1] Operation: 20/20=1 Moving to Node #0,0,0 Current State: 54:[53, 1], Operations: ['81-28=53', '20/20=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 41, 3, 32, 94 ]
91
[ "41-32=9", "9/3=3", "94-3=91" ]
Current State: 91:[41, 3, 32, 94], Operations: [] Exploring Operation: 41-32=9, Resulting Numbers: [3, 94, 9] Generated Node #2: [3, 94, 9] from Operation: 41-32=9 Current State: 91:[3, 94, 9], Operations: ['41-32=9'] Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 9/3=3 Current State: 91:[94, 3], Operations: ['41-32=9', '9/3=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[41, 3, 32, 94], Operations: [] Exploring Operation: 41-3=38, Resulting Numbers: [32, 94, 38] Generated Node #0,0: 91:[32, 94, 38] Operation: 41-3=38 Exploring Operation: 41+32=73, Resulting Numbers: [3, 94, 73] Generated Node #0,1: 91:[3, 94, 73] Operation: 41+32=73 Exploring Operation: 3*32=96, Resulting Numbers: [41, 94, 96] Generated Node #0,2: 91:[41, 94, 96] Operation: 3*32=96 Exploring Operation: 41-32=9, Resulting Numbers: [3, 94, 9] Generated Node #0,3: 91:[3, 94, 9] Operation: 41-32=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[3, 94, 9], Operations: ['41-32=9'] Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #0,3,0: 91:[94, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [94, 6] Generated Node #0,3,1: 91:[94, 6] Operation: 9-3=6 Exploring Operation: 3+9=12, Resulting Numbers: [94, 12] Generated Node #0,3,2: 91:[94, 12] Operation: 3+9=12 Exploring Operation: 94-3=91, Resulting Numbers: [9, 91] Generated Node #0,3,3: 91:[9, 91] Operation: 94-3=91 Moving to Node #0,3,3 Current State: 91:[9, 91], Operations: ['41-32=9', '94-3=91'] Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,91 unequal: No Solution Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[94, 12], Operations: ['41-32=9', '3+9=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,91 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,91 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[94, 6], Operations: ['41-32=9', '9-3=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,91 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[94, 3], Operations: ['41-32=9', '9/3=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,91 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[41, 3, 32, 94], Operations: [] Exploring Operation: 41-32=9, Resulting Numbers: [3, 94, 9] Generated Node #0,3: 91:[3, 94, 9] Operation: 41-32=9 Moving to Node #0,3 Current State: 91:[3, 94, 9], Operations: ['41-32=9'] Exploring Operation: 9/3=3, Resulting Numbers: [94, 3] Generated Node #0,3,0: 91:[94, 3] Operation: 9/3=3 Moving to Node #0,3,0 Current State: 91:[94, 3], Operations: ['41-32=9', '9/3=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 75, 84, 9, 22 ]
87
[ "75-9=66", "66/22=3", "84+3=87" ]
Current State: 87:[75, 84, 9, 22], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [84, 22, 66] Generated Node #2: [84, 22, 66] from Operation: 75-9=66 Current State: 87:[84, 22, 66], Operations: ['75-9=66'] Exploring Operation: 66/22=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 66/22=3 Current State: 87:[84, 3], Operations: ['75-9=66', '66/22=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[75, 84, 9, 22], Operations: [] Exploring Operation: 75+9=84, Resulting Numbers: [84, 22, 84] Generated Node #0,0: 87:[84, 22, 84] Operation: 75+9=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[84, 22, 84], Operations: ['75+9=84'] Exploring Operation: 84/84=1, Resulting Numbers: [22, 1] Generated Node #0,0,0: 87:[22, 1] Operation: 84/84=1 Moving to Node #0,0,0 Current State: 87:[22, 1], Operations: ['75+9=84', '84/84=1'] Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,87 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
[ 38, 53, 99, 36 ]
44
[ "38+53=91", "99+36=135", "135-91=44" ]
Current State: 44:[38, 53, 99, 36], Operations: [] Exploring Operation: 38+53=91, Resulting Numbers: [99, 36, 91] Generated Node #2: [99, 36, 91] from Operation: 38+53=91 Current State: 44:[99, 36, 91], Operations: ['38+53=91'] Exploring Operation: 99+36=135, Resulting Numbers: [91, 135] Generated Node #3: [91, 135] from Operation: 99+36=135 Current State: 44:[91, 135], Operations: ['38+53=91', '99+36=135'] Exploring Operation: 135-91=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[38, 53, 99, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [53, 99, 2] Generated Node #0,0: 44:[53, 99, 2] Operation: 38-36=2 Exploring Operation: 99-38=61, Resulting Numbers: [53, 36, 61] Generated Node #0,1: 44:[53, 36, 61] Operation: 99-38=61 Exploring Operation: 99-36=63, Resulting Numbers: [38, 53, 63] Generated Node #0,2: 44:[38, 53, 63] Operation: 99-36=63 Exploring Operation: 99-53=46, Resulting Numbers: [38, 36, 46] Generated Node #0,3: 44:[38, 36, 46] Operation: 99-53=46 Moving to Node #0,3 Current State: 44:[38, 36, 46], Operations: ['99-53=46'] Exploring Operation: 38+36=74, Resulting Numbers: [46, 74] Generated Node #0,3,0: 44:[46, 74] Operation: 38+36=74 Exploring Operation: 38-36=2, Resulting Numbers: [46, 2] Generated Node #0,3,1: 44:[46, 2] Operation: 38-36=2 Exploring Operation: 46-38=8, Resulting Numbers: [36, 8] Generated Node #0,3,2: 44:[36, 8] Operation: 46-38=8 Exploring Operation: 46-36=10, Resulting Numbers: [38, 10] Generated Node #0,3,3: 44:[38, 10] Operation: 46-36=10 Moving to Node #0,2 Current State: 44:[38, 53, 63], Operations: ['99-36=63'] Exploring Operation: 63-53=10, Resulting Numbers: [38, 10] Generated Node #0,2,0: 44:[38, 10] Operation: 63-53=10 Exploring Operation: 63-38=25, Resulting Numbers: [53, 25] Generated Node #0,2,1: 44:[53, 25] Operation: 63-38=25 Exploring Operation: 38+53=91, Resulting Numbers: [63, 91] Generated Node #0,2,2: 44:[63, 91] Operation: 38+53=91 Exploring Operation: 53-38=15, Resulting Numbers: [63, 15] Generated Node #0,2,3: 44:[63, 15] Operation: 53-38=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[38, 10], Operations: ['99-36=63', '63-53=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,44 unequal: No Solution No 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: 44:[53, 25], Operations: ['99-36=63', '63-38=25'] Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,44 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,44 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,44 unequal: No Solution No 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: 44:[63, 15], Operations: ['99-36=63', '53-38=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,44 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,44 unequal: No Solution No 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: 44:[63, 91], Operations: ['99-36=63', '38+53=91'] Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 63*91=5733, Resulting Numbers: [5733] 5733,44 unequal: No Solution Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,44 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: 44:[53, 36, 61], Operations: ['99-38=61'] Exploring Operation: 53+36=89, Resulting Numbers: [61, 89] Generated Node #0,1,0: 44:[61, 89] Operation: 53+36=89 Exploring Operation: 53-36=17, Resulting Numbers: [61, 17] Generated Node #0,1,1: 44:[61, 17] Operation: 53-36=17 Exploring Operation: 61-36=25, Resulting Numbers: [53, 25] Generated Node #0,1,2: 44:[53, 25] Operation: 61-36=25 Exploring Operation: 61-53=8, Resulting Numbers: [36, 8] Generated Node #0,1,3: 44:[36, 8] Operation: 61-53=8 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[36, 8], Operations: ['99-38=61', '61-53=8'] Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,44 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[38, 53, 99, 36], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [53, 36, 61] Generated Node #0,1: 44:[53, 36, 61] Operation: 99-38=61 Moving to Node #0,1 Current State: 44:[53, 36, 61], Operations: ['99-38=61'] Exploring Operation: 61-53=8, Resulting Numbers: [36, 8] Generated Node #0,1,3: 44:[36, 8] Operation: 61-53=8 Moving to Node #0,1,3 Current State: 44:[36, 8], Operations: ['99-38=61', '61-53=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 75, 43, 7, 65 ]
46
[ "75+43=118", "7+65=72", "118-72=46" ]
Current State: 46:[75, 43, 7, 65], Operations: [] Exploring Operation: 75+43=118, Resulting Numbers: [7, 65, 118] Generated Node #2: [7, 65, 118] from Operation: 75+43=118 Current State: 46:[7, 65, 118], Operations: ['75+43=118'] Exploring Operation: 7+65=72, Resulting Numbers: [118, 72] Generated Node #3: [118, 72] from Operation: 7+65=72 Current State: 46:[118, 72], Operations: ['75+43=118', '7+65=72'] Exploring Operation: 118-72=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[75, 43, 7, 65], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [75, 7, 22] Generated Node #0,0: 46:[75, 7, 22] Operation: 65-43=22 Exploring Operation: 75-7=68, Resulting Numbers: [43, 65, 68] Generated Node #0,1: 46:[43, 65, 68] Operation: 75-7=68 Exploring Operation: 75-43=32, Resulting Numbers: [7, 65, 32] Generated Node #0,2: 46:[7, 65, 32] Operation: 75-43=32 Exploring Operation: 65-7=58, Resulting Numbers: [75, 43, 58] Generated Node #0,3: 46:[75, 43, 58] Operation: 65-7=58 Exploring Operation: 75-65=10, Resulting Numbers: [43, 7, 10] Generated Node #0,4: 46:[43, 7, 10] Operation: 75-65=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[43, 7, 10], Operations: ['75-65=10'] Exploring Operation: 43-10=33, Resulting Numbers: [7, 33] Generated Node #0,4,0: 46:[7, 33] Operation: 43-10=33 Exploring Operation: 7+10=17, Resulting Numbers: [43, 17] Generated Node #0,4,1: 46:[43, 17] Operation: 7+10=17 Exploring Operation: 43+10=53, Resulting Numbers: [7, 53] Generated Node #0,4,2: 46:[7, 53] Operation: 43+10=53 Exploring Operation: 10-7=3, Resulting Numbers: [43, 3] Generated Node #0,4,3: 46:[43, 3] Operation: 10-7=3 Exploring Operation: 43+7=50, Resulting Numbers: [10, 50] Generated Node #0,4,4: 46:[10, 50] Operation: 43+7=50 Moving to Node #0,4,3 Current State: 46:[43, 3], Operations: ['75-65=10', '10-7=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[75, 43, 7, 65], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [43, 7, 10] Generated Node #0,4: 46:[43, 7, 10] Operation: 75-65=10 Moving to Node #0,4 Current State: 46:[43, 7, 10], Operations: ['75-65=10'] Exploring Operation: 10-7=3, Resulting Numbers: [43, 3] Generated Node #0,4,3: 46:[43, 3] Operation: 10-7=3 Moving to Node #0,4,3 Current State: 46:[43, 3], Operations: ['75-65=10', '10-7=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 35, 38, 63, 2 ]
48
[ "63-35=28", "38*2=76", "76-28=48" ]
Current State: 48:[35, 38, 63, 2], Operations: [] Exploring Operation: 63-35=28, Resulting Numbers: [38, 2, 28] Generated Node #2: [38, 2, 28] from Operation: 63-35=28 Current State: 48:[38, 2, 28], Operations: ['63-35=28'] Exploring Operation: 38*2=76, Resulting Numbers: [28, 76] Generated Node #3: [28, 76] from Operation: 38*2=76 Current State: 48:[28, 76], Operations: ['63-35=28', '38*2=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[35, 38, 63, 2], Operations: [] Exploring Operation: 63-35=28, Resulting Numbers: [38, 2, 28] Generated Node #0,0: 48:[38, 2, 28] Operation: 63-35=28 Exploring Operation: 63-38=25, Resulting Numbers: [35, 2, 25] Generated Node #0,1: 48:[35, 2, 25] Operation: 63-38=25 Moving to Node #0,1 Current State: 48:[35, 2, 25], Operations: ['63-38=25'] Exploring Operation: 35-25=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 48:[2, 10] Operation: 35-25=10 Exploring Operation: 35-2=33, Resulting Numbers: [25, 33] Generated Node #0,1,1: 48:[25, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[2, 10], Operations: ['63-38=25', '35-25=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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,1,1 Current State: 48:[25, 33], Operations: ['63-38=25', '35-2=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,48 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: 48:[38, 2, 28], Operations: ['63-35=28'] Exploring Operation: 38-28=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 48:[2, 10] Operation: 38-28=10 Exploring Operation: 38/2=19, Resulting Numbers: [28, 19] Generated Node #0,0,1: 48:[28, 19] Operation: 38/2=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[2, 10], Operations: ['63-35=28', '38-28=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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:[28, 19], Operations: ['63-35=28', '38/2=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,48 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
[ 24, 25, 10, 95 ]
84
[ "25-24=1", "95-10=85", "85-1=84" ]
Current State: 84:[24, 25, 10, 95], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [10, 95, 1] Generated Node #2: [10, 95, 1] from Operation: 25-24=1 Current State: 84:[10, 95, 1], Operations: ['25-24=1'] Exploring Operation: 95-10=85, Resulting Numbers: [1, 85] Generated Node #3: [1, 85] from Operation: 95-10=85 Current State: 84:[1, 85], Operations: ['25-24=1', '95-10=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 25, 10, 95], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [10, 95, 1] Generated Node #0,0: 84:[10, 95, 1] Operation: 25-24=1 Exploring Operation: 95-10=85, Resulting Numbers: [24, 25, 85] Generated Node #0,1: 84:[24, 25, 85] Operation: 95-10=85 Exploring Operation: 24-10=14, Resulting Numbers: [25, 95, 14] Generated Node #0,2: 84:[25, 95, 14] Operation: 24-10=14 Moving to Node #0,1 Current State: 84:[24, 25, 85], Operations: ['95-10=85'] Exploring Operation: 85-25=60, Resulting Numbers: [24, 60] Generated Node #0,1,0: 84:[24, 60] Operation: 85-25=60 Exploring Operation: 24+25=49, Resulting Numbers: [85, 49] Generated Node #0,1,1: 84:[85, 49] Operation: 24+25=49 Exploring Operation: 25-24=1, Resulting Numbers: [85, 1] Generated Node #0,1,2: 84:[85, 1] Operation: 25-24=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[85, 1], Operations: ['95-10=85', '25-24=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[24, 25, 10, 95], Operations: [] Exploring Operation: 95-10=85, Resulting Numbers: [24, 25, 85] Generated Node #0,1: 84:[24, 25, 85] Operation: 95-10=85 Moving to Node #0,1 Current State: 84:[24, 25, 85], Operations: ['95-10=85'] Exploring Operation: 25-24=1, Resulting Numbers: [85, 1] Generated Node #0,1,2: 84:[85, 1] Operation: 25-24=1 Moving to Node #0,1,2 Current State: 84:[85, 1], Operations: ['95-10=85', '25-24=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 95, 32, 52, 37 ]
26
[ "95-32=63", "52+37=89", "89-63=26" ]
Current State: 26:[95, 32, 52, 37], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [52, 37, 63] Generated Node #2: [52, 37, 63] from Operation: 95-32=63 Current State: 26:[52, 37, 63], Operations: ['95-32=63'] Exploring Operation: 52+37=89, Resulting Numbers: [63, 89] Generated Node #3: [63, 89] from Operation: 52+37=89 Current State: 26:[63, 89], Operations: ['95-32=63', '52+37=89'] Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[95, 32, 52, 37], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [32, 37, 43] Generated Node #0,0: 26:[32, 37, 43] Operation: 95-52=43 Exploring Operation: 95-37=58, Resulting Numbers: [32, 52, 58] Generated Node #0,1: 26:[32, 52, 58] Operation: 95-37=58 Exploring Operation: 95-32=63, Resulting Numbers: [52, 37, 63] Generated Node #0,2: 26:[52, 37, 63] Operation: 95-32=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[32, 37, 43], Operations: ['95-52=43'] Exploring Operation: 43-32=11, Resulting Numbers: [37, 11] Generated Node #0,0,0: 26:[37, 11] Operation: 43-32=11 Exploring Operation: 43-37=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 26:[32, 6] Operation: 43-37=6 Exploring Operation: 37-32=5, Resulting Numbers: [43, 5] Generated Node #0,0,2: 26:[43, 5] Operation: 37-32=5 Moving to Node #0,0,1 Current State: 26:[32, 6], Operations: ['95-52=43', '43-37=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,26 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[95, 32, 52, 37], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [32, 37, 43] Generated Node #0,0: 26:[32, 37, 43] Operation: 95-52=43 Moving to Node #0,0 Current State: 26:[32, 37, 43], Operations: ['95-52=43'] Exploring Operation: 43-37=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 26:[32, 6] Operation: 43-37=6 Moving to Node #0,0,1 Current State: 26:[32, 6], Operations: ['95-52=43', '43-37=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 63, 51, 87, 98 ]
71
[ "63+51=114", "87+98=185", "185-114=71" ]
Current State: 71:[63, 51, 87, 98], Operations: [] Exploring Operation: 63+51=114, Resulting Numbers: [87, 98, 114] Generated Node #2: [87, 98, 114] from Operation: 63+51=114 Current State: 71:[87, 98, 114], Operations: ['63+51=114'] Exploring Operation: 87+98=185, Resulting Numbers: [114, 185] Generated Node #3: [114, 185] from Operation: 87+98=185 Current State: 71:[114, 185], Operations: ['63+51=114', '87+98=185'] Exploring Operation: 185-114=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[63, 51, 87, 98], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [51, 87, 35] Generated Node #0,0: 71:[51, 87, 35] Operation: 98-63=35 Exploring Operation: 87-51=36, Resulting Numbers: [63, 98, 36] Generated Node #0,1: 71:[63, 98, 36] Operation: 87-51=36 Exploring Operation: 63+51=114, Resulting Numbers: [87, 98, 114] Generated Node #0,2: 71:[87, 98, 114] Operation: 63+51=114 Exploring Operation: 98-51=47, Resulting Numbers: [63, 87, 47] Generated Node #0,3: 71:[63, 87, 47] Operation: 98-51=47 Moving to Node #0,3 Current State: 71:[63, 87, 47], Operations: ['98-51=47'] Exploring Operation: 87-63=24, Resulting Numbers: [47, 24] Generated Node #0,3,0: 71:[47, 24] Operation: 87-63=24 Exploring Operation: 63-47=16, Resulting Numbers: [87, 16] Generated Node #0,3,1: 71:[87, 16] Operation: 63-47=16 Exploring Operation: 63+47=110, Resulting Numbers: [87, 110] Generated Node #0,3,2: 71:[87, 110] Operation: 63+47=110 Exploring Operation: 87-47=40, Resulting Numbers: [63, 40] Generated Node #0,3,3: 71:[63, 40] Operation: 87-47=40 Moving to Node #0,1 Current State: 71:[63, 98, 36], Operations: ['87-51=36'] Exploring Operation: 63+36=99, Resulting Numbers: [98, 99] Generated Node #0,1,0: 71:[98, 99] Operation: 63+36=99 Exploring Operation: 63-36=27, Resulting Numbers: [98, 27] Generated Node #0,1,1: 71:[98, 27] Operation: 63-36=27 Exploring Operation: 98-63=35, Resulting Numbers: [36, 35] Generated Node #0,1,2: 71:[36, 35] Operation: 98-63=35 Exploring Operation: 98-36=62, Resulting Numbers: [63, 62] Generated Node #0,1,3: 71:[63, 62] Operation: 98-36=62 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[63, 62], Operations: ['87-51=36', '98-36=62'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,71 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,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:[98, 99], Operations: ['87-51=36', '63+36=99'] Exploring Operation: 98*99=9702, Resulting Numbers: [9702] 9702,71 unequal: No Solution Exploring Operation: 98+99=197, Resulting Numbers: [197] 197,71 unequal: No Solution Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,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:[98, 27], Operations: ['87-51=36', '63-36=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[63, 51, 87, 98], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [63, 98, 36] Generated Node #0,1: 71:[63, 98, 36] Operation: 87-51=36 Moving to Node #0,1 Current State: 71:[63, 98, 36], Operations: ['87-51=36'] Exploring Operation: 63-36=27, Resulting Numbers: [98, 27] Generated Node #0,1,1: 71:[98, 27] Operation: 63-36=27 Moving to Node #0,1,1 Current State: 71:[98, 27], Operations: ['87-51=36', '63-36=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 3, 65, 91, 65 ]
94
[ "3+65=68", "91-65=26", "68+26=94" ]
Current State: 94:[3, 65, 91, 65], Operations: [] Exploring Operation: 3+65=68, Resulting Numbers: [91, 68] Generated Node #2: [91, 68] from Operation: 3+65=68 Current State: 94:[91, 68], Operations: ['3+65=68'] Exploring Operation: 91-65=26, Resulting Numbers: [68, 26] Generated Node #3: [68, 26] from Operation: 91-65=26 Current State: 94:[68, 26], Operations: ['3+65=68', '91-65=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[3, 65, 91, 65], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [3, 91, 0] Generated Node #0,0: 94:[3, 91, 0] Operation: 65-65=0 Exploring Operation: 65-3=62, Resulting Numbers: [91, 65, 62] Generated Node #0,1: 94:[91, 65, 62] Operation: 65-3=62 Exploring Operation: 65/65=1, Resulting Numbers: [3, 91, 1] Generated Node #0,2: 94:[3, 91, 1] Operation: 65/65=1 Moving to Node #0,2 Current State: 94:[3, 91, 1], Operations: ['65/65=1'] Exploring Operation: 3+91=94, Resulting Numbers: [1, 94] Generated Node #0,2,0: 94:[1, 94] Operation: 3+91=94 Exploring Operation: 3-1=2, Resulting Numbers: [91, 2] Generated Node #0,2,1: 94:[91, 2] Operation: 3-1=2 Exploring Operation: 91+1=92, Resulting Numbers: [3, 92] Generated Node #0,2,2: 94:[3, 92] Operation: 91+1=92 Moving to Node #0,0 Current State: 94:[3, 91, 0], Operations: ['65-65=0'] Exploring Operation: 91*0=0, Resulting Numbers: [3, 0] Generated Node #0,0,0: 94:[3, 0] Operation: 91*0=0 Exploring Operation: 3+91=94, Resulting Numbers: [0, 94] Generated Node #0,0,1: 94:[0, 94] Operation: 3+91=94 Exploring Operation: 3+0=3, Resulting Numbers: [91, 3] Generated Node #0,0,2: 94:[91, 3] Operation: 3+0=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[0, 94], Operations: ['65-65=0', '3+91=94'] Exploring Operation: 0+94=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[3, 65, 91, 65], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [3, 91, 0] Generated Node #0,0: 94:[3, 91, 0] Operation: 65-65=0 Moving to Node #0,0 Current State: 94:[3, 91, 0], Operations: ['65-65=0'] Exploring Operation: 3+91=94, Resulting Numbers: [0, 94] Generated Node #0,0,1: 94:[0, 94] Operation: 3+91=94 Moving to Node #0,0,1 Current State: 94:[0, 94], Operations: ['65-65=0', '3+91=94'] Exploring Operation: 0+94=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 35, 59, 81, 17 ]
21
[ "59+81=140", "140/35=4", "17+4=21" ]
Current State: 21:[35, 59, 81, 17], Operations: [] Exploring Operation: 59+81=140, Resulting Numbers: [35, 17, 140] Generated Node #2: [35, 17, 140] from Operation: 59+81=140 Current State: 21:[35, 17, 140], Operations: ['59+81=140'] Exploring Operation: 140/35=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 140/35=4 Current State: 21:[17, 4], Operations: ['59+81=140', '140/35=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 59, 81, 17], Operations: [] Exploring Operation: 59-17=42, Resulting Numbers: [35, 81, 42] Generated Node #0,0: 21:[35, 81, 42] Operation: 59-17=42 Exploring Operation: 81-35=46, Resulting Numbers: [59, 17, 46] Generated Node #0,1: 21:[59, 17, 46] Operation: 81-35=46 Exploring Operation: 81-59=22, Resulting Numbers: [35, 17, 22] Generated Node #0,2: 21:[35, 17, 22] Operation: 81-59=22 Exploring Operation: 59-35=24, Resulting Numbers: [81, 17, 24] Generated Node #0,3: 21:[81, 17, 24] Operation: 59-35=24 Moving to Node #0,2 Current State: 21:[35, 17, 22], Operations: ['81-59=22'] Exploring Operation: 35-17=18, Resulting Numbers: [22, 18] Generated Node #0,2,0: 21:[22, 18] Operation: 35-17=18 Exploring Operation: 35+17=52, Resulting Numbers: [22, 52] Generated Node #0,2,1: 21:[22, 52] Operation: 35+17=52 Exploring Operation: 22-17=5, Resulting Numbers: [35, 5] Generated Node #0,2,2: 21:[35, 5] Operation: 22-17=5 Exploring Operation: 35-22=13, Resulting Numbers: [17, 13] Generated Node #0,2,3: 21:[17, 13] Operation: 35-22=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[22, 18], Operations: ['81-59=22', '35-17=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,21 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,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:[17, 13], Operations: ['81-59=22', '35-22=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,21 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,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:[35, 5], Operations: ['81-59=22', '22-17=5'] Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,21 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,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:[22, 52], Operations: ['81-59=22', '35+17=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,21 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,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:[81, 17, 24], Operations: ['59-35=24'] Exploring Operation: 81-24=57, Resulting Numbers: [17, 57] Generated Node #0,3,0: 21:[17, 57] Operation: 81-24=57 Exploring Operation: 24-17=7, Resulting Numbers: [81, 7] Generated Node #0,3,1: 21:[81, 7] Operation: 24-17=7 Exploring Operation: 81+17=98, Resulting Numbers: [24, 98] Generated Node #0,3,2: 21:[24, 98] Operation: 81+17=98 Exploring Operation: 81-17=64, Resulting Numbers: [24, 64] Generated Node #0,3,3: 21:[24, 64] Operation: 81-17=64 Moving to Node #0,1 Current State: 21:[59, 17, 46], Operations: ['81-35=46'] Exploring Operation: 59-46=13, Resulting Numbers: [17, 13] Generated Node #0,1,0: 21:[17, 13] Operation: 59-46=13 Exploring Operation: 46-17=29, Resulting Numbers: [59, 29] Generated Node #0,1,1: 21:[59, 29] Operation: 46-17=29 Exploring Operation: 59+17=76, Resulting Numbers: [46, 76] Generated Node #0,1,2: 21:[46, 76] Operation: 59+17=76 Exploring Operation: 59-17=42, Resulting Numbers: [46, 42] Generated Node #0,1,3: 21:[46, 42] Operation: 59-17=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[17, 13], Operations: ['81-35=46', '59-46=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[59, 29], Operations: ['81-35=46', '46-17=29'] Exploring Operation: 59*29=1711, Resulting Numbers: [1711] 1711,21 unequal: No Solution Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,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:[46, 42], Operations: ['81-35=46', '59-17=42'] Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,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:[46, 76], Operations: ['81-35=46', '59+17=76'] Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,21 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,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:[35, 81, 42], Operations: ['59-17=42'] Exploring Operation: 35+81=116, Resulting Numbers: [42, 116] Generated Node #0,0,0: 21:[42, 116] Operation: 35+81=116 Exploring Operation: 42-35=7, Resulting Numbers: [81, 7] Generated Node #0,0,1: 21:[81, 7] Operation: 42-35=7 Exploring Operation: 81-42=39, Resulting Numbers: [35, 39] Generated Node #0,0,2: 21:[35, 39] Operation: 81-42=39 Exploring Operation: 81-35=46, Resulting Numbers: [42, 46] Generated Node #0,0,3: 21:[42, 46] Operation: 81-35=46 Moving to Node #0,0,2 Current State: 21:[35, 39], Operations: ['59-17=42', '81-42=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[17, 57], Operations: ['59-35=24', '81-24=57'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[42, 46], Operations: ['59-17=42', '81-35=46'] Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,21 unequal: No Solution Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[24, 64], Operations: ['59-35=24', '81-17=64'] Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[81, 7], Operations: ['59-35=24', '24-17=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,21 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[81, 7], Operations: ['59-17=42', '42-35=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[24, 98], Operations: ['59-35=24', '81+17=98'] Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 24+98=122, Resulting Numbers: [122] 122,21 unequal: No Solution Exploring Operation: 24*98=2352, Resulting Numbers: [2352] 2352,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[42, 116], Operations: ['59-17=42', '35+81=116'] Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,21 unequal: No Solution Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,21 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 7, 66, 63, 30 ]
45
[ "63/7=9", "66-30=36", "9+36=45" ]
Current State: 45:[7, 66, 63, 30], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [66, 30, 9] Generated Node #2: [66, 30, 9] from Operation: 63/7=9 Current State: 45:[66, 30, 9], Operations: ['63/7=9'] Exploring Operation: 66-30=36, Resulting Numbers: [9, 36] Generated Node #3: [9, 36] from Operation: 66-30=36 Current State: 45:[9, 36], Operations: ['63/7=9', '66-30=36'] Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[7, 66, 63, 30], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [7, 63, 36] Generated Node #0,0: 45:[7, 63, 36] Operation: 66-30=36 Exploring Operation: 66-63=3, Resulting Numbers: [7, 30, 3] Generated Node #0,1: 45:[7, 30, 3] Operation: 66-63=3 Moving to Node #0,1 Current State: 45:[7, 30, 3], Operations: ['66-63=3'] Exploring Operation: 7+30=37, Resulting Numbers: [3, 37] Generated Node #0,1,0: 45:[3, 37] Operation: 7+30=37 Exploring Operation: 30/3=10, Resulting Numbers: [7, 10] Generated Node #0,1,1: 45:[7, 10] Operation: 30/3=10 Moving to Node #0,0 Current State: 45:[7, 63, 36], Operations: ['66-30=36'] Exploring Operation: 63-36=27, Resulting Numbers: [7, 27] Generated Node #0,0,0: 45:[7, 27] Operation: 63-36=27 Exploring Operation: 63/7=9, Resulting Numbers: [36, 9] Generated Node #0,0,1: 45:[36, 9] Operation: 63/7=9 Moving to Node #0,1,1 Current State: 45:[7, 10], Operations: ['66-63=3', '30/3=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[3, 37], Operations: ['66-63=3', '7+30=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[36, 9], Operations: ['66-30=36', '63/7=9'] Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[7, 66, 63, 30], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [7, 63, 36] Generated Node #0,0: 45:[7, 63, 36] Operation: 66-30=36 Moving to Node #0,0 Current State: 45:[7, 63, 36], Operations: ['66-30=36'] Exploring Operation: 63/7=9, Resulting Numbers: [36, 9] Generated Node #0,0,1: 45:[36, 9] Operation: 63/7=9 Moving to Node #0,0,1 Current State: 45:[36, 9], Operations: ['66-30=36', '63/7=9'] Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 48, 82, 29, 2 ]
61
[ "82-48=34", "29-2=27", "34+27=61" ]
Current State: 61:[48, 82, 29, 2], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [29, 2, 34] Generated Node #2: [29, 2, 34] from Operation: 82-48=34 Current State: 61:[29, 2, 34], Operations: ['82-48=34'] Exploring Operation: 29-2=27, Resulting Numbers: [34, 27] Generated Node #3: [34, 27] from Operation: 29-2=27 Current State: 61:[34, 27], Operations: ['82-48=34', '29-2=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[48, 82, 29, 2], Operations: [] Exploring Operation: 29+2=31, Resulting Numbers: [48, 82, 31] Generated Node #0,0: 61:[48, 82, 31] Operation: 29+2=31 Exploring Operation: 82/2=41, Resulting Numbers: [48, 29, 41] Generated Node #0,1: 61:[48, 29, 41] Operation: 82/2=41 Exploring Operation: 29*2=58, Resulting Numbers: [48, 82, 58] Generated Node #0,2: 61:[48, 82, 58] Operation: 29*2=58 Exploring Operation: 82-2=80, Resulting Numbers: [48, 29, 80] Generated Node #0,3: 61:[48, 29, 80] Operation: 82-2=80 Exploring Operation: 48+2=50, Resulting Numbers: [82, 29, 50] Generated Node #0,4: 61:[82, 29, 50] Operation: 48+2=50 Moving to Node #0,2 Current State: 61:[48, 82, 58], Operations: ['29*2=58'] Exploring Operation: 48+82=130, Resulting Numbers: [58, 130] Generated Node #0,2,0: 61:[58, 130] Operation: 48+82=130 Exploring Operation: 48+58=106, Resulting Numbers: [82, 106] Generated Node #0,2,1: 61:[82, 106] Operation: 48+58=106 Exploring Operation: 58-48=10, Resulting Numbers: [82, 10] Generated Node #0,2,2: 61:[82, 10] Operation: 58-48=10 Exploring Operation: 82-48=34, Resulting Numbers: [58, 34] Generated Node #0,2,3: 61:[58, 34] Operation: 82-48=34 Exploring Operation: 82-58=24, Resulting Numbers: [48, 24] Generated Node #0,2,4: 61:[48, 24] Operation: 82-58=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[58, 34], Operations: ['29*2=58', '82-48=34'] Exploring Operation: 58*34=1972, Resulting Numbers: [1972] 1972,61 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 58+34=92, Resulting Numbers: [92] 92,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[48, 24], Operations: ['29*2=58', '82-58=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 48*24=1152, Resulting Numbers: [1152] 1152,61 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[82, 106], Operations: ['29*2=58', '48+58=106'] Exploring Operation: 82*106=8692, Resulting Numbers: [8692] 8692,61 unequal: No Solution Exploring Operation: 106-82=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 82+106=188, Resulting Numbers: [188] 188,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[58, 130], Operations: ['29*2=58', '48+82=130'] Exploring Operation: 58+130=188, Resulting Numbers: [188] 188,61 unequal: No Solution Exploring Operation: 58*130=7540, Resulting Numbers: [7540] 7540,61 unequal: No Solution Exploring Operation: 130-58=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[82, 10], Operations: ['29*2=58', '58-48=10'] Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,61 unequal: No Solution Exploring Operation: 82*10=820, Resulting Numbers: [820] 820,61 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: 61:[48, 29, 80], Operations: ['82-2=80'] Exploring Operation: 80-29=51, Resulting Numbers: [48, 51] Generated Node #0,3,0: 61:[48, 51] Operation: 80-29=51 Exploring Operation: 48+29=77, Resulting Numbers: [80, 77] Generated Node #0,3,1: 61:[80, 77] Operation: 48+29=77 Exploring Operation: 80-48=32, Resulting Numbers: [29, 32] Generated Node #0,3,2: 61:[29, 32] Operation: 80-48=32 Exploring Operation: 48-29=19, Resulting Numbers: [80, 19] Generated Node #0,3,3: 61:[80, 19] Operation: 48-29=19 Exploring Operation: 29+80=109, Resulting Numbers: [48, 109] Generated Node #0,3,4: 61:[48, 109] Operation: 29+80=109 Moving to Node #0,0 Current State: 61:[48, 82, 31], Operations: ['29+2=31'] Exploring Operation: 48-31=17, Resulting Numbers: [82, 17] Generated Node #0,0,0: 61:[82, 17] Operation: 48-31=17 Exploring Operation: 82+31=113, Resulting Numbers: [48, 113] Generated Node #0,0,1: 61:[48, 113] Operation: 82+31=113 Exploring Operation: 82-31=51, Resulting Numbers: [48, 51] Generated Node #0,0,2: 61:[48, 51] Operation: 82-31=51 Exploring Operation: 82-48=34, Resulting Numbers: [31, 34] Generated Node #0,0,3: 61:[31, 34] Operation: 82-48=34 Exploring Operation: 48+31=79, Resulting Numbers: [82, 79] Generated Node #0,0,4: 61:[82, 79] Operation: 48+31=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[48, 51], Operations: ['29+2=31', '82-31=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,61 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[82, 79], Operations: ['29+2=31', '48+31=79'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,61 unequal: No Solution Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[31, 34], Operations: ['29+2=31', '82-48=34'] Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,61 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[82, 17], Operations: ['29+2=31', '48-31=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[48, 113], Operations: ['29+2=31', '82+31=113'] Exploring Operation: 48*113=5424, Resulting Numbers: [5424] 5424,61 unequal: No Solution Exploring Operation: 113-48=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 48+113=161, Resulting Numbers: [161] 161,61 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: 61:[82, 29, 50], Operations: ['48+2=50'] Exploring Operation: 82-29=53, Resulting Numbers: [50, 53] Generated Node #0,4,0: 61:[50, 53] Operation: 82-29=53 Exploring Operation: 82+29=111, Resulting Numbers: [50, 111] Generated Node #0,4,1: 61:[50, 111] Operation: 82+29=111 Exploring Operation: 82-50=32, Resulting Numbers: [29, 32] Generated Node #0,4,2: 61:[29, 32] Operation: 82-50=32 Exploring Operation: 29+50=79, Resulting Numbers: [82, 79] Generated Node #0,4,3: 61:[82, 79] Operation: 29+50=79 Exploring Operation: 50-29=21, Resulting Numbers: [82, 21] Generated Node #0,4,4: 61:[82, 21] Operation: 50-29=21 Moving to Node #0,1 Current State: 61:[48, 29, 41], Operations: ['82/2=41'] Exploring Operation: 29+41=70, Resulting Numbers: [48, 70] Generated Node #0,1,0: 61:[48, 70] Operation: 29+41=70 Exploring Operation: 48+29=77, Resulting Numbers: [41, 77] Generated Node #0,1,1: 61:[41, 77] Operation: 48+29=77 Exploring Operation: 48+41=89, Resulting Numbers: [29, 89] Generated Node #0,1,2: 61:[29, 89] Operation: 48+41=89 Exploring Operation: 41-29=12, Resulting Numbers: [48, 12] Generated Node #0,1,3: 61:[48, 12] Operation: 41-29=12 Exploring Operation: 48-29=19, Resulting Numbers: [41, 19] Generated Node #0,1,4: 61:[41, 19] Operation: 48-29=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[48, 70], Operations: ['82/2=41', '29+41=70'] Exploring Operation: 48*70=3360, Resulting Numbers: [3360] 3360,61 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 48+70=118, Resulting Numbers: [118] 118,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[41, 77], Operations: ['82/2=41', '48+29=77'] Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,61 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[29, 89], Operations: ['82/2=41', '48+41=89'] Exploring Operation: 29*89=2581, Resulting Numbers: [2581] 2581,61 unequal: No Solution Exploring Operation: 29+89=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[48, 12], Operations: ['82/2=41', '41-29=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,61 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[41, 19], Operations: ['82/2=41', '48-29=19'] Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,61 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 61:[50, 53], Operations: ['48+2=50', '82-29=53'] Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,61 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[48, 51], Operations: ['82-2=80', '80-29=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[80, 77], Operations: ['82-2=80', '48+29=77'] Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,61 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[82, 79], Operations: ['48+2=50', '29+50=79'] Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,61 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[82, 21], Operations: ['48+2=50', '50-29=21'] Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[48, 82, 29, 2], Operations: [] Exploring Operation: 48+2=50, Resulting Numbers: [82, 29, 50] Generated Node #0,4: 61:[82, 29, 50] Operation: 48+2=50 Moving to Node #0,4 Current State: 61:[82, 29, 50], Operations: ['48+2=50'] Exploring Operation: 50-29=21, Resulting Numbers: [82, 21] Generated Node #0,4,4: 61:[82, 21] Operation: 50-29=21 Moving to Node #0,4,4 Current State: 61:[82, 21], Operations: ['48+2=50', '50-29=21'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.917535
hs_5
sum_heuristic
[ 60, 65, 18, 36 ]
59
[ "65-60=5", "18+36=54", "5+54=59" ]
Current State: 59:[60, 65, 18, 36], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [18, 36, 5] Generated Node #2: [18, 36, 5] from Operation: 65-60=5 Current State: 59:[18, 36, 5], Operations: ['65-60=5'] Exploring Operation: 18+36=54, Resulting Numbers: [5, 54] Generated Node #3: [5, 54] from Operation: 18+36=54 Current State: 59:[5, 54], Operations: ['65-60=5', '18+36=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[60, 65, 18, 36], Operations: [] Exploring Operation: 18+36=54, Resulting Numbers: [60, 65, 54] Generated Node #0,0: 59:[60, 65, 54] Operation: 18+36=54 Moving to Node #0,0 Current State: 59:[60, 65, 54], Operations: ['18+36=54'] Exploring Operation: 65-54=11, Resulting Numbers: [60, 11] Generated Node #0,0,0: 59:[60, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[60, 11], Operations: ['18+36=54', '65-54=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 45, 10, 80 ]
29
[ "10+80=90", "90/45=2", "31-2=29" ]
Current State: 29:[31, 45, 10, 80], Operations: [] Exploring Operation: 10+80=90, Resulting Numbers: [31, 45, 90] Generated Node #2: [31, 45, 90] from Operation: 10+80=90 Current State: 29:[31, 45, 90], Operations: ['10+80=90'] Exploring Operation: 90/45=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 90/45=2 Current State: 29:[31, 2], Operations: ['10+80=90', '90/45=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[31, 45, 10, 80], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [31, 80, 35] Generated Node #0,0: 29:[31, 80, 35] Operation: 45-10=35 Exploring Operation: 80-10=70, Resulting Numbers: [31, 45, 70] Generated Node #0,1: 29:[31, 45, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [31, 45, 8] Generated Node #0,2: 29:[31, 45, 8] Operation: 80/10=8 Exploring Operation: 80-45=35, Resulting Numbers: [31, 10, 35] Generated Node #0,3: 29:[31, 10, 35] Operation: 80-45=35 Exploring Operation: 80-31=49, Resulting Numbers: [45, 10, 49] Generated Node #0,4: 29:[45, 10, 49] Operation: 80-31=49 Moving to Node #0,3 Current State: 29:[31, 10, 35], Operations: ['80-45=35'] Exploring Operation: 31-10=21, Resulting Numbers: [35, 21] Generated Node #0,3,0: 29:[35, 21] Operation: 31-10=21 Exploring Operation: 31+10=41, Resulting Numbers: [35, 41] Generated Node #0,3,1: 29:[35, 41] Operation: 31+10=41 Exploring Operation: 35-10=25, Resulting Numbers: [31, 25] Generated Node #0,3,2: 29:[31, 25] Operation: 35-10=25 Exploring Operation: 10+35=45, Resulting Numbers: [31, 45] Generated Node #0,3,3: 29:[31, 45] Operation: 10+35=45 Exploring Operation: 35-31=4, Resulting Numbers: [10, 4] Generated Node #0,3,4: 29:[10, 4] Operation: 35-31=4 Moving to Node #0,2 Current State: 29:[31, 45, 8], Operations: ['80/10=8'] Exploring Operation: 45+8=53, Resulting Numbers: [31, 53] Generated Node #0,2,0: 29:[31, 53] Operation: 45+8=53 Exploring Operation: 31+8=39, Resulting Numbers: [45, 39] Generated Node #0,2,1: 29:[45, 39] Operation: 31+8=39 Exploring Operation: 45-31=14, Resulting Numbers: [8, 14] Generated Node #0,2,2: 29:[8, 14] Operation: 45-31=14 Exploring Operation: 31-8=23, Resulting Numbers: [45, 23] Generated Node #0,2,3: 29:[45, 23] Operation: 31-8=23 Exploring Operation: 45-8=37, Resulting Numbers: [31, 37] Generated Node #0,2,4: 29:[31, 37] Operation: 45-8=37 Moving to Node #0,4 Current State: 29:[45, 10, 49], Operations: ['80-31=49'] Exploring Operation: 10+49=59, Resulting Numbers: [45, 59] Generated Node #0,4,0: 29:[45, 59] Operation: 10+49=59 Exploring Operation: 49-45=4, Resulting Numbers: [10, 4] Generated Node #0,4,1: 29:[10, 4] Operation: 49-45=4 Exploring Operation: 45+10=55, Resulting Numbers: [49, 55] Generated Node #0,4,2: 29:[49, 55] Operation: 45+10=55 Exploring Operation: 49-10=39, Resulting Numbers: [45, 39] Generated Node #0,4,3: 29:[45, 39] Operation: 49-10=39 Exploring Operation: 45-10=35, Resulting Numbers: [49, 35] Generated Node #0,4,4: 29:[49, 35] Operation: 45-10=35 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 29:[45, 39], Operations: ['80-31=49', '49-10=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,29 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[49, 35], Operations: ['80-31=49', '45-10=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,29 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[10, 4], Operations: ['80-31=49', '49-45=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[45, 59], Operations: ['80-31=49', '10+49=59'] Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 45+59=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 45*59=2655, Resulting Numbers: [2655] 2655,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[49, 55], Operations: ['80-31=49', '45+10=55'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[31, 80, 35], Operations: ['45-10=35'] Exploring Operation: 80-35=45, Resulting Numbers: [31, 45] Generated Node #0,0,0: 29:[31, 45] Operation: 80-35=45 Exploring Operation: 31+35=66, Resulting Numbers: [80, 66] Generated Node #0,0,1: 29:[80, 66] Operation: 31+35=66 Exploring Operation: 35-31=4, Resulting Numbers: [80, 4] Generated Node #0,0,2: 29:[80, 4] Operation: 35-31=4 Exploring Operation: 80-31=49, Resulting Numbers: [35, 49] Generated Node #0,0,3: 29:[35, 49] Operation: 80-31=49 Exploring Operation: 31+80=111, Resulting Numbers: [35, 111] Generated Node #0,0,4: 29:[35, 111] Operation: 31+80=111 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[31, 45], Operations: ['45-10=35', '80-35=45'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[35, 49], Operations: ['45-10=35', '80-31=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[80, 4], Operations: ['45-10=35', '35-31=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,29 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[80, 66], Operations: ['45-10=35', '31+35=66'] Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,29 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,29 unequal: No Solution Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 29:[35, 111], Operations: ['45-10=35', '31+80=111'] Exploring Operation: 111-35=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 35+111=146, Resulting Numbers: [146] 146,29 unequal: No Solution Exploring Operation: 35*111=3885, Resulting Numbers: [3885] 3885,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 29:[31, 45, 70], Operations: ['80-10=70'] Exploring Operation: 70-45=25, Resulting Numbers: [31, 25] Generated Node #0,1,0: 29:[31, 25] Operation: 70-45=25 Exploring Operation: 70-31=39, Resulting Numbers: [45, 39] Generated Node #0,1,1: 29:[45, 39] Operation: 70-31=39 Exploring Operation: 31+70=101, Resulting Numbers: [45, 101] Generated Node #0,1,2: 29:[45, 101] Operation: 31+70=101 Exploring Operation: 31+45=76, Resulting Numbers: [70, 76] Generated Node #0,1,3: 29:[70, 76] Operation: 31+45=76 Exploring Operation: 45-31=14, Resulting Numbers: [70, 14] Generated Node #0,1,4: 29:[70, 14] Operation: 45-31=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[31, 25], Operations: ['80-10=70', '70-45=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[45, 39], Operations: ['80-10=70', '70-31=39'] Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,29 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[70, 14], Operations: ['80-10=70', '45-31=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,29 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[45, 101], Operations: ['80-10=70', '31+70=101'] Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,29 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[70, 76], Operations: ['80-10=70', '31+45=76'] Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,29 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 29:[31, 25], Operations: ['80-45=35', '35-10=25'] Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,29 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[31, 37], Operations: ['80/10=8', '45-8=37'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,29 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[35, 21], Operations: ['80-45=35', '31-10=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[35, 41], Operations: ['80-45=35', '31+10=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[31, 45], Operations: ['80-45=35', '10+35=45'] Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[45, 23], Operations: ['80/10=8', '31-8=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,29 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[31, 53], Operations: ['80/10=8', '45+8=53'] Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 31*53=1643, Resulting Numbers: [1643] 1643,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[45, 39], Operations: ['80/10=8', '31+8=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,29 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[8, 14], Operations: ['80/10=8', '45-31=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,29 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[10, 4], Operations: ['80-45=35', '35-31=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 91, 4, 87, 46 ]
54
[ "91+4=95", "87-46=41", "95-41=54" ]
Current State: 54:[91, 4, 87, 46], Operations: [] Exploring Operation: 91+4=95, Resulting Numbers: [87, 46, 95] Generated Node #2: [87, 46, 95] from Operation: 91+4=95 Current State: 54:[87, 46, 95], Operations: ['91+4=95'] Exploring Operation: 87-46=41, Resulting Numbers: [95, 41] Generated Node #3: [95, 41] from Operation: 87-46=41 Current State: 54:[95, 41], Operations: ['91+4=95', '87-46=41'] Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[91, 4, 87, 46], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [4, 46, 4] Generated Node #0,0: 54:[4, 46, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 54:[4, 46, 4], Operations: ['91-87=4'] Exploring Operation: 4+46=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 54:[4, 50] Operation: 4+46=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[4, 50], Operations: ['91-87=4', '4+46=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[91, 4, 87, 46], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [4, 46, 4] Generated Node #0,0: 54:[4, 46, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 54:[4, 46, 4], Operations: ['91-87=4'] Exploring Operation: 4+46=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 54:[4, 50] Operation: 4+46=50 Moving to Node #0,0,0 Current State: 54:[4, 50], Operations: ['91-87=4', '4+46=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 14, 42, 97, 54 ]
46
[ "42/14=3", "97-54=43", "3+43=46" ]
Current State: 46:[14, 42, 97, 54], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [97, 54, 3] Generated Node #2: [97, 54, 3] from Operation: 42/14=3 Current State: 46:[97, 54, 3], Operations: ['42/14=3'] Exploring Operation: 97-54=43, Resulting Numbers: [3, 43] Generated Node #3: [3, 43] from Operation: 97-54=43 Current State: 46:[3, 43], Operations: ['42/14=3', '97-54=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[14, 42, 97, 54], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [14, 54, 55] Generated Node #0,0: 46:[14, 54, 55] Operation: 97-42=55 Exploring Operation: 42/14=3, Resulting Numbers: [97, 54, 3] Generated Node #0,1: 46:[97, 54, 3] Operation: 42/14=3 Exploring Operation: 54-14=40, Resulting Numbers: [42, 97, 40] Generated Node #0,2: 46:[42, 97, 40] Operation: 54-14=40 Exploring Operation: 97-14=83, Resulting Numbers: [42, 54, 83] Generated Node #0,3: 46:[42, 54, 83] Operation: 97-14=83 Exploring Operation: 97-54=43, Resulting Numbers: [14, 42, 43] Generated Node #0,4: 46:[14, 42, 43] Operation: 97-54=43 Moving to Node #0,4 Current State: 46:[14, 42, 43], Operations: ['97-54=43'] Exploring Operation: 14+42=56, Resulting Numbers: [43, 56] Generated Node #0,4,0: 46:[43, 56] Operation: 14+42=56 Exploring Operation: 42-14=28, Resulting Numbers: [43, 28] Generated Node #0,4,1: 46:[43, 28] Operation: 42-14=28 Exploring Operation: 43-42=1, Resulting Numbers: [14, 1] Generated Node #0,4,2: 46:[14, 1] Operation: 43-42=1 Exploring Operation: 43-14=29, Resulting Numbers: [42, 29] Generated Node #0,4,3: 46:[42, 29] Operation: 43-14=29 Exploring Operation: 42/14=3, Resulting Numbers: [43, 3] Generated Node #0,4,4: 46:[43, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[43, 3], Operations: ['97-54=43', '42/14=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[14, 42, 97, 54], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [14, 42, 43] Generated Node #0,4: 46:[14, 42, 43] Operation: 97-54=43 Moving to Node #0,4 Current State: 46:[14, 42, 43], Operations: ['97-54=43'] Exploring Operation: 42/14=3, Resulting Numbers: [43, 3] Generated Node #0,4,4: 46:[43, 3] Operation: 42/14=3 Moving to Node #0,4,4 Current State: 46:[43, 3], Operations: ['97-54=43', '42/14=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 59, 53, 18, 89 ]
41
[ "59+53=112", "89-18=71", "112-71=41" ]
Current State: 41:[59, 53, 18, 89], Operations: [] Exploring Operation: 59+53=112, Resulting Numbers: [18, 89, 112] Generated Node #2: [18, 89, 112] from Operation: 59+53=112 Current State: 41:[18, 89, 112], Operations: ['59+53=112'] Exploring Operation: 89-18=71, Resulting Numbers: [112, 71] Generated Node #3: [112, 71] from Operation: 89-18=71 Current State: 41:[112, 71], Operations: ['59+53=112', '89-18=71'] Exploring Operation: 112-71=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[59, 53, 18, 89], Operations: [] Exploring Operation: 59-18=41, Resulting Numbers: [53, 89, 41] Generated Node #0,0: 41:[53, 89, 41] Operation: 59-18=41 Exploring Operation: 89-59=30, Resulting Numbers: [53, 18, 30] Generated Node #0,1: 41:[53, 18, 30] Operation: 89-59=30 Exploring Operation: 89-53=36, Resulting Numbers: [59, 18, 36] Generated Node #0,2: 41:[59, 18, 36] Operation: 89-53=36 Moving to Node #0,1 Current State: 41:[53, 18, 30], Operations: ['89-59=30'] Exploring Operation: 53-18=35, Resulting Numbers: [30, 35] Generated Node #0,1,0: 41:[30, 35] Operation: 53-18=35 Exploring Operation: 18+30=48, Resulting Numbers: [53, 48] Generated Node #0,1,1: 41:[53, 48] Operation: 18+30=48 Exploring Operation: 53+18=71, Resulting Numbers: [30, 71] Generated Node #0,1,2: 41:[30, 71] Operation: 53+18=71 Moving to Node #0,2 Current State: 41:[59, 18, 36], Operations: ['89-53=36'] Exploring Operation: 18+36=54, Resulting Numbers: [59, 54] Generated Node #0,2,0: 41:[59, 54] Operation: 18+36=54 Exploring Operation: 59-18=41, Resulting Numbers: [36, 41] Generated Node #0,2,1: 41:[36, 41] Operation: 59-18=41 Exploring Operation: 59+18=77, Resulting Numbers: [36, 77] Generated Node #0,2,2: 41:[36, 77] Operation: 59+18=77 Moving to Node #0,0 Current State: 41:[53, 89, 41], Operations: ['59-18=41'] Exploring Operation: 53-41=12, Resulting Numbers: [89, 12] Generated Node #0,0,0: 41:[89, 12] Operation: 53-41=12 Exploring Operation: 89-41=48, Resulting Numbers: [53, 48] Generated Node #0,0,1: 41:[53, 48] Operation: 89-41=48 Exploring Operation: 89-53=36, Resulting Numbers: [41, 36] Generated Node #0,0,2: 41:[41, 36] Operation: 89-53=36 Moving to Node #0,2,1 Current State: 41:[36, 41], Operations: ['89-53=36', '59-18=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,41 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[41, 36], Operations: ['59-18=41', '89-53=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[30, 35], Operations: ['89-59=30', '53-18=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[53, 48], Operations: ['89-59=30', '18+30=48'] Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,41 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[53, 48], Operations: ['59-18=41', '89-41=48'] Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,41 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[59, 54], Operations: ['89-53=36', '18+36=54'] Exploring Operation: 59*54=3186, Resulting Numbers: [3186] 3186,41 unequal: No Solution Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[30, 71], Operations: ['89-59=30', '53+18=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[59, 53, 18, 89], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [53, 18, 30] Generated Node #0,1: 41:[53, 18, 30] Operation: 89-59=30 Moving to Node #0,1 Current State: 41:[53, 18, 30], Operations: ['89-59=30'] Exploring Operation: 53+18=71, Resulting Numbers: [30, 71] Generated Node #0,1,2: 41:[30, 71] Operation: 53+18=71 Moving to Node #0,1,2 Current State: 41:[30, 71], Operations: ['89-59=30', '53+18=71'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 14, 34, 11, 90 ]
15
[ "90-34=56", "56/14=4", "11+4=15" ]
Current State: 15:[14, 34, 11, 90], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [14, 11, 56] Generated Node #2: [14, 11, 56] from Operation: 90-34=56 Current State: 15:[14, 11, 56], Operations: ['90-34=56'] Exploring Operation: 56/14=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 56/14=4 Current State: 15:[11, 4], Operations: ['90-34=56', '56/14=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[14, 34, 11, 90], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [14, 11, 56] Generated Node #0,0: 15:[14, 11, 56] Operation: 90-34=56 Exploring Operation: 34-11=23, Resulting Numbers: [14, 90, 23] Generated Node #0,1: 15:[14, 90, 23] Operation: 34-11=23 Exploring Operation: 90-14=76, Resulting Numbers: [34, 11, 76] Generated Node #0,2: 15:[34, 11, 76] Operation: 90-14=76 Exploring Operation: 34-14=20, Resulting Numbers: [11, 90, 20] Generated Node #0,3: 15:[11, 90, 20] Operation: 34-14=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[14, 11, 56], Operations: ['90-34=56'] Exploring Operation: 14-11=3, Resulting Numbers: [56, 3] Generated Node #0,0,0: 15:[56, 3] Operation: 14-11=3 Exploring Operation: 56/14=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 15:[11, 4] Operation: 56/14=4 Exploring Operation: 56-11=45, Resulting Numbers: [14, 45] Generated Node #0,0,2: 15:[14, 45] Operation: 56-11=45 Exploring Operation: 56-14=42, Resulting Numbers: [11, 42] Generated Node #0,0,3: 15:[11, 42] Operation: 56-14=42 Moving to Node #0,0,1 Current State: 15:[11, 4], Operations: ['90-34=56', '56/14=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[14, 34, 11, 90], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [14, 11, 56] Generated Node #0,0: 15:[14, 11, 56] Operation: 90-34=56 Moving to Node #0,0 Current State: 15:[14, 11, 56], Operations: ['90-34=56'] Exploring Operation: 56/14=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 15:[11, 4] Operation: 56/14=4 Moving to Node #0,0,1 Current State: 15:[11, 4], Operations: ['90-34=56', '56/14=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 30, 99, 55, 14 ]
28
[ "99-30=69", "55-14=41", "69-41=28" ]
Current State: 28:[30, 99, 55, 14], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [55, 14, 69] Generated Node #2: [55, 14, 69] from Operation: 99-30=69 Current State: 28:[55, 14, 69], Operations: ['99-30=69'] Exploring Operation: 55-14=41, Resulting Numbers: [69, 41] Generated Node #3: [69, 41] from Operation: 55-14=41 Current State: 28:[69, 41], Operations: ['99-30=69', '55-14=41'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[30, 99, 55, 14], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [55, 14, 69] Generated Node #0,0: 28:[55, 14, 69] Operation: 99-30=69 Exploring Operation: 99-55=44, Resulting Numbers: [30, 14, 44] Generated Node #0,1: 28:[30, 14, 44] Operation: 99-55=44 Exploring Operation: 55-30=25, Resulting Numbers: [99, 14, 25] Generated Node #0,2: 28:[99, 14, 25] Operation: 55-30=25 Moving to Node #0,1 Current State: 28:[30, 14, 44], Operations: ['99-55=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14, 14] Generated Node #0,1,0: 28:[14, 14] Operation: 44-30=14 Exploring Operation: 44-14=30, Resulting Numbers: [30, 30] Generated Node #0,1,1: 28:[30, 30] Operation: 44-14=30 Exploring Operation: 30-14=16, Resulting Numbers: [44, 16] Generated Node #0,1,2: 28:[44, 16] Operation: 30-14=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[14, 14], Operations: ['99-55=44', '44-30=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[30, 99, 55, 14], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [30, 14, 44] Generated Node #0,1: 28:[30, 14, 44] Operation: 99-55=44 Moving to Node #0,1 Current State: 28:[30, 14, 44], Operations: ['99-55=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14, 14] Generated Node #0,1,0: 28:[14, 14] Operation: 44-30=14 Moving to Node #0,1,0 Current State: 28:[14, 14], Operations: ['99-55=44', '44-30=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 31, 62, 78, 55 ]
70
[ "31+62=93", "78-55=23", "93-23=70" ]
Current State: 70:[31, 62, 78, 55], Operations: [] Exploring Operation: 31+62=93, Resulting Numbers: [78, 55, 93] Generated Node #2: [78, 55, 93] from Operation: 31+62=93 Current State: 70:[78, 55, 93], Operations: ['31+62=93'] Exploring Operation: 78-55=23, Resulting Numbers: [93, 23] Generated Node #3: [93, 23] from Operation: 78-55=23 Current State: 70:[93, 23], Operations: ['31+62=93', '78-55=23'] Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[31, 62, 78, 55], Operations: [] Exploring Operation: 78-62=16, Resulting Numbers: [31, 55, 16] Generated Node #0,0: 70:[31, 55, 16] Operation: 78-62=16 Exploring Operation: 78-55=23, Resulting Numbers: [31, 62, 23] Generated Node #0,1: 70:[31, 62, 23] Operation: 78-55=23 Exploring Operation: 62-55=7, Resulting Numbers: [31, 78, 7] Generated Node #0,2: 70:[31, 78, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[31, 78, 7], Operations: ['62-55=7'] Exploring Operation: 78-7=71, Resulting Numbers: [31, 71] Generated Node #0,2,0: 70:[31, 71] Operation: 78-7=71 Exploring Operation: 78-31=47, Resulting Numbers: [7, 47] Generated Node #0,2,1: 70:[7, 47] Operation: 78-31=47 Exploring Operation: 31+7=38, Resulting Numbers: [78, 38] Generated Node #0,2,2: 70:[78, 38] Operation: 31+7=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[31, 71], Operations: ['62-55=7', '78-7=71'] Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,70 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,70 unequal: No Solution No 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: 70:[78, 38], Operations: ['62-55=7', '31+7=38'] Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,70 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,70 unequal: No Solution No 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: 70:[7, 47], Operations: ['62-55=7', '78-31=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,70 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,70 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: 70:[31, 55, 16], Operations: ['78-62=16'] Exploring Operation: 55-31=24, Resulting Numbers: [16, 24] Generated Node #0,0,0: 70:[16, 24] Operation: 55-31=24 Exploring Operation: 55-16=39, Resulting Numbers: [31, 39] Generated Node #0,0,1: 70:[31, 39] Operation: 55-16=39 Exploring Operation: 55+16=71, Resulting Numbers: [31, 71] Generated Node #0,0,2: 70:[31, 71] Operation: 55+16=71 Moving to Node #0,0,2 Current State: 70:[31, 71], Operations: ['78-62=16', '55+16=71'] Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,70 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[31, 39], Operations: ['78-62=16', '55-16=39'] Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[31, 62, 78, 55], Operations: [] Exploring Operation: 78-62=16, Resulting Numbers: [31, 55, 16] Generated Node #0,0: 70:[31, 55, 16] Operation: 78-62=16 Moving to Node #0,0 Current State: 70:[31, 55, 16], Operations: ['78-62=16'] Exploring Operation: 55-16=39, Resulting Numbers: [31, 39] Generated Node #0,0,1: 70:[31, 39] Operation: 55-16=39 Moving to Node #0,0,1 Current State: 70:[31, 39], Operations: ['78-62=16', '55-16=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 13, 15, 81, 19 ]
11
[ "19-13=6", "81-15=66", "66/6=11" ]
Current State: 11:[13, 15, 81, 19], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [15, 81, 6] Generated Node #2: [15, 81, 6] from Operation: 19-13=6 Current State: 11:[15, 81, 6], Operations: ['19-13=6'] Exploring Operation: 81-15=66, Resulting Numbers: [6, 66] Generated Node #3: [6, 66] from Operation: 81-15=66 Current State: 11:[6, 66], Operations: ['19-13=6', '81-15=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[13, 15, 81, 19], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [15, 19, 68] Generated Node #0,0: 11:[15, 19, 68] Operation: 81-13=68 Exploring Operation: 81-15=66, Resulting Numbers: [13, 19, 66] Generated Node #0,1: 11:[13, 19, 66] Operation: 81-15=66 Exploring Operation: 81-19=62, Resulting Numbers: [13, 15, 62] Generated Node #0,2: 11:[13, 15, 62] Operation: 81-19=62 Moving to Node #0,2 Current State: 11:[13, 15, 62], Operations: ['81-19=62'] Exploring Operation: 15-13=2, Resulting Numbers: [62, 2] Generated Node #0,2,0: 11:[62, 2] Operation: 15-13=2 Exploring Operation: 62-15=47, Resulting Numbers: [13, 47] Generated Node #0,2,1: 11:[13, 47] Operation: 62-15=47 Exploring Operation: 62-13=49, Resulting Numbers: [15, 49] Generated Node #0,2,2: 11:[15, 49] Operation: 62-13=49 Moving to Node #0,1 Current State: 11:[13, 19, 66], Operations: ['81-15=66'] Exploring Operation: 66-19=47, Resulting Numbers: [13, 47] Generated Node #0,1,0: 11:[13, 47] Operation: 66-19=47 Exploring Operation: 19-13=6, Resulting Numbers: [66, 6] Generated Node #0,1,1: 11:[66, 6] Operation: 19-13=6 Exploring Operation: 66-13=53, Resulting Numbers: [19, 53] Generated Node #0,1,2: 11:[19, 53] Operation: 66-13=53 Moving to Node #0,0 Current State: 11:[15, 19, 68], Operations: ['81-13=68'] Exploring Operation: 19-15=4, Resulting Numbers: [68, 4] Generated Node #0,0,0: 11:[68, 4] Operation: 19-15=4 Exploring Operation: 68-15=53, Resulting Numbers: [19, 53] Generated Node #0,0,1: 11:[19, 53] Operation: 68-15=53 Exploring Operation: 68-19=49, Resulting Numbers: [15, 49] Generated Node #0,0,2: 11:[15, 49] Operation: 68-19=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[15, 49], Operations: ['81-13=68', '68-19=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,11 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[19, 53], Operations: ['81-13=68', '68-15=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,11 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[68, 4], Operations: ['81-13=68', '19-15=4'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 11:[13, 47], Operations: ['81-19=62', '62-15=47'] Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,11 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[13, 47], Operations: ['81-15=66', '66-19=47'] Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,11 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[15, 49], Operations: ['81-19=62', '62-13=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[19, 53], Operations: ['81-15=66', '66-13=53'] Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,11 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[66, 6], Operations: ['81-15=66', '19-13=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[13, 15, 81, 19], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [13, 19, 66] Generated Node #0,1: 11:[13, 19, 66] Operation: 81-15=66 Moving to Node #0,1 Current State: 11:[13, 19, 66], Operations: ['81-15=66'] Exploring Operation: 19-13=6, Resulting Numbers: [66, 6] Generated Node #0,1,1: 11:[66, 6] Operation: 19-13=6 Moving to Node #0,1,1 Current State: 11:[66, 6], Operations: ['81-15=66', '19-13=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 46, 18, 33, 50 ]
55
[ "46-18=28", "33+50=83", "83-28=55" ]
Current State: 55:[46, 18, 33, 50], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [33, 50, 28] Generated Node #2: [33, 50, 28] from Operation: 46-18=28 Current State: 55:[33, 50, 28], Operations: ['46-18=28'] Exploring Operation: 33+50=83, Resulting Numbers: [28, 83] Generated Node #3: [28, 83] from Operation: 33+50=83 Current State: 55:[28, 83], Operations: ['46-18=28', '33+50=83'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[46, 18, 33, 50], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [18, 50, 13] Generated Node #0,0: 55:[18, 50, 13] Operation: 46-33=13 Exploring Operation: 50-46=4, Resulting Numbers: [18, 33, 4] Generated Node #0,1: 55:[18, 33, 4] Operation: 50-46=4 Exploring Operation: 50-33=17, Resulting Numbers: [46, 18, 17] Generated Node #0,2: 55:[46, 18, 17] Operation: 50-33=17 Exploring Operation: 33-18=15, Resulting Numbers: [46, 50, 15] Generated Node #0,3: 55:[46, 50, 15] Operation: 33-18=15 Exploring Operation: 18+33=51, Resulting Numbers: [46, 50, 51] Generated Node #0,4: 55:[46, 50, 51] Operation: 18+33=51 Moving to Node #0,0 Current State: 55:[18, 50, 13], Operations: ['46-33=13'] Exploring Operation: 50+13=63, Resulting Numbers: [18, 63] Generated Node #0,0,0: 55:[18, 63] Operation: 50+13=63 Exploring Operation: 18-13=5, Resulting Numbers: [50, 5] Generated Node #0,0,1: 55:[50, 5] Operation: 18-13=5 Exploring Operation: 18+13=31, Resulting Numbers: [50, 31] Generated Node #0,0,2: 55:[50, 31] Operation: 18+13=31 Exploring Operation: 18+50=68, Resulting Numbers: [13, 68] Generated Node #0,0,3: 55:[13, 68] Operation: 18+50=68 Exploring Operation: 50-18=32, Resulting Numbers: [13, 32] Generated Node #0,0,4: 55:[13, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[50, 5], Operations: ['46-33=13', '18-13=5'] Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,55 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[46, 18, 33, 50], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [18, 50, 13] Generated Node #0,0: 55:[18, 50, 13] Operation: 46-33=13 Moving to Node #0,0 Current State: 55:[18, 50, 13], Operations: ['46-33=13'] Exploring Operation: 18-13=5, Resulting Numbers: [50, 5] Generated Node #0,0,1: 55:[50, 5] Operation: 18-13=5 Moving to Node #0,0,1 Current State: 55:[50, 5], Operations: ['46-33=13', '18-13=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 62, 6, 46, 97 ]
14
[ "6*97=582", "62+582=644", "644/46=14" ]
Current State: 14:[62, 6, 46, 97], Operations: [] Exploring Operation: 6*97=582, Resulting Numbers: [62, 46, 582] Generated Node #2: [62, 46, 582] from Operation: 6*97=582 Current State: 14:[62, 46, 582], Operations: ['6*97=582'] Exploring Operation: 62+582=644, Resulting Numbers: [46, 644] Generated Node #3: [46, 644] from Operation: 62+582=644 Current State: 14:[46, 644], Operations: ['6*97=582', '62+582=644'] Exploring Operation: 644/46=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[62, 6, 46, 97], Operations: [] Exploring Operation: 97-62=35, Resulting Numbers: [6, 46, 35] Generated Node #0,0: 14:[6, 46, 35] Operation: 97-62=35 Exploring Operation: 97-46=51, Resulting Numbers: [62, 6, 51] Generated Node #0,1: 14:[62, 6, 51] Operation: 97-46=51 Exploring Operation: 62-46=16, Resulting Numbers: [6, 97, 16] Generated Node #0,2: 14:[6, 97, 16] Operation: 62-46=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[6, 46, 35], Operations: ['97-62=35'] Exploring Operation: 46-35=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 14:[6, 11] Operation: 46-35=11 Exploring Operation: 35-6=29, Resulting Numbers: [46, 29] Generated Node #0,0,1: 14:[46, 29] Operation: 35-6=29 Exploring Operation: 46-6=40, Resulting Numbers: [35, 40] Generated Node #0,0,2: 14:[35, 40] Operation: 46-6=40 Moving to Node #0,0,0 Current State: 14:[6, 11], Operations: ['97-62=35', '46-35=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[46, 29], Operations: ['97-62=35', '35-6=29'] Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,14 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[35, 40], Operations: ['97-62=35', '46-6=40'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,14 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,14 unequal: No Solution No 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: 14:[62, 6, 51], Operations: ['97-46=51'] Exploring Operation: 62-6=56, Resulting Numbers: [51, 56] Generated Node #0,1,0: 14:[51, 56] Operation: 62-6=56 Exploring Operation: 51-6=45, Resulting Numbers: [62, 45] Generated Node #0,1,1: 14:[62, 45] Operation: 51-6=45 Exploring Operation: 62-51=11, Resulting Numbers: [6, 11] Generated Node #0,1,2: 14:[6, 11] Operation: 62-51=11 Moving to Node #0,1,2 Current State: 14:[6, 11], Operations: ['97-46=51', '62-51=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[51, 56], Operations: ['97-46=51', '62-6=56'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,14 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[62, 45], Operations: ['97-46=51', '51-6=45'] Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,14 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,14 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,14 unequal: No Solution No 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: 14:[6, 97, 16], Operations: ['62-46=16'] Exploring Operation: 97-6=91, Resulting Numbers: [16, 91] Generated Node #0,2,0: 14:[16, 91] Operation: 97-6=91 Exploring Operation: 16-6=10, Resulting Numbers: [97, 10] Generated Node #0,2,1: 14:[97, 10] Operation: 16-6=10 Exploring Operation: 97-16=81, Resulting Numbers: [6, 81] Generated Node #0,2,2: 14:[6, 81] Operation: 97-16=81 Moving to Node #0,2,2 Current State: 14:[6, 81], Operations: ['62-46=16', '97-16=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,14 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[16, 91], Operations: ['62-46=16', '97-6=91'] Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,14 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,14 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[97, 10], Operations: ['62-46=16', '16-6=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,14 unequal: No Solution Exploring Operation: 97*10=970, Resulting Numbers: [970] 970,14 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
[ 55, 18, 30, 11 ]
43
[ "55/11=5", "18+30=48", "48-5=43" ]
Current State: 43:[55, 18, 30, 11], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [18, 30, 5] Generated Node #2: [18, 30, 5] from Operation: 55/11=5 Current State: 43:[18, 30, 5], Operations: ['55/11=5'] Exploring Operation: 18+30=48, Resulting Numbers: [5, 48] Generated Node #3: [5, 48] from Operation: 18+30=48 Current State: 43:[5, 48], Operations: ['55/11=5', '18+30=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 18, 30, 11], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [18, 30, 44] Generated Node #0,0: 43:[18, 30, 44] Operation: 55-11=44 Exploring Operation: 18+11=29, Resulting Numbers: [55, 30, 29] Generated Node #0,1: 43:[55, 30, 29] Operation: 18+11=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[18, 30, 44], Operations: ['55-11=44'] Exploring Operation: 18+30=48, Resulting Numbers: [44, 48] Generated Node #0,0,0: 43:[44, 48] Operation: 18+30=48 Exploring Operation: 44-18=26, Resulting Numbers: [30, 26] Generated Node #0,0,1: 43:[30, 26] Operation: 44-18=26 Moving to Node #0,0,0 Current State: 43:[44, 48], Operations: ['55-11=44', '18+30=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[30, 26], Operations: ['55-11=44', '44-18=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,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:[55, 30, 29], Operations: ['18+11=29'] Exploring Operation: 55-29=26, Resulting Numbers: [30, 26] Generated Node #0,1,0: 43:[30, 26] Operation: 55-29=26 Exploring Operation: 30+29=59, Resulting Numbers: [55, 59] Generated Node #0,1,1: 43:[55, 59] Operation: 30+29=59 Moving to Node #0,1,1 Current State: 43:[55, 59], Operations: ['18+11=29', '30+29=59'] Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[30, 26], Operations: ['18+11=29', '55-29=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,43 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
[ 2, 7, 21, 74 ]
51
[ "74/2=37", "21-7=14", "37+14=51" ]
Current State: 51:[2, 7, 21, 74], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [7, 21, 37] Generated Node #2: [7, 21, 37] from Operation: 74/2=37 Current State: 51:[7, 21, 37], Operations: ['74/2=37'] Exploring Operation: 21-7=14, Resulting Numbers: [37, 14] Generated Node #3: [37, 14] from Operation: 21-7=14 Current State: 51:[37, 14], Operations: ['74/2=37', '21-7=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[2, 7, 21, 74], Operations: [] Exploring Operation: 74-21=53, Resulting Numbers: [2, 7, 53] Generated Node #0,0: 51:[2, 7, 53] Operation: 74-21=53 Exploring Operation: 74-7=67, Resulting Numbers: [2, 21, 67] Generated Node #0,1: 51:[2, 21, 67] Operation: 74-7=67 Exploring Operation: 74/2=37, Resulting Numbers: [7, 21, 37] Generated Node #0,2: 51:[7, 21, 37] Operation: 74/2=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[2, 7, 53], Operations: ['74-21=53'] Exploring Operation: 53-2=51, Resulting Numbers: [7, 51] Generated Node #0,0,0: 51:[7, 51] Operation: 53-2=51 Exploring Operation: 2*7=14, Resulting Numbers: [53, 14] Generated Node #0,0,1: 51:[53, 14] Operation: 2*7=14 Exploring Operation: 7-2=5, Resulting Numbers: [53, 5] Generated Node #0,0,2: 51:[53, 5] Operation: 7-2=5 Moving to Node #0,0,0 Current State: 51:[7, 51], Operations: ['74-21=53', '53-2=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,51 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[53, 5], Operations: ['74-21=53', '7-2=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,51 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[53, 14], Operations: ['74-21=53', '2*7=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,51 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,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:[2, 21, 67], Operations: ['74-7=67'] Exploring Operation: 67-21=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 51:[2, 46] Operation: 67-21=46 Exploring Operation: 21-2=19, Resulting Numbers: [67, 19] Generated Node #0,1,1: 51:[67, 19] Operation: 21-2=19 Exploring Operation: 67-2=65, Resulting Numbers: [21, 65] Generated Node #0,1,2: 51:[21, 65] Operation: 67-2=65 Moving to Node #0,1,0 Current State: 51:[2, 46], Operations: ['74-7=67', '67-21=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[67, 19], Operations: ['74-7=67', '21-2=19'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,51 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[21, 65], Operations: ['74-7=67', '67-2=65'] Exploring Operation: 21*65=1365, Resulting Numbers: [1365] 1365,51 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[7, 21, 37], Operations: ['74/2=37'] Exploring Operation: 37-21=16, Resulting Numbers: [7, 16] Generated Node #0,2,0: 51:[7, 16] Operation: 37-21=16 Exploring Operation: 21+37=58, Resulting Numbers: [7, 58] Generated Node #0,2,1: 51:[7, 58] Operation: 21+37=58 Exploring Operation: 7+37=44, Resulting Numbers: [21, 44] Generated Node #0,2,2: 51:[21, 44] Operation: 7+37=44 Moving to Node #0,2,0 Current State: 51:[7, 16], Operations: ['74/2=37', '37-21=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,51 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[7, 58], Operations: ['74/2=37', '21+37=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[2, 7, 21, 74], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [7, 21, 37] Generated Node #0,2: 51:[7, 21, 37] Operation: 74/2=37 Moving to Node #0,2 Current State: 51:[7, 21, 37], Operations: ['74/2=37'] Exploring Operation: 21+37=58, Resulting Numbers: [7, 58] Generated Node #0,2,1: 51:[7, 58] Operation: 21+37=58 Moving to Node #0,2,1 Current State: 51:[7, 58], Operations: ['74/2=37', '21+37=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic