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
[ 25, 77, 7, 9 ]
28
[ "25*7=175", "77+175=252", "252/9=28" ]
Current State: 28:[25, 77, 7, 9], Operations: [] Exploring Operation: 25*7=175, Resulting Numbers: [77, 9, 175] Generated Node #2: [77, 9, 175] from Operation: 25*7=175 Current State: 28:[77, 9, 175], Operations: ['25*7=175'] Exploring Operation: 77+175=252, Resulting Numbers: [9, 252] Generated Node #3: [9, 252] from Operation: 77+175=252 Current State: 28:[9, 252], Operations: ['25*7=175', '77+175=252'] Exploring Operation: 252/9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[25, 77, 7, 9], Operations: [] Exploring Operation: 77-9=68, Resulting Numbers: [25, 7, 68] Generated Node #0,0: 28:[25, 7, 68] Operation: 77-9=68 Exploring Operation: 77-25=52, Resulting Numbers: [7, 9, 52] Generated Node #0,1: 28:[7, 9, 52] Operation: 77-25=52 Exploring Operation: 77-7=70, Resulting Numbers: [25, 9, 70] Generated Node #0,2: 28:[25, 9, 70] Operation: 77-7=70 Exploring Operation: 25-9=16, Resulting Numbers: [77, 7, 16] Generated Node #0,3: 28:[77, 7, 16] Operation: 25-9=16 Exploring Operation: 77/7=11, Resulting Numbers: [25, 9, 11] Generated Node #0,4: 28:[25, 9, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[25, 9, 11], Operations: ['77/7=11'] Exploring Operation: 11-9=2, Resulting Numbers: [25, 2] Generated Node #0,4,0: 28:[25, 2] Operation: 11-9=2 Exploring Operation: 25-9=16, Resulting Numbers: [11, 16] Generated Node #0,4,1: 28:[11, 16] Operation: 25-9=16 Exploring Operation: 9+11=20, Resulting Numbers: [25, 20] Generated Node #0,4,2: 28:[25, 20] Operation: 9+11=20 Exploring Operation: 25-11=14, Resulting Numbers: [9, 14] Generated Node #0,4,3: 28:[9, 14] Operation: 25-11=14 Exploring Operation: 25+9=34, Resulting Numbers: [11, 34] Generated Node #0,4,4: 28:[11, 34] Operation: 25+9=34 Moving to Node #0,4,3 Current State: 28:[9, 14], Operations: ['77/7=11', '25-11=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,28 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,4,0 Current State: 28:[25, 2], Operations: ['77/7=11', '11-9=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,28 unequal: No Solution Moving to Node #0,4,1 Current State: 28:[11, 16], Operations: ['77/7=11', '25-9=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,28 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,28 unequal: No Solution Moving to Node #0,4,2 Current State: 28:[25, 20], Operations: ['77/7=11', '9+11=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,28 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,4,4 Current State: 28:[11, 34], Operations: ['77/7=11', '25+9=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,28 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[7, 9, 52], Operations: ['77-25=52'] Exploring Operation: 52-9=43, Resulting Numbers: [7, 43] Generated Node #0,1,0: 28:[7, 43] Operation: 52-9=43 Exploring Operation: 52-7=45, Resulting Numbers: [9, 45] Generated Node #0,1,1: 28:[9, 45] Operation: 52-7=45 Exploring Operation: 7+52=59, Resulting Numbers: [9, 59] Generated Node #0,1,2: 28:[9, 59] Operation: 7+52=59 Exploring Operation: 9-7=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 28:[52, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [52, 16] Generated Node #0,1,4: 28:[52, 16] Operation: 7+9=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[7, 43], Operations: ['77-25=52', '52-9=43'] Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,28 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,28 unequal: No Solution No 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: 28:[9, 45], Operations: ['77-25=52', '52-7=45'] Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,28 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,28 unequal: No Solution No 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: 28:[52, 2], Operations: ['77-25=52', '9-7=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,28 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 28:[52, 16], Operations: ['77-25=52', '7+9=16'] Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,28 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,28 unequal: No Solution No 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: 28:[9, 59], Operations: ['77-25=52', '7+52=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,28 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,28 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: 28:[25, 7, 68], Operations: ['77-9=68'] Exploring Operation: 68-7=61, Resulting Numbers: [25, 61] Generated Node #0,0,0: 28:[25, 61] Operation: 68-7=61 Exploring Operation: 25-7=18, Resulting Numbers: [68, 18] Generated Node #0,0,1: 28:[68, 18] Operation: 25-7=18 Exploring Operation: 7+68=75, Resulting Numbers: [25, 75] Generated Node #0,0,2: 28:[25, 75] Operation: 7+68=75 Exploring Operation: 68-25=43, Resulting Numbers: [7, 43] Generated Node #0,0,3: 28:[7, 43] Operation: 68-25=43 Exploring Operation: 25+7=32, Resulting Numbers: [68, 32] Generated Node #0,0,4: 28:[68, 32] Operation: 25+7=32 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[7, 43], Operations: ['77-9=68', '68-25=43'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,28 unequal: No Solution No 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: 28:[25, 61], Operations: ['77-9=68', '68-7=61'] Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,28 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,28 unequal: No Solution No 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: 28:[68, 18], Operations: ['77-9=68', '25-7=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,28 unequal: No Solution No 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: 28:[68, 32], Operations: ['77-9=68', '25+7=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,28 unequal: No Solution No 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: 28:[25, 75], Operations: ['77-9=68', '7+68=75'] Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 25*75=1875, Resulting Numbers: [1875] 1875,28 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,28 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,28 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: 28:[25, 9, 70], Operations: ['77-7=70'] Exploring Operation: 70-9=61, Resulting Numbers: [25, 61] Generated Node #0,2,0: 28:[25, 61] Operation: 70-9=61 Exploring Operation: 25-9=16, Resulting Numbers: [70, 16] Generated Node #0,2,1: 28:[70, 16] Operation: 25-9=16 Exploring Operation: 25+9=34, Resulting Numbers: [70, 34] Generated Node #0,2,2: 28:[70, 34] Operation: 25+9=34 Exploring Operation: 9+70=79, Resulting Numbers: [25, 79] Generated Node #0,2,3: 28:[25, 79] Operation: 9+70=79 Exploring Operation: 70-25=45, Resulting Numbers: [9, 45] Generated Node #0,2,4: 28:[9, 45] Operation: 70-25=45 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 28:[9, 45], Operations: ['77-7=70', '70-25=45'] Exploring Operation: 9*45=405, Resulting Numbers: [405] 405,28 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 9+45=54, Resulting Numbers: [54] 54,28 unequal: No Solution No 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: 28:[25, 61], Operations: ['77-7=70', '70-9=61'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,28 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,28 unequal: No Solution No 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: 28:[70, 16], Operations: ['77-7=70', '25-9=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,28 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,28 unequal: No Solution No 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: 28:[70, 34], Operations: ['77-7=70', '25+9=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,28 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,28 unequal: No Solution No 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: 28:[25, 79], Operations: ['77-7=70', '9+70=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 25+79=104, Resulting Numbers: [104] 104,28 unequal: No Solution Exploring Operation: 25*79=1975, Resulting Numbers: [1975] 1975,28 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: 28:[77, 7, 16], Operations: ['25-9=16'] Exploring Operation: 77/7=11, Resulting Numbers: [16, 11] Generated Node #0,3,0: 28:[16, 11] Operation: 77/7=11 Exploring Operation: 16-7=9, Resulting Numbers: [77, 9] Generated Node #0,3,1: 28:[77, 9] Operation: 16-7=9 Exploring Operation: 77-16=61, Resulting Numbers: [7, 61] Generated Node #0,3,2: 28:[7, 61] Operation: 77-16=61 Exploring Operation: 7+16=23, Resulting Numbers: [77, 23] Generated Node #0,3,3: 28:[77, 23] Operation: 7+16=23 Exploring Operation: 77-7=70, Resulting Numbers: [16, 70] Generated Node #0,3,4: 28:[16, 70] Operation: 77-7=70 Moving to Node #0,3,0 Current State: 28:[16, 11], Operations: ['25-9=16', '77/7=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,28 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[7, 61], Operations: ['25-9=16', '77-16=61'] Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[16, 70], Operations: ['25-9=16', '77-7=70'] Exploring Operation: 16*70=1120, Resulting Numbers: [1120] 1120,28 unequal: No Solution Exploring Operation: 16+70=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[77, 9], Operations: ['25-9=16', '16-7=9'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[77, 23], Operations: ['25-9=16', '7+16=23'] Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,28 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,28 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,28 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
[ 68, 9, 25, 58 ]
24
[ "68-9=59", "25+58=83", "83-59=24" ]
Current State: 24:[68, 9, 25, 58], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [25, 58, 59] Generated Node #2: [25, 58, 59] from Operation: 68-9=59 Current State: 24:[25, 58, 59], Operations: ['68-9=59'] Exploring Operation: 25+58=83, Resulting Numbers: [59, 83] Generated Node #3: [59, 83] from Operation: 25+58=83 Current State: 24:[59, 83], Operations: ['68-9=59', '25+58=83'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[68, 9, 25, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [9, 25, 10] Generated Node #0,0: 24:[9, 25, 10] Operation: 68-58=10 Exploring Operation: 58-25=33, Resulting Numbers: [68, 9, 33] Generated Node #0,1: 24:[68, 9, 33] Operation: 58-25=33 Exploring Operation: 68-9=59, Resulting Numbers: [25, 58, 59] Generated Node #0,2: 24:[25, 58, 59] Operation: 68-9=59 Exploring Operation: 68-25=43, Resulting Numbers: [9, 58, 43] Generated Node #0,3: 24:[9, 58, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[9, 25, 10], Operations: ['68-58=10'] Exploring Operation: 9+10=19, Resulting Numbers: [25, 19] Generated Node #0,0,0: 24:[25, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 24:[25, 1] Operation: 10-9=1 Exploring Operation: 25-10=15, Resulting Numbers: [9, 15] Generated Node #0,0,2: 24:[9, 15] Operation: 25-10=15 Exploring Operation: 25-9=16, Resulting Numbers: [10, 16] Generated Node #0,0,3: 24:[10, 16] Operation: 25-9=16 Moving to Node #0,0,1 Current State: 24:[25, 1], Operations: ['68-58=10', '10-9=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[68, 9, 25, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [9, 25, 10] Generated Node #0,0: 24:[9, 25, 10] Operation: 68-58=10 Moving to Node #0,0 Current State: 24:[9, 25, 10], Operations: ['68-58=10'] Exploring Operation: 10-9=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 24:[25, 1] Operation: 10-9=1 Moving to Node #0,0,1 Current State: 24:[25, 1], Operations: ['68-58=10', '10-9=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 50, 17, 45, 37 ]
49
[ "50-17=33", "45+37=82", "82-33=49" ]
Current State: 49:[50, 17, 45, 37], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [45, 37, 33] Generated Node #2: [45, 37, 33] from Operation: 50-17=33 Current State: 49:[45, 37, 33], Operations: ['50-17=33'] Exploring Operation: 45+37=82, Resulting Numbers: [33, 82] Generated Node #3: [33, 82] from Operation: 45+37=82 Current State: 49:[33, 82], Operations: ['50-17=33', '45+37=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[50, 17, 45, 37], Operations: [] Exploring Operation: 17+37=54, Resulting Numbers: [50, 45, 54] Generated Node #0,0: 49:[50, 45, 54] Operation: 17+37=54 Exploring Operation: 45-37=8, Resulting Numbers: [50, 17, 8] Generated Node #0,1: 49:[50, 17, 8] Operation: 45-37=8 Exploring Operation: 37-17=20, Resulting Numbers: [50, 45, 20] Generated Node #0,2: 49:[50, 45, 20] Operation: 37-17=20 Moving to Node #0,0 Current State: 49:[50, 45, 54], Operations: ['17+37=54'] Exploring Operation: 54-45=9, Resulting Numbers: [50, 9] Generated Node #0,0,0: 49:[50, 9] Operation: 54-45=9 Exploring Operation: 50-45=5, Resulting Numbers: [54, 5] Generated Node #0,0,1: 49:[54, 5] Operation: 50-45=5 Exploring Operation: 54-50=4, Resulting Numbers: [45, 4] Generated Node #0,0,2: 49:[45, 4] Operation: 54-50=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[50, 9], Operations: ['17+37=54', '54-45=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,49 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[54, 5], Operations: ['17+37=54', '50-45=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[50, 17, 45, 37], Operations: [] Exploring Operation: 17+37=54, Resulting Numbers: [50, 45, 54] Generated Node #0,0: 49:[50, 45, 54] Operation: 17+37=54 Moving to Node #0,0 Current State: 49:[50, 45, 54], Operations: ['17+37=54'] Exploring Operation: 50-45=5, Resulting Numbers: [54, 5] Generated Node #0,0,1: 49:[54, 5] Operation: 50-45=5 Moving to Node #0,0,1 Current State: 49:[54, 5], Operations: ['17+37=54', '50-45=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 26, 24, 67, 84 ]
25
[ "26-24=2", "84/2=42", "67-42=25" ]
Current State: 25:[26, 24, 67, 84], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [67, 84, 2] Generated Node #2: [67, 84, 2] from Operation: 26-24=2 Current State: 25:[67, 84, 2], Operations: ['26-24=2'] Exploring Operation: 84/2=42, Resulting Numbers: [67, 42] Generated Node #3: [67, 42] from Operation: 84/2=42 Current State: 25:[67, 42], Operations: ['26-24=2', '84/2=42'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[26, 24, 67, 84], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [26, 67, 60] Generated Node #0,0: 25:[26, 67, 60] Operation: 84-24=60 Exploring Operation: 67-26=41, Resulting Numbers: [24, 84, 41] Generated Node #0,1: 25:[24, 84, 41] Operation: 67-26=41 Exploring Operation: 84-26=58, Resulting Numbers: [24, 67, 58] Generated Node #0,2: 25:[24, 67, 58] Operation: 84-26=58 Exploring Operation: 67-24=43, Resulting Numbers: [26, 84, 43] Generated Node #0,3: 25:[26, 84, 43] Operation: 67-24=43 Exploring Operation: 84-67=17, Resulting Numbers: [26, 24, 17] Generated Node #0,4: 25:[26, 24, 17] Operation: 84-67=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[26, 24, 17], Operations: ['84-67=17'] Exploring Operation: 26-24=2, Resulting Numbers: [17, 2] Generated Node #0,4,0: 25:[17, 2] Operation: 26-24=2 Exploring Operation: 24-17=7, Resulting Numbers: [26, 7] Generated Node #0,4,1: 25:[26, 7] Operation: 24-17=7 Exploring Operation: 26+17=43, Resulting Numbers: [24, 43] Generated Node #0,4,2: 25:[24, 43] Operation: 26+17=43 Exploring Operation: 26-17=9, Resulting Numbers: [24, 9] Generated Node #0,4,3: 25:[24, 9] Operation: 26-17=9 Exploring Operation: 24+17=41, Resulting Numbers: [26, 41] Generated Node #0,4,4: 25:[26, 41] Operation: 24+17=41 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 25:[26, 7], Operations: ['84-67=17', '24-17=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 25:[24, 9], Operations: ['84-67=17', '26-17=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,25 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 25:[17, 2], Operations: ['84-67=17', '26-24=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 25:[26, 41], Operations: ['84-67=17', '24+17=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 25:[24, 43], Operations: ['84-67=17', '26+17=43'] Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,25 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[24, 84, 41], Operations: ['67-26=41'] Exploring Operation: 41-24=17, Resulting Numbers: [84, 17] Generated Node #0,1,0: 25:[84, 17] Operation: 41-24=17 Exploring Operation: 84-41=43, Resulting Numbers: [24, 43] Generated Node #0,1,1: 25:[24, 43] Operation: 84-41=43 Exploring Operation: 84-24=60, Resulting Numbers: [41, 60] Generated Node #0,1,2: 25:[41, 60] Operation: 84-24=60 Exploring Operation: 24+84=108, Resulting Numbers: [41, 108] Generated Node #0,1,3: 25:[41, 108] Operation: 24+84=108 Exploring Operation: 24+41=65, Resulting Numbers: [84, 65] Generated Node #0,1,4: 25:[84, 65] Operation: 24+41=65 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[24, 43], Operations: ['67-26=41', '84-41=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,25 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[41, 60], Operations: ['67-26=41', '84-24=60'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,25 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[84, 17], Operations: ['67-26=41', '41-24=17'] Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,25 unequal: No Solution Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[41, 108], Operations: ['67-26=41', '24+84=108'] Exploring Operation: 108-41=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 41*108=4428, Resulting Numbers: [4428] 4428,25 unequal: No Solution Exploring Operation: 41+108=149, Resulting Numbers: [149] 149,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[84, 65], Operations: ['67-26=41', '24+41=65'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 84*65=5460, Resulting Numbers: [5460] 5460,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[24, 67, 58], Operations: ['84-26=58'] Exploring Operation: 67-58=9, Resulting Numbers: [24, 9] Generated Node #0,2,0: 25:[24, 9] Operation: 67-58=9 Exploring Operation: 24+67=91, Resulting Numbers: [58, 91] Generated Node #0,2,1: 25:[58, 91] Operation: 24+67=91 Exploring Operation: 67-24=43, Resulting Numbers: [58, 43] Generated Node #0,2,2: 25:[58, 43] Operation: 67-24=43 Exploring Operation: 24+58=82, Resulting Numbers: [67, 82] Generated Node #0,2,3: 25:[67, 82] Operation: 24+58=82 Exploring Operation: 58-24=34, Resulting Numbers: [67, 34] Generated Node #0,2,4: 25:[67, 34] Operation: 58-24=34 Moving to Node #0,2,0 Current State: 25:[24, 9], Operations: ['84-26=58', '67-58=9'] Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,25 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[67, 34], Operations: ['84-26=58', '58-24=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[58, 43], Operations: ['84-26=58', '67-24=43'] Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,25 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[58, 91], Operations: ['84-26=58', '24+67=91'] Exploring Operation: 58*91=5278, Resulting Numbers: [5278] 5278,25 unequal: No Solution Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 58+91=149, Resulting Numbers: [149] 149,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[67, 82], Operations: ['84-26=58', '24+58=82'] Exploring Operation: 67+82=149, Resulting Numbers: [149] 149,25 unequal: No Solution Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 67*82=5494, Resulting Numbers: [5494] 5494,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[26, 67, 60], Operations: ['84-24=60'] Exploring Operation: 60-26=34, Resulting Numbers: [67, 34] Generated Node #0,0,0: 25:[67, 34] Operation: 60-26=34 Exploring Operation: 67-60=7, Resulting Numbers: [26, 7] Generated Node #0,0,1: 25:[26, 7] Operation: 67-60=7 Exploring Operation: 67-26=41, Resulting Numbers: [60, 41] Generated Node #0,0,2: 25:[60, 41] Operation: 67-26=41 Exploring Operation: 26+67=93, Resulting Numbers: [60, 93] Generated Node #0,0,3: 25:[60, 93] Operation: 26+67=93 Exploring Operation: 26+60=86, Resulting Numbers: [67, 86] Generated Node #0,0,4: 25:[67, 86] Operation: 26+60=86 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[26, 7], Operations: ['84-24=60', '67-60=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,25 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[67, 34], Operations: ['84-24=60', '60-26=34'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,25 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[60, 41], Operations: ['84-24=60', '67-26=41'] Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[60, 93], Operations: ['84-24=60', '26+67=93'] Exploring Operation: 60+93=153, Resulting Numbers: [153] 153,25 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 60*93=5580, Resulting Numbers: [5580] 5580,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 25:[67, 86], Operations: ['84-24=60', '26+60=86'] Exploring Operation: 67*86=5762, Resulting Numbers: [5762] 5762,25 unequal: No Solution Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 67+86=153, Resulting Numbers: [153] 153,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[26, 84, 43], Operations: ['67-24=43'] Exploring Operation: 84-43=41, Resulting Numbers: [26, 41] Generated Node #0,3,0: 25:[26, 41] Operation: 84-43=41 Exploring Operation: 26+84=110, Resulting Numbers: [43, 110] Generated Node #0,3,1: 25:[43, 110] Operation: 26+84=110 Exploring Operation: 43-26=17, Resulting Numbers: [84, 17] Generated Node #0,3,2: 25:[84, 17] Operation: 43-26=17 Exploring Operation: 84-26=58, Resulting Numbers: [43, 58] Generated Node #0,3,3: 25:[43, 58] Operation: 84-26=58 Exploring Operation: 26+43=69, Resulting Numbers: [84, 69] Generated Node #0,3,4: 25:[84, 69] Operation: 26+43=69 Moving to Node #0,3,0 Current State: 25:[26, 41], Operations: ['67-24=43', '84-43=41'] Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[43, 58], Operations: ['67-24=43', '84-26=58'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[84, 17], Operations: ['67-24=43', '43-26=17'] Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,25 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[43, 110], Operations: ['67-24=43', '26+84=110'] Exploring Operation: 110-43=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 43*110=4730, Resulting Numbers: [4730] 4730,25 unequal: No Solution Exploring Operation: 43+110=153, Resulting Numbers: [153] 153,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[84, 69], Operations: ['67-24=43', '26+43=69'] Exploring Operation: 84+69=153, Resulting Numbers: [153] 153,25 unequal: No Solution Exploring Operation: 84*69=5796, Resulting Numbers: [5796] 5796,25 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 71, 72, 85 ]
43
[ "72-71=1", "85+1=86", "86/2=43" ]
Current State: 43:[2, 71, 72, 85], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [2, 85, 1] Generated Node #2: [2, 85, 1] from Operation: 72-71=1 Current State: 43:[2, 85, 1], Operations: ['72-71=1'] Exploring Operation: 85+1=86, Resulting Numbers: [2, 86] Generated Node #3: [2, 86] from Operation: 85+1=86 Current State: 43:[2, 86], Operations: ['72-71=1', '85+1=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[2, 71, 72, 85], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [2, 72, 14] Generated Node #0,0: 43:[2, 72, 14] Operation: 85-71=14 Exploring Operation: 85-2=83, Resulting Numbers: [71, 72, 83] Generated Node #0,1: 43:[71, 72, 83] Operation: 85-2=83 Exploring Operation: 72-2=70, Resulting Numbers: [71, 85, 70] Generated Node #0,2: 43:[71, 85, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [71, 85, 36] Generated Node #0,3: 43:[71, 85, 36] Operation: 72/2=36 Exploring Operation: 71-2=69, Resulting Numbers: [72, 85, 69] Generated Node #0,4: 43:[72, 85, 69] Operation: 71-2=69 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[71, 85, 36], Operations: ['72/2=36'] Exploring Operation: 85+36=121, Resulting Numbers: [71, 121] Generated Node #0,3,0: 43:[71, 121] Operation: 85+36=121 Exploring Operation: 71+36=107, Resulting Numbers: [85, 107] Generated Node #0,3,1: 43:[85, 107] Operation: 71+36=107 Exploring Operation: 85-71=14, Resulting Numbers: [36, 14] Generated Node #0,3,2: 43:[36, 14] Operation: 85-71=14 Exploring Operation: 71-36=35, Resulting Numbers: [85, 35] Generated Node #0,3,3: 43:[85, 35] Operation: 71-36=35 Exploring Operation: 85-36=49, Resulting Numbers: [71, 49] Generated Node #0,3,4: 43:[71, 49] Operation: 85-36=49 Moving to Node #0,3,4 Current State: 43:[71, 49], Operations: ['72/2=36', '85-36=49'] Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[36, 14], Operations: ['72/2=36', '85-71=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[85, 35], Operations: ['72/2=36', '71-36=35'] Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,43 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[71, 121], Operations: ['72/2=36', '85+36=121'] Exploring Operation: 71*121=8591, Resulting Numbers: [8591] 8591,43 unequal: No Solution Exploring Operation: 121-71=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 71+121=192, Resulting Numbers: [192] 192,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[85, 107], Operations: ['72/2=36', '71+36=107'] Exploring Operation: 107-85=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 85+107=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 85*107=9095, Resulting Numbers: [9095] 9095,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:[71, 72, 83], Operations: ['85-2=83'] Exploring Operation: 83-71=12, Resulting Numbers: [72, 12] Generated Node #0,1,0: 43:[72, 12] Operation: 83-71=12 Exploring Operation: 72-71=1, Resulting Numbers: [83, 1] Generated Node #0,1,1: 43:[83, 1] Operation: 72-71=1 Exploring Operation: 71+83=154, Resulting Numbers: [72, 154] Generated Node #0,1,2: 43:[72, 154] Operation: 71+83=154 Exploring Operation: 83-72=11, Resulting Numbers: [71, 11] Generated Node #0,1,3: 43:[71, 11] Operation: 83-72=11 Exploring Operation: 71+72=143, Resulting Numbers: [83, 143] Generated Node #0,1,4: 43:[83, 143] Operation: 71+72=143 Moving to Node #0,1,0 Current State: 43:[72, 12], Operations: ['85-2=83', '83-71=12'] Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,43 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[71, 11], Operations: ['85-2=83', '83-72=11'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,43 unequal: No Solution Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[83, 1], Operations: ['85-2=83', '72-71=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[72, 154], Operations: ['85-2=83', '71+83=154'] Exploring Operation: 72*154=11088, Resulting Numbers: [11088] 11088,43 unequal: No Solution Exploring Operation: 154-72=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 72+154=226, Resulting Numbers: [226] 226,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[83, 143], Operations: ['85-2=83', '71+72=143'] Exploring Operation: 83*143=11869, Resulting Numbers: [11869] 11869,43 unequal: No Solution Exploring Operation: 143-83=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 83+143=226, Resulting Numbers: [226] 226,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[71, 85, 70], Operations: ['72-2=70'] Exploring Operation: 71-70=1, Resulting Numbers: [85, 1] Generated Node #0,2,0: 43:[85, 1] Operation: 71-70=1 Exploring Operation: 71+85=156, Resulting Numbers: [70, 156] Generated Node #0,2,1: 43:[70, 156] Operation: 71+85=156 Exploring Operation: 71+70=141, Resulting Numbers: [85, 141] Generated Node #0,2,2: 43:[85, 141] Operation: 71+70=141 Exploring Operation: 85-71=14, Resulting Numbers: [70, 14] Generated Node #0,2,3: 43:[70, 14] Operation: 85-71=14 Exploring Operation: 85-70=15, Resulting Numbers: [71, 15] Generated Node #0,2,4: 43:[71, 15] Operation: 85-70=15 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 43:[70, 14], Operations: ['72-2=70', '85-71=14'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,43 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 43:[71, 15], Operations: ['72-2=70', '85-70=15'] Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,43 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[85, 1], Operations: ['72-2=70', '71-70=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,43 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[70, 156], Operations: ['72-2=70', '71+85=156'] Exploring Operation: 70+156=226, Resulting Numbers: [226] 226,43 unequal: No Solution Exploring Operation: 156-70=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 70*156=10920, Resulting Numbers: [10920] 10920,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[85, 141], Operations: ['72-2=70', '71+70=141'] Exploring Operation: 85*141=11985, Resulting Numbers: [11985] 11985,43 unequal: No Solution Exploring Operation: 141-85=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 85+141=226, Resulting Numbers: [226] 226,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 43:[72, 85, 69], Operations: ['71-2=69'] Exploring Operation: 72+69=141, Resulting Numbers: [85, 141] Generated Node #0,4,0: 43:[85, 141] Operation: 72+69=141 Exploring Operation: 72+85=157, Resulting Numbers: [69, 157] Generated Node #0,4,1: 43:[69, 157] Operation: 72+85=157 Exploring Operation: 85-72=13, Resulting Numbers: [69, 13] Generated Node #0,4,2: 43:[69, 13] Operation: 85-72=13 Exploring Operation: 85-69=16, Resulting Numbers: [72, 16] Generated Node #0,4,3: 43:[72, 16] Operation: 85-69=16 Exploring Operation: 72-69=3, Resulting Numbers: [85, 3] Generated Node #0,4,4: 43:[85, 3] Operation: 72-69=3 Moving to Node #0,4,2 Current State: 43:[69, 13], Operations: ['71-2=69', '85-72=13'] Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[72, 16], Operations: ['71-2=69', '85-69=16'] Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[85, 3], Operations: ['71-2=69', '72-69=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,43 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[85, 141], Operations: ['71-2=69', '72+69=141'] Exploring Operation: 141-85=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 85+141=226, Resulting Numbers: [226] 226,43 unequal: No Solution Exploring Operation: 85*141=11985, Resulting Numbers: [11985] 11985,43 unequal: No Solution Moving to Node #0,4,1 Current State: 43:[69, 157], Operations: ['71-2=69', '72+85=157'] Exploring Operation: 157-69=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 69*157=10833, Resulting Numbers: [10833] 10833,43 unequal: No Solution Exploring Operation: 69+157=226, Resulting Numbers: [226] 226,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[2, 72, 14], Operations: ['85-71=14'] Exploring Operation: 72-14=58, Resulting Numbers: [2, 58] Generated Node #0,0,0: 43:[2, 58] Operation: 72-14=58 Exploring Operation: 72-2=70, Resulting Numbers: [14, 70] Generated Node #0,0,1: 43:[14, 70] Operation: 72-2=70 Exploring Operation: 2+14=16, Resulting Numbers: [72, 16] Generated Node #0,0,2: 43:[72, 16] Operation: 2+14=16 Exploring Operation: 72/2=36, Resulting Numbers: [14, 36] Generated Node #0,0,3: 43:[14, 36] Operation: 72/2=36 Exploring Operation: 2*14=28, Resulting Numbers: [72, 28] Generated Node #0,0,4: 43:[72, 28] Operation: 2*14=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 43:[14, 36], Operations: ['85-71=14', '72/2=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,43 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 43:[72, 28], Operations: ['85-71=14', '2*14=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,43 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[2, 58], Operations: ['85-71=14', '72-14=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[14, 70], Operations: ['85-71=14', '72-2=70'] Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,43 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[72, 16], Operations: ['85-71=14', '2+14=16'] Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,43 unequal: No Solution Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 10, 35, 30, 30 ]
85
[ "35-10=25", "30+30=60", "25+60=85" ]
Current State: 85:[10, 35, 30, 30], Operations: [] Exploring Operation: 35-10=25, Resulting Numbers: [30, 30, 25] Generated Node #2: [30, 30, 25] from Operation: 35-10=25 Current State: 85:[30, 30, 25], Operations: ['35-10=25'] Exploring Operation: 30+30=60, Resulting Numbers: [25, 60] Generated Node #3: [25, 60] from Operation: 30+30=60 Current State: 85:[25, 60], Operations: ['35-10=25', '30+30=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[10, 35, 30, 30], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [10, 30, 5] Generated Node #0,0: 85:[10, 30, 5] Operation: 35-30=5 Exploring Operation: 30-30=0, Resulting Numbers: [10, 35, 0] Generated Node #0,1: 85:[10, 35, 0] Operation: 30-30=0 Exploring Operation: 30/30=1, Resulting Numbers: [10, 35, 1] Generated Node #0,2: 85:[10, 35, 1] Operation: 30/30=1 Exploring Operation: 30/10=3, Resulting Numbers: [35, 30, 3] Generated Node #0,3: 85:[35, 30, 3] Operation: 30/10=3 Exploring Operation: 35-30=5, Resulting Numbers: [10, 30, 5] Generated Node #0,4: 85:[10, 30, 5] Operation: 35-30=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[10, 30, 5], Operations: ['35-30=5'] Exploring Operation: 10-5=5, Resulting Numbers: [30, 5] Generated Node #0,0,0: 85:[30, 5] Operation: 10-5=5 Exploring Operation: 30/5=6, Resulting Numbers: [10, 6] Generated Node #0,0,1: 85:[10, 6] Operation: 30/5=6 Exploring Operation: 30-10=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 85:[5, 20] Operation: 30-10=20 Exploring Operation: 30-5=25, Resulting Numbers: [10, 25] Generated Node #0,0,3: 85:[10, 25] Operation: 30-5=25 Exploring Operation: 30/10=3, Resulting Numbers: [5, 3] Generated Node #0,0,4: 85:[5, 3] Operation: 30/10=3 Moving to Node #0,0,4 Current State: 85:[5, 3], Operations: ['35-30=5', '30/10=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[5, 20], Operations: ['35-30=5', '30-10=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[10, 6], Operations: ['35-30=5', '30/5=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,85 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[30, 5], Operations: ['35-30=5', '10-5=5'] Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,85 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[10, 25], Operations: ['35-30=5', '30-5=25'] Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,85 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,85 unequal: No Solution No 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: 85:[10, 30, 5], Operations: ['35-30=5'] Exploring Operation: 30-5=25, Resulting Numbers: [10, 25] Generated Node #0,4,0: 85:[10, 25] Operation: 30-5=25 Exploring Operation: 10-5=5, Resulting Numbers: [30, 5] Generated Node #0,4,1: 85:[30, 5] Operation: 10-5=5 Exploring Operation: 30/5=6, Resulting Numbers: [10, 6] Generated Node #0,4,2: 85:[10, 6] Operation: 30/5=6 Exploring Operation: 30-10=20, Resulting Numbers: [5, 20] Generated Node #0,4,3: 85:[5, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [5, 3] Generated Node #0,4,4: 85:[5, 3] Operation: 30/10=3 Moving to Node #0,4,4 Current State: 85:[5, 3], Operations: ['35-30=5', '30/10=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,85 unequal: No Solution Moving to Node #0,4,3 Current State: 85:[5, 20], Operations: ['35-30=5', '30-10=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,4,2 Current State: 85:[10, 6], Operations: ['35-30=5', '30/5=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,85 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,85 unequal: No Solution Moving to Node #0,4,0 Current State: 85:[10, 25], Operations: ['35-30=5', '30-5=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,85 unequal: No Solution Moving to Node #0,4,1 Current State: 85:[30, 5], Operations: ['35-30=5', '10-5=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,85 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,85 unequal: No Solution No 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: 85:[10, 35, 1], Operations: ['30/30=1'] Exploring Operation: 35-10=25, Resulting Numbers: [1, 25] Generated Node #0,2,0: 85:[1, 25] Operation: 35-10=25 Exploring Operation: 10*1=10, Resulting Numbers: [35, 10] Generated Node #0,2,1: 85:[35, 10] Operation: 10*1=10 Exploring Operation: 10/1=10, Resulting Numbers: [35, 10] Generated Node #0,2,2: 85:[35, 10] Operation: 10/1=10 Exploring Operation: 10-1=9, Resulting Numbers: [35, 9] Generated Node #0,2,3: 85:[35, 9] Operation: 10-1=9 Exploring Operation: 35-1=34, Resulting Numbers: [10, 34] Generated Node #0,2,4: 85:[10, 34] Operation: 35-1=34 Moving to Node #0,2,0 Current State: 85:[1, 25], Operations: ['30/30=1', '35-10=25'] Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,85 unequal: No Solution Moving to Node #0,2,4 Current State: 85:[10, 34], Operations: ['30/30=1', '35-1=34'] Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,85 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[35, 9], Operations: ['30/30=1', '10-1=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,85 unequal: No Solution Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,85 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[35, 10], Operations: ['30/30=1', '10*1=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[35, 10], Operations: ['30/30=1', '10/1=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,85 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,85 unequal: No Solution No 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: 85:[10, 35, 0], Operations: ['30-30=0'] Exploring Operation: 10+0=10, Resulting Numbers: [35, 10] Generated Node #0,1,0: 85:[35, 10] Operation: 10+0=10 Exploring Operation: 35-10=25, Resulting Numbers: [0, 25] Generated Node #0,1,1: 85:[0, 25] Operation: 35-10=25 Exploring Operation: 35*0=0, Resulting Numbers: [10, 0] Generated Node #0,1,2: 85:[10, 0] Operation: 35*0=0 Exploring Operation: 10-0=10, Resulting Numbers: [35, 10] Generated Node #0,1,3: 85:[35, 10] Operation: 10-0=10 Exploring Operation: 10*0=0, Resulting Numbers: [35, 0] Generated Node #0,1,4: 85:[35, 0] Operation: 10*0=0 Moving to Node #0,1,2 Current State: 85:[10, 0], Operations: ['30-30=0', '35*0=0'] Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[0, 25], Operations: ['30-30=0', '35-10=25'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 0+25=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 0*25=0, Resulting Numbers: [0] 0,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[35, 10], Operations: ['30-30=0', '10+0=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,85 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[35, 10], Operations: ['30-30=0', '10-0=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,85 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[35, 0], Operations: ['30-30=0', '10*0=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,85 unequal: No Solution No 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: 85:[35, 30, 3], Operations: ['30/10=3'] Exploring Operation: 35-3=32, Resulting Numbers: [30, 32] Generated Node #0,3,0: 85:[30, 32] Operation: 35-3=32 Exploring Operation: 35+30=65, Resulting Numbers: [3, 65] Generated Node #0,3,1: 85:[3, 65] Operation: 35+30=65 Exploring Operation: 35-30=5, Resulting Numbers: [3, 5] Generated Node #0,3,2: 85:[3, 5] Operation: 35-30=5 Exploring Operation: 30*3=90, Resulting Numbers: [35, 90] Generated Node #0,3,3: 85:[35, 90] Operation: 30*3=90 Exploring Operation: 30/3=10, Resulting Numbers: [35, 10] Generated Node #0,3,4: 85:[35, 10] Operation: 30/3=10 Moving to Node #0,3,2 Current State: 85:[3, 5], Operations: ['30/10=3', '35-30=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[3, 65], Operations: ['30/10=3', '35+30=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,85 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[35, 90], Operations: ['30/10=3', '30*3=90'] Exploring Operation: 35*90=3150, Resulting Numbers: [3150] 3150,85 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,85 unequal: No Solution Exploring Operation: 35+90=125, Resulting Numbers: [125] 125,85 unequal: No Solution Moving to Node #0,3,4 Current State: 85:[35, 10], Operations: ['30/10=3', '30/3=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,85 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[30, 32], Operations: ['30/10=3', '35-3=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,85 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,85 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,85 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
[ 11, 86, 90, 68 ]
16
[ "86-68=18", "90/18=5", "11+5=16" ]
Current State: 16:[11, 86, 90, 68], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [11, 90, 18] Generated Node #2: [11, 90, 18] from Operation: 86-68=18 Current State: 16:[11, 90, 18], Operations: ['86-68=18'] Exploring Operation: 90/18=5, Resulting Numbers: [11, 5] Generated Node #3: [11, 5] from Operation: 90/18=5 Current State: 16:[11, 5], Operations: ['86-68=18', '90/18=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[11, 86, 90, 68], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [11, 68, 4] Generated Node #0,0: 16:[11, 68, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 16:[11, 68, 4], Operations: ['90-86=4'] Exploring Operation: 68/4=17, Resulting Numbers: [11, 17] Generated Node #0,0,0: 16:[11, 17] Operation: 68/4=17 Moving to Node #0,0,0 Current State: 16:[11, 17], Operations: ['90-86=4', '68/4=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,16 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 69, 7, 72 ]
34
[ "44+69=113", "7+72=79", "113-79=34" ]
Current State: 34:[44, 69, 7, 72], Operations: [] Exploring Operation: 44+69=113, Resulting Numbers: [7, 72, 113] Generated Node #2: [7, 72, 113] from Operation: 44+69=113 Current State: 34:[7, 72, 113], Operations: ['44+69=113'] Exploring Operation: 7+72=79, Resulting Numbers: [113, 79] Generated Node #3: [113, 79] from Operation: 7+72=79 Current State: 34:[113, 79], Operations: ['44+69=113', '7+72=79'] Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[44, 69, 7, 72], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [44, 7, 3] Generated Node #0,0: 34:[44, 7, 3] Operation: 72-69=3 Exploring Operation: 69-7=62, Resulting Numbers: [44, 72, 62] Generated Node #0,1: 34:[44, 72, 62] Operation: 69-7=62 Exploring Operation: 44-7=37, Resulting Numbers: [69, 72, 37] Generated Node #0,2: 34:[69, 72, 37] Operation: 44-7=37 Exploring Operation: 69-44=25, Resulting Numbers: [7, 72, 25] Generated Node #0,3: 34:[7, 72, 25] Operation: 69-44=25 Exploring Operation: 72-44=28, Resulting Numbers: [69, 7, 28] Generated Node #0,4: 34:[69, 7, 28] Operation: 72-44=28 Moving to Node #0,0 Current State: 34:[44, 7, 3], Operations: ['72-69=3'] Exploring Operation: 7+3=10, Resulting Numbers: [44, 10] Generated Node #0,0,0: 34:[44, 10] Operation: 7+3=10 Exploring Operation: 44-3=41, Resulting Numbers: [7, 41] Generated Node #0,0,1: 34:[7, 41] Operation: 44-3=41 Exploring Operation: 7*3=21, Resulting Numbers: [44, 21] Generated Node #0,0,2: 34:[44, 21] Operation: 7*3=21 Exploring Operation: 44-7=37, Resulting Numbers: [3, 37] Generated Node #0,0,3: 34:[3, 37] Operation: 44-7=37 Exploring Operation: 7-3=4, Resulting Numbers: [44, 4] Generated Node #0,0,4: 34:[44, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[3, 37], Operations: ['72-69=3', '44-7=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,34 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[44, 69, 7, 72], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [44, 7, 3] Generated Node #0,0: 34:[44, 7, 3] Operation: 72-69=3 Moving to Node #0,0 Current State: 34:[44, 7, 3], Operations: ['72-69=3'] Exploring Operation: 44-7=37, Resulting Numbers: [3, 37] Generated Node #0,0,3: 34:[3, 37] Operation: 44-7=37 Moving to Node #0,0,3 Current State: 34:[3, 37], Operations: ['72-69=3', '44-7=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 30, 15, 25, 88 ]
48
[ "30-15=15", "88-25=63", "63-15=48" ]
Current State: 48:[30, 15, 25, 88], Operations: [] Exploring Operation: 30-15=15, Resulting Numbers: [25, 88, 15] Generated Node #2: [25, 88, 15] from Operation: 30-15=15 Current State: 48:[25, 88, 15], Operations: ['30-15=15'] Exploring Operation: 88-25=63, Resulting Numbers: [15, 63] Generated Node #3: [15, 63] from Operation: 88-25=63 Current State: 48:[15, 63], Operations: ['30-15=15', '88-25=63'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[30, 15, 25, 88], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [15, 25, 58] Generated Node #0,0: 48:[15, 25, 58] Operation: 88-30=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[15, 25, 58], Operations: ['88-30=58'] Exploring Operation: 58-15=43, Resulting Numbers: [25, 43] Generated Node #0,0,0: 48:[25, 43] Operation: 58-15=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[25, 43], Operations: ['88-30=58', '58-15=43'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,48 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
[ 37, 40, 43, 21 ]
36
[ "40-37=3", "21/3=7", "43-7=36" ]
Current State: 36:[37, 40, 43, 21], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [43, 21, 3] Generated Node #2: [43, 21, 3] from Operation: 40-37=3 Current State: 36:[43, 21, 3], Operations: ['40-37=3'] Exploring Operation: 21/3=7, Resulting Numbers: [43, 7] Generated Node #3: [43, 7] from Operation: 21/3=7 Current State: 36:[43, 7], Operations: ['40-37=3', '21/3=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[37, 40, 43, 21], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [37, 21, 3] Generated Node #0,0: 36:[37, 21, 3] Operation: 43-40=3 Moving to Node #0,0 Current State: 36:[37, 21, 3], Operations: ['43-40=3'] Exploring Operation: 21-3=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 36:[37, 18] Operation: 21-3=18 Moving to Node #0,0,0 Current State: 36:[37, 18], Operations: ['43-40=3', '21-3=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,36 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 28, 58, 7, 4 ]
92
[ "58-28=30", "30-7=23", "4*23=92" ]
Current State: 92:[28, 58, 7, 4], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [7, 4, 30] Generated Node #2: [7, 4, 30] from Operation: 58-28=30 Current State: 92:[7, 4, 30], Operations: ['58-28=30'] Exploring Operation: 30-7=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 30-7=23 Current State: 92:[4, 23], Operations: ['58-28=30', '30-7=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[28, 58, 7, 4], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [7, 4, 30] Generated Node #0,0: 92:[7, 4, 30] Operation: 58-28=30 Exploring Operation: 58-7=51, Resulting Numbers: [28, 4, 51] Generated Node #0,1: 92:[28, 4, 51] Operation: 58-7=51 Exploring Operation: 28/7=4, Resulting Numbers: [58, 4, 4] Generated Node #0,2: 92:[58, 4, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [58, 4, 21] Generated Node #0,3: 92:[58, 4, 21] Operation: 28-7=21 Exploring Operation: 28+58=86, Resulting Numbers: [7, 4, 86] Generated Node #0,4: 92:[7, 4, 86] Operation: 28+58=86 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[7, 4, 86], Operations: ['28+58=86'] Exploring Operation: 4+86=90, Resulting Numbers: [7, 90] Generated Node #0,4,0: 92:[7, 90] Operation: 4+86=90 Exploring Operation: 7-4=3, Resulting Numbers: [86, 3] Generated Node #0,4,1: 92:[86, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [86, 11] Generated Node #0,4,2: 92:[86, 11] Operation: 7+4=11 Exploring Operation: 7+86=93, Resulting Numbers: [4, 93] Generated Node #0,4,3: 92:[4, 93] Operation: 7+86=93 Exploring Operation: 7*4=28, Resulting Numbers: [86, 28] Generated Node #0,4,4: 92:[86, 28] Operation: 7*4=28 Moving to Node #0,4,3 Current State: 92:[4, 93], Operations: ['28+58=86', '7+86=93'] 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 Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[7, 90], Operations: ['28+58=86', '4+86=90'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 7*90=630, Resulting Numbers: [630] 630,92 unequal: No Solution Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[86, 3], Operations: ['28+58=86', '7-4=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,92 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[86, 28], Operations: ['28+58=86', '7*4=28'] Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,92 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,92 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[86, 11], Operations: ['28+58=86', '7+4=11'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,92 unequal: No Solution Exploring Operation: 86+11=97, Resulting Numbers: [97] 97,92 unequal: No Solution Exploring Operation: 86*11=946, Resulting Numbers: [946] 946,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[7, 4, 30], Operations: ['58-28=30'] Exploring Operation: 7*4=28, Resulting Numbers: [30, 28] Generated Node #0,0,0: 92:[30, 28] Operation: 7*4=28 Exploring Operation: 30-7=23, Resulting Numbers: [4, 23] Generated Node #0,0,1: 92:[4, 23] Operation: 30-7=23 Exploring Operation: 7-4=3, Resulting Numbers: [30, 3] Generated Node #0,0,2: 92:[30, 3] Operation: 7-4=3 Exploring Operation: 7+30=37, Resulting Numbers: [4, 37] Generated Node #0,0,3: 92:[4, 37] Operation: 7+30=37 Exploring Operation: 30-4=26, Resulting Numbers: [7, 26] Generated Node #0,0,4: 92:[7, 26] Operation: 30-4=26 Moving to Node #0,0,1 Current State: 92:[4, 23], Operations: ['58-28=30', '30-7=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[28, 58, 7, 4], Operations: [] Exploring Operation: 58-28=30, Resulting Numbers: [7, 4, 30] Generated Node #0,0: 92:[7, 4, 30] Operation: 58-28=30 Moving to Node #0,0 Current State: 92:[7, 4, 30], Operations: ['58-28=30'] Exploring Operation: 30-7=23, Resulting Numbers: [4, 23] Generated Node #0,0,1: 92:[4, 23] Operation: 30-7=23 Moving to Node #0,0,1 Current State: 92:[4, 23], Operations: ['58-28=30', '30-7=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 51, 49, 19, 84 ]
58
[ "49+84=133", "133/19=7", "51+7=58" ]
Current State: 58:[51, 49, 19, 84], Operations: [] Exploring Operation: 49+84=133, Resulting Numbers: [51, 19, 133] Generated Node #2: [51, 19, 133] from Operation: 49+84=133 Current State: 58:[51, 19, 133], Operations: ['49+84=133'] Exploring Operation: 133/19=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 133/19=7 Current State: 58:[51, 7], Operations: ['49+84=133', '133/19=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[51, 49, 19, 84], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [51, 49, 65] Generated Node #0,0: 58:[51, 49, 65] Operation: 84-19=65 Exploring Operation: 84-49=35, Resulting Numbers: [51, 19, 35] Generated Node #0,1: 58:[51, 19, 35] Operation: 84-49=35 Exploring Operation: 84-51=33, Resulting Numbers: [49, 19, 33] Generated Node #0,2: 58:[49, 19, 33] Operation: 84-51=33 Moving to Node #0,0 Current State: 58:[51, 49, 65], Operations: ['84-19=65'] Exploring Operation: 51-49=2, Resulting Numbers: [65, 2] Generated Node #0,0,0: 58:[65, 2] Operation: 51-49=2 Exploring Operation: 65-49=16, Resulting Numbers: [51, 16] Generated Node #0,0,1: 58:[51, 16] Operation: 65-49=16 Exploring Operation: 65-51=14, Resulting Numbers: [49, 14] Generated Node #0,0,2: 58:[49, 14] Operation: 65-51=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[65, 2], Operations: ['84-19=65', '51-49=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[51, 16], Operations: ['84-19=65', '65-49=16'] Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,58 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[49, 14], Operations: ['84-19=65', '65-51=14'] Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,58 unequal: No Solution Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[51, 19, 35], Operations: ['84-49=35'] Exploring Operation: 51-19=32, Resulting Numbers: [35, 32] Generated Node #0,1,0: 58:[35, 32] Operation: 51-19=32 Exploring Operation: 51+19=70, Resulting Numbers: [35, 70] Generated Node #0,1,1: 58:[35, 70] Operation: 51+19=70 Exploring Operation: 19+35=54, Resulting Numbers: [51, 54] Generated Node #0,1,2: 58:[51, 54] Operation: 19+35=54 Moving to Node #0,2 Current State: 58:[49, 19, 33], Operations: ['84-51=33'] Exploring Operation: 49+19=68, Resulting Numbers: [33, 68] Generated Node #0,2,0: 58:[33, 68] Operation: 49+19=68 Exploring Operation: 49-19=30, Resulting Numbers: [33, 30] Generated Node #0,2,1: 58:[33, 30] Operation: 49-19=30 Exploring Operation: 19+33=52, Resulting Numbers: [49, 52] Generated Node #0,2,2: 58:[49, 52] Operation: 19+33=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[33, 30], Operations: ['84-51=33', '49-19=30'] Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,58 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[33, 68], Operations: ['84-51=33', '49+19=68'] Exploring Operation: 33+68=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 33*68=2244, Resulting Numbers: [2244] 2244,58 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[49, 52], Operations: ['84-51=33', '19+33=52'] Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,58 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 58:[35, 32], Operations: ['84-49=35', '51-19=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[51, 54], Operations: ['84-49=35', '19+35=54'] Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,58 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[35, 70], Operations: ['84-49=35', '51+19=70'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,58 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 26, 2, 98, 49 ]
11
[ "26/2=13", "98/49=2", "13-2=11" ]
Current State: 11:[26, 2, 98, 49], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [98, 49, 13] Generated Node #2: [98, 49, 13] from Operation: 26/2=13 Current State: 11:[98, 49, 13], Operations: ['26/2=13'] Exploring Operation: 98/49=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 98/49=2 Current State: 11:[13, 2], Operations: ['26/2=13', '98/49=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[26, 2, 98, 49], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 11:[26, 2, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [26, 2, 49] Generated Node #0,1: 11:[26, 2, 49] Operation: 98-49=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[26, 2, 2], Operations: ['98/49=2'] Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 11:[2, 13] Operation: 26/2=13 Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 11:[2, 13] Operation: 26/2=13 Moving to Node #0,0,0 Current State: 11:[2, 13], Operations: ['98/49=2', '26/2=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[26, 2, 98, 49], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 11:[26, 2, 2] Operation: 98/49=2 Moving to Node #0,0 Current State: 11:[26, 2, 2], Operations: ['98/49=2'] Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 11:[2, 13] Operation: 26/2=13 Moving to Node #0,0,0 Current State: 11:[2, 13], Operations: ['98/49=2', '26/2=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 77, 53, 90, 15 ]
18
[ "77-53=24", "90/15=6", "24-6=18" ]
Current State: 18:[77, 53, 90, 15], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [90, 15, 24] Generated Node #2: [90, 15, 24] from Operation: 77-53=24 Current State: 18:[90, 15, 24], Operations: ['77-53=24'] Exploring Operation: 90/15=6, Resulting Numbers: [24, 6] Generated Node #3: [24, 6] from Operation: 90/15=6 Current State: 18:[24, 6], Operations: ['77-53=24', '90/15=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[77, 53, 90, 15], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [53, 15, 13] Generated Node #0,0: 18:[53, 15, 13] Operation: 90-77=13 Exploring Operation: 77-53=24, Resulting Numbers: [90, 15, 24] Generated Node #0,1: 18:[90, 15, 24] Operation: 77-53=24 Moving to Node #0,0 Current State: 18:[53, 15, 13], Operations: ['90-77=13'] Exploring Operation: 53-15=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 18:[13, 38] Operation: 53-15=38 Exploring Operation: 53-13=40, Resulting Numbers: [15, 40] Generated Node #0,0,1: 18:[15, 40] Operation: 53-13=40 Moving to Node #0,1 Current State: 18:[90, 15, 24], Operations: ['77-53=24'] Exploring Operation: 90-24=66, Resulting Numbers: [15, 66] Generated Node #0,1,0: 18:[15, 66] Operation: 90-24=66 Exploring Operation: 90/15=6, Resulting Numbers: [24, 6] Generated Node #0,1,1: 18:[24, 6] Operation: 90/15=6 Moving to Node #0,1,1 Current State: 18:[24, 6], Operations: ['77-53=24', '90/15=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[77, 53, 90, 15], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [90, 15, 24] Generated Node #0,1: 18:[90, 15, 24] Operation: 77-53=24 Moving to Node #0,1 Current State: 18:[90, 15, 24], Operations: ['77-53=24'] Exploring Operation: 90/15=6, Resulting Numbers: [24, 6] Generated Node #0,1,1: 18:[24, 6] Operation: 90/15=6 Moving to Node #0,1,1 Current State: 18:[24, 6], Operations: ['77-53=24', '90/15=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 5, 99, 1, 60 ]
84
[ "5-1=4", "60/4=15", "99-15=84" ]
Current State: 84:[5, 99, 1, 60], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [99, 60, 4] Generated Node #2: [99, 60, 4] from Operation: 5-1=4 Current State: 84:[99, 60, 4], Operations: ['5-1=4'] Exploring Operation: 60/4=15, Resulting Numbers: [99, 15] Generated Node #3: [99, 15] from Operation: 60/4=15 Current State: 84:[99, 15], Operations: ['5-1=4', '60/4=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[5, 99, 1, 60], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [5, 1, 39] Generated Node #0,0: 84:[5, 1, 39] Operation: 99-60=39 Exploring Operation: 60/5=12, Resulting Numbers: [99, 1, 12] Generated Node #0,1: 84:[99, 1, 12] Operation: 60/5=12 Moving to Node #0,0 Current State: 84:[5, 1, 39], Operations: ['99-60=39'] Exploring Operation: 5-1=4, Resulting Numbers: [39, 4] Generated Node #0,0,0: 84:[39, 4] Operation: 5-1=4 Exploring Operation: 5+1=6, Resulting Numbers: [39, 6] Generated Node #0,0,1: 84:[39, 6] Operation: 5+1=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[39, 4], Operations: ['99-60=39', '5-1=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[39, 6], Operations: ['99-60=39', '5+1=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[99, 1, 12], Operations: ['60/5=12'] Exploring Operation: 99-1=98, Resulting Numbers: [12, 98] Generated Node #0,1,0: 84:[12, 98] Operation: 99-1=98 Exploring Operation: 99-12=87, Resulting Numbers: [1, 87] Generated Node #0,1,1: 84:[1, 87] Operation: 99-12=87 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[1, 87], Operations: ['60/5=12', '99-12=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,84 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[12, 98], Operations: ['60/5=12', '99-1=98'] Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,84 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 66, 25, 15 ]
86
[ "12*25=300", "300/15=20", "66+20=86" ]
Current State: 86:[12, 66, 25, 15], Operations: [] Exploring Operation: 12*25=300, Resulting Numbers: [66, 15, 300] Generated Node #2: [66, 15, 300] from Operation: 12*25=300 Current State: 86:[66, 15, 300], Operations: ['12*25=300'] Exploring Operation: 300/15=20, Resulting Numbers: [66, 20] Generated Node #3: [66, 20] from Operation: 300/15=20 Current State: 86:[66, 20], Operations: ['12*25=300', '300/15=20'] Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[12, 66, 25, 15], Operations: [] Exploring Operation: 66+25=91, Resulting Numbers: [12, 15, 91] Generated Node #0,0: 86:[12, 15, 91] Operation: 66+25=91 Exploring Operation: 66-25=41, Resulting Numbers: [12, 15, 41] Generated Node #0,1: 86:[12, 15, 41] Operation: 66-25=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[12, 15, 41], Operations: ['66-25=41'] Exploring Operation: 15-12=3, Resulting Numbers: [41, 3] Generated Node #0,1,0: 86:[41, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [41, 27] Generated Node #0,1,1: 86:[41, 27] Operation: 12+15=27 Moving to Node #0,1,0 Current State: 86:[41, 3], Operations: ['66-25=41', '15-12=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[41, 27], Operations: ['66-25=41', '12+15=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[12, 15, 91], Operations: ['66+25=91'] Exploring Operation: 15-12=3, Resulting Numbers: [91, 3] Generated Node #0,0,0: 86:[91, 3] Operation: 15-12=3 Exploring Operation: 91-12=79, Resulting Numbers: [15, 79] Generated Node #0,0,1: 86:[15, 79] Operation: 91-12=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[91, 3], Operations: ['66+25=91', '15-12=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[15, 79], Operations: ['66+25=91', '91-12=79'] Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,86 unequal: No Solution Exploring Operation: 15+79=94, Resulting Numbers: [94] 94,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 95, 91, 10, 69 ]
83
[ "95-91=4", "10+69=79", "4+79=83" ]
Current State: 83:[95, 91, 10, 69], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [10, 69, 4] Generated Node #2: [10, 69, 4] from Operation: 95-91=4 Current State: 83:[10, 69, 4], Operations: ['95-91=4'] Exploring Operation: 10+69=79, Resulting Numbers: [4, 79] Generated Node #3: [4, 79] from Operation: 10+69=79 Current State: 83:[4, 79], Operations: ['95-91=4', '10+69=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[95, 91, 10, 69], Operations: [] Exploring Operation: 95-10=85, Resulting Numbers: [91, 69, 85] Generated Node #0,0: 83:[91, 69, 85] Operation: 95-10=85 Moving to Node #0,0 Current State: 83:[91, 69, 85], Operations: ['95-10=85'] Exploring Operation: 91-69=22, Resulting Numbers: [85, 22] Generated Node #0,0,0: 83:[85, 22] Operation: 91-69=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[85, 22], Operations: ['95-10=85', '91-69=22'] Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 6, 80, 23 ]
54
[ "4+80=84", "6*23=138", "138-84=54" ]
Current State: 54:[4, 6, 80, 23], Operations: [] Exploring Operation: 4+80=84, Resulting Numbers: [6, 23, 84] Generated Node #2: [6, 23, 84] from Operation: 4+80=84 Current State: 54:[6, 23, 84], Operations: ['4+80=84'] Exploring Operation: 6*23=138, Resulting Numbers: [84, 138] Generated Node #3: [84, 138] from Operation: 6*23=138 Current State: 54:[84, 138], Operations: ['4+80=84', '6*23=138'] Exploring Operation: 138-84=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[4, 6, 80, 23], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [6, 23, 20] Generated Node #0,0: 54:[6, 23, 20] Operation: 80/4=20 Exploring Operation: 80-23=57, Resulting Numbers: [4, 6, 57] Generated Node #0,1: 54:[4, 6, 57] Operation: 80-23=57 Exploring Operation: 80-6=74, Resulting Numbers: [4, 23, 74] Generated Node #0,2: 54:[4, 23, 74] Operation: 80-6=74 Exploring Operation: 4+23=27, Resulting Numbers: [6, 80, 27] Generated Node #0,3: 54:[6, 80, 27] Operation: 4+23=27 Exploring Operation: 80-4=76, Resulting Numbers: [6, 23, 76] Generated Node #0,4: 54:[6, 23, 76] Operation: 80-4=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[4, 6, 57], Operations: ['80-23=57'] Exploring Operation: 4*6=24, Resulting Numbers: [57, 24] Generated Node #0,1,0: 54:[57, 24] Operation: 4*6=24 Exploring Operation: 57-6=51, Resulting Numbers: [4, 51] Generated Node #0,1,1: 54:[4, 51] Operation: 57-6=51 Exploring Operation: 57-4=53, Resulting Numbers: [6, 53] Generated Node #0,1,2: 54:[6, 53] Operation: 57-4=53 Exploring Operation: 4+6=10, Resulting Numbers: [57, 10] Generated Node #0,1,3: 54:[57, 10] Operation: 4+6=10 Exploring Operation: 6-4=2, Resulting Numbers: [57, 2] Generated Node #0,1,4: 54:[57, 2] Operation: 6-4=2 Moving to Node #0,1,2 Current State: 54:[6, 53], Operations: ['80-23=57', '57-4=53'] Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,54 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[57, 2], Operations: ['80-23=57', '6-4=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[4, 51], Operations: ['80-23=57', '57-6=51'] Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,54 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[57, 10], Operations: ['80-23=57', '4+6=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,54 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,54 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[57, 24], Operations: ['80-23=57', '4*6=24'] Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,54 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[6, 23, 20], Operations: ['80/4=20'] Exploring Operation: 23-6=17, Resulting Numbers: [20, 17] Generated Node #0,0,0: 54:[20, 17] Operation: 23-6=17 Exploring Operation: 20-6=14, Resulting Numbers: [23, 14] Generated Node #0,0,1: 54:[23, 14] Operation: 20-6=14 Exploring Operation: 6+23=29, Resulting Numbers: [20, 29] Generated Node #0,0,2: 54:[20, 29] Operation: 6+23=29 Exploring Operation: 23-20=3, Resulting Numbers: [6, 3] Generated Node #0,0,3: 54:[6, 3] Operation: 23-20=3 Exploring Operation: 6+20=26, Resulting Numbers: [23, 26] Generated Node #0,0,4: 54:[23, 26] Operation: 6+20=26 Moving to Node #0,0,3 Current State: 54:[6, 3], Operations: ['80/4=20', '23-20=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[20, 17], Operations: ['80/4=20', '23-6=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[20, 29], Operations: ['80/4=20', '6+23=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,54 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,54 unequal: No Solution Moving to Node #0,0,4 Current State: 54:[23, 26], Operations: ['80/4=20', '6+20=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[23, 14], Operations: ['80/4=20', '20-6=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[4, 23, 74], Operations: ['80-6=74'] Exploring Operation: 74-4=70, Resulting Numbers: [23, 70] Generated Node #0,2,0: 54:[23, 70] Operation: 74-4=70 Exploring Operation: 4+74=78, Resulting Numbers: [23, 78] Generated Node #0,2,1: 54:[23, 78] Operation: 4+74=78 Exploring Operation: 23-4=19, Resulting Numbers: [74, 19] Generated Node #0,2,2: 54:[74, 19] Operation: 23-4=19 Exploring Operation: 4+23=27, Resulting Numbers: [74, 27] Generated Node #0,2,3: 54:[74, 27] Operation: 4+23=27 Exploring Operation: 74-23=51, Resulting Numbers: [4, 51] Generated Node #0,2,4: 54:[4, 51] Operation: 74-23=51 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 54:[4, 51], Operations: ['80-6=74', '74-23=51'] Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,54 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[23, 70], Operations: ['80-6=74', '74-4=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[74, 27], Operations: ['80-6=74', '4+23=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,54 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,54 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 54:[74, 19], Operations: ['80-6=74', '23-4=19'] Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,54 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[23, 78], Operations: ['80-6=74', '4+74=78'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,54 unequal: No Solution Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[6, 80, 27], Operations: ['4+23=27'] Exploring Operation: 80-6=74, Resulting Numbers: [27, 74] Generated Node #0,3,0: 54:[27, 74] Operation: 80-6=74 Exploring Operation: 80-27=53, Resulting Numbers: [6, 53] Generated Node #0,3,1: 54:[6, 53] Operation: 80-27=53 Exploring Operation: 6+27=33, Resulting Numbers: [80, 33] Generated Node #0,3,2: 54:[80, 33] Operation: 6+27=33 Exploring Operation: 6+80=86, Resulting Numbers: [27, 86] Generated Node #0,3,3: 54:[27, 86] Operation: 6+80=86 Exploring Operation: 27-6=21, Resulting Numbers: [80, 21] Generated Node #0,3,4: 54:[80, 21] Operation: 27-6=21 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[6, 53], Operations: ['4+23=27', '80-27=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,54 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[27, 74], Operations: ['4+23=27', '80-6=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,54 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 54:[80, 21], Operations: ['4+23=27', '27-6=21'] Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,54 unequal: No Solution Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,54 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[80, 33], Operations: ['4+23=27', '6+27=33'] Exploring Operation: 80*33=2640, Resulting Numbers: [2640] 2640,54 unequal: No Solution Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 80+33=113, Resulting Numbers: [113] 113,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[27, 86], Operations: ['4+23=27', '6+80=86'] Exploring Operation: 27*86=2322, Resulting Numbers: [2322] 2322,54 unequal: No Solution Exploring Operation: 27+86=113, Resulting Numbers: [113] 113,54 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[6, 23, 76], Operations: ['80-4=76'] Exploring Operation: 23-6=17, Resulting Numbers: [76, 17] Generated Node #0,4,0: 54:[76, 17] Operation: 23-6=17 Exploring Operation: 76-6=70, Resulting Numbers: [23, 70] Generated Node #0,4,1: 54:[23, 70] Operation: 76-6=70 Exploring Operation: 6+23=29, Resulting Numbers: [76, 29] Generated Node #0,4,2: 54:[76, 29] Operation: 6+23=29 Exploring Operation: 6+76=82, Resulting Numbers: [23, 82] Generated Node #0,4,3: 54:[23, 82] Operation: 6+76=82 Exploring Operation: 76-23=53, Resulting Numbers: [6, 53] Generated Node #0,4,4: 54:[6, 53] Operation: 76-23=53 Moving to Node #0,4,4 Current State: 54:[6, 53], Operations: ['80-4=76', '76-23=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[23, 70], Operations: ['80-4=76', '76-6=70'] Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,54 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,54 unequal: No Solution Moving to Node #0,4,0 Current State: 54:[76, 17], Operations: ['80-4=76', '23-6=17'] Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,54 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[76, 29], Operations: ['80-4=76', '6+23=29'] Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,54 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[23, 82], Operations: ['80-4=76', '6+76=82'] Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,54 unequal: No Solution Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,54 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
[ 4, 7, 60, 45 ]
94
[ "4+7=11", "60+45=105", "105-11=94" ]
Current State: 94:[4, 7, 60, 45], Operations: [] Exploring Operation: 4+7=11, Resulting Numbers: [60, 45, 11] Generated Node #2: [60, 45, 11] from Operation: 4+7=11 Current State: 94:[60, 45, 11], Operations: ['4+7=11'] Exploring Operation: 60+45=105, Resulting Numbers: [11, 105] Generated Node #3: [11, 105] from Operation: 60+45=105 Current State: 94:[11, 105], Operations: ['4+7=11', '60+45=105'] Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[4, 7, 60, 45], Operations: [] Exploring Operation: 60+45=105, Resulting Numbers: [4, 7, 105] Generated Node #0,0: 94:[4, 7, 105] Operation: 60+45=105 Exploring Operation: 60-7=53, Resulting Numbers: [4, 45, 53] Generated Node #0,1: 94:[4, 45, 53] Operation: 60-7=53 Exploring Operation: 7-4=3, Resulting Numbers: [60, 45, 3] Generated Node #0,2: 94:[60, 45, 3] Operation: 7-4=3 Exploring Operation: 60-4=56, Resulting Numbers: [7, 45, 56] Generated Node #0,3: 94:[7, 45, 56] Operation: 60-4=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[4, 45, 53], Operations: ['60-7=53'] Exploring Operation: 4+45=49, Resulting Numbers: [53, 49] Generated Node #0,1,0: 94:[53, 49] Operation: 4+45=49 Exploring Operation: 45+53=98, Resulting Numbers: [4, 98] Generated Node #0,1,1: 94:[4, 98] Operation: 45+53=98 Exploring Operation: 53-45=8, Resulting Numbers: [4, 8] Generated Node #0,1,2: 94:[4, 8] Operation: 53-45=8 Exploring Operation: 53-4=49, Resulting Numbers: [45, 49] Generated Node #0,1,3: 94:[45, 49] Operation: 53-4=49 Moving to Node #0,1,3 Current State: 94:[45, 49], Operations: ['60-7=53', '53-4=49'] Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,94 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[4, 7, 60, 45], Operations: [] Exploring Operation: 60-7=53, Resulting Numbers: [4, 45, 53] Generated Node #0,1: 94:[4, 45, 53] Operation: 60-7=53 Moving to Node #0,1 Current State: 94:[4, 45, 53], Operations: ['60-7=53'] Exploring Operation: 53-4=49, Resulting Numbers: [45, 49] Generated Node #0,1,3: 94:[45, 49] Operation: 53-4=49 Moving to Node #0,1,3 Current State: 94:[45, 49], Operations: ['60-7=53', '53-4=49'] Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 26, 86, 13, 67 ]
17
[ "26/13=2", "86-67=19", "19-2=17" ]
Current State: 17:[26, 86, 13, 67], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [86, 67, 2] Generated Node #2: [86, 67, 2] from Operation: 26/13=2 Current State: 17:[86, 67, 2], Operations: ['26/13=2'] Exploring Operation: 86-67=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 86-67=19 Current State: 17:[2, 19], Operations: ['26/13=2', '86-67=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[26, 86, 13, 67], Operations: [] Exploring Operation: 86-67=19, Resulting Numbers: [26, 13, 19] Generated Node #0,0: 17:[26, 13, 19] Operation: 86-67=19 Exploring Operation: 86-26=60, Resulting Numbers: [13, 67, 60] Generated Node #0,1: 17:[13, 67, 60] Operation: 86-26=60 Exploring Operation: 67-26=41, Resulting Numbers: [86, 13, 41] Generated Node #0,2: 17:[86, 13, 41] Operation: 67-26=41 Exploring Operation: 86-13=73, Resulting Numbers: [26, 67, 73] Generated Node #0,3: 17:[26, 67, 73] Operation: 86-13=73 Exploring Operation: 67-13=54, Resulting Numbers: [26, 86, 54] Generated Node #0,4: 17:[26, 86, 54] Operation: 67-13=54 Moving to Node #0,0 Current State: 17:[26, 13, 19], Operations: ['86-67=19'] Exploring Operation: 26/13=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 17:[19, 2] Operation: 26/13=2 Exploring Operation: 19-13=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 17:[26, 6] Operation: 19-13=6 Exploring Operation: 26-13=13, Resulting Numbers: [19, 13] Generated Node #0,0,2: 17:[19, 13] Operation: 26-13=13 Exploring Operation: 26+13=39, Resulting Numbers: [19, 39] Generated Node #0,0,3: 17:[19, 39] Operation: 26+13=39 Exploring Operation: 26-19=7, Resulting Numbers: [13, 7] Generated Node #0,0,4: 17:[13, 7] Operation: 26-19=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[19, 13], Operations: ['86-67=19', '26-13=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,17 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[13, 7], Operations: ['86-67=19', '26-19=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[19, 2], Operations: ['86-67=19', '26/13=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[26, 86, 13, 67], Operations: [] Exploring Operation: 86-67=19, Resulting Numbers: [26, 13, 19] Generated Node #0,0: 17:[26, 13, 19] Operation: 86-67=19 Moving to Node #0,0 Current State: 17:[26, 13, 19], Operations: ['86-67=19'] Exploring Operation: 26/13=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 17:[19, 2] Operation: 26/13=2 Moving to Node #0,0,0 Current State: 17:[19, 2], Operations: ['86-67=19', '26/13=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 35, 77, 6, 84 ]
30
[ "35*6=210", "84-77=7", "210/7=30" ]
Current State: 30:[35, 77, 6, 84], Operations: [] Exploring Operation: 35*6=210, Resulting Numbers: [77, 84, 210] Generated Node #2: [77, 84, 210] from Operation: 35*6=210 Current State: 30:[77, 84, 210], Operations: ['35*6=210'] Exploring Operation: 84-77=7, Resulting Numbers: [210, 7] Generated Node #3: [210, 7] from Operation: 84-77=7 Current State: 30:[210, 7], Operations: ['35*6=210', '84-77=7'] Exploring Operation: 210/7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[35, 77, 6, 84], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [35, 77, 14] Generated Node #0,0: 30:[35, 77, 14] Operation: 84/6=14 Exploring Operation: 84-77=7, Resulting Numbers: [35, 6, 7] Generated Node #0,1: 30:[35, 6, 7] Operation: 84-77=7 Exploring Operation: 84-35=49, Resulting Numbers: [77, 6, 49] Generated Node #0,2: 30:[77, 6, 49] Operation: 84-35=49 Exploring Operation: 77-35=42, Resulting Numbers: [6, 84, 42] Generated Node #0,3: 30:[6, 84, 42] Operation: 77-35=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[35, 6, 7], Operations: ['84-77=7'] Exploring Operation: 35/7=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 30:[6, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [6, 28] Generated Node #0,1,1: 30:[6, 28] Operation: 35-7=28 Exploring Operation: 35-6=29, Resulting Numbers: [7, 29] Generated Node #0,1,2: 30:[7, 29] Operation: 35-6=29 Exploring Operation: 7-6=1, Resulting Numbers: [35, 1] Generated Node #0,1,3: 30:[35, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[6, 5], Operations: ['84-77=7', '35/7=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[35, 77, 6, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [35, 6, 7] Generated Node #0,1: 30:[35, 6, 7] Operation: 84-77=7 Moving to Node #0,1 Current State: 30:[35, 6, 7], Operations: ['84-77=7'] Exploring Operation: 35/7=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 30:[6, 5] Operation: 35/7=5 Moving to Node #0,1,0 Current State: 30:[6, 5], Operations: ['84-77=7', '35/7=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 51, 40, 56, 4 ]
20
[ "56-51=5", "4*5=20", "40-20=20" ]
Current State: 20:[51, 40, 56, 4], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [40, 4, 5] Generated Node #2: [40, 4, 5] from Operation: 56-51=5 Current State: 20:[40, 4, 5], Operations: ['56-51=5'] Exploring Operation: 4*5=20, Resulting Numbers: [40, 20] Generated Node #3: [40, 20] from Operation: 4*5=20 Current State: 20:[40, 20], Operations: ['56-51=5', '4*5=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[51, 40, 56, 4], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [40, 4, 5] Generated Node #0,0: 20:[40, 4, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 20:[40, 4, 5], Operations: ['56-51=5'] Exploring Operation: 40/4=10, Resulting Numbers: [5, 10] Generated Node #0,0,0: 20:[5, 10] Operation: 40/4=10 Moving to Node #0,0,0 Current State: 20:[5, 10], Operations: ['56-51=5', '40/4=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,20 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 5, 96, 34 ]
40
[ "20/5=4", "34*4=136", "136-96=40" ]
Current State: 40:[20, 5, 96, 34], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [96, 34, 4] Generated Node #2: [96, 34, 4] from Operation: 20/5=4 Current State: 40:[96, 34, 4], Operations: ['20/5=4'] Exploring Operation: 34*4=136, Resulting Numbers: [96, 136] Generated Node #3: [96, 136] from Operation: 34*4=136 Current State: 40:[96, 136], Operations: ['20/5=4', '34*4=136'] Exploring Operation: 136-96=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 5, 96, 34], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [5, 34, 76] Generated Node #0,0: 40:[5, 34, 76] Operation: 96-20=76 Exploring Operation: 34-20=14, Resulting Numbers: [5, 96, 14] Generated Node #0,1: 40:[5, 96, 14] Operation: 34-20=14 Exploring Operation: 96-34=62, Resulting Numbers: [20, 5, 62] Generated Node #0,2: 40:[20, 5, 62] Operation: 96-34=62 Exploring Operation: 96-5=91, Resulting Numbers: [20, 34, 91] Generated Node #0,3: 40:[20, 34, 91] Operation: 96-5=91 Exploring Operation: 5+34=39, Resulting Numbers: [20, 96, 39] Generated Node #0,4: 40:[20, 96, 39] Operation: 5+34=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[20, 5, 62], Operations: ['96-34=62'] Exploring Operation: 20+5=25, Resulting Numbers: [62, 25] Generated Node #0,2,0: 40:[62, 25] Operation: 20+5=25 Exploring Operation: 20/5=4, Resulting Numbers: [62, 4] Generated Node #0,2,1: 40:[62, 4] Operation: 20/5=4 Exploring Operation: 62-20=42, Resulting Numbers: [5, 42] Generated Node #0,2,2: 40:[5, 42] Operation: 62-20=42 Exploring Operation: 20-5=15, Resulting Numbers: [62, 15] Generated Node #0,2,3: 40:[62, 15] Operation: 20-5=15 Exploring Operation: 62-5=57, Resulting Numbers: [20, 57] Generated Node #0,2,4: 40:[20, 57] Operation: 62-5=57 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[5, 42], Operations: ['96-34=62', '62-20=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[20, 57], Operations: ['96-34=62', '62-5=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[62, 4], Operations: ['96-34=62', '20/5=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,40 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[62, 25], Operations: ['96-34=62', '20+5=25'] Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,40 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[62, 15], Operations: ['96-34=62', '20-5=15'] Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,40 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,40 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: 40:[5, 34, 76], Operations: ['96-20=76'] Exploring Operation: 76-34=42, Resulting Numbers: [5, 42] Generated Node #0,0,0: 40:[5, 42] Operation: 76-34=42 Exploring Operation: 5+76=81, Resulting Numbers: [34, 81] Generated Node #0,0,1: 40:[34, 81] Operation: 5+76=81 Exploring Operation: 34-5=29, Resulting Numbers: [76, 29] Generated Node #0,0,2: 40:[76, 29] Operation: 34-5=29 Exploring Operation: 76-5=71, Resulting Numbers: [34, 71] Generated Node #0,0,3: 40:[34, 71] Operation: 76-5=71 Exploring Operation: 5+34=39, Resulting Numbers: [76, 39] Generated Node #0,0,4: 40:[76, 39] Operation: 5+34=39 Moving to Node #0,0,0 Current State: 40:[5, 42], Operations: ['96-20=76', '76-34=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,40 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[76, 39], Operations: ['96-20=76', '5+34=39'] Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,40 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[34, 71], Operations: ['96-20=76', '76-5=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,40 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[76, 29], Operations: ['96-20=76', '34-5=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,40 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[34, 81], Operations: ['96-20=76', '5+76=81'] Exploring Operation: 34*81=2754, Resulting Numbers: [2754] 2754,40 unequal: No Solution Exploring Operation: 34+81=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[20, 34, 91], Operations: ['96-5=91'] Exploring Operation: 91-34=57, Resulting Numbers: [20, 57] Generated Node #0,3,0: 40:[20, 57] Operation: 91-34=57 Exploring Operation: 20+34=54, Resulting Numbers: [91, 54] Generated Node #0,3,1: 40:[91, 54] Operation: 20+34=54 Exploring Operation: 34-20=14, Resulting Numbers: [91, 14] Generated Node #0,3,2: 40:[91, 14] Operation: 34-20=14 Exploring Operation: 20+91=111, Resulting Numbers: [34, 111] Generated Node #0,3,3: 40:[34, 111] Operation: 20+91=111 Exploring Operation: 91-20=71, Resulting Numbers: [34, 71] Generated Node #0,3,4: 40:[34, 71] Operation: 91-20=71 Moving to Node #0,3,0 Current State: 40:[20, 57], Operations: ['96-5=91', '91-34=57'] Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[34, 71], Operations: ['96-5=91', '91-20=71'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[91, 14], Operations: ['96-5=91', '34-20=14'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[91, 54], Operations: ['96-5=91', '20+34=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,40 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[34, 111], Operations: ['96-5=91', '20+91=111'] Exploring Operation: 34*111=3774, Resulting Numbers: [3774] 3774,40 unequal: No Solution Exploring Operation: 111-34=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 34+111=145, Resulting Numbers: [145] 145,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[20, 96, 39], Operations: ['5+34=39'] Exploring Operation: 96-39=57, Resulting Numbers: [20, 57] Generated Node #0,4,0: 40:[20, 57] Operation: 96-39=57 Exploring Operation: 20+96=116, Resulting Numbers: [39, 116] Generated Node #0,4,1: 40:[39, 116] Operation: 20+96=116 Exploring Operation: 96-20=76, Resulting Numbers: [39, 76] Generated Node #0,4,2: 40:[39, 76] Operation: 96-20=76 Exploring Operation: 20+39=59, Resulting Numbers: [96, 59] Generated Node #0,4,3: 40:[96, 59] Operation: 20+39=59 Exploring Operation: 39-20=19, Resulting Numbers: [96, 19] Generated Node #0,4,4: 40:[96, 19] Operation: 39-20=19 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 40:[20, 57], Operations: ['5+34=39', '96-39=57'] Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,40 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[39, 76], Operations: ['5+34=39', '96-20=76'] Exploring Operation: 39+76=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 39*76=2964, Resulting Numbers: [2964] 2964,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[96, 19], Operations: ['5+34=39', '39-20=19'] Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 96+19=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 96*19=1824, Resulting Numbers: [1824] 1824,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 40:[96, 59], Operations: ['5+34=39', '20+39=59'] Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 96*59=5664, Resulting Numbers: [5664] 5664,40 unequal: No Solution Exploring Operation: 96+59=155, Resulting Numbers: [155] 155,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[39, 116], Operations: ['5+34=39', '20+96=116'] Exploring Operation: 39+116=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 39*116=4524, Resulting Numbers: [4524] 4524,40 unequal: No Solution Exploring Operation: 116-39=77, Resulting Numbers: [77] 77,40 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: 40:[5, 96, 14], Operations: ['34-20=14'] Exploring Operation: 96-5=91, Resulting Numbers: [14, 91] Generated Node #0,1,0: 40:[14, 91] Operation: 96-5=91 Exploring Operation: 14-5=9, Resulting Numbers: [96, 9] Generated Node #0,1,1: 40:[96, 9] Operation: 14-5=9 Exploring Operation: 5+96=101, Resulting Numbers: [14, 101] Generated Node #0,1,2: 40:[14, 101] Operation: 5+96=101 Exploring Operation: 5+14=19, Resulting Numbers: [96, 19] Generated Node #0,1,3: 40:[96, 19] Operation: 5+14=19 Exploring Operation: 96-14=82, Resulting Numbers: [5, 82] Generated Node #0,1,4: 40:[5, 82] Operation: 96-14=82 Moving to Node #0,1,4 Current State: 40:[5, 82], Operations: ['34-20=14', '96-14=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 5*82=410, Resulting Numbers: [410] 410,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[14, 91], Operations: ['34-20=14', '96-5=91'] Exploring Operation: 14*91=1274, Resulting Numbers: [1274] 1274,40 unequal: No Solution Exploring Operation: 14+91=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[96, 9], Operations: ['34-20=14', '14-5=9'] Exploring Operation: 96*9=864, Resulting Numbers: [864] 864,40 unequal: No Solution Exploring Operation: 96+9=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 96-9=87, Resulting Numbers: [87] 87,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[96, 19], Operations: ['34-20=14', '5+14=19'] Exploring Operation: 96+19=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 96*19=1824, Resulting Numbers: [1824] 1824,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[14, 101], Operations: ['34-20=14', '5+96=101'] Exploring Operation: 101-14=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 14+101=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 14*101=1414, Resulting Numbers: [1414] 1414,40 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
[ 48, 91, 96, 84 ]
98
[ "96/48=2", "91*2=182", "182-84=98" ]
Current State: 98:[48, 91, 96, 84], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [91, 84, 2] Generated Node #2: [91, 84, 2] from Operation: 96/48=2 Current State: 98:[91, 84, 2], Operations: ['96/48=2'] Exploring Operation: 91*2=182, Resulting Numbers: [84, 182] Generated Node #3: [84, 182] from Operation: 91*2=182 Current State: 98:[84, 182], Operations: ['96/48=2', '91*2=182'] Exploring Operation: 182-84=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[48, 91, 96, 84], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [48, 91, 12] Generated Node #0,0: 98:[48, 91, 12] Operation: 96-84=12 Exploring Operation: 91-84=7, Resulting Numbers: [48, 96, 7] Generated Node #0,1: 98:[48, 96, 7] Operation: 91-84=7 Exploring Operation: 96-91=5, Resulting Numbers: [48, 84, 5] Generated Node #0,2: 98:[48, 84, 5] Operation: 96-91=5 Moving to Node #0,1 Current State: 98:[48, 96, 7], Operations: ['91-84=7'] Exploring Operation: 96/48=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 98:[7, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [7, 48] Generated Node #0,1,1: 98:[7, 48] Operation: 96-48=48 Exploring Operation: 96+7=103, Resulting Numbers: [48, 103] Generated Node #0,1,2: 98:[48, 103] Operation: 96+7=103 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[7, 2], Operations: ['91-84=7', '96/48=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,98 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,98 unequal: No Solution No 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: 98:[7, 48], Operations: ['91-84=7', '96-48=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,98 unequal: No Solution No 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: 98:[48, 103], Operations: ['91-84=7', '96+7=103'] Exploring Operation: 48*103=4944, Resulting Numbers: [4944] 4944,98 unequal: No Solution Exploring Operation: 48+103=151, Resulting Numbers: [151] 151,98 unequal: No Solution Exploring Operation: 103-48=55, Resulting Numbers: [55] 55,98 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: 98:[48, 91, 12], Operations: ['96-84=12'] Exploring Operation: 48/12=4, Resulting Numbers: [91, 4] Generated Node #0,0,0: 98:[91, 4] Operation: 48/12=4 Exploring Operation: 91-48=43, Resulting Numbers: [12, 43] Generated Node #0,0,1: 98:[12, 43] Operation: 91-48=43 Exploring Operation: 91+12=103, Resulting Numbers: [48, 103] Generated Node #0,0,2: 98:[48, 103] Operation: 91+12=103 Moving to Node #0,2 Current State: 98:[48, 84, 5], Operations: ['96-91=5'] Exploring Operation: 48+5=53, Resulting Numbers: [84, 53] Generated Node #0,2,0: 98:[84, 53] Operation: 48+5=53 Exploring Operation: 84-48=36, Resulting Numbers: [5, 36] Generated Node #0,2,1: 98:[5, 36] Operation: 84-48=36 Exploring Operation: 84+5=89, Resulting Numbers: [48, 89] Generated Node #0,2,2: 98:[48, 89] Operation: 84+5=89 Moving to Node #0,0,2 Current State: 98:[48, 103], Operations: ['96-84=12', '91+12=103'] Exploring Operation: 48*103=4944, Resulting Numbers: [4944] 4944,98 unequal: No Solution Exploring Operation: 48+103=151, Resulting Numbers: [151] 151,98 unequal: No Solution Exploring Operation: 103-48=55, Resulting Numbers: [55] 55,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[12, 43], Operations: ['96-84=12', '91-48=43'] Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,98 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[91, 4], Operations: ['96-84=12', '48/12=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,98 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[48, 89], Operations: ['96-91=5', '84+5=89'] Exploring Operation: 48*89=4272, Resulting Numbers: [4272] 4272,98 unequal: No Solution Exploring Operation: 48+89=137, Resulting Numbers: [137] 137,98 unequal: No Solution Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[5, 36], Operations: ['96-91=5', '84-48=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,98 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[84, 53], Operations: ['96-91=5', '48+5=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,98 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 72, 24, 32 ]
88
[ "29-24=5", "32*5=160", "160-72=88" ]
Current State: 88:[29, 72, 24, 32], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [72, 32, 5] Generated Node #2: [72, 32, 5] from Operation: 29-24=5 Current State: 88:[72, 32, 5], Operations: ['29-24=5'] Exploring Operation: 32*5=160, Resulting Numbers: [72, 160] Generated Node #3: [72, 160] from Operation: 32*5=160 Current State: 88:[72, 160], Operations: ['29-24=5', '32*5=160'] Exploring Operation: 160-72=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[29, 72, 24, 32], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [29, 32, 3] Generated Node #0,0: 88:[29, 32, 3] Operation: 72/24=3 Exploring Operation: 72-29=43, Resulting Numbers: [24, 32, 43] Generated Node #0,1: 88:[24, 32, 43] Operation: 72-29=43 Exploring Operation: 72-24=48, Resulting Numbers: [29, 32, 48] Generated Node #0,2: 88:[29, 32, 48] Operation: 72-24=48 Exploring Operation: 72-32=40, Resulting Numbers: [29, 24, 40] Generated Node #0,3: 88:[29, 24, 40] Operation: 72-32=40 Exploring Operation: 32-29=3, Resulting Numbers: [72, 24, 3] Generated Node #0,4: 88:[72, 24, 3] Operation: 32-29=3 Moving to Node #0,1 Current State: 88:[24, 32, 43], Operations: ['72-29=43'] Exploring Operation: 32-24=8, Resulting Numbers: [43, 8] Generated Node #0,1,0: 88:[43, 8] Operation: 32-24=8 Exploring Operation: 43-32=11, Resulting Numbers: [24, 11] Generated Node #0,1,1: 88:[24, 11] Operation: 43-32=11 Exploring Operation: 43-24=19, Resulting Numbers: [32, 19] Generated Node #0,1,2: 88:[32, 19] Operation: 43-24=19 Exploring Operation: 32+43=75, Resulting Numbers: [24, 75] Generated Node #0,1,3: 88:[24, 75] Operation: 32+43=75 Exploring Operation: 24+32=56, Resulting Numbers: [43, 56] Generated Node #0,1,4: 88:[43, 56] Operation: 24+32=56 Moving to Node #0,3 Current State: 88:[29, 24, 40], Operations: ['72-32=40'] Exploring Operation: 40-29=11, Resulting Numbers: [24, 11] Generated Node #0,3,0: 88:[24, 11] Operation: 40-29=11 Exploring Operation: 29-24=5, Resulting Numbers: [40, 5] Generated Node #0,3,1: 88:[40, 5] Operation: 29-24=5 Exploring Operation: 40-24=16, Resulting Numbers: [29, 16] Generated Node #0,3,2: 88:[29, 16] Operation: 40-24=16 Exploring Operation: 29+24=53, Resulting Numbers: [40, 53] Generated Node #0,3,3: 88:[40, 53] Operation: 29+24=53 Exploring Operation: 29+40=69, Resulting Numbers: [24, 69] Generated Node #0,3,4: 88:[24, 69] Operation: 29+40=69 Moving to Node #0,0 Current State: 88:[29, 32, 3], Operations: ['72/24=3'] Exploring Operation: 32-29=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 88:[3, 3] Operation: 32-29=3 Exploring Operation: 32-3=29, Resulting Numbers: [29, 29] Generated Node #0,0,1: 88:[29, 29] Operation: 32-3=29 Exploring Operation: 29*3=87, Resulting Numbers: [32, 87] Generated Node #0,0,2: 88:[32, 87] Operation: 29*3=87 Exploring Operation: 32*3=96, Resulting Numbers: [29, 96] Generated Node #0,0,3: 88:[29, 96] Operation: 32*3=96 Exploring Operation: 29-3=26, Resulting Numbers: [32, 26] Generated Node #0,0,4: 88:[32, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[3, 3], Operations: ['72/24=3', '32-29=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[32, 87], Operations: ['72/24=3', '29*3=87'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,88 unequal: No Solution Exploring Operation: 32*87=2784, Resulting Numbers: [2784] 2784,88 unequal: No Solution Exploring Operation: 32+87=119, Resulting Numbers: [119] 119,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[29, 29], Operations: ['72/24=3', '32-3=29'] Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,88 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[32, 26], Operations: ['72/24=3', '29-3=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,88 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[29, 96], Operations: ['72/24=3', '32*3=96'] Exploring Operation: 29+96=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 29*96=2784, Resulting Numbers: [2784] 2784,88 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,88 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: 88:[72, 24, 3], Operations: ['32-29=3'] Exploring Operation: 72-24=48, Resulting Numbers: [3, 48] Generated Node #0,4,0: 88:[3, 48] Operation: 72-24=48 Exploring Operation: 72/3=24, Resulting Numbers: [24, 24] Generated Node #0,4,1: 88:[24, 24] Operation: 72/3=24 Exploring Operation: 72/24=3, Resulting Numbers: [3, 3] Generated Node #0,4,2: 88:[3, 3] Operation: 72/24=3 Exploring Operation: 72+24=96, Resulting Numbers: [3, 96] Generated Node #0,4,3: 88:[3, 96] Operation: 72+24=96 Exploring Operation: 72+3=75, Resulting Numbers: [24, 75] Generated Node #0,4,4: 88:[24, 75] Operation: 72+3=75 Moving to Node #0,2 Current State: 88:[29, 32, 48], Operations: ['72-24=48'] Exploring Operation: 32-29=3, Resulting Numbers: [48, 3] Generated Node #0,2,0: 88:[48, 3] Operation: 32-29=3 Exploring Operation: 48-29=19, Resulting Numbers: [32, 19] Generated Node #0,2,1: 88:[32, 19] Operation: 48-29=19 Exploring Operation: 32+48=80, Resulting Numbers: [29, 80] Generated Node #0,2,2: 88:[29, 80] Operation: 32+48=80 Exploring Operation: 29+32=61, Resulting Numbers: [48, 61] Generated Node #0,2,3: 88:[48, 61] Operation: 29+32=61 Exploring Operation: 48-32=16, Resulting Numbers: [29, 16] Generated Node #0,2,4: 88:[29, 16] Operation: 48-32=16 Moving to Node #0,1,0 Current State: 88:[43, 8], Operations: ['72-29=43', '32-24=8'] Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[24, 11], Operations: ['72-32=40', '40-29=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,88 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[24, 11], Operations: ['72-29=43', '43-32=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,88 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[3, 3], Operations: ['32-29=3', '72/24=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[24, 24], Operations: ['32-29=3', '72/3=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,88 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[40, 5], Operations: ['72-32=40', '29-24=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,88 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[3, 48], Operations: ['32-29=3', '72-24=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[48, 3], Operations: ['72-24=48', '32-29=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[3, 96], Operations: ['32-29=3', '72+24=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,88 unequal: No Solution Exploring Operation: 3*96=288, Resulting Numbers: [288] 288,88 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[29, 16], Operations: ['72-32=40', '40-24=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,88 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[29, 16], Operations: ['72-24=48', '48-32=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,88 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[32, 19], Operations: ['72-24=48', '48-29=19'] Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,88 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[32, 19], Operations: ['72-29=43', '43-24=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[40, 53], Operations: ['72-32=40', '29+24=53'] Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,88 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[43, 56], Operations: ['72-29=43', '24+32=56'] Exploring Operation: 43*56=2408, Resulting Numbers: [2408] 2408,88 unequal: No Solution Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[29, 80], Operations: ['72-24=48', '32+48=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,88 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[24, 75], Operations: ['72-29=43', '32+43=75'] Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,88 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[24, 75], Operations: ['32-29=3', '72+3=75'] Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[48, 61], Operations: ['72-24=48', '29+32=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[24, 69], Operations: ['72-32=40', '29+40=69'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,88 unequal: No Solution Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,88 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 24, 29, 18 ]
27
[ "24-18=6", "6/3=2", "29-2=27" ]
Current State: 27:[3, 24, 29, 18], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [3, 29, 6] Generated Node #2: [3, 29, 6] from Operation: 24-18=6 Current State: 27:[3, 29, 6], Operations: ['24-18=6'] Exploring Operation: 6/3=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 6/3=2 Current State: 27:[29, 2], Operations: ['24-18=6', '6/3=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 24, 29, 18], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [3, 29, 6] Generated Node #0,0: 27:[3, 29, 6] Operation: 24-18=6 Exploring Operation: 29-18=11, Resulting Numbers: [3, 24, 11] Generated Node #0,1: 27:[3, 24, 11] Operation: 29-18=11 Moving to Node #0,0 Current State: 27:[3, 29, 6], Operations: ['24-18=6'] Exploring Operation: 6-3=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 27:[29, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [29, 9] Generated Node #0,0,1: 27:[29, 9] Operation: 3+6=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[29, 3], Operations: ['24-18=6', '6-3=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[29, 9], Operations: ['24-18=6', '3+6=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,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:[3, 24, 11], Operations: ['29-18=11'] Exploring Operation: 24/3=8, Resulting Numbers: [11, 8] Generated Node #0,1,0: 27:[11, 8] Operation: 24/3=8 Exploring Operation: 3+24=27, Resulting Numbers: [11, 27] Generated Node #0,1,1: 27:[11, 27] Operation: 3+24=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[11, 27], Operations: ['29-18=11', '3+24=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[11, 8], Operations: ['29-18=11', '24/3=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 70, 83, 2 ]
59
[ "2*70=140", "83-2=81", "140-81=59" ]
Current State: 59:[2, 70, 83, 2], Operations: [] Exploring Operation: 2*70=140, Resulting Numbers: [83, 140] Generated Node #2: [83, 140] from Operation: 2*70=140 Current State: 59:[83, 140], Operations: ['2*70=140'] Exploring Operation: 83-2=81, Resulting Numbers: [140, 81] Generated Node #3: [140, 81] from Operation: 83-2=81 Current State: 59:[140, 81], Operations: ['2*70=140', '83-2=81'] Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 70, 83, 2], Operations: [] Exploring Operation: 70-2=68, Resulting Numbers: [83, 2, 68] Generated Node #0,0: 59:[83, 2, 68] Operation: 70-2=68 Exploring Operation: 83-2=81, Resulting Numbers: [70, 2, 81] Generated Node #0,1: 59:[70, 2, 81] Operation: 83-2=81 Moving to Node #0,0 Current State: 59:[83, 2, 68], Operations: ['70-2=68'] Exploring Operation: 83-2=81, Resulting Numbers: [68, 81] Generated Node #0,0,0: 59:[68, 81] Operation: 83-2=81 Exploring Operation: 68-2=66, Resulting Numbers: [83, 66] Generated Node #0,0,1: 59:[83, 66] Operation: 68-2=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[68, 81], Operations: ['70-2=68', '83-2=81'] Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[83, 66], Operations: ['70-2=68', '68-2=66'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 83+66=149, Resulting Numbers: [149] 149,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[70, 2, 81], Operations: ['83-2=81'] Exploring Operation: 70-2=68, Resulting Numbers: [81, 68] Generated Node #0,1,0: 59:[81, 68] Operation: 70-2=68 Exploring Operation: 81-2=79, Resulting Numbers: [70, 79] Generated Node #0,1,1: 59:[70, 79] Operation: 81-2=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[81, 68], Operations: ['83-2=81', '70-2=68'] Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[70, 79], Operations: ['83-2=81', '81-2=79'] Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 70+79=149, Resulting Numbers: [149] 149,59 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, 57, 73, 76 ]
68
[ "24+57=81", "73+76=149", "149-81=68" ]
Current State: 68:[24, 57, 73, 76], Operations: [] Exploring Operation: 24+57=81, Resulting Numbers: [73, 76, 81] Generated Node #2: [73, 76, 81] from Operation: 24+57=81 Current State: 68:[73, 76, 81], Operations: ['24+57=81'] Exploring Operation: 73+76=149, Resulting Numbers: [81, 149] Generated Node #3: [81, 149] from Operation: 73+76=149 Current State: 68:[81, 149], Operations: ['24+57=81', '73+76=149'] Exploring Operation: 149-81=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[24, 57, 73, 76], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [73, 76, 33] Generated Node #0,0: 68:[73, 76, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[73, 76, 33], Operations: ['57-24=33'] Exploring Operation: 76-73=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 68:[33, 3] Operation: 76-73=3 Moving to Node #0,0,0 Current State: 68:[33, 3], Operations: ['57-24=33', '76-73=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 29, 97, 24 ]
34
[ "78+29=107", "97-24=73", "107-73=34" ]
Current State: 34:[78, 29, 97, 24], Operations: [] Exploring Operation: 78+29=107, Resulting Numbers: [97, 24, 107] Generated Node #2: [97, 24, 107] from Operation: 78+29=107 Current State: 34:[97, 24, 107], Operations: ['78+29=107'] Exploring Operation: 97-24=73, Resulting Numbers: [107, 73] Generated Node #3: [107, 73] from Operation: 97-24=73 Current State: 34:[107, 73], Operations: ['78+29=107', '97-24=73'] Exploring Operation: 107-73=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[78, 29, 97, 24], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [29, 24, 19] Generated Node #0,0: 34:[29, 24, 19] Operation: 97-78=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[29, 24, 19], Operations: ['97-78=19'] Exploring Operation: 29-24=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 34:[19, 5] Operation: 29-24=5 Moving to Node #0,0,0 Current State: 34:[19, 5], Operations: ['97-78=19', '29-24=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,34 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
[ 85, 35, 72, 4 ]
87
[ "85-72=13", "4*13=52", "35+52=87" ]
Current State: 87:[85, 35, 72, 4], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [35, 4, 13] Generated Node #2: [35, 4, 13] from Operation: 85-72=13 Current State: 87:[35, 4, 13], Operations: ['85-72=13'] Exploring Operation: 4*13=52, Resulting Numbers: [35, 52] Generated Node #3: [35, 52] from Operation: 4*13=52 Current State: 87:[35, 52], Operations: ['85-72=13', '4*13=52'] Exploring Operation: 35+52=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[85, 35, 72, 4], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [85, 4, 37] Generated Node #0,0: 87:[85, 4, 37] Operation: 72-35=37 Exploring Operation: 85-72=13, Resulting Numbers: [35, 4, 13] Generated Node #0,1: 87:[35, 4, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[85, 4, 37], Operations: ['72-35=37'] Exploring Operation: 37-4=33, Resulting Numbers: [85, 33] Generated Node #0,0,0: 87:[85, 33] Operation: 37-4=33 Exploring Operation: 85+4=89, Resulting Numbers: [37, 89] Generated Node #0,0,1: 87:[37, 89] Operation: 85+4=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[85, 33], Operations: ['72-35=37', '37-4=33'] Exploring Operation: 85+33=118, Resulting Numbers: [118] 118,87 unequal: No Solution Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,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:[37, 89], Operations: ['72-35=37', '85+4=89'] Exploring Operation: 37+89=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[35, 4, 13], Operations: ['85-72=13'] Exploring Operation: 35-4=31, Resulting Numbers: [13, 31] Generated Node #0,1,0: 87:[13, 31] Operation: 35-4=31 Exploring Operation: 35-13=22, Resulting Numbers: [4, 22] Generated Node #0,1,1: 87:[4, 22] Operation: 35-13=22 Moving to Node #0,1,1 Current State: 87:[4, 22], Operations: ['85-72=13', '35-13=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[13, 31], Operations: ['85-72=13', '35-4=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,87 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
[ 8, 35, 77, 27 ]
22
[ "77+27=104", "104/8=13", "35-13=22" ]
Current State: 22:[8, 35, 77, 27], Operations: [] Exploring Operation: 77+27=104, Resulting Numbers: [8, 35, 104] Generated Node #2: [8, 35, 104] from Operation: 77+27=104 Current State: 22:[8, 35, 104], Operations: ['77+27=104'] Exploring Operation: 104/8=13, Resulting Numbers: [35, 13] Generated Node #3: [35, 13] from Operation: 104/8=13 Current State: 22:[35, 13], Operations: ['77+27=104', '104/8=13'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 35, 77, 27], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [8, 27, 42] Generated Node #0,0: 22:[8, 27, 42] Operation: 77-35=42 Exploring Operation: 35-27=8, Resulting Numbers: [8, 77, 8] Generated Node #0,1: 22:[8, 77, 8] Operation: 35-27=8 Exploring Operation: 77-27=50, Resulting Numbers: [8, 35, 50] Generated Node #0,2: 22:[8, 35, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[8, 27, 42], Operations: ['77-35=42'] Exploring Operation: 42-27=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 22:[8, 15] Operation: 42-27=15 Exploring Operation: 42-8=34, Resulting Numbers: [27, 34] Generated Node #0,0,1: 22:[27, 34] Operation: 42-8=34 Exploring Operation: 27-8=19, Resulting Numbers: [42, 19] Generated Node #0,0,2: 22:[42, 19] Operation: 27-8=19 Moving to Node #0,0,0 Current State: 22:[8, 15], Operations: ['77-35=42', '42-27=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[27, 34], Operations: ['77-35=42', '42-8=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[42, 19], Operations: ['77-35=42', '27-8=19'] Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,22 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[8, 35, 50], Operations: ['77-27=50'] Exploring Operation: 50-35=15, Resulting Numbers: [8, 15] Generated Node #0,2,0: 22:[8, 15] Operation: 50-35=15 Exploring Operation: 50-8=42, Resulting Numbers: [35, 42] Generated Node #0,2,1: 22:[35, 42] Operation: 50-8=42 Exploring Operation: 35-8=27, Resulting Numbers: [50, 27] Generated Node #0,2,2: 22:[50, 27] Operation: 35-8=27 Moving to Node #0,2,0 Current State: 22:[8, 15], Operations: ['77-27=50', '50-35=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,22 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[35, 42], Operations: ['77-27=50', '50-8=42'] Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,22 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[50, 27], Operations: ['77-27=50', '35-8=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 50*27=1350, Resulting Numbers: [1350] 1350,22 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[8, 77, 8], Operations: ['35-27=8'] Exploring Operation: 8/8=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 22:[77, 1] Operation: 8/8=1 Exploring Operation: 77-8=69, Resulting Numbers: [8, 69] Generated Node #0,1,1: 22:[8, 69] Operation: 77-8=69 Exploring Operation: 77-8=69, Resulting Numbers: [8, 69] Generated Node #0,1,2: 22:[8, 69] Operation: 77-8=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[8, 69], Operations: ['35-27=8', '77-8=69'] Exploring Operation: 8*69=552, Resulting Numbers: [552] 552,22 unequal: No Solution Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[8, 69], Operations: ['35-27=8', '77-8=69'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,22 unequal: No Solution Exploring Operation: 8*69=552, Resulting Numbers: [552] 552,22 unequal: No Solution Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[77, 1], Operations: ['35-27=8', '8/8=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 20, 69, 65, 47 ]
23
[ "20+69=89", "65+47=112", "112-89=23" ]
Current State: 23:[20, 69, 65, 47], Operations: [] Exploring Operation: 20+69=89, Resulting Numbers: [65, 47, 89] Generated Node #2: [65, 47, 89] from Operation: 20+69=89 Current State: 23:[65, 47, 89], Operations: ['20+69=89'] Exploring Operation: 65+47=112, Resulting Numbers: [89, 112] Generated Node #3: [89, 112] from Operation: 65+47=112 Current State: 23:[89, 112], Operations: ['20+69=89', '65+47=112'] Exploring Operation: 112-89=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[20, 69, 65, 47], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [20, 69, 18] Generated Node #0,0: 23:[20, 69, 18] Operation: 65-47=18 Exploring Operation: 69-20=49, Resulting Numbers: [65, 47, 49] Generated Node #0,1: 23:[65, 47, 49] Operation: 69-20=49 Exploring Operation: 69-65=4, Resulting Numbers: [20, 47, 4] Generated Node #0,2: 23:[20, 47, 4] Operation: 69-65=4 Exploring Operation: 69-47=22, Resulting Numbers: [20, 65, 22] Generated Node #0,3: 23:[20, 65, 22] Operation: 69-47=22 Exploring Operation: 65-20=45, Resulting Numbers: [69, 47, 45] Generated Node #0,4: 23:[69, 47, 45] Operation: 65-20=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[20, 47, 4], Operations: ['69-65=4'] Exploring Operation: 47+4=51, Resulting Numbers: [20, 51] Generated Node #0,2,0: 23:[20, 51] Operation: 47+4=51 Exploring Operation: 47-20=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 23:[4, 27] Operation: 47-20=27 Exploring Operation: 20-4=16, Resulting Numbers: [47, 16] Generated Node #0,2,2: 23:[47, 16] Operation: 20-4=16 Exploring Operation: 20+4=24, Resulting Numbers: [47, 24] Generated Node #0,2,3: 23:[47, 24] Operation: 20+4=24 Exploring Operation: 47-4=43, Resulting Numbers: [20, 43] Generated Node #0,2,4: 23:[20, 43] Operation: 47-4=43 Moving to Node #0,2,1 Current State: 23:[4, 27], Operations: ['69-65=4', '47-20=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[20, 69, 65, 47], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [20, 47, 4] Generated Node #0,2: 23:[20, 47, 4] Operation: 69-65=4 Moving to Node #0,2 Current State: 23:[20, 47, 4], Operations: ['69-65=4'] Exploring Operation: 47-20=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 23:[4, 27] Operation: 47-20=27 Moving to Node #0,2,1 Current State: 23:[4, 27], Operations: ['69-65=4', '47-20=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 70, 97, 28, 74 ]
19
[ "97-70=27", "74-28=46", "46-27=19" ]
Current State: 19:[70, 97, 28, 74], Operations: [] Exploring Operation: 97-70=27, Resulting Numbers: [28, 74, 27] Generated Node #2: [28, 74, 27] from Operation: 97-70=27 Current State: 19:[28, 74, 27], Operations: ['97-70=27'] Exploring Operation: 74-28=46, Resulting Numbers: [27, 46] Generated Node #3: [27, 46] from Operation: 74-28=46 Current State: 19:[27, 46], Operations: ['97-70=27', '74-28=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[70, 97, 28, 74], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [70, 28, 23] Generated Node #0,0: 19:[70, 28, 23] Operation: 97-74=23 Moving to Node #0,0 Current State: 19:[70, 28, 23], Operations: ['97-74=23'] Exploring Operation: 70-28=42, Resulting Numbers: [23, 42] Generated Node #0,0,0: 19:[23, 42] Operation: 70-28=42 Moving to Node #0,0,0 Current State: 19:[23, 42], Operations: ['97-74=23', '70-28=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[70, 97, 28, 74], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [70, 28, 23] Generated Node #0,0: 19:[70, 28, 23] Operation: 97-74=23 Moving to Node #0,0 Current State: 19:[70, 28, 23], Operations: ['97-74=23'] Exploring Operation: 70-28=42, Resulting Numbers: [23, 42] Generated Node #0,0,0: 19:[23, 42] Operation: 70-28=42 Moving to Node #0,0,0 Current State: 19:[23, 42], Operations: ['97-74=23', '70-28=42'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 16, 39, 2, 26 ]
12
[ "16*39=624", "2*26=52", "624/52=12" ]
Current State: 12:[16, 39, 2, 26], Operations: [] Exploring Operation: 16*39=624, Resulting Numbers: [2, 26, 624] Generated Node #2: [2, 26, 624] from Operation: 16*39=624 Current State: 12:[2, 26, 624], Operations: ['16*39=624'] Exploring Operation: 2*26=52, Resulting Numbers: [624, 52] Generated Node #3: [624, 52] from Operation: 2*26=52 Current State: 12:[624, 52], Operations: ['16*39=624', '2*26=52'] Exploring Operation: 624/52=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[16, 39, 2, 26], Operations: [] Exploring Operation: 39-16=23, Resulting Numbers: [2, 26, 23] Generated Node #0,0: 12:[2, 26, 23] Operation: 39-16=23 Exploring Operation: 39-26=13, Resulting Numbers: [16, 2, 13] Generated Node #0,1: 12:[16, 2, 13] Operation: 39-26=13 Exploring Operation: 26-16=10, Resulting Numbers: [39, 2, 10] Generated Node #0,2: 12:[39, 2, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[16, 2, 13], Operations: ['39-26=13'] Exploring Operation: 16-13=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 12:[2, 3] Operation: 16-13=3 Exploring Operation: 16/2=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 12:[13, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [13, 14] Generated Node #0,1,2: 12:[13, 14] Operation: 16-2=14 Moving to Node #0,1,0 Current State: 12:[2, 3], Operations: ['39-26=13', '16-13=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[13, 8], Operations: ['39-26=13', '16/2=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[13, 14], Operations: ['39-26=13', '16-2=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,12 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[2, 26, 23], Operations: ['39-16=23'] Exploring Operation: 26-2=24, Resulting Numbers: [23, 24] Generated Node #0,0,0: 12:[23, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 12:[23, 13] Operation: 26/2=13 Exploring Operation: 26-23=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 12:[2, 3] Operation: 26-23=3 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[2, 3], Operations: ['39-16=23', '26-23=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,12 unequal: No Solution No 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: 12:[23, 13], Operations: ['39-16=23', '26/2=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,12 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,12 unequal: No Solution No 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: 12:[23, 24], Operations: ['39-16=23', '26-2=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,12 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: 12:[39, 2, 10], Operations: ['26-16=10'] Exploring Operation: 39-2=37, Resulting Numbers: [10, 37] Generated Node #0,2,0: 12:[10, 37] Operation: 39-2=37 Exploring Operation: 2+10=12, Resulting Numbers: [39, 12] Generated Node #0,2,1: 12:[39, 12] Operation: 2+10=12 Exploring Operation: 39-10=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 12:[2, 29] Operation: 39-10=29 Moving to Node #0,2,2 Current State: 12:[2, 29], Operations: ['26-16=10', '39-10=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[10, 37], Operations: ['26-16=10', '39-2=37'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,12 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[39, 12], Operations: ['26-16=10', '2+10=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,12 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 22, 47, 2, 40 ]
83
[ "40-22=18", "2*18=36", "47+36=83" ]
Current State: 83:[22, 47, 2, 40], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [47, 2, 18] Generated Node #2: [47, 2, 18] from Operation: 40-22=18 Current State: 83:[47, 2, 18], Operations: ['40-22=18'] Exploring Operation: 2*18=36, Resulting Numbers: [47, 36] Generated Node #3: [47, 36] from Operation: 2*18=36 Current State: 83:[47, 36], Operations: ['40-22=18', '2*18=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[22, 47, 2, 40], Operations: [] Exploring Operation: 2*40=80, Resulting Numbers: [22, 47, 80] Generated Node #0,0: 83:[22, 47, 80] Operation: 2*40=80 Exploring Operation: 22+47=69, Resulting Numbers: [2, 40, 69] Generated Node #0,1: 83:[2, 40, 69] Operation: 22+47=69 Exploring Operation: 22*2=44, Resulting Numbers: [47, 40, 44] Generated Node #0,2: 83:[47, 40, 44] Operation: 22*2=44 Exploring Operation: 22+2=24, Resulting Numbers: [47, 40, 24] Generated Node #0,3: 83:[47, 40, 24] Operation: 22+2=24 Exploring Operation: 47*2=94, Resulting Numbers: [22, 40, 94] Generated Node #0,4: 83:[22, 40, 94] Operation: 47*2=94 Moving to Node #0,0 Current State: 83:[22, 47, 80], Operations: ['2*40=80'] Exploring Operation: 47+80=127, Resulting Numbers: [22, 127] Generated Node #0,0,0: 83:[22, 127] Operation: 47+80=127 Exploring Operation: 22+47=69, Resulting Numbers: [80, 69] Generated Node #0,0,1: 83:[80, 69] Operation: 22+47=69 Exploring Operation: 47-22=25, Resulting Numbers: [80, 25] Generated Node #0,0,2: 83:[80, 25] Operation: 47-22=25 Exploring Operation: 80-22=58, Resulting Numbers: [47, 58] Generated Node #0,0,3: 83:[47, 58] Operation: 80-22=58 Exploring Operation: 22+80=102, Resulting Numbers: [47, 102] Generated Node #0,0,4: 83:[47, 102] Operation: 22+80=102 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[80, 69], Operations: ['2*40=80', '22+47=69'] Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[47, 102], Operations: ['2*40=80', '22+80=102'] Exploring Operation: 47*102=4794, Resulting Numbers: [4794] 4794,83 unequal: No Solution Exploring Operation: 102-47=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 47+102=149, Resulting Numbers: [149] 149,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[80, 25], Operations: ['2*40=80', '47-22=25'] Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,83 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[47, 58], Operations: ['2*40=80', '80-22=58'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 47*58=2726, Resulting Numbers: [2726] 2726,83 unequal: No Solution Exploring Operation: 47+58=105, Resulting Numbers: [105] 105,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[22, 127], Operations: ['2*40=80', '47+80=127'] Exploring Operation: 22*127=2794, Resulting Numbers: [2794] 2794,83 unequal: No Solution Exploring Operation: 22+127=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 127-22=105, Resulting Numbers: [105] 105,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 83:[22, 40, 94], Operations: ['47*2=94'] Exploring Operation: 94-22=72, Resulting Numbers: [40, 72] Generated Node #0,4,0: 83:[40, 72] Operation: 94-22=72 Exploring Operation: 22+94=116, Resulting Numbers: [40, 116] Generated Node #0,4,1: 83:[40, 116] Operation: 22+94=116 Exploring Operation: 94-40=54, Resulting Numbers: [22, 54] Generated Node #0,4,2: 83:[22, 54] Operation: 94-40=54 Exploring Operation: 40-22=18, Resulting Numbers: [94, 18] Generated Node #0,4,3: 83:[94, 18] Operation: 40-22=18 Exploring Operation: 22+40=62, Resulting Numbers: [94, 62] Generated Node #0,4,4: 83:[94, 62] Operation: 22+40=62 Moving to Node #0,2 Current State: 83:[47, 40, 44], Operations: ['22*2=44'] Exploring Operation: 47+40=87, Resulting Numbers: [44, 87] Generated Node #0,2,0: 83:[44, 87] Operation: 47+40=87 Exploring Operation: 44-40=4, Resulting Numbers: [47, 4] Generated Node #0,2,1: 83:[47, 4] Operation: 44-40=4 Exploring Operation: 40+44=84, Resulting Numbers: [47, 84] Generated Node #0,2,2: 83:[47, 84] Operation: 40+44=84 Exploring Operation: 47-40=7, Resulting Numbers: [44, 7] Generated Node #0,2,3: 83:[44, 7] Operation: 47-40=7 Exploring Operation: 47+44=91, Resulting Numbers: [40, 91] Generated Node #0,2,4: 83:[40, 91] Operation: 47+44=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[47, 84], Operations: ['22*2=44', '40+44=84'] Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,83 unequal: No Solution Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[44, 87], Operations: ['22*2=44', '47+40=87'] Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,83 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[40, 91], Operations: ['22*2=44', '47+44=91'] Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[47, 4], Operations: ['22*2=44', '44-40=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[44, 7], Operations: ['22*2=44', '47-40=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,83 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,83 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: 83:[2, 40, 69], Operations: ['22+47=69'] Exploring Operation: 2+40=42, Resulting Numbers: [69, 42] Generated Node #0,1,0: 83:[69, 42] Operation: 2+40=42 Exploring Operation: 69-2=67, Resulting Numbers: [40, 67] Generated Node #0,1,1: 83:[40, 67] Operation: 69-2=67 Exploring Operation: 40-2=38, Resulting Numbers: [69, 38] Generated Node #0,1,2: 83:[69, 38] Operation: 40-2=38 Exploring Operation: 2*40=80, Resulting Numbers: [69, 80] Generated Node #0,1,3: 83:[69, 80] Operation: 2*40=80 Exploring Operation: 2+69=71, Resulting Numbers: [40, 71] Generated Node #0,1,4: 83:[40, 71] Operation: 2+69=71 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[69, 80], Operations: ['22+47=69', '2*40=80'] Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[69, 42], Operations: ['22+47=69', '2+40=42'] Exploring Operation: 69+42=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 69*42=2898, Resulting Numbers: [2898] 2898,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[40, 71], Operations: ['22+47=69', '2+69=71'] Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,83 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[40, 67], Operations: ['22+47=69', '69-2=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[69, 38], Operations: ['22+47=69', '40-2=38'] Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,83 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 83:[47, 40, 24], Operations: ['22+2=24'] Exploring Operation: 47+40=87, Resulting Numbers: [24, 87] Generated Node #0,3,0: 83:[24, 87] Operation: 47+40=87 Exploring Operation: 47-24=23, Resulting Numbers: [40, 23] Generated Node #0,3,1: 83:[40, 23] Operation: 47-24=23 Exploring Operation: 40+24=64, Resulting Numbers: [47, 64] Generated Node #0,3,2: 83:[47, 64] Operation: 40+24=64 Exploring Operation: 47+24=71, Resulting Numbers: [40, 71] Generated Node #0,3,3: 83:[40, 71] Operation: 47+24=71 Exploring Operation: 40-24=16, Resulting Numbers: [47, 16] Generated Node #0,3,4: 83:[47, 16] Operation: 40-24=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[47, 64], Operations: ['22+2=24', '40+24=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,83 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[40, 71], Operations: ['22+2=24', '47+24=71'] Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[24, 87], Operations: ['22+2=24', '47+40=87'] Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 24*87=2088, Resulting Numbers: [2088] 2088,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[40, 23], Operations: ['22+2=24', '47-24=23'] Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,83 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 83:[47, 16], Operations: ['22+2=24', '40-24=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,83 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 83:[94, 62], Operations: ['47*2=94', '22+40=62'] Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,83 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[40, 72], Operations: ['47*2=94', '94-22=72'] Exploring Operation: 40*72=2880, Resulting Numbers: [2880] 2880,83 unequal: No Solution Exploring Operation: 40+72=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[40, 116], Operations: ['47*2=94', '22+94=116'] Exploring Operation: 116-40=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 40+116=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 40*116=4640, Resulting Numbers: [4640] 4640,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[94, 18], Operations: ['47*2=94', '40-22=18'] Exploring Operation: 94+18=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 94*18=1692, Resulting Numbers: [1692] 1692,83 unequal: No Solution Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[22, 54], Operations: ['47*2=94', '94-40=54'] Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,83 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 84, 82, 26, 47 ]
75
[ "84-82=2", "26+47=73", "2+73=75" ]
Current State: 75:[84, 82, 26, 47], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [26, 47, 2] Generated Node #2: [26, 47, 2] from Operation: 84-82=2 Current State: 75:[26, 47, 2], Operations: ['84-82=2'] Exploring Operation: 26+47=73, Resulting Numbers: [2, 73] Generated Node #3: [2, 73] from Operation: 26+47=73 Current State: 75:[2, 73], Operations: ['84-82=2', '26+47=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[84, 82, 26, 47], Operations: [] Exploring Operation: 82-47=35, Resulting Numbers: [84, 26, 35] Generated Node #0,0: 75:[84, 26, 35] Operation: 82-47=35 Exploring Operation: 84-47=37, Resulting Numbers: [82, 26, 37] Generated Node #0,1: 75:[82, 26, 37] Operation: 84-47=37 Exploring Operation: 26+47=73, Resulting Numbers: [84, 82, 73] Generated Node #0,2: 75:[84, 82, 73] Operation: 26+47=73 Moving to Node #0,2 Current State: 75:[84, 82, 73], Operations: ['26+47=73'] Exploring Operation: 82-73=9, Resulting Numbers: [84, 9] Generated Node #0,2,0: 75:[84, 9] Operation: 82-73=9 Exploring Operation: 84-82=2, Resulting Numbers: [73, 2] Generated Node #0,2,1: 75:[73, 2] Operation: 84-82=2 Exploring Operation: 84-73=11, Resulting Numbers: [82, 11] Generated Node #0,2,2: 75:[82, 11] Operation: 84-73=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[73, 2], Operations: ['26+47=73', '84-82=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[84, 82, 26, 47], Operations: [] Exploring Operation: 26+47=73, Resulting Numbers: [84, 82, 73] Generated Node #0,2: 75:[84, 82, 73] Operation: 26+47=73 Moving to Node #0,2 Current State: 75:[84, 82, 73], Operations: ['26+47=73'] Exploring Operation: 84-82=2, Resulting Numbers: [73, 2] Generated Node #0,2,1: 75:[73, 2] Operation: 84-82=2 Moving to Node #0,2,1 Current State: 75:[73, 2], Operations: ['26+47=73', '84-82=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 52, 24, 70, 86 ]
27
[ "70+86=156", "156/52=3", "24+3=27" ]
Current State: 27:[52, 24, 70, 86], Operations: [] Exploring Operation: 70+86=156, Resulting Numbers: [52, 24, 156] Generated Node #2: [52, 24, 156] from Operation: 70+86=156 Current State: 27:[52, 24, 156], Operations: ['70+86=156'] Exploring Operation: 156/52=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 156/52=3 Current State: 27:[24, 3], Operations: ['70+86=156', '156/52=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[52, 24, 70, 86], Operations: [] Exploring Operation: 52-24=28, Resulting Numbers: [70, 86, 28] Generated Node #0,0: 27:[70, 86, 28] Operation: 52-24=28 Exploring Operation: 86-70=16, Resulting Numbers: [52, 24, 16] Generated Node #0,1: 27:[52, 24, 16] Operation: 86-70=16 Exploring Operation: 70-52=18, Resulting Numbers: [24, 86, 18] Generated Node #0,2: 27:[24, 86, 18] Operation: 70-52=18 Exploring Operation: 86-52=34, Resulting Numbers: [24, 70, 34] Generated Node #0,3: 27:[24, 70, 34] Operation: 86-52=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[52, 24, 16], Operations: ['86-70=16'] Exploring Operation: 24+16=40, Resulting Numbers: [52, 40] Generated Node #0,1,0: 27:[52, 40] Operation: 24+16=40 Exploring Operation: 24-16=8, Resulting Numbers: [52, 8] Generated Node #0,1,1: 27:[52, 8] Operation: 24-16=8 Exploring Operation: 52-16=36, Resulting Numbers: [24, 36] Generated Node #0,1,2: 27:[24, 36] Operation: 52-16=36 Exploring Operation: 52-24=28, Resulting Numbers: [16, 28] Generated Node #0,1,3: 27:[16, 28] Operation: 52-24=28 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 27:[16, 28], Operations: ['86-70=16', '52-24=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,27 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[24, 36], Operations: ['86-70=16', '52-16=36'] Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,27 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[52, 8], Operations: ['86-70=16', '24-16=8'] Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,27 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[52, 40], Operations: ['86-70=16', '24+16=40'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,27 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[24, 70, 34], Operations: ['86-52=34'] Exploring Operation: 70-24=46, Resulting Numbers: [34, 46] Generated Node #0,3,0: 27:[34, 46] Operation: 70-24=46 Exploring Operation: 70-34=36, Resulting Numbers: [24, 36] Generated Node #0,3,1: 27:[24, 36] Operation: 70-34=36 Exploring Operation: 24+70=94, Resulting Numbers: [34, 94] Generated Node #0,3,2: 27:[34, 94] Operation: 24+70=94 Exploring Operation: 34-24=10, Resulting Numbers: [70, 10] Generated Node #0,3,3: 27:[70, 10] Operation: 34-24=10 Moving to Node #0,3,1 Current State: 27:[24, 36], Operations: ['86-52=34', '70-34=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,27 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[34, 46], Operations: ['86-52=34', '70-24=46'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,27 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[70, 10], Operations: ['86-52=34', '34-24=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[34, 94], Operations: ['86-52=34', '24+70=94'] Exploring Operation: 34*94=3196, Resulting Numbers: [3196] 3196,27 unequal: No Solution Exploring Operation: 94-34=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 34+94=128, Resulting Numbers: [128] 128,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:[24, 86, 18], Operations: ['70-52=18'] Exploring Operation: 24-18=6, Resulting Numbers: [86, 6] Generated Node #0,2,0: 27:[86, 6] Operation: 24-18=6 Exploring Operation: 86-18=68, Resulting Numbers: [24, 68] Generated Node #0,2,1: 27:[24, 68] Operation: 86-18=68 Exploring Operation: 24+18=42, Resulting Numbers: [86, 42] Generated Node #0,2,2: 27:[86, 42] Operation: 24+18=42 Exploring Operation: 86-24=62, Resulting Numbers: [18, 62] Generated Node #0,2,3: 27:[18, 62] Operation: 86-24=62 Moving to Node #0,2,1 Current State: 27:[24, 68], Operations: ['70-52=18', '86-18=68'] Exploring Operation: 24*68=1632, Resulting Numbers: [1632] 1632,27 unequal: No Solution Exploring Operation: 24+68=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[18, 62], Operations: ['70-52=18', '86-24=62'] Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,27 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[86, 6], Operations: ['70-52=18', '24-18=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,27 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[86, 42], Operations: ['70-52=18', '24+18=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,27 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[70, 86, 28], Operations: ['52-24=28'] Exploring Operation: 86-70=16, Resulting Numbers: [28, 16] Generated Node #0,0,0: 27:[28, 16] Operation: 86-70=16 Exploring Operation: 86-28=58, Resulting Numbers: [70, 58] Generated Node #0,0,1: 27:[70, 58] Operation: 86-28=58 Exploring Operation: 70-28=42, Resulting Numbers: [86, 42] Generated Node #0,0,2: 27:[86, 42] Operation: 70-28=42 Exploring Operation: 70+86=156, Resulting Numbers: [28, 156] Generated Node #0,0,3: 27:[28, 156] Operation: 70+86=156 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[28, 16], Operations: ['52-24=28', '86-70=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,27 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[70, 58], Operations: ['52-24=28', '86-28=58'] Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,27 unequal: No Solution Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,27 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[86, 42], Operations: ['52-24=28', '70-28=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,27 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[28, 156], Operations: ['52-24=28', '70+86=156'] Exploring Operation: 156-28=128, Resulting Numbers: [128] 128,27 unequal: No Solution Exploring Operation: 28*156=4368, Resulting Numbers: [4368] 4368,27 unequal: No Solution Exploring Operation: 28+156=184, Resulting Numbers: [184] 184,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_4
sum_heuristic
[ 48, 37, 1, 40 ]
15
[ "40-37=3", "48/3=16", "16-1=15" ]
Current State: 15:[48, 37, 1, 40], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [48, 1, 3] Generated Node #2: [48, 1, 3] from Operation: 40-37=3 Current State: 15:[48, 1, 3], Operations: ['40-37=3'] Exploring Operation: 48/3=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 48/3=16 Current State: 15:[1, 16], Operations: ['40-37=3', '48/3=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[48, 37, 1, 40], Operations: [] Exploring Operation: 48-1=47, Resulting Numbers: [37, 40, 47] Generated Node #0,0: 15:[37, 40, 47] Operation: 48-1=47 Exploring Operation: 48-40=8, Resulting Numbers: [37, 1, 8] Generated Node #0,1: 15:[37, 1, 8] Operation: 48-40=8 Exploring Operation: 48-37=11, Resulting Numbers: [1, 40, 11] Generated Node #0,2: 15:[1, 40, 11] Operation: 48-37=11 Exploring Operation: 40-37=3, Resulting Numbers: [48, 1, 3] Generated Node #0,3: 15:[48, 1, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[37, 1, 8], Operations: ['48-40=8'] Exploring Operation: 37*1=37, Resulting Numbers: [8, 37] Generated Node #0,1,0: 15:[8, 37] Operation: 37*1=37 Exploring Operation: 8-1=7, Resulting Numbers: [37, 7] Generated Node #0,1,1: 15:[37, 7] Operation: 8-1=7 Exploring Operation: 37-1=36, Resulting Numbers: [8, 36] Generated Node #0,1,2: 15:[8, 36] Operation: 37-1=36 Exploring Operation: 37-8=29, Resulting Numbers: [1, 29] Generated Node #0,1,3: 15:[1, 29] Operation: 37-8=29 Moving to Node #0,1,3 Current State: 15:[1, 29], Operations: ['48-40=8', '37-8=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[8, 36], Operations: ['48-40=8', '37-1=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,15 unequal: No Solution Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[37, 7], Operations: ['48-40=8', '8-1=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,15 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[8, 37], Operations: ['48-40=8', '37*1=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[1, 40, 11], Operations: ['48-37=11'] Exploring Operation: 40-1=39, Resulting Numbers: [11, 39] Generated Node #0,2,0: 15:[11, 39] Operation: 40-1=39 Exploring Operation: 40-11=29, Resulting Numbers: [1, 29] Generated Node #0,2,1: 15:[1, 29] Operation: 40-11=29 Exploring Operation: 1+11=12, Resulting Numbers: [40, 12] Generated Node #0,2,2: 15:[40, 12] Operation: 1+11=12 Exploring Operation: 1*40=40, Resulting Numbers: [11, 40] Generated Node #0,2,3: 15:[11, 40] Operation: 1*40=40 Moving to Node #0,2,1 Current State: 15:[1, 29], Operations: ['48-37=11', '40-11=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[40, 12], Operations: ['48-37=11', '1+11=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[11, 39], Operations: ['48-37=11', '40-1=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,15 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[11, 40], Operations: ['48-37=11', '1*40=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,15 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,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,3 Current State: 15:[48, 1, 3], Operations: ['40-37=3'] Exploring Operation: 48/3=16, Resulting Numbers: [1, 16] Generated Node #0,3,0: 15:[1, 16] Operation: 48/3=16 Exploring Operation: 48-1=47, Resulting Numbers: [3, 47] Generated Node #0,3,1: 15:[3, 47] Operation: 48-1=47 Exploring Operation: 48-3=45, Resulting Numbers: [1, 45] Generated Node #0,3,2: 15:[1, 45] Operation: 48-3=45 Exploring Operation: 48*1=48, Resulting Numbers: [3, 48] Generated Node #0,3,3: 15:[3, 48] Operation: 48*1=48 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[1, 16], Operations: ['40-37=3', '48/3=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[48, 37, 1, 40], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [48, 1, 3] Generated Node #0,3: 15:[48, 1, 3] Operation: 40-37=3 Moving to Node #0,3 Current State: 15:[48, 1, 3], Operations: ['40-37=3'] Exploring Operation: 48/3=16, Resulting Numbers: [1, 16] Generated Node #0,3,0: 15:[1, 16] Operation: 48/3=16 Moving to Node #0,3,0 Current State: 15:[1, 16], Operations: ['40-37=3', '48/3=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 81, 72, 82, 91 ]
18
[ "81-72=9", "91-82=9", "9+9=18" ]
Current State: 18:[81, 72, 82, 91], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [82, 91, 9] Generated Node #2: [82, 91, 9] from Operation: 81-72=9 Current State: 18:[82, 91, 9], Operations: ['81-72=9'] Exploring Operation: 91-82=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 91-82=9 Current State: 18:[9, 9], Operations: ['81-72=9', '91-82=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[81, 72, 82, 91], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [81, 72, 9] Generated Node #0,0: 18:[81, 72, 9] Operation: 91-82=9 Exploring Operation: 91-81=10, Resulting Numbers: [72, 82, 10] Generated Node #0,1: 18:[72, 82, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 18:[81, 72, 9], Operations: ['91-82=9'] Exploring Operation: 81/9=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 18:[72, 9] Operation: 81/9=9 Exploring Operation: 81-72=9, Resulting Numbers: [9, 9] Generated Node #0,0,1: 18:[9, 9] Operation: 81-72=9 Moving to Node #0,1 Current State: 18:[72, 82, 10], Operations: ['91-81=10'] Exploring Operation: 72-10=62, Resulting Numbers: [82, 62] Generated Node #0,1,0: 18:[82, 62] Operation: 72-10=62 Exploring Operation: 82-72=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 18:[10, 10] Operation: 82-72=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[10, 10], Operations: ['91-81=10', '82-72=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,18 unequal: No Solution No 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: 18:[82, 62], Operations: ['91-81=10', '72-10=62'] Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 18:[9, 9], Operations: ['91-82=9', '81-72=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[81, 72, 82, 91], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [81, 72, 9] Generated Node #0,0: 18:[81, 72, 9] Operation: 91-82=9 Moving to Node #0,0 Current State: 18:[81, 72, 9], Operations: ['91-82=9'] Exploring Operation: 81-72=9, Resulting Numbers: [9, 9] Generated Node #0,0,1: 18:[9, 9] Operation: 81-72=9 Moving to Node #0,0,1 Current State: 18:[9, 9], Operations: ['91-82=9', '81-72=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 5, 46, 25, 36 ]
87
[ "25/5=5", "46+36=82", "5+82=87" ]
Current State: 87:[5, 46, 25, 36], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [46, 36, 5] Generated Node #2: [46, 36, 5] from Operation: 25/5=5 Current State: 87:[46, 36, 5], Operations: ['25/5=5'] Exploring Operation: 46+36=82, Resulting Numbers: [5, 82] Generated Node #3: [5, 82] from Operation: 46+36=82 Current State: 87:[5, 82], Operations: ['25/5=5', '46+36=82'] Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[5, 46, 25, 36], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [46, 25, 31] Generated Node #0,0: 87:[46, 25, 31] Operation: 36-5=31 Exploring Operation: 46-5=41, Resulting Numbers: [25, 36, 41] Generated Node #0,1: 87:[25, 36, 41] Operation: 46-5=41 Exploring Operation: 46+36=82, Resulting Numbers: [5, 25, 82] Generated Node #0,2: 87:[5, 25, 82] Operation: 46+36=82 Exploring Operation: 46-25=21, Resulting Numbers: [5, 36, 21] Generated Node #0,3: 87:[5, 36, 21] Operation: 46-25=21 Exploring Operation: 46-36=10, Resulting Numbers: [5, 25, 10] Generated Node #0,4: 87:[5, 25, 10] Operation: 46-36=10 Moving to Node #0,2 Current State: 87:[5, 25, 82], Operations: ['46+36=82'] Exploring Operation: 25/5=5, Resulting Numbers: [82, 5] Generated Node #0,2,0: 87:[82, 5] Operation: 25/5=5 Exploring Operation: 5+25=30, Resulting Numbers: [82, 30] Generated Node #0,2,1: 87:[82, 30] Operation: 5+25=30 Exploring Operation: 82-5=77, Resulting Numbers: [25, 77] Generated Node #0,2,2: 87:[25, 77] Operation: 82-5=77 Exploring Operation: 5+82=87, Resulting Numbers: [25, 87] Generated Node #0,2,3: 87:[25, 87] Operation: 5+82=87 Exploring Operation: 25-5=20, Resulting Numbers: [82, 20] Generated Node #0,2,4: 87:[82, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[25, 87], Operations: ['46+36=82', '5+82=87'] Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,87 unequal: No Solution Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[82, 30], Operations: ['46+36=82', '5+25=30'] Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,87 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[82, 5], Operations: ['46+36=82', '25/5=5'] Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,87 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[5, 46, 25, 36], Operations: [] Exploring Operation: 46+36=82, Resulting Numbers: [5, 25, 82] Generated Node #0,2: 87:[5, 25, 82] Operation: 46+36=82 Moving to Node #0,2 Current State: 87:[5, 25, 82], Operations: ['46+36=82'] Exploring Operation: 25/5=5, Resulting Numbers: [82, 5] Generated Node #0,2,0: 87:[82, 5] Operation: 25/5=5 Moving to Node #0,2,0 Current State: 87:[82, 5], Operations: ['46+36=82', '25/5=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 77, 19, 53, 11 ]
79
[ "77+53=130", "19*11=209", "209-130=79" ]
Current State: 79:[77, 19, 53, 11], Operations: [] Exploring Operation: 77+53=130, Resulting Numbers: [19, 11, 130] Generated Node #2: [19, 11, 130] from Operation: 77+53=130 Current State: 79:[19, 11, 130], Operations: ['77+53=130'] Exploring Operation: 19*11=209, Resulting Numbers: [130, 209] Generated Node #3: [130, 209] from Operation: 19*11=209 Current State: 79:[130, 209], Operations: ['77+53=130', '19*11=209'] Exploring Operation: 209-130=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[77, 19, 53, 11], Operations: [] Exploring Operation: 77+11=88, Resulting Numbers: [19, 53, 88] Generated Node #0,0: 79:[19, 53, 88] Operation: 77+11=88 Exploring Operation: 19+11=30, Resulting Numbers: [77, 53, 30] Generated Node #0,1: 79:[77, 53, 30] Operation: 19+11=30 Exploring Operation: 53+11=64, Resulting Numbers: [77, 19, 64] Generated Node #0,2: 79:[77, 19, 64] Operation: 53+11=64 Exploring Operation: 19+53=72, Resulting Numbers: [77, 11, 72] Generated Node #0,3: 79:[77, 11, 72] Operation: 19+53=72 Moving to Node #0,1 Current State: 79:[77, 53, 30], Operations: ['19+11=30'] Exploring Operation: 53+30=83, Resulting Numbers: [77, 83] Generated Node #0,1,0: 79:[77, 83] Operation: 53+30=83 Exploring Operation: 77+30=107, Resulting Numbers: [53, 107] Generated Node #0,1,1: 79:[53, 107] Operation: 77+30=107 Exploring Operation: 77-30=47, Resulting Numbers: [53, 47] Generated Node #0,1,2: 79:[53, 47] Operation: 77-30=47 Exploring Operation: 53-30=23, Resulting Numbers: [77, 23] Generated Node #0,1,3: 79:[77, 23] Operation: 53-30=23 Moving to Node #0,3 Current State: 79:[77, 11, 72], Operations: ['19+53=72'] Exploring Operation: 77-11=66, Resulting Numbers: [72, 66] Generated Node #0,3,0: 79:[72, 66] Operation: 77-11=66 Exploring Operation: 11+72=83, Resulting Numbers: [77, 83] Generated Node #0,3,1: 79:[77, 83] Operation: 11+72=83 Exploring Operation: 77+11=88, Resulting Numbers: [72, 88] Generated Node #0,3,2: 79:[72, 88] Operation: 77+11=88 Exploring Operation: 72-11=61, Resulting Numbers: [77, 61] Generated Node #0,3,3: 79:[77, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[77, 83], Operations: ['19+53=72', '11+72=83'] Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,79 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[72, 88], Operations: ['19+53=72', '77+11=88'] Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 72*88=6336, Resulting Numbers: [6336] 6336,79 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[72, 66], Operations: ['19+53=72', '77-11=66'] Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,79 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[77, 61], Operations: ['19+53=72', '72-11=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,79 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,79 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: 79:[77, 19, 64], Operations: ['53+11=64'] Exploring Operation: 64-19=45, Resulting Numbers: [77, 45] Generated Node #0,2,0: 79:[77, 45] Operation: 64-19=45 Exploring Operation: 77-19=58, Resulting Numbers: [64, 58] Generated Node #0,2,1: 79:[64, 58] Operation: 77-19=58 Exploring Operation: 19+64=83, Resulting Numbers: [77, 83] Generated Node #0,2,2: 79:[77, 83] Operation: 19+64=83 Exploring Operation: 77+19=96, Resulting Numbers: [64, 96] Generated Node #0,2,3: 79:[64, 96] Operation: 77+19=96 Moving to Node #0,0 Current State: 79:[19, 53, 88], Operations: ['77+11=88'] Exploring Operation: 53-19=34, Resulting Numbers: [88, 34] Generated Node #0,0,0: 79:[88, 34] Operation: 53-19=34 Exploring Operation: 88-19=69, Resulting Numbers: [53, 69] Generated Node #0,0,1: 79:[53, 69] Operation: 88-19=69 Exploring Operation: 19+53=72, Resulting Numbers: [88, 72] Generated Node #0,0,2: 79:[88, 72] Operation: 19+53=72 Exploring Operation: 19+88=107, Resulting Numbers: [53, 107] Generated Node #0,0,3: 79:[53, 107] Operation: 19+88=107 Moving to Node #0,1,0 Current State: 79:[77, 83], Operations: ['19+11=30', '53+30=83'] Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,79 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[77, 83], Operations: ['53+11=64', '19+64=83'] Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,79 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[88, 72], Operations: ['77+11=88', '19+53=72'] Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 88*72=6336, Resulting Numbers: [6336] 6336,79 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[64, 96], Operations: ['53+11=64', '77+19=96'] Exploring Operation: 64*96=6144, Resulting Numbers: [6144] 6144,79 unequal: No Solution Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 64+96=160, Resulting Numbers: [160] 160,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[77, 45], Operations: ['53+11=64', '64-19=45'] Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[53, 69], Operations: ['77+11=88', '88-19=69'] Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[64, 58], Operations: ['53+11=64', '77-19=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[88, 34], Operations: ['77+11=88', '53-19=34'] Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[53, 107], Operations: ['77+11=88', '19+88=107'] Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[53, 107], Operations: ['19+11=30', '77+30=107'] Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,79 unequal: No Solution Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[77, 23], Operations: ['19+11=30', '53-30=23'] Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,79 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[53, 47], Operations: ['19+11=30', '77-30=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,79 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,79 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 20, 2, 14 ]
37
[ "45+20=65", "2*14=28", "65-28=37" ]
Current State: 37:[45, 20, 2, 14], Operations: [] Exploring Operation: 45+20=65, Resulting Numbers: [2, 14, 65] Generated Node #2: [2, 14, 65] from Operation: 45+20=65 Current State: 37:[2, 14, 65], Operations: ['45+20=65'] Exploring Operation: 2*14=28, Resulting Numbers: [65, 28] Generated Node #3: [65, 28] from Operation: 2*14=28 Current State: 37:[65, 28], Operations: ['45+20=65', '2*14=28'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[45, 20, 2, 14], Operations: [] Exploring Operation: 45-2=43, Resulting Numbers: [20, 14, 43] Generated Node #0,0: 37:[20, 14, 43] Operation: 45-2=43 Exploring Operation: 20+2=22, Resulting Numbers: [45, 14, 22] Generated Node #0,1: 37:[45, 14, 22] Operation: 20+2=22 Exploring Operation: 20*2=40, Resulting Numbers: [45, 14, 40] Generated Node #0,2: 37:[45, 14, 40] Operation: 20*2=40 Exploring Operation: 2*14=28, Resulting Numbers: [45, 20, 28] Generated Node #0,3: 37:[45, 20, 28] Operation: 2*14=28 Moving to Node #0,2 Current State: 37:[45, 14, 40], Operations: ['20*2=40'] Exploring Operation: 14+40=54, Resulting Numbers: [45, 54] Generated Node #0,2,0: 37:[45, 54] Operation: 14+40=54 Exploring Operation: 40-14=26, Resulting Numbers: [45, 26] Generated Node #0,2,1: 37:[45, 26] Operation: 40-14=26 Exploring Operation: 45-14=31, Resulting Numbers: [40, 31] Generated Node #0,2,2: 37:[40, 31] Operation: 45-14=31 Exploring Operation: 45+14=59, Resulting Numbers: [40, 59] Generated Node #0,2,3: 37:[40, 59] Operation: 45+14=59 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[40, 31], Operations: ['20*2=40', '45-14=31'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,37 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[45, 26], Operations: ['20*2=40', '40-14=26'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[45, 54], Operations: ['20*2=40', '14+40=54'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[40, 59], Operations: ['20*2=40', '45+14=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,37 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 37:[45, 20, 28], Operations: ['2*14=28'] Exploring Operation: 45+20=65, Resulting Numbers: [28, 65] Generated Node #0,3,0: 37:[28, 65] Operation: 45+20=65 Exploring Operation: 45-28=17, Resulting Numbers: [20, 17] Generated Node #0,3,1: 37:[20, 17] Operation: 45-28=17 Exploring Operation: 20+28=48, Resulting Numbers: [45, 48] Generated Node #0,3,2: 37:[45, 48] Operation: 20+28=48 Exploring Operation: 45-20=25, Resulting Numbers: [28, 25] Generated Node #0,3,3: 37:[28, 25] Operation: 45-20=25 Moving to Node #0,1 Current State: 37:[45, 14, 22], Operations: ['20+2=22'] Exploring Operation: 45-14=31, Resulting Numbers: [22, 31] Generated Node #0,1,0: 37:[22, 31] Operation: 45-14=31 Exploring Operation: 45-22=23, Resulting Numbers: [14, 23] Generated Node #0,1,1: 37:[14, 23] Operation: 45-22=23 Exploring Operation: 14+22=36, Resulting Numbers: [45, 36] Generated Node #0,1,2: 37:[45, 36] Operation: 14+22=36 Exploring Operation: 45+14=59, Resulting Numbers: [22, 59] Generated Node #0,1,3: 37:[22, 59] Operation: 45+14=59 Moving to Node #0,0 Current State: 37:[20, 14, 43], Operations: ['45-2=43'] Exploring Operation: 43-20=23, Resulting Numbers: [14, 23] Generated Node #0,0,0: 37:[14, 23] Operation: 43-20=23 Exploring Operation: 20-14=6, Resulting Numbers: [43, 6] Generated Node #0,0,1: 37:[43, 6] Operation: 20-14=6 Exploring Operation: 43-14=29, Resulting Numbers: [20, 29] Generated Node #0,0,2: 37:[20, 29] Operation: 43-14=29 Exploring Operation: 20+14=34, Resulting Numbers: [43, 34] Generated Node #0,0,3: 37:[43, 34] Operation: 20+14=34 Moving to Node #0,1,2 Current State: 37:[45, 36], Operations: ['20+2=22', '14+22=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,37 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[43, 34], Operations: ['45-2=43', '20+14=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,37 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[45, 48], Operations: ['2*14=28', '20+28=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,37 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[22, 31], Operations: ['20+2=22', '45-14=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,37 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[28, 25], Operations: ['2*14=28', '45-20=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,37 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[20, 29], Operations: ['45-2=43', '43-14=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[14, 23], Operations: ['20+2=22', '45-22=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,37 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[45, 20, 2, 14], Operations: [] Exploring Operation: 20+2=22, Resulting Numbers: [45, 14, 22] Generated Node #0,1: 37:[45, 14, 22] Operation: 20+2=22 Moving to Node #0,1 Current State: 37:[45, 14, 22], Operations: ['20+2=22'] Exploring Operation: 45-22=23, Resulting Numbers: [14, 23] Generated Node #0,1,1: 37:[14, 23] Operation: 45-22=23 Moving to Node #0,1,1 Current State: 37:[14, 23], Operations: ['20+2=22', '45-22=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.950521
hs_4
mult_heuristic
[ 7, 10, 57, 46 ]
61
[ "7*57=399", "10*46=460", "460-399=61" ]
Current State: 61:[7, 10, 57, 46], Operations: [] Exploring Operation: 7*57=399, Resulting Numbers: [10, 46, 399] Generated Node #2: [10, 46, 399] from Operation: 7*57=399 Current State: 61:[10, 46, 399], Operations: ['7*57=399'] Exploring Operation: 10*46=460, Resulting Numbers: [399, 460] Generated Node #3: [399, 460] from Operation: 10*46=460 Current State: 61:[399, 460], Operations: ['7*57=399', '10*46=460'] Exploring Operation: 460-399=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[7, 10, 57, 46], Operations: [] Exploring Operation: 7*10=70, Resulting Numbers: [57, 46, 70] Generated Node #0,0: 61:[57, 46, 70] Operation: 7*10=70 Exploring Operation: 7+10=17, Resulting Numbers: [57, 46, 17] Generated Node #0,1: 61:[57, 46, 17] Operation: 7+10=17 Exploring Operation: 10+46=56, Resulting Numbers: [7, 57, 56] Generated Node #0,2: 61:[7, 57, 56] Operation: 10+46=56 Exploring Operation: 7+46=53, Resulting Numbers: [10, 57, 53] Generated Node #0,3: 61:[10, 57, 53] Operation: 7+46=53 Moving to Node #0,0 Current State: 61:[57, 46, 70], Operations: ['7*10=70'] Exploring Operation: 57-46=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 61:[70, 11] Operation: 57-46=11 Exploring Operation: 70-46=24, Resulting Numbers: [57, 24] Generated Node #0,0,1: 61:[57, 24] Operation: 70-46=24 Exploring Operation: 46+70=116, Resulting Numbers: [57, 116] Generated Node #0,0,2: 61:[57, 116] Operation: 46+70=116 Exploring Operation: 57+46=103, Resulting Numbers: [70, 103] Generated Node #0,0,3: 61:[70, 103] Operation: 57+46=103 Moving to Node #0,2 Current State: 61:[7, 57, 56], Operations: ['10+46=56'] Exploring Operation: 57-7=50, Resulting Numbers: [56, 50] Generated Node #0,2,0: 61:[56, 50] Operation: 57-7=50 Exploring Operation: 7+57=64, Resulting Numbers: [56, 64] Generated Node #0,2,1: 61:[56, 64] Operation: 7+57=64 Exploring Operation: 56-7=49, Resulting Numbers: [57, 49] Generated Node #0,2,2: 61:[57, 49] Operation: 56-7=49 Exploring Operation: 7+56=63, Resulting Numbers: [57, 63] Generated Node #0,2,3: 61:[57, 63] Operation: 7+56=63 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[57, 63], Operations: ['10+46=56', '7+56=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,61 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,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:[56, 64], Operations: ['10+46=56', '7+57=64'] Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,61 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,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:[56, 50], Operations: ['10+46=56', '57-7=50'] Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,61 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,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:[57, 49], Operations: ['10+46=56', '56-7=49'] Exploring Operation: 57+49=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 57*49=2793, Resulting Numbers: [2793] 2793,61 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,61 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: 61:[57, 46, 17], Operations: ['7+10=17'] Exploring Operation: 46-17=29, Resulting Numbers: [57, 29] Generated Node #0,1,0: 61:[57, 29] Operation: 46-17=29 Exploring Operation: 57-17=40, Resulting Numbers: [46, 40] Generated Node #0,1,1: 61:[46, 40] Operation: 57-17=40 Exploring Operation: 46+17=63, Resulting Numbers: [57, 63] Generated Node #0,1,2: 61:[57, 63] Operation: 46+17=63 Exploring Operation: 57+17=74, Resulting Numbers: [46, 74] Generated Node #0,1,3: 61:[46, 74] Operation: 57+17=74 Moving to Node #0,3 Current State: 61:[10, 57, 53], Operations: ['7+46=53'] Exploring Operation: 10+53=63, Resulting Numbers: [57, 63] Generated Node #0,3,0: 61:[57, 63] Operation: 10+53=63 Exploring Operation: 57-10=47, Resulting Numbers: [53, 47] Generated Node #0,3,1: 61:[53, 47] Operation: 57-10=47 Exploring Operation: 10+57=67, Resulting Numbers: [53, 67] Generated Node #0,3,2: 61:[53, 67] Operation: 10+57=67 Exploring Operation: 53-10=43, Resulting Numbers: [57, 43] Generated Node #0,3,3: 61:[57, 43] Operation: 53-10=43 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[57, 63], Operations: ['7+46=53', '10+53=63'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[53, 67], Operations: ['7+46=53', '10+57=67'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 53+67=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 53*67=3551, Resulting Numbers: [3551] 3551,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[53, 47], Operations: ['7+46=53', '57-10=47'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[57, 43], Operations: ['7+46=53', '53-10=43'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 61:[57, 63], Operations: ['7+10=17', '46+17=63'] Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,61 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[46, 74], Operations: ['7+10=17', '57+17=74'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[57, 29], Operations: ['7+10=17', '46-17=29'] Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,61 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[46, 40], Operations: ['7+10=17', '57-17=40'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,61 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[57, 24], Operations: ['7*10=70', '70-46=24'] Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,61 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[70, 103], Operations: ['7*10=70', '57+46=103'] Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 70*103=7210, Resulting Numbers: [7210] 7210,61 unequal: No Solution Exploring Operation: 70+103=173, Resulting Numbers: [173] 173,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[57, 116], Operations: ['7*10=70', '46+70=116'] Exploring Operation: 116-57=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 57+116=173, Resulting Numbers: [173] 173,61 unequal: No Solution Exploring Operation: 57*116=6612, Resulting Numbers: [6612] 6612,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[70, 11], Operations: ['7*10=70', '57-46=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,61 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 77, 37, 74 ]
68
[ "77-7=70", "74/37=2", "70-2=68" ]
Current State: 68:[7, 77, 37, 74], Operations: [] Exploring Operation: 77-7=70, Resulting Numbers: [37, 74, 70] Generated Node #2: [37, 74, 70] from Operation: 77-7=70 Current State: 68:[37, 74, 70], Operations: ['77-7=70'] Exploring Operation: 74/37=2, Resulting Numbers: [70, 2] Generated Node #3: [70, 2] from Operation: 74/37=2 Current State: 68:[70, 2], Operations: ['77-7=70', '74/37=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[7, 77, 37, 74], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [7, 77, 2] Generated Node #0,0: 68:[7, 77, 2] Operation: 74/37=2 Exploring Operation: 77-74=3, Resulting Numbers: [7, 37, 3] Generated Node #0,1: 68:[7, 37, 3] Operation: 77-74=3 Exploring Operation: 77-7=70, Resulting Numbers: [37, 74, 70] Generated Node #0,2: 68:[37, 74, 70] Operation: 77-7=70 Exploring Operation: 74-7=67, Resulting Numbers: [77, 37, 67] Generated Node #0,3: 68:[77, 37, 67] Operation: 74-7=67 Exploring Operation: 77/7=11, Resulting Numbers: [37, 74, 11] Generated Node #0,4: 68:[37, 74, 11] Operation: 77/7=11 Moving to Node #0,1 Current State: 68:[7, 37, 3], Operations: ['77-74=3'] Exploring Operation: 7*3=21, Resulting Numbers: [37, 21] Generated Node #0,1,0: 68:[37, 21] Operation: 7*3=21 Exploring Operation: 7+3=10, Resulting Numbers: [37, 10] Generated Node #0,1,1: 68:[37, 10] Operation: 7+3=10 Exploring Operation: 37-3=34, Resulting Numbers: [7, 34] Generated Node #0,1,2: 68:[7, 34] Operation: 37-3=34 Exploring Operation: 37-7=30, Resulting Numbers: [3, 30] Generated Node #0,1,3: 68:[3, 30] Operation: 37-7=30 Exploring Operation: 7-3=4, Resulting Numbers: [37, 4] Generated Node #0,1,4: 68:[37, 4] Operation: 7-3=4 Moving to Node #0,2 Current State: 68:[37, 74, 70], Operations: ['77-7=70'] Exploring Operation: 37+74=111, Resulting Numbers: [70, 111] Generated Node #0,2,0: 68:[70, 111] Operation: 37+74=111 Exploring Operation: 74-70=4, Resulting Numbers: [37, 4] Generated Node #0,2,1: 68:[37, 4] Operation: 74-70=4 Exploring Operation: 70-37=33, Resulting Numbers: [74, 33] Generated Node #0,2,2: 68:[74, 33] Operation: 70-37=33 Exploring Operation: 74/37=2, Resulting Numbers: [70, 2] Generated Node #0,2,3: 68:[70, 2] Operation: 74/37=2 Exploring Operation: 74-37=37, Resulting Numbers: [70, 37] Generated Node #0,2,4: 68:[70, 37] Operation: 74-37=37 Moving to Node #0,0 Current State: 68:[7, 77, 2], Operations: ['74/37=2'] Exploring Operation: 7-2=5, Resulting Numbers: [77, 5] Generated Node #0,0,0: 68:[77, 5] Operation: 7-2=5 Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #0,0,1: 68:[2, 70] Operation: 77-7=70 Exploring Operation: 77-2=75, Resulting Numbers: [7, 75] Generated Node #0,0,2: 68:[7, 75] Operation: 77-2=75 Exploring Operation: 77/7=11, Resulting Numbers: [2, 11] Generated Node #0,0,3: 68:[2, 11] Operation: 77/7=11 Exploring Operation: 7*2=14, Resulting Numbers: [77, 14] Generated Node #0,0,4: 68:[77, 14] Operation: 7*2=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[2, 70], Operations: ['74/37=2', '77-7=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,68 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[7, 77, 37, 74], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [7, 77, 2] Generated Node #0,0: 68:[7, 77, 2] Operation: 74/37=2 Moving to Node #0,0 Current State: 68:[7, 77, 2], Operations: ['74/37=2'] Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #0,0,1: 68:[2, 70] Operation: 77-7=70 Moving to Node #0,0,1 Current State: 68:[2, 70], Operations: ['74/37=2', '77-7=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 52, 10, 83, 3 ]
43
[ "52-10=42", "3*42=126", "126-83=43" ]
Current State: 43:[52, 10, 83, 3], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [83, 3, 42] Generated Node #2: [83, 3, 42] from Operation: 52-10=42 Current State: 43:[83, 3, 42], Operations: ['52-10=42'] Exploring Operation: 3*42=126, Resulting Numbers: [83, 126] Generated Node #3: [83, 126] from Operation: 3*42=126 Current State: 43:[83, 126], Operations: ['52-10=42', '3*42=126'] Exploring Operation: 126-83=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[52, 10, 83, 3], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [10, 83, 49] Generated Node #0,0: 43:[10, 83, 49] Operation: 52-3=49 Exploring Operation: 10+3=13, Resulting Numbers: [52, 83, 13] Generated Node #0,1: 43:[52, 83, 13] Operation: 10+3=13 Exploring Operation: 10*3=30, Resulting Numbers: [52, 83, 30] Generated Node #0,2: 43:[52, 83, 30] Operation: 10*3=30 Exploring Operation: 83-10=73, Resulting Numbers: [52, 3, 73] Generated Node #0,3: 43:[52, 3, 73] Operation: 83-10=73 Moving to Node #0,2 Current State: 43:[52, 83, 30], Operations: ['10*3=30'] Exploring Operation: 52-30=22, Resulting Numbers: [83, 22] Generated Node #0,2,0: 43:[83, 22] Operation: 52-30=22 Exploring Operation: 83-30=53, Resulting Numbers: [52, 53] Generated Node #0,2,1: 43:[52, 53] Operation: 83-30=53 Exploring Operation: 83-52=31, Resulting Numbers: [30, 31] Generated Node #0,2,2: 43:[30, 31] Operation: 83-52=31 Exploring Operation: 52+30=82, Resulting Numbers: [83, 82] Generated Node #0,2,3: 43:[83, 82] Operation: 52+30=82 Moving to Node #0,1 Current State: 43:[52, 83, 13], Operations: ['10+3=13'] Exploring Operation: 83-13=70, Resulting Numbers: [52, 70] Generated Node #0,1,0: 43:[52, 70] Operation: 83-13=70 Exploring Operation: 52+13=65, Resulting Numbers: [83, 65] Generated Node #0,1,1: 43:[83, 65] Operation: 52+13=65 Exploring Operation: 52-13=39, Resulting Numbers: [83, 39] Generated Node #0,1,2: 43:[83, 39] Operation: 52-13=39 Exploring Operation: 83-52=31, Resulting Numbers: [13, 31] Generated Node #0,1,3: 43:[13, 31] Operation: 83-52=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[52, 70], Operations: ['10+3=13', '83-13=70'] Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,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,3 Current State: 43:[13, 31], Operations: ['10+3=13', '83-52=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,43 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,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,2 Current State: 43:[83, 39], Operations: ['10+3=13', '52-13=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,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,1 Current State: 43:[83, 65], Operations: ['10+3=13', '52+13=65'] Exploring Operation: 83*65=5395, Resulting Numbers: [5395] 5395,43 unequal: No Solution Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,43 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 43:[10, 83, 49], Operations: ['52-3=49'] Exploring Operation: 83-49=34, Resulting Numbers: [10, 34] Generated Node #0,0,0: 43:[10, 34] Operation: 83-49=34 Exploring Operation: 49-10=39, Resulting Numbers: [83, 39] Generated Node #0,0,1: 43:[83, 39] Operation: 49-10=39 Exploring Operation: 10+83=93, Resulting Numbers: [49, 93] Generated Node #0,0,2: 43:[49, 93] Operation: 10+83=93 Exploring Operation: 83-10=73, Resulting Numbers: [49, 73] Generated Node #0,0,3: 43:[49, 73] Operation: 83-10=73 Moving to Node #0,3 Current State: 43:[52, 3, 73], Operations: ['83-10=73'] Exploring Operation: 3+73=76, Resulting Numbers: [52, 76] Generated Node #0,3,0: 43:[52, 76] Operation: 3+73=76 Exploring Operation: 52-3=49, Resulting Numbers: [73, 49] Generated Node #0,3,1: 43:[73, 49] Operation: 52-3=49 Exploring Operation: 73-3=70, Resulting Numbers: [52, 70] Generated Node #0,3,2: 43:[52, 70] Operation: 73-3=70 Exploring Operation: 52+3=55, Resulting Numbers: [73, 55] Generated Node #0,3,3: 43:[73, 55] Operation: 52+3=55 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[73, 49], Operations: ['83-10=73', '52-3=49'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[52, 70], Operations: ['83-10=73', '73-3=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[52, 76], Operations: ['83-10=73', '3+73=76'] Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,43 unequal: No Solution Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,43 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[73, 55], Operations: ['83-10=73', '52+3=55'] Exploring Operation: 73*55=4015, Resulting Numbers: [4015] 4015,43 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 73+55=128, Resulting Numbers: [128] 128,43 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: 43:[52, 53], Operations: ['10*3=30', '83-30=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,43 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[30, 31], Operations: ['10*3=30', '83-52=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,43 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[49, 73], Operations: ['52-3=49', '83-10=73'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,43 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[10, 34], Operations: ['52-3=49', '83-49=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[83, 39], Operations: ['52-3=49', '49-10=39'] Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,43 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[49, 93], Operations: ['52-3=49', '10+83=93'] Exploring Operation: 49*93=4557, Resulting Numbers: [4557] 4557,43 unequal: No Solution Exploring Operation: 49+93=142, Resulting Numbers: [142] 142,43 unequal: No Solution Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[83, 22], Operations: ['10*3=30', '52-30=22'] Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[83, 82], Operations: ['10*3=30', '52+30=82'] Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,43 unequal: No Solution Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,43 unequal: No Solution Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,43 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 53, 23, 64, 65 ]
76
[ "53+23=76", "65-64=1", "76*1=76" ]
Current State: 76:[53, 23, 64, 65], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [64, 65, 76] Generated Node #2: [64, 65, 76] from Operation: 53+23=76 Current State: 76:[64, 65, 76], Operations: ['53+23=76'] Exploring Operation: 65-64=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 65-64=1 Current State: 76:[76, 1], Operations: ['53+23=76', '65-64=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[53, 23, 64, 65], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [53, 23, 1] Generated Node #0,0: 76:[53, 23, 1] Operation: 65-64=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[53, 23, 1], Operations: ['65-64=1'] Exploring Operation: 53+23=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 76:[1, 76] Operation: 53+23=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[1, 76], Operations: ['65-64=1', '53+23=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[53, 23, 64, 65], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [53, 23, 1] Generated Node #0,0: 76:[53, 23, 1] Operation: 65-64=1 Moving to Node #0,0 Current State: 76:[53, 23, 1], Operations: ['65-64=1'] Exploring Operation: 53+23=76, Resulting Numbers: [1, 76] Generated Node #0,0,0: 76:[1, 76] Operation: 53+23=76 Moving to Node #0,0,0 Current State: 76:[1, 76], Operations: ['65-64=1', '53+23=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 49, 1, 45, 2 ]
46
[ "49+45=94", "94/2=47", "47-1=46" ]
Current State: 46:[49, 1, 45, 2], Operations: [] Exploring Operation: 49+45=94, Resulting Numbers: [1, 2, 94] Generated Node #2: [1, 2, 94] from Operation: 49+45=94 Current State: 46:[1, 2, 94], Operations: ['49+45=94'] Exploring Operation: 94/2=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 94/2=47 Current State: 46:[1, 47], Operations: ['49+45=94', '94/2=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[49, 1, 45, 2], Operations: [] Exploring Operation: 49-1=48, Resulting Numbers: [45, 2, 48] Generated Node #0,0: 46:[45, 2, 48] Operation: 49-1=48 Exploring Operation: 49-45=4, Resulting Numbers: [1, 2, 4] Generated Node #0,1: 46:[1, 2, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[45, 2, 48], Operations: ['49-1=48'] Exploring Operation: 48-45=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 46:[2, 3] Operation: 48-45=3 Exploring Operation: 48-2=46, Resulting Numbers: [45, 46] Generated Node #0,0,1: 46:[45, 46] Operation: 48-2=46 Moving to Node #0,0,0 Current State: 46:[2, 3], Operations: ['49-1=48', '48-45=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[45, 46], Operations: ['49-1=48', '48-2=46'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,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 Current State: 46:[1, 2, 4], Operations: ['49-45=4'] Exploring Operation: 4-2=2, Resulting Numbers: [1, 2] Generated Node #0,1,0: 46:[1, 2] Operation: 4-2=2 Exploring Operation: 4-1=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 46:[2, 3] Operation: 4-1=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[1, 2], Operations: ['49-45=4', '4-2=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,46 unequal: No Solution No 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: 46:[2, 3], Operations: ['49-45=4', '4-1=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,46 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
[ 84, 73, 90, 18 ]
49
[ "84+73=157", "90+18=108", "157-108=49" ]
Current State: 49:[84, 73, 90, 18], Operations: [] Exploring Operation: 84+73=157, Resulting Numbers: [90, 18, 157] Generated Node #2: [90, 18, 157] from Operation: 84+73=157 Current State: 49:[90, 18, 157], Operations: ['84+73=157'] Exploring Operation: 90+18=108, Resulting Numbers: [157, 108] Generated Node #3: [157, 108] from Operation: 90+18=108 Current State: 49:[157, 108], Operations: ['84+73=157', '90+18=108'] Exploring Operation: 157-108=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[84, 73, 90, 18], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [84, 18, 17] Generated Node #0,0: 49:[84, 18, 17] Operation: 90-73=17 Exploring Operation: 84-73=11, Resulting Numbers: [90, 18, 11] Generated Node #0,1: 49:[90, 18, 11] Operation: 84-73=11 Exploring Operation: 90-84=6, Resulting Numbers: [73, 18, 6] Generated Node #0,2: 49:[73, 18, 6] Operation: 90-84=6 Exploring Operation: 84-18=66, Resulting Numbers: [73, 90, 66] Generated Node #0,3: 49:[73, 90, 66] Operation: 84-18=66 Exploring Operation: 90/18=5, Resulting Numbers: [84, 73, 5] Generated Node #0,4: 49:[84, 73, 5] Operation: 90/18=5 Moving to Node #0,2 Current State: 49:[73, 18, 6], Operations: ['90-84=6'] Exploring Operation: 18-6=12, Resulting Numbers: [73, 12] Generated Node #0,2,0: 49:[73, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [73, 3] Generated Node #0,2,1: 49:[73, 3] Operation: 18/6=3 Exploring Operation: 73-6=67, Resulting Numbers: [18, 67] Generated Node #0,2,2: 49:[18, 67] Operation: 73-6=67 Exploring Operation: 73-18=55, Resulting Numbers: [6, 55] Generated Node #0,2,3: 49:[6, 55] Operation: 73-18=55 Exploring Operation: 73+6=79, Resulting Numbers: [18, 79] Generated Node #0,2,4: 49:[18, 79] Operation: 73+6=79 Moving to Node #0,1 Current State: 49:[90, 18, 11], Operations: ['84-73=11'] Exploring Operation: 18-11=7, Resulting Numbers: [90, 7] Generated Node #0,1,0: 49:[90, 7] Operation: 18-11=7 Exploring Operation: 18+11=29, Resulting Numbers: [90, 29] Generated Node #0,1,1: 49:[90, 29] Operation: 18+11=29 Exploring Operation: 90-11=79, Resulting Numbers: [18, 79] Generated Node #0,1,2: 49:[18, 79] Operation: 90-11=79 Exploring Operation: 90-18=72, Resulting Numbers: [11, 72] Generated Node #0,1,3: 49:[11, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [11, 5] Generated Node #0,1,4: 49:[11, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 49:[11, 5], Operations: ['84-73=11', '90/18=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[11, 72], Operations: ['84-73=11', '90-18=72'] Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,49 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[90, 7], Operations: ['84-73=11', '18-11=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,49 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[18, 79], Operations: ['84-73=11', '90-11=79'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 18*79=1422, Resulting Numbers: [1422] 1422,49 unequal: No Solution Exploring Operation: 18+79=97, Resulting Numbers: [97] 97,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[90, 29], Operations: ['84-73=11', '18+11=29'] Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,49 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,49 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,49 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: 49:[84, 18, 17], Operations: ['90-73=17'] Exploring Operation: 18-17=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 49:[84, 1] Operation: 18-17=1 Exploring Operation: 84-18=66, Resulting Numbers: [17, 66] Generated Node #0,0,1: 49:[17, 66] Operation: 84-18=66 Exploring Operation: 84-17=67, Resulting Numbers: [18, 67] Generated Node #0,0,2: 49:[18, 67] Operation: 84-17=67 Exploring Operation: 84+18=102, Resulting Numbers: [17, 102] Generated Node #0,0,3: 49:[17, 102] Operation: 84+18=102 Exploring Operation: 18+17=35, Resulting Numbers: [84, 35] Generated Node #0,0,4: 49:[84, 35] Operation: 18+17=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[17, 66], Operations: ['90-73=17', '84-18=66'] Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,49 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[84, 73, 90, 18], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [84, 18, 17] Generated Node #0,0: 49:[84, 18, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 49:[84, 18, 17], Operations: ['90-73=17'] Exploring Operation: 84-18=66, Resulting Numbers: [17, 66] Generated Node #0,0,1: 49:[17, 66] Operation: 84-18=66 Moving to Node #0,0,1 Current State: 49:[17, 66], Operations: ['90-73=17', '84-18=66'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 54, 95, 25, 2 ]
87
[ "54+95=149", "25+149=174", "174/2=87" ]
Current State: 87:[54, 95, 25, 2], Operations: [] Exploring Operation: 54+95=149, Resulting Numbers: [25, 2, 149] Generated Node #2: [25, 2, 149] from Operation: 54+95=149 Current State: 87:[25, 2, 149], Operations: ['54+95=149'] Exploring Operation: 25+149=174, Resulting Numbers: [2, 174] Generated Node #3: [2, 174] from Operation: 25+149=174 Current State: 87:[2, 174], Operations: ['54+95=149', '25+149=174'] Exploring Operation: 174/2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[54, 95, 25, 2], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [95, 25, 27] Generated Node #0,0: 87:[95, 25, 27] Operation: 54/2=27 Exploring Operation: 95-54=41, Resulting Numbers: [25, 2, 41] Generated Node #0,1: 87:[25, 2, 41] Operation: 95-54=41 Exploring Operation: 54-25=29, Resulting Numbers: [95, 2, 29] Generated Node #0,2: 87:[95, 2, 29] Operation: 54-25=29 Exploring Operation: 54+25=79, Resulting Numbers: [95, 2, 79] Generated Node #0,3: 87:[95, 2, 79] Operation: 54+25=79 Exploring Operation: 54*2=108, Resulting Numbers: [95, 25, 108] Generated Node #0,4: 87:[95, 25, 108] Operation: 54*2=108 Moving to Node #0,2 Current State: 87:[95, 2, 29], Operations: ['54-25=29'] Exploring Operation: 2+29=31, Resulting Numbers: [95, 31] Generated Node #0,2,0: 87:[95, 31] Operation: 2+29=31 Exploring Operation: 29-2=27, Resulting Numbers: [95, 27] Generated Node #0,2,1: 87:[95, 27] Operation: 29-2=27 Exploring Operation: 95-2=93, Resulting Numbers: [29, 93] Generated Node #0,2,2: 87:[29, 93] Operation: 95-2=93 Exploring Operation: 95+2=97, Resulting Numbers: [29, 97] Generated Node #0,2,3: 87:[29, 97] Operation: 95+2=97 Exploring Operation: 95-29=66, Resulting Numbers: [2, 66] Generated Node #0,2,4: 87:[2, 66] Operation: 95-29=66 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[29, 93], Operations: ['54-25=29', '95-2=93'] Exploring Operation: 29*93=2697, Resulting Numbers: [2697] 2697,87 unequal: No Solution Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 29+93=122, Resulting Numbers: [122] 122,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[95, 31], Operations: ['54-25=29', '2+29=31'] Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,87 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[95, 27], Operations: ['54-25=29', '29-2=27'] Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,87 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[29, 97], Operations: ['54-25=29', '95+2=97'] Exploring Operation: 29*97=2813, Resulting Numbers: [2813] 2813,87 unequal: No Solution Exploring Operation: 29+97=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[2, 66], Operations: ['54-25=29', '95-29=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 2*66=132, Resulting Numbers: [132] 132,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:[95, 25, 27], Operations: ['54/2=27'] Exploring Operation: 27-25=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 87:[95, 2] Operation: 27-25=2 Exploring Operation: 95-27=68, Resulting Numbers: [25, 68] Generated Node #0,0,1: 87:[25, 68] Operation: 95-27=68 Exploring Operation: 95-25=70, Resulting Numbers: [27, 70] Generated Node #0,0,2: 87:[27, 70] Operation: 95-25=70 Exploring Operation: 25+27=52, Resulting Numbers: [95, 52] Generated Node #0,0,3: 87:[95, 52] Operation: 25+27=52 Exploring Operation: 95+25=120, Resulting Numbers: [27, 120] Generated Node #0,0,4: 87:[27, 120] Operation: 95+25=120 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[95, 2], Operations: ['54/2=27', '27-25=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,87 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,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,2 Current State: 87:[27, 70], Operations: ['54/2=27', '95-25=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,87 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,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,1 Current State: 87:[25, 68], Operations: ['54/2=27', '95-27=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,87 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,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,3 Current State: 87:[95, 52], Operations: ['54/2=27', '25+27=52'] Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,87 unequal: No Solution Exploring Operation: 95*52=4940, Resulting Numbers: [4940] 4940,87 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,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,4 Current State: 87:[27, 120], Operations: ['54/2=27', '95+25=120'] Exploring Operation: 27*120=3240, Resulting Numbers: [3240] 3240,87 unequal: No Solution Exploring Operation: 120-27=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 27+120=147, Resulting Numbers: [147] 147,87 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: 87:[25, 2, 41], Operations: ['95-54=41'] Exploring Operation: 25+2=27, Resulting Numbers: [41, 27] Generated Node #0,1,0: 87:[41, 27] Operation: 25+2=27 Exploring Operation: 41-25=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 87:[2, 16] Operation: 41-25=16 Exploring Operation: 25-2=23, Resulting Numbers: [41, 23] Generated Node #0,1,2: 87:[41, 23] Operation: 25-2=23 Exploring Operation: 2*41=82, Resulting Numbers: [25, 82] Generated Node #0,1,3: 87:[25, 82] Operation: 2*41=82 Exploring Operation: 41-2=39, Resulting Numbers: [25, 39] Generated Node #0,1,4: 87:[25, 39] Operation: 41-2=39 Moving to Node #0,3 Current State: 87:[95, 2, 79], Operations: ['54+25=79'] Exploring Operation: 95-2=93, Resulting Numbers: [79, 93] Generated Node #0,3,0: 87:[79, 93] Operation: 95-2=93 Exploring Operation: 95+2=97, Resulting Numbers: [79, 97] Generated Node #0,3,1: 87:[79, 97] Operation: 95+2=97 Exploring Operation: 79-2=77, Resulting Numbers: [95, 77] Generated Node #0,3,2: 87:[95, 77] Operation: 79-2=77 Exploring Operation: 2+79=81, Resulting Numbers: [95, 81] Generated Node #0,3,3: 87:[95, 81] Operation: 2+79=81 Exploring Operation: 95-79=16, Resulting Numbers: [2, 16] Generated Node #0,3,4: 87:[2, 16] Operation: 95-79=16 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[79, 93], Operations: ['54+25=79', '95-2=93'] Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 79*93=7347, Resulting Numbers: [7347] 7347,87 unequal: No Solution Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,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:[95, 81], Operations: ['54+25=79', '2+79=81'] Exploring Operation: 95*81=7695, Resulting Numbers: [7695] 7695,87 unequal: No Solution Exploring Operation: 95-81=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 95+81=176, Resulting Numbers: [176] 176,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:[2, 16], Operations: ['54+25=79', '95-79=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[79, 97], Operations: ['54+25=79', '95+2=97'] Exploring Operation: 79*97=7663, Resulting Numbers: [7663] 7663,87 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 79+97=176, Resulting Numbers: [176] 176,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:[95, 77], Operations: ['54+25=79', '79-2=77'] Exploring Operation: 95*77=7315, Resulting Numbers: [7315] 7315,87 unequal: No Solution Exploring Operation: 95+77=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,87 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: 87:[95, 25, 108], Operations: ['54*2=108'] Exploring Operation: 108-95=13, Resulting Numbers: [25, 13] Generated Node #0,4,0: 87:[25, 13] Operation: 108-95=13 Exploring Operation: 108-25=83, Resulting Numbers: [95, 83] Generated Node #0,4,1: 87:[95, 83] Operation: 108-25=83 Exploring Operation: 25+108=133, Resulting Numbers: [95, 133] Generated Node #0,4,2: 87:[95, 133] Operation: 25+108=133 Exploring Operation: 95+25=120, Resulting Numbers: [108, 120] Generated Node #0,4,3: 87:[108, 120] Operation: 95+25=120 Exploring Operation: 95-25=70, Resulting Numbers: [108, 70] Generated Node #0,4,4: 87:[108, 70] Operation: 95-25=70 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 87:[95, 83], Operations: ['54*2=108', '108-25=83'] Exploring Operation: 95-83=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 95+83=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 95*83=7885, Resulting Numbers: [7885] 7885,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,4,0 Current State: 87:[25, 13], Operations: ['54*2=108', '108-95=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,87 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,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,4,4 Current State: 87:[108, 70], Operations: ['54*2=108', '95-25=70'] Exploring Operation: 108*70=7560, Resulting Numbers: [7560] 7560,87 unequal: No Solution Exploring Operation: 108+70=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 108-70=38, Resulting Numbers: [38] 38,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,4,2 Current State: 87:[95, 133], Operations: ['54*2=108', '25+108=133'] Exploring Operation: 95*133=12635, Resulting Numbers: [12635] 12635,87 unequal: No Solution Exploring Operation: 133-95=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 95+133=228, Resulting Numbers: [228] 228,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,4,3 Current State: 87:[108, 120], Operations: ['54*2=108', '95+25=120'] Exploring Operation: 108+120=228, Resulting Numbers: [228] 228,87 unequal: No Solution Exploring Operation: 108*120=12960, Resulting Numbers: [12960] 12960,87 unequal: No Solution Exploring Operation: 120-108=12, Resulting Numbers: [12] 12,87 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: 87:[25, 82], Operations: ['95-54=41', '2*41=82'] Exploring Operation: 25*82=2050, Resulting Numbers: [2050] 2050,87 unequal: No Solution Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,87 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[2, 16], Operations: ['95-54=41', '41-25=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[41, 27], Operations: ['95-54=41', '25+2=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,87 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,87 unequal: No Solution Moving to Node #0,1,4 Current State: 87:[25, 39], Operations: ['95-54=41', '41-2=39'] Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,87 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[41, 23], Operations: ['95-54=41', '25-2=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,87 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,87 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 50, 3, 92, 81 ]
83
[ "92-81=11", "3*11=33", "50+33=83" ]
Current State: 83:[50, 3, 92, 81], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [50, 3, 11] Generated Node #2: [50, 3, 11] from Operation: 92-81=11 Current State: 83:[50, 3, 11], Operations: ['92-81=11'] Exploring Operation: 3*11=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 3*11=33 Current State: 83:[50, 33], Operations: ['92-81=11', '3*11=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 3, 92, 81], Operations: [] Exploring Operation: 92-3=89, Resulting Numbers: [50, 81, 89] Generated Node #0,0: 83:[50, 81, 89] Operation: 92-3=89 Exploring Operation: 50+3=53, Resulting Numbers: [92, 81, 53] Generated Node #0,1: 83:[92, 81, 53] Operation: 50+3=53 Moving to Node #0,0 Current State: 83:[50, 81, 89], Operations: ['92-3=89'] Exploring Operation: 50+81=131, Resulting Numbers: [89, 131] Generated Node #0,0,0: 83:[89, 131] Operation: 50+81=131 Exploring Operation: 89-50=39, Resulting Numbers: [81, 39] Generated Node #0,0,1: 83:[81, 39] Operation: 89-50=39 Moving to Node #0,1 Current State: 83:[92, 81, 53], Operations: ['50+3=53'] Exploring Operation: 81+53=134, Resulting Numbers: [92, 134] Generated Node #0,1,0: 83:[92, 134] Operation: 81+53=134 Exploring Operation: 92-53=39, Resulting Numbers: [81, 39] Generated Node #0,1,1: 83:[81, 39] Operation: 92-53=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[81, 39], Operations: ['50+3=53', '92-53=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[92, 134], Operations: ['50+3=53', '81+53=134'] Exploring Operation: 92+134=226, Resulting Numbers: [226] 226,83 unequal: No Solution Exploring Operation: 134-92=42, Resulting Numbers: [42] 42,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 83:[81, 39], Operations: ['92-3=89', '89-50=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[89, 131], Operations: ['92-3=89', '50+81=131'] Exploring Operation: 89+131=220, Resulting Numbers: [220] 220,83 unequal: No Solution Exploring Operation: 131-89=42, Resulting Numbers: [42] 42,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 26, 92, 51 ]
38
[ "78/26=3", "92-51=41", "41-3=38" ]
Current State: 38:[78, 26, 92, 51], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [92, 51, 3] Generated Node #2: [92, 51, 3] from Operation: 78/26=3 Current State: 38:[92, 51, 3], Operations: ['78/26=3'] Exploring Operation: 92-51=41, Resulting Numbers: [3, 41] Generated Node #3: [3, 41] from Operation: 92-51=41 Current State: 38:[3, 41], Operations: ['78/26=3', '92-51=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[78, 26, 92, 51], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [26, 51, 14] Generated Node #0,0: 38:[26, 51, 14] Operation: 92-78=14 Exploring Operation: 92-51=41, Resulting Numbers: [78, 26, 41] Generated Node #0,1: 38:[78, 26, 41] Operation: 92-51=41 Exploring Operation: 78/26=3, Resulting Numbers: [92, 51, 3] Generated Node #0,2: 38:[92, 51, 3] Operation: 78/26=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 51, 14], Operations: ['92-78=14'] Exploring Operation: 51-14=37, Resulting Numbers: [26, 37] Generated Node #0,0,0: 38:[26, 37] Operation: 51-14=37 Exploring Operation: 26+14=40, Resulting Numbers: [51, 40] Generated Node #0,0,1: 38:[51, 40] Operation: 26+14=40 Exploring Operation: 51-26=25, Resulting Numbers: [14, 25] Generated Node #0,0,2: 38:[14, 25] Operation: 51-26=25 Moving to Node #0,0,0 Current State: 38:[26, 37], Operations: ['92-78=14', '51-14=37'] Exploring Operation: 26+37=63, Resulting Numbers: [63] 63,38 unequal: No Solution Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,38 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[14, 25], Operations: ['92-78=14', '51-26=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,38 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[51, 40], Operations: ['92-78=14', '26+14=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,38 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,38 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[78, 26, 41], Operations: ['92-51=41'] Exploring Operation: 78-41=37, Resulting Numbers: [26, 37] Generated Node #0,1,0: 38:[26, 37] Operation: 78-41=37 Exploring Operation: 78/26=3, Resulting Numbers: [41, 3] Generated Node #0,1,1: 38:[41, 3] Operation: 78/26=3 Exploring Operation: 78-26=52, Resulting Numbers: [41, 52] Generated Node #0,1,2: 38:[41, 52] Operation: 78-26=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[41, 3], Operations: ['92-51=41', '78/26=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[78, 26, 92, 51], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [78, 26, 41] Generated Node #0,1: 38:[78, 26, 41] Operation: 92-51=41 Moving to Node #0,1 Current State: 38:[78, 26, 41], Operations: ['92-51=41'] Exploring Operation: 78/26=3, Resulting Numbers: [41, 3] Generated Node #0,1,1: 38:[41, 3] Operation: 78/26=3 Moving to Node #0,1,1 Current State: 38:[41, 3], Operations: ['92-51=41', '78/26=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 5, 79, 79, 59 ]
75
[ "79-59=20", "20/5=4", "79-4=75" ]
Current State: 75:[5, 79, 79, 59], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [5, 20] Generated Node #2: [5, 20] from Operation: 79-59=20 Current State: 75:[5, 20], Operations: ['79-59=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,75 equal: Goal Reached Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[5, 79, 79, 59], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [5, 79, 20] Generated Node #0,0: 75:[5, 79, 20] Operation: 79-59=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[5, 79, 20], Operations: ['79-59=20'] Exploring Operation: 5+20=25, Resulting Numbers: [79, 25] Generated Node #0,0,0: 75:[79, 25] Operation: 5+20=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[79, 25], Operations: ['79-59=20', '5+20=25'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 19, 45, 38 ]
99
[ "52+45=97", "38/19=2", "97+2=99" ]
Current State: 99:[52, 19, 45, 38], Operations: [] Exploring Operation: 52+45=97, Resulting Numbers: [19, 38, 97] Generated Node #2: [19, 38, 97] from Operation: 52+45=97 Current State: 99:[19, 38, 97], Operations: ['52+45=97'] Exploring Operation: 38/19=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 38/19=2 Current State: 99:[97, 2], Operations: ['52+45=97', '38/19=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[52, 19, 45, 38], Operations: [] Exploring Operation: 52+45=97, Resulting Numbers: [19, 38, 97] Generated Node #0,0: 99:[19, 38, 97] Operation: 52+45=97 Exploring Operation: 52+38=90, Resulting Numbers: [19, 45, 90] Generated Node #0,1: 99:[19, 45, 90] Operation: 52+38=90 Exploring Operation: 52-19=33, Resulting Numbers: [45, 38, 33] Generated Node #0,2: 99:[45, 38, 33] Operation: 52-19=33 Exploring Operation: 52-45=7, Resulting Numbers: [19, 38, 7] Generated Node #0,3: 99:[19, 38, 7] Operation: 52-45=7 Exploring Operation: 52-38=14, Resulting Numbers: [19, 45, 14] Generated Node #0,4: 99:[19, 45, 14] Operation: 52-38=14 Moving to Node #0,0 Current State: 99:[19, 38, 97], Operations: ['52+45=97'] Exploring Operation: 97-19=78, Resulting Numbers: [38, 78] Generated Node #0,0,0: 99:[38, 78] Operation: 97-19=78 Exploring Operation: 38/19=2, Resulting Numbers: [97, 2] Generated Node #0,0,1: 99:[97, 2] Operation: 38/19=2 Exploring Operation: 19+97=116, Resulting Numbers: [38, 116] Generated Node #0,0,2: 99:[38, 116] Operation: 19+97=116 Exploring Operation: 19+38=57, Resulting Numbers: [97, 57] Generated Node #0,0,3: 99:[97, 57] Operation: 19+38=57 Exploring Operation: 38-19=19, Resulting Numbers: [97, 19] Generated Node #0,0,4: 99:[97, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[97, 2], Operations: ['52+45=97', '38/19=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[52, 19, 45, 38], Operations: [] Exploring Operation: 52+45=97, Resulting Numbers: [19, 38, 97] Generated Node #0,0: 99:[19, 38, 97] Operation: 52+45=97 Moving to Node #0,0 Current State: 99:[19, 38, 97], Operations: ['52+45=97'] Exploring Operation: 38/19=2, Resulting Numbers: [97, 2] Generated Node #0,0,1: 99:[97, 2] Operation: 38/19=2 Moving to Node #0,0,1 Current State: 99:[97, 2], Operations: ['52+45=97', '38/19=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 88, 2, 10, 83 ]
88
[ "88-10=78", "2*83=166", "166-78=88" ]
Current State: 88:[88, 2, 10, 83], Operations: [] Exploring Operation: 88-10=78, Resulting Numbers: [2, 83, 78] Generated Node #2: [2, 83, 78] from Operation: 88-10=78 Current State: 88:[2, 83, 78], Operations: ['88-10=78'] Exploring Operation: 2*83=166, Resulting Numbers: [78, 166] Generated Node #3: [78, 166] from Operation: 2*83=166 Current State: 88:[78, 166], Operations: ['88-10=78', '2*83=166'] Exploring Operation: 166-78=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[88, 2, 10, 83], Operations: [] Exploring Operation: 10-2=8, Resulting Numbers: [88, 83, 8] Generated Node #0,0: 88:[88, 83, 8] Operation: 10-2=8 Exploring Operation: 2+83=85, Resulting Numbers: [88, 10, 85] Generated Node #0,1: 88:[88, 10, 85] Operation: 2+83=85 Exploring Operation: 10+83=93, Resulting Numbers: [88, 2, 93] Generated Node #0,2: 88:[88, 2, 93] Operation: 10+83=93 Exploring Operation: 88-83=5, Resulting Numbers: [2, 10, 5] Generated Node #0,3: 88:[2, 10, 5] Operation: 88-83=5 Moving to Node #0,3 Current State: 88:[2, 10, 5], Operations: ['88-83=5'] Exploring Operation: 10-2=8, Resulting Numbers: [5, 8] Generated Node #0,3,0: 88:[5, 8] Operation: 10-2=8 Exploring Operation: 10/5=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 88:[2, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [2, 5] Generated Node #0,3,2: 88:[2, 5] Operation: 10-5=5 Exploring Operation: 2+10=12, Resulting Numbers: [5, 12] Generated Node #0,3,3: 88:[5, 12] Operation: 2+10=12 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[2, 2], Operations: ['88-83=5', '10/5=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[5, 8], Operations: ['88-83=5', '10-2=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[2, 5], Operations: ['88-83=5', '10-5=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[5, 12], Operations: ['88-83=5', '2+10=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,88 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: 88:[88, 10, 85], Operations: ['2+83=85'] Exploring Operation: 88-10=78, Resulting Numbers: [85, 78] Generated Node #0,1,0: 88:[85, 78] Operation: 88-10=78 Exploring Operation: 10+85=95, Resulting Numbers: [88, 95] Generated Node #0,1,1: 88:[88, 95] Operation: 10+85=95 Exploring Operation: 88-85=3, Resulting Numbers: [10, 3] Generated Node #0,1,2: 88:[10, 3] Operation: 88-85=3 Exploring Operation: 88+10=98, Resulting Numbers: [85, 98] Generated Node #0,1,3: 88:[85, 98] Operation: 88+10=98 Moving to Node #0,2 Current State: 88:[88, 2, 93], Operations: ['10+83=93'] Exploring Operation: 93-2=91, Resulting Numbers: [88, 91] Generated Node #0,2,0: 88:[88, 91] Operation: 93-2=91 Exploring Operation: 93-88=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 88:[2, 5] Operation: 93-88=5 Exploring Operation: 88/2=44, Resulting Numbers: [93, 44] Generated Node #0,2,2: 88:[93, 44] Operation: 88/2=44 Exploring Operation: 88+2=90, Resulting Numbers: [93, 90] Generated Node #0,2,3: 88:[93, 90] Operation: 88+2=90 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[2, 5], Operations: ['10+83=93', '93-88=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[88, 91], Operations: ['10+83=93', '93-2=91'] Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,88 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,88 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[93, 44], Operations: ['10+83=93', '88/2=44'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[93, 90], Operations: ['10+83=93', '88+2=90'] Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,88 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: 88:[88, 83, 8], Operations: ['10-2=8'] Exploring Operation: 83+8=91, Resulting Numbers: [88, 91] Generated Node #0,0,0: 88:[88, 91] Operation: 83+8=91 Exploring Operation: 88/8=11, Resulting Numbers: [83, 11] Generated Node #0,0,1: 88:[83, 11] Operation: 88/8=11 Exploring Operation: 88+8=96, Resulting Numbers: [83, 96] Generated Node #0,0,2: 88:[83, 96] Operation: 88+8=96 Exploring Operation: 88-83=5, Resulting Numbers: [8, 5] Generated Node #0,0,3: 88:[8, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[8, 5], Operations: ['10-2=8', '88-83=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[88, 91], Operations: ['10-2=8', '83+8=91'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,88 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[83, 11], Operations: ['10-2=8', '88/8=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[83, 96], Operations: ['10-2=8', '88+8=96'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,88 unequal: No Solution Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 88:[10, 3], Operations: ['2+83=85', '88-85=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[88, 95], Operations: ['2+83=85', '10+85=95'] Exploring Operation: 95-88=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 88+95=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 88*95=8360, Resulting Numbers: [8360] 8360,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[85, 98], Operations: ['2+83=85', '88+10=98'] Exploring Operation: 85+98=183, Resulting Numbers: [183] 183,88 unequal: No Solution Exploring Operation: 98-85=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 85*98=8330, Resulting Numbers: [8330] 8330,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[85, 78], Operations: ['2+83=85', '88-10=78'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,88 unequal: No Solution Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,88 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 68, 20, 17, 76 ]
14
[ "68/17=4", "76-20=56", "56/4=14" ]
Current State: 14:[68, 20, 17, 76], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [20, 76, 4] Generated Node #2: [20, 76, 4] from Operation: 68/17=4 Current State: 14:[20, 76, 4], Operations: ['68/17=4'] Exploring Operation: 76-20=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 76-20=56 Current State: 14:[4, 56], Operations: ['68/17=4', '76-20=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[68, 20, 17, 76], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [20, 17, 8] Generated Node #0,0: 14:[20, 17, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[20, 17, 8], Operations: ['76-68=8'] Exploring Operation: 20-17=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 14:[8, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[8, 3], Operations: ['76-68=8', '20-17=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 42, 21, 75 ]
35
[ "3+42=45", "21*75=1575", "1575/45=35" ]
Current State: 35:[3, 42, 21, 75], Operations: [] Exploring Operation: 3+42=45, Resulting Numbers: [21, 75, 45] Generated Node #2: [21, 75, 45] from Operation: 3+42=45 Current State: 35:[21, 75, 45], Operations: ['3+42=45'] Exploring Operation: 21*75=1575, Resulting Numbers: [45, 1575] Generated Node #3: [45, 1575] from Operation: 21*75=1575 Current State: 35:[45, 1575], Operations: ['3+42=45', '21*75=1575'] Exploring Operation: 1575/45=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[3, 42, 21, 75], Operations: [] Exploring Operation: 75-21=54, Resulting Numbers: [3, 42, 54] Generated Node #0,0: 35:[3, 42, 54] Operation: 75-21=54 Exploring Operation: 75-42=33, Resulting Numbers: [3, 21, 33] Generated Node #0,1: 35:[3, 21, 33] Operation: 75-42=33 Moving to Node #0,1 Current State: 35:[3, 21, 33], Operations: ['75-42=33'] Exploring Operation: 33-21=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 35:[3, 12] Operation: 33-21=12 Exploring Operation: 21/3=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 35:[33, 7] Operation: 21/3=7 Moving to Node #0,0 Current State: 35:[3, 42, 54], Operations: ['75-21=54'] Exploring Operation: 54/3=18, Resulting Numbers: [42, 18] Generated Node #0,0,0: 35:[42, 18] Operation: 54/3=18 Exploring Operation: 54-42=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 35:[3, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[3, 12], Operations: ['75-21=54', '54-42=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[42, 18], Operations: ['75-21=54', '54/3=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 35:[33, 7], Operations: ['75-42=33', '21/3=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[3, 12], Operations: ['75-42=33', '33-21=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,35 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 77, 87, 85, 13 ]
62
[ "87-77=10", "85-13=72", "72-10=62" ]
Current State: 62:[77, 87, 85, 13], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [85, 13, 10] Generated Node #2: [85, 13, 10] from Operation: 87-77=10 Current State: 62:[85, 13, 10], Operations: ['87-77=10'] Exploring Operation: 85-13=72, Resulting Numbers: [10, 72] Generated Node #3: [10, 72] from Operation: 85-13=72 Current State: 62:[10, 72], Operations: ['87-77=10', '85-13=72'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[77, 87, 85, 13], Operations: [] Exploring Operation: 77-13=64, Resulting Numbers: [87, 85, 64] Generated Node #0,0: 62:[87, 85, 64] Operation: 77-13=64 Exploring Operation: 87-85=2, Resulting Numbers: [77, 13, 2] Generated Node #0,1: 62:[77, 13, 2] Operation: 87-85=2 Exploring Operation: 87-77=10, Resulting Numbers: [85, 13, 10] Generated Node #0,2: 62:[85, 13, 10] Operation: 87-77=10 Exploring Operation: 85-77=8, Resulting Numbers: [87, 13, 8] Generated Node #0,3: 62:[87, 13, 8] Operation: 85-77=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[77, 13, 2], Operations: ['87-85=2'] Exploring Operation: 77-13=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 62:[2, 64] Operation: 77-13=64 Exploring Operation: 77-2=75, Resulting Numbers: [13, 75] Generated Node #0,1,1: 62:[13, 75] Operation: 77-2=75 Exploring Operation: 13-2=11, Resulting Numbers: [77, 11] Generated Node #0,1,2: 62:[77, 11] Operation: 13-2=11 Exploring Operation: 13*2=26, Resulting Numbers: [77, 26] Generated Node #0,1,3: 62:[77, 26] Operation: 13*2=26 Moving to Node #0,1,0 Current State: 62:[2, 64], Operations: ['87-85=2', '77-13=64'] Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[77, 87, 85, 13], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [77, 13, 2] Generated Node #0,1: 62:[77, 13, 2] Operation: 87-85=2 Moving to Node #0,1 Current State: 62:[77, 13, 2], Operations: ['87-85=2'] Exploring Operation: 77-13=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 62:[2, 64] Operation: 77-13=64 Moving to Node #0,1,0 Current State: 62:[2, 64], Operations: ['87-85=2', '77-13=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 27, 9, 14, 9 ]
41
[ "27+9=36", "14-9=5", "36+5=41" ]
Current State: 41:[27, 9, 14, 9], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [14, 36] Generated Node #2: [14, 36] from Operation: 27+9=36 Current State: 41:[14, 36], Operations: ['27+9=36'] Exploring Operation: 14-9=5, Resulting Numbers: [36, 5] Generated Node #3: [36, 5] from Operation: 14-9=5 Current State: 41:[36, 5], Operations: ['27+9=36', '14-9=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[27, 9, 14, 9], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [14, 9, 36] Generated Node #0,0: 41:[14, 9, 36] Operation: 27+9=36 Exploring Operation: 27+14=41, Resulting Numbers: [9, 9, 41] Generated Node #0,1: 41:[9, 9, 41] Operation: 27+14=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[14, 9, 36], Operations: ['27+9=36'] Exploring Operation: 14+9=23, Resulting Numbers: [36, 23] Generated Node #0,0,0: 41:[36, 23] Operation: 14+9=23 Exploring Operation: 9+36=45, Resulting Numbers: [14, 45] Generated Node #0,0,1: 41:[14, 45] Operation: 9+36=45 Moving to Node #0,0,0 Current State: 41:[36, 23], Operations: ['27+9=36', '14+9=23'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[14, 45], Operations: ['27+9=36', '9+36=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[9, 9, 41], Operations: ['27+14=41'] Exploring Operation: 9*9=81, Resulting Numbers: [41, 81] Generated Node #0,1,0: 41:[41, 81] Operation: 9*9=81 Exploring Operation: 9+9=18, Resulting Numbers: [41, 18] Generated Node #0,1,1: 41:[41, 18] Operation: 9+9=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[41, 18], Operations: ['27+14=41', '9+9=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[41, 81], Operations: ['27+14=41', '9*9=81'] Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 41+81=122, Resulting Numbers: [122] 122,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 35, 3, 41, 67 ]
65
[ "41-35=6", "6/3=2", "67-2=65" ]
Current State: 65:[35, 3, 41, 67], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [3, 67, 6] Generated Node #2: [3, 67, 6] from Operation: 41-35=6 Current State: 65:[3, 67, 6], Operations: ['41-35=6'] Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 6/3=2 Current State: 65:[67, 2], Operations: ['41-35=6', '6/3=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[35, 3, 41, 67], Operations: [] Exploring Operation: 67-41=26, Resulting Numbers: [35, 3, 26] Generated Node #0,0: 65:[35, 3, 26] Operation: 67-41=26 Exploring Operation: 35+41=76, Resulting Numbers: [3, 67, 76] Generated Node #0,1: 65:[3, 67, 76] Operation: 35+41=76 Exploring Operation: 41-35=6, Resulting Numbers: [3, 67, 6] Generated Node #0,2: 65:[3, 67, 6] Operation: 41-35=6 Moving to Node #0,2 Current State: 65:[3, 67, 6], Operations: ['41-35=6'] Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #0,2,0: 65:[67, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [67, 3] Generated Node #0,2,1: 65:[67, 3] Operation: 6-3=3 Exploring Operation: 67-3=64, Resulting Numbers: [6, 64] Generated Node #0,2,2: 65:[6, 64] Operation: 67-3=64 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[6, 64], Operations: ['41-35=6', '67-3=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,65 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[67, 3], Operations: ['41-35=6', '6-3=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,65 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[67, 2], Operations: ['41-35=6', '6/3=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[35, 3, 41, 67], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [3, 67, 6] Generated Node #0,2: 65:[3, 67, 6] Operation: 41-35=6 Moving to Node #0,2 Current State: 65:[3, 67, 6], Operations: ['41-35=6'] Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #0,2,0: 65:[67, 2] Operation: 6/3=2 Moving to Node #0,2,0 Current State: 65:[67, 2], Operations: ['41-35=6', '6/3=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 72, 2, 42, 76 ]
53
[ "72-42=30", "76+30=106", "106/2=53" ]
Current State: 53:[72, 2, 42, 76], Operations: [] Exploring Operation: 72-42=30, Resulting Numbers: [2, 76, 30] Generated Node #2: [2, 76, 30] from Operation: 72-42=30 Current State: 53:[2, 76, 30], Operations: ['72-42=30'] Exploring Operation: 76+30=106, Resulting Numbers: [2, 106] Generated Node #3: [2, 106] from Operation: 76+30=106 Current State: 53:[2, 106], Operations: ['72-42=30', '76+30=106'] Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[72, 2, 42, 76], Operations: [] Exploring Operation: 2+42=44, Resulting Numbers: [72, 76, 44] Generated Node #0,0: 53:[72, 76, 44] Operation: 2+42=44 Exploring Operation: 72-2=70, Resulting Numbers: [42, 76, 70] Generated Node #0,1: 53:[42, 76, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [42, 76, 36] Generated Node #0,2: 53:[42, 76, 36] Operation: 72/2=36 Exploring Operation: 76/2=38, Resulting Numbers: [72, 42, 38] Generated Node #0,3: 53:[72, 42, 38] Operation: 76/2=38 Moving to Node #0,3 Current State: 53:[72, 42, 38], Operations: ['76/2=38'] Exploring Operation: 42+38=80, Resulting Numbers: [72, 80] Generated Node #0,3,0: 53:[72, 80] Operation: 42+38=80 Exploring Operation: 72-42=30, Resulting Numbers: [38, 30] Generated Node #0,3,1: 53:[38, 30] Operation: 72-42=30 Exploring Operation: 72+38=110, Resulting Numbers: [42, 110] Generated Node #0,3,2: 53:[42, 110] Operation: 72+38=110 Exploring Operation: 72-38=34, Resulting Numbers: [42, 34] Generated Node #0,3,3: 53:[42, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[42, 34], Operations: ['76/2=38', '72-38=34'] Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,53 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,53 unequal: No Solution No 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: 53:[38, 30], Operations: ['76/2=38', '72-42=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,53 unequal: No Solution Exploring Operation: 38*30=1140, Resulting Numbers: [1140] 1140,53 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,53 unequal: No Solution No 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: 53:[72, 80], Operations: ['76/2=38', '42+38=80'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,53 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,53 unequal: No Solution No 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: 53:[42, 110], Operations: ['76/2=38', '72+38=110'] Exploring Operation: 42*110=4620, Resulting Numbers: [4620] 4620,53 unequal: No Solution Exploring Operation: 42+110=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 110-42=68, Resulting Numbers: [68] 68,53 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: 53:[42, 76, 70], Operations: ['72-2=70'] Exploring Operation: 42+76=118, Resulting Numbers: [70, 118] Generated Node #0,1,0: 53:[70, 118] Operation: 42+76=118 Exploring Operation: 76-70=6, Resulting Numbers: [42, 6] Generated Node #0,1,1: 53:[42, 6] Operation: 76-70=6 Exploring Operation: 76-42=34, Resulting Numbers: [70, 34] Generated Node #0,1,2: 53:[70, 34] Operation: 76-42=34 Exploring Operation: 70-42=28, Resulting Numbers: [76, 28] Generated Node #0,1,3: 53:[76, 28] Operation: 70-42=28 Moving to Node #0,0 Current State: 53:[72, 76, 44], Operations: ['2+42=44'] Exploring Operation: 72+44=116, Resulting Numbers: [76, 116] Generated Node #0,0,0: 53:[76, 116] Operation: 72+44=116 Exploring Operation: 76-44=32, Resulting Numbers: [72, 32] Generated Node #0,0,1: 53:[72, 32] Operation: 76-44=32 Exploring Operation: 76-72=4, Resulting Numbers: [44, 4] Generated Node #0,0,2: 53:[44, 4] Operation: 76-72=4 Exploring Operation: 72-44=28, Resulting Numbers: [76, 28] Generated Node #0,0,3: 53:[76, 28] Operation: 72-44=28 Moving to Node #0,2 Current State: 53:[42, 76, 36], Operations: ['72/2=36'] Exploring Operation: 42+36=78, Resulting Numbers: [76, 78] Generated Node #0,2,0: 53:[76, 78] Operation: 42+36=78 Exploring Operation: 76-42=34, Resulting Numbers: [36, 34] Generated Node #0,2,1: 53:[36, 34] Operation: 76-42=34 Exploring Operation: 76-36=40, Resulting Numbers: [42, 40] Generated Node #0,2,2: 53:[42, 40] Operation: 76-36=40 Exploring Operation: 42-36=6, Resulting Numbers: [76, 6] Generated Node #0,2,3: 53:[76, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[42, 40], Operations: ['72/2=36', '76-36=40'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution No 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: 53:[36, 34], Operations: ['72/2=36', '76-42=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,53 unequal: No Solution No 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: 53:[76, 78], Operations: ['72/2=36', '42+36=78'] Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,53 unequal: No Solution Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,53 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,53 unequal: No Solution No 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: 53:[76, 6], Operations: ['72/2=36', '42-36=6'] Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,53 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 53:[70, 34], Operations: ['72-2=70', '76-42=34'] Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,53 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[72, 32], Operations: ['2+42=44', '76-44=32'] Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,53 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[76, 28], Operations: ['2+42=44', '72-44=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,53 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[76, 28], Operations: ['72-2=70', '70-42=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[42, 6], Operations: ['72-2=70', '76-70=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,53 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[44, 4], Operations: ['2+42=44', '76-72=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,53 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[70, 118], Operations: ['72-2=70', '42+76=118'] Exploring Operation: 70*118=8260, Resulting Numbers: [8260] 8260,53 unequal: No Solution Exploring Operation: 70+118=188, Resulting Numbers: [188] 188,53 unequal: No Solution Exploring Operation: 118-70=48, Resulting Numbers: [48] 48,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[76, 116], Operations: ['2+42=44', '72+44=116'] Exploring Operation: 76*116=8816, Resulting Numbers: [8816] 8816,53 unequal: No Solution Exploring Operation: 116-76=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 76+116=192, Resulting Numbers: [192] 192,53 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 74, 67, 8, 68 ]
67
[ "74-67=7", "68-8=60", "7+60=67" ]
Current State: 67:[74, 67, 8, 68], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [8, 68, 7] Generated Node #2: [8, 68, 7] from Operation: 74-67=7 Current State: 67:[8, 68, 7], Operations: ['74-67=7'] Exploring Operation: 68-8=60, Resulting Numbers: [7, 60] Generated Node #3: [7, 60] from Operation: 68-8=60 Current State: 67:[7, 60], Operations: ['74-67=7', '68-8=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[74, 67, 8, 68], Operations: [] Exploring Operation: 74-8=66, Resulting Numbers: [67, 68, 66] Generated Node #0,0: 67:[67, 68, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[67, 68, 66], Operations: ['74-8=66'] Exploring Operation: 68-66=2, Resulting Numbers: [67, 2] Generated Node #0,0,0: 67:[67, 2] Operation: 68-66=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[67, 2], Operations: ['74-8=66', '68-66=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,67 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
[ 10, 86, 4, 55 ]
84
[ "86-10=76", "76-55=21", "4*21=84" ]
Current State: 84:[10, 86, 4, 55], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [4, 55, 76] Generated Node #2: [4, 55, 76] from Operation: 86-10=76 Current State: 84:[4, 55, 76], Operations: ['86-10=76'] Exploring Operation: 76-55=21, Resulting Numbers: [4, 21] Generated Node #3: [4, 21] from Operation: 76-55=21 Current State: 84:[4, 21], Operations: ['86-10=76', '76-55=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[10, 86, 4, 55], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [86, 4, 45] Generated Node #0,0: 84:[86, 4, 45] Operation: 55-10=45 Exploring Operation: 86-55=31, Resulting Numbers: [10, 4, 31] Generated Node #0,1: 84:[10, 4, 31] Operation: 86-55=31 Exploring Operation: 10+4=14, Resulting Numbers: [86, 55, 14] Generated Node #0,2: 84:[86, 55, 14] Operation: 10+4=14 Exploring Operation: 55-4=51, Resulting Numbers: [10, 86, 51] Generated Node #0,3: 84:[10, 86, 51] Operation: 55-4=51 Moving to Node #0,0 Current State: 84:[86, 4, 45], Operations: ['55-10=45'] Exploring Operation: 86-45=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 84:[4, 41] Operation: 86-45=41 Exploring Operation: 86-4=82, Resulting Numbers: [45, 82] Generated Node #0,0,1: 84:[45, 82] Operation: 86-4=82 Exploring Operation: 86+4=90, Resulting Numbers: [45, 90] Generated Node #0,0,2: 84:[45, 90] Operation: 86+4=90 Exploring Operation: 45-4=41, Resulting Numbers: [86, 41] Generated Node #0,0,3: 84:[86, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[4, 41], Operations: ['55-10=45', '86-45=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,84 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[86, 41], Operations: ['55-10=45', '45-4=41'] Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,84 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[45, 82], Operations: ['55-10=45', '86-4=82'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[45, 90], Operations: ['55-10=45', '86+4=90'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 45*90=4050, Resulting Numbers: [4050] 4050,84 unequal: No Solution Exploring Operation: 45+90=135, Resulting Numbers: [135] 135,84 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[10, 4, 31], Operations: ['86-55=31'] Exploring Operation: 10-4=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 84:[31, 6] Operation: 10-4=6 Exploring Operation: 31-10=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 84:[4, 21] Operation: 31-10=21 Exploring Operation: 10+31=41, Resulting Numbers: [4, 41] Generated Node #0,1,2: 84:[4, 41] Operation: 10+31=41 Exploring Operation: 10+4=14, Resulting Numbers: [31, 14] Generated Node #0,1,3: 84:[31, 14] Operation: 10+4=14 Moving to Node #0,3 Current State: 84:[10, 86, 51], Operations: ['55-4=51'] Exploring Operation: 10+86=96, Resulting Numbers: [51, 96] Generated Node #0,3,0: 84:[51, 96] Operation: 10+86=96 Exploring Operation: 86-51=35, Resulting Numbers: [10, 35] Generated Node #0,3,1: 84:[10, 35] Operation: 86-51=35 Exploring Operation: 51-10=41, Resulting Numbers: [86, 41] Generated Node #0,3,2: 84:[86, 41] Operation: 51-10=41 Exploring Operation: 86-10=76, Resulting Numbers: [51, 76] Generated Node #0,3,3: 84:[51, 76] Operation: 86-10=76 Moving to Node #0,2 Current State: 84:[86, 55, 14], Operations: ['10+4=14'] Exploring Operation: 86-55=31, Resulting Numbers: [14, 31] Generated Node #0,2,0: 84:[14, 31] Operation: 86-55=31 Exploring Operation: 86-14=72, Resulting Numbers: [55, 72] Generated Node #0,2,1: 84:[55, 72] Operation: 86-14=72 Exploring Operation: 55+14=69, Resulting Numbers: [86, 69] Generated Node #0,2,2: 84:[86, 69] Operation: 55+14=69 Exploring Operation: 55-14=41, Resulting Numbers: [86, 41] Generated Node #0,2,3: 84:[86, 41] Operation: 55-14=41 Moving to Node #0,1,1 Current State: 84:[4, 21], Operations: ['86-55=31', '31-10=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[10, 86, 4, 55], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [10, 4, 31] Generated Node #0,1: 84:[10, 4, 31] Operation: 86-55=31 Moving to Node #0,1 Current State: 84:[10, 4, 31], Operations: ['86-55=31'] Exploring Operation: 31-10=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 84:[4, 21] Operation: 31-10=21 Moving to Node #0,1,1 Current State: 84:[4, 21], Operations: ['86-55=31', '31-10=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 71, 72, 73, 18 ]
45
[ "73-71=2", "72+18=90", "90/2=45" ]
Current State: 45:[71, 72, 73, 18], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [72, 18, 2] Generated Node #2: [72, 18, 2] from Operation: 73-71=2 Current State: 45:[72, 18, 2], Operations: ['73-71=2'] Exploring Operation: 72+18=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 72+18=90 Current State: 45:[2, 90], Operations: ['73-71=2', '72+18=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[71, 72, 73, 18], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [72, 18, 2] Generated Node #0,0: 45:[72, 18, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 45:[72, 18, 2], Operations: ['73-71=2'] Exploring Operation: 72/18=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 45:[2, 4] Operation: 72/18=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[2, 4], Operations: ['73-71=2', '72/18=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,45 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
[ 44, 40, 11, 7 ]
81
[ "44-40=4", "11*7=77", "4+77=81" ]
Current State: 81:[44, 40, 11, 7], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [11, 7, 4] Generated Node #2: [11, 7, 4] from Operation: 44-40=4 Current State: 81:[11, 7, 4], Operations: ['44-40=4'] Exploring Operation: 11*7=77, Resulting Numbers: [4, 77] Generated Node #3: [4, 77] from Operation: 11*7=77 Current State: 81:[4, 77], Operations: ['44-40=4', '11*7=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[44, 40, 11, 7], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [11, 7, 4] Generated Node #0,0: 81:[11, 7, 4] Operation: 44-40=4 Exploring Operation: 44+40=84, Resulting Numbers: [11, 7, 84] Generated Node #0,1: 81:[11, 7, 84] Operation: 44+40=84 Exploring Operation: 44/11=4, Resulting Numbers: [40, 7, 4] Generated Node #0,2: 81:[40, 7, 4] Operation: 44/11=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[11, 7, 4], Operations: ['44-40=4'] Exploring Operation: 7*4=28, Resulting Numbers: [11, 28] Generated Node #0,0,0: 81:[11, 28] Operation: 7*4=28 Exploring Operation: 11-7=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 81:[4, 4] Operation: 11-7=4 Exploring Operation: 7-4=3, Resulting Numbers: [11, 3] Generated Node #0,0,2: 81:[11, 3] Operation: 7-4=3 Moving to Node #0,0,1 Current State: 81:[4, 4], Operations: ['44-40=4', '11-7=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[11, 3], Operations: ['44-40=4', '7-4=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[11, 28], Operations: ['44-40=4', '7*4=28'] Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,81 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[11, 7, 84], Operations: ['44+40=84'] Exploring Operation: 84/7=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 81:[11, 12] Operation: 84/7=12 Exploring Operation: 11-7=4, Resulting Numbers: [84, 4] Generated Node #0,1,1: 81:[84, 4] Operation: 11-7=4 Exploring Operation: 84-7=77, Resulting Numbers: [11, 77] Generated Node #0,1,2: 81:[11, 77] Operation: 84-7=77 Moving to Node #0,1,1 Current State: 81:[84, 4], Operations: ['44+40=84', '11-7=4'] Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[11, 12], Operations: ['44+40=84', '84/7=12'] Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,81 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[11, 77], Operations: ['44+40=84', '84-7=77'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,81 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[40, 7, 4], Operations: ['44/11=4'] Exploring Operation: 40-7=33, Resulting Numbers: [4, 33] Generated Node #0,2,0: 81:[4, 33] Operation: 40-7=33 Exploring Operation: 40/4=10, Resulting Numbers: [7, 10] Generated Node #0,2,1: 81:[7, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [7, 36] Generated Node #0,2,2: 81:[7, 36] Operation: 40-4=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[7, 10], Operations: ['44/11=4', '40/4=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,81 unequal: No Solution No 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: 81:[4, 33], Operations: ['44/11=4', '40-7=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,81 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,81 unequal: No Solution No 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: 81:[7, 36], Operations: ['44/11=4', '40-4=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 48, 78, 64, 6 ]
86
[ "48/6=8", "64/8=8", "78+8=86" ]
Current State: 86:[48, 78, 64, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [78, 64, 8] Generated Node #2: [78, 64, 8] from Operation: 48/6=8 Current State: 86:[78, 64, 8], Operations: ['48/6=8'] Exploring Operation: 64/8=8, Resulting Numbers: [78, 8] Generated Node #3: [78, 8] from Operation: 64/8=8 Current State: 86:[78, 8], Operations: ['48/6=8', '64/8=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[48, 78, 64, 6], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [48, 6, 14] Generated Node #0,0: 86:[48, 6, 14] Operation: 78-64=14 Exploring Operation: 64-48=16, Resulting Numbers: [78, 6, 16] Generated Node #0,1: 86:[78, 6, 16] Operation: 64-48=16 Exploring Operation: 64-6=58, Resulting Numbers: [48, 78, 58] Generated Node #0,2: 86:[48, 78, 58] Operation: 64-6=58 Exploring Operation: 78+6=84, Resulting Numbers: [48, 64, 84] Generated Node #0,3: 86:[48, 64, 84] Operation: 78+6=84 Moving to Node #0,0 Current State: 86:[48, 6, 14], Operations: ['78-64=14'] Exploring Operation: 48-14=34, Resulting Numbers: [6, 34] Generated Node #0,0,0: 86:[6, 34] Operation: 48-14=34 Exploring Operation: 14-6=8, Resulting Numbers: [48, 8] Generated Node #0,0,1: 86:[48, 8] Operation: 14-6=8 Exploring Operation: 6*14=84, Resulting Numbers: [48, 84] Generated Node #0,0,2: 86:[48, 84] Operation: 6*14=84 Exploring Operation: 48-6=42, Resulting Numbers: [14, 42] Generated Node #0,0,3: 86:[14, 42] Operation: 48-6=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[48, 84], Operations: ['78-64=14', '6*14=84'] Exploring Operation: 48*84=4032, Resulting Numbers: [4032] 4032,86 unequal: No Solution Exploring Operation: 48+84=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[48, 8], Operations: ['78-64=14', '14-6=8'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,86 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[6, 34], Operations: ['78-64=14', '48-14=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,86 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[14, 42], Operations: ['78-64=14', '48-6=42'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,86 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: 86:[78, 6, 16], Operations: ['64-48=16'] Exploring Operation: 78+16=94, Resulting Numbers: [6, 94] Generated Node #0,1,0: 86:[6, 94] Operation: 78+16=94 Exploring Operation: 16-6=10, Resulting Numbers: [78, 10] Generated Node #0,1,1: 86:[78, 10] Operation: 16-6=10 Exploring Operation: 78+6=84, Resulting Numbers: [16, 84] Generated Node #0,1,2: 86:[16, 84] Operation: 78+6=84 Exploring Operation: 6*16=96, Resulting Numbers: [78, 96] Generated Node #0,1,3: 86:[78, 96] Operation: 6*16=96 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[6, 94], Operations: ['64-48=16', '78+16=94'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[78, 10], Operations: ['64-48=16', '16-6=10'] Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[16, 84], Operations: ['64-48=16', '78+6=84'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 16+84=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 16*84=1344, Resulting Numbers: [1344] 1344,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[78, 96], Operations: ['64-48=16', '6*16=96'] Exploring Operation: 78*96=7488, Resulting Numbers: [7488] 7488,86 unequal: No Solution Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 78+96=174, Resulting Numbers: [174] 174,86 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: 86:[48, 64, 84], Operations: ['78+6=84'] Exploring Operation: 84-64=20, Resulting Numbers: [48, 20] Generated Node #0,3,0: 86:[48, 20] Operation: 84-64=20 Exploring Operation: 48+64=112, Resulting Numbers: [84, 112] Generated Node #0,3,1: 86:[84, 112] Operation: 48+64=112 Exploring Operation: 64-48=16, Resulting Numbers: [84, 16] Generated Node #0,3,2: 86:[84, 16] Operation: 64-48=16 Exploring Operation: 84-48=36, Resulting Numbers: [64, 36] Generated Node #0,3,3: 86:[64, 36] Operation: 84-48=36 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[84, 16], Operations: ['78+6=84', '64-48=16'] Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,86 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[48, 20], Operations: ['78+6=84', '84-64=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,86 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[84, 112], Operations: ['78+6=84', '48+64=112'] Exploring Operation: 112-84=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 84*112=9408, Resulting Numbers: [9408] 9408,86 unequal: No Solution Exploring Operation: 84+112=196, Resulting Numbers: [196] 196,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[64, 36], Operations: ['78+6=84', '84-48=36'] Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,86 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 86:[48, 78, 58], Operations: ['64-6=58'] Exploring Operation: 78-48=30, Resulting Numbers: [58, 30] Generated Node #0,2,0: 86:[58, 30] Operation: 78-48=30 Exploring Operation: 58-48=10, Resulting Numbers: [78, 10] Generated Node #0,2,1: 86:[78, 10] Operation: 58-48=10 Exploring Operation: 48+58=106, Resulting Numbers: [78, 106] Generated Node #0,2,2: 86:[78, 106] Operation: 48+58=106 Exploring Operation: 78-58=20, Resulting Numbers: [48, 20] Generated Node #0,2,3: 86:[48, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[78, 10], Operations: ['64-6=58', '58-48=10'] Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,86 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[48, 20], Operations: ['64-6=58', '78-58=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,86 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[58, 30], Operations: ['64-6=58', '78-48=30'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,86 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[78, 106], Operations: ['64-6=58', '48+58=106'] Exploring Operation: 106-78=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 78+106=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 78*106=8268, Resulting Numbers: [8268] 8268,86 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
[ 9, 68, 43, 70 ]
32
[ "68-9=59", "70-43=27", "59-27=32" ]
Current State: 32:[9, 68, 43, 70], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [43, 70, 59] Generated Node #2: [43, 70, 59] from Operation: 68-9=59 Current State: 32:[43, 70, 59], Operations: ['68-9=59'] Exploring Operation: 70-43=27, Resulting Numbers: [59, 27] Generated Node #3: [59, 27] from Operation: 70-43=27 Current State: 32:[59, 27], Operations: ['68-9=59', '70-43=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[9, 68, 43, 70], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [9, 43, 2] Generated Node #0,0: 32:[9, 43, 2] Operation: 70-68=2 Exploring Operation: 70-43=27, Resulting Numbers: [9, 68, 27] Generated Node #0,1: 32:[9, 68, 27] Operation: 70-43=27 Exploring Operation: 68-43=25, Resulting Numbers: [9, 70, 25] Generated Node #0,2: 32:[9, 70, 25] Operation: 68-43=25 Moving to Node #0,0 Current State: 32:[9, 43, 2], Operations: ['70-68=2'] Exploring Operation: 43-9=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 32:[2, 34] Operation: 43-9=34 Exploring Operation: 9-2=7, Resulting Numbers: [43, 7] Generated Node #0,0,1: 32:[43, 7] Operation: 9-2=7 Exploring Operation: 43-2=41, Resulting Numbers: [9, 41] Generated Node #0,0,2: 32:[9, 41] Operation: 43-2=41 Moving to Node #0,1 Current State: 32:[9, 68, 27], Operations: ['70-43=27'] Exploring Operation: 68-9=59, Resulting Numbers: [27, 59] Generated Node #0,1,0: 32:[27, 59] Operation: 68-9=59 Exploring Operation: 68-27=41, Resulting Numbers: [9, 41] Generated Node #0,1,1: 32:[9, 41] Operation: 68-27=41 Exploring Operation: 27/9=3, Resulting Numbers: [68, 3] Generated Node #0,1,2: 32:[68, 3] Operation: 27/9=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[9, 41], Operations: ['70-43=27', '68-27=41'] Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,32 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[9, 68, 43, 70], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [9, 68, 27] Generated Node #0,1: 32:[9, 68, 27] Operation: 70-43=27 Moving to Node #0,1 Current State: 32:[9, 68, 27], Operations: ['70-43=27'] Exploring Operation: 68-27=41, Resulting Numbers: [9, 41] Generated Node #0,1,1: 32:[9, 41] Operation: 68-27=41 Moving to Node #0,1,1 Current State: 32:[9, 41], Operations: ['70-43=27', '68-27=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 5, 3, 56, 73 ]
36
[ "5+56=61", "73-61=12", "3*12=36" ]
Current State: 36:[5, 3, 56, 73], Operations: [] Exploring Operation: 5+56=61, Resulting Numbers: [3, 73, 61] Generated Node #2: [3, 73, 61] from Operation: 5+56=61 Current State: 36:[3, 73, 61], Operations: ['5+56=61'] Exploring Operation: 73-61=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 73-61=12 Current State: 36:[3, 12], Operations: ['5+56=61', '73-61=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[5, 3, 56, 73], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [5, 3, 17] Generated Node #0,0: 36:[5, 3, 17] Operation: 73-56=17 Moving to Node #0,0 Current State: 36:[5, 3, 17], Operations: ['73-56=17'] Exploring Operation: 17-5=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 17-5=12 Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['73-56=17', '17-5=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[5, 3, 56, 73], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [5, 3, 17] Generated Node #0,0: 36:[5, 3, 17] Operation: 73-56=17 Moving to Node #0,0 Current State: 36:[5, 3, 17], Operations: ['73-56=17'] Exploring Operation: 17-5=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 17-5=12 Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['73-56=17', '17-5=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 3, 2, 63, 77 ]
13
[ "3-2=1", "77-63=14", "14-1=13" ]
Current State: 13:[3, 2, 63, 77], Operations: [] Exploring Operation: 3-2=1, Resulting Numbers: [63, 77, 1] Generated Node #2: [63, 77, 1] from Operation: 3-2=1 Current State: 13:[63, 77, 1], Operations: ['3-2=1'] Exploring Operation: 77-63=14, Resulting Numbers: [1, 14] Generated Node #3: [1, 14] from Operation: 77-63=14 Current State: 13:[1, 14], Operations: ['3-2=1', '77-63=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 2, 63, 77], Operations: [] Exploring Operation: 3+2=5, Resulting Numbers: [63, 77, 5] Generated Node #0,0: 13:[63, 77, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [63, 77, 6] Generated Node #0,1: 13:[63, 77, 6] Operation: 3*2=6 Exploring Operation: 63-3=60, Resulting Numbers: [2, 77, 60] Generated Node #0,2: 13:[2, 77, 60] Operation: 63-3=60 Exploring Operation: 77-63=14, Resulting Numbers: [3, 2, 14] Generated Node #0,3: 13:[3, 2, 14] Operation: 77-63=14 Exploring Operation: 63/3=21, Resulting Numbers: [2, 77, 21] Generated Node #0,4: 13:[2, 77, 21] Operation: 63/3=21 Moving to Node #0,3 Current State: 13:[3, 2, 14], Operations: ['77-63=14'] Exploring Operation: 14-2=12, Resulting Numbers: [3, 12] Generated Node #0,3,0: 13:[3, 12] Operation: 14-2=12 Exploring Operation: 14-3=11, Resulting Numbers: [2, 11] Generated Node #0,3,1: 13:[2, 11] Operation: 14-3=11 Exploring Operation: 3+2=5, Resulting Numbers: [14, 5] Generated Node #0,3,2: 13:[14, 5] Operation: 3+2=5 Exploring Operation: 3-2=1, Resulting Numbers: [14, 1] Generated Node #0,3,3: 13:[14, 1] Operation: 3-2=1 Exploring Operation: 3*2=6, Resulting Numbers: [14, 6] Generated Node #0,3,4: 13:[14, 6] Operation: 3*2=6 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[14, 6], Operations: ['77-63=14', '3*2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,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,2 Current State: 13:[14, 5], Operations: ['77-63=14', '3+2=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,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,0 Current State: 13:[3, 12], Operations: ['77-63=14', '14-2=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,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,1 Current State: 13:[2, 11], Operations: ['77-63=14', '14-3=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 2, 63, 77], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [3, 2, 14] Generated Node #0,3: 13:[3, 2, 14] Operation: 77-63=14 Moving to Node #0,3 Current State: 13:[3, 2, 14], Operations: ['77-63=14'] Exploring Operation: 14-3=11, Resulting Numbers: [2, 11] Generated Node #0,3,1: 13:[2, 11] Operation: 14-3=11 Moving to Node #0,3,1 Current State: 13:[2, 11], Operations: ['77-63=14', '14-3=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 73, 51, 59, 9 ]
56
[ "73+51=124", "59+9=68", "124-68=56" ]
Current State: 56:[73, 51, 59, 9], Operations: [] Exploring Operation: 73+51=124, Resulting Numbers: [59, 9, 124] Generated Node #2: [59, 9, 124] from Operation: 73+51=124 Current State: 56:[59, 9, 124], Operations: ['73+51=124'] Exploring Operation: 59+9=68, Resulting Numbers: [124, 68] Generated Node #3: [124, 68] from Operation: 59+9=68 Current State: 56:[124, 68], Operations: ['73+51=124', '59+9=68'] Exploring Operation: 124-68=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[73, 51, 59, 9], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [51, 9, 14] Generated Node #0,0: 56:[51, 9, 14] Operation: 73-59=14 Exploring Operation: 73-9=64, Resulting Numbers: [51, 59, 64] Generated Node #0,1: 56:[51, 59, 64] Operation: 73-9=64 Exploring Operation: 73-51=22, Resulting Numbers: [59, 9, 22] Generated Node #0,2: 56:[59, 9, 22] Operation: 73-51=22 Moving to Node #0,0 Current State: 56:[51, 9, 14], Operations: ['73-59=14'] Exploring Operation: 51+14=65, Resulting Numbers: [9, 65] Generated Node #0,0,0: 56:[9, 65] Operation: 51+14=65 Exploring Operation: 14-9=5, Resulting Numbers: [51, 5] Generated Node #0,0,1: 56:[51, 5] Operation: 14-9=5 Exploring Operation: 51+9=60, Resulting Numbers: [14, 60] Generated Node #0,0,2: 56:[14, 60] Operation: 51+9=60 Moving to Node #0,2 Current State: 56:[59, 9, 22], Operations: ['73-51=22'] Exploring Operation: 9+22=31, Resulting Numbers: [59, 31] Generated Node #0,2,0: 56:[59, 31] Operation: 9+22=31 Exploring Operation: 59-22=37, Resulting Numbers: [9, 37] Generated Node #0,2,1: 56:[9, 37] Operation: 59-22=37 Exploring Operation: 22-9=13, Resulting Numbers: [59, 13] Generated Node #0,2,2: 56:[59, 13] Operation: 22-9=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[59, 13], Operations: ['73-51=22', '22-9=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,56 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[59, 31], Operations: ['73-51=22', '9+22=31'] Exploring Operation: 59*31=1829, Resulting Numbers: [1829] 1829,56 unequal: No Solution Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[9, 37], Operations: ['73-51=22', '59-22=37'] Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,56 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,56 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: 56:[51, 59, 64], Operations: ['73-9=64'] Exploring Operation: 64-59=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 56:[51, 5] Operation: 64-59=5 Exploring Operation: 59-51=8, Resulting Numbers: [64, 8] Generated Node #0,1,1: 56:[64, 8] Operation: 59-51=8 Exploring Operation: 64-51=13, Resulting Numbers: [59, 13] Generated Node #0,1,2: 56:[59, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[59, 13], Operations: ['73-9=64', '64-51=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,56 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[51, 5], Operations: ['73-9=64', '64-59=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[73, 51, 59, 9], Operations: [] Exploring Operation: 73-9=64, Resulting Numbers: [51, 59, 64] Generated Node #0,1: 56:[51, 59, 64] Operation: 73-9=64 Moving to Node #0,1 Current State: 56:[51, 59, 64], Operations: ['73-9=64'] Exploring Operation: 64-59=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 56:[51, 5] Operation: 64-59=5 Moving to Node #0,1,0 Current State: 56:[51, 5], Operations: ['73-9=64', '64-59=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 74, 81, 7, 17 ]
16
[ "81-74=7", "7/7=1", "17-1=16" ]
Current State: 16:[74, 81, 7, 17], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [7, 17, 7] Generated Node #2: [7, 17, 7] from Operation: 81-74=7 Current State: 16:[7, 17, 7], Operations: ['81-74=7'] Exploring Operation: 7/7=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 7/7=1 Current State: 16:[17, 1], Operations: ['81-74=7', '7/7=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[74, 81, 7, 17], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [7, 17, 7] Generated Node #0,0: 16:[7, 17, 7] Operation: 81-74=7 Exploring Operation: 81-17=64, Resulting Numbers: [74, 7, 64] Generated Node #0,1: 16:[74, 7, 64] Operation: 81-17=64 Exploring Operation: 74-17=57, Resulting Numbers: [81, 7, 57] Generated Node #0,2: 16:[81, 7, 57] Operation: 74-17=57 Exploring Operation: 74-7=67, Resulting Numbers: [81, 17, 67] Generated Node #0,3: 16:[81, 17, 67] Operation: 74-7=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[7, 17, 7], Operations: ['81-74=7'] Exploring Operation: 7/7=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 7/7=1 Exploring Operation: 7+7=14, Resulting Numbers: [17, 14] Generated Node #0,0,1: 16:[17, 14] Operation: 7+7=14 Exploring Operation: 7-7=0, Resulting Numbers: [17, 0] Generated Node #0,0,2: 16:[17, 0] Operation: 7-7=0 Exploring Operation: 17-7=10, Resulting Numbers: [7, 10] Generated Node #0,0,3: 16:[7, 10] Operation: 17-7=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['81-74=7', '7/7=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[74, 81, 7, 17], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [7, 17, 7] Generated Node #0,0: 16:[7, 17, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 16:[7, 17, 7], Operations: ['81-74=7'] Exploring Operation: 7/7=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 16:[17, 1] Operation: 7/7=1 Moving to Node #0,0,0 Current State: 16:[17, 1], Operations: ['81-74=7', '7/7=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 34, 49, 2, 43 ]
11
[ "34/2=17", "49-43=6", "17-6=11" ]
Current State: 11:[34, 49, 2, 43], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [49, 43, 17] Generated Node #2: [49, 43, 17] from Operation: 34/2=17 Current State: 11:[49, 43, 17], Operations: ['34/2=17'] Exploring Operation: 49-43=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 49-43=6 Current State: 11:[17, 6], Operations: ['34/2=17', '49-43=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[34, 49, 2, 43], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [49, 43, 17] Generated Node #0,0: 11:[49, 43, 17] Operation: 34/2=17 Exploring Operation: 43-34=9, Resulting Numbers: [49, 2, 9] Generated Node #0,1: 11:[49, 2, 9] Operation: 43-34=9 Exploring Operation: 49-43=6, Resulting Numbers: [34, 2, 6] Generated Node #0,2: 11:[34, 2, 6] Operation: 49-43=6 Exploring Operation: 49-34=15, Resulting Numbers: [2, 43, 15] Generated Node #0,3: 11:[2, 43, 15] Operation: 49-34=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[34, 2, 6], Operations: ['49-43=6'] Exploring Operation: 34-2=32, Resulting Numbers: [6, 32] Generated Node #0,2,0: 11:[6, 32] Operation: 34-2=32 Exploring Operation: 2*6=12, Resulting Numbers: [34, 12] Generated Node #0,2,1: 11:[34, 12] Operation: 2*6=12 Exploring Operation: 34/2=17, Resulting Numbers: [6, 17] Generated Node #0,2,2: 11:[6, 17] Operation: 34/2=17 Exploring Operation: 34-6=28, Resulting Numbers: [2, 28] Generated Node #0,2,3: 11:[2, 28] Operation: 34-6=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[6, 17], Operations: ['49-43=6', '34/2=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,11 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[34, 49, 2, 43], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [34, 2, 6] Generated Node #0,2: 11:[34, 2, 6] Operation: 49-43=6 Moving to Node #0,2 Current State: 11:[34, 2, 6], Operations: ['49-43=6'] Exploring Operation: 34/2=17, Resulting Numbers: [6, 17] Generated Node #0,2,2: 11:[6, 17] Operation: 34/2=17 Moving to Node #0,2,2 Current State: 11:[6, 17], Operations: ['49-43=6', '34/2=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 4, 20, 71, 36 ]
82
[ "36/4=9", "20+71=91", "91-9=82" ]
Current State: 82:[4, 20, 71, 36], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [20, 71, 9] Generated Node #2: [20, 71, 9] from Operation: 36/4=9 Current State: 82:[20, 71, 9], Operations: ['36/4=9'] Exploring Operation: 20+71=91, Resulting Numbers: [9, 91] Generated Node #3: [9, 91] from Operation: 20+71=91 Current State: 82:[9, 91], Operations: ['36/4=9', '20+71=91'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[4, 20, 71, 36], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [71, 36, 80] Generated Node #0,0: 82:[71, 36, 80] Operation: 4*20=80 Exploring Operation: 20/4=5, Resulting Numbers: [71, 36, 5] Generated Node #0,1: 82:[71, 36, 5] Operation: 20/4=5 Exploring Operation: 71-20=51, Resulting Numbers: [4, 36, 51] Generated Node #0,2: 82:[4, 36, 51] Operation: 71-20=51 Exploring Operation: 20+71=91, Resulting Numbers: [4, 36, 91] Generated Node #0,3: 82:[4, 36, 91] Operation: 20+71=91 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[4, 36, 91], Operations: ['20+71=91'] Exploring Operation: 91-4=87, Resulting Numbers: [36, 87] Generated Node #0,3,0: 82:[36, 87] Operation: 91-4=87 Exploring Operation: 91-36=55, Resulting Numbers: [4, 55] Generated Node #0,3,1: 82:[4, 55] Operation: 91-36=55 Exploring Operation: 36/4=9, Resulting Numbers: [91, 9] Generated Node #0,3,2: 82:[91, 9] Operation: 36/4=9 Exploring Operation: 4+36=40, Resulting Numbers: [91, 40] Generated Node #0,3,3: 82:[91, 40] Operation: 4+36=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[36, 87], Operations: ['20+71=91', '91-4=87'] Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,82 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,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:[91, 40], Operations: ['20+71=91', '4+36=40'] Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 91*40=3640, Resulting Numbers: [3640] 3640,82 unequal: No Solution Exploring Operation: 91+40=131, Resulting Numbers: [131] 131,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:[4, 55], Operations: ['20+71=91', '91-36=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,82 unequal: No Solution Exploring Operation: 55-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,2 Current State: 82:[91, 9], Operations: ['20+71=91', '36/4=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,82 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[4, 20, 71, 36], Operations: [] Exploring Operation: 20+71=91, Resulting Numbers: [4, 36, 91] Generated Node #0,3: 82:[4, 36, 91] Operation: 20+71=91 Moving to Node #0,3 Current State: 82:[4, 36, 91], Operations: ['20+71=91'] Exploring Operation: 36/4=9, Resulting Numbers: [91, 9] Generated Node #0,3,2: 82:[91, 9] Operation: 36/4=9 Moving to Node #0,3,2 Current State: 82:[91, 9], Operations: ['20+71=91', '36/4=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 11, 34, 94, 73 ]
66
[ "11+34=45", "94-73=21", "45+21=66" ]
Current State: 66:[11, 34, 94, 73], Operations: [] Exploring Operation: 11+34=45, Resulting Numbers: [94, 73, 45] Generated Node #2: [94, 73, 45] from Operation: 11+34=45 Current State: 66:[94, 73, 45], Operations: ['11+34=45'] Exploring Operation: 94-73=21, Resulting Numbers: [45, 21] Generated Node #3: [45, 21] from Operation: 94-73=21 Current State: 66:[45, 21], Operations: ['11+34=45', '94-73=21'] Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[11, 34, 94, 73], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [11, 34, 21] Generated Node #0,0: 66:[11, 34, 21] Operation: 94-73=21 Exploring Operation: 94-11=83, Resulting Numbers: [34, 73, 83] Generated Node #0,1: 66:[34, 73, 83] Operation: 94-11=83 Exploring Operation: 94-34=60, Resulting Numbers: [11, 73, 60] Generated Node #0,2: 66:[11, 73, 60] Operation: 94-34=60 Moving to Node #0,0 Current State: 66:[11, 34, 21], Operations: ['94-73=21'] Exploring Operation: 34-11=23, Resulting Numbers: [21, 23] Generated Node #0,0,0: 66:[21, 23] Operation: 34-11=23 Exploring Operation: 21-11=10, Resulting Numbers: [34, 10] Generated Node #0,0,1: 66:[34, 10] Operation: 21-11=10 Exploring Operation: 11+21=32, Resulting Numbers: [34, 32] Generated Node #0,0,2: 66:[34, 32] Operation: 11+21=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[21, 23], Operations: ['94-73=21', '34-11=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[34, 10], Operations: ['94-73=21', '21-11=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,66 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[34, 32], Operations: ['94-73=21', '11+21=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[11, 34, 94, 73], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [11, 34, 21] Generated Node #0,0: 66:[11, 34, 21] Operation: 94-73=21 Moving to Node #0,0 Current State: 66:[11, 34, 21], Operations: ['94-73=21'] Exploring Operation: 11+21=32, Resulting Numbers: [34, 32] Generated Node #0,0,2: 66:[34, 32] Operation: 11+21=32 Moving to Node #0,0,2 Current State: 66:[34, 32], Operations: ['94-73=21', '11+21=32'] Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 44, 86, 21, 14 ]
35
[ "86-44=42", "21-14=7", "42-7=35" ]
Current State: 35:[44, 86, 21, 14], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [21, 14, 42] Generated Node #2: [21, 14, 42] from Operation: 86-44=42 Current State: 35:[21, 14, 42], Operations: ['86-44=42'] Exploring Operation: 21-14=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 21-14=7 Current State: 35:[42, 7], Operations: ['86-44=42', '21-14=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[44, 86, 21, 14], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [21, 14, 42] Generated Node #0,0: 35:[21, 14, 42] Operation: 86-44=42 Exploring Operation: 86-21=65, Resulting Numbers: [44, 14, 65] Generated Node #0,1: 35:[44, 14, 65] Operation: 86-21=65 Exploring Operation: 86-14=72, Resulting Numbers: [44, 21, 72] Generated Node #0,2: 35:[44, 21, 72] Operation: 86-14=72 Moving to Node #0,0 Current State: 35:[21, 14, 42], Operations: ['86-44=42'] Exploring Operation: 21+14=35, Resulting Numbers: [42, 35] Generated Node #0,0,0: 35:[42, 35] Operation: 21+14=35 Exploring Operation: 21-14=7, Resulting Numbers: [42, 7] Generated Node #0,0,1: 35:[42, 7] Operation: 21-14=7 Exploring Operation: 42/21=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 35:[14, 2] Operation: 42/21=2 Moving to Node #0,1 Current State: 35:[44, 14, 65], Operations: ['86-21=65'] Exploring Operation: 65-44=21, Resulting Numbers: [14, 21] Generated Node #0,1,0: 35:[14, 21] Operation: 65-44=21 Exploring Operation: 44-14=30, Resulting Numbers: [65, 30] Generated Node #0,1,1: 35:[65, 30] Operation: 44-14=30 Exploring Operation: 65-14=51, Resulting Numbers: [44, 51] Generated Node #0,1,2: 35:[44, 51] Operation: 65-14=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[14, 21], Operations: ['86-21=65', '65-44=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[44, 86, 21, 14], Operations: [] Exploring Operation: 86-21=65, Resulting Numbers: [44, 14, 65] Generated Node #0,1: 35:[44, 14, 65] Operation: 86-21=65 Moving to Node #0,1 Current State: 35:[44, 14, 65], Operations: ['86-21=65'] Exploring Operation: 65-44=21, Resulting Numbers: [14, 21] Generated Node #0,1,0: 35:[14, 21] Operation: 65-44=21 Moving to Node #0,1,0 Current State: 35:[14, 21], Operations: ['86-21=65', '65-44=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 88, 76, 52, 57 ]
55
[ "88+76=164", "52+57=109", "164-109=55" ]
Current State: 55:[88, 76, 52, 57], Operations: [] Exploring Operation: 88+76=164, Resulting Numbers: [52, 57, 164] Generated Node #2: [52, 57, 164] from Operation: 88+76=164 Current State: 55:[52, 57, 164], Operations: ['88+76=164'] Exploring Operation: 52+57=109, Resulting Numbers: [164, 109] Generated Node #3: [164, 109] from Operation: 52+57=109 Current State: 55:[164, 109], Operations: ['88+76=164', '52+57=109'] Exploring Operation: 164-109=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[88, 76, 52, 57], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [52, 57, 12] Generated Node #0,0: 55:[52, 57, 12] Operation: 88-76=12 Exploring Operation: 88-52=36, Resulting Numbers: [76, 57, 36] Generated Node #0,1: 55:[76, 57, 36] Operation: 88-52=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[52, 57, 12], Operations: ['88-76=12'] Exploring Operation: 57-52=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 55:[12, 5] Operation: 57-52=5 Exploring Operation: 52+12=64, Resulting Numbers: [57, 64] Generated Node #0,0,1: 55:[57, 64] Operation: 52+12=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[12, 5], Operations: ['88-76=12', '57-52=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[57, 64], Operations: ['88-76=12', '52+12=64'] Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 57+64=121, Resulting Numbers: [121] 121,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[76, 57, 36], Operations: ['88-52=36'] Exploring Operation: 76-36=40, Resulting Numbers: [57, 40] Generated Node #0,1,0: 55:[57, 40] Operation: 76-36=40 Exploring Operation: 76-57=19, Resulting Numbers: [36, 19] Generated Node #0,1,1: 55:[36, 19] Operation: 76-57=19 Moving to Node #0,1,0 Current State: 55:[57, 40], Operations: ['88-52=36', '76-36=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[36, 19], Operations: ['88-52=36', '76-57=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[88, 76, 52, 57], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [76, 57, 36] Generated Node #0,1: 55:[76, 57, 36] Operation: 88-52=36 Moving to Node #0,1 Current State: 55:[76, 57, 36], Operations: ['88-52=36'] Exploring Operation: 76-57=19, Resulting Numbers: [36, 19] Generated Node #0,1,1: 55:[36, 19] Operation: 76-57=19 Moving to Node #0,1,1 Current State: 55:[36, 19], Operations: ['88-52=36', '76-57=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 29, 37, 10, 7 ]
31
[ "29*10=290", "37*7=259", "290-259=31" ]
Current State: 31:[29, 37, 10, 7], Operations: [] Exploring Operation: 29*10=290, Resulting Numbers: [37, 7, 290] Generated Node #2: [37, 7, 290] from Operation: 29*10=290 Current State: 31:[37, 7, 290], Operations: ['29*10=290'] Exploring Operation: 37*7=259, Resulting Numbers: [290, 259] Generated Node #3: [290, 259] from Operation: 37*7=259 Current State: 31:[290, 259], Operations: ['29*10=290', '37*7=259'] Exploring Operation: 290-259=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[29, 37, 10, 7], Operations: [] Exploring Operation: 10+7=17, Resulting Numbers: [29, 37, 17] Generated Node #0,0: 31:[29, 37, 17] Operation: 10+7=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[29, 37, 17], Operations: ['10+7=17'] Exploring Operation: 37-17=20, Resulting Numbers: [29, 20] Generated Node #0,0,0: 31:[29, 20] Operation: 37-17=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[29, 20], Operations: ['10+7=17', '37-17=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 20, 32, 83, 80 ]
28
[ "83-80=3", "20*3=60", "60-32=28" ]
Current State: 28:[20, 32, 83, 80], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [20, 32, 3] Generated Node #2: [20, 32, 3] from Operation: 83-80=3 Current State: 28:[20, 32, 3], Operations: ['83-80=3'] Exploring Operation: 20*3=60, Resulting Numbers: [32, 60] Generated Node #3: [32, 60] from Operation: 20*3=60 Current State: 28:[32, 60], Operations: ['83-80=3', '20*3=60'] Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[20, 32, 83, 80], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [20, 32, 3] Generated Node #0,0: 28:[20, 32, 3] Operation: 83-80=3 Moving to Node #0,0 Current State: 28:[20, 32, 3], Operations: ['83-80=3'] Exploring Operation: 32-20=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 28:[3, 12] Operation: 32-20=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[3, 12], Operations: ['83-80=3', '32-20=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,28 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
[ 20, 52, 51, 50 ]
73
[ "20+52=72", "51-50=1", "72+1=73" ]
Current State: 73:[20, 52, 51, 50], Operations: [] Exploring Operation: 20+52=72, Resulting Numbers: [51, 50, 72] Generated Node #2: [51, 50, 72] from Operation: 20+52=72 Current State: 73:[51, 50, 72], Operations: ['20+52=72'] Exploring Operation: 51-50=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 51-50=1 Current State: 73:[72, 1], Operations: ['20+52=72', '51-50=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[20, 52, 51, 50], Operations: [] Exploring Operation: 20+52=72, Resulting Numbers: [51, 50, 72] Generated Node #0,0: 73:[51, 50, 72] Operation: 20+52=72 Exploring Operation: 20+50=70, Resulting Numbers: [52, 51, 70] Generated Node #0,1: 73:[52, 51, 70] Operation: 20+50=70 Exploring Operation: 20+51=71, Resulting Numbers: [52, 50, 71] Generated Node #0,2: 73:[52, 50, 71] Operation: 20+51=71 Moving to Node #0,0 Current State: 73:[51, 50, 72], Operations: ['20+52=72'] Exploring Operation: 51+50=101, Resulting Numbers: [72, 101] Generated Node #0,0,0: 73:[72, 101] Operation: 51+50=101 Exploring Operation: 50+72=122, Resulting Numbers: [51, 122] Generated Node #0,0,1: 73:[51, 122] Operation: 50+72=122 Exploring Operation: 51-50=1, Resulting Numbers: [72, 1] Generated Node #0,0,2: 73:[72, 1] Operation: 51-50=1 Moving to Node #0,1 Current State: 73:[52, 51, 70], Operations: ['20+50=70'] Exploring Operation: 51+70=121, Resulting Numbers: [52, 121] Generated Node #0,1,0: 73:[52, 121] Operation: 51+70=121 Exploring Operation: 52+51=103, Resulting Numbers: [70, 103] Generated Node #0,1,1: 73:[70, 103] Operation: 52+51=103 Exploring Operation: 52+70=122, Resulting Numbers: [51, 122] Generated Node #0,1,2: 73:[51, 122] Operation: 52+70=122 Moving to Node #0,2 Current State: 73:[52, 50, 71], Operations: ['20+51=71'] Exploring Operation: 52+50=102, Resulting Numbers: [71, 102] Generated Node #0,2,0: 73:[71, 102] Operation: 52+50=102 Exploring Operation: 52-50=2, Resulting Numbers: [71, 2] Generated Node #0,2,1: 73:[71, 2] Operation: 52-50=2 Exploring Operation: 50+71=121, Resulting Numbers: [52, 121] Generated Node #0,2,2: 73:[52, 121] Operation: 50+71=121 Moving to Node #0,0,0 Current State: 73:[72, 101], Operations: ['20+52=72', '51+50=101'] Exploring Operation: 72+101=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 72*101=7272, Resulting Numbers: [7272] 7272,73 unequal: No Solution Exploring Operation: 101-72=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[71, 102], Operations: ['20+51=71', '52+50=102'] Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 71*102=7242, Resulting Numbers: [7242] 7242,73 unequal: No Solution Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[70, 103], Operations: ['20+50=70', '52+51=103'] Exploring Operation: 70+103=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 70*103=7210, Resulting Numbers: [7210] 7210,73 unequal: No Solution Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[52, 121], Operations: ['20+50=70', '51+70=121'] Exploring Operation: 52*121=6292, Resulting Numbers: [6292] 6292,73 unequal: No Solution Exploring Operation: 52+121=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 121-52=69, Resulting Numbers: [69] 69,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[52, 121], Operations: ['20+51=71', '50+71=121'] Exploring Operation: 52+121=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 52*121=6292, Resulting Numbers: [6292] 6292,73 unequal: No Solution Exploring Operation: 121-52=69, Resulting Numbers: [69] 69,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[51, 122], Operations: ['20+50=70', '52+70=122'] Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,73 unequal: No Solution Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[51, 122], Operations: ['20+52=72', '50+72=122'] Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,73 unequal: No Solution Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[71, 2], Operations: ['20+51=71', '52-50=2'] Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[20, 52, 51, 50], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [52, 50, 71] Generated Node #0,2: 73:[52, 50, 71] Operation: 20+51=71 Moving to Node #0,2 Current State: 73:[52, 50, 71], Operations: ['20+51=71'] Exploring Operation: 52-50=2, Resulting Numbers: [71, 2] Generated Node #0,2,1: 73:[71, 2] Operation: 52-50=2 Moving to Node #0,2,1 Current State: 73:[71, 2], Operations: ['20+51=71', '52-50=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 17, 11, 3, 93 ]
77
[ "17+93=110", "11*3=33", "110-33=77" ]
Current State: 77:[17, 11, 3, 93], Operations: [] Exploring Operation: 17+93=110, Resulting Numbers: [11, 3, 110] Generated Node #2: [11, 3, 110] from Operation: 17+93=110 Current State: 77:[11, 3, 110], Operations: ['17+93=110'] Exploring Operation: 11*3=33, Resulting Numbers: [110, 33] Generated Node #3: [110, 33] from Operation: 11*3=33 Current State: 77:[110, 33], Operations: ['17+93=110', '11*3=33'] Exploring Operation: 110-33=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[17, 11, 3, 93], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [3, 93, 6] Generated Node #0,0: 77:[3, 93, 6] Operation: 17-11=6 Exploring Operation: 93-17=76, Resulting Numbers: [11, 3, 76] Generated Node #0,1: 77:[11, 3, 76] Operation: 93-17=76 Exploring Operation: 93-11=82, Resulting Numbers: [17, 3, 82] Generated Node #0,2: 77:[17, 3, 82] Operation: 93-11=82 Exploring Operation: 93-3=90, Resulting Numbers: [17, 11, 90] Generated Node #0,3: 77:[17, 11, 90] Operation: 93-3=90 Exploring Operation: 17-3=14, Resulting Numbers: [11, 93, 14] Generated Node #0,4: 77:[11, 93, 14] Operation: 17-3=14 Moving to Node #0,1 Current State: 77:[11, 3, 76], Operations: ['93-17=76'] Exploring Operation: 3+76=79, Resulting Numbers: [11, 79] Generated Node #0,1,0: 77:[11, 79] Operation: 3+76=79 Exploring Operation: 11+3=14, Resulting Numbers: [76, 14] Generated Node #0,1,1: 77:[76, 14] Operation: 11+3=14 Exploring Operation: 11-3=8, Resulting Numbers: [76, 8] Generated Node #0,1,2: 77:[76, 8] Operation: 11-3=8 Exploring Operation: 76-3=73, Resulting Numbers: [11, 73] Generated Node #0,1,3: 77:[11, 73] Operation: 76-3=73 Exploring Operation: 11+76=87, Resulting Numbers: [3, 87] Generated Node #0,1,4: 77:[3, 87] Operation: 11+76=87 Moving to Node #0,2 Current State: 77:[17, 3, 82], Operations: ['93-11=82'] Exploring Operation: 17+3=20, Resulting Numbers: [82, 20] Generated Node #0,2,0: 77:[82, 20] Operation: 17+3=20 Exploring Operation: 82-3=79, Resulting Numbers: [17, 79] Generated Node #0,2,1: 77:[17, 79] Operation: 82-3=79 Exploring Operation: 3+82=85, Resulting Numbers: [17, 85] Generated Node #0,2,2: 77:[17, 85] Operation: 3+82=85 Exploring Operation: 17-3=14, Resulting Numbers: [82, 14] Generated Node #0,2,3: 77:[82, 14] Operation: 17-3=14 Exploring Operation: 82-17=65, Resulting Numbers: [3, 65] Generated Node #0,2,4: 77:[3, 65] Operation: 82-17=65 Moving to Node #0,3 Current State: 77:[17, 11, 90], Operations: ['93-3=90'] Exploring Operation: 90-11=79, Resulting Numbers: [17, 79] Generated Node #0,3,0: 77:[17, 79] Operation: 90-11=79 Exploring Operation: 90-17=73, Resulting Numbers: [11, 73] Generated Node #0,3,1: 77:[11, 73] Operation: 90-17=73 Exploring Operation: 17-11=6, Resulting Numbers: [90, 6] Generated Node #0,3,2: 77:[90, 6] Operation: 17-11=6 Exploring Operation: 17+90=107, Resulting Numbers: [11, 107] Generated Node #0,3,3: 77:[11, 107] Operation: 17+90=107 Exploring Operation: 17+11=28, Resulting Numbers: [90, 28] Generated Node #0,3,4: 77:[90, 28] Operation: 17+11=28 Moving to Node #0,4 Current State: 77:[11, 93, 14], Operations: ['17-3=14'] Exploring Operation: 11+14=25, Resulting Numbers: [93, 25] Generated Node #0,4,0: 77:[93, 25] Operation: 11+14=25 Exploring Operation: 93-14=79, Resulting Numbers: [11, 79] Generated Node #0,4,1: 77:[11, 79] Operation: 93-14=79 Exploring Operation: 11+93=104, Resulting Numbers: [14, 104] Generated Node #0,4,2: 77:[14, 104] Operation: 11+93=104 Exploring Operation: 14-11=3, Resulting Numbers: [93, 3] Generated Node #0,4,3: 77:[93, 3] Operation: 14-11=3 Exploring Operation: 93-11=82, Resulting Numbers: [14, 82] Generated Node #0,4,4: 77:[14, 82] Operation: 93-11=82 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[11, 79], Operations: ['17-3=14', '93-14=79'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 11*79=869, Resulting Numbers: [869] 869,77 unequal: No Solution Exploring Operation: 11+79=90, Resulting Numbers: [90] 90,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 77:[14, 82], Operations: ['17-3=14', '93-11=82'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,77 unequal: No Solution Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[93, 3], Operations: ['17-3=14', '14-11=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,77 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[93, 25], Operations: ['17-3=14', '11+14=25'] Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[14, 104], Operations: ['17-3=14', '11+93=104'] Exploring Operation: 104-14=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 14+104=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 14*104=1456, Resulting Numbers: [1456] 1456,77 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: 77:[3, 93, 6], Operations: ['17-11=6'] Exploring Operation: 6-3=3, Resulting Numbers: [93, 3] Generated Node #0,0,0: 77:[93, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [93, 9] Generated Node #0,0,1: 77:[93, 9] Operation: 3+6=9 Exploring Operation: 3+93=96, Resulting Numbers: [6, 96] Generated Node #0,0,2: 77:[6, 96] Operation: 3+93=96 Exploring Operation: 93-6=87, Resulting Numbers: [3, 87] Generated Node #0,0,3: 77:[3, 87] Operation: 93-6=87 Exploring Operation: 93-3=90, Resulting Numbers: [6, 90] Generated Node #0,0,4: 77:[6, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[3, 87], Operations: ['17-11=6', '93-6=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[6, 90], Operations: ['17-11=6', '93-3=90'] Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 6*90=540, Resulting Numbers: [540] 540,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[93, 9], Operations: ['17-11=6', '3+6=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[93, 3], Operations: ['17-11=6', '6-3=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 93*3=279, Resulting Numbers: [279] 279,77 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[6, 96], Operations: ['17-11=6', '3+93=96'] Exploring Operation: 6+96=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 96-6=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 6*96=576, Resulting Numbers: [576] 576,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 77:[11, 79], Operations: ['93-17=76', '3+76=79'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 11+79=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 11*79=869, Resulting Numbers: [869] 869,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[76, 8], Operations: ['93-17=76', '11-3=8'] Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,77 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[76, 14], Operations: ['93-17=76', '11+3=14'] Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,77 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[11, 73], Operations: ['93-3=90', '90-17=73'] Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,77 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[11, 73], Operations: ['93-17=76', '76-3=73'] Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,77 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[82, 14], Operations: ['93-11=82', '17-3=14'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 82+14=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 82*14=1148, Resulting Numbers: [1148] 1148,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[17, 79], Operations: ['93-11=82', '82-3=79'] Exploring Operation: 17*79=1343, Resulting Numbers: [1343] 1343,77 unequal: No Solution Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[17, 79], Operations: ['93-3=90', '90-11=79'] Exploring Operation: 17*79=1343, Resulting Numbers: [1343] 1343,77 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[3, 87], Operations: ['93-17=76', '11+76=87'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[90, 6], Operations: ['93-3=90', '17-11=6'] Exploring Operation: 90*6=540, Resulting Numbers: [540] 540,77 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[82, 20], Operations: ['93-11=82', '17+3=20'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,77 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[17, 85], Operations: ['93-11=82', '3+82=85'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 17*85=1445, Resulting Numbers: [1445] 1445,77 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[3, 65], Operations: ['93-11=82', '82-17=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,77 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[90, 28], Operations: ['93-3=90', '17+11=28'] Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,77 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[11, 107], Operations: ['93-3=90', '17+90=107'] Exploring Operation: 11*107=1177, Resulting Numbers: [1177] 1177,77 unequal: No Solution Exploring Operation: 11+107=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 107-11=96, Resulting Numbers: [96] 96,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 81, 68, 76, 31 ]
14
[ "81+31=112", "76-68=8", "112/8=14" ]
Current State: 14:[81, 68, 76, 31], Operations: [] Exploring Operation: 81+31=112, Resulting Numbers: [68, 76, 112] Generated Node #2: [68, 76, 112] from Operation: 81+31=112 Current State: 14:[68, 76, 112], Operations: ['81+31=112'] Exploring Operation: 76-68=8, Resulting Numbers: [112, 8] Generated Node #3: [112, 8] from Operation: 76-68=8 Current State: 14:[112, 8], Operations: ['81+31=112', '76-68=8'] Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[81, 68, 76, 31], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [76, 31, 13] Generated Node #0,0: 14:[76, 31, 13] Operation: 81-68=13 Exploring Operation: 81-76=5, Resulting Numbers: [68, 31, 5] Generated Node #0,1: 14:[68, 31, 5] Operation: 81-76=5 Moving to Node #0,1 Current State: 14:[68, 31, 5], Operations: ['81-76=5'] Exploring Operation: 68-31=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 14:[5, 37] Operation: 68-31=37 Exploring Operation: 68-5=63, Resulting Numbers: [31, 63] Generated Node #0,1,1: 14:[31, 63] Operation: 68-5=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[5, 37], Operations: ['81-76=5', '68-31=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,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,1 Current State: 14:[31, 63], Operations: ['81-76=5', '68-5=63'] Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,14 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,14 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: 14:[76, 31, 13], Operations: ['81-68=13'] Exploring Operation: 76-13=63, Resulting Numbers: [31, 63] Generated Node #0,0,0: 14:[31, 63] Operation: 76-13=63 Exploring Operation: 76-31=45, Resulting Numbers: [13, 45] Generated Node #0,0,1: 14:[13, 45] Operation: 76-31=45 Moving to Node #0,0,1 Current State: 14:[13, 45], Operations: ['81-68=13', '76-31=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[31, 63], Operations: ['81-68=13', '76-13=63'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,14 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 32, 16, 45, 1 ]
22
[ "32/16=2", "45-1=44", "44/2=22" ]
Current State: 22:[32, 16, 45, 1], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [45, 1, 2] Generated Node #2: [45, 1, 2] from Operation: 32/16=2 Current State: 22:[45, 1, 2], Operations: ['32/16=2'] Exploring Operation: 45-1=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 45-1=44 Current State: 22:[2, 44], Operations: ['32/16=2', '45-1=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[32, 16, 45, 1], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [16, 1, 13] Generated Node #0,0: 22:[16, 1, 13] Operation: 45-32=13 Moving to Node #0,0 Current State: 22:[16, 1, 13], Operations: ['45-32=13'] Exploring Operation: 16-13=3, Resulting Numbers: [1, 3] Generated Node #0,0,0: 22:[1, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[1, 3], Operations: ['45-32=13', '16-13=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,22 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
[ 97, 16, 66, 67 ]
80
[ "97-16=81", "67-66=1", "81-1=80" ]
Current State: 80:[97, 16, 66, 67], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [66, 67, 81] Generated Node #2: [66, 67, 81] from Operation: 97-16=81 Current State: 80:[66, 67, 81], Operations: ['97-16=81'] Exploring Operation: 67-66=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 67-66=1 Current State: 80:[81, 1], Operations: ['97-16=81', '67-66=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[97, 16, 66, 67], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [97, 16, 1] Generated Node #0,0: 80:[97, 16, 1] Operation: 67-66=1 Exploring Operation: 97-66=31, Resulting Numbers: [16, 67, 31] Generated Node #0,1: 80:[16, 67, 31] Operation: 97-66=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[97, 16, 1], Operations: ['67-66=1'] Exploring Operation: 97-16=81, Resulting Numbers: [1, 81] Generated Node #0,0,0: 80:[1, 81] Operation: 97-16=81 Exploring Operation: 97-1=96, Resulting Numbers: [16, 96] Generated Node #0,0,1: 80:[16, 96] Operation: 97-1=96 Moving to Node #0,0,0 Current State: 80:[1, 81], Operations: ['67-66=1', '97-16=81'] Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[97, 16, 66, 67], Operations: [] Exploring Operation: 67-66=1, Resulting Numbers: [97, 16, 1] Generated Node #0,0: 80:[97, 16, 1] Operation: 67-66=1 Moving to Node #0,0 Current State: 80:[97, 16, 1], Operations: ['67-66=1'] Exploring Operation: 97-16=81, Resulting Numbers: [1, 81] Generated Node #0,0,0: 80:[1, 81] Operation: 97-16=81 Moving to Node #0,0,0 Current State: 80:[1, 81], Operations: ['67-66=1', '97-16=81'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 50, 20, 16, 5 ]
41
[ "50-20=30", "16-5=11", "30+11=41" ]
Current State: 41:[50, 20, 16, 5], Operations: [] Exploring Operation: 50-20=30, Resulting Numbers: [16, 5, 30] Generated Node #2: [16, 5, 30] from Operation: 50-20=30 Current State: 41:[16, 5, 30], Operations: ['50-20=30'] Exploring Operation: 16-5=11, Resulting Numbers: [30, 11] Generated Node #3: [30, 11] from Operation: 16-5=11 Current State: 41:[30, 11], Operations: ['50-20=30', '16-5=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 20, 16, 5], Operations: [] Exploring Operation: 16+5=21, Resulting Numbers: [50, 20, 21] Generated Node #0,0: 41:[50, 20, 21] Operation: 16+5=21 Exploring Operation: 20+5=25, Resulting Numbers: [50, 16, 25] Generated Node #0,1: 41:[50, 16, 25] Operation: 20+5=25 Exploring Operation: 20+16=36, Resulting Numbers: [50, 5, 36] Generated Node #0,2: 41:[50, 5, 36] Operation: 20+16=36 Exploring Operation: 50-5=45, Resulting Numbers: [20, 16, 45] Generated Node #0,3: 41:[20, 16, 45] Operation: 50-5=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[50, 20, 21], Operations: ['16+5=21'] Exploring Operation: 50-21=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 41:[20, 29] Operation: 50-21=29 Exploring Operation: 50+20=70, Resulting Numbers: [21, 70] Generated Node #0,0,1: 41:[21, 70] Operation: 50+20=70 Exploring Operation: 20+21=41, Resulting Numbers: [50, 41] Generated Node #0,0,2: 41:[50, 41] Operation: 20+21=41 Exploring Operation: 50-20=30, Resulting Numbers: [21, 30] Generated Node #0,0,3: 41:[21, 30] Operation: 50-20=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[50, 41], Operations: ['16+5=21', '20+21=41'] Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[21, 30], Operations: ['16+5=21', '50-20=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,41 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[20, 29], Operations: ['16+5=21', '50-21=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,41 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[21, 70], Operations: ['16+5=21', '50+20=70'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[50, 16, 25], Operations: ['20+5=25'] Exploring Operation: 16+25=41, Resulting Numbers: [50, 41] Generated Node #0,1,0: 41:[50, 41] Operation: 16+25=41 Exploring Operation: 50-25=25, Resulting Numbers: [16, 25] Generated Node #0,1,1: 41:[16, 25] Operation: 50-25=25 Exploring Operation: 50+16=66, Resulting Numbers: [25, 66] Generated Node #0,1,2: 41:[25, 66] Operation: 50+16=66 Exploring Operation: 50-16=34, Resulting Numbers: [25, 34] Generated Node #0,1,3: 41:[25, 34] Operation: 50-16=34 Moving to Node #0,1,0 Current State: 41:[50, 41], Operations: ['20+5=25', '16+25=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[25, 34], Operations: ['20+5=25', '50-16=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,41 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[25, 66], Operations: ['20+5=25', '50+16=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[50, 20, 16, 5], Operations: [] Exploring Operation: 20+5=25, Resulting Numbers: [50, 16, 25] Generated Node #0,1: 41:[50, 16, 25] Operation: 20+5=25 Moving to Node #0,1 Current State: 41:[50, 16, 25], Operations: ['20+5=25'] Exploring Operation: 50+16=66, Resulting Numbers: [25, 66] Generated Node #0,1,2: 41:[25, 66] Operation: 50+16=66 Moving to Node #0,1,2 Current State: 41:[25, 66], Operations: ['20+5=25', '50+16=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 28, 6, 53, 56 ]
65
[ "56/28=2", "6*2=12", "53+12=65" ]
Current State: 65:[28, 6, 53, 56], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [6, 53, 2] Generated Node #2: [6, 53, 2] from Operation: 56/28=2 Current State: 65:[6, 53, 2], Operations: ['56/28=2'] Exploring Operation: 6*2=12, Resulting Numbers: [53, 12] Generated Node #3: [53, 12] from Operation: 6*2=12 Current State: 65:[53, 12], Operations: ['56/28=2', '6*2=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[28, 6, 53, 56], Operations: [] Exploring Operation: 28+53=81, Resulting Numbers: [6, 56, 81] Generated Node #0,0: 65:[6, 56, 81] Operation: 28+53=81 Exploring Operation: 56/28=2, Resulting Numbers: [6, 53, 2] Generated Node #0,1: 65:[6, 53, 2] Operation: 56/28=2 Exploring Operation: 53-28=25, Resulting Numbers: [6, 56, 25] Generated Node #0,2: 65:[6, 56, 25] Operation: 53-28=25 Exploring Operation: 56-53=3, Resulting Numbers: [28, 6, 3] Generated Node #0,3: 65:[28, 6, 3] Operation: 56-53=3 Moving to Node #0,1 Current State: 65:[6, 53, 2], Operations: ['56/28=2'] Exploring Operation: 6*2=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 65:[53, 12] Operation: 6*2=12 Exploring Operation: 6-2=4, Resulting Numbers: [53, 4] Generated Node #0,1,1: 65:[53, 4] Operation: 6-2=4 Exploring Operation: 53+2=55, Resulting Numbers: [6, 55] Generated Node #0,1,2: 65:[6, 55] Operation: 53+2=55 Exploring Operation: 6+53=59, Resulting Numbers: [2, 59] Generated Node #0,1,3: 65:[2, 59] Operation: 6+53=59 Moving to Node #0,3 Current State: 65:[28, 6, 3], Operations: ['56-53=3'] Exploring Operation: 28-6=22, Resulting Numbers: [3, 22] Generated Node #0,3,0: 65:[3, 22] Operation: 28-6=22 Exploring Operation: 6/3=2, Resulting Numbers: [28, 2] Generated Node #0,3,1: 65:[28, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [28, 3] Generated Node #0,3,2: 65:[28, 3] Operation: 6-3=3 Exploring Operation: 28-3=25, Resulting Numbers: [6, 25] Generated Node #0,3,3: 65:[6, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[3, 22], Operations: ['56-53=3', '28-6=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[6, 25], Operations: ['56-53=3', '28-3=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[28, 3], Operations: ['56-53=3', '6-3=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[28, 2], Operations: ['56-53=3', '6/3=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 65:[6, 56, 25], Operations: ['53-28=25'] Exploring Operation: 56+25=81, Resulting Numbers: [6, 81] Generated Node #0,2,0: 65:[6, 81] Operation: 56+25=81 Exploring Operation: 25-6=19, Resulting Numbers: [56, 19] Generated Node #0,2,1: 65:[56, 19] Operation: 25-6=19 Exploring Operation: 56-25=31, Resulting Numbers: [6, 31] Generated Node #0,2,2: 65:[6, 31] Operation: 56-25=31 Exploring Operation: 6+56=62, Resulting Numbers: [25, 62] Generated Node #0,2,3: 65:[25, 62] Operation: 6+56=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[56, 19], Operations: ['53-28=25', '25-6=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 65:[25, 62], Operations: ['53-28=25', '6+56=62'] Exploring Operation: 25+62=87, Resulting Numbers: [87] 87,65 unequal: No Solution Exploring Operation: 25*62=1550, Resulting Numbers: [1550] 1550,65 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[6, 81], Operations: ['53-28=25', '56+25=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,65 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[6, 31], Operations: ['53-28=25', '56-25=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 65:[6, 56, 81], Operations: ['28+53=81'] Exploring Operation: 6+56=62, Resulting Numbers: [81, 62] Generated Node #0,0,0: 65:[81, 62] Operation: 6+56=62 Exploring Operation: 81-6=75, Resulting Numbers: [56, 75] Generated Node #0,0,1: 65:[56, 75] Operation: 81-6=75 Exploring Operation: 81-56=25, Resulting Numbers: [6, 25] Generated Node #0,0,2: 65:[6, 25] Operation: 81-56=25 Exploring Operation: 56-6=50, Resulting Numbers: [81, 50] Generated Node #0,0,3: 65:[81, 50] Operation: 56-6=50 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[6, 25], Operations: ['28+53=81', '81-56=25'] Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,65 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[81, 62], Operations: ['28+53=81', '6+56=62'] Exploring Operation: 81+62=143, Resulting Numbers: [143] 143,65 unequal: No Solution Exploring Operation: 81*62=5022, Resulting Numbers: [5022] 5022,65 unequal: No Solution Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[56, 75], Operations: ['28+53=81', '81-6=75'] Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,65 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 56*75=4200, Resulting Numbers: [4200] 4200,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[81, 50], Operations: ['28+53=81', '56-6=50'] Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,65 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,65 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,65 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: 65:[2, 59], Operations: ['56/28=2', '6+53=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[6, 55], Operations: ['56/28=2', '53+2=55'] Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,65 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[53, 4], Operations: ['56/28=2', '6-2=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[53, 12], Operations: ['56/28=2', '6*2=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[28, 6, 53, 56], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [6, 53, 2] Generated Node #0,1: 65:[6, 53, 2] Operation: 56/28=2 Moving to Node #0,1 Current State: 65:[6, 53, 2], Operations: ['56/28=2'] Exploring Operation: 6*2=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 65:[53, 12] Operation: 6*2=12 Moving to Node #0,1,0 Current State: 65:[53, 12], Operations: ['56/28=2', '6*2=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.9375
hs_4
mult_heuristic
[ 49, 86, 42, 40 ]
39
[ "86-49=37", "42-40=2", "37+2=39" ]
Current State: 39:[49, 86, 42, 40], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [42, 40, 37] Generated Node #2: [42, 40, 37] from Operation: 86-49=37 Current State: 39:[42, 40, 37], Operations: ['86-49=37'] Exploring Operation: 42-40=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 42-40=2 Current State: 39:[37, 2], Operations: ['86-49=37', '42-40=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[49, 86, 42, 40], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [49, 40, 44] Generated Node #0,0: 39:[49, 40, 44] Operation: 86-42=44 Exploring Operation: 86-49=37, Resulting Numbers: [42, 40, 37] Generated Node #0,1: 39:[42, 40, 37] Operation: 86-49=37 Exploring Operation: 86-40=46, Resulting Numbers: [49, 42, 46] Generated Node #0,2: 39:[49, 42, 46] Operation: 86-40=46 Moving to Node #0,1 Current State: 39:[42, 40, 37], Operations: ['86-49=37'] Exploring Operation: 40-37=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 39:[42, 3] Operation: 40-37=3 Exploring Operation: 42-40=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 39:[37, 2] Operation: 42-40=2 Exploring Operation: 42-37=5, Resulting Numbers: [40, 5] Generated Node #0,1,2: 39:[40, 5] Operation: 42-37=5 Moving to Node #0,0 Current State: 39:[49, 40, 44], Operations: ['86-42=44'] Exploring Operation: 44-40=4, Resulting Numbers: [49, 4] Generated Node #0,0,0: 39:[49, 4] Operation: 44-40=4 Exploring Operation: 49-40=9, Resulting Numbers: [44, 9] Generated Node #0,0,1: 39:[44, 9] Operation: 49-40=9 Exploring Operation: 49-44=5, Resulting Numbers: [40, 5] Generated Node #0,0,2: 39:[40, 5] Operation: 49-44=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[40, 5], Operations: ['86-42=44', '49-44=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[44, 9], Operations: ['86-42=44', '49-40=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[49, 4], Operations: ['86-42=44', '44-40=4'] Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,39 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,39 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: 39:[49, 42, 46], Operations: ['86-40=46'] Exploring Operation: 46-42=4, Resulting Numbers: [49, 4] Generated Node #0,2,0: 39:[49, 4] Operation: 46-42=4 Exploring Operation: 49-42=7, Resulting Numbers: [46, 7] Generated Node #0,2,1: 39:[46, 7] Operation: 49-42=7 Exploring Operation: 49-46=3, Resulting Numbers: [42, 3] Generated Node #0,2,2: 39:[42, 3] Operation: 49-46=3 Moving to Node #0,1,0 Current State: 39:[42, 3], Operations: ['86-49=37', '40-37=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[49, 86, 42, 40], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [42, 40, 37] Generated Node #0,1: 39:[42, 40, 37] Operation: 86-49=37 Moving to Node #0,1 Current State: 39:[42, 40, 37], Operations: ['86-49=37'] Exploring Operation: 40-37=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 39:[42, 3] Operation: 40-37=3 Moving to Node #0,1,0 Current State: 39:[42, 3], Operations: ['86-49=37', '40-37=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 47, 95, 14, 28 ]
96
[ "95-47=48", "28/14=2", "48*2=96" ]
Current State: 96:[47, 95, 14, 28], Operations: [] Exploring Operation: 95-47=48, Resulting Numbers: [14, 28, 48] Generated Node #2: [14, 28, 48] from Operation: 95-47=48 Current State: 96:[14, 28, 48], Operations: ['95-47=48'] Exploring Operation: 28/14=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 28/14=2 Current State: 96:[48, 2], Operations: ['95-47=48', '28/14=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[47, 95, 14, 28], Operations: [] Exploring Operation: 28-14=14, Resulting Numbers: [47, 95, 14] Generated Node #0,0: 96:[47, 95, 14] Operation: 28-14=14 Exploring Operation: 95-47=48, Resulting Numbers: [14, 28, 48] Generated Node #0,1: 96:[14, 28, 48] Operation: 95-47=48 Exploring Operation: 28/14=2, Resulting Numbers: [47, 95, 2] Generated Node #0,2: 96:[47, 95, 2] Operation: 28/14=2 Moving to Node #0,2 Current State: 96:[47, 95, 2], Operations: ['28/14=2'] Exploring Operation: 95+2=97, Resulting Numbers: [47, 97] Generated Node #0,2,0: 96:[47, 97] Operation: 95+2=97 Exploring Operation: 95-47=48, Resulting Numbers: [2, 48] Generated Node #0,2,1: 96:[2, 48] Operation: 95-47=48 Exploring Operation: 47+2=49, Resulting Numbers: [95, 49] Generated Node #0,2,2: 96:[95, 49] Operation: 47+2=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[2, 48], Operations: ['28/14=2', '95-47=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[47, 95, 14, 28], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [47, 95, 2] Generated Node #0,2: 96:[47, 95, 2] Operation: 28/14=2 Moving to Node #0,2 Current State: 96:[47, 95, 2], Operations: ['28/14=2'] Exploring Operation: 95-47=48, Resulting Numbers: [2, 48] Generated Node #0,2,1: 96:[2, 48] Operation: 95-47=48 Moving to Node #0,2,1 Current State: 96:[2, 48], Operations: ['28/14=2', '95-47=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 97, 64, 32, 21 ]
21
[ "97-64=33", "33-32=1", "21*1=21" ]
Current State: 21:[97, 64, 32, 21], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [32, 21, 33] Generated Node #2: [32, 21, 33] from Operation: 97-64=33 Current State: 21:[32, 21, 33], Operations: ['97-64=33'] Exploring Operation: 33-32=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 33-32=1 Current State: 21:[21, 1], Operations: ['97-64=33', '33-32=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[97, 64, 32, 21], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [97, 21, 2] Generated Node #0,0: 21:[97, 21, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [97, 21, 32] Generated Node #0,1: 21:[97, 21, 32] Operation: 64-32=32 Exploring Operation: 97-32=65, Resulting Numbers: [64, 21, 65] Generated Node #0,2: 21:[64, 21, 65] Operation: 97-32=65 Exploring Operation: 97-64=33, Resulting Numbers: [32, 21, 33] Generated Node #0,3: 21:[32, 21, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[32, 21, 33], Operations: ['97-64=33'] Exploring Operation: 33-21=12, Resulting Numbers: [32, 12] Generated Node #0,3,0: 21:[32, 12] Operation: 33-21=12 Exploring Operation: 33-32=1, Resulting Numbers: [21, 1] Generated Node #0,3,1: 21:[21, 1] Operation: 33-32=1 Exploring Operation: 32-21=11, Resulting Numbers: [33, 11] Generated Node #0,3,2: 21:[33, 11] Operation: 32-21=11 Exploring Operation: 32+21=53, Resulting Numbers: [33, 53] Generated Node #0,3,3: 21:[33, 53] Operation: 32+21=53 Moving to Node #0,3,1 Current State: 21:[21, 1], Operations: ['97-64=33', '33-32=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[97, 64, 32, 21], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [32, 21, 33] Generated Node #0,3: 21:[32, 21, 33] Operation: 97-64=33 Moving to Node #0,3 Current State: 21:[32, 21, 33], Operations: ['97-64=33'] Exploring Operation: 33-32=1, Resulting Numbers: [21, 1] Generated Node #0,3,1: 21:[21, 1] Operation: 33-32=1 Moving to Node #0,3,1 Current State: 21:[21, 1], Operations: ['97-64=33', '33-32=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 95, 30, 36, 63 ]
26
[ "95+30=125", "36+63=99", "125-99=26" ]
Current State: 26:[95, 30, 36, 63], Operations: [] Exploring Operation: 95+30=125, Resulting Numbers: [36, 63, 125] Generated Node #2: [36, 63, 125] from Operation: 95+30=125 Current State: 26:[36, 63, 125], Operations: ['95+30=125'] Exploring Operation: 36+63=99, Resulting Numbers: [125, 99] Generated Node #3: [125, 99] from Operation: 36+63=99 Current State: 26:[125, 99], Operations: ['95+30=125', '36+63=99'] Exploring Operation: 125-99=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[95, 30, 36, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [30, 36, 32] Generated Node #0,0: 26:[30, 36, 32] Operation: 95-63=32 Exploring Operation: 95-36=59, Resulting Numbers: [30, 63, 59] Generated Node #0,1: 26:[30, 63, 59] Operation: 95-36=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[30, 36, 32], Operations: ['95-63=32'] Exploring Operation: 36-32=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 26:[30, 4] Operation: 36-32=4 Exploring Operation: 36-30=6, Resulting Numbers: [32, 6] Generated Node #0,0,1: 26:[32, 6] Operation: 36-30=6 Moving to Node #0,0,0 Current State: 26:[30, 4], Operations: ['95-63=32', '36-32=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[95, 30, 36, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [30, 36, 32] Generated Node #0,0: 26:[30, 36, 32] Operation: 95-63=32 Moving to Node #0,0 Current State: 26:[30, 36, 32], Operations: ['95-63=32'] Exploring Operation: 36-32=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 26:[30, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 26:[30, 4], Operations: ['95-63=32', '36-32=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 74, 63, 25, 80 ]
44
[ "74-63=11", "80-25=55", "55-11=44" ]
Current State: 44:[74, 63, 25, 80], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [25, 80, 11] Generated Node #2: [25, 80, 11] from Operation: 74-63=11 Current State: 44:[25, 80, 11], Operations: ['74-63=11'] Exploring Operation: 80-25=55, Resulting Numbers: [11, 55] Generated Node #3: [11, 55] from Operation: 80-25=55 Current State: 44:[11, 55], Operations: ['74-63=11', '80-25=55'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[74, 63, 25, 80], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [25, 80, 11] Generated Node #0,0: 44:[25, 80, 11] Operation: 74-63=11 Exploring Operation: 80-63=17, Resulting Numbers: [74, 25, 17] Generated Node #0,1: 44:[74, 25, 17] Operation: 80-63=17 Exploring Operation: 74-25=49, Resulting Numbers: [63, 80, 49] Generated Node #0,2: 44:[63, 80, 49] Operation: 74-25=49 Exploring Operation: 80-25=55, Resulting Numbers: [74, 63, 55] Generated Node #0,3: 44:[74, 63, 55] Operation: 80-25=55 Exploring Operation: 80-74=6, Resulting Numbers: [63, 25, 6] Generated Node #0,4: 44:[63, 25, 6] Operation: 80-74=6 Moving to Node #0,4 Current State: 44:[63, 25, 6], Operations: ['80-74=6'] Exploring Operation: 25+6=31, Resulting Numbers: [63, 31] Generated Node #0,4,0: 44:[63, 31] Operation: 25+6=31 Exploring Operation: 63-25=38, Resulting Numbers: [6, 38] Generated Node #0,4,1: 44:[6, 38] Operation: 63-25=38 Exploring Operation: 25-6=19, Resulting Numbers: [63, 19] Generated Node #0,4,2: 44:[63, 19] Operation: 25-6=19 Exploring Operation: 63+6=69, Resulting Numbers: [25, 69] Generated Node #0,4,3: 44:[25, 69] Operation: 63+6=69 Exploring Operation: 63-6=57, Resulting Numbers: [25, 57] Generated Node #0,4,4: 44:[25, 57] Operation: 63-6=57 Moving to Node #0,1 Current State: 44:[74, 25, 17], Operations: ['80-63=17'] Exploring Operation: 74-25=49, Resulting Numbers: [17, 49] Generated Node #0,1,0: 44:[17, 49] Operation: 74-25=49 Exploring Operation: 74-17=57, Resulting Numbers: [25, 57] Generated Node #0,1,1: 44:[25, 57] Operation: 74-17=57 Exploring Operation: 25-17=8, Resulting Numbers: [74, 8] Generated Node #0,1,2: 44:[74, 8] Operation: 25-17=8 Exploring Operation: 25+17=42, Resulting Numbers: [74, 42] Generated Node #0,1,3: 44:[74, 42] Operation: 25+17=42 Exploring Operation: 74+17=91, Resulting Numbers: [25, 91] Generated Node #0,1,4: 44:[25, 91] Operation: 74+17=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[17, 49], Operations: ['80-63=17', '74-25=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,44 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,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,1,1 Current State: 44:[25, 57], Operations: ['80-63=17', '74-17=57'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 25*57=1425, Resulting Numbers: [1425] 1425,44 unequal: No Solution Exploring Operation: 25+57=82, Resulting Numbers: [82] 82,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,1,3 Current State: 44:[74, 42], Operations: ['80-63=17', '25+17=42'] Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,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,1,2 Current State: 44:[74, 8], Operations: ['80-63=17', '25-17=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,44 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,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,1,4 Current State: 44:[25, 91], Operations: ['80-63=17', '74+17=91'] Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,44 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,44 unequal: No Solution Exploring Operation: 25*91=2275, Resulting Numbers: [2275] 2275,44 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: 44:[25, 80, 11], Operations: ['74-63=11'] Exploring Operation: 80-25=55, Resulting Numbers: [11, 55] Generated Node #0,0,0: 44:[11, 55] Operation: 80-25=55 Exploring Operation: 25-11=14, Resulting Numbers: [80, 14] Generated Node #0,0,1: 44:[80, 14] Operation: 25-11=14 Exploring Operation: 80-11=69, Resulting Numbers: [25, 69] Generated Node #0,0,2: 44:[25, 69] Operation: 80-11=69 Exploring Operation: 25+11=36, Resulting Numbers: [80, 36] Generated Node #0,0,3: 44:[80, 36] Operation: 25+11=36 Exploring Operation: 80+11=91, Resulting Numbers: [25, 91] Generated Node #0,0,4: 44:[25, 91] Operation: 80+11=91 Moving to Node #0,2 Current State: 44:[63, 80, 49], Operations: ['74-25=49'] Exploring Operation: 80-63=17, Resulting Numbers: [49, 17] Generated Node #0,2,0: 44:[49, 17] Operation: 80-63=17 Exploring Operation: 63+49=112, Resulting Numbers: [80, 112] Generated Node #0,2,1: 44:[80, 112] Operation: 63+49=112 Exploring Operation: 63-49=14, Resulting Numbers: [80, 14] Generated Node #0,2,2: 44:[80, 14] Operation: 63-49=14 Exploring Operation: 80-49=31, Resulting Numbers: [63, 31] Generated Node #0,2,3: 44:[63, 31] Operation: 80-49=31 Exploring Operation: 63+80=143, Resulting Numbers: [49, 143] Generated Node #0,2,4: 44:[49, 143] Operation: 63+80=143 Moving to Node #0,3 Current State: 44:[74, 63, 55], Operations: ['80-25=55'] Exploring Operation: 63-55=8, Resulting Numbers: [74, 8] Generated Node #0,3,0: 44:[74, 8] Operation: 63-55=8 Exploring Operation: 74-55=19, Resulting Numbers: [63, 19] Generated Node #0,3,1: 44:[63, 19] Operation: 74-55=19 Exploring Operation: 74-63=11, Resulting Numbers: [55, 11] Generated Node #0,3,2: 44:[55, 11] Operation: 74-63=11 Exploring Operation: 74+55=129, Resulting Numbers: [63, 129] Generated Node #0,3,3: 44:[63, 129] Operation: 74+55=129 Exploring Operation: 74+63=137, Resulting Numbers: [55, 137] Generated Node #0,3,4: 44:[55, 137] Operation: 74+63=137 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[55, 11], Operations: ['80-25=55', '74-63=11'] Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,44 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[74, 63, 25, 80], Operations: [] Exploring Operation: 80-25=55, Resulting Numbers: [74, 63, 55] Generated Node #0,3: 44:[74, 63, 55] Operation: 80-25=55 Moving to Node #0,3 Current State: 44:[74, 63, 55], Operations: ['80-25=55'] Exploring Operation: 74-63=11, Resulting Numbers: [55, 11] Generated Node #0,3,2: 44:[55, 11] Operation: 74-63=11 Moving to Node #0,3,2 Current State: 44:[55, 11], Operations: ['80-25=55', '74-63=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 80, 7, 46, 10 ]
42
[ "80+46=126", "10-7=3", "126/3=42" ]
Current State: 42:[80, 7, 46, 10], Operations: [] Exploring Operation: 80+46=126, Resulting Numbers: [7, 10, 126] Generated Node #2: [7, 10, 126] from Operation: 80+46=126 Current State: 42:[7, 10, 126], Operations: ['80+46=126'] Exploring Operation: 10-7=3, Resulting Numbers: [126, 3] Generated Node #3: [126, 3] from Operation: 10-7=3 Current State: 42:[126, 3], Operations: ['80+46=126', '10-7=3'] Exploring Operation: 126/3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[80, 7, 46, 10], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [7, 46, 8] Generated Node #0,0: 42:[7, 46, 8] Operation: 80/10=8 Exploring Operation: 80-46=34, Resulting Numbers: [7, 10, 34] Generated Node #0,1: 42:[7, 10, 34] Operation: 80-46=34 Moving to Node #0,0 Current State: 42:[7, 46, 8], Operations: ['80/10=8'] Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 42:[8, 39] Operation: 46-7=39 Exploring Operation: 46-8=38, Resulting Numbers: [7, 38] Generated Node #0,0,1: 42:[7, 38] Operation: 46-8=38 Moving to Node #0,1 Current State: 42:[7, 10, 34], Operations: ['80-46=34'] Exploring Operation: 34-10=24, Resulting Numbers: [7, 24] Generated Node #0,1,0: 42:[7, 24] Operation: 34-10=24 Exploring Operation: 10+34=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 42:[7, 44] Operation: 10+34=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[7, 44], Operations: ['80-46=34', '10+34=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[7, 24], Operations: ['80-46=34', '34-10=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 42:[8, 39], Operations: ['80/10=8', '46-7=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[7, 38], Operations: ['80/10=8', '46-8=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 13, 48, 6 ]
45
[ "75+48=123", "13*6=78", "123-78=45" ]
Current State: 45:[75, 13, 48, 6], Operations: [] Exploring Operation: 75+48=123, Resulting Numbers: [13, 6, 123] Generated Node #2: [13, 6, 123] from Operation: 75+48=123 Current State: 45:[13, 6, 123], Operations: ['75+48=123'] Exploring Operation: 13*6=78, Resulting Numbers: [123, 78] Generated Node #3: [123, 78] from Operation: 13*6=78 Current State: 45:[123, 78], Operations: ['75+48=123', '13*6=78'] Exploring Operation: 123-78=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[75, 13, 48, 6], Operations: [] Exploring Operation: 75-13=62, Resulting Numbers: [48, 6, 62] Generated Node #0,0: 45:[48, 6, 62] Operation: 75-13=62 Exploring Operation: 75-48=27, Resulting Numbers: [13, 6, 27] Generated Node #0,1: 45:[13, 6, 27] Operation: 75-48=27 Exploring Operation: 75-6=69, Resulting Numbers: [13, 48, 69] Generated Node #0,2: 45:[13, 48, 69] Operation: 75-6=69 Moving to Node #0,1 Current State: 45:[13, 6, 27], Operations: ['75-48=27'] Exploring Operation: 13+27=40, Resulting Numbers: [6, 40] Generated Node #0,1,0: 45:[6, 40] Operation: 13+27=40 Exploring Operation: 27-13=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 45:[6, 14] Operation: 27-13=14 Exploring Operation: 27-6=21, Resulting Numbers: [13, 21] Generated Node #0,1,2: 45:[13, 21] Operation: 27-6=21 Moving to Node #0,0 Current State: 45:[48, 6, 62], Operations: ['75-13=62'] Exploring Operation: 62-6=56, Resulting Numbers: [48, 56] Generated Node #0,0,0: 45:[48, 56] Operation: 62-6=56 Exploring Operation: 62-48=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 45:[6, 14] Operation: 62-48=14 Exploring Operation: 48/6=8, Resulting Numbers: [62, 8] Generated Node #0,0,2: 45:[62, 8] Operation: 48/6=8 Moving to Node #0,2 Current State: 45:[13, 48, 69], Operations: ['75-6=69'] Exploring Operation: 48-13=35, Resulting Numbers: [69, 35] Generated Node #0,2,0: 45:[69, 35] Operation: 48-13=35 Exploring Operation: 69-13=56, Resulting Numbers: [48, 56] Generated Node #0,2,1: 45:[48, 56] Operation: 69-13=56 Exploring Operation: 69-48=21, Resulting Numbers: [13, 21] Generated Node #0,2,2: 45:[13, 21] Operation: 69-48=21 Moving to Node #0,1,1 Current State: 45:[6, 14], Operations: ['75-48=27', '27-13=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[6, 14], Operations: ['75-13=62', '62-48=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,45 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[6, 40], Operations: ['75-48=27', '13+27=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,45 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[13, 21], Operations: ['75-48=27', '27-6=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[13, 21], Operations: ['75-6=69', '69-48=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,45 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[48, 56], Operations: ['75-13=62', '62-6=56'] Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,45 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[48, 56], Operations: ['75-6=69', '69-13=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[62, 8], Operations: ['75-13=62', '48/6=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[69, 35], Operations: ['75-6=69', '48-13=35'] Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,45 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 59, 57, 63, 87 ]
34
[ "59+57=116", "63+87=150", "150-116=34" ]
Current State: 34:[59, 57, 63, 87], Operations: [] Exploring Operation: 59+57=116, Resulting Numbers: [63, 87, 116] Generated Node #2: [63, 87, 116] from Operation: 59+57=116 Current State: 34:[63, 87, 116], Operations: ['59+57=116'] Exploring Operation: 63+87=150, Resulting Numbers: [116, 150] Generated Node #3: [116, 150] from Operation: 63+87=150 Current State: 34:[116, 150], Operations: ['59+57=116', '63+87=150'] Exploring Operation: 150-116=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[59, 57, 63, 87], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [57, 63, 28] Generated Node #0,0: 34:[57, 63, 28] Operation: 87-59=28 Exploring Operation: 87-63=24, Resulting Numbers: [59, 57, 24] Generated Node #0,1: 34:[59, 57, 24] Operation: 87-63=24 Exploring Operation: 87-57=30, Resulting Numbers: [59, 63, 30] Generated Node #0,2: 34:[59, 63, 30] Operation: 87-57=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[59, 57, 24], Operations: ['87-63=24'] Exploring Operation: 57-24=33, Resulting Numbers: [59, 33] Generated Node #0,1,0: 34:[59, 33] Operation: 57-24=33 Exploring Operation: 59-24=35, Resulting Numbers: [57, 35] Generated Node #0,1,1: 34:[57, 35] Operation: 59-24=35 Exploring Operation: 59-57=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 34:[24, 2] Operation: 59-57=2 Moving to Node #0,1,2 Current State: 34:[24, 2], Operations: ['87-63=24', '59-57=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[57, 35], Operations: ['87-63=24', '59-24=35'] Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,34 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[59, 33], Operations: ['87-63=24', '57-24=33'] Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[57, 63, 28], Operations: ['87-59=28'] Exploring Operation: 57-28=29, Resulting Numbers: [63, 29] Generated Node #0,0,0: 34:[63, 29] Operation: 57-28=29 Exploring Operation: 63-28=35, Resulting Numbers: [57, 35] Generated Node #0,0,1: 34:[57, 35] Operation: 63-28=35 Exploring Operation: 63-57=6, Resulting Numbers: [28, 6] Generated Node #0,0,2: 34:[28, 6] Operation: 63-57=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[28, 6], Operations: ['87-59=28', '63-57=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[59, 57, 63, 87], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [57, 63, 28] Generated Node #0,0: 34:[57, 63, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 34:[57, 63, 28], Operations: ['87-59=28'] Exploring Operation: 63-57=6, Resulting Numbers: [28, 6] Generated Node #0,0,2: 34:[28, 6] Operation: 63-57=6 Moving to Node #0,0,2 Current State: 34:[28, 6], Operations: ['87-59=28', '63-57=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 36, 69, 25, 2 ]
60
[ "69-36=33", "25+2=27", "33+27=60" ]
Current State: 60:[36, 69, 25, 2], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [25, 2, 33] Generated Node #2: [25, 2, 33] from Operation: 69-36=33 Current State: 60:[25, 2, 33], Operations: ['69-36=33'] Exploring Operation: 25+2=27, Resulting Numbers: [33, 27] Generated Node #3: [33, 27] from Operation: 25+2=27 Current State: 60:[33, 27], Operations: ['69-36=33', '25+2=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[36, 69, 25, 2], Operations: [] Exploring Operation: 36+25=61, Resulting Numbers: [69, 2, 61] Generated Node #0,0: 60:[69, 2, 61] Operation: 36+25=61 Exploring Operation: 36-2=34, Resulting Numbers: [69, 25, 34] Generated Node #0,1: 60:[69, 25, 34] Operation: 36-2=34 Exploring Operation: 36-25=11, Resulting Numbers: [69, 2, 11] Generated Node #0,2: 60:[69, 2, 11] Operation: 36-25=11 Exploring Operation: 69-36=33, Resulting Numbers: [25, 2, 33] Generated Node #0,3: 60:[25, 2, 33] Operation: 69-36=33 Exploring Operation: 36/2=18, Resulting Numbers: [69, 25, 18] Generated Node #0,4: 60:[69, 25, 18] Operation: 36/2=18 Moving to Node #0,3 Current State: 60:[25, 2, 33], Operations: ['69-36=33'] Exploring Operation: 25+2=27, Resulting Numbers: [33, 27] Generated Node #0,3,0: 60:[33, 27] Operation: 25+2=27 Exploring Operation: 33-25=8, Resulting Numbers: [2, 8] Generated Node #0,3,1: 60:[2, 8] Operation: 33-25=8 Exploring Operation: 25-2=23, Resulting Numbers: [33, 23] Generated Node #0,3,2: 60:[33, 23] Operation: 25-2=23 Exploring Operation: 33-2=31, Resulting Numbers: [25, 31] Generated Node #0,3,3: 60:[25, 31] Operation: 33-2=31 Exploring Operation: 25+33=58, Resulting Numbers: [2, 58] Generated Node #0,3,4: 60:[2, 58] Operation: 25+33=58 Moving to Node #0,2 Current State: 60:[69, 2, 11], Operations: ['36-25=11'] Exploring Operation: 2+11=13, Resulting Numbers: [69, 13] Generated Node #0,2,0: 60:[69, 13] Operation: 2+11=13 Exploring Operation: 2*11=22, Resulting Numbers: [69, 22] Generated Node #0,2,1: 60:[69, 22] Operation: 2*11=22 Exploring Operation: 69-11=58, Resulting Numbers: [2, 58] Generated Node #0,2,2: 60:[2, 58] Operation: 69-11=58 Exploring Operation: 11-2=9, Resulting Numbers: [69, 9] Generated Node #0,2,3: 60:[69, 9] Operation: 11-2=9 Exploring Operation: 69-2=67, Resulting Numbers: [11, 67] Generated Node #0,2,4: 60:[11, 67] Operation: 69-2=67 Moving to Node #0,0 Current State: 60:[69, 2, 61], Operations: ['36+25=61'] Exploring Operation: 2+61=63, Resulting Numbers: [69, 63] Generated Node #0,0,0: 60:[69, 63] Operation: 2+61=63 Exploring Operation: 69-61=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 60:[2, 8] Operation: 69-61=8 Exploring Operation: 61-2=59, Resulting Numbers: [69, 59] Generated Node #0,0,2: 60:[69, 59] Operation: 61-2=59 Exploring Operation: 69-2=67, Resulting Numbers: [61, 67] Generated Node #0,0,3: 60:[61, 67] Operation: 69-2=67 Exploring Operation: 69+2=71, Resulting Numbers: [61, 71] Generated Node #0,0,4: 60:[61, 71] Operation: 69+2=71 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[2, 8], Operations: ['36+25=61', '69-61=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[61, 67], Operations: ['36+25=61', '69-2=67'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,60 unequal: No Solution Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[69, 59], Operations: ['36+25=61', '61-2=59'] Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,60 unequal: No Solution Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,60 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[69, 63], Operations: ['36+25=61', '2+61=63'] Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,60 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 60:[61, 71], Operations: ['36+25=61', '69+2=71'] Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,60 unequal: No Solution Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,60 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,60 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: 60:[69, 25, 18], Operations: ['36/2=18'] Exploring Operation: 25-18=7, Resulting Numbers: [69, 7] Generated Node #0,4,0: 60:[69, 7] Operation: 25-18=7 Exploring Operation: 69-25=44, Resulting Numbers: [18, 44] Generated Node #0,4,1: 60:[18, 44] Operation: 69-25=44 Exploring Operation: 25+18=43, Resulting Numbers: [69, 43] Generated Node #0,4,2: 60:[69, 43] Operation: 25+18=43 Exploring Operation: 69+18=87, Resulting Numbers: [25, 87] Generated Node #0,4,3: 60:[25, 87] Operation: 69+18=87 Exploring Operation: 69-18=51, Resulting Numbers: [25, 51] Generated Node #0,4,4: 60:[25, 51] Operation: 69-18=51 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[69, 7], Operations: ['36/2=18', '25-18=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,60 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[25, 51], Operations: ['36/2=18', '69-18=51'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,60 unequal: No Solution Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[18, 44], Operations: ['36/2=18', '69-25=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,60 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[69, 43], Operations: ['36/2=18', '25+18=43'] Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,60 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,60 unequal: No Solution Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[25, 87], Operations: ['36/2=18', '69+18=87'] Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,60 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 60:[69, 25, 34], Operations: ['36-2=34'] Exploring Operation: 69+25=94, Resulting Numbers: [34, 94] Generated Node #0,1,0: 60:[34, 94] Operation: 69+25=94 Exploring Operation: 69-25=44, Resulting Numbers: [34, 44] Generated Node #0,1,1: 60:[34, 44] Operation: 69-25=44 Exploring Operation: 69-34=35, Resulting Numbers: [25, 35] Generated Node #0,1,2: 60:[25, 35] Operation: 69-34=35 Exploring Operation: 34-25=9, Resulting Numbers: [69, 9] Generated Node #0,1,3: 60:[69, 9] Operation: 34-25=9 Exploring Operation: 25+34=59, Resulting Numbers: [69, 59] Generated Node #0,1,4: 60:[69, 59] Operation: 25+34=59 Moving to Node #0,3,1 Current State: 60:[2, 8], Operations: ['69-36=33', '33-25=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[2, 58], Operations: ['36-25=11', '69-11=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[36, 69, 25, 2], Operations: [] Exploring Operation: 36-25=11, Resulting Numbers: [69, 2, 11] Generated Node #0,2: 60:[69, 2, 11] Operation: 36-25=11 Moving to Node #0,2 Current State: 60:[69, 2, 11], Operations: ['36-25=11'] Exploring Operation: 69-11=58, Resulting Numbers: [2, 58] Generated Node #0,2,2: 60:[2, 58] Operation: 69-11=58 Moving to Node #0,2,2 Current State: 60:[2, 58], Operations: ['36-25=11', '69-11=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.936632
hs_5
mult_heuristic
[ 24, 54, 69, 27 ]
91
[ "24+69=93", "54/27=2", "93-2=91" ]
Current State: 91:[24, 54, 69, 27], Operations: [] Exploring Operation: 24+69=93, Resulting Numbers: [54, 27, 93] Generated Node #2: [54, 27, 93] from Operation: 24+69=93 Current State: 91:[54, 27, 93], Operations: ['24+69=93'] Exploring Operation: 54/27=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 54/27=2 Current State: 91:[93, 2], Operations: ['24+69=93', '54/27=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[24, 54, 69, 27], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [24, 27, 15] Generated Node #0,0: 91:[24, 27, 15] Operation: 69-54=15 Moving to Node #0,0 Current State: 91:[24, 27, 15], Operations: ['69-54=15'] Exploring Operation: 27-24=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 91:[15, 3] Operation: 27-24=3 Moving to Node #0,0,0 Current State: 91:[15, 3], Operations: ['69-54=15', '27-24=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 63, 79, 88, 35 ]
69
[ "79-63=16", "88-35=53", "16+53=69" ]
Current State: 69:[63, 79, 88, 35], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [88, 35, 16] Generated Node #2: [88, 35, 16] from Operation: 79-63=16 Current State: 69:[88, 35, 16], Operations: ['79-63=16'] Exploring Operation: 88-35=53, Resulting Numbers: [16, 53] Generated Node #3: [16, 53] from Operation: 88-35=53 Current State: 69:[16, 53], Operations: ['79-63=16', '88-35=53'] Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[63, 79, 88, 35], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [79, 35, 25] Generated Node #0,0: 69:[79, 35, 25] Operation: 88-63=25 Moving to Node #0,0 Current State: 69:[79, 35, 25], Operations: ['88-63=25'] Exploring Operation: 35-25=10, Resulting Numbers: [79, 10] Generated Node #0,0,0: 69:[79, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 69:[79, 10], Operations: ['88-63=25', '35-25=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[63, 79, 88, 35], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [79, 35, 25] Generated Node #0,0: 69:[79, 35, 25] Operation: 88-63=25 Moving to Node #0,0 Current State: 69:[79, 35, 25], Operations: ['88-63=25'] Exploring Operation: 35-25=10, Resulting Numbers: [79, 10] Generated Node #0,0,0: 69:[79, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 69:[79, 10], Operations: ['88-63=25', '35-25=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 68, 10, 4, 89 ]
81
[ "68*10=680", "680/4=170", "170-89=81" ]
Current State: 81:[68, 10, 4, 89], Operations: [] Exploring Operation: 68*10=680, Resulting Numbers: [4, 89, 680] Generated Node #2: [4, 89, 680] from Operation: 68*10=680 Current State: 81:[4, 89, 680], Operations: ['68*10=680'] Exploring Operation: 680/4=170, Resulting Numbers: [89, 170] Generated Node #3: [89, 170] from Operation: 680/4=170 Current State: 81:[89, 170], Operations: ['68*10=680', '680/4=170'] Exploring Operation: 170-89=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[68, 10, 4, 89], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [10, 4, 21] Generated Node #0,0: 81:[10, 4, 21] Operation: 89-68=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[10, 4, 21], Operations: ['89-68=21'] Exploring Operation: 21-10=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 81:[4, 11] Operation: 21-10=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[4, 11], Operations: ['89-68=21', '21-10=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 32, 16, 58 ]
43
[ "32/16=2", "58/2=29", "14+29=43" ]
Current State: 43:[14, 32, 16, 58], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [14, 58, 2] Generated Node #2: [14, 58, 2] from Operation: 32/16=2 Current State: 43:[14, 58, 2], Operations: ['32/16=2'] Exploring Operation: 58/2=29, Resulting Numbers: [14, 29] Generated Node #3: [14, 29] from Operation: 58/2=29 Current State: 43:[14, 29], Operations: ['32/16=2', '58/2=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[14, 32, 16, 58], Operations: [] Exploring Operation: 32+16=48, Resulting Numbers: [14, 58, 48] Generated Node #0,0: 43:[14, 58, 48] Operation: 32+16=48 Exploring Operation: 58-14=44, Resulting Numbers: [32, 16, 44] Generated Node #0,1: 43:[32, 16, 44] Operation: 58-14=44 Exploring Operation: 58-16=42, Resulting Numbers: [14, 32, 42] Generated Node #0,2: 43:[14, 32, 42] Operation: 58-16=42 Exploring Operation: 14+16=30, Resulting Numbers: [32, 58, 30] Generated Node #0,3: 43:[32, 58, 30] Operation: 14+16=30 Exploring Operation: 14+32=46, Resulting Numbers: [16, 58, 46] Generated Node #0,4: 43:[16, 58, 46] Operation: 14+32=46 Moving to Node #0,1 Current State: 43:[32, 16, 44], Operations: ['58-14=44'] Exploring Operation: 44-16=28, Resulting Numbers: [32, 28] Generated Node #0,1,0: 43:[32, 28] Operation: 44-16=28 Exploring Operation: 32+16=48, Resulting Numbers: [44, 48] Generated Node #0,1,1: 43:[44, 48] Operation: 32+16=48 Exploring Operation: 16+44=60, Resulting Numbers: [32, 60] Generated Node #0,1,2: 43:[32, 60] Operation: 16+44=60 Exploring Operation: 32-16=16, Resulting Numbers: [44, 16] Generated Node #0,1,3: 43:[44, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [44, 2] Generated Node #0,1,4: 43:[44, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[44, 48], Operations: ['58-14=44', '32+16=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,43 unequal: No Solution Exploring Operation: 48-44=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,0 Current State: 43:[32, 28], Operations: ['58-14=44', '44-16=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,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,2 Current State: 43:[32, 60], Operations: ['58-14=44', '16+44=60'] Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,43 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,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,3 Current State: 43:[44, 16], Operations: ['58-14=44', '32-16=16'] Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,43 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 43:[44, 2], Operations: ['58-14=44', '32/16=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,43 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: 43:[32, 58, 30], Operations: ['14+16=30'] Exploring Operation: 58-30=28, Resulting Numbers: [32, 28] Generated Node #0,3,0: 43:[32, 28] Operation: 58-30=28 Exploring Operation: 58-32=26, Resulting Numbers: [30, 26] Generated Node #0,3,1: 43:[30, 26] Operation: 58-32=26 Exploring Operation: 32-30=2, Resulting Numbers: [58, 2] Generated Node #0,3,2: 43:[58, 2] Operation: 32-30=2 Exploring Operation: 58+30=88, Resulting Numbers: [32, 88] Generated Node #0,3,3: 43:[32, 88] Operation: 58+30=88 Exploring Operation: 32+30=62, Resulting Numbers: [58, 62] Generated Node #0,3,4: 43:[58, 62] Operation: 32+30=62 Moving to Node #0,2 Current State: 43:[14, 32, 42], Operations: ['58-16=42'] Exploring Operation: 32-14=18, Resulting Numbers: [42, 18] Generated Node #0,2,0: 43:[42, 18] Operation: 32-14=18 Exploring Operation: 14+32=46, Resulting Numbers: [42, 46] Generated Node #0,2,1: 43:[42, 46] Operation: 14+32=46 Exploring Operation: 14+42=56, Resulting Numbers: [32, 56] Generated Node #0,2,2: 43:[32, 56] Operation: 14+42=56 Exploring Operation: 42-14=28, Resulting Numbers: [32, 28] Generated Node #0,2,3: 43:[32, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [32, 3] Generated Node #0,2,4: 43:[32, 3] Operation: 42/14=3 Moving to Node #0,4 Current State: 43:[16, 58, 46], Operations: ['14+32=46'] Exploring Operation: 46-16=30, Resulting Numbers: [58, 30] Generated Node #0,4,0: 43:[58, 30] Operation: 46-16=30 Exploring Operation: 58-46=12, Resulting Numbers: [16, 12] Generated Node #0,4,1: 43:[16, 12] Operation: 58-46=12 Exploring Operation: 16+58=74, Resulting Numbers: [46, 74] Generated Node #0,4,2: 43:[46, 74] Operation: 16+58=74 Exploring Operation: 58-16=42, Resulting Numbers: [46, 42] Generated Node #0,4,3: 43:[46, 42] Operation: 58-16=42 Exploring Operation: 16+46=62, Resulting Numbers: [58, 62] Generated Node #0,4,4: 43:[58, 62] Operation: 16+46=62 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 43:[46, 42], Operations: ['14+32=46', '58-16=42'] Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,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,4,0 Current State: 43:[58, 30], Operations: ['14+32=46', '46-16=30'] Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,43 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,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,4,2 Current State: 43:[46, 74], Operations: ['14+32=46', '16+58=74'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,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,4,4 Current State: 43:[58, 62], Operations: ['14+32=46', '16+46=62'] Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,43 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,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,4,1 Current State: 43:[16, 12], Operations: ['14+32=46', '58-46=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 43:[14, 58, 48], Operations: ['32+16=48'] Exploring Operation: 58-48=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 43:[14, 10] Operation: 58-48=10 Exploring Operation: 14+48=62, Resulting Numbers: [58, 62] Generated Node #0,0,1: 43:[58, 62] Operation: 14+48=62 Exploring Operation: 48-14=34, Resulting Numbers: [58, 34] Generated Node #0,0,2: 43:[58, 34] Operation: 48-14=34 Exploring Operation: 14+58=72, Resulting Numbers: [48, 72] Generated Node #0,0,3: 43:[48, 72] Operation: 14+58=72 Exploring Operation: 58-14=44, Resulting Numbers: [48, 44] Generated Node #0,0,4: 43:[48, 44] Operation: 58-14=44 Moving to Node #0,2,1 Current State: 43:[42, 46], Operations: ['58-16=42', '14+32=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,43 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[48, 44], Operations: ['32+16=48', '58-14=44'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,43 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[32, 56], Operations: ['58-16=42', '14+42=56'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[58, 34], Operations: ['32+16=48', '48-14=34'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 58*34=1972, Resulting Numbers: [1972] 1972,43 unequal: No Solution Exploring Operation: 58+34=92, Resulting Numbers: [92] 92,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[32, 28], Operations: ['14+16=30', '58-30=28'] Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,43 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[42, 18], Operations: ['58-16=42', '32-14=18'] Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,43 unequal: No Solution Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[32, 28], Operations: ['58-16=42', '42-14=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[30, 26], Operations: ['14+16=30', '58-32=26'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,43 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[48, 72], Operations: ['32+16=48', '14+58=72'] Exploring Operation: 48*72=3456, Resulting Numbers: [3456] 3456,43 unequal: No Solution Exploring Operation: 48+72=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,43 unequal: No Solution Moving to Node #0,3,4 Current State: 43:[58, 62], Operations: ['14+16=30', '32+30=62'] Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[58, 62], Operations: ['32+16=48', '14+48=62'] Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,43 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[32, 3], Operations: ['58-16=42', '42/14=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,43 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[32, 88], Operations: ['14+16=30', '58+30=88'] Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,43 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,43 unequal: No Solution Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[58, 2], Operations: ['14+16=30', '32-30=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,43 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[14, 10], Operations: ['32+16=48', '58-48=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 21, 18, 34 ]
53
[ "6*18=108", "21+34=55", "108-55=53" ]
Current State: 53:[6, 21, 18, 34], Operations: [] Exploring Operation: 6*18=108, Resulting Numbers: [21, 34, 108] Generated Node #2: [21, 34, 108] from Operation: 6*18=108 Current State: 53:[21, 34, 108], Operations: ['6*18=108'] Exploring Operation: 21+34=55, Resulting Numbers: [108, 55] Generated Node #3: [108, 55] from Operation: 21+34=55 Current State: 53:[108, 55], Operations: ['6*18=108', '21+34=55'] Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[6, 21, 18, 34], Operations: [] Exploring Operation: 21+18=39, Resulting Numbers: [6, 34, 39] Generated Node #0,0: 53:[6, 34, 39] Operation: 21+18=39 Exploring Operation: 6+21=27, Resulting Numbers: [18, 34, 27] Generated Node #0,1: 53:[18, 34, 27] Operation: 6+21=27 Exploring Operation: 18+34=52, Resulting Numbers: [6, 21, 52] Generated Node #0,2: 53:[6, 21, 52] Operation: 18+34=52 Exploring Operation: 6+34=40, Resulting Numbers: [21, 18, 40] Generated Node #0,3: 53:[21, 18, 40] Operation: 6+34=40 Exploring Operation: 6+18=24, Resulting Numbers: [21, 34, 24] Generated Node #0,4: 53:[21, 34, 24] Operation: 6+18=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[6, 34, 39], Operations: ['21+18=39'] Exploring Operation: 6+34=40, Resulting Numbers: [39, 40] Generated Node #0,0,0: 53:[39, 40] Operation: 6+34=40 Exploring Operation: 34+39=73, Resulting Numbers: [6, 73] Generated Node #0,0,1: 53:[6, 73] Operation: 34+39=73 Exploring Operation: 34-6=28, Resulting Numbers: [39, 28] Generated Node #0,0,2: 53:[39, 28] Operation: 34-6=28 Exploring Operation: 39-6=33, Resulting Numbers: [34, 33] Generated Node #0,0,3: 53:[34, 33] Operation: 39-6=33 Exploring Operation: 6+39=45, Resulting Numbers: [34, 45] Generated Node #0,0,4: 53:[34, 45] Operation: 6+39=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[39, 40], Operations: ['21+18=39', '6+34=40'] Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,53 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 53:[34, 45], Operations: ['21+18=39', '6+39=45'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[39, 28], Operations: ['21+18=39', '34-6=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,53 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[34, 33], Operations: ['21+18=39', '39-6=33'] Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,53 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[6, 73], Operations: ['21+18=39', '34+39=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,53 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[18, 34, 27], Operations: ['6+21=27'] Exploring Operation: 18+34=52, Resulting Numbers: [27, 52] Generated Node #0,1,0: 53:[27, 52] Operation: 18+34=52 Exploring Operation: 34+27=61, Resulting Numbers: [18, 61] Generated Node #0,1,1: 53:[18, 61] Operation: 34+27=61 Exploring Operation: 34-18=16, Resulting Numbers: [27, 16] Generated Node #0,1,2: 53:[27, 16] Operation: 34-18=16 Exploring Operation: 18+27=45, Resulting Numbers: [34, 45] Generated Node #0,1,3: 53:[34, 45] Operation: 18+27=45 Exploring Operation: 27-18=9, Resulting Numbers: [34, 9] Generated Node #0,1,4: 53:[34, 9] Operation: 27-18=9 Moving to Node #0,1,0 Current State: 53:[27, 52], Operations: ['6+21=27', '18+34=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[34, 45], Operations: ['6+21=27', '18+27=45'] Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[18, 61], Operations: ['6+21=27', '34+27=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,53 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[27, 16], Operations: ['6+21=27', '34-18=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,53 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[34, 9], Operations: ['6+21=27', '27-18=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,53 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,53 unequal: No Solution No 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: 53:[6, 21, 52], Operations: ['18+34=52'] Exploring Operation: 6+52=58, Resulting Numbers: [21, 58] Generated Node #0,2,0: 53:[21, 58] Operation: 6+52=58 Exploring Operation: 21+52=73, Resulting Numbers: [6, 73] Generated Node #0,2,1: 53:[6, 73] Operation: 21+52=73 Exploring Operation: 21-6=15, Resulting Numbers: [52, 15] Generated Node #0,2,2: 53:[52, 15] Operation: 21-6=15 Exploring Operation: 6+21=27, Resulting Numbers: [52, 27] Generated Node #0,2,3: 53:[52, 27] Operation: 6+21=27 Exploring Operation: 52-6=46, Resulting Numbers: [21, 46] Generated Node #0,2,4: 53:[21, 46] Operation: 52-6=46 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[52, 27], Operations: ['18+34=52', '6+21=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,53 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[21, 58], Operations: ['18+34=52', '6+52=58'] Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[52, 15], Operations: ['18+34=52', '21-6=15'] Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,53 unequal: No Solution Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 53:[21, 46], Operations: ['18+34=52', '52-6=46'] Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,53 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[6, 73], Operations: ['18+34=52', '21+52=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[21, 18, 40], Operations: ['6+34=40'] Exploring Operation: 21-18=3, Resulting Numbers: [40, 3] Generated Node #0,3,0: 53:[40, 3] Operation: 21-18=3 Exploring Operation: 40-18=22, Resulting Numbers: [21, 22] Generated Node #0,3,1: 53:[21, 22] Operation: 40-18=22 Exploring Operation: 21+40=61, Resulting Numbers: [18, 61] Generated Node #0,3,2: 53:[18, 61] Operation: 21+40=61 Exploring Operation: 18+40=58, Resulting Numbers: [21, 58] Generated Node #0,3,3: 53:[21, 58] Operation: 18+40=58 Exploring Operation: 21+18=39, Resulting Numbers: [40, 39] Generated Node #0,3,4: 53:[40, 39] Operation: 21+18=39 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 53:[40, 39], Operations: ['6+34=40', '21+18=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[21, 58], Operations: ['6+34=40', '18+40=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,53 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[18, 61], Operations: ['6+34=40', '21+40=61'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,53 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[40, 3], Operations: ['6+34=40', '21-18=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[21, 22], Operations: ['6+34=40', '40-18=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,53 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[21, 34, 24], Operations: ['6+18=24'] Exploring Operation: 34+24=58, Resulting Numbers: [21, 58] Generated Node #0,4,0: 53:[21, 58] Operation: 34+24=58 Exploring Operation: 34-21=13, Resulting Numbers: [24, 13] Generated Node #0,4,1: 53:[24, 13] Operation: 34-21=13 Exploring Operation: 21+24=45, Resulting Numbers: [34, 45] Generated Node #0,4,2: 53:[34, 45] Operation: 21+24=45 Exploring Operation: 21+34=55, Resulting Numbers: [24, 55] Generated Node #0,4,3: 53:[24, 55] Operation: 21+34=55 Exploring Operation: 24-21=3, Resulting Numbers: [34, 3] Generated Node #0,4,4: 53:[34, 3] Operation: 24-21=3 Moving to Node #0,4,2 Current State: 53:[34, 45], Operations: ['6+18=24', '21+24=45'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[24, 55], Operations: ['6+18=24', '21+34=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,53 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[21, 58], Operations: ['6+18=24', '34+24=58'] Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,53 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[24, 13], Operations: ['6+18=24', '34-21=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,53 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[34, 3], Operations: ['6+18=24', '24-21=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,53 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
[ 76, 38, 26, 68 ]
80
[ "76-38=38", "68-26=42", "38+42=80" ]
Current State: 80:[76, 38, 26, 68], Operations: [] Exploring Operation: 76-38=38, Resulting Numbers: [26, 68, 38] Generated Node #2: [26, 68, 38] from Operation: 76-38=38 Current State: 80:[26, 68, 38], Operations: ['76-38=38'] Exploring Operation: 68-26=42, Resulting Numbers: [38, 42] Generated Node #3: [38, 42] from Operation: 68-26=42 Current State: 80:[38, 42], Operations: ['76-38=38', '68-26=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[76, 38, 26, 68], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [38, 26, 8] Generated Node #0,0: 80:[38, 26, 8] Operation: 76-68=8 Exploring Operation: 76/38=2, Resulting Numbers: [26, 68, 2] Generated Node #0,1: 80:[26, 68, 2] Operation: 76/38=2 Exploring Operation: 68-26=42, Resulting Numbers: [76, 38, 42] Generated Node #0,2: 80:[76, 38, 42] Operation: 68-26=42 Moving to Node #0,0 Current State: 80:[38, 26, 8], Operations: ['76-68=8'] Exploring Operation: 26+8=34, Resulting Numbers: [38, 34] Generated Node #0,0,0: 80:[38, 34] Operation: 26+8=34 Exploring Operation: 26-8=18, Resulting Numbers: [38, 18] Generated Node #0,0,1: 80:[38, 18] Operation: 26-8=18 Exploring Operation: 38-26=12, Resulting Numbers: [8, 12] Generated Node #0,0,2: 80:[8, 12] Operation: 38-26=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[8, 12], Operations: ['76-68=8', '38-26=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[38, 18], Operations: ['76-68=8', '26-8=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,80 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[38, 34], Operations: ['76-68=8', '26+8=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,80 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[76, 38, 42], Operations: ['68-26=42'] Exploring Operation: 38+42=80, Resulting Numbers: [76, 80] Generated Node #0,2,0: 80:[76, 80] Operation: 38+42=80 Exploring Operation: 76/38=2, Resulting Numbers: [42, 2] Generated Node #0,2,1: 80:[42, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [42, 38] Generated Node #0,2,2: 80:[42, 38] Operation: 76-38=38 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[42, 2], Operations: ['68-26=42', '76/38=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[76, 80], Operations: ['68-26=42', '38+42=80'] Exploring Operation: 76+80=156, Resulting Numbers: [156] 156,80 unequal: No Solution Exploring Operation: 76*80=6080, Resulting Numbers: [6080] 6080,80 unequal: No Solution Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[42, 38], Operations: ['68-26=42', '76-38=38'] Exploring Operation: 42*38=1596, Resulting Numbers: [1596] 1596,80 unequal: No Solution Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[76, 38, 26, 68], Operations: [] Exploring Operation: 68-26=42, Resulting Numbers: [76, 38, 42] Generated Node #0,2: 80:[76, 38, 42] Operation: 68-26=42 Moving to Node #0,2 Current State: 80:[76, 38, 42], Operations: ['68-26=42'] Exploring Operation: 76-38=38, Resulting Numbers: [42, 38] Generated Node #0,2,2: 80:[42, 38] Operation: 76-38=38 Moving to Node #0,2,2 Current State: 80:[42, 38], Operations: ['68-26=42', '76-38=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 3, 24, 50, 7 ]
53
[ "24-3=21", "21/7=3", "50+3=53" ]
Current State: 53:[3, 24, 50, 7], Operations: [] Exploring Operation: 24-3=21, Resulting Numbers: [50, 7, 21] Generated Node #2: [50, 7, 21] from Operation: 24-3=21 Current State: 53:[50, 7, 21], Operations: ['24-3=21'] Exploring Operation: 21/7=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 21/7=3 Current State: 53:[50, 3], Operations: ['24-3=21', '21/7=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[3, 24, 50, 7], Operations: [] Exploring Operation: 3*24=72, Resulting Numbers: [50, 7, 72] Generated Node #0,0: 53:[50, 7, 72] Operation: 3*24=72 Exploring Operation: 3*7=21, Resulting Numbers: [24, 50, 21] Generated Node #0,1: 53:[24, 50, 21] Operation: 3*7=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[24, 50, 21], Operations: ['3*7=21'] Exploring Operation: 50+21=71, Resulting Numbers: [24, 71] Generated Node #0,1,0: 53:[24, 71] Operation: 50+21=71 Exploring Operation: 24+21=45, Resulting Numbers: [50, 45] Generated Node #0,1,1: 53:[50, 45] Operation: 24+21=45 Moving to Node #0,1,1 Current State: 53:[50, 45], Operations: ['3*7=21', '24+21=45'] Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[24, 71], Operations: ['3*7=21', '50+21=71'] Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,53 unequal: No Solution No 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: 53:[50, 7, 72], Operations: ['3*24=72'] Exploring Operation: 50+7=57, Resulting Numbers: [72, 57] Generated Node #0,0,0: 53:[72, 57] Operation: 50+7=57 Exploring Operation: 72-7=65, Resulting Numbers: [50, 65] Generated Node #0,0,1: 53:[50, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[50, 65], Operations: ['3*24=72', '72-7=65'] Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[72, 57], Operations: ['3*24=72', '50+7=57'] Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic