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
[ 15, 46, 25, 96 ]
60
[ "15+46=61", "25+96=121", "121-61=60" ]
Current State: 60:[15, 46, 25, 96], Operations: [] Exploring Operation: 15+46=61, Resulting Numbers: [25, 96, 61] Generated Node #2: [25, 96, 61] from Operation: 15+46=61 Current State: 60:[25, 96, 61], Operations: ['15+46=61'] Exploring Operation: 25+96=121, Resulting Numbers: [61, 121] Generated Node #3: [61, 121] from Operation: 25+96=121 Current State: 60:[61, 121], Operations: ['15+46=61', '25+96=121'] Exploring Operation: 121-61=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[15, 46, 25, 96], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [46, 25, 81] Generated Node #0,0: 60:[46, 25, 81] Operation: 96-15=81 Exploring Operation: 46-25=21, Resulting Numbers: [15, 96, 21] Generated Node #0,1: 60:[15, 96, 21] Operation: 46-25=21 Exploring Operation: 96-46=50, Resulting Numbers: [15, 25, 50] Generated Node #0,2: 60:[15, 25, 50] Operation: 96-46=50 Exploring Operation: 96-25=71, Resulting Numbers: [15, 46, 71] Generated Node #0,3: 60:[15, 46, 71] Operation: 96-25=71 Moving to Node #0,2 Current State: 60:[15, 25, 50], Operations: ['96-46=50'] Exploring Operation: 50/25=2, Resulting Numbers: [15, 2] Generated Node #0,2,0: 60:[15, 2] Operation: 50/25=2 Exploring Operation: 15+50=65, Resulting Numbers: [25, 65] Generated Node #0,2,1: 60:[25, 65] Operation: 15+50=65 Exploring Operation: 25-15=10, Resulting Numbers: [50, 10] Generated Node #0,2,2: 60:[50, 10] Operation: 25-15=10 Exploring Operation: 50-25=25, Resulting Numbers: [15, 25] Generated Node #0,2,3: 60:[15, 25] Operation: 50-25=25 Moving to Node #0,3 Current State: 60:[15, 46, 71], Operations: ['96-25=71'] Exploring Operation: 15+46=61, Resulting Numbers: [71, 61] Generated Node #0,3,0: 60:[71, 61] Operation: 15+46=61 Exploring Operation: 46-15=31, Resulting Numbers: [71, 31] Generated Node #0,3,1: 60:[71, 31] Operation: 46-15=31 Exploring Operation: 71-15=56, Resulting Numbers: [46, 56] Generated Node #0,3,2: 60:[46, 56] Operation: 71-15=56 Exploring Operation: 71-46=25, Resulting Numbers: [15, 25] Generated Node #0,3,3: 60:[15, 25] Operation: 71-46=25 Moving to Node #0,1 Current State: 60:[15, 96, 21], Operations: ['46-25=21'] Exploring Operation: 96-15=81, Resulting Numbers: [21, 81] Generated Node #0,1,0: 60:[21, 81] Operation: 96-15=81 Exploring Operation: 15+21=36, Resulting Numbers: [96, 36] Generated Node #0,1,1: 60:[96, 36] Operation: 15+21=36 Exploring Operation: 21-15=6, Resulting Numbers: [96, 6] Generated Node #0,1,2: 60:[96, 6] Operation: 21-15=6 Exploring Operation: 96-21=75, Resulting Numbers: [15, 75] Generated Node #0,1,3: 60:[15, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[15, 75], Operations: ['46-25=21', '96-21=75'] Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,60 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[15, 46, 25, 96], Operations: [] Exploring Operation: 46-25=21, Resulting Numbers: [15, 96, 21] Generated Node #0,1: 60:[15, 96, 21] Operation: 46-25=21 Moving to Node #0,1 Current State: 60:[15, 96, 21], Operations: ['46-25=21'] Exploring Operation: 96-21=75, Resulting Numbers: [15, 75] Generated Node #0,1,3: 60:[15, 75] Operation: 96-21=75 Moving to Node #0,1,3 Current State: 60:[15, 75], Operations: ['46-25=21', '96-21=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 86, 11, 66, 44 ]
36
[ "86-44=42", "66/11=6", "42-6=36" ]
Current State: 36:[86, 11, 66, 44], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [11, 66, 42] Generated Node #2: [11, 66, 42] from Operation: 86-44=42 Current State: 36:[11, 66, 42], Operations: ['86-44=42'] Exploring Operation: 66/11=6, Resulting Numbers: [42, 6] Generated Node #3: [42, 6] from Operation: 66/11=6 Current State: 36:[42, 6], Operations: ['86-44=42', '66/11=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[86, 11, 66, 44], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [11, 66, 42] Generated Node #0,0: 36:[11, 66, 42] Operation: 86-44=42 Exploring Operation: 86-66=20, Resulting Numbers: [11, 44, 20] Generated Node #0,1: 36:[11, 44, 20] Operation: 86-66=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[11, 44, 20], Operations: ['86-66=20'] Exploring Operation: 44-11=33, Resulting Numbers: [20, 33] Generated Node #0,1,0: 36:[20, 33] Operation: 44-11=33 Exploring Operation: 44/11=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 36:[20, 4] Operation: 44/11=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[20, 4], Operations: ['86-66=20', '44/11=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[20, 33], Operations: ['86-66=20', '44-11=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[11, 66, 42], Operations: ['86-44=42'] Exploring Operation: 66/11=6, Resulting Numbers: [42, 6] Generated Node #0,0,0: 36:[42, 6] Operation: 66/11=6 Exploring Operation: 66-42=24, Resulting Numbers: [11, 24] Generated Node #0,0,1: 36:[11, 24] Operation: 66-42=24 Moving to Node #0,0,0 Current State: 36:[42, 6], Operations: ['86-44=42', '66/11=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[86, 11, 66, 44], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [11, 66, 42] Generated Node #0,0: 36:[11, 66, 42] Operation: 86-44=42 Moving to Node #0,0 Current State: 36:[11, 66, 42], Operations: ['86-44=42'] Exploring Operation: 66/11=6, Resulting Numbers: [42, 6] Generated Node #0,0,0: 36:[42, 6] Operation: 66/11=6 Moving to Node #0,0,0 Current State: 36:[42, 6], Operations: ['86-44=42', '66/11=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 31, 6, 20, 14 ]
18
[ "31-20=11", "14-11=3", "6*3=18" ]
Current State: 18:[31, 6, 20, 14], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [6, 14, 11] Generated Node #2: [6, 14, 11] from Operation: 31-20=11 Current State: 18:[6, 14, 11], Operations: ['31-20=11'] Exploring Operation: 14-11=3, Resulting Numbers: [6, 3] Generated Node #3: [6, 3] from Operation: 14-11=3 Current State: 18:[6, 3], Operations: ['31-20=11', '14-11=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[31, 6, 20, 14], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [6, 20, 17] Generated Node #0,0: 18:[6, 20, 17] Operation: 31-14=17 Exploring Operation: 31-20=11, Resulting Numbers: [6, 14, 11] Generated Node #0,1: 18:[6, 14, 11] Operation: 31-20=11 Exploring Operation: 31-6=25, Resulting Numbers: [20, 14, 25] Generated Node #0,2: 18:[20, 14, 25] Operation: 31-6=25 Moving to Node #0,0 Current State: 18:[6, 20, 17], Operations: ['31-14=17'] Exploring Operation: 20-6=14, Resulting Numbers: [17, 14] Generated Node #0,0,0: 18:[17, 14] Operation: 20-6=14 Exploring Operation: 20-17=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 18:[6, 3] Operation: 20-17=3 Exploring Operation: 17-6=11, Resulting Numbers: [20, 11] Generated Node #0,0,2: 18:[20, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[6, 3], Operations: ['31-14=17', '20-17=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[31, 6, 20, 14], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [6, 20, 17] Generated Node #0,0: 18:[6, 20, 17] Operation: 31-14=17 Moving to Node #0,0 Current State: 18:[6, 20, 17], Operations: ['31-14=17'] Exploring Operation: 20-17=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 18:[6, 3] Operation: 20-17=3 Moving to Node #0,0,1 Current State: 18:[6, 3], Operations: ['31-14=17', '20-17=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 18, 87, 14, 67 ]
28
[ "87-18=69", "69-67=2", "14*2=28" ]
Current State: 28:[18, 87, 14, 67], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [14, 67, 69] Generated Node #2: [14, 67, 69] from Operation: 87-18=69 Current State: 28:[14, 67, 69], Operations: ['87-18=69'] Exploring Operation: 69-67=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 69-67=2 Current State: 28:[14, 2], Operations: ['87-18=69', '69-67=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[18, 87, 14, 67], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [18, 14, 20] Generated Node #0,0: 28:[18, 14, 20] Operation: 87-67=20 Moving to Node #0,0 Current State: 28:[18, 14, 20], Operations: ['87-67=20'] Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['87-67=20', '20-18=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[18, 87, 14, 67], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [18, 14, 20] Generated Node #0,0: 28:[18, 14, 20] Operation: 87-67=20 Moving to Node #0,0 Current State: 28:[18, 14, 20], Operations: ['87-67=20'] Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['87-67=20', '20-18=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 39, 13, 8, 9 ]
11
[ "39/13=3", "9/3=3", "8+3=11" ]
Current State: 11:[39, 13, 8, 9], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [8, 9, 3] Generated Node #2: [8, 9, 3] from Operation: 39/13=3 Current State: 11:[8, 9, 3], Operations: ['39/13=3'] Exploring Operation: 9/3=3, Resulting Numbers: [8, 3] Generated Node #3: [8, 3] from Operation: 9/3=3 Current State: 11:[8, 3], Operations: ['39/13=3', '9/3=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[39, 13, 8, 9], Operations: [] Exploring Operation: 39-13=26, Resulting Numbers: [8, 9, 26] Generated Node #0,0: 11:[8, 9, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [8, 9, 3] Generated Node #0,1: 11:[8, 9, 3] Operation: 39/13=3 Moving to Node #0,1 Current State: 11:[8, 9, 3], Operations: ['39/13=3'] Exploring Operation: 9+3=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 11:[8, 12] Operation: 9+3=12 Exploring Operation: 8+3=11, Resulting Numbers: [9, 11] Generated Node #0,1,1: 11:[9, 11] Operation: 8+3=11 Moving to Node #0,0 Current State: 11:[8, 9, 26], Operations: ['39-13=26'] Exploring Operation: 26-8=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 11:[9, 18] Operation: 26-8=18 Exploring Operation: 26-9=17, Resulting Numbers: [8, 17] Generated Node #0,0,1: 11:[8, 17] Operation: 26-9=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[9, 18], Operations: ['39-13=26', '26-8=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[8, 17], Operations: ['39-13=26', '26-9=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,11 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: 11:[9, 11], Operations: ['39/13=3', '8+3=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[8, 12], Operations: ['39/13=3', '9+3=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 50, 42, 16, 75 ]
73
[ "50-42=8", "16/8=2", "75-2=73" ]
Current State: 73:[50, 42, 16, 75], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [16, 75, 8] Generated Node #2: [16, 75, 8] from Operation: 50-42=8 Current State: 73:[16, 75, 8], Operations: ['50-42=8'] Exploring Operation: 16/8=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 16/8=2 Current State: 73:[75, 2], Operations: ['50-42=8', '16/8=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[50, 42, 16, 75], Operations: [] Exploring Operation: 42+16=58, Resulting Numbers: [50, 75, 58] Generated Node #0,0: 73:[50, 75, 58] Operation: 42+16=58 Exploring Operation: 50-16=34, Resulting Numbers: [42, 75, 34] Generated Node #0,1: 73:[42, 75, 34] Operation: 50-16=34 Exploring Operation: 50+16=66, Resulting Numbers: [42, 75, 66] Generated Node #0,2: 73:[42, 75, 66] Operation: 50+16=66 Exploring Operation: 42-16=26, Resulting Numbers: [50, 75, 26] Generated Node #0,3: 73:[50, 75, 26] Operation: 42-16=26 Exploring Operation: 75-16=59, Resulting Numbers: [50, 42, 59] Generated Node #0,4: 73:[50, 42, 59] Operation: 75-16=59 Moving to Node #0,0 Current State: 73:[50, 75, 58], Operations: ['42+16=58'] Exploring Operation: 75-58=17, Resulting Numbers: [50, 17] Generated Node #0,0,0: 73:[50, 17] Operation: 75-58=17 Exploring Operation: 58-50=8, Resulting Numbers: [75, 8] Generated Node #0,0,1: 73:[75, 8] Operation: 58-50=8 Exploring Operation: 50+58=108, Resulting Numbers: [75, 108] Generated Node #0,0,2: 73:[75, 108] Operation: 50+58=108 Exploring Operation: 75-50=25, Resulting Numbers: [58, 25] Generated Node #0,0,3: 73:[58, 25] Operation: 75-50=25 Exploring Operation: 50+75=125, Resulting Numbers: [58, 125] Generated Node #0,0,4: 73:[58, 125] Operation: 50+75=125 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[75, 108], Operations: ['42+16=58', '50+58=108'] Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,73 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,73 unequal: No Solution Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[58, 25], Operations: ['42+16=58', '75-50=25'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,73 unequal: No Solution Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[75, 8], Operations: ['42+16=58', '58-50=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 73:[58, 125], Operations: ['42+16=58', '50+75=125'] Exploring Operation: 58+125=183, Resulting Numbers: [183] 183,73 unequal: No Solution Exploring Operation: 58*125=7250, Resulting Numbers: [7250] 7250,73 unequal: No Solution Exploring Operation: 125-58=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[50, 17], Operations: ['42+16=58', '75-58=17'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,73 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: 73:[42, 75, 66], Operations: ['50+16=66'] Exploring Operation: 75-66=9, Resulting Numbers: [42, 9] Generated Node #0,2,0: 73:[42, 9] Operation: 75-66=9 Exploring Operation: 42+75=117, Resulting Numbers: [66, 117] Generated Node #0,2,1: 73:[66, 117] Operation: 42+75=117 Exploring Operation: 66-42=24, Resulting Numbers: [75, 24] Generated Node #0,2,2: 73:[75, 24] Operation: 66-42=24 Exploring Operation: 42+66=108, Resulting Numbers: [75, 108] Generated Node #0,2,3: 73:[75, 108] Operation: 42+66=108 Exploring Operation: 75-42=33, Resulting Numbers: [66, 33] Generated Node #0,2,4: 73:[66, 33] Operation: 75-42=33 Moving to Node #0,4 Current State: 73:[50, 42, 59], Operations: ['75-16=59'] Exploring Operation: 50-42=8, Resulting Numbers: [59, 8] Generated Node #0,4,0: 73:[59, 8] Operation: 50-42=8 Exploring Operation: 50+59=109, Resulting Numbers: [42, 109] Generated Node #0,4,1: 73:[42, 109] Operation: 50+59=109 Exploring Operation: 50+42=92, Resulting Numbers: [59, 92] Generated Node #0,4,2: 73:[59, 92] Operation: 50+42=92 Exploring Operation: 42+59=101, Resulting Numbers: [50, 101] Generated Node #0,4,3: 73:[50, 101] Operation: 42+59=101 Exploring Operation: 59-42=17, Resulting Numbers: [50, 17] Generated Node #0,4,4: 73:[50, 17] Operation: 59-42=17 Moving to Node #0,1 Current State: 73:[42, 75, 34], Operations: ['50-16=34'] Exploring Operation: 75-34=41, Resulting Numbers: [42, 41] Generated Node #0,1,0: 73:[42, 41] Operation: 75-34=41 Exploring Operation: 42+34=76, Resulting Numbers: [75, 76] Generated Node #0,1,1: 73:[75, 76] Operation: 42+34=76 Exploring Operation: 75-42=33, Resulting Numbers: [34, 33] Generated Node #0,1,2: 73:[34, 33] Operation: 75-42=33 Exploring Operation: 75+34=109, Resulting Numbers: [42, 109] Generated Node #0,1,3: 73:[42, 109] Operation: 75+34=109 Exploring Operation: 42-34=8, Resulting Numbers: [75, 8] Generated Node #0,1,4: 73:[75, 8] Operation: 42-34=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[75, 76], Operations: ['50-16=34', '42+34=76'] Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,73 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[42, 41], Operations: ['50-16=34', '75-34=41'] Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,73 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[42, 109], Operations: ['50-16=34', '75+34=109'] Exploring Operation: 42*109=4578, Resulting Numbers: [4578] 4578,73 unequal: No Solution Exploring Operation: 109-42=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 42+109=151, Resulting Numbers: [151] 151,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 73:[75, 8], Operations: ['50-16=34', '42-34=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,73 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[34, 33], Operations: ['50-16=34', '75-42=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,73 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: 73:[50, 75, 26], Operations: ['42-16=26'] Exploring Operation: 75-50=25, Resulting Numbers: [26, 25] Generated Node #0,3,0: 73:[26, 25] Operation: 75-50=25 Exploring Operation: 75-26=49, Resulting Numbers: [50, 49] Generated Node #0,3,1: 73:[50, 49] Operation: 75-26=49 Exploring Operation: 75+26=101, Resulting Numbers: [50, 101] Generated Node #0,3,2: 73:[50, 101] Operation: 75+26=101 Exploring Operation: 50-26=24, Resulting Numbers: [75, 24] Generated Node #0,3,3: 73:[75, 24] Operation: 50-26=24 Exploring Operation: 50+26=76, Resulting Numbers: [75, 76] Generated Node #0,3,4: 73:[75, 76] Operation: 50+26=76 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 73:[75, 76], Operations: ['42-16=26', '50+26=76'] Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[50, 49], Operations: ['42-16=26', '75-26=49'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,73 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[50, 101], Operations: ['42-16=26', '75+26=101'] Exploring Operation: 50+101=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 50*101=5050, Resulting Numbers: [5050] 5050,73 unequal: No Solution Exploring Operation: 101-50=51, Resulting Numbers: [51] 51,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[75, 24], Operations: ['42-16=26', '50-26=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,73 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[26, 25], Operations: ['42-16=26', '75-50=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 73:[59, 92], Operations: ['75-16=59', '50+42=92'] Exploring Operation: 59+92=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 92-59=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 59*92=5428, Resulting Numbers: [5428] 5428,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[75, 108], Operations: ['50+16=66', '42+66=108'] Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,73 unequal: No Solution Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[66, 33], Operations: ['50+16=66', '75-42=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,73 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,73 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[50, 101], Operations: ['75-16=59', '42+59=101'] Exploring Operation: 50*101=5050, Resulting Numbers: [5050] 5050,73 unequal: No Solution Exploring Operation: 50+101=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 101-50=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[66, 117], Operations: ['50+16=66', '42+75=117'] Exploring Operation: 66*117=7722, Resulting Numbers: [7722] 7722,73 unequal: No Solution Exploring Operation: 117-66=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 66+117=183, Resulting Numbers: [183] 183,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[75, 24], Operations: ['50+16=66', '66-42=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[42, 109], Operations: ['75-16=59', '50+59=109'] Exploring Operation: 42*109=4578, Resulting Numbers: [4578] 4578,73 unequal: No Solution Exploring Operation: 42+109=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 109-42=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[59, 8], Operations: ['75-16=59', '50-42=8'] Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,73 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[50, 17], Operations: ['75-16=59', '59-42=17'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,73 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[42, 9], Operations: ['50+16=66', '75-66=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,73 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,73 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 70, 55, 41 ]
90
[ "6+70=76", "55-41=14", "76+14=90" ]
Current State: 90:[6, 70, 55, 41], Operations: [] Exploring Operation: 6+70=76, Resulting Numbers: [55, 41, 76] Generated Node #2: [55, 41, 76] from Operation: 6+70=76 Current State: 90:[55, 41, 76], Operations: ['6+70=76'] Exploring Operation: 55-41=14, Resulting Numbers: [76, 14] Generated Node #3: [76, 14] from Operation: 55-41=14 Current State: 90:[76, 14], Operations: ['6+70=76', '55-41=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[6, 70, 55, 41], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [6, 41, 15] Generated Node #0,0: 90:[6, 41, 15] Operation: 70-55=15 Exploring Operation: 70-41=29, Resulting Numbers: [6, 55, 29] Generated Node #0,1: 90:[6, 55, 29] Operation: 70-41=29 Moving to Node #0,0 Current State: 90:[6, 41, 15], Operations: ['70-55=15'] Exploring Operation: 6*15=90, Resulting Numbers: [41, 90] Generated Node #0,0,0: 90:[41, 90] Operation: 6*15=90 Exploring Operation: 6+41=47, Resulting Numbers: [15, 47] Generated Node #0,0,1: 90:[15, 47] Operation: 6+41=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[15, 47], Operations: ['70-55=15', '6+41=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,90 unequal: No Solution No 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: 90:[41, 90], Operations: ['70-55=15', '6*15=90'] Exploring Operation: 41+90=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,90 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: 90:[6, 55, 29], Operations: ['70-41=29'] Exploring Operation: 55-6=49, Resulting Numbers: [29, 49] Generated Node #0,1,0: 90:[29, 49] Operation: 55-6=49 Exploring Operation: 55-29=26, Resulting Numbers: [6, 26] Generated Node #0,1,1: 90:[6, 26] Operation: 55-29=26 Moving to Node #0,1,1 Current State: 90:[6, 26], Operations: ['70-41=29', '55-29=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[29, 49], Operations: ['70-41=29', '55-6=49'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 12, 12, 96 ]
68
[ "96-12=84", "84/12=7", "75-7=68" ]
Current State: 68:[75, 12, 12, 96], Operations: [] Exploring Operation: 96-12=84, Resulting Numbers: [75, 84] Generated Node #2: [75, 84] from Operation: 96-12=84 Current State: 68:[75, 84], Operations: ['96-12=84'] Exploring Operation: 84/12=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 84/12=7 Current State: 68:[75, 7], Operations: ['96-12=84', '84/12=7'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[75, 12, 12, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [12, 12, 21] Generated Node #0,0: 68:[12, 12, 21] Operation: 96-75=21 Exploring Operation: 96/12=8, Resulting Numbers: [75, 12, 8] Generated Node #0,1: 68:[75, 12, 8] Operation: 96/12=8 Exploring Operation: 96/12=8, Resulting Numbers: [75, 12, 8] Generated Node #0,2: 68:[75, 12, 8] Operation: 96/12=8 Moving to Node #0,0 Current State: 68:[12, 12, 21], Operations: ['96-75=21'] Exploring Operation: 12-12=0, Resulting Numbers: [21, 0] Generated Node #0,0,0: 68:[21, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [21, 1] Generated Node #0,0,1: 68:[21, 1] Operation: 12/12=1 Exploring Operation: 12+21=33, Resulting Numbers: [12, 33] Generated Node #0,0,2: 68:[12, 33] Operation: 12+21=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[21, 1], Operations: ['96-75=21', '12/12=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,68 unequal: No Solution No 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: 68:[21, 0], Operations: ['96-75=21', '12-12=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,68 unequal: No Solution No 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: 68:[12, 33], Operations: ['96-75=21', '12+21=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,68 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,68 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: 68:[75, 12, 8], Operations: ['96/12=8'] Exploring Operation: 75-8=67, Resulting Numbers: [12, 67] Generated Node #0,1,0: 68:[12, 67] Operation: 75-8=67 Exploring Operation: 75-12=63, Resulting Numbers: [8, 63] Generated Node #0,1,1: 68:[8, 63] Operation: 75-12=63 Exploring Operation: 12-8=4, Resulting Numbers: [75, 4] Generated Node #0,1,2: 68:[75, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[12, 67], Operations: ['96/12=8', '75-8=67'] Exploring Operation: 12*67=804, Resulting Numbers: [804] 804,68 unequal: No Solution Exploring Operation: 12+67=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,68 unequal: No Solution No 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: 68:[75, 4], Operations: ['96/12=8', '12-8=4'] Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,68 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,68 unequal: No Solution No 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: 68:[8, 63], Operations: ['96/12=8', '75-12=63'] Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,68 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: 68:[75, 12, 8], Operations: ['96/12=8'] Exploring Operation: 75-8=67, Resulting Numbers: [12, 67] Generated Node #0,2,0: 68:[12, 67] Operation: 75-8=67 Exploring Operation: 75-12=63, Resulting Numbers: [8, 63] Generated Node #0,2,1: 68:[8, 63] Operation: 75-12=63 Exploring Operation: 12-8=4, Resulting Numbers: [75, 4] Generated Node #0,2,2: 68:[75, 4] Operation: 12-8=4 Moving to Node #0,2,0 Current State: 68:[12, 67], Operations: ['96/12=8', '75-8=67'] Exploring Operation: 12*67=804, Resulting Numbers: [804] 804,68 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 12+67=79, Resulting Numbers: [79] 79,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[75, 4], Operations: ['96/12=8', '12-8=4'] Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,68 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[8, 63], Operations: ['96/12=8', '75-12=63'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,68 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 22, 28, 90, 3 ]
99
[ "28-22=6", "90+3=93", "6+93=99" ]
Current State: 99:[22, 28, 90, 3], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [90, 3, 6] Generated Node #2: [90, 3, 6] from Operation: 28-22=6 Current State: 99:[90, 3, 6], Operations: ['28-22=6'] Exploring Operation: 90+3=93, Resulting Numbers: [6, 93] Generated Node #3: [6, 93] from Operation: 90+3=93 Current State: 99:[6, 93], Operations: ['28-22=6', '90+3=93'] Exploring Operation: 6+93=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[22, 28, 90, 3], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [90, 3, 6] Generated Node #0,0: 99:[90, 3, 6] Operation: 28-22=6 Exploring Operation: 90/3=30, Resulting Numbers: [22, 28, 30] Generated Node #0,1: 99:[22, 28, 30] Operation: 90/3=30 Exploring Operation: 22+90=112, Resulting Numbers: [28, 3, 112] Generated Node #0,2: 99:[28, 3, 112] Operation: 22+90=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[90, 3, 6], Operations: ['28-22=6'] Exploring Operation: 90/6=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 99:[3, 15] Operation: 90/6=15 Exploring Operation: 90/3=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 99:[6, 30] Operation: 90/3=30 Exploring Operation: 90+6=96, Resulting Numbers: [3, 96] Generated Node #0,0,2: 99:[3, 96] Operation: 90+6=96 Moving to Node #0,0,2 Current State: 99:[3, 96], Operations: ['28-22=6', '90+6=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[22, 28, 90, 3], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [90, 3, 6] Generated Node #0,0: 99:[90, 3, 6] Operation: 28-22=6 Moving to Node #0,0 Current State: 99:[90, 3, 6], Operations: ['28-22=6'] Exploring Operation: 90+6=96, Resulting Numbers: [3, 96] Generated Node #0,0,2: 99:[3, 96] Operation: 90+6=96 Moving to Node #0,0,2 Current State: 99:[3, 96], Operations: ['28-22=6', '90+6=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 78, 95, 36, 97 ]
84
[ "78-36=42", "97-95=2", "42*2=84" ]
Current State: 84:[78, 95, 36, 97], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [95, 97, 42] Generated Node #2: [95, 97, 42] from Operation: 78-36=42 Current State: 84:[95, 97, 42], Operations: ['78-36=42'] Exploring Operation: 97-95=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 97-95=2 Current State: 84:[42, 2], Operations: ['78-36=42', '97-95=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[78, 95, 36, 97], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [78, 36, 2] Generated Node #0,0: 84:[78, 36, 2] Operation: 97-95=2 Exploring Operation: 95-36=59, Resulting Numbers: [78, 97, 59] Generated Node #0,1: 84:[78, 97, 59] Operation: 95-36=59 Exploring Operation: 97-78=19, Resulting Numbers: [95, 36, 19] Generated Node #0,2: 84:[95, 36, 19] Operation: 97-78=19 Exploring Operation: 78-36=42, Resulting Numbers: [95, 97, 42] Generated Node #0,3: 84:[95, 97, 42] Operation: 78-36=42 Exploring Operation: 95-78=17, Resulting Numbers: [36, 97, 17] Generated Node #0,4: 84:[36, 97, 17] Operation: 95-78=17 Moving to Node #0,0 Current State: 84:[78, 36, 2], Operations: ['97-95=2'] Exploring Operation: 78-36=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 84:[2, 42] Operation: 78-36=42 Exploring Operation: 36+2=38, Resulting Numbers: [78, 38] Generated Node #0,0,1: 84:[78, 38] Operation: 36+2=38 Exploring Operation: 78+2=80, Resulting Numbers: [36, 80] Generated Node #0,0,2: 84:[36, 80] Operation: 78+2=80 Exploring Operation: 78/2=39, Resulting Numbers: [36, 39] Generated Node #0,0,3: 84:[36, 39] Operation: 78/2=39 Exploring Operation: 36/2=18, Resulting Numbers: [78, 18] Generated Node #0,0,4: 84:[78, 18] Operation: 36/2=18 Moving to Node #0,2 Current State: 84:[95, 36, 19], Operations: ['97-78=19'] Exploring Operation: 95-36=59, Resulting Numbers: [19, 59] Generated Node #0,2,0: 84:[19, 59] Operation: 95-36=59 Exploring Operation: 95-19=76, Resulting Numbers: [36, 76] Generated Node #0,2,1: 84:[36, 76] Operation: 95-19=76 Exploring Operation: 36+19=55, Resulting Numbers: [95, 55] Generated Node #0,2,2: 84:[95, 55] Operation: 36+19=55 Exploring Operation: 36-19=17, Resulting Numbers: [95, 17] Generated Node #0,2,3: 84:[95, 17] Operation: 36-19=17 Exploring Operation: 95/19=5, Resulting Numbers: [36, 5] Generated Node #0,2,4: 84:[36, 5] Operation: 95/19=5 Moving to Node #0,4 Current State: 84:[36, 97, 17], Operations: ['95-78=17'] Exploring Operation: 97-36=61, Resulting Numbers: [17, 61] Generated Node #0,4,0: 84:[17, 61] Operation: 97-36=61 Exploring Operation: 36-17=19, Resulting Numbers: [97, 19] Generated Node #0,4,1: 84:[97, 19] Operation: 36-17=19 Exploring Operation: 36+17=53, Resulting Numbers: [97, 53] Generated Node #0,4,2: 84:[97, 53] Operation: 36+17=53 Exploring Operation: 97+17=114, Resulting Numbers: [36, 114] Generated Node #0,4,3: 84:[36, 114] Operation: 97+17=114 Exploring Operation: 97-17=80, Resulting Numbers: [36, 80] Generated Node #0,4,4: 84:[36, 80] Operation: 97-17=80 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[36, 80], Operations: ['95-78=17', '97-17=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,84 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,84 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,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,4,1 Current State: 84:[97, 19], Operations: ['95-78=17', '36-17=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 97*19=1843, Resulting Numbers: [1843] 1843,84 unequal: No Solution Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,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,4,0 Current State: 84:[17, 61], Operations: ['95-78=17', '97-36=61'] Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,84 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,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,4,2 Current State: 84:[97, 53], Operations: ['95-78=17', '36+17=53'] Exploring Operation: 97+53=150, Resulting Numbers: [150] 150,84 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 97*53=5141, Resulting Numbers: [5141] 5141,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,4,3 Current State: 84:[36, 114], Operations: ['95-78=17', '97+17=114'] Exploring Operation: 36+114=150, Resulting Numbers: [150] 150,84 unequal: No Solution Exploring Operation: 114-36=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 36*114=4104, Resulting Numbers: [4104] 4104,84 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: 84:[95, 97, 42], Operations: ['78-36=42'] Exploring Operation: 97+42=139, Resulting Numbers: [95, 139] Generated Node #0,3,0: 84:[95, 139] Operation: 97+42=139 Exploring Operation: 97-95=2, Resulting Numbers: [42, 2] Generated Node #0,3,1: 84:[42, 2] Operation: 97-95=2 Exploring Operation: 95+42=137, Resulting Numbers: [97, 137] Generated Node #0,3,2: 84:[97, 137] Operation: 95+42=137 Exploring Operation: 97-42=55, Resulting Numbers: [95, 55] Generated Node #0,3,3: 84:[95, 55] Operation: 97-42=55 Exploring Operation: 95-42=53, Resulting Numbers: [97, 53] Generated Node #0,3,4: 84:[97, 53] Operation: 95-42=53 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[42, 2], Operations: ['78-36=42', '97-95=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[78, 95, 36, 97], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [95, 97, 42] Generated Node #0,3: 84:[95, 97, 42] Operation: 78-36=42 Moving to Node #0,3 Current State: 84:[95, 97, 42], Operations: ['78-36=42'] Exploring Operation: 97-95=2, Resulting Numbers: [42, 2] Generated Node #0,3,1: 84:[42, 2] Operation: 97-95=2 Moving to Node #0,3,1 Current State: 84:[42, 2], Operations: ['78-36=42', '97-95=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
sum_heuristic
[ 95, 97, 33, 37 ]
93
[ "95+37=132", "132/33=4", "97-4=93" ]
Current State: 93:[95, 97, 33, 37], Operations: [] Exploring Operation: 95+37=132, Resulting Numbers: [97, 33, 132] Generated Node #2: [97, 33, 132] from Operation: 95+37=132 Current State: 93:[97, 33, 132], Operations: ['95+37=132'] Exploring Operation: 132/33=4, Resulting Numbers: [97, 4] Generated Node #3: [97, 4] from Operation: 132/33=4 Current State: 93:[97, 4], Operations: ['95+37=132', '132/33=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[95, 97, 33, 37], Operations: [] Exploring Operation: 95-37=58, Resulting Numbers: [97, 33, 58] Generated Node #0,0: 93:[97, 33, 58] Operation: 95-37=58 Exploring Operation: 37-33=4, Resulting Numbers: [95, 97, 4] Generated Node #0,1: 93:[95, 97, 4] Operation: 37-33=4 Exploring Operation: 33+37=70, Resulting Numbers: [95, 97, 70] Generated Node #0,2: 93:[95, 97, 70] Operation: 33+37=70 Exploring Operation: 97-37=60, Resulting Numbers: [95, 33, 60] Generated Node #0,3: 93:[95, 33, 60] Operation: 97-37=60 Exploring Operation: 97-95=2, Resulting Numbers: [33, 37, 2] Generated Node #0,4: 93:[33, 37, 2] Operation: 97-95=2 Moving to Node #0,1 Current State: 93:[95, 97, 4], Operations: ['37-33=4'] Exploring Operation: 97-95=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 93:[4, 2] Operation: 97-95=2 Exploring Operation: 95+4=99, Resulting Numbers: [97, 99] Generated Node #0,1,1: 93:[97, 99] Operation: 95+4=99 Exploring Operation: 97-4=93, Resulting Numbers: [95, 93] Generated Node #0,1,2: 93:[95, 93] Operation: 97-4=93 Exploring Operation: 95-4=91, Resulting Numbers: [97, 91] Generated Node #0,1,3: 93:[97, 91] Operation: 95-4=91 Exploring Operation: 97+4=101, Resulting Numbers: [95, 101] Generated Node #0,1,4: 93:[95, 101] Operation: 97+4=101 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[4, 2], Operations: ['37-33=4', '97-95=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[95, 93], Operations: ['37-33=4', '97-4=93'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 95+93=188, Resulting Numbers: [188] 188,93 unequal: No Solution Exploring Operation: 95*93=8835, Resulting Numbers: [8835] 8835,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[97, 91], Operations: ['37-33=4', '95-4=91'] Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,93 unequal: No Solution Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,93 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[97, 99], Operations: ['37-33=4', '95+4=99'] Exploring Operation: 97*99=9603, Resulting Numbers: [9603] 9603,93 unequal: No Solution Exploring Operation: 97+99=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 93:[95, 101], Operations: ['37-33=4', '97+4=101'] Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,93 unequal: No Solution Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 93:[33, 37, 2], Operations: ['97-95=2'] Exploring Operation: 37-2=35, Resulting Numbers: [33, 35] Generated Node #0,4,0: 93:[33, 35] Operation: 37-2=35 Exploring Operation: 33-2=31, Resulting Numbers: [37, 31] Generated Node #0,4,1: 93:[37, 31] Operation: 33-2=31 Exploring Operation: 33+2=35, Resulting Numbers: [37, 35] Generated Node #0,4,2: 93:[37, 35] Operation: 33+2=35 Exploring Operation: 37-33=4, Resulting Numbers: [2, 4] Generated Node #0,4,3: 93:[2, 4] Operation: 37-33=4 Exploring Operation: 37+2=39, Resulting Numbers: [33, 39] Generated Node #0,4,4: 93:[33, 39] Operation: 37+2=39 Moving to Node #0,2 Current State: 93:[95, 97, 70], Operations: ['33+37=70'] Exploring Operation: 95-70=25, Resulting Numbers: [97, 25] Generated Node #0,2,0: 93:[97, 25] Operation: 95-70=25 Exploring Operation: 97-70=27, Resulting Numbers: [95, 27] Generated Node #0,2,1: 93:[95, 27] Operation: 97-70=27 Exploring Operation: 95+70=165, Resulting Numbers: [97, 165] Generated Node #0,2,2: 93:[97, 165] Operation: 95+70=165 Exploring Operation: 97+70=167, Resulting Numbers: [95, 167] Generated Node #0,2,3: 93:[95, 167] Operation: 97+70=167 Exploring Operation: 97-95=2, Resulting Numbers: [70, 2] Generated Node #0,2,4: 93:[70, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 93:[97, 33, 58], Operations: ['95-37=58'] Exploring Operation: 97+33=130, Resulting Numbers: [58, 130] Generated Node #0,0,0: 93:[58, 130] Operation: 97+33=130 Exploring Operation: 97-33=64, Resulting Numbers: [58, 64] Generated Node #0,0,1: 93:[58, 64] Operation: 97-33=64 Exploring Operation: 97-58=39, Resulting Numbers: [33, 39] Generated Node #0,0,2: 93:[33, 39] Operation: 97-58=39 Exploring Operation: 33+58=91, Resulting Numbers: [97, 91] Generated Node #0,0,3: 93:[97, 91] Operation: 33+58=91 Exploring Operation: 58-33=25, Resulting Numbers: [97, 25] Generated Node #0,0,4: 93:[97, 25] Operation: 58-33=25 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[97, 91], Operations: ['95-37=58', '33+58=91'] Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,93 unequal: No Solution Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[33, 39], Operations: ['95-37=58', '97-58=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,93 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[97, 25], Operations: ['95-37=58', '58-33=25'] Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,93 unequal: No Solution Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[58, 64], Operations: ['95-37=58', '97-33=64'] Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,93 unequal: No Solution Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[58, 130], Operations: ['95-37=58', '97+33=130'] Exploring Operation: 58+130=188, Resulting Numbers: [188] 188,93 unequal: No Solution Exploring Operation: 58*130=7540, Resulting Numbers: [7540] 7540,93 unequal: No Solution Exploring Operation: 130-58=72, Resulting Numbers: [72] 72,93 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: 93:[95, 33, 60], Operations: ['97-37=60'] Exploring Operation: 95-60=35, Resulting Numbers: [33, 35] Generated Node #0,3,0: 93:[33, 35] Operation: 95-60=35 Exploring Operation: 95-33=62, Resulting Numbers: [60, 62] Generated Node #0,3,1: 93:[60, 62] Operation: 95-33=62 Exploring Operation: 60-33=27, Resulting Numbers: [95, 27] Generated Node #0,3,2: 93:[95, 27] Operation: 60-33=27 Exploring Operation: 33+60=93, Resulting Numbers: [95, 93] Generated Node #0,3,3: 93:[95, 93] Operation: 33+60=93 Exploring Operation: 95+33=128, Resulting Numbers: [60, 128] Generated Node #0,3,4: 93:[60, 128] Operation: 95+33=128 Moving to Node #0,4,3 Current State: 93:[2, 4], Operations: ['97-95=2', '37-33=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[95, 93], Operations: ['97-37=60', '33+60=93'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 95*93=8835, Resulting Numbers: [8835] 8835,93 unequal: No Solution Exploring Operation: 95+93=188, Resulting Numbers: [188] 188,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[37, 31], Operations: ['97-95=2', '33-2=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,93 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[95, 27], Operations: ['33+37=70', '97-70=27'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[95, 27], Operations: ['97-37=60', '60-33=27'] Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,93 unequal: No Solution Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[33, 35], Operations: ['97-37=60', '95-60=35'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[33, 35], Operations: ['97-95=2', '37-2=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 33*35=1155, Resulting Numbers: [1155] 1155,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[97, 25], Operations: ['33+37=70', '95-70=25'] Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,93 unequal: No Solution Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[33, 39], Operations: ['97-95=2', '37+2=39'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,93 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[37, 35], Operations: ['97-95=2', '33+2=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,93 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,93 unequal: No Solution Moving to Node #0,2,4 Current State: 93:[70, 2], Operations: ['33+37=70', '97-95=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[60, 62], Operations: ['97-37=60', '95-33=62'] Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,93 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[60, 128], Operations: ['97-37=60', '95+33=128'] Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,93 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,93 unequal: No Solution Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[97, 165], Operations: ['33+37=70', '95+70=165'] Exploring Operation: 165-97=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 97*165=16005, Resulting Numbers: [16005] 16005,93 unequal: No Solution Exploring Operation: 97+165=262, Resulting Numbers: [262] 262,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[95, 167], Operations: ['33+37=70', '97+70=167'] Exploring Operation: 95+167=262, Resulting Numbers: [262] 262,93 unequal: No Solution Exploring Operation: 167-95=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 95*167=15865, Resulting Numbers: [15865] 15865,93 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 27, 21, 52, 17 ]
68
[ "27+21=48", "52-48=4", "17*4=68" ]
Current State: 68:[27, 21, 52, 17], Operations: [] Exploring Operation: 27+21=48, Resulting Numbers: [52, 17, 48] Generated Node #2: [52, 17, 48] from Operation: 27+21=48 Current State: 68:[52, 17, 48], Operations: ['27+21=48'] Exploring Operation: 52-48=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 52-48=4 Current State: 68:[17, 4], Operations: ['27+21=48', '52-48=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[27, 21, 52, 17], Operations: [] Exploring Operation: 52-21=31, Resulting Numbers: [27, 17, 31] Generated Node #0,0: 68:[27, 17, 31] Operation: 52-21=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[27, 17, 31], Operations: ['52-21=31'] Exploring Operation: 31-27=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 68:[17, 4] Operation: 31-27=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[17, 4], Operations: ['52-21=31', '31-27=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[27, 21, 52, 17], Operations: [] Exploring Operation: 52-21=31, Resulting Numbers: [27, 17, 31] Generated Node #0,0: 68:[27, 17, 31] Operation: 52-21=31 Moving to Node #0,0 Current State: 68:[27, 17, 31], Operations: ['52-21=31'] Exploring Operation: 31-27=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 68:[17, 4] Operation: 31-27=4 Moving to Node #0,0,0 Current State: 68:[17, 4], Operations: ['52-21=31', '31-27=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 12, 99, 3 ]
27
[ "12-1=11", "99*3=297", "297/11=27" ]
Current State: 27:[1, 12, 99, 3], Operations: [] Exploring Operation: 12-1=11, Resulting Numbers: [99, 3, 11] Generated Node #2: [99, 3, 11] from Operation: 12-1=11 Current State: 27:[99, 3, 11], Operations: ['12-1=11'] Exploring Operation: 99*3=297, Resulting Numbers: [11, 297] Generated Node #3: [11, 297] from Operation: 99*3=297 Current State: 27:[11, 297], Operations: ['12-1=11', '99*3=297'] Exploring Operation: 297/11=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[1, 12, 99, 3], Operations: [] Exploring Operation: 12-1=11, Resulting Numbers: [99, 3, 11] Generated Node #0,0: 27:[99, 3, 11] Operation: 12-1=11 Exploring Operation: 99-12=87, Resulting Numbers: [1, 3, 87] Generated Node #0,1: 27:[1, 3, 87] Operation: 99-12=87 Exploring Operation: 99/3=33, Resulting Numbers: [1, 12, 33] Generated Node #0,2: 27:[1, 12, 33] Operation: 99/3=33 Exploring Operation: 99-1=98, Resulting Numbers: [12, 3, 98] Generated Node #0,3: 27:[12, 3, 98] Operation: 99-1=98 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[1, 12, 33], Operations: ['99/3=33'] Exploring Operation: 12-1=11, Resulting Numbers: [33, 11] Generated Node #0,2,0: 27:[33, 11] Operation: 12-1=11 Exploring Operation: 1*12=12, Resulting Numbers: [33, 12] Generated Node #0,2,1: 27:[33, 12] Operation: 1*12=12 Exploring Operation: 33-12=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 27:[1, 21] Operation: 33-12=21 Exploring Operation: 33-1=32, Resulting Numbers: [12, 32] Generated Node #0,2,3: 27:[12, 32] Operation: 33-1=32 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[33, 11], Operations: ['99/3=33', '12-1=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,27 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 33+11=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,2,2 Current State: 27:[1, 21], Operations: ['99/3=33', '33-12=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 27:[12, 32], Operations: ['99/3=33', '33-1=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[33, 12], Operations: ['99/3=33', '1*12=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,27 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,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,1 Current State: 27:[1, 3, 87], Operations: ['99-12=87'] Exploring Operation: 1*3=3, Resulting Numbers: [87, 3] Generated Node #0,1,0: 27:[87, 3] Operation: 1*3=3 Exploring Operation: 87/3=29, Resulting Numbers: [1, 29] Generated Node #0,1,1: 27:[1, 29] Operation: 87/3=29 Exploring Operation: 87-1=86, Resulting Numbers: [3, 86] Generated Node #0,1,2: 27:[3, 86] Operation: 87-1=86 Exploring Operation: 87-3=84, Resulting Numbers: [1, 84] Generated Node #0,1,3: 27:[1, 84] Operation: 87-3=84 Moving to Node #0,1,1 Current State: 27:[1, 29], Operations: ['99-12=87', '87/3=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[1, 84], Operations: ['99-12=87', '87-3=84'] Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,27 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[3, 86], Operations: ['99-12=87', '87-1=86'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,27 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,27 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[87, 3], Operations: ['99-12=87', '1*3=3'] Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,27 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,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:[99, 3, 11], Operations: ['12-1=11'] Exploring Operation: 99/3=33, Resulting Numbers: [11, 33] Generated Node #0,0,0: 27:[11, 33] Operation: 99/3=33 Exploring Operation: 99-11=88, Resulting Numbers: [3, 88] Generated Node #0,0,1: 27:[3, 88] Operation: 99-11=88 Exploring Operation: 99/11=9, Resulting Numbers: [3, 9] Generated Node #0,0,2: 27:[3, 9] Operation: 99/11=9 Exploring Operation: 99-3=96, Resulting Numbers: [11, 96] Generated Node #0,0,3: 27:[11, 96] Operation: 99-3=96 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[3, 9], Operations: ['12-1=11', '99/11=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[1, 12, 99, 3], Operations: [] Exploring Operation: 12-1=11, Resulting Numbers: [99, 3, 11] Generated Node #0,0: 27:[99, 3, 11] Operation: 12-1=11 Moving to Node #0,0 Current State: 27:[99, 3, 11], Operations: ['12-1=11'] Exploring Operation: 99/11=9, Resulting Numbers: [3, 9] Generated Node #0,0,2: 27:[3, 9] Operation: 99/11=9 Moving to Node #0,0,2 Current State: 27:[3, 9], Operations: ['12-1=11', '99/11=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 64, 17, 95, 14 ]
62
[ "64-17=47", "95+14=109", "109-47=62" ]
Current State: 62:[64, 17, 95, 14], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [95, 14, 47] Generated Node #2: [95, 14, 47] from Operation: 64-17=47 Current State: 62:[95, 14, 47], Operations: ['64-17=47'] Exploring Operation: 95+14=109, Resulting Numbers: [47, 109] Generated Node #3: [47, 109] from Operation: 95+14=109 Current State: 62:[47, 109], Operations: ['64-17=47', '95+14=109'] Exploring Operation: 109-47=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[64, 17, 95, 14], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [17, 14, 31] Generated Node #0,0: 62:[17, 14, 31] Operation: 95-64=31 Exploring Operation: 95-17=78, Resulting Numbers: [64, 14, 78] Generated Node #0,1: 62:[64, 14, 78] Operation: 95-17=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[17, 14, 31], Operations: ['95-64=31'] Exploring Operation: 17-14=3, Resulting Numbers: [31, 3] Generated Node #0,0,0: 62:[31, 3] Operation: 17-14=3 Exploring Operation: 17+14=31, Resulting Numbers: [31, 31] Generated Node #0,0,1: 62:[31, 31] Operation: 17+14=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[31, 31], Operations: ['95-64=31', '17+14=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[64, 17, 95, 14], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [17, 14, 31] Generated Node #0,0: 62:[17, 14, 31] Operation: 95-64=31 Moving to Node #0,0 Current State: 62:[17, 14, 31], Operations: ['95-64=31'] Exploring Operation: 17+14=31, Resulting Numbers: [31, 31] Generated Node #0,0,1: 62:[31, 31] Operation: 17+14=31 Moving to Node #0,0,1 Current State: 62:[31, 31], Operations: ['95-64=31', '17+14=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 68, 90, 35, 10 ]
34
[ "35+10=45", "68*45=3060", "3060/90=34" ]
Current State: 34:[68, 90, 35, 10], Operations: [] Exploring Operation: 35+10=45, Resulting Numbers: [68, 90, 45] Generated Node #2: [68, 90, 45] from Operation: 35+10=45 Current State: 34:[68, 90, 45], Operations: ['35+10=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [90, 3060] Generated Node #3: [90, 3060] from Operation: 68*45=3060 Current State: 34:[90, 3060], Operations: ['35+10=45', '68*45=3060'] Exploring Operation: 3060/90=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[68, 90, 35, 10], Operations: [] Exploring Operation: 68-10=58, Resulting Numbers: [90, 35, 58] Generated Node #0,0: 34:[90, 35, 58] Operation: 68-10=58 Exploring Operation: 90-68=22, Resulting Numbers: [35, 10, 22] Generated Node #0,1: 34:[35, 10, 22] Operation: 90-68=22 Exploring Operation: 90/10=9, Resulting Numbers: [68, 35, 9] Generated Node #0,2: 34:[68, 35, 9] Operation: 90/10=9 Exploring Operation: 90-35=55, Resulting Numbers: [68, 10, 55] Generated Node #0,3: 34:[68, 10, 55] Operation: 90-35=55 Exploring Operation: 68-35=33, Resulting Numbers: [90, 10, 33] Generated Node #0,4: 34:[90, 10, 33] Operation: 68-35=33 Moving to Node #0,1 Current State: 34:[35, 10, 22], Operations: ['90-68=22'] Exploring Operation: 35-22=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 34:[10, 13] Operation: 35-22=13 Exploring Operation: 35+10=45, Resulting Numbers: [22, 45] Generated Node #0,1,1: 34:[22, 45] Operation: 35+10=45 Exploring Operation: 10+22=32, Resulting Numbers: [35, 32] Generated Node #0,1,2: 34:[35, 32] Operation: 10+22=32 Exploring Operation: 35-10=25, Resulting Numbers: [22, 25] Generated Node #0,1,3: 34:[22, 25] Operation: 35-10=25 Exploring Operation: 22-10=12, Resulting Numbers: [35, 12] Generated Node #0,1,4: 34:[35, 12] Operation: 22-10=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[35, 32], Operations: ['90-68=22', '10+22=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,34 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,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,1,4 Current State: 34:[35, 12], Operations: ['90-68=22', '22-10=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,34 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,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,1,0 Current State: 34:[10, 13], Operations: ['90-68=22', '35-22=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,34 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,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,1,3 Current State: 34:[22, 25], Operations: ['90-68=22', '35-10=25'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,34 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,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,1,1 Current State: 34:[22, 45], Operations: ['90-68=22', '35+10=45'] Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,34 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 34:[68, 35, 9], Operations: ['90/10=9'] Exploring Operation: 68+9=77, Resulting Numbers: [35, 77] Generated Node #0,2,0: 34:[35, 77] Operation: 68+9=77 Exploring Operation: 68-35=33, Resulting Numbers: [9, 33] Generated Node #0,2,1: 34:[9, 33] Operation: 68-35=33 Exploring Operation: 68-9=59, Resulting Numbers: [35, 59] Generated Node #0,2,2: 34:[35, 59] Operation: 68-9=59 Exploring Operation: 35-9=26, Resulting Numbers: [68, 26] Generated Node #0,2,3: 34:[68, 26] Operation: 35-9=26 Exploring Operation: 35+9=44, Resulting Numbers: [68, 44] Generated Node #0,2,4: 34:[68, 44] Operation: 35+9=44 Moving to Node #0,3 Current State: 34:[68, 10, 55], Operations: ['90-35=55'] Exploring Operation: 68+10=78, Resulting Numbers: [55, 78] Generated Node #0,3,0: 34:[55, 78] Operation: 68+10=78 Exploring Operation: 68-10=58, Resulting Numbers: [55, 58] Generated Node #0,3,1: 34:[55, 58] Operation: 68-10=58 Exploring Operation: 68-55=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 34:[10, 13] Operation: 68-55=13 Exploring Operation: 55-10=45, Resulting Numbers: [68, 45] Generated Node #0,3,3: 34:[68, 45] Operation: 55-10=45 Exploring Operation: 10+55=65, Resulting Numbers: [68, 65] Generated Node #0,3,4: 34:[68, 65] Operation: 10+55=65 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[10, 13], Operations: ['90-35=55', '68-55=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,34 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[55, 58], Operations: ['90-35=55', '68-10=58'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 55+58=113, Resulting Numbers: [113] 113,34 unequal: No Solution Exploring Operation: 55*58=3190, Resulting Numbers: [3190] 3190,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[68, 45], Operations: ['90-35=55', '55-10=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,34 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[55, 78], Operations: ['90-35=55', '68+10=78'] Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,34 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[68, 65], Operations: ['90-35=55', '10+55=65'] Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,34 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,34 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: 34:[90, 10, 33], Operations: ['68-35=33'] Exploring Operation: 90-33=57, Resulting Numbers: [10, 57] Generated Node #0,4,0: 34:[10, 57] Operation: 90-33=57 Exploring Operation: 90-10=80, Resulting Numbers: [33, 80] Generated Node #0,4,1: 34:[33, 80] Operation: 90-10=80 Exploring Operation: 10+33=43, Resulting Numbers: [90, 43] Generated Node #0,4,2: 34:[90, 43] Operation: 10+33=43 Exploring Operation: 90/10=9, Resulting Numbers: [33, 9] Generated Node #0,4,3: 34:[33, 9] Operation: 90/10=9 Exploring Operation: 33-10=23, Resulting Numbers: [90, 23] Generated Node #0,4,4: 34:[90, 23] Operation: 33-10=23 Moving to Node #0,0 Current State: 34:[90, 35, 58], Operations: ['68-10=58'] Exploring Operation: 90-35=55, Resulting Numbers: [58, 55] Generated Node #0,0,0: 34:[58, 55] Operation: 90-35=55 Exploring Operation: 58-35=23, Resulting Numbers: [90, 23] Generated Node #0,0,1: 34:[90, 23] Operation: 58-35=23 Exploring Operation: 90+35=125, Resulting Numbers: [58, 125] Generated Node #0,0,2: 34:[58, 125] Operation: 90+35=125 Exploring Operation: 90-58=32, Resulting Numbers: [35, 32] Generated Node #0,0,3: 34:[35, 32] Operation: 90-58=32 Exploring Operation: 90+58=148, Resulting Numbers: [35, 148] Generated Node #0,0,4: 34:[35, 148] Operation: 90+58=148 Moving to Node #0,0,3 Current State: 34:[35, 32], Operations: ['68-10=58', '90-58=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,34 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[33, 9], Operations: ['68-35=33', '90/10=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,34 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[9, 33], Operations: ['90/10=9', '68-35=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,34 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[35, 59], Operations: ['90/10=9', '68-9=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,34 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[10, 57], Operations: ['68-35=33', '90-33=57'] Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,34 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[68, 26], Operations: ['90/10=9', '35-9=26'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[68, 44], Operations: ['90/10=9', '35+9=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,34 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,34 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[35, 77], Operations: ['90/10=9', '68+9=77'] Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,34 unequal: No Solution Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,34 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[58, 55], Operations: ['68-10=58', '90-35=55'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 58*55=3190, Resulting Numbers: [3190] 3190,34 unequal: No Solution Exploring Operation: 58+55=113, Resulting Numbers: [113] 113,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[33, 80], Operations: ['68-35=33', '90-10=80'] Exploring Operation: 33*80=2640, Resulting Numbers: [2640] 2640,34 unequal: No Solution Exploring Operation: 33+80=113, Resulting Numbers: [113] 113,34 unequal: No Solution Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[90, 23], Operations: ['68-10=58', '58-35=23'] Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,34 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,34 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[90, 23], Operations: ['68-35=33', '33-10=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,34 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[90, 43], Operations: ['68-35=33', '10+33=43'] Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,34 unequal: No Solution Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,34 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[35, 148], Operations: ['68-10=58', '90+58=148'] Exploring Operation: 35+148=183, Resulting Numbers: [183] 183,34 unequal: No Solution Exploring Operation: 35*148=5180, Resulting Numbers: [5180] 5180,34 unequal: No Solution Exploring Operation: 148-35=113, Resulting Numbers: [113] 113,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[58, 125], Operations: ['68-10=58', '90+35=125'] Exploring Operation: 125-58=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 58+125=183, Resulting Numbers: [183] 183,34 unequal: No Solution Exploring Operation: 58*125=7250, Resulting Numbers: [7250] 7250,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 88, 64, 6, 48 ]
18
[ "88-64=24", "48-6=42", "42-24=18" ]
Current State: 18:[88, 64, 6, 48], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [6, 48, 24] Generated Node #2: [6, 48, 24] from Operation: 88-64=24 Current State: 18:[6, 48, 24], Operations: ['88-64=24'] Exploring Operation: 48-6=42, Resulting Numbers: [24, 42] Generated Node #3: [24, 42] from Operation: 48-6=42 Current State: 18:[24, 42], Operations: ['88-64=24', '48-6=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[88, 64, 6, 48], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [88, 6, 16] Generated Node #0,0: 18:[88, 6, 16] Operation: 64-48=16 Exploring Operation: 88-64=24, Resulting Numbers: [6, 48, 24] Generated Node #0,1: 18:[6, 48, 24] Operation: 88-64=24 Exploring Operation: 88-48=40, Resulting Numbers: [64, 6, 40] Generated Node #0,2: 18:[64, 6, 40] Operation: 88-48=40 Exploring Operation: 48/6=8, Resulting Numbers: [88, 64, 8] Generated Node #0,3: 18:[88, 64, 8] Operation: 48/6=8 Moving to Node #0,1 Current State: 18:[6, 48, 24], Operations: ['88-64=24'] Exploring Operation: 48/6=8, Resulting Numbers: [24, 8] Generated Node #0,1,0: 18:[24, 8] Operation: 48/6=8 Exploring Operation: 48-24=24, Resulting Numbers: [6, 24] Generated Node #0,1,1: 18:[6, 24] Operation: 48-24=24 Exploring Operation: 48-6=42, Resulting Numbers: [24, 42] Generated Node #0,1,2: 18:[24, 42] Operation: 48-6=42 Exploring Operation: 48/24=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 18:[6, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[6, 2], Operations: ['88-64=24', '48/24=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,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,1 Current State: 18:[6, 24], Operations: ['88-64=24', '48-24=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,18 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[88, 64, 6, 48], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [6, 48, 24] Generated Node #0,1: 18:[6, 48, 24] Operation: 88-64=24 Moving to Node #0,1 Current State: 18:[6, 48, 24], Operations: ['88-64=24'] Exploring Operation: 48-24=24, Resulting Numbers: [6, 24] Generated Node #0,1,1: 18:[6, 24] Operation: 48-24=24 Moving to Node #0,1,1 Current State: 18:[6, 24], Operations: ['88-64=24', '48-24=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 10, 89, 51, 50 ]
78
[ "89-10=79", "51-50=1", "79-1=78" ]
Current State: 78:[10, 89, 51, 50], Operations: [] Exploring Operation: 89-10=79, Resulting Numbers: [51, 50, 79] Generated Node #2: [51, 50, 79] from Operation: 89-10=79 Current State: 78:[51, 50, 79], Operations: ['89-10=79'] Exploring Operation: 51-50=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 51-50=1 Current State: 78:[79, 1], Operations: ['89-10=79', '51-50=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[10, 89, 51, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [10, 51, 39] Generated Node #0,0: 78:[10, 51, 39] Operation: 89-50=39 Exploring Operation: 89-10=79, Resulting Numbers: [51, 50, 79] Generated Node #0,1: 78:[51, 50, 79] Operation: 89-10=79 Exploring Operation: 51-50=1, Resulting Numbers: [10, 89, 1] Generated Node #0,2: 78:[10, 89, 1] Operation: 51-50=1 Exploring Operation: 89-51=38, Resulting Numbers: [10, 50, 38] Generated Node #0,3: 78:[10, 50, 38] Operation: 89-51=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[10, 51, 39], Operations: ['89-50=39'] Exploring Operation: 51+39=90, Resulting Numbers: [10, 90] Generated Node #0,0,0: 78:[10, 90] Operation: 51+39=90 Exploring Operation: 39-10=29, Resulting Numbers: [51, 29] Generated Node #0,0,1: 78:[51, 29] Operation: 39-10=29 Exploring Operation: 51-39=12, Resulting Numbers: [10, 12] Generated Node #0,0,2: 78:[10, 12] Operation: 51-39=12 Exploring Operation: 51-10=41, Resulting Numbers: [39, 41] Generated Node #0,0,3: 78:[39, 41] Operation: 51-10=41 Moving to Node #0,0,3 Current State: 78:[39, 41], Operations: ['89-50=39', '51-10=41'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,78 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[10, 12], Operations: ['89-50=39', '51-39=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[51, 29], Operations: ['89-50=39', '39-10=29'] Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,78 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[10, 90], Operations: ['89-50=39', '51+39=90'] Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,78 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[10, 89, 1], Operations: ['51-50=1'] Exploring Operation: 89-10=79, Resulting Numbers: [1, 79] Generated Node #0,2,0: 78:[1, 79] Operation: 89-10=79 Exploring Operation: 10+1=11, Resulting Numbers: [89, 11] Generated Node #0,2,1: 78:[89, 11] Operation: 10+1=11 Exploring Operation: 10*1=10, Resulting Numbers: [89, 10] Generated Node #0,2,2: 78:[89, 10] Operation: 10*1=10 Exploring Operation: 89-1=88, Resulting Numbers: [10, 88] Generated Node #0,2,3: 78:[10, 88] Operation: 89-1=88 Moving to Node #0,2,0 Current State: 78:[1, 79], Operations: ['51-50=1', '89-10=79'] Exploring Operation: 1*79=79, Resulting Numbers: [79] 79,78 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[10, 89, 51, 50], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [10, 89, 1] Generated Node #0,2: 78:[10, 89, 1] Operation: 51-50=1 Moving to Node #0,2 Current State: 78:[10, 89, 1], Operations: ['51-50=1'] Exploring Operation: 89-10=79, Resulting Numbers: [1, 79] Generated Node #0,2,0: 78:[1, 79] Operation: 89-10=79 Moving to Node #0,2,0 Current State: 78:[1, 79], Operations: ['51-50=1', '89-10=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 7, 88, 61, 38 ]
18
[ "88-7=81", "61+38=99", "99-81=18" ]
Current State: 18:[7, 88, 61, 38], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [61, 38, 81] Generated Node #2: [61, 38, 81] from Operation: 88-7=81 Current State: 18:[61, 38, 81], Operations: ['88-7=81'] Exploring Operation: 61+38=99, Resulting Numbers: [81, 99] Generated Node #3: [81, 99] from Operation: 61+38=99 Current State: 18:[81, 99], Operations: ['88-7=81', '61+38=99'] Exploring Operation: 99-81=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[7, 88, 61, 38], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [7, 38, 27] Generated Node #0,0: 18:[7, 38, 27] Operation: 88-61=27 Exploring Operation: 88-38=50, Resulting Numbers: [7, 61, 50] Generated Node #0,1: 18:[7, 61, 50] Operation: 88-38=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[7, 38, 27], Operations: ['88-61=27'] Exploring Operation: 38-27=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 18:[7, 11] Operation: 38-27=11 Exploring Operation: 38-7=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 18:[27, 31] Operation: 38-7=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[7, 11], Operations: ['88-61=27', '38-27=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[7, 88, 61, 38], Operations: [] Exploring Operation: 88-61=27, Resulting Numbers: [7, 38, 27] Generated Node #0,0: 18:[7, 38, 27] Operation: 88-61=27 Moving to Node #0,0 Current State: 18:[7, 38, 27], Operations: ['88-61=27'] Exploring Operation: 38-27=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 18:[7, 11] Operation: 38-27=11 Moving to Node #0,0,0 Current State: 18:[7, 11], Operations: ['88-61=27', '38-27=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 81, 2, 62, 13 ]
74
[ "81-13=68", "2*68=136", "136-62=74" ]
Current State: 74:[81, 2, 62, 13], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [2, 62, 68] Generated Node #2: [2, 62, 68] from Operation: 81-13=68 Current State: 74:[2, 62, 68], Operations: ['81-13=68'] Exploring Operation: 2*68=136, Resulting Numbers: [62, 136] Generated Node #3: [62, 136] from Operation: 2*68=136 Current State: 74:[62, 136], Operations: ['81-13=68', '2*68=136'] Exploring Operation: 136-62=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[81, 2, 62, 13], Operations: [] Exploring Operation: 62-13=49, Resulting Numbers: [81, 2, 49] Generated Node #0,0: 74:[81, 2, 49] Operation: 62-13=49 Exploring Operation: 81-13=68, Resulting Numbers: [2, 62, 68] Generated Node #0,1: 74:[2, 62, 68] Operation: 81-13=68 Exploring Operation: 62/2=31, Resulting Numbers: [81, 13, 31] Generated Node #0,2: 74:[81, 13, 31] Operation: 62/2=31 Exploring Operation: 62+13=75, Resulting Numbers: [81, 2, 75] Generated Node #0,3: 74:[81, 2, 75] Operation: 62+13=75 Moving to Node #0,3 Current State: 74:[81, 2, 75], Operations: ['62+13=75'] Exploring Operation: 75-2=73, Resulting Numbers: [81, 73] Generated Node #0,3,0: 74:[81, 73] Operation: 75-2=73 Exploring Operation: 81+2=83, Resulting Numbers: [75, 83] Generated Node #0,3,1: 74:[75, 83] Operation: 81+2=83 Exploring Operation: 81-2=79, Resulting Numbers: [75, 79] Generated Node #0,3,2: 74:[75, 79] Operation: 81-2=79 Exploring Operation: 81-75=6, Resulting Numbers: [2, 6] Generated Node #0,3,3: 74:[2, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[2, 6], Operations: ['62+13=75', '81-75=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[75, 79], Operations: ['62+13=75', '81-2=79'] Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,74 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[81, 73], Operations: ['62+13=75', '75-2=73'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 81+73=154, Resulting Numbers: [154] 154,74 unequal: No Solution Exploring Operation: 81*73=5913, Resulting Numbers: [5913] 5913,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[75, 83], Operations: ['62+13=75', '81+2=83'] Exploring Operation: 75+83=158, Resulting Numbers: [158] 158,74 unequal: No Solution Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 75*83=6225, Resulting Numbers: [6225] 6225,74 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: 74:[2, 62, 68], Operations: ['81-13=68'] Exploring Operation: 2+62=64, Resulting Numbers: [68, 64] Generated Node #0,1,0: 74:[68, 64] Operation: 2+62=64 Exploring Operation: 68/2=34, Resulting Numbers: [62, 34] Generated Node #0,1,1: 74:[62, 34] Operation: 68/2=34 Exploring Operation: 68-62=6, Resulting Numbers: [2, 6] Generated Node #0,1,2: 74:[2, 6] Operation: 68-62=6 Exploring Operation: 62/2=31, Resulting Numbers: [68, 31] Generated Node #0,1,3: 74:[68, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[2, 6], Operations: ['81-13=68', '68-62=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[68, 31], Operations: ['81-13=68', '62/2=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,74 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[62, 34], Operations: ['81-13=68', '68/2=34'] Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,74 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[68, 64], Operations: ['81-13=68', '2+62=64'] Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,74 unequal: No Solution Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,74 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: 74:[81, 2, 49], Operations: ['62-13=49'] Exploring Operation: 49-2=47, Resulting Numbers: [81, 47] Generated Node #0,0,0: 74:[81, 47] Operation: 49-2=47 Exploring Operation: 81+2=83, Resulting Numbers: [49, 83] Generated Node #0,0,1: 74:[49, 83] Operation: 81+2=83 Exploring Operation: 81-2=79, Resulting Numbers: [49, 79] Generated Node #0,0,2: 74:[49, 79] Operation: 81-2=79 Exploring Operation: 81-49=32, Resulting Numbers: [2, 32] Generated Node #0,0,3: 74:[2, 32] Operation: 81-49=32 Moving to Node #0,2 Current State: 74:[81, 13, 31], Operations: ['62/2=31'] Exploring Operation: 81-13=68, Resulting Numbers: [31, 68] Generated Node #0,2,0: 74:[31, 68] Operation: 81-13=68 Exploring Operation: 31-13=18, Resulting Numbers: [81, 18] Generated Node #0,2,1: 74:[81, 18] Operation: 31-13=18 Exploring Operation: 13+31=44, Resulting Numbers: [81, 44] Generated Node #0,2,2: 74:[81, 44] Operation: 13+31=44 Exploring Operation: 81-31=50, Resulting Numbers: [13, 50] Generated Node #0,2,3: 74:[13, 50] Operation: 81-31=50 Moving to Node #0,0,3 Current State: 74:[2, 32], Operations: ['62-13=49', '81-49=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[31, 68], Operations: ['62/2=31', '81-13=68'] Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,74 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[81, 44], Operations: ['62/2=31', '13+31=44'] Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,74 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[49, 79], Operations: ['62-13=49', '81-2=79'] Exploring Operation: 49*79=3871, Resulting Numbers: [3871] 3871,74 unequal: No Solution Exploring Operation: 49+79=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[81, 47], Operations: ['62-13=49', '49-2=47'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[49, 83], Operations: ['62-13=49', '81+2=83'] Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,74 unequal: No Solution Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[81, 18], Operations: ['62/2=31', '31-13=18'] Exploring Operation: 81*18=1458, Resulting Numbers: [1458] 1458,74 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[13, 50], Operations: ['62/2=31', '81-31=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,74 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 87, 92, 19, 22 ]
46
[ "92-87=5", "19+22=41", "5+41=46" ]
Current State: 46:[87, 92, 19, 22], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [19, 22, 5] Generated Node #2: [19, 22, 5] from Operation: 92-87=5 Current State: 46:[19, 22, 5], Operations: ['92-87=5'] Exploring Operation: 19+22=41, Resulting Numbers: [5, 41] Generated Node #3: [5, 41] from Operation: 19+22=41 Current State: 46:[5, 41], Operations: ['92-87=5', '19+22=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[87, 92, 19, 22], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [19, 22, 5] Generated Node #0,0: 46:[19, 22, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[19, 22, 5], Operations: ['92-87=5'] Exploring Operation: 19+5=24, Resulting Numbers: [22, 24] Generated Node #0,0,0: 46:[22, 24] Operation: 19+5=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[22, 24], Operations: ['92-87=5', '19+5=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[87, 92, 19, 22], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [19, 22, 5] Generated Node #0,0: 46:[19, 22, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 46:[19, 22, 5], Operations: ['92-87=5'] Exploring Operation: 19+5=24, Resulting Numbers: [22, 24] Generated Node #0,0,0: 46:[22, 24] Operation: 19+5=24 Moving to Node #0,0,0 Current State: 46:[22, 24], Operations: ['92-87=5', '19+5=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 92, 56, 3 ]
26
[ "92-56=36", "36/3=12", "38-12=26" ]
Current State: 26:[38, 92, 56, 3], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [38, 3, 36] Generated Node #2: [38, 3, 36] from Operation: 92-56=36 Current State: 26:[38, 3, 36], Operations: ['92-56=36'] Exploring Operation: 36/3=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 36/3=12 Current State: 26:[38, 12], Operations: ['92-56=36', '36/3=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[38, 92, 56, 3], Operations: [] Exploring Operation: 92-38=54, Resulting Numbers: [56, 3, 54] Generated Node #0,0: 26:[56, 3, 54] Operation: 92-38=54 Exploring Operation: 92-56=36, Resulting Numbers: [38, 3, 36] Generated Node #0,1: 26:[38, 3, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[38, 3, 36], Operations: ['92-56=36'] Exploring Operation: 38-36=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 26:[3, 2] Operation: 38-36=2 Exploring Operation: 36/3=12, Resulting Numbers: [38, 12] Generated Node #0,1,1: 26:[38, 12] Operation: 36/3=12 Moving to Node #0,1,0 Current State: 26:[3, 2], Operations: ['92-56=36', '38-36=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[38, 12], Operations: ['92-56=36', '36/3=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[38, 92, 56, 3], Operations: [] Exploring Operation: 92-56=36, Resulting Numbers: [38, 3, 36] Generated Node #0,1: 26:[38, 3, 36] Operation: 92-56=36 Moving to Node #0,1 Current State: 26:[38, 3, 36], Operations: ['92-56=36'] Exploring Operation: 36/3=12, Resulting Numbers: [38, 12] Generated Node #0,1,1: 26:[38, 12] Operation: 36/3=12 Moving to Node #0,1,1 Current State: 26:[38, 12], Operations: ['92-56=36', '36/3=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 95, 11, 9, 33 ]
64
[ "95+11=106", "9+33=42", "106-42=64" ]
Current State: 64:[95, 11, 9, 33], Operations: [] Exploring Operation: 95+11=106, Resulting Numbers: [9, 33, 106] Generated Node #2: [9, 33, 106] from Operation: 95+11=106 Current State: 64:[9, 33, 106], Operations: ['95+11=106'] Exploring Operation: 9+33=42, Resulting Numbers: [106, 42] Generated Node #3: [106, 42] from Operation: 9+33=42 Current State: 64:[106, 42], Operations: ['95+11=106', '9+33=42'] Exploring Operation: 106-42=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[95, 11, 9, 33], Operations: [] Exploring Operation: 95-11=84, Resulting Numbers: [9, 33, 84] Generated Node #0,0: 64:[9, 33, 84] Operation: 95-11=84 Exploring Operation: 95-33=62, Resulting Numbers: [11, 9, 62] Generated Node #0,1: 64:[11, 9, 62] Operation: 95-33=62 Exploring Operation: 95-9=86, Resulting Numbers: [11, 33, 86] Generated Node #0,2: 64:[11, 33, 86] Operation: 95-9=86 Moving to Node #0,1 Current State: 64:[11, 9, 62], Operations: ['95-33=62'] Exploring Operation: 11+9=20, Resulting Numbers: [62, 20] Generated Node #0,1,0: 64:[62, 20] Operation: 11+9=20 Exploring Operation: 11+62=73, Resulting Numbers: [9, 73] Generated Node #0,1,1: 64:[9, 73] Operation: 11+62=73 Exploring Operation: 11-9=2, Resulting Numbers: [62, 2] Generated Node #0,1,2: 64:[62, 2] Operation: 11-9=2 Moving to Node #0,0 Current State: 64:[9, 33, 84], Operations: ['95-11=84'] Exploring Operation: 33-9=24, Resulting Numbers: [84, 24] Generated Node #0,0,0: 64:[84, 24] Operation: 33-9=24 Exploring Operation: 84-33=51, Resulting Numbers: [9, 51] Generated Node #0,0,1: 64:[9, 51] Operation: 84-33=51 Exploring Operation: 84-9=75, Resulting Numbers: [33, 75] Generated Node #0,0,2: 64:[33, 75] Operation: 84-9=75 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[33, 75], Operations: ['95-11=84', '84-9=75'] Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,64 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[9, 51], Operations: ['95-11=84', '84-33=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,64 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[84, 24], Operations: ['95-11=84', '33-9=24'] Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,64 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[11, 33, 86], Operations: ['95-9=86'] Exploring Operation: 33/11=3, Resulting Numbers: [86, 3] Generated Node #0,2,0: 64:[86, 3] Operation: 33/11=3 Exploring Operation: 86-33=53, Resulting Numbers: [11, 53] Generated Node #0,2,1: 64:[11, 53] Operation: 86-33=53 Exploring Operation: 86-11=75, Resulting Numbers: [33, 75] Generated Node #0,2,2: 64:[33, 75] Operation: 86-11=75 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[33, 75], Operations: ['95-9=86', '86-11=75'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[11, 53], Operations: ['95-9=86', '86-33=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[95, 11, 9, 33], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [11, 33, 86] Generated Node #0,2: 64:[11, 33, 86] Operation: 95-9=86 Moving to Node #0,2 Current State: 64:[11, 33, 86], Operations: ['95-9=86'] Exploring Operation: 86-33=53, Resulting Numbers: [11, 53] Generated Node #0,2,1: 64:[11, 53] Operation: 86-33=53 Moving to Node #0,2,1 Current State: 64:[11, 53], Operations: ['95-9=86', '86-33=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
sum_heuristic
[ 46, 16, 56, 26 ]
100
[ "56-46=10", "26-16=10", "10*10=100" ]
Current State: 100:[46, 16, 56, 26], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [16, 26, 10] Generated Node #2: [16, 26, 10] from Operation: 56-46=10 Current State: 100:[16, 26, 10], Operations: ['56-46=10'] Exploring Operation: 26-16=10, Resulting Numbers: [10, 10] Generated Node #3: [10, 10] from Operation: 26-16=10 Current State: 100:[10, 10], Operations: ['56-46=10', '26-16=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[46, 16, 56, 26], Operations: [] Exploring Operation: 46-26=20, Resulting Numbers: [16, 56, 20] Generated Node #0,0: 100:[16, 56, 20] Operation: 46-26=20 Exploring Operation: 46+56=102, Resulting Numbers: [16, 26, 102] Generated Node #0,1: 100:[16, 26, 102] Operation: 46+56=102 Exploring Operation: 26-16=10, Resulting Numbers: [46, 56, 10] Generated Node #0,2: 100:[46, 56, 10] Operation: 26-16=10 Exploring Operation: 46-16=30, Resulting Numbers: [56, 26, 30] Generated Node #0,3: 100:[56, 26, 30] Operation: 46-16=30 Exploring Operation: 56-46=10, Resulting Numbers: [16, 26, 10] Generated Node #0,4: 100:[16, 26, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[16, 26, 10], Operations: ['56-46=10'] Exploring Operation: 26-16=10, Resulting Numbers: [10, 10] Generated Node #0,4,0: 100:[10, 10] Operation: 26-16=10 Exploring Operation: 16+10=26, Resulting Numbers: [26, 26] Generated Node #0,4,1: 100:[26, 26] Operation: 16+10=26 Exploring Operation: 16-10=6, Resulting Numbers: [26, 6] Generated Node #0,4,2: 100:[26, 6] Operation: 16-10=6 Exploring Operation: 26-10=16, Resulting Numbers: [16, 16] Generated Node #0,4,3: 100:[16, 16] Operation: 26-10=16 Exploring Operation: 16+26=42, Resulting Numbers: [10, 42] Generated Node #0,4,4: 100:[10, 42] Operation: 16+26=42 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[10, 10], Operations: ['56-46=10', '26-16=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[46, 16, 56, 26], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [16, 26, 10] Generated Node #0,4: 100:[16, 26, 10] Operation: 56-46=10 Moving to Node #0,4 Current State: 100:[16, 26, 10], Operations: ['56-46=10'] Exploring Operation: 26-16=10, Resulting Numbers: [10, 10] Generated Node #0,4,0: 100:[10, 10] Operation: 26-16=10 Moving to Node #0,4,0 Current State: 100:[10, 10], Operations: ['56-46=10', '26-16=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 50, 52, 82, 44 ]
78
[ "50*82=4100", "4100-44=4056", "4056/52=78" ]
Current State: 78:[50, 52, 82, 44], Operations: [] Exploring Operation: 50*82=4100, Resulting Numbers: [52, 44, 4100] Generated Node #2: [52, 44, 4100] from Operation: 50*82=4100 Current State: 78:[52, 44, 4100], Operations: ['50*82=4100'] Exploring Operation: 4100-44=4056, Resulting Numbers: [52, 4056] Generated Node #3: [52, 4056] from Operation: 4100-44=4056 Current State: 78:[52, 4056], Operations: ['50*82=4100', '4100-44=4056'] Exploring Operation: 4056/52=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[50, 52, 82, 44], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [50, 82, 8] Generated Node #0,0: 78:[50, 82, 8] Operation: 52-44=8 Exploring Operation: 82-52=30, Resulting Numbers: [50, 44, 30] Generated Node #0,1: 78:[50, 44, 30] Operation: 82-52=30 Exploring Operation: 50-44=6, Resulting Numbers: [52, 82, 6] Generated Node #0,2: 78:[52, 82, 6] Operation: 50-44=6 Exploring Operation: 52-50=2, Resulting Numbers: [82, 44, 2] Generated Node #0,3: 78:[82, 44, 2] Operation: 52-50=2 Moving to Node #0,3 Current State: 78:[82, 44, 2], Operations: ['52-50=2'] Exploring Operation: 82-44=38, Resulting Numbers: [2, 38] Generated Node #0,3,0: 78:[2, 38] Operation: 82-44=38 Exploring Operation: 44-2=42, Resulting Numbers: [82, 42] Generated Node #0,3,1: 78:[82, 42] Operation: 44-2=42 Exploring Operation: 82/2=41, Resulting Numbers: [44, 41] Generated Node #0,3,2: 78:[44, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [44, 80] Generated Node #0,3,3: 78:[44, 80] Operation: 82-2=80 Moving to Node #0,2 Current State: 78:[52, 82, 6], Operations: ['50-44=6'] Exploring Operation: 82-52=30, Resulting Numbers: [6, 30] Generated Node #0,2,0: 78:[6, 30] Operation: 82-52=30 Exploring Operation: 52-6=46, Resulting Numbers: [82, 46] Generated Node #0,2,1: 78:[82, 46] Operation: 52-6=46 Exploring Operation: 82-6=76, Resulting Numbers: [52, 76] Generated Node #0,2,2: 78:[52, 76] Operation: 82-6=76 Exploring Operation: 52+6=58, Resulting Numbers: [82, 58] Generated Node #0,2,3: 78:[82, 58] Operation: 52+6=58 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[6, 30], Operations: ['50-44=6', '82-52=30'] Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,78 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[82, 46], Operations: ['50-44=6', '52-6=46'] Exploring Operation: 82+46=128, Resulting Numbers: [128] 128,78 unequal: No Solution Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 82*46=3772, Resulting Numbers: [3772] 3772,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[52, 76], Operations: ['50-44=6', '82-6=76'] Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,78 unequal: No Solution Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[82, 58], Operations: ['50-44=6', '52+6=58'] Exploring Operation: 82*58=4756, Resulting Numbers: [4756] 4756,78 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 82+58=140, Resulting Numbers: [140] 140,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 78:[50, 82, 8], Operations: ['52-44=8'] Exploring Operation: 50-8=42, Resulting Numbers: [82, 42] Generated Node #0,0,0: 78:[82, 42] Operation: 50-8=42 Exploring Operation: 82-8=74, Resulting Numbers: [50, 74] Generated Node #0,0,1: 78:[50, 74] Operation: 82-8=74 Exploring Operation: 82-50=32, Resulting Numbers: [8, 32] Generated Node #0,0,2: 78:[8, 32] Operation: 82-50=32 Exploring Operation: 50+8=58, Resulting Numbers: [82, 58] Generated Node #0,0,3: 78:[82, 58] Operation: 50+8=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[82, 42], Operations: ['52-44=8', '50-8=42'] Exploring Operation: 82+42=124, Resulting Numbers: [124] 124,78 unequal: No Solution Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 82*42=3444, Resulting Numbers: [3444] 3444,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[8, 32], Operations: ['52-44=8', '82-50=32'] Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,78 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[50, 74], Operations: ['52-44=8', '82-8=74'] Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,78 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[82, 58], Operations: ['52-44=8', '50+8=58'] Exploring Operation: 82+58=140, Resulting Numbers: [140] 140,78 unequal: No Solution Exploring Operation: 82*58=4756, Resulting Numbers: [4756] 4756,78 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,78 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: 78:[50, 44, 30], Operations: ['82-52=30'] Exploring Operation: 50-44=6, Resulting Numbers: [30, 6] Generated Node #0,1,0: 78:[30, 6] Operation: 50-44=6 Exploring Operation: 50+30=80, Resulting Numbers: [44, 80] Generated Node #0,1,1: 78:[44, 80] Operation: 50+30=80 Exploring Operation: 44-30=14, Resulting Numbers: [50, 14] Generated Node #0,1,2: 78:[50, 14] Operation: 44-30=14 Exploring Operation: 50-30=20, Resulting Numbers: [44, 20] Generated Node #0,1,3: 78:[44, 20] Operation: 50-30=20 Moving to Node #0,3,0 Current State: 78:[2, 38], Operations: ['52-50=2', '82-44=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[30, 6], Operations: ['82-52=30', '50-44=6'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[44, 41], Operations: ['52-50=2', '82/2=41'] Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,78 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[44, 80], Operations: ['82-52=30', '50+30=80'] Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,78 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[82, 42], Operations: ['52-50=2', '44-2=42'] Exploring Operation: 82+42=124, Resulting Numbers: [124] 124,78 unequal: No Solution Exploring Operation: 82*42=3444, Resulting Numbers: [3444] 3444,78 unequal: No Solution Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[44, 80], Operations: ['52-50=2', '82-2=80'] Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,78 unequal: No Solution Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,78 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[44, 20], Operations: ['82-52=30', '50-30=20'] Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,78 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[50, 14], Operations: ['82-52=30', '44-30=14'] Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 41, 66, 4, 25 ]
33
[ "41+66=107", "25+107=132", "132/4=33" ]
Current State: 33:[41, 66, 4, 25], Operations: [] Exploring Operation: 41+66=107, Resulting Numbers: [4, 25, 107] Generated Node #2: [4, 25, 107] from Operation: 41+66=107 Current State: 33:[4, 25, 107], Operations: ['41+66=107'] Exploring Operation: 25+107=132, Resulting Numbers: [4, 132] Generated Node #3: [4, 132] from Operation: 25+107=132 Current State: 33:[4, 132], Operations: ['41+66=107', '25+107=132'] Exploring Operation: 132/4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[41, 66, 4, 25], Operations: [] Exploring Operation: 66-25=41, Resulting Numbers: [41, 4, 41] Generated Node #0,0: 33:[41, 4, 41] Operation: 66-25=41 Exploring Operation: 66-41=25, Resulting Numbers: [4, 25, 25] Generated Node #0,1: 33:[4, 25, 25] Operation: 66-41=25 Exploring Operation: 41-4=37, Resulting Numbers: [66, 25, 37] Generated Node #0,2: 33:[66, 25, 37] Operation: 41-4=37 Exploring Operation: 41-25=16, Resulting Numbers: [66, 4, 16] Generated Node #0,3: 33:[66, 4, 16] Operation: 41-25=16 Moving to Node #0,0 Current State: 33:[41, 4, 41], Operations: ['66-25=41'] Exploring Operation: 41/41=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 33:[4, 1] Operation: 41/41=1 Exploring Operation: 41-4=37, Resulting Numbers: [41, 37] Generated Node #0,0,1: 33:[41, 37] Operation: 41-4=37 Exploring Operation: 41-41=0, Resulting Numbers: [4, 0] Generated Node #0,0,2: 33:[4, 0] Operation: 41-41=0 Exploring Operation: 41-4=37, Resulting Numbers: [41, 37] Generated Node #0,0,3: 33:[41, 37] Operation: 41-4=37 Moving to Node #0,1 Current State: 33:[4, 25, 25], Operations: ['66-41=25'] Exploring Operation: 4+25=29, Resulting Numbers: [25, 29] Generated Node #0,1,0: 33:[25, 29] Operation: 4+25=29 Exploring Operation: 25/25=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 33:[4, 1] Operation: 25/25=1 Exploring Operation: 25-25=0, Resulting Numbers: [4, 0] Generated Node #0,1,2: 33:[4, 0] Operation: 25-25=0 Exploring Operation: 4+25=29, Resulting Numbers: [25, 29] Generated Node #0,1,3: 33:[25, 29] Operation: 4+25=29 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[4, 1], Operations: ['66-41=25', '25/25=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[4, 0], Operations: ['66-41=25', '25-25=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[25, 29], Operations: ['66-41=25', '4+25=29'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[25, 29], Operations: ['66-41=25', '4+25=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,33 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: 33:[66, 4, 16], Operations: ['41-25=16'] Exploring Operation: 16/4=4, Resulting Numbers: [66, 4] Generated Node #0,3,0: 33:[66, 4] Operation: 16/4=4 Exploring Operation: 66-16=50, Resulting Numbers: [4, 50] Generated Node #0,3,1: 33:[4, 50] Operation: 66-16=50 Exploring Operation: 16-4=12, Resulting Numbers: [66, 12] Generated Node #0,3,2: 33:[66, 12] Operation: 16-4=12 Exploring Operation: 66-4=62, Resulting Numbers: [16, 62] Generated Node #0,3,3: 33:[16, 62] Operation: 66-4=62 Moving to Node #0,2 Current State: 33:[66, 25, 37], Operations: ['41-4=37'] Exploring Operation: 66-37=29, Resulting Numbers: [25, 29] Generated Node #0,2,0: 33:[25, 29] Operation: 66-37=29 Exploring Operation: 66-25=41, Resulting Numbers: [37, 41] Generated Node #0,2,1: 33:[37, 41] Operation: 66-25=41 Exploring Operation: 66+25=91, Resulting Numbers: [37, 91] Generated Node #0,2,2: 33:[37, 91] Operation: 66+25=91 Exploring Operation: 37-25=12, Resulting Numbers: [66, 12] Generated Node #0,2,3: 33:[66, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[25, 29], Operations: ['41-4=37', '66-37=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 25*29=725, Resulting Numbers: [725] 725,33 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[37, 41], Operations: ['41-4=37', '66-25=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[66, 12], Operations: ['41-4=37', '37-25=12'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,33 unequal: No Solution Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[37, 91], Operations: ['41-4=37', '66+25=91'] Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,33 unequal: No Solution Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,33 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: 33:[4, 1], Operations: ['66-25=41', '41/41=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[4, 0], Operations: ['66-25=41', '41-41=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[41, 37], Operations: ['66-25=41', '41-4=37'] Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,33 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[41, 37], Operations: ['66-25=41', '41-4=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[4, 50], Operations: ['41-25=16', '66-16=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[66, 4], Operations: ['41-25=16', '16/4=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[16, 62], Operations: ['41-25=16', '66-4=62'] Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,33 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[66, 12], Operations: ['41-25=16', '16-4=12'] Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,33 unequal: No Solution Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,33 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 21, 3, 88, 27 ]
91
[ "21+3=24", "88+27=115", "115-24=91" ]
Current State: 91:[21, 3, 88, 27], Operations: [] Exploring Operation: 21+3=24, Resulting Numbers: [88, 27, 24] Generated Node #2: [88, 27, 24] from Operation: 21+3=24 Current State: 91:[88, 27, 24], Operations: ['21+3=24'] Exploring Operation: 88+27=115, Resulting Numbers: [24, 115] Generated Node #3: [24, 115] from Operation: 88+27=115 Current State: 91:[24, 115], Operations: ['21+3=24', '88+27=115'] Exploring Operation: 115-24=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[21, 3, 88, 27], Operations: [] Exploring Operation: 27-21=6, Resulting Numbers: [3, 88, 6] Generated Node #0,0: 91:[3, 88, 6] Operation: 27-21=6 Moving to Node #0,0 Current State: 91:[3, 88, 6], Operations: ['27-21=6'] Exploring Operation: 3+88=91, Resulting Numbers: [6, 91] Generated Node #0,0,0: 91:[6, 91] Operation: 3+88=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[6, 91], Operations: ['27-21=6', '3+88=91'] Exploring Operation: 6+91=97, Resulting Numbers: [97] 97,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 35, 6, 52, 97 ]
30
[ "35+97=132", "132/6=22", "52-22=30" ]
Current State: 30:[35, 6, 52, 97], Operations: [] Exploring Operation: 35+97=132, Resulting Numbers: [6, 52, 132] Generated Node #2: [6, 52, 132] from Operation: 35+97=132 Current State: 30:[6, 52, 132], Operations: ['35+97=132'] Exploring Operation: 132/6=22, Resulting Numbers: [52, 22] Generated Node #3: [52, 22] from Operation: 132/6=22 Current State: 30:[52, 22], Operations: ['35+97=132', '132/6=22'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[35, 6, 52, 97], Operations: [] Exploring Operation: 97-52=45, Resulting Numbers: [35, 6, 45] Generated Node #0,0: 30:[35, 6, 45] Operation: 97-52=45 Exploring Operation: 52-35=17, Resulting Numbers: [6, 97, 17] Generated Node #0,1: 30:[6, 97, 17] Operation: 52-35=17 Exploring Operation: 97-35=62, Resulting Numbers: [6, 52, 62] Generated Node #0,2: 30:[6, 52, 62] Operation: 97-35=62 Moving to Node #0,0 Current State: 30:[35, 6, 45], Operations: ['97-52=45'] Exploring Operation: 35-6=29, Resulting Numbers: [45, 29] Generated Node #0,0,0: 30:[45, 29] Operation: 35-6=29 Exploring Operation: 45-6=39, Resulting Numbers: [35, 39] Generated Node #0,0,1: 30:[35, 39] Operation: 45-6=39 Exploring Operation: 45-35=10, Resulting Numbers: [6, 10] Generated Node #0,0,2: 30:[6, 10] Operation: 45-35=10 Moving to Node #0,2 Current State: 30:[6, 52, 62], Operations: ['97-35=62'] Exploring Operation: 62-6=56, Resulting Numbers: [52, 56] Generated Node #0,2,0: 30:[52, 56] Operation: 62-6=56 Exploring Operation: 52-6=46, Resulting Numbers: [62, 46] Generated Node #0,2,1: 30:[62, 46] Operation: 52-6=46 Exploring Operation: 62-52=10, Resulting Numbers: [6, 10] Generated Node #0,2,2: 30:[6, 10] Operation: 62-52=10 Moving to Node #0,1 Current State: 30:[6, 97, 17], Operations: ['52-35=17'] Exploring Operation: 97-17=80, Resulting Numbers: [6, 80] Generated Node #0,1,0: 30:[6, 80] Operation: 97-17=80 Exploring Operation: 17-6=11, Resulting Numbers: [97, 11] Generated Node #0,1,1: 30:[97, 11] Operation: 17-6=11 Exploring Operation: 97-6=91, Resulting Numbers: [17, 91] Generated Node #0,1,2: 30:[17, 91] Operation: 97-6=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[6, 80], Operations: ['52-35=17', '97-17=80'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,30 unequal: No Solution Exploring Operation: 6+80=86, Resulting Numbers: [86] 86,30 unequal: No Solution Exploring Operation: 6*80=480, Resulting Numbers: [480] 480,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 30:[17, 91], Operations: ['52-35=17', '97-6=91'] Exploring Operation: 17*91=1547, Resulting Numbers: [1547] 1547,30 unequal: No Solution Exploring Operation: 17+91=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[97, 11], Operations: ['52-35=17', '17-6=11'] Exploring Operation: 97*11=1067, Resulting Numbers: [1067] 1067,30 unequal: No Solution Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,30 unequal: No Solution Exploring Operation: 97+11=108, Resulting Numbers: [108] 108,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 30:[6, 10], Operations: ['97-52=45', '45-35=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[6, 10], Operations: ['97-35=62', '62-52=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[35, 39], Operations: ['97-52=45', '45-6=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,30 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[45, 29], Operations: ['97-52=45', '35-6=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,30 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,30 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[62, 46], Operations: ['97-35=62', '52-6=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,30 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[52, 56], Operations: ['97-35=62', '62-6=56'] Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,30 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 82, 19, 12, 22 ]
67
[ "82+19=101", "12+22=34", "101-34=67" ]
Current State: 67:[82, 19, 12, 22], Operations: [] Exploring Operation: 82+19=101, Resulting Numbers: [12, 22, 101] Generated Node #2: [12, 22, 101] from Operation: 82+19=101 Current State: 67:[12, 22, 101], Operations: ['82+19=101'] Exploring Operation: 12+22=34, Resulting Numbers: [101, 34] Generated Node #3: [101, 34] from Operation: 12+22=34 Current State: 67:[101, 34], Operations: ['82+19=101', '12+22=34'] Exploring Operation: 101-34=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[82, 19, 12, 22], Operations: [] Exploring Operation: 19+22=41, Resulting Numbers: [82, 12, 41] Generated Node #0,0: 67:[82, 12, 41] Operation: 19+22=41 Exploring Operation: 19+12=31, Resulting Numbers: [82, 22, 31] Generated Node #0,1: 67:[82, 22, 31] Operation: 19+12=31 Exploring Operation: 82-12=70, Resulting Numbers: [19, 22, 70] Generated Node #0,2: 67:[19, 22, 70] Operation: 82-12=70 Exploring Operation: 12+22=34, Resulting Numbers: [82, 19, 34] Generated Node #0,3: 67:[82, 19, 34] Operation: 12+22=34 Moving to Node #0,0 Current State: 67:[82, 12, 41], Operations: ['19+22=41'] Exploring Operation: 41-12=29, Resulting Numbers: [82, 29] Generated Node #0,0,0: 67:[82, 29] Operation: 41-12=29 Exploring Operation: 12+41=53, Resulting Numbers: [82, 53] Generated Node #0,0,1: 67:[82, 53] Operation: 12+41=53 Exploring Operation: 82-12=70, Resulting Numbers: [41, 70] Generated Node #0,0,2: 67:[41, 70] Operation: 82-12=70 Exploring Operation: 82+12=94, Resulting Numbers: [41, 94] Generated Node #0,0,3: 67:[41, 94] Operation: 82+12=94 Moving to Node #0,2 Current State: 67:[19, 22, 70], Operations: ['82-12=70'] Exploring Operation: 22-19=3, Resulting Numbers: [70, 3] Generated Node #0,2,0: 67:[70, 3] Operation: 22-19=3 Exploring Operation: 19+70=89, Resulting Numbers: [22, 89] Generated Node #0,2,1: 67:[22, 89] Operation: 19+70=89 Exploring Operation: 19+22=41, Resulting Numbers: [70, 41] Generated Node #0,2,2: 67:[70, 41] Operation: 19+22=41 Exploring Operation: 70-19=51, Resulting Numbers: [22, 51] Generated Node #0,2,3: 67:[22, 51] Operation: 70-19=51 Moving to Node #0,1 Current State: 67:[82, 22, 31], Operations: ['19+12=31'] Exploring Operation: 82+22=104, Resulting Numbers: [31, 104] Generated Node #0,1,0: 67:[31, 104] Operation: 82+22=104 Exploring Operation: 22+31=53, Resulting Numbers: [82, 53] Generated Node #0,1,1: 67:[82, 53] Operation: 22+31=53 Exploring Operation: 82-31=51, Resulting Numbers: [22, 51] Generated Node #0,1,2: 67:[22, 51] Operation: 82-31=51 Exploring Operation: 82-22=60, Resulting Numbers: [31, 60] Generated Node #0,1,3: 67:[31, 60] Operation: 82-22=60 Moving to Node #0,3 Current State: 67:[82, 19, 34], Operations: ['12+22=34'] Exploring Operation: 82+19=101, Resulting Numbers: [34, 101] Generated Node #0,3,0: 67:[34, 101] Operation: 82+19=101 Exploring Operation: 82-19=63, Resulting Numbers: [34, 63] Generated Node #0,3,1: 67:[34, 63] Operation: 82-19=63 Exploring Operation: 82-34=48, Resulting Numbers: [19, 48] Generated Node #0,3,2: 67:[19, 48] Operation: 82-34=48 Exploring Operation: 19+34=53, Resulting Numbers: [82, 53] Generated Node #0,3,3: 67:[82, 53] Operation: 19+34=53 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[82, 53], Operations: ['12+22=34', '19+34=53'] Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[34, 63], Operations: ['12+22=34', '82-19=63'] Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,67 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[34, 101], Operations: ['12+22=34', '82+19=101'] Exploring Operation: 101-34=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[82, 19, 12, 22], Operations: [] Exploring Operation: 12+22=34, Resulting Numbers: [82, 19, 34] Generated Node #0,3: 67:[82, 19, 34] Operation: 12+22=34 Moving to Node #0,3 Current State: 67:[82, 19, 34], Operations: ['12+22=34'] Exploring Operation: 82+19=101, Resulting Numbers: [34, 101] Generated Node #0,3,0: 67:[34, 101] Operation: 82+19=101 Moving to Node #0,3,0 Current State: 67:[34, 101], Operations: ['12+22=34', '82+19=101'] Exploring Operation: 101-34=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 82, 83, 70, 32 ]
37
[ "83-82=1", "70-32=38", "38-1=37" ]
Current State: 37:[82, 83, 70, 32], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [70, 32, 1] Generated Node #2: [70, 32, 1] from Operation: 83-82=1 Current State: 37:[70, 32, 1], Operations: ['83-82=1'] Exploring Operation: 70-32=38, Resulting Numbers: [1, 38] Generated Node #3: [1, 38] from Operation: 70-32=38 Current State: 37:[1, 38], Operations: ['83-82=1', '70-32=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[82, 83, 70, 32], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [70, 32, 1] Generated Node #0,0: 37:[70, 32, 1] Operation: 83-82=1 Exploring Operation: 82-32=50, Resulting Numbers: [83, 70, 50] Generated Node #0,1: 37:[83, 70, 50] Operation: 82-32=50 Exploring Operation: 83-70=13, Resulting Numbers: [82, 32, 13] Generated Node #0,2: 37:[82, 32, 13] Operation: 83-70=13 Exploring Operation: 82-70=12, Resulting Numbers: [83, 32, 12] Generated Node #0,3: 37:[83, 32, 12] Operation: 82-70=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[70, 32, 1], Operations: ['83-82=1'] Exploring Operation: 70*1=70, Resulting Numbers: [32, 70] Generated Node #0,0,0: 37:[32, 70] Operation: 70*1=70 Exploring Operation: 70-1=69, Resulting Numbers: [32, 69] Generated Node #0,0,1: 37:[32, 69] Operation: 70-1=69 Exploring Operation: 32+1=33, Resulting Numbers: [70, 33] Generated Node #0,0,2: 37:[70, 33] Operation: 32+1=33 Exploring Operation: 70-32=38, Resulting Numbers: [1, 38] Generated Node #0,0,3: 37:[1, 38] Operation: 70-32=38 Moving to Node #0,0,1 Current State: 37:[32, 69], Operations: ['83-82=1', '70-1=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[82, 83, 70, 32], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [70, 32, 1] Generated Node #0,0: 37:[70, 32, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 37:[70, 32, 1], Operations: ['83-82=1'] Exploring Operation: 70-1=69, Resulting Numbers: [32, 69] Generated Node #0,0,1: 37:[32, 69] Operation: 70-1=69 Moving to Node #0,0,1 Current State: 37:[32, 69], Operations: ['83-82=1', '70-1=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 66, 52, 33, 53 ]
34
[ "66-52=14", "53-33=20", "14+20=34" ]
Current State: 34:[66, 52, 33, 53], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [33, 53, 14] Generated Node #2: [33, 53, 14] from Operation: 66-52=14 Current State: 34:[33, 53, 14], Operations: ['66-52=14'] Exploring Operation: 53-33=20, Resulting Numbers: [14, 20] Generated Node #3: [14, 20] from Operation: 53-33=20 Current State: 34:[14, 20], Operations: ['66-52=14', '53-33=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[66, 52, 33, 53], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [52, 53, 2] Generated Node #0,0: 34:[52, 53, 2] Operation: 66/33=2 Exploring Operation: 66-52=14, Resulting Numbers: [33, 53, 14] Generated Node #0,1: 34:[33, 53, 14] Operation: 66-52=14 Exploring Operation: 66-53=13, Resulting Numbers: [52, 33, 13] Generated Node #0,2: 34:[52, 33, 13] Operation: 66-53=13 Exploring Operation: 53-52=1, Resulting Numbers: [66, 33, 1] Generated Node #0,3: 34:[66, 33, 1] Operation: 53-52=1 Moving to Node #0,1 Current State: 34:[33, 53, 14], Operations: ['66-52=14'] Exploring Operation: 53-33=20, Resulting Numbers: [14, 20] Generated Node #0,1,0: 34:[14, 20] Operation: 53-33=20 Exploring Operation: 33-14=19, Resulting Numbers: [53, 19] Generated Node #0,1,1: 34:[53, 19] Operation: 33-14=19 Exploring Operation: 33+14=47, Resulting Numbers: [53, 47] Generated Node #0,1,2: 34:[53, 47] Operation: 33+14=47 Exploring Operation: 53-14=39, Resulting Numbers: [33, 39] Generated Node #0,1,3: 34:[33, 39] Operation: 53-14=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[14, 20], Operations: ['66-52=14', '53-33=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,34 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[66, 52, 33, 53], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [33, 53, 14] Generated Node #0,1: 34:[33, 53, 14] Operation: 66-52=14 Moving to Node #0,1 Current State: 34:[33, 53, 14], Operations: ['66-52=14'] Exploring Operation: 53-33=20, Resulting Numbers: [14, 20] Generated Node #0,1,0: 34:[14, 20] Operation: 53-33=20 Moving to Node #0,1,0 Current State: 34:[14, 20], Operations: ['66-52=14', '53-33=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 24, 75, 10, 91 ]
30
[ "75-24=51", "91-10=81", "81-51=30" ]
Current State: 30:[24, 75, 10, 91], Operations: [] Exploring Operation: 75-24=51, Resulting Numbers: [10, 91, 51] Generated Node #2: [10, 91, 51] from Operation: 75-24=51 Current State: 30:[10, 91, 51], Operations: ['75-24=51'] Exploring Operation: 91-10=81, Resulting Numbers: [51, 81] Generated Node #3: [51, 81] from Operation: 91-10=81 Current State: 30:[51, 81], Operations: ['75-24=51', '91-10=81'] Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[24, 75, 10, 91], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [24, 10, 16] Generated Node #0,0: 30:[24, 10, 16] Operation: 91-75=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[24, 10, 16], Operations: ['91-75=16'] Exploring Operation: 24-10=14, Resulting Numbers: [16, 14] Generated Node #0,0,0: 30:[16, 14] Operation: 24-10=14 Moving to Node #0,0,0 Current State: 30:[16, 14], Operations: ['91-75=16', '24-10=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[24, 75, 10, 91], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [24, 10, 16] Generated Node #0,0: 30:[24, 10, 16] Operation: 91-75=16 Moving to Node #0,0 Current State: 30:[24, 10, 16], Operations: ['91-75=16'] Exploring Operation: 24-10=14, Resulting Numbers: [16, 14] Generated Node #0,0,0: 30:[16, 14] Operation: 24-10=14 Moving to Node #0,0,0 Current State: 30:[16, 14], Operations: ['91-75=16', '24-10=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 6, 94, 70, 52 ]
82
[ "6+94=100", "70-52=18", "100-18=82" ]
Current State: 82:[6, 94, 70, 52], Operations: [] Exploring Operation: 6+94=100, Resulting Numbers: [70, 52, 100] Generated Node #2: [70, 52, 100] from Operation: 6+94=100 Current State: 82:[70, 52, 100], Operations: ['6+94=100'] Exploring Operation: 70-52=18, Resulting Numbers: [100, 18] Generated Node #3: [100, 18] from Operation: 70-52=18 Current State: 82:[100, 18], Operations: ['6+94=100', '70-52=18'] Exploring Operation: 100-18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[6, 94, 70, 52], Operations: [] Exploring Operation: 94-52=42, Resulting Numbers: [6, 70, 42] Generated Node #0,0: 82:[6, 70, 42] Operation: 94-52=42 Exploring Operation: 94-6=88, Resulting Numbers: [70, 52, 88] Generated Node #0,1: 82:[70, 52, 88] Operation: 94-6=88 Exploring Operation: 6+70=76, Resulting Numbers: [94, 52, 76] Generated Node #0,2: 82:[94, 52, 76] Operation: 6+70=76 Exploring Operation: 52-6=46, Resulting Numbers: [94, 70, 46] Generated Node #0,3: 82:[94, 70, 46] Operation: 52-6=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[6, 70, 42], Operations: ['94-52=42'] Exploring Operation: 42/6=7, Resulting Numbers: [70, 7] Generated Node #0,0,0: 82:[70, 7] Operation: 42/6=7 Exploring Operation: 70-42=28, Resulting Numbers: [6, 28] Generated Node #0,0,1: 82:[6, 28] Operation: 70-42=28 Exploring Operation: 42-6=36, Resulting Numbers: [70, 36] Generated Node #0,0,2: 82:[70, 36] Operation: 42-6=36 Exploring Operation: 6+70=76, Resulting Numbers: [42, 76] Generated Node #0,0,3: 82:[42, 76] Operation: 6+70=76 Moving to Node #0,0,3 Current State: 82:[42, 76], Operations: ['94-52=42', '6+70=76'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 42*76=3192, Resulting Numbers: [3192] 3192,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[6, 28], Operations: ['94-52=42', '70-42=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[70, 7], Operations: ['94-52=42', '42/6=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,82 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[70, 36], Operations: ['94-52=42', '42-6=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,82 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[70, 52, 88], Operations: ['94-6=88'] Exploring Operation: 88-70=18, Resulting Numbers: [52, 18] Generated Node #0,1,0: 82:[52, 18] Operation: 88-70=18 Exploring Operation: 70+52=122, Resulting Numbers: [88, 122] Generated Node #0,1,1: 82:[88, 122] Operation: 70+52=122 Exploring Operation: 70-52=18, Resulting Numbers: [88, 18] Generated Node #0,1,2: 82:[88, 18] Operation: 70-52=18 Exploring Operation: 88-52=36, Resulting Numbers: [70, 36] Generated Node #0,1,3: 82:[70, 36] Operation: 88-52=36 Moving to Node #0,1,3 Current State: 82:[70, 36], Operations: ['94-6=88', '88-52=36'] Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,82 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[88, 18], Operations: ['94-6=88', '70-52=18'] Exploring Operation: 88*18=1584, Resulting Numbers: [1584] 1584,82 unequal: No Solution Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,82 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[52, 18], Operations: ['94-6=88', '88-70=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,82 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[88, 122], Operations: ['94-6=88', '70+52=122'] Exploring Operation: 88+122=210, Resulting Numbers: [210] 210,82 unequal: No Solution Exploring Operation: 88*122=10736, Resulting Numbers: [10736] 10736,82 unequal: No Solution Exploring Operation: 122-88=34, Resulting Numbers: [34] 34,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[94, 52, 76], Operations: ['6+70=76'] Exploring Operation: 52+76=128, Resulting Numbers: [94, 128] Generated Node #0,2,0: 82:[94, 128] Operation: 52+76=128 Exploring Operation: 76-52=24, Resulting Numbers: [94, 24] Generated Node #0,2,1: 82:[94, 24] Operation: 76-52=24 Exploring Operation: 94-52=42, Resulting Numbers: [76, 42] Generated Node #0,2,2: 82:[76, 42] Operation: 94-52=42 Exploring Operation: 94-76=18, Resulting Numbers: [52, 18] Generated Node #0,2,3: 82:[52, 18] Operation: 94-76=18 Moving to Node #0,2,2 Current State: 82:[76, 42], Operations: ['6+70=76', '94-52=42'] Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,82 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[52, 18], Operations: ['6+70=76', '94-76=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,82 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[94, 24], Operations: ['6+70=76', '76-52=24'] Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,82 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[94, 128], Operations: ['6+70=76', '52+76=128'] Exploring Operation: 94+128=222, Resulting Numbers: [222] 222,82 unequal: No Solution Exploring Operation: 128-94=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 94*128=12032, Resulting Numbers: [12032] 12032,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[94, 70, 46], Operations: ['52-6=46'] Exploring Operation: 94-70=24, Resulting Numbers: [46, 24] Generated Node #0,3,0: 82:[46, 24] Operation: 94-70=24 Exploring Operation: 94-46=48, Resulting Numbers: [70, 48] Generated Node #0,3,1: 82:[70, 48] Operation: 94-46=48 Exploring Operation: 70-46=24, Resulting Numbers: [94, 24] Generated Node #0,3,2: 82:[94, 24] Operation: 70-46=24 Exploring Operation: 70+46=116, Resulting Numbers: [94, 116] Generated Node #0,3,3: 82:[94, 116] Operation: 70+46=116 Moving to Node #0,3,1 Current State: 82:[70, 48], Operations: ['52-6=46', '94-46=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[46, 24], Operations: ['52-6=46', '94-70=24'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,82 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[94, 24], Operations: ['52-6=46', '70-46=24'] Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,82 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[94, 116], Operations: ['52-6=46', '70+46=116'] Exploring Operation: 94+116=210, Resulting Numbers: [210] 210,82 unequal: No Solution Exploring Operation: 116-94=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 94*116=10904, Resulting Numbers: [10904] 10904,82 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
[ 17, 75, 5, 22 ]
74
[ "17+5=22", "22/22=1", "75-1=74" ]
Current State: 74:[17, 75, 5, 22], Operations: [] Exploring Operation: 17+5=22, Resulting Numbers: [75, 22, 22] Generated Node #2: [75, 22, 22] from Operation: 17+5=22 Current State: 74:[75, 22, 22], Operations: ['17+5=22'] Exploring Operation: 22/22=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 22/22=1 Current State: 74:[75, 1], Operations: ['17+5=22', '22/22=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[17, 75, 5, 22], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [75, 22, 12] Generated Node #0,0: 74:[75, 22, 12] Operation: 17-5=12 Exploring Operation: 22-17=5, Resulting Numbers: [75, 5, 5] Generated Node #0,1: 74:[75, 5, 5] Operation: 22-17=5 Exploring Operation: 17+22=39, Resulting Numbers: [75, 5, 39] Generated Node #0,2: 74:[75, 5, 39] Operation: 17+22=39 Moving to Node #0,2 Current State: 74:[75, 5, 39], Operations: ['17+22=39'] Exploring Operation: 75-5=70, Resulting Numbers: [39, 70] Generated Node #0,2,0: 74:[39, 70] Operation: 75-5=70 Exploring Operation: 39-5=34, Resulting Numbers: [75, 34] Generated Node #0,2,1: 74:[75, 34] Operation: 39-5=34 Exploring Operation: 75-39=36, Resulting Numbers: [5, 36] Generated Node #0,2,2: 74:[5, 36] Operation: 75-39=36 Moving to Node #0,1 Current State: 74:[75, 5, 5], Operations: ['22-17=5'] Exploring Operation: 5-5=0, Resulting Numbers: [75, 0] Generated Node #0,1,0: 74:[75, 0] Operation: 5-5=0 Exploring Operation: 5/5=1, Resulting Numbers: [75, 1] Generated Node #0,1,1: 74:[75, 1] Operation: 5/5=1 Exploring Operation: 75-5=70, Resulting Numbers: [5, 70] Generated Node #0,1,2: 74:[5, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[75, 1], Operations: ['22-17=5', '5/5=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[17, 75, 5, 22], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [75, 5, 5] Generated Node #0,1: 74:[75, 5, 5] Operation: 22-17=5 Moving to Node #0,1 Current State: 74:[75, 5, 5], Operations: ['22-17=5'] Exploring Operation: 5/5=1, Resulting Numbers: [75, 1] Generated Node #0,1,1: 74:[75, 1] Operation: 5/5=1 Moving to Node #0,1,1 Current State: 74:[75, 1], Operations: ['22-17=5', '5/5=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 70, 4, 12, 37 ]
81
[ "70-37=33", "4*12=48", "33+48=81" ]
Current State: 81:[70, 4, 12, 37], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [4, 12, 33] Generated Node #2: [4, 12, 33] from Operation: 70-37=33 Current State: 81:[4, 12, 33], Operations: ['70-37=33'] Exploring Operation: 4*12=48, Resulting Numbers: [33, 48] Generated Node #3: [33, 48] from Operation: 4*12=48 Current State: 81:[33, 48], Operations: ['70-37=33', '4*12=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 4, 12, 37], Operations: [] Exploring Operation: 70+12=82, Resulting Numbers: [4, 37, 82] Generated Node #0,0: 81:[4, 37, 82] Operation: 70+12=82 Exploring Operation: 70-37=33, Resulting Numbers: [4, 12, 33] Generated Node #0,1: 81:[4, 12, 33] Operation: 70-37=33 Moving to Node #0,1 Current State: 81:[4, 12, 33], Operations: ['70-37=33'] Exploring Operation: 33-4=29, Resulting Numbers: [12, 29] Generated Node #0,1,0: 81:[12, 29] Operation: 33-4=29 Exploring Operation: 12/4=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 81:[33, 3] Operation: 12/4=3 Moving to Node #0,0 Current State: 81:[4, 37, 82], Operations: ['70+12=82'] Exploring Operation: 37-4=33, Resulting Numbers: [82, 33] Generated Node #0,0,0: 81:[82, 33] Operation: 37-4=33 Exploring Operation: 82-4=78, Resulting Numbers: [37, 78] Generated Node #0,0,1: 81:[37, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[82, 33], Operations: ['70+12=82', '37-4=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[37, 78], Operations: ['70+12=82', '82-4=78'] Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,81 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: 81:[12, 29], Operations: ['70-37=33', '33-4=29'] Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[33, 3], Operations: ['70-37=33', '12/4=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 37, 74, 77, 39 ]
80
[ "39-37=2", "77*2=154", "154-74=80" ]
Current State: 80:[37, 74, 77, 39], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [74, 77, 2] Generated Node #2: [74, 77, 2] from Operation: 39-37=2 Current State: 80:[74, 77, 2], Operations: ['39-37=2'] Exploring Operation: 77*2=154, Resulting Numbers: [74, 154] Generated Node #3: [74, 154] from Operation: 77*2=154 Current State: 80:[74, 154], Operations: ['39-37=2', '77*2=154'] Exploring Operation: 154-74=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[37, 74, 77, 39], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [77, 39, 2] Generated Node #0,0: 80:[77, 39, 2] Operation: 74/37=2 Exploring Operation: 77-74=3, Resulting Numbers: [37, 39, 3] Generated Node #0,1: 80:[37, 39, 3] Operation: 77-74=3 Exploring Operation: 74-37=37, Resulting Numbers: [77, 39, 37] Generated Node #0,2: 80:[77, 39, 37] Operation: 74-37=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[77, 39, 2], Operations: ['74/37=2'] Exploring Operation: 77-39=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 80:[2, 38] Operation: 77-39=38 Exploring Operation: 77+2=79, Resulting Numbers: [39, 79] Generated Node #0,0,1: 80:[39, 79] Operation: 77+2=79 Exploring Operation: 39+2=41, Resulting Numbers: [77, 41] Generated Node #0,0,2: 80:[77, 41] Operation: 39+2=41 Moving to Node #0,0,0 Current State: 80:[2, 38], Operations: ['74/37=2', '77-39=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[39, 79], Operations: ['74/37=2', '77+2=79'] Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,80 unequal: No Solution Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[77, 41], Operations: ['74/37=2', '39+2=41'] Exploring Operation: 77+41=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 77*41=3157, Resulting Numbers: [3157] 3157,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[37, 39, 3], Operations: ['77-74=3'] Exploring Operation: 37+39=76, Resulting Numbers: [3, 76] Generated Node #0,1,0: 80:[3, 76] Operation: 37+39=76 Exploring Operation: 37+3=40, Resulting Numbers: [39, 40] Generated Node #0,1,1: 80:[39, 40] Operation: 37+3=40 Exploring Operation: 39-37=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 80:[3, 2] Operation: 39-37=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[39, 40], Operations: ['77-74=3', '37+3=40'] Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,80 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[3, 2], Operations: ['77-74=3', '39-37=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[3, 76], Operations: ['77-74=3', '37+39=76'] Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,80 unequal: No Solution Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[77, 39, 37], Operations: ['74-37=37'] Exploring Operation: 39-37=2, Resulting Numbers: [77, 2] Generated Node #0,2,0: 80:[77, 2] Operation: 39-37=2 Exploring Operation: 77-39=38, Resulting Numbers: [37, 38] Generated Node #0,2,1: 80:[37, 38] Operation: 77-39=38 Exploring Operation: 77-37=40, Resulting Numbers: [39, 40] Generated Node #0,2,2: 80:[39, 40] Operation: 77-37=40 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[39, 40], Operations: ['74-37=37', '77-37=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[77, 2], Operations: ['74-37=37', '39-37=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[37, 38], Operations: ['74-37=37', '77-39=38'] Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,80 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 68, 90, 71, 6 ]
10
[ "71-68=3", "6+3=9", "90/9=10" ]
Current State: 10:[68, 90, 71, 6], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [90, 6, 3] Generated Node #2: [90, 6, 3] from Operation: 71-68=3 Current State: 10:[90, 6, 3], Operations: ['71-68=3'] Exploring Operation: 6+3=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 6+3=9 Current State: 10:[90, 9], Operations: ['71-68=3', '6+3=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[68, 90, 71, 6], Operations: [] Exploring Operation: 90-71=19, Resulting Numbers: [68, 6, 19] Generated Node #0,0: 10:[68, 6, 19] Operation: 90-71=19 Exploring Operation: 90/6=15, Resulting Numbers: [68, 71, 15] Generated Node #0,1: 10:[68, 71, 15] Operation: 90/6=15 Exploring Operation: 71-68=3, Resulting Numbers: [90, 6, 3] Generated Node #0,2: 10:[90, 6, 3] Operation: 71-68=3 Exploring Operation: 90-68=22, Resulting Numbers: [71, 6, 22] Generated Node #0,3: 10:[71, 6, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[68, 6, 19], Operations: ['90-71=19'] Exploring Operation: 68-19=49, Resulting Numbers: [6, 49] Generated Node #0,0,0: 10:[6, 49] Operation: 68-19=49 Exploring Operation: 19-6=13, Resulting Numbers: [68, 13] Generated Node #0,0,1: 10:[68, 13] Operation: 19-6=13 Exploring Operation: 68+6=74, Resulting Numbers: [19, 74] Generated Node #0,0,2: 10:[19, 74] Operation: 68+6=74 Exploring Operation: 68-6=62, Resulting Numbers: [19, 62] Generated Node #0,0,3: 10:[19, 62] Operation: 68-6=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[6, 49], Operations: ['90-71=19', '68-19=49'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,10 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[68, 13], Operations: ['90-71=19', '19-6=13'] Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,10 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[19, 62], Operations: ['90-71=19', '68-6=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,10 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[19, 74], Operations: ['90-71=19', '68+6=74'] Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 19+74=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 19*74=1406, Resulting Numbers: [1406] 1406,10 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: 10:[71, 6, 22], Operations: ['90-68=22'] Exploring Operation: 71-22=49, Resulting Numbers: [6, 49] Generated Node #0,3,0: 10:[6, 49] Operation: 71-22=49 Exploring Operation: 71-6=65, Resulting Numbers: [22, 65] Generated Node #0,3,1: 10:[22, 65] Operation: 71-6=65 Exploring Operation: 22-6=16, Resulting Numbers: [71, 16] Generated Node #0,3,2: 10:[71, 16] Operation: 22-6=16 Exploring Operation: 71+6=77, Resulting Numbers: [22, 77] Generated Node #0,3,3: 10:[22, 77] Operation: 71+6=77 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[6, 49], Operations: ['90-68=22', '71-22=49'] Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[22, 65], Operations: ['90-68=22', '71-6=65'] Exploring Operation: 22+65=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 22*65=1430, Resulting Numbers: [1430] 1430,10 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[71, 16], Operations: ['90-68=22', '22-6=16'] Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,10 unequal: No Solution Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[22, 77], Operations: ['90-68=22', '71+6=77'] Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,10 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,10 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: 10:[90, 6, 3], Operations: ['71-68=3'] Exploring Operation: 90-3=87, Resulting Numbers: [6, 87] Generated Node #0,2,0: 10:[6, 87] Operation: 90-3=87 Exploring Operation: 90/3=30, Resulting Numbers: [6, 30] Generated Node #0,2,1: 10:[6, 30] Operation: 90/3=30 Exploring Operation: 90/6=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 10:[3, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [3, 84] Generated Node #0,2,3: 10:[3, 84] Operation: 90-6=84 Moving to Node #0,2,2 Current State: 10:[3, 15], Operations: ['71-68=3', '90/6=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[6, 30], Operations: ['71-68=3', '90/3=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[3, 84], Operations: ['71-68=3', '90-6=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 3*84=252, Resulting Numbers: [252] 252,10 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[6, 87], Operations: ['71-68=3', '90-3=87'] Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,10 unequal: No Solution No 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: 10:[68, 71, 15], Operations: ['90/6=15'] Exploring Operation: 71-68=3, Resulting Numbers: [15, 3] Generated Node #0,1,0: 10:[15, 3] Operation: 71-68=3 Exploring Operation: 71-15=56, Resulting Numbers: [68, 56] Generated Node #0,1,1: 10:[68, 56] Operation: 71-15=56 Exploring Operation: 68-15=53, Resulting Numbers: [71, 53] Generated Node #0,1,2: 10:[71, 53] Operation: 68-15=53 Exploring Operation: 68+71=139, Resulting Numbers: [15, 139] Generated Node #0,1,3: 10:[15, 139] Operation: 68+71=139 Moving to Node #0,1,0 Current State: 10:[15, 3], Operations: ['90/6=15', '71-68=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[71, 53], Operations: ['90/6=15', '68-15=53'] Exploring Operation: 71*53=3763, Resulting Numbers: [3763] 3763,10 unequal: No Solution Exploring Operation: 71+53=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[68, 56], Operations: ['90/6=15', '71-15=56'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[15, 139], Operations: ['90/6=15', '68+71=139'] Exploring Operation: 15+139=154, Resulting Numbers: [154] 154,10 unequal: No Solution Exploring Operation: 139-15=124, Resulting Numbers: [124] 124,10 unequal: No Solution Exploring Operation: 15*139=2085, Resulting Numbers: [2085] 2085,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 21, 34, 26, 3 ]
15
[ "21/3=7", "34-26=8", "7+8=15" ]
Current State: 15:[21, 34, 26, 3], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [34, 26, 7] Generated Node #2: [34, 26, 7] from Operation: 21/3=7 Current State: 15:[34, 26, 7], Operations: ['21/3=7'] Exploring Operation: 34-26=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 34-26=8 Current State: 15:[7, 8], Operations: ['21/3=7', '34-26=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[21, 34, 26, 3], Operations: [] Exploring Operation: 34-26=8, Resulting Numbers: [21, 3, 8] Generated Node #0,0: 15:[21, 3, 8] Operation: 34-26=8 Moving to Node #0,0 Current State: 15:[21, 3, 8], Operations: ['34-26=8'] Exploring Operation: 21-8=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 15:[3, 13] Operation: 21-8=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[3, 13], Operations: ['34-26=8', '21-8=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 35, 48, 69 ]
74
[ "48+69=117", "117/3=39", "35+39=74" ]
Current State: 74:[3, 35, 48, 69], Operations: [] Exploring Operation: 48+69=117, Resulting Numbers: [3, 35, 117] Generated Node #2: [3, 35, 117] from Operation: 48+69=117 Current State: 74:[3, 35, 117], Operations: ['48+69=117'] Exploring Operation: 117/3=39, Resulting Numbers: [35, 39] Generated Node #3: [35, 39] from Operation: 117/3=39 Current State: 74:[35, 39], Operations: ['48+69=117', '117/3=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 35, 48, 69], Operations: [] Exploring Operation: 35+48=83, Resulting Numbers: [3, 69, 83] Generated Node #0,0: 74:[3, 69, 83] Operation: 35+48=83 Exploring Operation: 3+69=72, Resulting Numbers: [35, 48, 72] Generated Node #0,1: 74:[35, 48, 72] Operation: 3+69=72 Exploring Operation: 48-3=45, Resulting Numbers: [35, 69, 45] Generated Node #0,2: 74:[35, 69, 45] Operation: 48-3=45 Moving to Node #0,0 Current State: 74:[3, 69, 83], Operations: ['35+48=83'] Exploring Operation: 3+69=72, Resulting Numbers: [83, 72] Generated Node #0,0,0: 74:[83, 72] Operation: 3+69=72 Exploring Operation: 83-3=80, Resulting Numbers: [69, 80] Generated Node #0,0,1: 74:[69, 80] Operation: 83-3=80 Exploring Operation: 83-69=14, Resulting Numbers: [3, 14] Generated Node #0,0,2: 74:[3, 14] Operation: 83-69=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[83, 72], Operations: ['35+48=83', '3+69=72'] Exploring Operation: 83+72=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 83*72=5976, Resulting Numbers: [5976] 5976,74 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[69, 80], Operations: ['35+48=83', '83-3=80'] Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,74 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,74 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[3, 14], Operations: ['35+48=83', '83-69=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,74 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: 74:[35, 48, 72], Operations: ['3+69=72'] Exploring Operation: 48-35=13, Resulting Numbers: [72, 13] Generated Node #0,1,0: 74:[72, 13] Operation: 48-35=13 Exploring Operation: 35+48=83, Resulting Numbers: [72, 83] Generated Node #0,1,1: 74:[72, 83] Operation: 35+48=83 Exploring Operation: 72-35=37, Resulting Numbers: [48, 37] Generated Node #0,1,2: 74:[48, 37] Operation: 72-35=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[72, 83], Operations: ['3+69=72', '35+48=83'] Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,74 unequal: No Solution Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,74 unequal: No Solution Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[48, 37], Operations: ['3+69=72', '72-35=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,74 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[72, 13], Operations: ['3+69=72', '48-35=13'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,74 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,74 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: 74:[35, 69, 45], Operations: ['48-3=45'] Exploring Operation: 69-35=34, Resulting Numbers: [45, 34] Generated Node #0,2,0: 74:[45, 34] Operation: 69-35=34 Exploring Operation: 45-35=10, Resulting Numbers: [69, 10] Generated Node #0,2,1: 74:[69, 10] Operation: 45-35=10 Exploring Operation: 35+45=80, Resulting Numbers: [69, 80] Generated Node #0,2,2: 74:[69, 80] Operation: 35+45=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[45, 34], Operations: ['48-3=45', '69-35=34'] Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,74 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[69, 80], Operations: ['48-3=45', '35+45=80'] Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,74 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[69, 10], Operations: ['48-3=45', '45-35=10'] Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,74 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,74 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
[ 56, 2, 38, 53 ]
82
[ "56+38=94", "94-53=41", "2*41=82" ]
Current State: 82:[56, 2, 38, 53], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [2, 53, 94] Generated Node #2: [2, 53, 94] from Operation: 56+38=94 Current State: 82:[2, 53, 94], Operations: ['56+38=94'] Exploring Operation: 94-53=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 94-53=41 Current State: 82:[2, 41], Operations: ['56+38=94', '94-53=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[56, 2, 38, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [2, 38, 3] Generated Node #0,0: 82:[2, 38, 3] Operation: 56-53=3 Exploring Operation: 56+38=94, Resulting Numbers: [2, 53, 94] Generated Node #0,1: 82:[2, 53, 94] Operation: 56+38=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[2, 38, 3], Operations: ['56-53=3'] Exploring Operation: 2+38=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 82:[3, 40] Operation: 2+38=40 Exploring Operation: 38+3=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 82:[2, 41] Operation: 38+3=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[2, 41], Operations: ['56-53=3', '38+3=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[56, 2, 38, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [2, 38, 3] Generated Node #0,0: 82:[2, 38, 3] Operation: 56-53=3 Moving to Node #0,0 Current State: 82:[2, 38, 3], Operations: ['56-53=3'] Exploring Operation: 38+3=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 82:[2, 41] Operation: 38+3=41 Moving to Node #0,0,1 Current State: 82:[2, 41], Operations: ['56-53=3', '38+3=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 59, 70, 12, 74 ]
74
[ "70-59=11", "12-11=1", "74*1=74" ]
Current State: 74:[59, 70, 12, 74], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [12, 74, 11] Generated Node #2: [12, 74, 11] from Operation: 70-59=11 Current State: 74:[12, 74, 11], Operations: ['70-59=11'] Exploring Operation: 12-11=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 12-11=1 Current State: 74:[74, 1], Operations: ['70-59=11', '12-11=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[59, 70, 12, 74], Operations: [] Exploring Operation: 59+12=71, Resulting Numbers: [70, 74, 71] Generated Node #0,0: 74:[70, 74, 71] Operation: 59+12=71 Exploring Operation: 70-59=11, Resulting Numbers: [12, 74, 11] Generated Node #0,1: 74:[12, 74, 11] Operation: 70-59=11 Exploring Operation: 70+12=82, Resulting Numbers: [59, 74, 82] Generated Node #0,2: 74:[59, 74, 82] Operation: 70+12=82 Exploring Operation: 59-12=47, Resulting Numbers: [70, 74, 47] Generated Node #0,3: 74:[70, 74, 47] Operation: 59-12=47 Moving to Node #0,0 Current State: 74:[70, 74, 71], Operations: ['59+12=71'] Exploring Operation: 71-70=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 74:[74, 1] Operation: 71-70=1 Exploring Operation: 70+71=141, Resulting Numbers: [74, 141] Generated Node #0,0,1: 74:[74, 141] Operation: 70+71=141 Exploring Operation: 74-70=4, Resulting Numbers: [71, 4] Generated Node #0,0,2: 74:[71, 4] Operation: 74-70=4 Exploring Operation: 74-71=3, Resulting Numbers: [70, 3] Generated Node #0,0,3: 74:[70, 3] Operation: 74-71=3 Moving to Node #0,3 Current State: 74:[70, 74, 47], Operations: ['59-12=47'] Exploring Operation: 74-47=27, Resulting Numbers: [70, 27] Generated Node #0,3,0: 74:[70, 27] Operation: 74-47=27 Exploring Operation: 74-70=4, Resulting Numbers: [47, 4] Generated Node #0,3,1: 74:[47, 4] Operation: 74-70=4 Exploring Operation: 70-47=23, Resulting Numbers: [74, 23] Generated Node #0,3,2: 74:[74, 23] Operation: 70-47=23 Exploring Operation: 70+47=117, Resulting Numbers: [74, 117] Generated Node #0,3,3: 74:[74, 117] Operation: 70+47=117 Moving to Node #0,1 Current State: 74:[12, 74, 11], Operations: ['70-59=11'] Exploring Operation: 12-11=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 74:[74, 1] Operation: 12-11=1 Exploring Operation: 12+74=86, Resulting Numbers: [11, 86] Generated Node #0,1,1: 74:[11, 86] Operation: 12+74=86 Exploring Operation: 74-12=62, Resulting Numbers: [11, 62] Generated Node #0,1,2: 74:[11, 62] Operation: 74-12=62 Exploring Operation: 12+11=23, Resulting Numbers: [74, 23] Generated Node #0,1,3: 74:[74, 23] Operation: 12+11=23 Moving to Node #0,2 Current State: 74:[59, 74, 82], Operations: ['70+12=82'] Exploring Operation: 74-59=15, Resulting Numbers: [82, 15] Generated Node #0,2,0: 74:[82, 15] Operation: 74-59=15 Exploring Operation: 82-59=23, Resulting Numbers: [74, 23] Generated Node #0,2,1: 74:[74, 23] Operation: 82-59=23 Exploring Operation: 59+74=133, Resulting Numbers: [82, 133] Generated Node #0,2,2: 74:[82, 133] Operation: 59+74=133 Exploring Operation: 82-74=8, Resulting Numbers: [59, 8] Generated Node #0,2,3: 74:[59, 8] Operation: 82-74=8 Moving to Node #0,0,0 Current State: 74:[74, 1], Operations: ['59+12=71', '71-70=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[59, 70, 12, 74], Operations: [] Exploring Operation: 59+12=71, Resulting Numbers: [70, 74, 71] Generated Node #0,0: 74:[70, 74, 71] Operation: 59+12=71 Moving to Node #0,0 Current State: 74:[70, 74, 71], Operations: ['59+12=71'] Exploring Operation: 71-70=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 74:[74, 1] Operation: 71-70=1 Moving to Node #0,0,0 Current State: 74:[74, 1], Operations: ['59+12=71', '71-70=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.978299
hs_4
sum_heuristic
[ 96, 3, 36, 44 ]
32
[ "96+44=140", "3*36=108", "140-108=32" ]
Current State: 32:[96, 3, 36, 44], Operations: [] Exploring Operation: 96+44=140, Resulting Numbers: [3, 36, 140] Generated Node #2: [3, 36, 140] from Operation: 96+44=140 Current State: 32:[3, 36, 140], Operations: ['96+44=140'] Exploring Operation: 3*36=108, Resulting Numbers: [140, 108] Generated Node #3: [140, 108] from Operation: 3*36=108 Current State: 32:[140, 108], Operations: ['96+44=140', '3*36=108'] Exploring Operation: 140-108=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[96, 3, 36, 44], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [36, 44, 32] Generated Node #0,0: 32:[36, 44, 32] Operation: 96/3=32 Exploring Operation: 96-44=52, Resulting Numbers: [3, 36, 52] Generated Node #0,1: 32:[3, 36, 52] Operation: 96-44=52 Moving to Node #0,0 Current State: 32:[36, 44, 32], Operations: ['96/3=32'] Exploring Operation: 44-32=12, Resulting Numbers: [36, 12] Generated Node #0,0,0: 32:[36, 12] Operation: 44-32=12 Exploring Operation: 44-36=8, Resulting Numbers: [32, 8] Generated Node #0,0,1: 32:[32, 8] Operation: 44-36=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[32, 8], Operations: ['96/3=32', '44-36=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[36, 12], Operations: ['96/3=32', '44-32=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,32 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: 32:[3, 36, 52], Operations: ['96-44=52'] Exploring Operation: 36-3=33, Resulting Numbers: [52, 33] Generated Node #0,1,0: 32:[52, 33] Operation: 36-3=33 Exploring Operation: 52-36=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 32:[3, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[3, 16], Operations: ['96-44=52', '52-36=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[52, 33], Operations: ['96-44=52', '36-3=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,32 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 88, 16, 30, 7 ]
49
[ "88-16=72", "30-7=23", "72-23=49" ]
Current State: 49:[88, 16, 30, 7], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [30, 7, 72] Generated Node #2: [30, 7, 72] from Operation: 88-16=72 Current State: 49:[30, 7, 72], Operations: ['88-16=72'] Exploring Operation: 30-7=23, Resulting Numbers: [72, 23] Generated Node #3: [72, 23] from Operation: 30-7=23 Current State: 49:[72, 23], Operations: ['88-16=72', '30-7=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[88, 16, 30, 7], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [16, 7, 58] Generated Node #0,0: 49:[16, 7, 58] Operation: 88-30=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[16, 7, 58], Operations: ['88-30=58'] Exploring Operation: 58-16=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 49:[7, 42] Operation: 58-16=42 Moving to Node #0,0,0 Current State: 49:[7, 42], Operations: ['88-30=58', '58-16=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[88, 16, 30, 7], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [16, 7, 58] Generated Node #0,0: 49:[16, 7, 58] Operation: 88-30=58 Moving to Node #0,0 Current State: 49:[16, 7, 58], Operations: ['88-30=58'] Exploring Operation: 58-16=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 49:[7, 42] Operation: 58-16=42 Moving to Node #0,0,0 Current State: 49:[7, 42], Operations: ['88-30=58', '58-16=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 6, 16, 12, 30 ]
82
[ "16*30=480", "12+480=492", "492/6=82" ]
Current State: 82:[6, 16, 12, 30], Operations: [] Exploring Operation: 16*30=480, Resulting Numbers: [6, 12, 480] Generated Node #2: [6, 12, 480] from Operation: 16*30=480 Current State: 82:[6, 12, 480], Operations: ['16*30=480'] Exploring Operation: 12+480=492, Resulting Numbers: [6, 492] Generated Node #3: [6, 492] from Operation: 12+480=492 Current State: 82:[6, 492], Operations: ['16*30=480', '12+480=492'] Exploring Operation: 492/6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[6, 16, 12, 30], Operations: [] Exploring Operation: 16+30=46, Resulting Numbers: [6, 12, 46] Generated Node #0,0: 82:[6, 12, 46] Operation: 16+30=46 Exploring Operation: 12+30=42, Resulting Numbers: [6, 16, 42] Generated Node #0,1: 82:[6, 16, 42] Operation: 12+30=42 Exploring Operation: 12/6=2, Resulting Numbers: [16, 30, 2] Generated Node #0,2: 82:[16, 30, 2] Operation: 12/6=2 Exploring Operation: 16-12=4, Resulting Numbers: [6, 30, 4] Generated Node #0,3: 82:[6, 30, 4] Operation: 16-12=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[6, 30, 4], Operations: ['16-12=4'] Exploring Operation: 6+30=36, Resulting Numbers: [4, 36] Generated Node #0,3,0: 82:[4, 36] Operation: 6+30=36 Exploring Operation: 30+4=34, Resulting Numbers: [6, 34] Generated Node #0,3,1: 82:[6, 34] Operation: 30+4=34 Exploring Operation: 30/6=5, Resulting Numbers: [4, 5] Generated Node #0,3,2: 82:[4, 5] Operation: 30/6=5 Exploring Operation: 6-4=2, Resulting Numbers: [30, 2] Generated Node #0,3,3: 82:[30, 2] Operation: 6-4=2 Moving to Node #0,3,2 Current State: 82:[4, 5], Operations: ['16-12=4', '30/6=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[4, 36], Operations: ['16-12=4', '6+30=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,82 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[30, 2], Operations: ['16-12=4', '6-4=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[6, 34], Operations: ['16-12=4', '30+4=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[6, 12, 46], Operations: ['16+30=46'] Exploring Operation: 46-6=40, Resulting Numbers: [12, 40] Generated Node #0,0,0: 82:[12, 40] Operation: 46-6=40 Exploring Operation: 12/6=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 82:[46, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [46, 6] Generated Node #0,0,2: 82:[46, 6] Operation: 12-6=6 Exploring Operation: 46-12=34, Resulting Numbers: [6, 34] Generated Node #0,0,3: 82:[6, 34] Operation: 46-12=34 Moving to Node #0,0,1 Current State: 82:[46, 2], Operations: ['16+30=46', '12/6=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[46, 6], Operations: ['16+30=46', '12-6=6'] Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,82 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[6, 34], Operations: ['16+30=46', '46-12=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,82 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[12, 40], Operations: ['16+30=46', '46-6=40'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[6, 16, 42], Operations: ['12+30=42'] Exploring Operation: 6*16=96, Resulting Numbers: [42, 96] Generated Node #0,1,0: 82:[42, 96] Operation: 6*16=96 Exploring Operation: 42-6=36, Resulting Numbers: [16, 36] Generated Node #0,1,1: 82:[16, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [16, 7] Generated Node #0,1,2: 82:[16, 7] Operation: 42/6=7 Exploring Operation: 16-6=10, Resulting Numbers: [42, 10] Generated Node #0,1,3: 82:[42, 10] Operation: 16-6=10 Moving to Node #0,1,3 Current State: 82:[42, 10], Operations: ['12+30=42', '16-6=10'] Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,82 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[42, 96], Operations: ['12+30=42', '6*16=96'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 42*96=4032, Resulting Numbers: [4032] 4032,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[16, 7], Operations: ['12+30=42', '42/6=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[16, 36], Operations: ['12+30=42', '42-6=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,82 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[16, 30, 2], Operations: ['12/6=2'] Exploring Operation: 16*2=32, Resulting Numbers: [30, 32] Generated Node #0,2,0: 82:[30, 32] Operation: 16*2=32 Exploring Operation: 16+30=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 82:[2, 46] Operation: 16+30=46 Exploring Operation: 16/2=8, Resulting Numbers: [30, 8] Generated Node #0,2,2: 82:[30, 8] Operation: 16/2=8 Exploring Operation: 30-16=14, Resulting Numbers: [2, 14] Generated Node #0,2,3: 82:[2, 14] Operation: 30-16=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[2, 46], Operations: ['12/6=2', '16+30=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,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,2,3 Current State: 82:[2, 14], Operations: ['12/6=2', '30-16=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,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,2,2 Current State: 82:[30, 8], Operations: ['12/6=2', '16/2=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,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,2,0 Current State: 82:[30, 32], Operations: ['12/6=2', '16*2=32'] Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,82 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 9, 69, 85, 86 ]
93
[ "9+69=78", "85+86=171", "171-78=93" ]
Current State: 93:[9, 69, 85, 86], Operations: [] Exploring Operation: 9+69=78, Resulting Numbers: [85, 86, 78] Generated Node #2: [85, 86, 78] from Operation: 9+69=78 Current State: 93:[85, 86, 78], Operations: ['9+69=78'] Exploring Operation: 85+86=171, Resulting Numbers: [78, 171] Generated Node #3: [78, 171] from Operation: 85+86=171 Current State: 93:[78, 171], Operations: ['9+69=78', '85+86=171'] Exploring Operation: 171-78=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[9, 69, 85, 86], Operations: [] Exploring Operation: 85-69=16, Resulting Numbers: [9, 86, 16] Generated Node #0,0: 93:[9, 86, 16] Operation: 85-69=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[9, 86, 16], Operations: ['85-69=16'] Exploring Operation: 16-9=7, Resulting Numbers: [86, 7] Generated Node #0,0,0: 93:[86, 7] Operation: 16-9=7 Moving to Node #0,0,0 Current State: 93:[86, 7], Operations: ['85-69=16', '16-9=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[9, 69, 85, 86], Operations: [] Exploring Operation: 85-69=16, Resulting Numbers: [9, 86, 16] Generated Node #0,0: 93:[9, 86, 16] Operation: 85-69=16 Moving to Node #0,0 Current State: 93:[9, 86, 16], Operations: ['85-69=16'] Exploring Operation: 16-9=7, Resulting Numbers: [86, 7] Generated Node #0,0,0: 93:[86, 7] Operation: 16-9=7 Moving to Node #0,0,0 Current State: 93:[86, 7], Operations: ['85-69=16', '16-9=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 32, 17, 37, 78 ]
56
[ "32-17=15", "78-37=41", "15+41=56" ]
Current State: 56:[32, 17, 37, 78], Operations: [] Exploring Operation: 32-17=15, Resulting Numbers: [37, 78, 15] Generated Node #2: [37, 78, 15] from Operation: 32-17=15 Current State: 56:[37, 78, 15], Operations: ['32-17=15'] Exploring Operation: 78-37=41, Resulting Numbers: [15, 41] Generated Node #3: [15, 41] from Operation: 78-37=41 Current State: 56:[15, 41], Operations: ['32-17=15', '78-37=41'] Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[32, 17, 37, 78], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [32, 37, 61] Generated Node #0,0: 56:[32, 37, 61] Operation: 78-17=61 Exploring Operation: 37-32=5, Resulting Numbers: [17, 78, 5] Generated Node #0,1: 56:[17, 78, 5] Operation: 37-32=5 Exploring Operation: 78-32=46, Resulting Numbers: [17, 37, 46] Generated Node #0,2: 56:[17, 37, 46] Operation: 78-32=46 Exploring Operation: 78-37=41, Resulting Numbers: [32, 17, 41] Generated Node #0,3: 56:[32, 17, 41] Operation: 78-37=41 Moving to Node #0,0 Current State: 56:[32, 37, 61], Operations: ['78-17=61'] Exploring Operation: 37-32=5, Resulting Numbers: [61, 5] Generated Node #0,0,0: 56:[61, 5] Operation: 37-32=5 Exploring Operation: 61-37=24, Resulting Numbers: [32, 24] Generated Node #0,0,1: 56:[32, 24] Operation: 61-37=24 Exploring Operation: 32+37=69, Resulting Numbers: [61, 69] Generated Node #0,0,2: 56:[61, 69] Operation: 32+37=69 Exploring Operation: 61-32=29, Resulting Numbers: [37, 29] Generated Node #0,0,3: 56:[37, 29] Operation: 61-32=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[61, 5], Operations: ['78-17=61', '37-32=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[32, 17, 37, 78], Operations: [] Exploring Operation: 78-17=61, Resulting Numbers: [32, 37, 61] Generated Node #0,0: 56:[32, 37, 61] Operation: 78-17=61 Moving to Node #0,0 Current State: 56:[32, 37, 61], Operations: ['78-17=61'] Exploring Operation: 37-32=5, Resulting Numbers: [61, 5] Generated Node #0,0,0: 56:[61, 5] Operation: 37-32=5 Moving to Node #0,0,0 Current State: 56:[61, 5], Operations: ['78-17=61', '37-32=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 87, 6, 49, 28 ]
39
[ "49-28=21", "6*21=126", "126-87=39" ]
Current State: 39:[87, 6, 49, 28], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [87, 6, 21] Generated Node #2: [87, 6, 21] from Operation: 49-28=21 Current State: 39:[87, 6, 21], Operations: ['49-28=21'] Exploring Operation: 6*21=126, Resulting Numbers: [87, 126] Generated Node #3: [87, 126] from Operation: 6*21=126 Current State: 39:[87, 126], Operations: ['49-28=21', '6*21=126'] Exploring Operation: 126-87=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[87, 6, 49, 28], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [6, 28, 38] Generated Node #0,0: 39:[6, 28, 38] Operation: 87-49=38 Moving to Node #0,0 Current State: 39:[6, 28, 38], Operations: ['87-49=38'] Exploring Operation: 6+28=34, Resulting Numbers: [38, 34] Generated Node #0,0,0: 39:[38, 34] Operation: 6+28=34 Moving to Node #0,0,0 Current State: 39:[38, 34], Operations: ['87-49=38', '6+28=34'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 4, 56, 10 ]
34
[ "20*4=80", "56-10=46", "80-46=34" ]
Current State: 34:[20, 4, 56, 10], Operations: [] Exploring Operation: 20*4=80, Resulting Numbers: [56, 10, 80] Generated Node #2: [56, 10, 80] from Operation: 20*4=80 Current State: 34:[56, 10, 80], Operations: ['20*4=80'] Exploring Operation: 56-10=46, Resulting Numbers: [80, 46] Generated Node #3: [80, 46] from Operation: 56-10=46 Current State: 34:[80, 46], Operations: ['20*4=80', '56-10=46'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[20, 4, 56, 10], Operations: [] Exploring Operation: 56-20=36, Resulting Numbers: [4, 10, 36] Generated Node #0,0: 34:[4, 10, 36] Operation: 56-20=36 Exploring Operation: 56-10=46, Resulting Numbers: [20, 4, 46] Generated Node #0,1: 34:[20, 4, 46] Operation: 56-10=46 Exploring Operation: 20/10=2, Resulting Numbers: [4, 56, 2] Generated Node #0,2: 34:[4, 56, 2] Operation: 20/10=2 Exploring Operation: 56/4=14, Resulting Numbers: [20, 10, 14] Generated Node #0,3: 34:[20, 10, 14] Operation: 56/4=14 Moving to Node #0,0 Current State: 34:[4, 10, 36], Operations: ['56-20=36'] Exploring Operation: 4+10=14, Resulting Numbers: [36, 14] Generated Node #0,0,0: 34:[36, 14] Operation: 4+10=14 Exploring Operation: 4*10=40, Resulting Numbers: [36, 40] Generated Node #0,0,1: 34:[36, 40] Operation: 4*10=40 Exploring Operation: 36-4=32, Resulting Numbers: [10, 32] Generated Node #0,0,2: 34:[10, 32] Operation: 36-4=32 Exploring Operation: 10-4=6, Resulting Numbers: [36, 6] Generated Node #0,0,3: 34:[36, 6] Operation: 10-4=6 Moving to Node #0,3 Current State: 34:[20, 10, 14], Operations: ['56/4=14'] Exploring Operation: 20/10=2, Resulting Numbers: [14, 2] Generated Node #0,3,0: 34:[14, 2] Operation: 20/10=2 Exploring Operation: 20+10=30, Resulting Numbers: [14, 30] Generated Node #0,3,1: 34:[14, 30] Operation: 20+10=30 Exploring Operation: 20+14=34, Resulting Numbers: [10, 34] Generated Node #0,3,2: 34:[10, 34] Operation: 20+14=34 Exploring Operation: 14-10=4, Resulting Numbers: [20, 4] Generated Node #0,3,3: 34:[20, 4] Operation: 14-10=4 Moving to Node #0,1 Current State: 34:[20, 4, 46], Operations: ['56-10=46'] Exploring Operation: 20-4=16, Resulting Numbers: [46, 16] Generated Node #0,1,0: 34:[46, 16] Operation: 20-4=16 Exploring Operation: 46-4=42, Resulting Numbers: [20, 42] Generated Node #0,1,1: 34:[20, 42] Operation: 46-4=42 Exploring Operation: 46-20=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 34:[4, 26] Operation: 46-20=26 Exploring Operation: 20/4=5, Resulting Numbers: [46, 5] Generated Node #0,1,3: 34:[46, 5] Operation: 20/4=5 Moving to Node #0,2 Current State: 34:[4, 56, 2], Operations: ['20/10=2'] Exploring Operation: 56/4=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 34:[2, 14] Operation: 56/4=14 Exploring Operation: 4-2=2, Resulting Numbers: [56, 2] Generated Node #0,2,1: 34:[56, 2] Operation: 4-2=2 Exploring Operation: 56/2=28, Resulting Numbers: [4, 28] Generated Node #0,2,2: 34:[4, 28] Operation: 56/2=28 Exploring Operation: 56-4=52, Resulting Numbers: [2, 52] Generated Node #0,2,3: 34:[2, 52] Operation: 56-4=52 Moving to Node #0,3,0 Current State: 34:[14, 2], Operations: ['56/4=14', '20/10=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[2, 14], Operations: ['20/10=2', '56/4=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[20, 4], Operations: ['56/4=14', '14-10=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,34 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[36, 14], Operations: ['56-20=36', '4+10=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,34 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[36, 6], Operations: ['56-20=36', '10-4=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,34 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[14, 30], Operations: ['56/4=14', '20+10=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[10, 34], Operations: ['56/4=14', '20+14=34'] Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,34 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[4, 28], Operations: ['20/10=2', '56/2=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,34 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[36, 40], Operations: ['56-20=36', '4*10=40'] Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,34 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[10, 32], Operations: ['56-20=36', '36-4=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[4, 26], Operations: ['56-10=46', '46-20=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[20, 42], Operations: ['56-10=46', '46-4=42'] Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,34 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[46, 16], Operations: ['56-10=46', '20-4=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,34 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[46, 5], Operations: ['56-10=46', '20/4=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,34 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[2, 52], Operations: ['20/10=2', '56-4=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,34 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[56, 2], Operations: ['20/10=2', '4-2=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,34 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,34 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 75, 5, 25 ]
73
[ "10*5=50", "50/25=2", "75-2=73" ]
Current State: 73:[10, 75, 5, 25], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [75, 25, 50] Generated Node #2: [75, 25, 50] from Operation: 10*5=50 Current State: 73:[75, 25, 50], Operations: ['10*5=50'] Exploring Operation: 50/25=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 50/25=2 Current State: 73:[75, 2], Operations: ['10*5=50', '50/25=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 75, 5, 25], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [75, 25, 50] Generated Node #0,0: 73:[75, 25, 50] Operation: 10*5=50 Exploring Operation: 10+25=35, Resulting Numbers: [75, 5, 35] Generated Node #0,1: 73:[75, 5, 35] Operation: 10+25=35 Exploring Operation: 75-5=70, Resulting Numbers: [10, 25, 70] Generated Node #0,2: 73:[10, 25, 70] Operation: 75-5=70 Exploring Operation: 10+5=15, Resulting Numbers: [75, 25, 15] Generated Node #0,3: 73:[75, 25, 15] Operation: 10+5=15 Exploring Operation: 5+25=30, Resulting Numbers: [10, 75, 30] Generated Node #0,4: 73:[10, 75, 30] Operation: 5+25=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 25, 50], Operations: ['10*5=50'] Exploring Operation: 50-25=25, Resulting Numbers: [75, 25] Generated Node #0,0,0: 73:[75, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [75, 2] Generated Node #0,0,1: 73:[75, 2] Operation: 50/25=2 Exploring Operation: 75+25=100, Resulting Numbers: [50, 100] Generated Node #0,0,2: 73:[50, 100] Operation: 75+25=100 Exploring Operation: 75-25=50, Resulting Numbers: [50, 50] Generated Node #0,0,3: 73:[50, 50] Operation: 75-25=50 Exploring Operation: 25+50=75, Resulting Numbers: [75, 75] Generated Node #0,0,4: 73:[75, 75] Operation: 25+50=75 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 73:[75, 75], Operations: ['10*5=50', '25+50=75'] Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,73 unequal: No Solution Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[50, 50], Operations: ['10*5=50', '75-25=50'] Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,73 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,73 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[75, 25], Operations: ['10*5=50', '50-25=25'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,73 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[50, 100], Operations: ['10*5=50', '75+25=100'] Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 50+100=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 50*100=5000, Resulting Numbers: [5000] 5000,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[75, 2], Operations: ['10*5=50', '50/25=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[10, 75, 5, 25], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [75, 25, 50] Generated Node #0,0: 73:[75, 25, 50] Operation: 10*5=50 Moving to Node #0,0 Current State: 73:[75, 25, 50], Operations: ['10*5=50'] Exploring Operation: 50/25=2, Resulting Numbers: [75, 2] Generated Node #0,0,1: 73:[75, 2] Operation: 50/25=2 Moving to Node #0,0,1 Current State: 73:[75, 2], Operations: ['10*5=50', '50/25=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 61, 49, 39, 84 ]
32
[ "61-49=12", "84/12=7", "39-7=32" ]
Current State: 32:[61, 49, 39, 84], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [39, 84, 12] Generated Node #2: [39, 84, 12] from Operation: 61-49=12 Current State: 32:[39, 84, 12], Operations: ['61-49=12'] Exploring Operation: 84/12=7, Resulting Numbers: [39, 7] Generated Node #3: [39, 7] from Operation: 84/12=7 Current State: 32:[39, 7], Operations: ['61-49=12', '84/12=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[61, 49, 39, 84], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [49, 39, 23] Generated Node #0,0: 32:[49, 39, 23] Operation: 84-61=23 Exploring Operation: 84-49=35, Resulting Numbers: [61, 39, 35] Generated Node #0,1: 32:[61, 39, 35] Operation: 84-49=35 Exploring Operation: 84-39=45, Resulting Numbers: [61, 49, 45] Generated Node #0,2: 32:[61, 49, 45] Operation: 84-39=45 Moving to Node #0,0 Current State: 32:[49, 39, 23], Operations: ['84-61=23'] Exploring Operation: 49-39=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 32:[23, 10] Operation: 49-39=10 Exploring Operation: 49-23=26, Resulting Numbers: [39, 26] Generated Node #0,0,1: 32:[39, 26] Operation: 49-23=26 Exploring Operation: 39-23=16, Resulting Numbers: [49, 16] Generated Node #0,0,2: 32:[49, 16] Operation: 39-23=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[23, 10], Operations: ['84-61=23', '49-39=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,32 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[39, 26], Operations: ['84-61=23', '49-23=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,32 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[49, 16], Operations: ['84-61=23', '39-23=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,32 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,32 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: 32:[61, 39, 35], Operations: ['84-49=35'] Exploring Operation: 61-35=26, Resulting Numbers: [39, 26] Generated Node #0,1,0: 32:[39, 26] Operation: 61-35=26 Exploring Operation: 61-39=22, Resulting Numbers: [35, 22] Generated Node #0,1,1: 32:[35, 22] Operation: 61-39=22 Exploring Operation: 39-35=4, Resulting Numbers: [61, 4] Generated Node #0,1,2: 32:[61, 4] Operation: 39-35=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[35, 22], Operations: ['84-49=35', '61-39=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,32 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[39, 26], Operations: ['84-49=35', '61-35=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,32 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[61, 4], Operations: ['84-49=35', '39-35=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,32 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,32 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: 32:[61, 49, 45], Operations: ['84-39=45'] Exploring Operation: 49-45=4, Resulting Numbers: [61, 4] Generated Node #0,2,0: 32:[61, 4] Operation: 49-45=4 Exploring Operation: 61-49=12, Resulting Numbers: [45, 12] Generated Node #0,2,1: 32:[45, 12] Operation: 61-49=12 Exploring Operation: 61-45=16, Resulting Numbers: [49, 16] Generated Node #0,2,2: 32:[49, 16] Operation: 61-45=16 Moving to Node #0,2,1 Current State: 32:[45, 12], Operations: ['84-39=45', '61-49=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[49, 16], Operations: ['84-39=45', '61-45=16'] Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,32 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[61, 4], Operations: ['84-39=45', '49-45=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,32 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,32 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 71, 58, 77, 90 ]
43
[ "77-71=6", "90/6=15", "58-15=43" ]
Current State: 43:[71, 58, 77, 90], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [58, 90, 6] Generated Node #2: [58, 90, 6] from Operation: 77-71=6 Current State: 43:[58, 90, 6], Operations: ['77-71=6'] Exploring Operation: 90/6=15, Resulting Numbers: [58, 15] Generated Node #3: [58, 15] from Operation: 90/6=15 Current State: 43:[58, 15], Operations: ['77-71=6', '90/6=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[71, 58, 77, 90], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [71, 77, 32] Generated Node #0,0: 43:[71, 77, 32] Operation: 90-58=32 Exploring Operation: 90-71=19, Resulting Numbers: [58, 77, 19] Generated Node #0,1: 43:[58, 77, 19] Operation: 90-71=19 Moving to Node #0,0 Current State: 43:[71, 77, 32], Operations: ['90-58=32'] Exploring Operation: 71-32=39, Resulting Numbers: [77, 39] Generated Node #0,0,0: 43:[77, 39] Operation: 71-32=39 Exploring Operation: 77-32=45, Resulting Numbers: [71, 45] Generated Node #0,0,1: 43:[71, 45] Operation: 77-32=45 Moving to Node #0,1 Current State: 43:[58, 77, 19], Operations: ['90-71=19'] Exploring Operation: 58-19=39, Resulting Numbers: [77, 39] Generated Node #0,1,0: 43:[77, 39] Operation: 58-19=39 Exploring Operation: 77-19=58, Resulting Numbers: [58, 58] Generated Node #0,1,1: 43:[58, 58] Operation: 77-19=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[58, 58], Operations: ['90-71=19', '77-19=58'] Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,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:[77, 39], Operations: ['90-71=19', '58-19=39'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,43 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: 43:[71, 45], Operations: ['90-58=32', '77-32=45'] Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 71+45=116, Resulting Numbers: [116] 116,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[77, 39], Operations: ['90-58=32', '71-32=39'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 67, 7, 80, 56 ]
50
[ "67+7=74", "80-56=24", "74-24=50" ]
Current State: 50:[67, 7, 80, 56], Operations: [] Exploring Operation: 67+7=74, Resulting Numbers: [80, 56, 74] Generated Node #2: [80, 56, 74] from Operation: 67+7=74 Current State: 50:[80, 56, 74], Operations: ['67+7=74'] Exploring Operation: 80-56=24, Resulting Numbers: [74, 24] Generated Node #3: [74, 24] from Operation: 80-56=24 Current State: 50:[74, 24], Operations: ['67+7=74', '80-56=24'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[67, 7, 80, 56], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [67, 7, 24] Generated Node #0,0: 50:[67, 7, 24] Operation: 80-56=24 Exploring Operation: 80-67=13, Resulting Numbers: [7, 56, 13] Generated Node #0,1: 50:[7, 56, 13] Operation: 80-67=13 Exploring Operation: 67-56=11, Resulting Numbers: [7, 80, 11] Generated Node #0,2: 50:[7, 80, 11] Operation: 67-56=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[7, 56, 13], Operations: ['80-67=13'] Exploring Operation: 56/7=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 50:[13, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [13, 49] Generated Node #0,1,1: 50:[13, 49] Operation: 56-7=49 Exploring Operation: 13-7=6, Resulting Numbers: [56, 6] Generated Node #0,1,2: 50:[56, 6] Operation: 13-7=6 Moving to Node #0,1,1 Current State: 50:[13, 49], Operations: ['80-67=13', '56-7=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,50 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[13, 8], Operations: ['80-67=13', '56/7=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[56, 6], Operations: ['80-67=13', '13-7=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[67, 7, 80, 56], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [7, 56, 13] Generated Node #0,1: 50:[7, 56, 13] Operation: 80-67=13 Moving to Node #0,1 Current State: 50:[7, 56, 13], Operations: ['80-67=13'] Exploring Operation: 13-7=6, Resulting Numbers: [56, 6] Generated Node #0,1,2: 50:[56, 6] Operation: 13-7=6 Moving to Node #0,1,2 Current State: 50:[56, 6], Operations: ['80-67=13', '13-7=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 70, 3, 26, 78 ]
76
[ "70+3=73", "78/26=3", "73+3=76" ]
Current State: 76:[70, 3, 26, 78], Operations: [] Exploring Operation: 70+3=73, Resulting Numbers: [26, 78, 73] Generated Node #2: [26, 78, 73] from Operation: 70+3=73 Current State: 76:[26, 78, 73], Operations: ['70+3=73'] Exploring Operation: 78/26=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 78/26=3 Current State: 76:[73, 3], Operations: ['70+3=73', '78/26=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[70, 3, 26, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [70, 3, 3] Generated Node #0,0: 76:[70, 3, 3] Operation: 78/26=3 Exploring Operation: 70-26=44, Resulting Numbers: [3, 78, 44] Generated Node #0,1: 76:[3, 78, 44] Operation: 70-26=44 Exploring Operation: 3*26=78, Resulting Numbers: [70, 78, 78] Generated Node #0,2: 76:[70, 78, 78] Operation: 3*26=78 Exploring Operation: 70+3=73, Resulting Numbers: [26, 78, 73] Generated Node #0,3: 76:[26, 78, 73] Operation: 70+3=73 Moving to Node #0,0 Current State: 76:[70, 3, 3], Operations: ['78/26=3'] Exploring Operation: 3+3=6, Resulting Numbers: [70, 6] Generated Node #0,0,0: 76:[70, 6] Operation: 3+3=6 Exploring Operation: 70+3=73, Resulting Numbers: [3, 73] Generated Node #0,0,1: 76:[3, 73] Operation: 70+3=73 Exploring Operation: 70+3=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 76:[3, 73] Operation: 70+3=73 Exploring Operation: 3/3=1, Resulting Numbers: [70, 1] Generated Node #0,0,3: 76:[70, 1] Operation: 3/3=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[3, 73], Operations: ['78/26=3', '70+3=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,76 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[70, 3, 26, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [70, 3, 3] Generated Node #0,0: 76:[70, 3, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 76:[70, 3, 3], Operations: ['78/26=3'] Exploring Operation: 70+3=73, Resulting Numbers: [3, 73] Generated Node #0,0,1: 76:[3, 73] Operation: 70+3=73 Moving to Node #0,0,1 Current State: 76:[3, 73], Operations: ['78/26=3', '70+3=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 60, 6, 2, 86 ]
81
[ "60/6=10", "10/2=5", "86-5=81" ]
Current State: 81:[60, 6, 2, 86], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [2, 86, 10] Generated Node #2: [2, 86, 10] from Operation: 60/6=10 Current State: 81:[2, 86, 10], Operations: ['60/6=10'] Exploring Operation: 10/2=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 10/2=5 Current State: 81:[86, 5], Operations: ['60/6=10', '10/2=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[60, 6, 2, 86], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [6, 2, 26] Generated Node #0,0: 81:[6, 2, 26] Operation: 86-60=26 Exploring Operation: 60/6=10, Resulting Numbers: [2, 86, 10] Generated Node #0,1: 81:[2, 86, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 81:[6, 2, 26], Operations: ['86-60=26'] Exploring Operation: 6+2=8, Resulting Numbers: [26, 8] Generated Node #0,0,0: 81:[26, 8] Operation: 6+2=8 Exploring Operation: 6/2=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 81:[26, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[26, 3], Operations: ['86-60=26', '6/2=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,81 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[26, 8], Operations: ['86-60=26', '6+2=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 81:[2, 86, 10], Operations: ['60/6=10'] Exploring Operation: 10-2=8, Resulting Numbers: [86, 8] Generated Node #0,1,0: 81:[86, 8] Operation: 10-2=8 Exploring Operation: 86-2=84, Resulting Numbers: [10, 84] Generated Node #0,1,1: 81:[10, 84] Operation: 86-2=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[10, 84], Operations: ['60/6=10', '86-2=84'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 10+84=94, Resulting Numbers: [94] 94,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,0 Current State: 81:[86, 8], Operations: ['60/6=10', '10-2=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 87, 48, 32, 89 ]
78
[ "87+48=135", "89-32=57", "135-57=78" ]
Current State: 78:[87, 48, 32, 89], Operations: [] Exploring Operation: 87+48=135, Resulting Numbers: [32, 89, 135] Generated Node #2: [32, 89, 135] from Operation: 87+48=135 Current State: 78:[32, 89, 135], Operations: ['87+48=135'] Exploring Operation: 89-32=57, Resulting Numbers: [135, 57] Generated Node #3: [135, 57] from Operation: 89-32=57 Current State: 78:[135, 57], Operations: ['87+48=135', '89-32=57'] Exploring Operation: 135-57=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[87, 48, 32, 89], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [48, 32, 2] Generated Node #0,0: 78:[48, 32, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 78:[48, 32, 2], Operations: ['89-87=2'] Exploring Operation: 48+32=80, Resulting Numbers: [2, 80] Generated Node #0,0,0: 78:[2, 80] Operation: 48+32=80 Moving to Node #0,0,0 Current State: 78:[2, 80], Operations: ['89-87=2', '48+32=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[87, 48, 32, 89], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [48, 32, 2] Generated Node #0,0: 78:[48, 32, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 78:[48, 32, 2], Operations: ['89-87=2'] Exploring Operation: 48+32=80, Resulting Numbers: [2, 80] Generated Node #0,0,0: 78:[2, 80] Operation: 48+32=80 Moving to Node #0,0,0 Current State: 78:[2, 80], Operations: ['89-87=2', '48+32=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 60, 19, 75, 64 ]
36
[ "64-19=45", "60*45=2700", "2700/75=36" ]
Current State: 36:[60, 19, 75, 64], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [60, 75, 45] Generated Node #2: [60, 75, 45] from Operation: 64-19=45 Current State: 36:[60, 75, 45], Operations: ['64-19=45'] Exploring Operation: 60*45=2700, Resulting Numbers: [75, 2700] Generated Node #3: [75, 2700] from Operation: 60*45=2700 Current State: 36:[75, 2700], Operations: ['64-19=45', '60*45=2700'] Exploring Operation: 2700/75=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[60, 19, 75, 64], Operations: [] Exploring Operation: 60-19=41, Resulting Numbers: [75, 64, 41] Generated Node #0,0: 36:[75, 64, 41] Operation: 60-19=41 Exploring Operation: 75-64=11, Resulting Numbers: [60, 19, 11] Generated Node #0,1: 36:[60, 19, 11] Operation: 75-64=11 Exploring Operation: 75-19=56, Resulting Numbers: [60, 64, 56] Generated Node #0,2: 36:[60, 64, 56] Operation: 75-19=56 Exploring Operation: 75-60=15, Resulting Numbers: [19, 64, 15] Generated Node #0,3: 36:[19, 64, 15] Operation: 75-60=15 Exploring Operation: 64-60=4, Resulting Numbers: [19, 75, 4] Generated Node #0,4: 36:[19, 75, 4] Operation: 64-60=4 Moving to Node #0,1 Current State: 36:[60, 19, 11], Operations: ['75-64=11'] Exploring Operation: 60-19=41, Resulting Numbers: [11, 41] Generated Node #0,1,0: 36:[11, 41] Operation: 60-19=41 Exploring Operation: 19-11=8, Resulting Numbers: [60, 8] Generated Node #0,1,1: 36:[60, 8] Operation: 19-11=8 Exploring Operation: 60+11=71, Resulting Numbers: [19, 71] Generated Node #0,1,2: 36:[19, 71] Operation: 60+11=71 Exploring Operation: 19+11=30, Resulting Numbers: [60, 30] Generated Node #0,1,3: 36:[60, 30] Operation: 19+11=30 Exploring Operation: 60-11=49, Resulting Numbers: [19, 49] Generated Node #0,1,4: 36:[19, 49] Operation: 60-11=49 Moving to Node #0,3 Current State: 36:[19, 64, 15], Operations: ['75-60=15'] Exploring Operation: 64-15=49, Resulting Numbers: [19, 49] Generated Node #0,3,0: 36:[19, 49] Operation: 64-15=49 Exploring Operation: 19+15=34, Resulting Numbers: [64, 34] Generated Node #0,3,1: 36:[64, 34] Operation: 19+15=34 Exploring Operation: 19-15=4, Resulting Numbers: [64, 4] Generated Node #0,3,2: 36:[64, 4] Operation: 19-15=4 Exploring Operation: 64-19=45, Resulting Numbers: [15, 45] Generated Node #0,3,3: 36:[15, 45] Operation: 64-19=45 Exploring Operation: 64+15=79, Resulting Numbers: [19, 79] Generated Node #0,3,4: 36:[19, 79] Operation: 64+15=79 Moving to Node #0,4 Current State: 36:[19, 75, 4], Operations: ['64-60=4'] Exploring Operation: 75-19=56, Resulting Numbers: [4, 56] Generated Node #0,4,0: 36:[4, 56] Operation: 75-19=56 Exploring Operation: 75+4=79, Resulting Numbers: [19, 79] Generated Node #0,4,1: 36:[19, 79] Operation: 75+4=79 Exploring Operation: 19-4=15, Resulting Numbers: [75, 15] Generated Node #0,4,2: 36:[75, 15] Operation: 19-4=15 Exploring Operation: 75-4=71, Resulting Numbers: [19, 71] Generated Node #0,4,3: 36:[19, 71] Operation: 75-4=71 Exploring Operation: 19+4=23, Resulting Numbers: [75, 23] Generated Node #0,4,4: 36:[75, 23] Operation: 19+4=23 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 36:[4, 56], Operations: ['64-60=4', '75-19=56'] Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,36 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[19, 71], Operations: ['64-60=4', '75-4=71'] Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,36 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 36:[75, 15], Operations: ['64-60=4', '19-4=15'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[19, 79], Operations: ['64-60=4', '75+4=79'] Exploring Operation: 19+79=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 19*79=1501, Resulting Numbers: [1501] 1501,36 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 36:[75, 23], Operations: ['64-60=4', '19+4=23'] Exploring Operation: 75+23=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 75*23=1725, Resulting Numbers: [1725] 1725,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 36:[75, 64, 41], Operations: ['60-19=41'] Exploring Operation: 75+64=139, Resulting Numbers: [41, 139] Generated Node #0,0,0: 36:[41, 139] Operation: 75+64=139 Exploring Operation: 64-41=23, Resulting Numbers: [75, 23] Generated Node #0,0,1: 36:[75, 23] Operation: 64-41=23 Exploring Operation: 75-41=34, Resulting Numbers: [64, 34] Generated Node #0,0,2: 36:[64, 34] Operation: 75-41=34 Exploring Operation: 75+41=116, Resulting Numbers: [64, 116] Generated Node #0,0,3: 36:[64, 116] Operation: 75+41=116 Exploring Operation: 75-64=11, Resulting Numbers: [41, 11] Generated Node #0,0,4: 36:[41, 11] Operation: 75-64=11 Moving to Node #0,2 Current State: 36:[60, 64, 56], Operations: ['75-19=56'] Exploring Operation: 64-56=8, Resulting Numbers: [60, 8] Generated Node #0,2,0: 36:[60, 8] Operation: 64-56=8 Exploring Operation: 60+64=124, Resulting Numbers: [56, 124] Generated Node #0,2,1: 36:[56, 124] Operation: 60+64=124 Exploring Operation: 60+56=116, Resulting Numbers: [64, 116] Generated Node #0,2,2: 36:[64, 116] Operation: 60+56=116 Exploring Operation: 64-60=4, Resulting Numbers: [56, 4] Generated Node #0,2,3: 36:[56, 4] Operation: 64-60=4 Exploring Operation: 60-56=4, Resulting Numbers: [64, 4] Generated Node #0,2,4: 36:[64, 4] Operation: 60-56=4 Moving to Node #0,1,0 Current State: 36:[11, 41], Operations: ['75-64=11', '60-19=41'] Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,36 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[41, 11], Operations: ['60-19=41', '75-64=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[15, 45], Operations: ['75-60=15', '64-19=45'] Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,36 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[19, 49], Operations: ['75-60=15', '64-15=49'] Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,36 unequal: No Solution Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[19, 49], Operations: ['75-64=11', '60-11=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[56, 4], Operations: ['75-19=56', '64-60=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,36 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[60, 8], Operations: ['75-64=11', '19-11=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,36 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[60, 8], Operations: ['75-19=56', '64-56=8'] Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,36 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[64, 4], Operations: ['75-19=56', '60-56=4'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[64, 4], Operations: ['75-60=15', '19-15=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,36 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[64, 34], Operations: ['60-19=41', '75-41=34'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,36 unequal: No Solution Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[64, 34], Operations: ['75-60=15', '19+15=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,36 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[60, 30], Operations: ['75-64=11', '19+11=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,36 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[19, 71], Operations: ['75-64=11', '60+11=71'] Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[19, 79], Operations: ['75-60=15', '64+15=79'] Exploring Operation: 19*79=1501, Resulting Numbers: [1501] 1501,36 unequal: No Solution Exploring Operation: 19+79=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[75, 23], Operations: ['60-19=41', '64-41=23'] Exploring Operation: 75+23=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 75*23=1725, Resulting Numbers: [1725] 1725,36 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[64, 116], Operations: ['75-19=56', '60+56=116'] Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 64*116=7424, Resulting Numbers: [7424] 7424,36 unequal: No Solution Exploring Operation: 64+116=180, Resulting Numbers: [180] 180,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[64, 116], Operations: ['60-19=41', '75+41=116'] Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 64*116=7424, Resulting Numbers: [7424] 7424,36 unequal: No Solution Exploring Operation: 64+116=180, Resulting Numbers: [180] 180,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[56, 124], Operations: ['75-19=56', '60+64=124'] Exploring Operation: 56+124=180, Resulting Numbers: [180] 180,36 unequal: No Solution Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 56*124=6944, Resulting Numbers: [6944] 6944,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[41, 139], Operations: ['60-19=41', '75+64=139'] Exploring Operation: 139-41=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 41+139=180, Resulting Numbers: [180] 180,36 unequal: No Solution Exploring Operation: 41*139=5699, Resulting Numbers: [5699] 5699,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 62, 20, 44, 2 ]
63
[ "62+20=82", "44+82=126", "126/2=63" ]
Current State: 63:[62, 20, 44, 2], Operations: [] Exploring Operation: 62+20=82, Resulting Numbers: [44, 2, 82] Generated Node #2: [44, 2, 82] from Operation: 62+20=82 Current State: 63:[44, 2, 82], Operations: ['62+20=82'] Exploring Operation: 44+82=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 44+82=126 Current State: 63:[2, 126], Operations: ['62+20=82', '44+82=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[62, 20, 44, 2], Operations: [] Exploring Operation: 20+44=64, Resulting Numbers: [62, 2, 64] Generated Node #0,0: 63:[62, 2, 64] Operation: 20+44=64 Moving to Node #0,0 Current State: 63:[62, 2, 64], Operations: ['20+44=64'] Exploring Operation: 62+2=64, Resulting Numbers: [64, 64] Generated Node #0,0,0: 63:[64, 64] Operation: 62+2=64 Moving to Node #0,0,0 Current State: 63:[64, 64], Operations: ['20+44=64', '62+2=64'] Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 12, 34, 1, 49 ]
27
[ "34-12=22", "1*49=49", "49-22=27" ]
Current State: 27:[12, 34, 1, 49], Operations: [] Exploring Operation: 34-12=22, Resulting Numbers: [1, 49, 22] Generated Node #2: [1, 49, 22] from Operation: 34-12=22 Current State: 27:[1, 49, 22], Operations: ['34-12=22'] Exploring Operation: 1*49=49, Resulting Numbers: [22, 49] Generated Node #3: [22, 49] from Operation: 1*49=49 Current State: 27:[22, 49], Operations: ['34-12=22', '1*49=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[12, 34, 1, 49], Operations: [] Exploring Operation: 34-12=22, Resulting Numbers: [1, 49, 22] Generated Node #0,0: 27:[1, 49, 22] Operation: 34-12=22 Exploring Operation: 12-1=11, Resulting Numbers: [34, 49, 11] Generated Node #0,1: 27:[34, 49, 11] Operation: 12-1=11 Exploring Operation: 49-12=37, Resulting Numbers: [34, 1, 37] Generated Node #0,2: 27:[34, 1, 37] Operation: 49-12=37 Exploring Operation: 34-1=33, Resulting Numbers: [12, 49, 33] Generated Node #0,3: 27:[12, 49, 33] Operation: 34-1=33 Exploring Operation: 49-34=15, Resulting Numbers: [12, 1, 15] Generated Node #0,4: 27:[12, 1, 15] Operation: 49-34=15 Moving to Node #0,4 Current State: 27:[12, 1, 15], Operations: ['49-34=15'] Exploring Operation: 12*1=12, Resulting Numbers: [15, 12] Generated Node #0,4,0: 27:[15, 12] Operation: 12*1=12 Exploring Operation: 12-1=11, Resulting Numbers: [15, 11] Generated Node #0,4,1: 27:[15, 11] Operation: 12-1=11 Exploring Operation: 15-1=14, Resulting Numbers: [12, 14] Generated Node #0,4,2: 27:[12, 14] Operation: 15-1=14 Exploring Operation: 12+15=27, Resulting Numbers: [1, 27] Generated Node #0,4,3: 27:[1, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [1, 3] Generated Node #0,4,4: 27:[1, 3] Operation: 15-12=3 Moving to Node #0,2 Current State: 27:[34, 1, 37], Operations: ['49-12=37'] Exploring Operation: 34-1=33, Resulting Numbers: [37, 33] Generated Node #0,2,0: 27:[37, 33] Operation: 34-1=33 Exploring Operation: 37-34=3, Resulting Numbers: [1, 3] Generated Node #0,2,1: 27:[1, 3] Operation: 37-34=3 Exploring Operation: 37-1=36, Resulting Numbers: [34, 36] Generated Node #0,2,2: 27:[34, 36] Operation: 37-1=36 Exploring Operation: 34*1=34, Resulting Numbers: [37, 34] Generated Node #0,2,3: 27:[37, 34] Operation: 34*1=34 Exploring Operation: 34/1=34, Resulting Numbers: [37, 34] Generated Node #0,2,4: 27:[37, 34] Operation: 34/1=34 Moving to Node #0,0 Current State: 27:[1, 49, 22], Operations: ['34-12=22'] Exploring Operation: 1*49=49, Resulting Numbers: [22, 49] Generated Node #0,0,0: 27:[22, 49] Operation: 1*49=49 Exploring Operation: 1+22=23, Resulting Numbers: [49, 23] Generated Node #0,0,1: 27:[49, 23] Operation: 1+22=23 Exploring Operation: 49-22=27, Resulting Numbers: [1, 27] Generated Node #0,0,2: 27:[1, 27] Operation: 49-22=27 Exploring Operation: 49/1=49, Resulting Numbers: [22, 49] Generated Node #0,0,3: 27:[22, 49] Operation: 49/1=49 Exploring Operation: 49-1=48, Resulting Numbers: [22, 48] Generated Node #0,0,4: 27:[22, 48] Operation: 49-1=48 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[1, 27], Operations: ['34-12=22', '49-22=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[12, 34, 1, 49], Operations: [] Exploring Operation: 34-12=22, Resulting Numbers: [1, 49, 22] Generated Node #0,0: 27:[1, 49, 22] Operation: 34-12=22 Moving to Node #0,0 Current State: 27:[1, 49, 22], Operations: ['34-12=22'] Exploring Operation: 49-22=27, Resulting Numbers: [1, 27] Generated Node #0,0,2: 27:[1, 27] Operation: 49-22=27 Moving to Node #0,0,2 Current State: 27:[1, 27], Operations: ['34-12=22', '49-22=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 91, 26, 30, 14 ]
35
[ "30-26=4", "14*4=56", "91-56=35" ]
Current State: 35:[91, 26, 30, 14], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [91, 14, 4] Generated Node #2: [91, 14, 4] from Operation: 30-26=4 Current State: 35:[91, 14, 4], Operations: ['30-26=4'] Exploring Operation: 14*4=56, Resulting Numbers: [91, 56] Generated Node #3: [91, 56] from Operation: 14*4=56 Current State: 35:[91, 56], Operations: ['30-26=4', '14*4=56'] Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[91, 26, 30, 14], Operations: [] Exploring Operation: 91-26=65, Resulting Numbers: [30, 14, 65] Generated Node #0,0: 35:[30, 14, 65] Operation: 91-26=65 Moving to Node #0,0 Current State: 35:[30, 14, 65], Operations: ['91-26=65'] Exploring Operation: 65-30=35, Resulting Numbers: [14, 35] Generated Node #0,0,0: 35:[14, 35] Operation: 65-30=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[14, 35], Operations: ['91-26=65', '65-30=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 44, 98, 45 ]
78
[ "98-44=54", "65*54=3510", "3510/45=78" ]
Current State: 78:[65, 44, 98, 45], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [65, 45, 54] Generated Node #2: [65, 45, 54] from Operation: 98-44=54 Current State: 78:[65, 45, 54], Operations: ['98-44=54'] Exploring Operation: 65*54=3510, Resulting Numbers: [45, 3510] Generated Node #3: [45, 3510] from Operation: 65*54=3510 Current State: 78:[45, 3510], Operations: ['98-44=54', '65*54=3510'] Exploring Operation: 3510/45=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[65, 44, 98, 45], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [44, 45, 33] Generated Node #0,0: 78:[44, 45, 33] Operation: 98-65=33 Exploring Operation: 98-44=54, Resulting Numbers: [65, 45, 54] Generated Node #0,1: 78:[65, 45, 54] Operation: 98-44=54 Exploring Operation: 98-45=53, Resulting Numbers: [65, 44, 53] Generated Node #0,2: 78:[65, 44, 53] Operation: 98-45=53 Exploring Operation: 65-45=20, Resulting Numbers: [44, 98, 20] Generated Node #0,3: 78:[44, 98, 20] Operation: 65-45=20 Exploring Operation: 65-44=21, Resulting Numbers: [98, 45, 21] Generated Node #0,4: 78:[98, 45, 21] Operation: 65-44=21 Moving to Node #0,0 Current State: 78:[44, 45, 33], Operations: ['98-65=33'] Exploring Operation: 44+33=77, Resulting Numbers: [45, 77] Generated Node #0,0,0: 78:[45, 77] Operation: 44+33=77 Exploring Operation: 44-33=11, Resulting Numbers: [45, 11] Generated Node #0,0,1: 78:[45, 11] Operation: 44-33=11 Exploring Operation: 45-33=12, Resulting Numbers: [44, 12] Generated Node #0,0,2: 78:[44, 12] Operation: 45-33=12 Exploring Operation: 45-44=1, Resulting Numbers: [33, 1] Generated Node #0,0,3: 78:[33, 1] Operation: 45-44=1 Exploring Operation: 45+33=78, Resulting Numbers: [44, 78] Generated Node #0,0,4: 78:[44, 78] Operation: 45+33=78 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[44, 78], Operations: ['98-65=33', '45+33=78'] Exploring Operation: 44*78=3432, Resulting Numbers: [3432] 3432,78 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 44+78=122, Resulting Numbers: [122] 122,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[44, 12], Operations: ['98-65=33', '45-33=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,78 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[45, 77], Operations: ['98-65=33', '44+33=77'] Exploring Operation: 45+77=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 45*77=3465, Resulting Numbers: [3465] 3465,78 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[33, 1], Operations: ['98-65=33', '45-44=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[45, 11], Operations: ['98-65=33', '44-33=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,78 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: 78:[98, 45, 21], Operations: ['65-44=21'] Exploring Operation: 98+21=119, Resulting Numbers: [45, 119] Generated Node #0,4,0: 78:[45, 119] Operation: 98+21=119 Exploring Operation: 45-21=24, Resulting Numbers: [98, 24] Generated Node #0,4,1: 78:[98, 24] Operation: 45-21=24 Exploring Operation: 98-21=77, Resulting Numbers: [45, 77] Generated Node #0,4,2: 78:[45, 77] Operation: 98-21=77 Exploring Operation: 45+21=66, Resulting Numbers: [98, 66] Generated Node #0,4,3: 78:[98, 66] Operation: 45+21=66 Exploring Operation: 98-45=53, Resulting Numbers: [21, 53] Generated Node #0,4,4: 78:[21, 53] Operation: 98-45=53 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[45, 77], Operations: ['65-44=21', '98-21=77'] Exploring Operation: 45*77=3465, Resulting Numbers: [3465] 3465,78 unequal: No Solution Exploring Operation: 45+77=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[21, 53], Operations: ['65-44=21', '98-45=53'] Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 21*53=1113, Resulting Numbers: [1113] 1113,78 unequal: No Solution Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 78:[98, 24], Operations: ['65-44=21', '45-21=24'] Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[98, 66], Operations: ['65-44=21', '45+21=66'] Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,78 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[45, 119], Operations: ['65-44=21', '98+21=119'] Exploring Operation: 45*119=5355, Resulting Numbers: [5355] 5355,78 unequal: No Solution Exploring Operation: 119-45=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 45+119=164, Resulting Numbers: [164] 164,78 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: 78:[44, 98, 20], Operations: ['65-45=20'] Exploring Operation: 98-20=78, Resulting Numbers: [44, 78] Generated Node #0,3,0: 78:[44, 78] Operation: 98-20=78 Exploring Operation: 44+20=64, Resulting Numbers: [98, 64] Generated Node #0,3,1: 78:[98, 64] Operation: 44+20=64 Exploring Operation: 98+20=118, Resulting Numbers: [44, 118] Generated Node #0,3,2: 78:[44, 118] Operation: 98+20=118 Exploring Operation: 44-20=24, Resulting Numbers: [98, 24] Generated Node #0,3,3: 78:[98, 24] Operation: 44-20=24 Exploring Operation: 98-44=54, Resulting Numbers: [20, 54] Generated Node #0,3,4: 78:[20, 54] Operation: 98-44=54 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[44, 78], Operations: ['65-45=20', '98-20=78'] Exploring Operation: 44*78=3432, Resulting Numbers: [3432] 3432,78 unequal: No Solution Exploring Operation: 44+78=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 78:[20, 54], Operations: ['65-45=20', '98-44=54'] Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,78 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[98, 24], Operations: ['65-45=20', '44-20=24'] Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,78 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 78:[98, 64], Operations: ['65-45=20', '44+20=64'] Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,78 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 78:[44, 118], Operations: ['65-45=20', '98+20=118'] Exploring Operation: 44+118=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 44*118=5192, Resulting Numbers: [5192] 5192,78 unequal: No Solution Exploring Operation: 118-44=74, Resulting Numbers: [74] 74,78 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: 78:[65, 44, 53], Operations: ['98-45=53'] Exploring Operation: 65-53=12, Resulting Numbers: [44, 12] Generated Node #0,2,0: 78:[44, 12] Operation: 65-53=12 Exploring Operation: 65-44=21, Resulting Numbers: [53, 21] Generated Node #0,2,1: 78:[53, 21] Operation: 65-44=21 Exploring Operation: 44+53=97, Resulting Numbers: [65, 97] Generated Node #0,2,2: 78:[65, 97] Operation: 44+53=97 Exploring Operation: 65+44=109, Resulting Numbers: [53, 109] Generated Node #0,2,3: 78:[53, 109] Operation: 65+44=109 Exploring Operation: 53-44=9, Resulting Numbers: [65, 9] Generated Node #0,2,4: 78:[65, 9] Operation: 53-44=9 Moving to Node #0,1 Current State: 78:[65, 45, 54], Operations: ['98-44=54'] Exploring Operation: 65-54=11, Resulting Numbers: [45, 11] Generated Node #0,1,0: 78:[45, 11] Operation: 65-54=11 Exploring Operation: 45+54=99, Resulting Numbers: [65, 99] Generated Node #0,1,1: 78:[65, 99] Operation: 45+54=99 Exploring Operation: 65+45=110, Resulting Numbers: [54, 110] Generated Node #0,1,2: 78:[54, 110] Operation: 65+45=110 Exploring Operation: 54-45=9, Resulting Numbers: [65, 9] Generated Node #0,1,3: 78:[65, 9] Operation: 54-45=9 Exploring Operation: 65-45=20, Resulting Numbers: [54, 20] Generated Node #0,1,4: 78:[54, 20] Operation: 65-45=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[45, 11], Operations: ['98-44=54', '65-54=11'] Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,78 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[65, 9], Operations: ['98-44=54', '54-45=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,78 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[54, 20], Operations: ['98-44=54', '65-45=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[65, 99], Operations: ['98-44=54', '45+54=99'] Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 65+99=164, Resulting Numbers: [164] 164,78 unequal: No Solution Exploring Operation: 65*99=6435, Resulting Numbers: [6435] 6435,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[54, 110], Operations: ['98-44=54', '65+45=110'] Exploring Operation: 110-54=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 54*110=5940, Resulting Numbers: [5940] 5940,78 unequal: No Solution Exploring Operation: 54+110=164, Resulting Numbers: [164] 164,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 78:[44, 12], Operations: ['98-45=53', '65-53=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,78 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[65, 9], Operations: ['98-45=53', '53-44=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[53, 21], Operations: ['98-45=53', '65-44=21'] Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[65, 97], Operations: ['98-45=53', '44+53=97'] Exploring Operation: 65+97=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 65*97=6305, Resulting Numbers: [6305] 6305,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[53, 109], Operations: ['98-45=53', '65+44=109'] Exploring Operation: 53+109=162, Resulting Numbers: [162] 162,78 unequal: No Solution Exploring Operation: 109-53=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 53*109=5777, Resulting Numbers: [5777] 5777,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 24, 6, 92 ]
46
[ "92-50=42", "24/6=4", "42+4=46" ]
Current State: 46:[50, 24, 6, 92], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [24, 6, 42] Generated Node #2: [24, 6, 42] from Operation: 92-50=42 Current State: 46:[24, 6, 42], Operations: ['92-50=42'] Exploring Operation: 24/6=4, Resulting Numbers: [42, 4] Generated Node #3: [42, 4] from Operation: 24/6=4 Current State: 46:[42, 4], Operations: ['92-50=42', '24/6=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[50, 24, 6, 92], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [50, 92, 4] Generated Node #0,0: 46:[50, 92, 4] Operation: 24/6=4 Exploring Operation: 50-6=44, Resulting Numbers: [24, 92, 44] Generated Node #0,1: 46:[24, 92, 44] Operation: 50-6=44 Exploring Operation: 92-50=42, Resulting Numbers: [24, 6, 42] Generated Node #0,2: 46:[24, 6, 42] Operation: 92-50=42 Exploring Operation: 92-24=68, Resulting Numbers: [50, 6, 68] Generated Node #0,3: 46:[50, 6, 68] Operation: 92-24=68 Exploring Operation: 92-6=86, Resulting Numbers: [50, 24, 86] Generated Node #0,4: 46:[50, 24, 86] Operation: 92-6=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[24, 6, 42], Operations: ['92-50=42'] Exploring Operation: 24/6=4, Resulting Numbers: [42, 4] Generated Node #0,2,0: 46:[42, 4] Operation: 24/6=4 Exploring Operation: 42-24=18, Resulting Numbers: [6, 18] Generated Node #0,2,1: 46:[6, 18] Operation: 42-24=18 Exploring Operation: 24-6=18, Resulting Numbers: [42, 18] Generated Node #0,2,2: 46:[42, 18] Operation: 24-6=18 Exploring Operation: 42/6=7, Resulting Numbers: [24, 7] Generated Node #0,2,3: 46:[24, 7] Operation: 42/6=7 Exploring Operation: 6+42=48, Resulting Numbers: [24, 48] Generated Node #0,2,4: 46:[24, 48] Operation: 6+42=48 Moving to Node #0,2,4 Current State: 46:[24, 48], Operations: ['92-50=42', '6+42=48'] Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,46 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[24, 7], Operations: ['92-50=42', '42/6=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,46 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[42, 4], Operations: ['92-50=42', '24/6=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,46 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[50, 24, 6, 92], Operations: [] Exploring Operation: 92-50=42, Resulting Numbers: [24, 6, 42] Generated Node #0,2: 46:[24, 6, 42] Operation: 92-50=42 Moving to Node #0,2 Current State: 46:[24, 6, 42], Operations: ['92-50=42'] Exploring Operation: 24/6=4, Resulting Numbers: [42, 4] Generated Node #0,2,0: 46:[42, 4] Operation: 24/6=4 Moving to Node #0,2,0 Current State: 46:[42, 4], Operations: ['92-50=42', '24/6=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 22, 60, 34, 32 ]
80
[ "22+60=82", "34-32=2", "82-2=80" ]
Current State: 80:[22, 60, 34, 32], Operations: [] Exploring Operation: 22+60=82, Resulting Numbers: [34, 32, 82] Generated Node #2: [34, 32, 82] from Operation: 22+60=82 Current State: 80:[34, 32, 82], Operations: ['22+60=82'] Exploring Operation: 34-32=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 34-32=2 Current State: 80:[82, 2], Operations: ['22+60=82', '34-32=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[22, 60, 34, 32], Operations: [] Exploring Operation: 60-22=38, Resulting Numbers: [34, 32, 38] Generated Node #0,0: 80:[34, 32, 38] Operation: 60-22=38 Exploring Operation: 22+60=82, Resulting Numbers: [34, 32, 82] Generated Node #0,1: 80:[34, 32, 82] Operation: 22+60=82 Moving to Node #0,0 Current State: 80:[34, 32, 38], Operations: ['60-22=38'] Exploring Operation: 38-32=6, Resulting Numbers: [34, 6] Generated Node #0,0,0: 80:[34, 6] Operation: 38-32=6 Exploring Operation: 34-32=2, Resulting Numbers: [38, 2] Generated Node #0,0,1: 80:[38, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[38, 2], Operations: ['60-22=38', '34-32=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 38+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,0,0 Current State: 80:[34, 6], Operations: ['60-22=38', '38-32=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[34, 32, 82], Operations: ['22+60=82'] Exploring Operation: 34-32=2, Resulting Numbers: [82, 2] Generated Node #0,1,0: 80:[82, 2] Operation: 34-32=2 Exploring Operation: 34+32=66, Resulting Numbers: [82, 66] Generated Node #0,1,1: 80:[82, 66] Operation: 34+32=66 Moving to Node #0,1,0 Current State: 80:[82, 2], Operations: ['22+60=82', '34-32=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[22, 60, 34, 32], Operations: [] Exploring Operation: 22+60=82, Resulting Numbers: [34, 32, 82] Generated Node #0,1: 80:[34, 32, 82] Operation: 22+60=82 Moving to Node #0,1 Current State: 80:[34, 32, 82], Operations: ['22+60=82'] Exploring Operation: 34-32=2, Resulting Numbers: [82, 2] Generated Node #0,1,0: 80:[82, 2] Operation: 34-32=2 Moving to Node #0,1,0 Current State: 80:[82, 2], Operations: ['22+60=82', '34-32=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 56, 73, 2, 3 ]
31
[ "73-56=17", "2*17=34", "34-3=31" ]
Current State: 31:[56, 73, 2, 3], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [2, 3, 17] Generated Node #2: [2, 3, 17] from Operation: 73-56=17 Current State: 31:[2, 3, 17], Operations: ['73-56=17'] Exploring Operation: 2*17=34, Resulting Numbers: [3, 34] Generated Node #3: [3, 34] from Operation: 2*17=34 Current State: 31:[3, 34], Operations: ['73-56=17', '2*17=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[56, 73, 2, 3], Operations: [] Exploring Operation: 2*3=6, Resulting Numbers: [56, 73, 6] Generated Node #0,0: 31:[56, 73, 6] Operation: 2*3=6 Exploring Operation: 73-56=17, Resulting Numbers: [2, 3, 17] Generated Node #0,1: 31:[2, 3, 17] Operation: 73-56=17 Exploring Operation: 56/2=28, Resulting Numbers: [73, 3, 28] Generated Node #0,2: 31:[73, 3, 28] Operation: 56/2=28 Moving to Node #0,1 Current State: 31:[2, 3, 17], Operations: ['73-56=17'] Exploring Operation: 2+3=5, Resulting Numbers: [17, 5] Generated Node #0,1,0: 31:[17, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 31:[17, 6] Operation: 2*3=6 Exploring Operation: 2*17=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 31:[3, 34] Operation: 2*17=34 Moving to Node #0,2 Current State: 31:[73, 3, 28], Operations: ['56/2=28'] Exploring Operation: 3+28=31, Resulting Numbers: [73, 31] Generated Node #0,2,0: 31:[73, 31] Operation: 3+28=31 Exploring Operation: 73-3=70, Resulting Numbers: [28, 70] Generated Node #0,2,1: 31:[28, 70] Operation: 73-3=70 Exploring Operation: 73-28=45, Resulting Numbers: [3, 45] Generated Node #0,2,2: 31:[3, 45] Operation: 73-28=45 Moving to Node #0,0 Current State: 31:[56, 73, 6], Operations: ['2*3=6'] Exploring Operation: 73-6=67, Resulting Numbers: [56, 67] Generated Node #0,0,0: 31:[56, 67] Operation: 73-6=67 Exploring Operation: 56-6=50, Resulting Numbers: [73, 50] Generated Node #0,0,1: 31:[73, 50] Operation: 56-6=50 Exploring Operation: 73-56=17, Resulting Numbers: [6, 17] Generated Node #0,0,2: 31:[6, 17] Operation: 73-56=17 Moving to Node #0,1,2 Current State: 31:[3, 34], Operations: ['73-56=17', '2*17=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[56, 73, 2, 3], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [2, 3, 17] Generated Node #0,1: 31:[2, 3, 17] Operation: 73-56=17 Moving to Node #0,1 Current State: 31:[2, 3, 17], Operations: ['73-56=17'] Exploring Operation: 2*17=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 31:[3, 34] Operation: 2*17=34 Moving to Node #0,1,2 Current State: 31:[3, 34], Operations: ['73-56=17', '2*17=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.984375
hs_3
mult_heuristic
[ 56, 7, 12, 56 ]
76
[ "56/7=8", "12+56=68", "8+68=76" ]
Current State: 76:[56, 7, 12, 56], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [12, 8] Generated Node #2: [12, 8] from Operation: 56/7=8 Current State: 76:[12, 8], Operations: ['56/7=8'] Exploring Operation: 12+56=68, Resulting Numbers: [8, 68] Generated Node #3: [8, 68] from Operation: 12+56=68 Current State: 76:[8, 68], Operations: ['56/7=8', '12+56=68'] Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[56, 7, 12, 56], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [7, 12, 1] Generated Node #0,0: 76:[7, 12, 1] Operation: 56/56=1 Moving to Node #0,0 Current State: 76:[7, 12, 1], Operations: ['56/56=1'] Exploring Operation: 7+12=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 76:[1, 19] Operation: 7+12=19 Moving to Node #0,0,0 Current State: 76:[1, 19], Operations: ['56/56=1', '7+12=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,76 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 32, 74, 53, 33 ]
31
[ "32+74=106", "106/53=2", "33-2=31" ]
Current State: 31:[32, 74, 53, 33], Operations: [] Exploring Operation: 32+74=106, Resulting Numbers: [53, 33, 106] Generated Node #2: [53, 33, 106] from Operation: 32+74=106 Current State: 31:[53, 33, 106], Operations: ['32+74=106'] Exploring Operation: 106/53=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 106/53=2 Current State: 31:[33, 2], Operations: ['32+74=106', '106/53=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[32, 74, 53, 33], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [53, 33, 42] Generated Node #0,0: 31:[53, 33, 42] Operation: 74-32=42 Exploring Operation: 74-33=41, Resulting Numbers: [32, 53, 41] Generated Node #0,1: 31:[32, 53, 41] Operation: 74-33=41 Exploring Operation: 74-53=21, Resulting Numbers: [32, 33, 21] Generated Node #0,2: 31:[32, 33, 21] Operation: 74-53=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[32, 33, 21], Operations: ['74-53=21'] Exploring Operation: 32-21=11, Resulting Numbers: [33, 11] Generated Node #0,2,0: 31:[33, 11] Operation: 32-21=11 Exploring Operation: 32+21=53, Resulting Numbers: [33, 53] Generated Node #0,2,1: 31:[33, 53] Operation: 32+21=53 Exploring Operation: 33-21=12, Resulting Numbers: [32, 12] Generated Node #0,2,2: 31:[32, 12] Operation: 33-21=12 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[32, 12], Operations: ['74-53=21', '33-21=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,31 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[33, 11], Operations: ['74-53=21', '32-21=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[33, 53], Operations: ['74-53=21', '32+21=53'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[32, 53, 41], Operations: ['74-33=41'] Exploring Operation: 53-41=12, Resulting Numbers: [32, 12] Generated Node #0,1,0: 31:[32, 12] Operation: 53-41=12 Exploring Operation: 53-32=21, Resulting Numbers: [41, 21] Generated Node #0,1,1: 31:[41, 21] Operation: 53-32=21 Exploring Operation: 41-32=9, Resulting Numbers: [53, 9] Generated Node #0,1,2: 31:[53, 9] Operation: 41-32=9 Moving to Node #0,1,0 Current State: 31:[32, 12], Operations: ['74-33=41', '53-41=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,31 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[41, 21], Operations: ['74-33=41', '53-32=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,31 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[53, 9], Operations: ['74-33=41', '41-32=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,31 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[53, 33, 42], Operations: ['74-32=42'] Exploring Operation: 53-42=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 31:[33, 11] Operation: 53-42=11 Exploring Operation: 53-33=20, Resulting Numbers: [42, 20] Generated Node #0,0,1: 31:[42, 20] Operation: 53-33=20 Exploring Operation: 42-33=9, Resulting Numbers: [53, 9] Generated Node #0,0,2: 31:[53, 9] Operation: 42-33=9 Moving to Node #0,0,0 Current State: 31:[33, 11], Operations: ['74-32=42', '53-42=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[42, 20], Operations: ['74-32=42', '53-33=20'] Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,31 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[53, 9], Operations: ['74-32=42', '42-33=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 26, 68, 33, 37 ]
15
[ "33-26=7", "68+37=105", "105/7=15" ]
Current State: 15:[26, 68, 33, 37], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [68, 37, 7] Generated Node #2: [68, 37, 7] from Operation: 33-26=7 Current State: 15:[68, 37, 7], Operations: ['33-26=7'] Exploring Operation: 68+37=105, Resulting Numbers: [7, 105] Generated Node #3: [7, 105] from Operation: 68+37=105 Current State: 15:[7, 105], Operations: ['33-26=7', '68+37=105'] Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[26, 68, 33, 37], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [26, 68, 4] Generated Node #0,0: 15:[26, 68, 4] Operation: 37-33=4 Exploring Operation: 68-33=35, Resulting Numbers: [26, 37, 35] Generated Node #0,1: 15:[26, 37, 35] Operation: 68-33=35 Exploring Operation: 68-26=42, Resulting Numbers: [33, 37, 42] Generated Node #0,2: 15:[33, 37, 42] Operation: 68-26=42 Exploring Operation: 68-37=31, Resulting Numbers: [26, 33, 31] Generated Node #0,3: 15:[26, 33, 31] Operation: 68-37=31 Moving to Node #0,3 Current State: 15:[26, 33, 31], Operations: ['68-37=31'] Exploring Operation: 26+33=59, Resulting Numbers: [31, 59] Generated Node #0,3,0: 15:[31, 59] Operation: 26+33=59 Exploring Operation: 33-31=2, Resulting Numbers: [26, 2] Generated Node #0,3,1: 15:[26, 2] Operation: 33-31=2 Exploring Operation: 33-26=7, Resulting Numbers: [31, 7] Generated Node #0,3,2: 15:[31, 7] Operation: 33-26=7 Exploring Operation: 31-26=5, Resulting Numbers: [33, 5] Generated Node #0,3,3: 15:[33, 5] Operation: 31-26=5 Moving to Node #0,1 Current State: 15:[26, 37, 35], Operations: ['68-33=35'] Exploring Operation: 37-35=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 15:[26, 2] Operation: 37-35=2 Exploring Operation: 37-26=11, Resulting Numbers: [35, 11] Generated Node #0,1,1: 15:[35, 11] Operation: 37-26=11 Exploring Operation: 26+37=63, Resulting Numbers: [35, 63] Generated Node #0,1,2: 15:[35, 63] Operation: 26+37=63 Exploring Operation: 35-26=9, Resulting Numbers: [37, 9] Generated Node #0,1,3: 15:[37, 9] Operation: 35-26=9 Moving to Node #0,0 Current State: 15:[26, 68, 4], Operations: ['37-33=4'] Exploring Operation: 68-4=64, Resulting Numbers: [26, 64] Generated Node #0,0,0: 15:[26, 64] Operation: 68-4=64 Exploring Operation: 26-4=22, Resulting Numbers: [68, 22] Generated Node #0,0,1: 15:[68, 22] Operation: 26-4=22 Exploring Operation: 68-26=42, Resulting Numbers: [4, 42] Generated Node #0,0,2: 15:[4, 42] Operation: 68-26=42 Exploring Operation: 68/4=17, Resulting Numbers: [26, 17] Generated Node #0,0,3: 15:[26, 17] Operation: 68/4=17 Moving to Node #0,2 Current State: 15:[33, 37, 42], Operations: ['68-26=42'] Exploring Operation: 37-33=4, Resulting Numbers: [42, 4] Generated Node #0,2,0: 15:[42, 4] Operation: 37-33=4 Exploring Operation: 42-37=5, Resulting Numbers: [33, 5] Generated Node #0,2,1: 15:[33, 5] Operation: 42-37=5 Exploring Operation: 42-33=9, Resulting Numbers: [37, 9] Generated Node #0,2,2: 15:[37, 9] Operation: 42-33=9 Exploring Operation: 33+37=70, Resulting Numbers: [42, 70] Generated Node #0,2,3: 15:[42, 70] Operation: 33+37=70 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[33, 5], Operations: ['68-26=42', '42-37=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,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,2 Current State: 15:[37, 9], Operations: ['68-26=42', '42-33=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,15 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[42, 4], Operations: ['68-26=42', '37-33=4'] Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,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,3 Current State: 15:[42, 70], Operations: ['68-26=42', '33+37=70'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,15 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 15:[26, 2], Operations: ['68-37=31', '33-31=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[26, 2], Operations: ['68-33=35', '37-35=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[26, 17], Operations: ['37-33=4', '68/4=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,15 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[33, 5], Operations: ['68-37=31', '31-26=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,15 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[31, 7], Operations: ['68-37=31', '33-26=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[35, 11], Operations: ['68-33=35', '37-26=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,15 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[37, 9], Operations: ['68-33=35', '35-26=9'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[4, 42], Operations: ['37-33=4', '68-26=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,15 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[26, 64], Operations: ['37-33=4', '68-4=64'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,15 unequal: No Solution Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[68, 22], Operations: ['37-33=4', '26-4=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[31, 59], Operations: ['68-37=31', '26+33=59'] Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[35, 63], Operations: ['68-33=35', '26+37=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,15 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,15 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 21, 57, 76, 11 ]
17
[ "21*76=1596", "1596/57=28", "28-11=17" ]
Current State: 17:[21, 57, 76, 11], Operations: [] Exploring Operation: 21*76=1596, Resulting Numbers: [57, 11, 1596] Generated Node #2: [57, 11, 1596] from Operation: 21*76=1596 Current State: 17:[57, 11, 1596], Operations: ['21*76=1596'] Exploring Operation: 1596/57=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 1596/57=28 Current State: 17:[11, 28], Operations: ['21*76=1596', '1596/57=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[21, 57, 76, 11], Operations: [] Exploring Operation: 57-21=36, Resulting Numbers: [76, 11, 36] Generated Node #0,0: 17:[76, 11, 36] Operation: 57-21=36 Exploring Operation: 76-21=55, Resulting Numbers: [57, 11, 55] Generated Node #0,1: 17:[57, 11, 55] Operation: 76-21=55 Exploring Operation: 76-57=19, Resulting Numbers: [21, 11, 19] Generated Node #0,2: 17:[21, 11, 19] Operation: 76-57=19 Exploring Operation: 57-11=46, Resulting Numbers: [21, 76, 46] Generated Node #0,3: 17:[21, 76, 46] Operation: 57-11=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[21, 11, 19], Operations: ['76-57=19'] Exploring Operation: 21-11=10, Resulting Numbers: [19, 10] Generated Node #0,2,0: 17:[19, 10] Operation: 21-11=10 Exploring Operation: 21+11=32, Resulting Numbers: [19, 32] Generated Node #0,2,1: 17:[19, 32] Operation: 21+11=32 Exploring Operation: 11+19=30, Resulting Numbers: [21, 30] Generated Node #0,2,2: 17:[21, 30] Operation: 11+19=30 Exploring Operation: 19-11=8, Resulting Numbers: [21, 8] Generated Node #0,2,3: 17:[21, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[19, 10], Operations: ['76-57=19', '21-11=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,17 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,17 unequal: No Solution No 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: 17:[21, 8], Operations: ['76-57=19', '19-11=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,17 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,17 unequal: No Solution No 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: 17:[19, 32], Operations: ['76-57=19', '21+11=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,17 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,17 unequal: No Solution No 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: 17:[21, 30], Operations: ['76-57=19', '11+19=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,17 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,17 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: 17:[76, 11, 36], Operations: ['57-21=36'] Exploring Operation: 76-11=65, Resulting Numbers: [36, 65] Generated Node #0,0,0: 17:[36, 65] Operation: 76-11=65 Exploring Operation: 76-36=40, Resulting Numbers: [11, 40] Generated Node #0,0,1: 17:[11, 40] Operation: 76-36=40 Exploring Operation: 36-11=25, Resulting Numbers: [76, 25] Generated Node #0,0,2: 17:[76, 25] Operation: 36-11=25 Exploring Operation: 76+11=87, Resulting Numbers: [36, 87] Generated Node #0,0,3: 17:[36, 87] Operation: 76+11=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[11, 40], Operations: ['57-21=36', '76-36=40'] Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,17 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,17 unequal: No Solution No 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: 17:[36, 65], Operations: ['57-21=36', '76-11=65'] Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,17 unequal: No Solution Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,17 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,17 unequal: No Solution No 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: 17:[76, 25], Operations: ['57-21=36', '36-11=25'] Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,17 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,17 unequal: No Solution No 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: 17:[36, 87], Operations: ['57-21=36', '76+11=87'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,17 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,17 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: 17:[57, 11, 55], Operations: ['76-21=55'] Exploring Operation: 55-11=44, Resulting Numbers: [57, 44] Generated Node #0,1,0: 17:[57, 44] Operation: 55-11=44 Exploring Operation: 57-55=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 17:[11, 2] Operation: 57-55=2 Exploring Operation: 55/11=5, Resulting Numbers: [57, 5] Generated Node #0,1,2: 17:[57, 5] Operation: 55/11=5 Exploring Operation: 57-11=46, Resulting Numbers: [55, 46] Generated Node #0,1,3: 17:[55, 46] Operation: 57-11=46 Moving to Node #0,1,1 Current State: 17:[11, 2], Operations: ['76-21=55', '57-55=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[57, 5], Operations: ['76-21=55', '55/11=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,17 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[55, 46], Operations: ['76-21=55', '57-11=46'] Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,17 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[57, 44], Operations: ['76-21=55', '55-11=44'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,17 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,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,3 Current State: 17:[21, 76, 46], Operations: ['57-11=46'] Exploring Operation: 46-21=25, Resulting Numbers: [76, 25] Generated Node #0,3,0: 17:[76, 25] Operation: 46-21=25 Exploring Operation: 21+76=97, Resulting Numbers: [46, 97] Generated Node #0,3,1: 17:[46, 97] Operation: 21+76=97 Exploring Operation: 76-46=30, Resulting Numbers: [21, 30] Generated Node #0,3,2: 17:[21, 30] Operation: 76-46=30 Exploring Operation: 76-21=55, Resulting Numbers: [46, 55] Generated Node #0,3,3: 17:[46, 55] Operation: 76-21=55 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[21, 30], Operations: ['57-11=46', '76-46=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,17 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,17 unequal: No Solution No 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: 17:[76, 25], Operations: ['57-11=46', '46-21=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,17 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,17 unequal: No Solution No 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: 17:[46, 55], Operations: ['57-11=46', '76-21=55'] Exploring Operation: 46*55=2530, Resulting Numbers: [2530] 2530,17 unequal: No Solution Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,17 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,17 unequal: No Solution No 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: 17:[46, 97], Operations: ['57-11=46', '21+76=97'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 46*97=4462, Resulting Numbers: [4462] 4462,17 unequal: No Solution Exploring Operation: 46+97=143, Resulting Numbers: [143] 143,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 26, 67, 64, 68 ]
97
[ "26+67=93", "68-64=4", "93+4=97" ]
Current State: 97:[26, 67, 64, 68], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [64, 68, 93] Generated Node #2: [64, 68, 93] from Operation: 26+67=93 Current State: 97:[64, 68, 93], Operations: ['26+67=93'] Exploring Operation: 68-64=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 68-64=4 Current State: 97:[93, 4], Operations: ['26+67=93', '68-64=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 67, 64, 68], Operations: [] Exploring Operation: 26+67=93, Resulting Numbers: [64, 68, 93] Generated Node #0,0: 97:[64, 68, 93] Operation: 26+67=93 Exploring Operation: 26+64=90, Resulting Numbers: [67, 68, 90] Generated Node #0,1: 97:[67, 68, 90] Operation: 26+64=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[64, 68, 93], Operations: ['26+67=93'] Exploring Operation: 64+93=157, Resulting Numbers: [68, 157] Generated Node #0,0,0: 97:[68, 157] Operation: 64+93=157 Exploring Operation: 64+68=132, Resulting Numbers: [93, 132] Generated Node #0,0,1: 97:[93, 132] Operation: 64+68=132 Moving to Node #0,0,1 Current State: 97:[93, 132], Operations: ['26+67=93', '64+68=132'] Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,97 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[68, 157], Operations: ['26+67=93', '64+93=157'] Exploring Operation: 68+157=225, Resulting Numbers: [225] 225,97 unequal: No Solution Exploring Operation: 157-68=89, Resulting Numbers: [89] 89,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[67, 68, 90], Operations: ['26+64=90'] Exploring Operation: 67+90=157, Resulting Numbers: [68, 157] Generated Node #0,1,0: 97:[68, 157] Operation: 67+90=157 Exploring Operation: 67+68=135, Resulting Numbers: [90, 135] Generated Node #0,1,1: 97:[90, 135] Operation: 67+68=135 Moving to Node #0,1,1 Current State: 97:[90, 135], Operations: ['26+64=90', '67+68=135'] Exploring Operation: 90+135=225, Resulting Numbers: [225] 225,97 unequal: No Solution Exploring Operation: 135-90=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[68, 157], Operations: ['26+64=90', '67+90=157'] Exploring Operation: 68+157=225, Resulting Numbers: [225] 225,97 unequal: No Solution Exploring Operation: 157-68=89, Resulting Numbers: [89] 89,97 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
[ 78, 50, 91, 15 ]
52
[ "78+50=128", "91-15=76", "128-76=52" ]
Current State: 52:[78, 50, 91, 15], Operations: [] Exploring Operation: 78+50=128, Resulting Numbers: [91, 15, 128] Generated Node #2: [91, 15, 128] from Operation: 78+50=128 Current State: 52:[91, 15, 128], Operations: ['78+50=128'] Exploring Operation: 91-15=76, Resulting Numbers: [128, 76] Generated Node #3: [128, 76] from Operation: 91-15=76 Current State: 52:[128, 76], Operations: ['78+50=128', '91-15=76'] Exploring Operation: 128-76=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[78, 50, 91, 15], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [50, 15, 13] Generated Node #0,0: 52:[50, 15, 13] Operation: 91-78=13 Exploring Operation: 78-50=28, Resulting Numbers: [91, 15, 28] Generated Node #0,1: 52:[91, 15, 28] Operation: 78-50=28 Exploring Operation: 78-15=63, Resulting Numbers: [50, 91, 63] Generated Node #0,2: 52:[50, 91, 63] Operation: 78-15=63 Exploring Operation: 91-50=41, Resulting Numbers: [78, 15, 41] Generated Node #0,3: 52:[78, 15, 41] Operation: 91-50=41 Exploring Operation: 91-15=76, Resulting Numbers: [78, 50, 76] Generated Node #0,4: 52:[78, 50, 76] Operation: 91-15=76 Moving to Node #0,0 Current State: 52:[50, 15, 13], Operations: ['91-78=13'] Exploring Operation: 15+13=28, Resulting Numbers: [50, 28] Generated Node #0,0,0: 52:[50, 28] Operation: 15+13=28 Exploring Operation: 50+15=65, Resulting Numbers: [13, 65] Generated Node #0,0,1: 52:[13, 65] Operation: 50+15=65 Exploring Operation: 50-15=35, Resulting Numbers: [13, 35] Generated Node #0,0,2: 52:[13, 35] Operation: 50-15=35 Exploring Operation: 15-13=2, Resulting Numbers: [50, 2] Generated Node #0,0,3: 52:[50, 2] Operation: 15-13=2 Exploring Operation: 50+13=63, Resulting Numbers: [15, 63] Generated Node #0,0,4: 52:[15, 63] Operation: 50+13=63 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[50, 2], Operations: ['91-78=13', '15-13=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[78, 50, 91, 15], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [50, 15, 13] Generated Node #0,0: 52:[50, 15, 13] Operation: 91-78=13 Moving to Node #0,0 Current State: 52:[50, 15, 13], Operations: ['91-78=13'] Exploring Operation: 15-13=2, Resulting Numbers: [50, 2] Generated Node #0,0,3: 52:[50, 2] Operation: 15-13=2 Moving to Node #0,0,3 Current State: 52:[50, 2], Operations: ['91-78=13', '15-13=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 4, 92, 4, 8 ]
16
[ "4+92=96", "96/4=24", "24-8=16" ]
Current State: 16:[4, 92, 4, 8], Operations: [] Exploring Operation: 4+92=96, Resulting Numbers: [8, 96] Generated Node #2: [8, 96] from Operation: 4+92=96 Current State: 16:[8, 96], Operations: ['4+92=96'] Exploring Operation: 96/4=24, Resulting Numbers: [8, 24] Generated Node #3: [8, 24] from Operation: 96/4=24 Current State: 16:[8, 24], Operations: ['4+92=96', '96/4=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[4, 92, 4, 8], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [4, 4, 84] Generated Node #0,0: 16:[4, 4, 84] Operation: 92-8=84 Exploring Operation: 92-4=88, Resulting Numbers: [4, 8, 88] Generated Node #0,1: 16:[4, 8, 88] Operation: 92-4=88 Exploring Operation: 92-4=88, Resulting Numbers: [4, 8, 88] Generated Node #0,2: 16:[4, 8, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [4, 8, 23] Generated Node #0,3: 16:[4, 8, 23] Operation: 92/4=23 Exploring Operation: 92/4=23, Resulting Numbers: [4, 8, 23] Generated Node #0,4: 16:[4, 8, 23] Operation: 92/4=23 Moving to Node #0,3 Current State: 16:[4, 8, 23], Operations: ['92/4=23'] Exploring Operation: 8-4=4, Resulting Numbers: [23, 4] Generated Node #0,3,0: 16:[23, 4] Operation: 8-4=4 Exploring Operation: 23-8=15, Resulting Numbers: [4, 15] Generated Node #0,3,1: 16:[4, 15] Operation: 23-8=15 Exploring Operation: 4+8=12, Resulting Numbers: [23, 12] Generated Node #0,3,2: 16:[23, 12] Operation: 4+8=12 Exploring Operation: 8/4=2, Resulting Numbers: [23, 2] Generated Node #0,3,3: 16:[23, 2] Operation: 8/4=2 Exploring Operation: 23-4=19, Resulting Numbers: [8, 19] Generated Node #0,3,4: 16:[8, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[4, 15], Operations: ['92/4=23', '23-8=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 16:[8, 19], Operations: ['92/4=23', '23-4=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,16 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[23, 4], Operations: ['92/4=23', '8-4=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[23, 2], Operations: ['92/4=23', '8/4=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[23, 12], Operations: ['92/4=23', '4+8=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,16 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,16 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: 16:[4, 8, 23], Operations: ['92/4=23'] Exploring Operation: 8/4=2, Resulting Numbers: [23, 2] Generated Node #0,4,0: 16:[23, 2] Operation: 8/4=2 Exploring Operation: 4+8=12, Resulting Numbers: [23, 12] Generated Node #0,4,1: 16:[23, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [23, 4] Generated Node #0,4,2: 16:[23, 4] Operation: 8-4=4 Exploring Operation: 23-4=19, Resulting Numbers: [8, 19] Generated Node #0,4,3: 16:[8, 19] Operation: 23-4=19 Exploring Operation: 23-8=15, Resulting Numbers: [4, 15] Generated Node #0,4,4: 16:[4, 15] Operation: 23-8=15 Moving to Node #0,0 Current State: 16:[4, 4, 84], Operations: ['92-8=84'] Exploring Operation: 84-4=80, Resulting Numbers: [4, 80] Generated Node #0,0,0: 16:[4, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 16:[4, 21] Operation: 84/4=21 Exploring Operation: 4+4=8, Resulting Numbers: [84, 8] Generated Node #0,0,2: 16:[84, 8] Operation: 4+4=8 Exploring Operation: 84-4=80, Resulting Numbers: [4, 80] Generated Node #0,0,3: 16:[4, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [4, 21] Generated Node #0,0,4: 16:[4, 21] Operation: 84/4=21 Moving to Node #0,1 Current State: 16:[4, 8, 88], Operations: ['92-4=88'] Exploring Operation: 88/4=22, Resulting Numbers: [8, 22] Generated Node #0,1,0: 16:[8, 22] Operation: 88/4=22 Exploring Operation: 88/8=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 16:[4, 11] Operation: 88/8=11 Exploring Operation: 8-4=4, Resulting Numbers: [88, 4] Generated Node #0,1,2: 16:[88, 4] Operation: 8-4=4 Exploring Operation: 88-8=80, Resulting Numbers: [4, 80] Generated Node #0,1,3: 16:[4, 80] Operation: 88-8=80 Exploring Operation: 88-4=84, Resulting Numbers: [8, 84] Generated Node #0,1,4: 16:[8, 84] Operation: 88-4=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[4, 11], Operations: ['92-4=88', '88/8=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[8, 22], Operations: ['92-4=88', '88/4=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,16 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[4, 80], Operations: ['92-4=88', '88-8=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,16 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 16:[8, 84], Operations: ['92-4=88', '88-4=84'] Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,16 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[88, 4], Operations: ['92-4=88', '8-4=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,16 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,16 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: 16:[4, 8, 88], Operations: ['92-4=88'] Exploring Operation: 88-8=80, Resulting Numbers: [4, 80] Generated Node #0,2,0: 16:[4, 80] Operation: 88-8=80 Exploring Operation: 88/8=11, Resulting Numbers: [4, 11] Generated Node #0,2,1: 16:[4, 11] Operation: 88/8=11 Exploring Operation: 88-4=84, Resulting Numbers: [8, 84] Generated Node #0,2,2: 16:[8, 84] Operation: 88-4=84 Exploring Operation: 88/4=22, Resulting Numbers: [8, 22] Generated Node #0,2,3: 16:[8, 22] Operation: 88/4=22 Exploring Operation: 8-4=4, Resulting Numbers: [88, 4] Generated Node #0,2,4: 16:[88, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[4, 11], Operations: ['92-4=88', '88/8=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,16 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[8, 22], Operations: ['92-4=88', '88/4=22'] Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,16 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[4, 80], Operations: ['92-4=88', '88-8=80'] Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,16 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[8, 84], Operations: ['92-4=88', '88-4=84'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,16 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 16:[88, 4], Operations: ['92-4=88', '8-4=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,16 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,16 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: 16:[4, 15], Operations: ['92/4=23', '23-8=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[8, 19], Operations: ['92/4=23', '23-4=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[4, 21], Operations: ['92-8=84', '84/4=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,0,4 Current State: 16:[4, 21], Operations: ['92-8=84', '84/4=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,16 unequal: No Solution Moving to Node #0,4,0 Current State: 16:[23, 2], Operations: ['92/4=23', '8/4=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[23, 4], Operations: ['92/4=23', '8-4=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,16 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[23, 12], Operations: ['92/4=23', '4+8=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,16 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[4, 80], Operations: ['92-8=84', '84-4=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,16 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,16 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[4, 80], Operations: ['92-8=84', '84-4=80'] Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,16 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[84, 8], Operations: ['92-8=84', '4+4=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,16 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,16 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,16 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 57, 37, 31, 10 ]
95
[ "57*10=570", "37-31=6", "570/6=95" ]
Current State: 95:[57, 37, 31, 10], Operations: [] Exploring Operation: 57*10=570, Resulting Numbers: [37, 31, 570] Generated Node #2: [37, 31, 570] from Operation: 57*10=570 Current State: 95:[37, 31, 570], Operations: ['57*10=570'] Exploring Operation: 37-31=6, Resulting Numbers: [570, 6] Generated Node #3: [570, 6] from Operation: 37-31=6 Current State: 95:[570, 6], Operations: ['57*10=570', '37-31=6'] Exploring Operation: 570/6=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[57, 37, 31, 10], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [31, 10, 20] Generated Node #0,0: 95:[31, 10, 20] Operation: 57-37=20 Exploring Operation: 57-31=26, Resulting Numbers: [37, 10, 26] Generated Node #0,1: 95:[37, 10, 26] Operation: 57-31=26 Exploring Operation: 57+31=88, Resulting Numbers: [37, 10, 88] Generated Node #0,2: 95:[37, 10, 88] Operation: 57+31=88 Exploring Operation: 57+37=94, Resulting Numbers: [31, 10, 94] Generated Node #0,3: 95:[31, 10, 94] Operation: 57+37=94 Exploring Operation: 37-31=6, Resulting Numbers: [57, 10, 6] Generated Node #0,4: 95:[57, 10, 6] Operation: 37-31=6 Moving to Node #0,0 Current State: 95:[31, 10, 20], Operations: ['57-37=20'] Exploring Operation: 20/10=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 95:[31, 2] Operation: 20/10=2 Exploring Operation: 31-20=11, Resulting Numbers: [10, 11] Generated Node #0,0,1: 95:[10, 11] Operation: 31-20=11 Exploring Operation: 31+10=41, Resulting Numbers: [20, 41] Generated Node #0,0,2: 95:[20, 41] Operation: 31+10=41 Exploring Operation: 20-10=10, Resulting Numbers: [31, 10] Generated Node #0,0,3: 95:[31, 10] Operation: 20-10=10 Exploring Operation: 31-10=21, Resulting Numbers: [20, 21] Generated Node #0,0,4: 95:[20, 21] Operation: 31-10=21 Moving to Node #0,3 Current State: 95:[31, 10, 94], Operations: ['57+37=94'] Exploring Operation: 94-10=84, Resulting Numbers: [31, 84] Generated Node #0,3,0: 95:[31, 84] Operation: 94-10=84 Exploring Operation: 31-10=21, Resulting Numbers: [94, 21] Generated Node #0,3,1: 95:[94, 21] Operation: 31-10=21 Exploring Operation: 10+94=104, Resulting Numbers: [31, 104] Generated Node #0,3,2: 95:[31, 104] Operation: 10+94=104 Exploring Operation: 31+94=125, Resulting Numbers: [10, 125] Generated Node #0,3,3: 95:[10, 125] Operation: 31+94=125 Exploring Operation: 31+10=41, Resulting Numbers: [94, 41] Generated Node #0,3,4: 95:[94, 41] Operation: 31+10=41 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[94, 21], Operations: ['57+37=94', '31-10=21'] Exploring Operation: 94*21=1974, Resulting Numbers: [1974] 1974,95 unequal: No Solution Exploring Operation: 94+21=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[31, 104], Operations: ['57+37=94', '10+94=104'] Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,95 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 31+104=135, Resulting Numbers: [135] 135,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[31, 84], Operations: ['57+37=94', '94-10=84'] Exploring Operation: 31+84=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 31*84=2604, Resulting Numbers: [2604] 2604,95 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 95:[94, 41], Operations: ['57+37=94', '31+10=41'] Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,95 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[10, 125], Operations: ['57+37=94', '31+94=125'] Exploring Operation: 10+125=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 10*125=1250, Resulting Numbers: [1250] 1250,95 unequal: No Solution Exploring Operation: 125-10=115, Resulting Numbers: [115] 115,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 95:[37, 10, 26], Operations: ['57-31=26'] Exploring Operation: 37-10=27, Resulting Numbers: [26, 27] Generated Node #0,1,0: 95:[26, 27] Operation: 37-10=27 Exploring Operation: 26-10=16, Resulting Numbers: [37, 16] Generated Node #0,1,1: 95:[37, 16] Operation: 26-10=16 Exploring Operation: 10+26=36, Resulting Numbers: [37, 36] Generated Node #0,1,2: 95:[37, 36] Operation: 10+26=36 Exploring Operation: 37-26=11, Resulting Numbers: [10, 11] Generated Node #0,1,3: 95:[10, 11] Operation: 37-26=11 Exploring Operation: 37+10=47, Resulting Numbers: [26, 47] Generated Node #0,1,4: 95:[26, 47] Operation: 37+10=47 Moving to Node #0,2 Current State: 95:[37, 10, 88], Operations: ['57+31=88'] Exploring Operation: 37+10=47, Resulting Numbers: [88, 47] Generated Node #0,2,0: 95:[88, 47] Operation: 37+10=47 Exploring Operation: 88-10=78, Resulting Numbers: [37, 78] Generated Node #0,2,1: 95:[37, 78] Operation: 88-10=78 Exploring Operation: 37+88=125, Resulting Numbers: [10, 125] Generated Node #0,2,2: 95:[10, 125] Operation: 37+88=125 Exploring Operation: 37-10=27, Resulting Numbers: [88, 27] Generated Node #0,2,3: 95:[88, 27] Operation: 37-10=27 Exploring Operation: 10+88=98, Resulting Numbers: [37, 98] Generated Node #0,2,4: 95:[37, 98] Operation: 10+88=98 Moving to Node #0,4 Current State: 95:[57, 10, 6], Operations: ['37-31=6'] Exploring Operation: 57+6=63, Resulting Numbers: [10, 63] Generated Node #0,4,0: 95:[10, 63] Operation: 57+6=63 Exploring Operation: 57-10=47, Resulting Numbers: [6, 47] Generated Node #0,4,1: 95:[6, 47] Operation: 57-10=47 Exploring Operation: 57-6=51, Resulting Numbers: [10, 51] Generated Node #0,4,2: 95:[10, 51] Operation: 57-6=51 Exploring Operation: 10-6=4, Resulting Numbers: [57, 4] Generated Node #0,4,3: 95:[57, 4] Operation: 10-6=4 Exploring Operation: 57+10=67, Resulting Numbers: [6, 67] Generated Node #0,4,4: 95:[6, 67] Operation: 57+10=67 Moving to Node #0,0,4 Current State: 95:[20, 21], Operations: ['57-37=20', '31-10=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,95 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[10, 11], Operations: ['57-31=26', '37-26=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[10, 11], Operations: ['57-37=20', '31-20=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[26, 27], Operations: ['57-31=26', '37-10=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,95 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[31, 2], Operations: ['57-37=20', '20/10=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[88, 27], Operations: ['57+31=88', '37-10=27'] Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,95 unequal: No Solution Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[31, 10], Operations: ['57-37=20', '20-10=10'] Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,95 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,2,4 Current State: 95:[37, 98], Operations: ['57+31=88', '10+88=98'] Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,95 unequal: No Solution Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[37, 16], Operations: ['57-31=26', '26-10=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[20, 41], Operations: ['57-37=20', '31+10=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,95 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[6, 67], Operations: ['37-31=6', '57+10=67'] Exploring Operation: 6*67=402, Resulting Numbers: [402] 402,95 unequal: No Solution Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[6, 47], Operations: ['37-31=6', '57-10=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,95 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[10, 125], Operations: ['57+31=88', '37+88=125'] Exploring Operation: 10+125=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 125-10=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 10*125=1250, Resulting Numbers: [1250] 1250,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[88, 47], Operations: ['57+31=88', '37+10=47'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,95 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[26, 47], Operations: ['57-31=26', '37+10=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,95 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[37, 78], Operations: ['57+31=88', '88-10=78'] Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,95 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[37, 36], Operations: ['57-31=26', '10+26=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[10, 51], Operations: ['37-31=6', '57-6=51'] Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[10, 63], Operations: ['37-31=6', '57+6=63'] Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,95 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[57, 4], Operations: ['37-31=6', '10-6=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,95 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 30, 4, 88, 48 ]
64
[ "88+48=136", "136/4=34", "30+34=64" ]
Current State: 64:[30, 4, 88, 48], Operations: [] Exploring Operation: 88+48=136, Resulting Numbers: [30, 4, 136] Generated Node #2: [30, 4, 136] from Operation: 88+48=136 Current State: 64:[30, 4, 136], Operations: ['88+48=136'] Exploring Operation: 136/4=34, Resulting Numbers: [30, 34] Generated Node #3: [30, 34] from Operation: 136/4=34 Current State: 64:[30, 34], Operations: ['88+48=136', '136/4=34'] Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[30, 4, 88, 48], Operations: [] Exploring Operation: 88/4=22, Resulting Numbers: [30, 48, 22] Generated Node #0,0: 64:[30, 48, 22] Operation: 88/4=22 Exploring Operation: 88-48=40, Resulting Numbers: [30, 4, 40] Generated Node #0,1: 64:[30, 4, 40] Operation: 88-48=40 Exploring Operation: 88-30=58, Resulting Numbers: [4, 48, 58] Generated Node #0,2: 64:[4, 48, 58] Operation: 88-30=58 Moving to Node #0,1 Current State: 64:[30, 4, 40], Operations: ['88-48=40'] Exploring Operation: 40-30=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 64:[4, 10] Operation: 40-30=10 Exploring Operation: 30+40=70, Resulting Numbers: [4, 70] Generated Node #0,1,1: 64:[4, 70] Operation: 30+40=70 Exploring Operation: 40/4=10, Resulting Numbers: [30, 10] Generated Node #0,1,2: 64:[30, 10] Operation: 40/4=10 Moving to Node #0,2 Current State: 64:[4, 48, 58], Operations: ['88-30=58'] Exploring Operation: 58-48=10, Resulting Numbers: [4, 10] Generated Node #0,2,0: 64:[4, 10] Operation: 58-48=10 Exploring Operation: 4+48=52, Resulting Numbers: [58, 52] Generated Node #0,2,1: 64:[58, 52] Operation: 4+48=52 Exploring Operation: 48/4=12, Resulting Numbers: [58, 12] Generated Node #0,2,2: 64:[58, 12] Operation: 48/4=12 Moving to Node #0,0 Current State: 64:[30, 48, 22], Operations: ['88/4=22'] Exploring Operation: 48+22=70, Resulting Numbers: [30, 70] Generated Node #0,0,0: 64:[30, 70] Operation: 48+22=70 Exploring Operation: 48-30=18, Resulting Numbers: [22, 18] Generated Node #0,0,1: 64:[22, 18] Operation: 48-30=18 Exploring Operation: 48-22=26, Resulting Numbers: [30, 26] Generated Node #0,0,2: 64:[30, 26] Operation: 48-22=26 Moving to Node #0,1,0 Current State: 64:[4, 10], Operations: ['88-48=40', '40-30=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[4, 10], Operations: ['88-30=58', '58-48=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[30, 10], Operations: ['88-48=40', '40/4=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[4, 70], Operations: ['88-48=40', '30+40=70'] Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,64 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[30, 70], Operations: ['88/4=22', '48+22=70'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 30*70=2100, Resulting Numbers: [2100] 2100,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[22, 18], Operations: ['88/4=22', '48-30=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,64 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[30, 26], Operations: ['88/4=22', '48-22=26'] Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,64 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[58, 12], Operations: ['88-30=58', '48/4=12'] Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,64 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,64 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[58, 52], Operations: ['88-30=58', '4+48=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,64 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,64 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 66, 6, 5, 31 ]
73
[ "66*6=396", "396-31=365", "365/5=73" ]
Current State: 73:[66, 6, 5, 31], Operations: [] Exploring Operation: 66*6=396, Resulting Numbers: [5, 31, 396] Generated Node #2: [5, 31, 396] from Operation: 66*6=396 Current State: 73:[5, 31, 396], Operations: ['66*6=396'] Exploring Operation: 396-31=365, Resulting Numbers: [5, 365] Generated Node #3: [5, 365] from Operation: 396-31=365 Current State: 73:[5, 365], Operations: ['66*6=396', '396-31=365'] Exploring Operation: 365/5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 6, 5, 31], Operations: [] Exploring Operation: 66+5=71, Resulting Numbers: [6, 31, 71] Generated Node #0,0: 73:[6, 31, 71] Operation: 66+5=71 Exploring Operation: 6*5=30, Resulting Numbers: [66, 31, 30] Generated Node #0,1: 73:[66, 31, 30] Operation: 6*5=30 Exploring Operation: 6+31=37, Resulting Numbers: [66, 5, 37] Generated Node #0,2: 73:[66, 5, 37] Operation: 6+31=37 Exploring Operation: 66+6=72, Resulting Numbers: [5, 31, 72] Generated Node #0,3: 73:[5, 31, 72] Operation: 66+6=72 Exploring Operation: 6+5=11, Resulting Numbers: [66, 31, 11] Generated Node #0,4: 73:[66, 31, 11] Operation: 6+5=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[66, 31, 30], Operations: ['6*5=30'] Exploring Operation: 31-30=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 73:[66, 1] Operation: 31-30=1 Exploring Operation: 31+30=61, Resulting Numbers: [66, 61] Generated Node #0,1,1: 73:[66, 61] Operation: 31+30=61 Exploring Operation: 66+30=96, Resulting Numbers: [31, 96] Generated Node #0,1,2: 73:[31, 96] Operation: 66+30=96 Exploring Operation: 66+31=97, Resulting Numbers: [30, 97] Generated Node #0,1,3: 73:[30, 97] Operation: 66+31=97 Exploring Operation: 66-30=36, Resulting Numbers: [31, 36] Generated Node #0,1,4: 73:[31, 36] Operation: 66-30=36 Moving to Node #0,1,1 Current State: 73:[66, 61], Operations: ['6*5=30', '31+30=61'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,73 unequal: No Solution Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[31, 96], Operations: ['6*5=30', '66+30=96'] Exploring Operation: 31*96=2976, Resulting Numbers: [2976] 2976,73 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,73 unequal: No Solution Exploring Operation: 31+96=127, Resulting Numbers: [127] 127,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[30, 97], Operations: ['6*5=30', '66+31=97'] Exploring Operation: 30+97=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 30*97=2910, Resulting Numbers: [2910] 2910,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[66, 1], Operations: ['6*5=30', '31-30=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,73 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,73 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,73 unequal: No Solution Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[31, 36], Operations: ['6*5=30', '66-30=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,73 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[6, 31, 71], Operations: ['66+5=71'] Exploring Operation: 6+71=77, Resulting Numbers: [31, 77] Generated Node #0,0,0: 73:[31, 77] Operation: 6+71=77 Exploring Operation: 31+71=102, Resulting Numbers: [6, 102] Generated Node #0,0,1: 73:[6, 102] Operation: 31+71=102 Exploring Operation: 71-6=65, Resulting Numbers: [31, 65] Generated Node #0,0,2: 73:[31, 65] Operation: 71-6=65 Exploring Operation: 6+31=37, Resulting Numbers: [71, 37] Generated Node #0,0,3: 73:[71, 37] Operation: 6+31=37 Exploring Operation: 31-6=25, Resulting Numbers: [71, 25] Generated Node #0,0,4: 73:[71, 25] Operation: 31-6=25 Moving to Node #0,0,3 Current State: 73:[71, 37], Operations: ['66+5=71', '6+31=37'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[31, 77], Operations: ['66+5=71', '6+71=77'] Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,73 unequal: No Solution Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[31, 65], Operations: ['66+5=71', '71-6=65'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,73 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[71, 25], Operations: ['66+5=71', '31-6=25'] Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,73 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[6, 102], Operations: ['66+5=71', '31+71=102'] Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 102-6=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 6*102=612, Resulting Numbers: [612] 612,73 unequal: No Solution Exploring Operation: 6+102=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[66, 5, 37], Operations: ['6+31=37'] Exploring Operation: 66+5=71, Resulting Numbers: [37, 71] Generated Node #0,2,0: 73:[37, 71] Operation: 66+5=71 Exploring Operation: 37-5=32, Resulting Numbers: [66, 32] Generated Node #0,2,1: 73:[66, 32] Operation: 37-5=32 Exploring Operation: 5+37=42, Resulting Numbers: [66, 42] Generated Node #0,2,2: 73:[66, 42] Operation: 5+37=42 Exploring Operation: 66-5=61, Resulting Numbers: [37, 61] Generated Node #0,2,3: 73:[37, 61] Operation: 66-5=61 Exploring Operation: 66+37=103, Resulting Numbers: [5, 103] Generated Node #0,2,4: 73:[5, 103] Operation: 66+37=103 Moving to Node #0,2,0 Current State: 73:[37, 71], Operations: ['6+31=37', '66+5=71'] Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 37*71=2627, Resulting Numbers: [2627] 2627,73 unequal: No Solution Exploring Operation: 37+71=108, Resulting Numbers: [108] 108,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[66, 42], Operations: ['6+31=37', '5+37=42'] Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,73 unequal: No Solution Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[66, 32], Operations: ['6+31=37', '37-5=32'] Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,73 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[37, 61], Operations: ['6+31=37', '66-5=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,73 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[5, 103], Operations: ['6+31=37', '66+37=103'] Exploring Operation: 5*103=515, Resulting Numbers: [515] 515,73 unequal: No Solution Exploring Operation: 5+103=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[5, 31, 72], Operations: ['66+6=72'] Exploring Operation: 31-5=26, Resulting Numbers: [72, 26] Generated Node #0,3,0: 73:[72, 26] Operation: 31-5=26 Exploring Operation: 5+31=36, Resulting Numbers: [72, 36] Generated Node #0,3,1: 73:[72, 36] Operation: 5+31=36 Exploring Operation: 72-5=67, Resulting Numbers: [31, 67] Generated Node #0,3,2: 73:[31, 67] Operation: 72-5=67 Exploring Operation: 5+72=77, Resulting Numbers: [31, 77] Generated Node #0,3,3: 73:[31, 77] Operation: 5+72=77 Exploring Operation: 5*31=155, Resulting Numbers: [72, 155] Generated Node #0,3,4: 73:[72, 155] Operation: 5*31=155 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[72, 36], Operations: ['66+6=72', '5+31=36'] Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 72/36=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 72*36=2592, Resulting Numbers: [2592] 2592,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 73:[31, 77], Operations: ['66+6=72', '5+72=77'] Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,73 unequal: No Solution Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[72, 26], Operations: ['66+6=72', '31-5=26'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[31, 67], Operations: ['66+6=72', '72-5=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,73 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 73:[72, 155], Operations: ['66+6=72', '5*31=155'] Exploring Operation: 72*155=11160, Resulting Numbers: [11160] 11160,73 unequal: No Solution Exploring Operation: 155-72=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 72+155=227, Resulting Numbers: [227] 227,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[66, 31, 11], Operations: ['6+5=11'] Exploring Operation: 66+31=97, Resulting Numbers: [11, 97] Generated Node #0,4,0: 73:[11, 97] Operation: 66+31=97 Exploring Operation: 66+11=77, Resulting Numbers: [31, 77] Generated Node #0,4,1: 73:[31, 77] Operation: 66+11=77 Exploring Operation: 31+11=42, Resulting Numbers: [66, 42] Generated Node #0,4,2: 73:[66, 42] Operation: 31+11=42 Exploring Operation: 31-11=20, Resulting Numbers: [66, 20] Generated Node #0,4,3: 73:[66, 20] Operation: 31-11=20 Exploring Operation: 66-11=55, Resulting Numbers: [31, 55] Generated Node #0,4,4: 73:[31, 55] Operation: 66-11=55 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 73:[66, 42], Operations: ['6+5=11', '31+11=42'] Exploring Operation: 66+42=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 66-42=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 66*42=2772, Resulting Numbers: [2772] 2772,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 73:[31, 77], Operations: ['6+5=11', '66+11=77'] Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,73 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 73:[66, 20], Operations: ['6+5=11', '31-11=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 73:[31, 55], Operations: ['6+5=11', '66-11=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 73:[11, 97], Operations: ['6+5=11', '66+31=97'] Exploring Operation: 11*97=1067, Resulting Numbers: [1067] 1067,73 unequal: No Solution Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,73 unequal: No Solution Exploring Operation: 11+97=108, Resulting Numbers: [108] 108,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 60, 75, 96, 68 ]
63
[ "68-60=8", "96/8=12", "75-12=63" ]
Current State: 63:[60, 75, 96, 68], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [75, 96, 8] Generated Node #2: [75, 96, 8] from Operation: 68-60=8 Current State: 63:[75, 96, 8], Operations: ['68-60=8'] Exploring Operation: 96/8=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 96/8=12 Current State: 63:[75, 12], Operations: ['68-60=8', '96/8=12'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[60, 75, 96, 68], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [60, 96, 7] Generated Node #0,0: 63:[60, 96, 7] Operation: 75-68=7 Exploring Operation: 96-60=36, Resulting Numbers: [75, 68, 36] Generated Node #0,1: 63:[75, 68, 36] Operation: 96-60=36 Exploring Operation: 96-75=21, Resulting Numbers: [60, 68, 21] Generated Node #0,2: 63:[60, 68, 21] Operation: 96-75=21 Exploring Operation: 75-60=15, Resulting Numbers: [96, 68, 15] Generated Node #0,3: 63:[96, 68, 15] Operation: 75-60=15 Exploring Operation: 96-68=28, Resulting Numbers: [60, 75, 28] Generated Node #0,4: 63:[60, 75, 28] Operation: 96-68=28 Moving to Node #0,2 Current State: 63:[60, 68, 21], Operations: ['96-75=21'] Exploring Operation: 68+21=89, Resulting Numbers: [60, 89] Generated Node #0,2,0: 63:[60, 89] Operation: 68+21=89 Exploring Operation: 60+21=81, Resulting Numbers: [68, 81] Generated Node #0,2,1: 63:[68, 81] Operation: 60+21=81 Exploring Operation: 68-60=8, Resulting Numbers: [21, 8] Generated Node #0,2,2: 63:[21, 8] Operation: 68-60=8 Exploring Operation: 68-21=47, Resulting Numbers: [60, 47] Generated Node #0,2,3: 63:[60, 47] Operation: 68-21=47 Exploring Operation: 60-21=39, Resulting Numbers: [68, 39] Generated Node #0,2,4: 63:[68, 39] Operation: 60-21=39 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[21, 8], Operations: ['96-75=21', '68-60=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,63 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[60, 47], Operations: ['96-75=21', '68-21=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[68, 81], Operations: ['96-75=21', '60+21=81'] Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,63 unequal: No Solution Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,63 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 63:[68, 39], Operations: ['96-75=21', '60-21=39'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[60, 89], Operations: ['96-75=21', '68+21=89'] Exploring Operation: 60+89=149, Resulting Numbers: [149] 149,63 unequal: No Solution Exploring Operation: 60*89=5340, Resulting Numbers: [5340] 5340,63 unequal: No Solution Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,63 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: 63:[60, 75, 28], Operations: ['96-68=28'] Exploring Operation: 60-28=32, Resulting Numbers: [75, 32] Generated Node #0,4,0: 63:[75, 32] Operation: 60-28=32 Exploring Operation: 75+28=103, Resulting Numbers: [60, 103] Generated Node #0,4,1: 63:[60, 103] Operation: 75+28=103 Exploring Operation: 60+28=88, Resulting Numbers: [75, 88] Generated Node #0,4,2: 63:[75, 88] Operation: 60+28=88 Exploring Operation: 75-28=47, Resulting Numbers: [60, 47] Generated Node #0,4,3: 63:[60, 47] Operation: 75-28=47 Exploring Operation: 75-60=15, Resulting Numbers: [28, 15] Generated Node #0,4,4: 63:[28, 15] Operation: 75-60=15 Moving to Node #0,1 Current State: 63:[75, 68, 36], Operations: ['96-60=36'] Exploring Operation: 68-36=32, Resulting Numbers: [75, 32] Generated Node #0,1,0: 63:[75, 32] Operation: 68-36=32 Exploring Operation: 68+36=104, Resulting Numbers: [75, 104] Generated Node #0,1,1: 63:[75, 104] Operation: 68+36=104 Exploring Operation: 75-36=39, Resulting Numbers: [68, 39] Generated Node #0,1,2: 63:[68, 39] Operation: 75-36=39 Exploring Operation: 75-68=7, Resulting Numbers: [36, 7] Generated Node #0,1,3: 63:[36, 7] Operation: 75-68=7 Exploring Operation: 75+36=111, Resulting Numbers: [68, 111] Generated Node #0,1,4: 63:[68, 111] Operation: 75+36=111 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[36, 7], Operations: ['96-60=36', '75-68=7'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,63 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[75, 32], Operations: ['96-60=36', '68-36=32'] Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[68, 39], Operations: ['96-60=36', '75-36=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[75, 104], Operations: ['96-60=36', '68+36=104'] Exploring Operation: 75*104=7800, Resulting Numbers: [7800] 7800,63 unequal: No Solution Exploring Operation: 75+104=179, Resulting Numbers: [179] 179,63 unequal: No Solution Exploring Operation: 104-75=29, Resulting Numbers: [29] 29,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 63:[68, 111], Operations: ['96-60=36', '75+36=111'] Exploring Operation: 68+111=179, Resulting Numbers: [179] 179,63 unequal: No Solution Exploring Operation: 68*111=7548, Resulting Numbers: [7548] 7548,63 unequal: No Solution Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,63 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: 63:[60, 96, 7], Operations: ['75-68=7'] Exploring Operation: 96-7=89, Resulting Numbers: [60, 89] Generated Node #0,0,0: 63:[60, 89] Operation: 96-7=89 Exploring Operation: 60+7=67, Resulting Numbers: [96, 67] Generated Node #0,0,1: 63:[96, 67] Operation: 60+7=67 Exploring Operation: 96-60=36, Resulting Numbers: [7, 36] Generated Node #0,0,2: 63:[7, 36] Operation: 96-60=36 Exploring Operation: 60-7=53, Resulting Numbers: [96, 53] Generated Node #0,0,3: 63:[96, 53] Operation: 60-7=53 Exploring Operation: 96+7=103, Resulting Numbers: [60, 103] Generated Node #0,0,4: 63:[60, 103] Operation: 96+7=103 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[7, 36], Operations: ['75-68=7', '96-60=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,63 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[60, 89], Operations: ['75-68=7', '96-7=89'] Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 60+89=149, Resulting Numbers: [149] 149,63 unequal: No Solution Exploring Operation: 60*89=5340, Resulting Numbers: [5340] 5340,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[96, 67], Operations: ['75-68=7', '60+7=67'] Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,63 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[96, 53], Operations: ['75-68=7', '60-7=53'] Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 96*53=5088, Resulting Numbers: [5088] 5088,63 unequal: No Solution Exploring Operation: 96+53=149, Resulting Numbers: [149] 149,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 63:[60, 103], Operations: ['75-68=7', '96+7=103'] Exploring Operation: 103-60=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 60*103=6180, Resulting Numbers: [6180] 6180,63 unequal: No Solution Exploring Operation: 60+103=163, Resulting Numbers: [163] 163,63 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: 63:[96, 68, 15], Operations: ['75-60=15'] Exploring Operation: 96+15=111, Resulting Numbers: [68, 111] Generated Node #0,3,0: 63:[68, 111] Operation: 96+15=111 Exploring Operation: 96-68=28, Resulting Numbers: [15, 28] Generated Node #0,3,1: 63:[15, 28] Operation: 96-68=28 Exploring Operation: 68+15=83, Resulting Numbers: [96, 83] Generated Node #0,3,2: 63:[96, 83] Operation: 68+15=83 Exploring Operation: 68-15=53, Resulting Numbers: [96, 53] Generated Node #0,3,3: 63:[96, 53] Operation: 68-15=53 Exploring Operation: 96-15=81, Resulting Numbers: [68, 81] Generated Node #0,3,4: 63:[68, 81] Operation: 96-15=81 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[15, 28], Operations: ['75-60=15', '96-68=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,63 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 63:[68, 81], Operations: ['75-60=15', '96-15=81'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,63 unequal: No Solution Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[96, 53], Operations: ['75-60=15', '68-15=53'] Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 96+53=149, Resulting Numbers: [149] 149,63 unequal: No Solution Exploring Operation: 96*53=5088, Resulting Numbers: [5088] 5088,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[68, 111], Operations: ['75-60=15', '96+15=111'] Exploring Operation: 68+111=179, Resulting Numbers: [179] 179,63 unequal: No Solution Exploring Operation: 68*111=7548, Resulting Numbers: [7548] 7548,63 unequal: No Solution Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[96, 83], Operations: ['75-60=15', '68+15=83'] Exploring Operation: 96*83=7968, Resulting Numbers: [7968] 7968,63 unequal: No Solution Exploring Operation: 96+83=179, Resulting Numbers: [179] 179,63 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,63 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: 63:[28, 15], Operations: ['96-68=28', '75-60=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,63 unequal: No Solution Moving to Node #0,4,3 Current State: 63:[60, 47], Operations: ['96-68=28', '75-28=47'] Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,63 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,63 unequal: No Solution Moving to Node #0,4,0 Current State: 63:[75, 32], Operations: ['96-68=28', '60-28=32'] Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,63 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,63 unequal: No Solution Moving to Node #0,4,2 Current State: 63:[75, 88], Operations: ['96-68=28', '60+28=88'] Exploring Operation: 75*88=6600, Resulting Numbers: [6600] 6600,63 unequal: No Solution Exploring Operation: 75+88=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,4,1 Current State: 63:[60, 103], Operations: ['96-68=28', '75+28=103'] Exploring Operation: 60+103=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 103-60=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 60*103=6180, Resulting Numbers: [6180] 6180,63 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 43, 24, 5 ]
36
[ "24/2=12", "43+5=48", "48-12=36" ]
Current State: 36:[2, 43, 24, 5], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [43, 5, 12] Generated Node #2: [43, 5, 12] from Operation: 24/2=12 Current State: 36:[43, 5, 12], Operations: ['24/2=12'] Exploring Operation: 43+5=48, Resulting Numbers: [12, 48] Generated Node #3: [12, 48] from Operation: 43+5=48 Current State: 36:[12, 48], Operations: ['24/2=12', '43+5=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 43, 24, 5], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [43, 5, 12] Generated Node #0,0: 36:[43, 5, 12] Operation: 24/2=12 Exploring Operation: 43-24=19, Resulting Numbers: [2, 5, 19] Generated Node #0,1: 36:[2, 5, 19] Operation: 43-24=19 Moving to Node #0,1 Current State: 36:[2, 5, 19], Operations: ['43-24=19'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 36:[19, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [19, 7] Generated Node #0,1,1: 36:[19, 7] Operation: 2+5=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[19, 3], Operations: ['43-24=19', '5-2=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[19, 7], Operations: ['43-24=19', '2+5=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 36:[43, 5, 12], Operations: ['24/2=12'] Exploring Operation: 43-5=38, Resulting Numbers: [12, 38] Generated Node #0,0,0: 36:[12, 38] Operation: 43-5=38 Exploring Operation: 43-12=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 36:[5, 31] Operation: 43-12=31 Moving to Node #0,0,0 Current State: 36:[12, 38], Operations: ['24/2=12', '43-5=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[5, 31], Operations: ['24/2=12', '43-12=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[2, 43, 24, 5], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [43, 5, 12] Generated Node #0,0: 36:[43, 5, 12] Operation: 24/2=12 Moving to Node #0,0 Current State: 36:[43, 5, 12], Operations: ['24/2=12'] Exploring Operation: 43-12=31, Resulting Numbers: [5, 31] Generated Node #0,0,1: 36:[5, 31] Operation: 43-12=31 Moving to Node #0,0,1 Current State: 36:[5, 31], Operations: ['24/2=12', '43-12=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 74, 79, 63, 6 ]
93
[ "79-74=5", "6*5=30", "63+30=93" ]
Current State: 93:[74, 79, 63, 6], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [63, 6, 5] Generated Node #2: [63, 6, 5] from Operation: 79-74=5 Current State: 93:[63, 6, 5], Operations: ['79-74=5'] Exploring Operation: 6*5=30, Resulting Numbers: [63, 30] Generated Node #3: [63, 30] from Operation: 6*5=30 Current State: 93:[63, 30], Operations: ['79-74=5', '6*5=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[74, 79, 63, 6], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [63, 6, 5] Generated Node #0,0: 93:[63, 6, 5] Operation: 79-74=5 Exploring Operation: 79+6=85, Resulting Numbers: [74, 63, 85] Generated Node #0,1: 93:[74, 63, 85] Operation: 79+6=85 Exploring Operation: 79-63=16, Resulting Numbers: [74, 6, 16] Generated Node #0,2: 93:[74, 6, 16] Operation: 79-63=16 Exploring Operation: 74+6=80, Resulting Numbers: [79, 63, 80] Generated Node #0,3: 93:[79, 63, 80] Operation: 74+6=80 Exploring Operation: 74-63=11, Resulting Numbers: [79, 6, 11] Generated Node #0,4: 93:[79, 6, 11] Operation: 74-63=11 Moving to Node #0,4 Current State: 93:[79, 6, 11], Operations: ['74-63=11'] Exploring Operation: 79-11=68, Resulting Numbers: [6, 68] Generated Node #0,4,0: 93:[6, 68] Operation: 79-11=68 Exploring Operation: 79+6=85, Resulting Numbers: [11, 85] Generated Node #0,4,1: 93:[11, 85] Operation: 79+6=85 Exploring Operation: 11-6=5, Resulting Numbers: [79, 5] Generated Node #0,4,2: 93:[79, 5] Operation: 11-6=5 Exploring Operation: 79+11=90, Resulting Numbers: [6, 90] Generated Node #0,4,3: 93:[6, 90] Operation: 79+11=90 Exploring Operation: 79-6=73, Resulting Numbers: [11, 73] Generated Node #0,4,4: 93:[11, 73] Operation: 79-6=73 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 93:[6, 90], Operations: ['74-63=11', '79+11=90'] Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 6*90=540, Resulting Numbers: [540] 540,93 unequal: No Solution Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 93:[11, 85], Operations: ['74-63=11', '79+6=85'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 93:[79, 5], Operations: ['74-63=11', '11-6=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,93 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 93:[6, 68], Operations: ['74-63=11', '79-11=68'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 93:[11, 73], Operations: ['74-63=11', '79-6=73'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,93 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 93:[74, 6, 16], Operations: ['79-63=16'] Exploring Operation: 16-6=10, Resulting Numbers: [74, 10] Generated Node #0,2,0: 93:[74, 10] Operation: 16-6=10 Exploring Operation: 74+6=80, Resulting Numbers: [16, 80] Generated Node #0,2,1: 93:[16, 80] Operation: 74+6=80 Exploring Operation: 6+16=22, Resulting Numbers: [74, 22] Generated Node #0,2,2: 93:[74, 22] Operation: 6+16=22 Exploring Operation: 74+16=90, Resulting Numbers: [6, 90] Generated Node #0,2,3: 93:[6, 90] Operation: 74+16=90 Exploring Operation: 6*16=96, Resulting Numbers: [74, 96] Generated Node #0,2,4: 93:[74, 96] Operation: 6*16=96 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[6, 90], Operations: ['79-63=16', '74+16=90'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 6+90=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 6*90=540, Resulting Numbers: [540] 540,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[74, 96], Operations: ['79-63=16', '6*16=96'] Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[74, 10], Operations: ['79-63=16', '16-6=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[16, 80], Operations: ['79-63=16', '74+6=80'] Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 16*80=1280, Resulting Numbers: [1280] 1280,93 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[74, 22], Operations: ['79-63=16', '6+16=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,93 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,93 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: 93:[63, 6, 5], Operations: ['79-74=5'] Exploring Operation: 63+6=69, Resulting Numbers: [5, 69] Generated Node #0,0,0: 93:[5, 69] Operation: 63+6=69 Exploring Operation: 63+5=68, Resulting Numbers: [6, 68] Generated Node #0,0,1: 93:[6, 68] Operation: 63+5=68 Exploring Operation: 63-6=57, Resulting Numbers: [5, 57] Generated Node #0,0,2: 93:[5, 57] Operation: 63-6=57 Exploring Operation: 63-5=58, Resulting Numbers: [6, 58] Generated Node #0,0,3: 93:[6, 58] Operation: 63-5=58 Exploring Operation: 6*5=30, Resulting Numbers: [63, 30] Generated Node #0,0,4: 93:[63, 30] Operation: 6*5=30 Moving to Node #0,1 Current State: 93:[74, 63, 85], Operations: ['79+6=85'] Exploring Operation: 85-74=11, Resulting Numbers: [63, 11] Generated Node #0,1,0: 93:[63, 11] Operation: 85-74=11 Exploring Operation: 74+63=137, Resulting Numbers: [85, 137] Generated Node #0,1,1: 93:[85, 137] Operation: 74+63=137 Exploring Operation: 63+85=148, Resulting Numbers: [74, 148] Generated Node #0,1,2: 93:[74, 148] Operation: 63+85=148 Exploring Operation: 85-63=22, Resulting Numbers: [74, 22] Generated Node #0,1,3: 93:[74, 22] Operation: 85-63=22 Exploring Operation: 74-63=11, Resulting Numbers: [85, 11] Generated Node #0,1,4: 93:[85, 11] Operation: 74-63=11 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 93:[85, 11], Operations: ['79+6=85', '74-63=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[74, 22], Operations: ['79+6=85', '85-63=22'] Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[63, 11], Operations: ['79+6=85', '85-74=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[85, 137], Operations: ['79+6=85', '74+63=137'] Exploring Operation: 137-85=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 85*137=11645, Resulting Numbers: [11645] 11645,93 unequal: No Solution Exploring Operation: 85+137=222, Resulting Numbers: [222] 222,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[74, 148], Operations: ['79+6=85', '63+85=148'] Exploring Operation: 148-74=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 148/74=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 74*148=10952, Resulting Numbers: [10952] 10952,93 unequal: No Solution Exploring Operation: 74+148=222, Resulting Numbers: [222] 222,93 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: 93:[79, 63, 80], Operations: ['74+6=80'] Exploring Operation: 79+63=142, Resulting Numbers: [80, 142] Generated Node #0,3,0: 93:[80, 142] Operation: 79+63=142 Exploring Operation: 80-79=1, Resulting Numbers: [63, 1] Generated Node #0,3,1: 93:[63, 1] Operation: 80-79=1 Exploring Operation: 79-63=16, Resulting Numbers: [80, 16] Generated Node #0,3,2: 93:[80, 16] Operation: 79-63=16 Exploring Operation: 63+80=143, Resulting Numbers: [79, 143] Generated Node #0,3,3: 93:[79, 143] Operation: 63+80=143 Exploring Operation: 80-63=17, Resulting Numbers: [79, 17] Generated Node #0,3,4: 93:[79, 17] Operation: 80-63=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[80, 16], Operations: ['74+6=80', '79-63=16'] Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,93 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[79, 17], Operations: ['74+6=80', '80-63=17'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[63, 1], Operations: ['74+6=80', '80-79=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[80, 142], Operations: ['74+6=80', '79+63=142'] Exploring Operation: 142-80=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 80*142=11360, Resulting Numbers: [11360] 11360,93 unequal: No Solution Exploring Operation: 80+142=222, Resulting Numbers: [222] 222,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[79, 143], Operations: ['74+6=80', '63+80=143'] Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,93 unequal: No Solution Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,93 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: 93:[5, 69], Operations: ['79-74=5', '63+6=69'] Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,93 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[5, 57], Operations: ['79-74=5', '63-6=57'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,93 unequal: No Solution Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[6, 68], Operations: ['79-74=5', '63+5=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,93 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[6, 58], Operations: ['79-74=5', '63-5=58'] Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,93 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[63, 30], Operations: ['79-74=5', '6*5=30'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[74, 79, 63, 6], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [63, 6, 5] Generated Node #0,0: 93:[63, 6, 5] Operation: 79-74=5 Moving to Node #0,0 Current State: 93:[63, 6, 5], Operations: ['79-74=5'] Exploring Operation: 6*5=30, Resulting Numbers: [63, 30] Generated Node #0,0,4: 93:[63, 30] Operation: 6*5=30 Moving to Node #0,0,4 Current State: 93:[63, 30], Operations: ['79-74=5', '6*5=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.901042
hs_5
mult_heuristic
[ 17, 88, 11, 41 ]
16
[ "41-17=24", "88/11=8", "24-8=16" ]
Current State: 16:[17, 88, 11, 41], Operations: [] Exploring Operation: 41-17=24, Resulting Numbers: [88, 11, 24] Generated Node #2: [88, 11, 24] from Operation: 41-17=24 Current State: 16:[88, 11, 24], Operations: ['41-17=24'] Exploring Operation: 88/11=8, Resulting Numbers: [24, 8] Generated Node #3: [24, 8] from Operation: 88/11=8 Current State: 16:[24, 8], Operations: ['41-17=24', '88/11=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[17, 88, 11, 41], Operations: [] Exploring Operation: 41-17=24, Resulting Numbers: [88, 11, 24] Generated Node #0,0: 16:[88, 11, 24] Operation: 41-17=24 Exploring Operation: 88-41=47, Resulting Numbers: [17, 11, 47] Generated Node #0,1: 16:[17, 11, 47] Operation: 88-41=47 Exploring Operation: 88/11=8, Resulting Numbers: [17, 41, 8] Generated Node #0,2: 16:[17, 41, 8] Operation: 88/11=8 Exploring Operation: 88-17=71, Resulting Numbers: [11, 41, 71] Generated Node #0,3: 16:[11, 41, 71] Operation: 88-17=71 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[17, 41, 8], Operations: ['88/11=8'] Exploring Operation: 41-17=24, Resulting Numbers: [8, 24] Generated Node #0,2,0: 16:[8, 24] Operation: 41-17=24 Exploring Operation: 17-8=9, Resulting Numbers: [41, 9] Generated Node #0,2,1: 16:[41, 9] Operation: 17-8=9 Exploring Operation: 17+8=25, Resulting Numbers: [41, 25] Generated Node #0,2,2: 16:[41, 25] Operation: 17+8=25 Exploring Operation: 41-8=33, Resulting Numbers: [17, 33] Generated Node #0,2,3: 16:[17, 33] Operation: 41-8=33 Moving to Node #0,2,0 Current State: 16:[8, 24], Operations: ['88/11=8', '41-17=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[17, 88, 11, 41], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [17, 41, 8] Generated Node #0,2: 16:[17, 41, 8] Operation: 88/11=8 Moving to Node #0,2 Current State: 16:[17, 41, 8], Operations: ['88/11=8'] Exploring Operation: 41-17=24, Resulting Numbers: [8, 24] Generated Node #0,2,0: 16:[8, 24] Operation: 41-17=24 Moving to Node #0,2,0 Current State: 16:[8, 24], Operations: ['88/11=8', '41-17=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 41, 8, 68, 68 ]
87
[ "41+8=49", "68+68=136", "136-49=87" ]
Current State: 87:[41, 8, 68, 68], Operations: [] Exploring Operation: 41+8=49, Resulting Numbers: [68, 68, 49] Generated Node #2: [68, 68, 49] from Operation: 41+8=49 Current State: 87:[68, 68, 49], Operations: ['41+8=49'] Exploring Operation: 68+68=136, Resulting Numbers: [49, 136] Generated Node #3: [49, 136] from Operation: 68+68=136 Current State: 87:[49, 136], Operations: ['41+8=49', '68+68=136'] Exploring Operation: 136-49=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[41, 8, 68, 68], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [8, 68, 27] Generated Node #0,0: 87:[8, 68, 27] Operation: 68-41=27 Exploring Operation: 68-68=0, Resulting Numbers: [41, 8, 0] Generated Node #0,1: 87:[41, 8, 0] Operation: 68-68=0 Exploring Operation: 68/68=1, Resulting Numbers: [41, 8, 1] Generated Node #0,2: 87:[41, 8, 1] Operation: 68/68=1 Exploring Operation: 68-41=27, Resulting Numbers: [8, 68, 27] Generated Node #0,3: 87:[8, 68, 27] Operation: 68-41=27 Moving to Node #0,2 Current State: 87:[41, 8, 1], Operations: ['68/68=1'] Exploring Operation: 41-8=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 87:[1, 33] Operation: 41-8=33 Exploring Operation: 41-1=40, Resulting Numbers: [8, 40] Generated Node #0,2,1: 87:[8, 40] Operation: 41-1=40 Exploring Operation: 8-1=7, Resulting Numbers: [41, 7] Generated Node #0,2,2: 87:[41, 7] Operation: 8-1=7 Exploring Operation: 41*1=41, Resulting Numbers: [8, 41] Generated Node #0,2,3: 87:[8, 41] Operation: 41*1=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[1, 33], Operations: ['68/68=1', '41-8=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[8, 40], Operations: ['68/68=1', '41-1=40'] Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,87 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,87 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,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,2 Current State: 87:[41, 7], Operations: ['68/68=1', '8-1=7'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,87 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,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:[8, 41], Operations: ['68/68=1', '41*1=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,87 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,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:[41, 8, 0], Operations: ['68-68=0'] Exploring Operation: 8*0=0, Resulting Numbers: [41, 0] Generated Node #0,1,0: 87:[41, 0] Operation: 8*0=0 Exploring Operation: 41-8=33, Resulting Numbers: [0, 33] Generated Node #0,1,1: 87:[0, 33] Operation: 41-8=33 Exploring Operation: 41*0=0, Resulting Numbers: [8, 0] Generated Node #0,1,2: 87:[8, 0] Operation: 41*0=0 Exploring Operation: 41+0=41, Resulting Numbers: [8, 41] Generated Node #0,1,3: 87:[8, 41] Operation: 41+0=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[0, 33], Operations: ['68-68=0', '41-8=33'] Exploring Operation: 0*33=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 33-0=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 0+33=33, Resulting Numbers: [33] 33,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[8, 0], Operations: ['68-68=0', '41*0=0'] Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[41, 0], Operations: ['68-68=0', '8*0=0'] Exploring Operation: 41-0=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,87 unequal: No Solution Exploring Operation: 41*0=0, Resulting Numbers: [0] 0,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[8, 41], Operations: ['68-68=0', '41+0=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,87 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 87:[8, 68, 27], Operations: ['68-41=27'] Exploring Operation: 68-27=41, Resulting Numbers: [8, 41] Generated Node #0,3,0: 87:[8, 41] Operation: 68-27=41 Exploring Operation: 8+27=35, Resulting Numbers: [68, 35] Generated Node #0,3,1: 87:[68, 35] Operation: 8+27=35 Exploring Operation: 68+27=95, Resulting Numbers: [8, 95] Generated Node #0,3,2: 87:[8, 95] Operation: 68+27=95 Exploring Operation: 8+68=76, Resulting Numbers: [27, 76] Generated Node #0,3,3: 87:[27, 76] Operation: 8+68=76 Moving to Node #0,0 Current State: 87:[8, 68, 27], Operations: ['68-41=27'] Exploring Operation: 68-27=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 87:[8, 41] Operation: 68-27=41 Exploring Operation: 8+68=76, Resulting Numbers: [27, 76] Generated Node #0,0,1: 87:[27, 76] Operation: 8+68=76 Exploring Operation: 68+27=95, Resulting Numbers: [8, 95] Generated Node #0,0,2: 87:[8, 95] Operation: 68+27=95 Exploring Operation: 8+27=35, Resulting Numbers: [68, 35] Generated Node #0,0,3: 87:[68, 35] Operation: 8+27=35 Moving to Node #0,3,2 Current State: 87:[8, 95], Operations: ['68-41=27', '68+27=95'] Exploring Operation: 8*95=760, Resulting Numbers: [760] 760,87 unequal: No Solution Exploring Operation: 8+95=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[41, 8, 68, 68], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [8, 68, 27] Generated Node #0,3: 87:[8, 68, 27] Operation: 68-41=27 Moving to Node #0,3 Current State: 87:[8, 68, 27], Operations: ['68-41=27'] Exploring Operation: 68+27=95, Resulting Numbers: [8, 95] Generated Node #0,3,2: 87:[8, 95] Operation: 68+27=95 Moving to Node #0,3,2 Current State: 87:[8, 95], Operations: ['68-41=27', '68+27=95'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 11, 20, 29, 45 ]
34
[ "20-11=9", "45/9=5", "29+5=34" ]
Current State: 34:[11, 20, 29, 45], Operations: [] Exploring Operation: 20-11=9, Resulting Numbers: [29, 45, 9] Generated Node #2: [29, 45, 9] from Operation: 20-11=9 Current State: 34:[29, 45, 9], Operations: ['20-11=9'] Exploring Operation: 45/9=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 45/9=5 Current State: 34:[29, 5], Operations: ['20-11=9', '45/9=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[11, 20, 29, 45], Operations: [] Exploring Operation: 45-20=25, Resulting Numbers: [11, 29, 25] Generated Node #0,0: 34:[11, 29, 25] Operation: 45-20=25 Exploring Operation: 29-11=18, Resulting Numbers: [20, 45, 18] Generated Node #0,1: 34:[20, 45, 18] Operation: 29-11=18 Exploring Operation: 11+20=31, Resulting Numbers: [29, 45, 31] Generated Node #0,2: 34:[29, 45, 31] Operation: 11+20=31 Exploring Operation: 45-29=16, Resulting Numbers: [11, 20, 16] Generated Node #0,3: 34:[11, 20, 16] Operation: 45-29=16 Exploring Operation: 45-11=34, Resulting Numbers: [20, 29, 34] Generated Node #0,4: 34:[20, 29, 34] Operation: 45-11=34 Moving to Node #0,4 Current State: 34:[20, 29, 34], Operations: ['45-11=34'] Exploring Operation: 34-20=14, Resulting Numbers: [29, 14] Generated Node #0,4,0: 34:[29, 14] Operation: 34-20=14 Exploring Operation: 29-20=9, Resulting Numbers: [34, 9] Generated Node #0,4,1: 34:[34, 9] Operation: 29-20=9 Exploring Operation: 20+29=49, Resulting Numbers: [34, 49] Generated Node #0,4,2: 34:[34, 49] Operation: 20+29=49 Exploring Operation: 20+34=54, Resulting Numbers: [29, 54] Generated Node #0,4,3: 34:[29, 54] Operation: 20+34=54 Exploring Operation: 34-29=5, Resulting Numbers: [20, 5] Generated Node #0,4,4: 34:[20, 5] Operation: 34-29=5 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[20, 5], Operations: ['45-11=34', '34-29=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,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,4,1 Current State: 34:[34, 9], Operations: ['45-11=34', '29-20=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,34 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,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,4,0 Current State: 34:[29, 14], Operations: ['45-11=34', '34-20=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,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,4,2 Current State: 34:[34, 49], Operations: ['45-11=34', '20+29=49'] Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,34 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,34 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,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,4,3 Current State: 34:[29, 54], Operations: ['45-11=34', '20+34=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,34 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,34 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,34 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: 34:[11, 20, 16], Operations: ['45-29=16'] Exploring Operation: 20-11=9, Resulting Numbers: [16, 9] Generated Node #0,3,0: 34:[16, 9] Operation: 20-11=9 Exploring Operation: 20-16=4, Resulting Numbers: [11, 4] Generated Node #0,3,1: 34:[11, 4] Operation: 20-16=4 Exploring Operation: 11+20=31, Resulting Numbers: [16, 31] Generated Node #0,3,2: 34:[16, 31] Operation: 11+20=31 Exploring Operation: 20+16=36, Resulting Numbers: [11, 36] Generated Node #0,3,3: 34:[11, 36] Operation: 20+16=36 Exploring Operation: 16-11=5, Resulting Numbers: [20, 5] Generated Node #0,3,4: 34:[20, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[16, 31], Operations: ['45-29=16', '11+20=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,34 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[20, 5], Operations: ['45-29=16', '16-11=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,34 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[16, 9], Operations: ['45-29=16', '20-11=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[11, 4], Operations: ['45-29=16', '20-16=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[11, 36], Operations: ['45-29=16', '20+16=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,34 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,34 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: 34:[20, 45, 18], Operations: ['29-11=18'] Exploring Operation: 45-20=25, Resulting Numbers: [18, 25] Generated Node #0,1,0: 34:[18, 25] Operation: 45-20=25 Exploring Operation: 20-18=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 34:[45, 2] Operation: 20-18=2 Exploring Operation: 20+18=38, Resulting Numbers: [45, 38] Generated Node #0,1,2: 34:[45, 38] Operation: 20+18=38 Exploring Operation: 20+45=65, Resulting Numbers: [18, 65] Generated Node #0,1,3: 34:[18, 65] Operation: 20+45=65 Exploring Operation: 45-18=27, Resulting Numbers: [20, 27] Generated Node #0,1,4: 34:[20, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[18, 25], Operations: ['29-11=18', '45-20=25'] Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,34 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,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,1,4 Current State: 34:[20, 27], Operations: ['29-11=18', '45-18=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,34 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,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,1,1 Current State: 34:[45, 2], Operations: ['29-11=18', '20-18=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,34 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,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,1,2 Current State: 34:[45, 38], Operations: ['29-11=18', '20+18=38'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,34 unequal: No Solution Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,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,1,3 Current State: 34:[18, 65], Operations: ['29-11=18', '20+45=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,34 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 34:[11, 29, 25], Operations: ['45-20=25'] Exploring Operation: 11+25=36, Resulting Numbers: [29, 36] Generated Node #0,0,0: 34:[29, 36] Operation: 11+25=36 Exploring Operation: 29-25=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 34:[11, 4] Operation: 29-25=4 Exploring Operation: 25-11=14, Resulting Numbers: [29, 14] Generated Node #0,0,2: 34:[29, 14] Operation: 25-11=14 Exploring Operation: 11+29=40, Resulting Numbers: [25, 40] Generated Node #0,0,3: 34:[25, 40] Operation: 11+29=40 Exploring Operation: 29-11=18, Resulting Numbers: [25, 18] Generated Node #0,0,4: 34:[25, 18] Operation: 29-11=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[29, 36], Operations: ['45-20=25', '11+25=36'] Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,34 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,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,1 Current State: 34:[11, 4], Operations: ['45-20=25', '29-25=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,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,2 Current State: 34:[29, 14], Operations: ['45-20=25', '25-11=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,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,4 Current State: 34:[25, 18], Operations: ['45-20=25', '29-11=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,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,3 Current State: 34:[25, 40], Operations: ['45-20=25', '11+29=40'] Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 34:[29, 45, 31], Operations: ['11+20=31'] Exploring Operation: 45-29=16, Resulting Numbers: [31, 16] Generated Node #0,2,0: 34:[31, 16] Operation: 45-29=16 Exploring Operation: 29+31=60, Resulting Numbers: [45, 60] Generated Node #0,2,1: 34:[45, 60] Operation: 29+31=60 Exploring Operation: 31-29=2, Resulting Numbers: [45, 2] Generated Node #0,2,2: 34:[45, 2] Operation: 31-29=2 Exploring Operation: 45-31=14, Resulting Numbers: [29, 14] Generated Node #0,2,3: 34:[29, 14] Operation: 45-31=14 Exploring Operation: 29+45=74, Resulting Numbers: [31, 74] Generated Node #0,2,4: 34:[31, 74] Operation: 29+45=74 Moving to Node #0,2,0 Current State: 34:[31, 16], Operations: ['11+20=31', '45-29=16'] Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,34 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[29, 14], Operations: ['11+20=31', '45-31=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[45, 2], Operations: ['11+20=31', '31-29=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[45, 60], Operations: ['11+20=31', '29+31=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,34 unequal: No Solution Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[31, 74], Operations: ['11+20=31', '29+45=74'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 31+74=105, Resulting Numbers: [105] 105,34 unequal: No Solution Exploring Operation: 31*74=2294, Resulting Numbers: [2294] 2294,34 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 37, 59, 1 ]
41
[ "37-18=19", "59+1=60", "60-19=41" ]
Current State: 41:[18, 37, 59, 1], Operations: [] Exploring Operation: 37-18=19, Resulting Numbers: [59, 1, 19] Generated Node #2: [59, 1, 19] from Operation: 37-18=19 Current State: 41:[59, 1, 19], Operations: ['37-18=19'] Exploring Operation: 59+1=60, Resulting Numbers: [19, 60] Generated Node #3: [19, 60] from Operation: 59+1=60 Current State: 41:[19, 60], Operations: ['37-18=19', '59+1=60'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[18, 37, 59, 1], Operations: [] Exploring Operation: 37+1=38, Resulting Numbers: [18, 59, 38] Generated Node #0,0: 41:[18, 59, 38] Operation: 37+1=38 Exploring Operation: 59-1=58, Resulting Numbers: [18, 37, 58] Generated Node #0,1: 41:[18, 37, 58] Operation: 59-1=58 Exploring Operation: 18+1=19, Resulting Numbers: [37, 59, 19] Generated Node #0,2: 41:[37, 59, 19] Operation: 18+1=19 Exploring Operation: 59-18=41, Resulting Numbers: [37, 1, 41] Generated Node #0,3: 41:[37, 1, 41] Operation: 59-18=41 Moving to Node #0,0 Current State: 41:[18, 59, 38], Operations: ['37+1=38'] Exploring Operation: 38-18=20, Resulting Numbers: [59, 20] Generated Node #0,0,0: 41:[59, 20] Operation: 38-18=20 Exploring Operation: 18+59=77, Resulting Numbers: [38, 77] Generated Node #0,0,1: 41:[38, 77] Operation: 18+59=77 Exploring Operation: 18+38=56, Resulting Numbers: [59, 56] Generated Node #0,0,2: 41:[59, 56] Operation: 18+38=56 Exploring Operation: 59-18=41, Resulting Numbers: [38, 41] Generated Node #0,0,3: 41:[38, 41] Operation: 59-18=41 Moving to Node #0,2 Current State: 41:[37, 59, 19], Operations: ['18+1=19'] Exploring Operation: 59-19=40, Resulting Numbers: [37, 40] Generated Node #0,2,0: 41:[37, 40] Operation: 59-19=40 Exploring Operation: 59-37=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 41:[19, 22] Operation: 59-37=22 Exploring Operation: 37+19=56, Resulting Numbers: [59, 56] Generated Node #0,2,2: 41:[59, 56] Operation: 37+19=56 Exploring Operation: 37-19=18, Resulting Numbers: [59, 18] Generated Node #0,2,3: 41:[59, 18] Operation: 37-19=18 Moving to Node #0,1 Current State: 41:[18, 37, 58], Operations: ['59-1=58'] Exploring Operation: 18+37=55, Resulting Numbers: [58, 55] Generated Node #0,1,0: 41:[58, 55] Operation: 18+37=55 Exploring Operation: 58-18=40, Resulting Numbers: [37, 40] Generated Node #0,1,1: 41:[37, 40] Operation: 58-18=40 Exploring Operation: 18+58=76, Resulting Numbers: [37, 76] Generated Node #0,1,2: 41:[37, 76] Operation: 18+58=76 Exploring Operation: 37-18=19, Resulting Numbers: [58, 19] Generated Node #0,1,3: 41:[58, 19] Operation: 37-18=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[37, 40], Operations: ['59-1=58', '58-18=40'] Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,41 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[58, 55], Operations: ['59-1=58', '18+37=55'] Exploring Operation: 58+55=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 58*55=3190, Resulting Numbers: [3190] 3190,41 unequal: No Solution Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[37, 76], Operations: ['59-1=58', '18+58=76'] Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,41 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,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,3 Current State: 41:[58, 19], Operations: ['59-1=58', '37-18=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,41 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,41 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: 41:[37, 1, 41], Operations: ['59-18=41'] Exploring Operation: 37*1=37, Resulting Numbers: [41, 37] Generated Node #0,3,0: 41:[41, 37] Operation: 37*1=37 Exploring Operation: 1*41=41, Resulting Numbers: [37, 41] Generated Node #0,3,1: 41:[37, 41] Operation: 1*41=41 Exploring Operation: 37+1=38, Resulting Numbers: [41, 38] Generated Node #0,3,2: 41:[41, 38] Operation: 37+1=38 Exploring Operation: 37/1=37, Resulting Numbers: [41, 37] Generated Node #0,3,3: 41:[41, 37] Operation: 37/1=37 Moving to Node #0,0,3 Current State: 41:[38, 41], Operations: ['37+1=38', '59-18=41'] Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,41 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[41, 38], Operations: ['59-18=41', '37+1=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[41, 37], Operations: ['59-18=41', '37/1=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[41, 37], Operations: ['59-18=41', '37*1=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,41 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[37, 41], Operations: ['59-18=41', '1*41=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,41 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[37, 40], Operations: ['18+1=19', '59-19=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[59, 56], Operations: ['18+1=19', '37+19=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[59, 56], Operations: ['37+1=38', '18+38=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[59, 20], Operations: ['37+1=38', '38-18=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[38, 77], Operations: ['37+1=38', '18+59=77'] Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,41 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[19, 22], Operations: ['18+1=19', '59-37=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,41 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[18, 37, 59, 1], Operations: [] Exploring Operation: 18+1=19, Resulting Numbers: [37, 59, 19] Generated Node #0,2: 41:[37, 59, 19] Operation: 18+1=19 Moving to Node #0,2 Current State: 41:[37, 59, 19], Operations: ['18+1=19'] Exploring Operation: 59-37=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 41:[19, 22] Operation: 59-37=22 Moving to Node #0,2,1 Current State: 41:[19, 22], Operations: ['18+1=19', '59-37=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.940972
hs_4
mult_heuristic
[ 56, 77, 67, 16 ]
99
[ "67-56=11", "16*11=176", "176-77=99" ]
Current State: 99:[56, 77, 67, 16], Operations: [] Exploring Operation: 67-56=11, Resulting Numbers: [77, 16, 11] Generated Node #2: [77, 16, 11] from Operation: 67-56=11 Current State: 99:[77, 16, 11], Operations: ['67-56=11'] Exploring Operation: 16*11=176, Resulting Numbers: [77, 176] Generated Node #3: [77, 176] from Operation: 16*11=176 Current State: 99:[77, 176], Operations: ['67-56=11', '16*11=176'] Exploring Operation: 176-77=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[56, 77, 67, 16], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [67, 16, 21] Generated Node #0,0: 99:[67, 16, 21] Operation: 77-56=21 Exploring Operation: 67-56=11, Resulting Numbers: [77, 16, 11] Generated Node #0,1: 99:[77, 16, 11] Operation: 67-56=11 Exploring Operation: 56+67=123, Resulting Numbers: [77, 16, 123] Generated Node #0,2: 99:[77, 16, 123] Operation: 56+67=123 Exploring Operation: 77-67=10, Resulting Numbers: [56, 16, 10] Generated Node #0,3: 99:[56, 16, 10] Operation: 77-67=10 Moving to Node #0,1 Current State: 99:[77, 16, 11], Operations: ['67-56=11'] Exploring Operation: 77+11=88, Resulting Numbers: [16, 88] Generated Node #0,1,0: 99:[16, 88] Operation: 77+11=88 Exploring Operation: 77/11=7, Resulting Numbers: [16, 7] Generated Node #0,1,1: 99:[16, 7] Operation: 77/11=7 Exploring Operation: 16-11=5, Resulting Numbers: [77, 5] Generated Node #0,1,2: 99:[77, 5] Operation: 16-11=5 Exploring Operation: 77+16=93, Resulting Numbers: [11, 93] Generated Node #0,1,3: 99:[11, 93] Operation: 77+16=93 Moving to Node #0,3 Current State: 99:[56, 16, 10], Operations: ['77-67=10'] Exploring Operation: 56-10=46, Resulting Numbers: [16, 46] Generated Node #0,3,0: 99:[16, 46] Operation: 56-10=46 Exploring Operation: 56+16=72, Resulting Numbers: [10, 72] Generated Node #0,3,1: 99:[10, 72] Operation: 56+16=72 Exploring Operation: 56-16=40, Resulting Numbers: [10, 40] Generated Node #0,3,2: 99:[10, 40] Operation: 56-16=40 Exploring Operation: 16-10=6, Resulting Numbers: [56, 6] Generated Node #0,3,3: 99:[56, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[10, 40], Operations: ['77-67=10', '56-16=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,99 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[16, 46], Operations: ['77-67=10', '56-10=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[56, 6], Operations: ['77-67=10', '16-10=6'] Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,99 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[10, 72], Operations: ['77-67=10', '56+16=72'] Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,99 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: 99:[67, 16, 21], Operations: ['77-56=21'] Exploring Operation: 67+16=83, Resulting Numbers: [21, 83] Generated Node #0,0,0: 99:[21, 83] Operation: 67+16=83 Exploring Operation: 67-21=46, Resulting Numbers: [16, 46] Generated Node #0,0,1: 99:[16, 46] Operation: 67-21=46 Exploring Operation: 67+21=88, Resulting Numbers: [16, 88] Generated Node #0,0,2: 99:[16, 88] Operation: 67+21=88 Exploring Operation: 67-16=51, Resulting Numbers: [21, 51] Generated Node #0,0,3: 99:[21, 51] Operation: 67-16=51 Moving to Node #0,2 Current State: 99:[77, 16, 123], Operations: ['56+67=123'] Exploring Operation: 77+16=93, Resulting Numbers: [123, 93] Generated Node #0,2,0: 99:[123, 93] Operation: 77+16=93 Exploring Operation: 123-16=107, Resulting Numbers: [77, 107] Generated Node #0,2,1: 99:[77, 107] Operation: 123-16=107 Exploring Operation: 123-77=46, Resulting Numbers: [16, 46] Generated Node #0,2,2: 99:[16, 46] Operation: 123-77=46 Exploring Operation: 77-16=61, Resulting Numbers: [123, 61] Generated Node #0,2,3: 99:[123, 61] Operation: 77-16=61 Moving to Node #0,1,3 Current State: 99:[11, 93], Operations: ['67-56=11', '77+16=93'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[16, 7], Operations: ['67-56=11', '77/11=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[16, 88], Operations: ['67-56=11', '77+11=88'] Exploring Operation: 16+88=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 16*88=1408, Resulting Numbers: [1408] 1408,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[16, 88], Operations: ['77-56=21', '67+21=88'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 16*88=1408, Resulting Numbers: [1408] 1408,99 unequal: No Solution Exploring Operation: 16+88=104, Resulting Numbers: [104] 104,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[16, 46], Operations: ['77-56=21', '67-21=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[16, 46], Operations: ['56+67=123', '123-77=46'] Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,99 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[77, 5], Operations: ['67-56=11', '16-11=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[21, 83], Operations: ['77-56=21', '67+16=83'] Exploring Operation: 21*83=1743, Resulting Numbers: [1743] 1743,99 unequal: No Solution Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 21+83=104, Resulting Numbers: [104] 104,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[21, 51], Operations: ['77-56=21', '67-16=51'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,99 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[123, 93], Operations: ['56+67=123', '77+16=93'] Exploring Operation: 123+93=216, Resulting Numbers: [216] 216,99 unequal: No Solution Exploring Operation: 123*93=11439, Resulting Numbers: [11439] 11439,99 unequal: No Solution Exploring Operation: 123-93=30, Resulting Numbers: [30] 30,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[77, 107], Operations: ['56+67=123', '123-16=107'] Exploring Operation: 77+107=184, Resulting Numbers: [184] 184,99 unequal: No Solution Exploring Operation: 107-77=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 77*107=8239, Resulting Numbers: [8239] 8239,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[123, 61], Operations: ['56+67=123', '77-16=61'] Exploring Operation: 123-61=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 123*61=7503, Resulting Numbers: [7503] 7503,99 unequal: No Solution Exploring Operation: 123+61=184, Resulting Numbers: [184] 184,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 43, 1, 60, 59 ]
42
[ "43*1=43", "60-59=1", "43-1=42" ]
Current State: 42:[43, 1, 60, 59], Operations: [] Exploring Operation: 43*1=43, Resulting Numbers: [60, 59, 43] Generated Node #2: [60, 59, 43] from Operation: 43*1=43 Current State: 42:[60, 59, 43], Operations: ['43*1=43'] Exploring Operation: 60-59=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 60-59=1 Current State: 42:[43, 1], Operations: ['43*1=43', '60-59=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[43, 1, 60, 59], Operations: [] Exploring Operation: 43-1=42, Resulting Numbers: [60, 59, 42] Generated Node #0,0: 42:[60, 59, 42] Operation: 43-1=42 Exploring Operation: 60-1=59, Resulting Numbers: [43, 59, 59] Generated Node #0,1: 42:[43, 59, 59] Operation: 60-1=59 Exploring Operation: 60-43=17, Resulting Numbers: [1, 59, 17] Generated Node #0,2: 42:[1, 59, 17] Operation: 60-43=17 Exploring Operation: 59-43=16, Resulting Numbers: [1, 60, 16] Generated Node #0,3: 42:[1, 60, 16] Operation: 59-43=16 Exploring Operation: 60-59=1, Resulting Numbers: [43, 1, 1] Generated Node #0,4: 42:[43, 1, 1] Operation: 60-59=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[43, 1, 1], Operations: ['60-59=1'] Exploring Operation: 43-1=42, Resulting Numbers: [1, 42] Generated Node #0,4,0: 42:[1, 42] Operation: 43-1=42 Exploring Operation: 43*1=43, Resulting Numbers: [1, 43] Generated Node #0,4,1: 42:[1, 43] Operation: 43*1=43 Exploring Operation: 43-1=42, Resulting Numbers: [1, 42] Generated Node #0,4,2: 42:[1, 42] Operation: 43-1=42 Exploring Operation: 43/1=43, Resulting Numbers: [1, 43] Generated Node #0,4,3: 42:[1, 43] Operation: 43/1=43 Exploring Operation: 1+1=2, Resulting Numbers: [43, 2] Generated Node #0,4,4: 42:[43, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 42:[1, 42], Operations: ['60-59=1', '43-1=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[43, 1, 60, 59], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [43, 1, 1] Generated Node #0,4: 42:[43, 1, 1] Operation: 60-59=1 Moving to Node #0,4 Current State: 42:[43, 1, 1], Operations: ['60-59=1'] Exploring Operation: 43-1=42, Resulting Numbers: [1, 42] Generated Node #0,4,0: 42:[1, 42] Operation: 43-1=42 Moving to Node #0,4,0 Current State: 42:[1, 42], Operations: ['60-59=1', '43-1=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 1, 2, 65, 10 ]
87
[ "1+10=11", "2*11=22", "65+22=87" ]
Current State: 87:[1, 2, 65, 10], Operations: [] Exploring Operation: 1+10=11, Resulting Numbers: [2, 65, 11] Generated Node #2: [2, 65, 11] from Operation: 1+10=11 Current State: 87:[2, 65, 11], Operations: ['1+10=11'] Exploring Operation: 2*11=22, Resulting Numbers: [65, 22] Generated Node #3: [65, 22] from Operation: 2*11=22 Current State: 87:[65, 22], Operations: ['1+10=11', '2*11=22'] Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[1, 2, 65, 10], Operations: [] Exploring Operation: 65+10=75, Resulting Numbers: [1, 2, 75] Generated Node #0,0: 87:[1, 2, 75] Operation: 65+10=75 Exploring Operation: 10/2=5, Resulting Numbers: [1, 65, 5] Generated Node #0,1: 87:[1, 65, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[1, 2, 75], Operations: ['65+10=75'] Exploring Operation: 1+2=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 87:[75, 3] Operation: 1+2=3 Exploring Operation: 1+75=76, Resulting Numbers: [2, 76] Generated Node #0,0,1: 87:[2, 76] Operation: 1+75=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[75, 3], Operations: ['65+10=75', '1+2=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,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:[2, 76], Operations: ['65+10=75', '1+75=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,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:[1, 65, 5], Operations: ['10/2=5'] Exploring Operation: 65+5=70, Resulting Numbers: [1, 70] Generated Node #0,1,0: 87:[1, 70] Operation: 65+5=70 Exploring Operation: 65/5=13, Resulting Numbers: [1, 13] Generated Node #0,1,1: 87:[1, 13] Operation: 65/5=13 Moving to Node #0,1,1 Current State: 87:[1, 13], Operations: ['10/2=5', '65/5=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[1, 70], Operations: ['10/2=5', '65+5=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,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
[ 53, 56, 7, 27 ]
74
[ "56-53=3", "27*3=81", "81-7=74" ]
Current State: 74:[53, 56, 7, 27], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [7, 27, 3] Generated Node #2: [7, 27, 3] from Operation: 56-53=3 Current State: 74:[7, 27, 3], Operations: ['56-53=3'] Exploring Operation: 27*3=81, Resulting Numbers: [7, 81] Generated Node #3: [7, 81] from Operation: 27*3=81 Current State: 74:[7, 81], Operations: ['56-53=3', '27*3=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[53, 56, 7, 27], Operations: [] Exploring Operation: 56-27=29, Resulting Numbers: [53, 7, 29] Generated Node #0,0: 74:[53, 7, 29] Operation: 56-27=29 Exploring Operation: 56-53=3, Resulting Numbers: [7, 27, 3] Generated Node #0,1: 74:[7, 27, 3] Operation: 56-53=3 Exploring Operation: 56+27=83, Resulting Numbers: [53, 7, 83] Generated Node #0,2: 74:[53, 7, 83] Operation: 56+27=83 Exploring Operation: 53+27=80, Resulting Numbers: [56, 7, 80] Generated Node #0,3: 74:[56, 7, 80] Operation: 53+27=80 Moving to Node #0,1 Current State: 74:[7, 27, 3], Operations: ['56-53=3'] Exploring Operation: 7-3=4, Resulting Numbers: [27, 4] Generated Node #0,1,0: 74:[27, 4] Operation: 7-3=4 Exploring Operation: 7+27=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 74:[3, 34] Operation: 7+27=34 Exploring Operation: 27*3=81, Resulting Numbers: [7, 81] Generated Node #0,1,2: 74:[7, 81] Operation: 27*3=81 Exploring Operation: 27+3=30, Resulting Numbers: [7, 30] Generated Node #0,1,3: 74:[7, 30] Operation: 27+3=30 Moving to Node #0,3 Current State: 74:[56, 7, 80], Operations: ['53+27=80'] Exploring Operation: 56-7=49, Resulting Numbers: [80, 49] Generated Node #0,3,0: 74:[80, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [80, 8] Generated Node #0,3,1: 74:[80, 8] Operation: 56/7=8 Exploring Operation: 56+7=63, Resulting Numbers: [80, 63] Generated Node #0,3,2: 74:[80, 63] Operation: 56+7=63 Exploring Operation: 80-56=24, Resulting Numbers: [7, 24] Generated Node #0,3,3: 74:[7, 24] Operation: 80-56=24 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[80, 8], Operations: ['53+27=80', '56/7=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,74 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[80, 63], Operations: ['53+27=80', '56+7=63'] Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,74 unequal: No Solution Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[80, 49], Operations: ['53+27=80', '56-7=49'] Exploring Operation: 80*49=3920, Resulting Numbers: [3920] 3920,74 unequal: No Solution Exploring Operation: 80+49=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[7, 24], Operations: ['53+27=80', '80-56=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,74 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,74 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: 74:[53, 7, 29], Operations: ['56-27=29'] Exploring Operation: 53-29=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 74:[7, 24] Operation: 53-29=24 Exploring Operation: 53-7=46, Resulting Numbers: [29, 46] Generated Node #0,0,1: 74:[29, 46] Operation: 53-7=46 Exploring Operation: 53+29=82, Resulting Numbers: [7, 82] Generated Node #0,0,2: 74:[7, 82] Operation: 53+29=82 Exploring Operation: 7+29=36, Resulting Numbers: [53, 36] Generated Node #0,0,3: 74:[53, 36] Operation: 7+29=36 Moving to Node #0,2 Current State: 74:[53, 7, 83], Operations: ['56+27=83'] Exploring Operation: 83-53=30, Resulting Numbers: [7, 30] Generated Node #0,2,0: 74:[7, 30] Operation: 83-53=30 Exploring Operation: 53+7=60, Resulting Numbers: [83, 60] Generated Node #0,2,1: 74:[83, 60] Operation: 53+7=60 Exploring Operation: 83-7=76, Resulting Numbers: [53, 76] Generated Node #0,2,2: 74:[53, 76] Operation: 83-7=76 Exploring Operation: 53-7=46, Resulting Numbers: [83, 46] Generated Node #0,2,3: 74:[83, 46] Operation: 53-7=46 Moving to Node #0,1,1 Current State: 74:[3, 34], Operations: ['56-53=3', '7+27=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[7, 81], Operations: ['56-53=3', '27*3=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[53, 56, 7, 27], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [7, 27, 3] Generated Node #0,1: 74:[7, 27, 3] Operation: 56-53=3 Moving to Node #0,1 Current State: 74:[7, 27, 3], Operations: ['56-53=3'] Exploring Operation: 27*3=81, Resulting Numbers: [7, 81] Generated Node #0,1,2: 74:[7, 81] Operation: 27*3=81 Moving to Node #0,1,2 Current State: 74:[7, 81], Operations: ['56-53=3', '27*3=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.96441
hs_4
mult_heuristic
[ 28, 31, 95, 33 ]
12
[ "33-28=5", "95/5=19", "31-19=12" ]
Current State: 12:[28, 31, 95, 33], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [31, 95, 5] Generated Node #2: [31, 95, 5] from Operation: 33-28=5 Current State: 12:[31, 95, 5], Operations: ['33-28=5'] Exploring Operation: 95/5=19, Resulting Numbers: [31, 19] Generated Node #3: [31, 19] from Operation: 95/5=19 Current State: 12:[31, 19], Operations: ['33-28=5', '95/5=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[28, 31, 95, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [28, 95, 2] Generated Node #0,0: 12:[28, 95, 2] Operation: 33-31=2 Exploring Operation: 95-31=64, Resulting Numbers: [28, 33, 64] Generated Node #0,1: 12:[28, 33, 64] Operation: 95-31=64 Exploring Operation: 95-28=67, Resulting Numbers: [31, 33, 67] Generated Node #0,2: 12:[31, 33, 67] Operation: 95-28=67 Exploring Operation: 95-33=62, Resulting Numbers: [28, 31, 62] Generated Node #0,3: 12:[28, 31, 62] Operation: 95-33=62 Moving to Node #0,3 Current State: 12:[28, 31, 62], Operations: ['95-33=62'] Exploring Operation: 62-28=34, Resulting Numbers: [31, 34] Generated Node #0,3,0: 12:[31, 34] Operation: 62-28=34 Exploring Operation: 62/31=2, Resulting Numbers: [28, 2] Generated Node #0,3,1: 12:[28, 2] Operation: 62/31=2 Exploring Operation: 62-31=31, Resulting Numbers: [28, 31] Generated Node #0,3,2: 12:[28, 31] Operation: 62-31=31 Exploring Operation: 31-28=3, Resulting Numbers: [62, 3] Generated Node #0,3,3: 12:[62, 3] Operation: 31-28=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[28, 2], Operations: ['95-33=62', '62/31=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,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,3,2 Current State: 12:[28, 31], Operations: ['95-33=62', '62-31=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,12 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,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,3,0 Current State: 12:[31, 34], Operations: ['95-33=62', '62-28=34'] Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,12 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,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,3,3 Current State: 12:[62, 3], Operations: ['95-33=62', '31-28=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,12 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: 12:[28, 33, 64], Operations: ['95-31=64'] Exploring Operation: 64-28=36, Resulting Numbers: [33, 36] Generated Node #0,1,0: 12:[33, 36] Operation: 64-28=36 Exploring Operation: 64-33=31, Resulting Numbers: [28, 31] Generated Node #0,1,1: 12:[28, 31] Operation: 64-33=31 Exploring Operation: 33-28=5, Resulting Numbers: [64, 5] Generated Node #0,1,2: 12:[64, 5] Operation: 33-28=5 Exploring Operation: 28+33=61, Resulting Numbers: [64, 61] Generated Node #0,1,3: 12:[64, 61] Operation: 28+33=61 Moving to Node #0,2 Current State: 12:[31, 33, 67], Operations: ['95-28=67'] Exploring Operation: 67-33=34, Resulting Numbers: [31, 34] Generated Node #0,2,0: 12:[31, 34] Operation: 67-33=34 Exploring Operation: 33-31=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 12:[67, 2] Operation: 33-31=2 Exploring Operation: 31+33=64, Resulting Numbers: [67, 64] Generated Node #0,2,2: 12:[67, 64] Operation: 31+33=64 Exploring Operation: 67-31=36, Resulting Numbers: [33, 36] Generated Node #0,2,3: 12:[33, 36] Operation: 67-31=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[31, 34], Operations: ['95-28=67', '67-33=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[33, 36], Operations: ['95-28=67', '67-31=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[67, 2], Operations: ['95-28=67', '33-31=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,12 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[67, 64], Operations: ['95-28=67', '31+33=64'] Exploring Operation: 67*64=4288, Resulting Numbers: [4288] 4288,12 unequal: No Solution Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 67+64=131, Resulting Numbers: [131] 131,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 12:[28, 95, 2], Operations: ['33-31=2'] Exploring Operation: 95-28=67, Resulting Numbers: [2, 67] Generated Node #0,0,0: 12:[2, 67] Operation: 95-28=67 Exploring Operation: 28/2=14, Resulting Numbers: [95, 14] Generated Node #0,0,1: 12:[95, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [95, 26] Generated Node #0,0,2: 12:[95, 26] Operation: 28-2=26 Exploring Operation: 95-2=93, Resulting Numbers: [28, 93] Generated Node #0,0,3: 12:[28, 93] Operation: 95-2=93 Moving to Node #0,1,1 Current State: 12:[28, 31], Operations: ['95-31=64', '64-33=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,12 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[33, 36], Operations: ['95-31=64', '64-28=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,12 unequal: No Solution Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[64, 5], Operations: ['95-31=64', '33-28=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[2, 67], Operations: ['33-31=2', '95-28=67'] Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,12 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[95, 14], Operations: ['33-31=2', '28/2=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,12 unequal: No Solution Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[28, 93], Operations: ['33-31=2', '95-2=93'] Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,12 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[95, 26], Operations: ['33-31=2', '28-2=26'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,12 unequal: No Solution Exploring Operation: 95*26=2470, Resulting Numbers: [2470] 2470,12 unequal: No Solution Exploring Operation: 95+26=121, Resulting Numbers: [121] 121,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[64, 61], Operations: ['95-31=64', '28+33=61'] Exploring Operation: 64+61=125, Resulting Numbers: [125] 125,12 unequal: No Solution Exploring Operation: 64*61=3904, Resulting Numbers: [3904] 3904,12 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 99, 84, 52, 24 ]
96
[ "52-24=28", "84/28=3", "99-3=96" ]
Current State: 96:[99, 84, 52, 24], Operations: [] Exploring Operation: 52-24=28, Resulting Numbers: [99, 84, 28] Generated Node #2: [99, 84, 28] from Operation: 52-24=28 Current State: 96:[99, 84, 28], Operations: ['52-24=28'] Exploring Operation: 84/28=3, Resulting Numbers: [99, 3] Generated Node #3: [99, 3] from Operation: 84/28=3 Current State: 96:[99, 3], Operations: ['52-24=28', '84/28=3'] Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[99, 84, 52, 24], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [99, 24, 32] Generated Node #0,0: 96:[99, 24, 32] Operation: 84-52=32 Exploring Operation: 99-52=47, Resulting Numbers: [84, 24, 47] Generated Node #0,1: 96:[84, 24, 47] Operation: 99-52=47 Exploring Operation: 99-84=15, Resulting Numbers: [52, 24, 15] Generated Node #0,2: 96:[52, 24, 15] Operation: 99-84=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[99, 24, 32], Operations: ['84-52=32'] Exploring Operation: 99-32=67, Resulting Numbers: [24, 67] Generated Node #0,0,0: 96:[24, 67] Operation: 99-32=67 Exploring Operation: 32-24=8, Resulting Numbers: [99, 8] Generated Node #0,0,1: 96:[99, 8] Operation: 32-24=8 Exploring Operation: 24+32=56, Resulting Numbers: [99, 56] Generated Node #0,0,2: 96:[99, 56] Operation: 24+32=56 Moving to Node #0,0,1 Current State: 96:[99, 8], Operations: ['84-52=32', '32-24=8'] Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,96 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[99, 56], Operations: ['84-52=32', '24+32=56'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,96 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[24, 67], Operations: ['84-52=32', '99-32=67'] Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[52, 24, 15], Operations: ['99-84=15'] Exploring Operation: 52-24=28, Resulting Numbers: [15, 28] Generated Node #0,2,0: 96:[15, 28] Operation: 52-24=28 Exploring Operation: 52-15=37, Resulting Numbers: [24, 37] Generated Node #0,2,1: 96:[24, 37] Operation: 52-15=37 Exploring Operation: 24-15=9, Resulting Numbers: [52, 9] Generated Node #0,2,2: 96:[52, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[15, 28], Operations: ['99-84=15', '52-24=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,96 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[24, 37], Operations: ['99-84=15', '52-15=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,96 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[52, 9], Operations: ['99-84=15', '24-15=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,96 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[84, 24, 47], Operations: ['99-52=47'] Exploring Operation: 84-47=37, Resulting Numbers: [24, 37] Generated Node #0,1,0: 96:[24, 37] Operation: 84-47=37 Exploring Operation: 84-24=60, Resulting Numbers: [47, 60] Generated Node #0,1,1: 96:[47, 60] Operation: 84-24=60 Exploring Operation: 84+24=108, Resulting Numbers: [47, 108] Generated Node #0,1,2: 96:[47, 108] Operation: 84+24=108 Moving to Node #0,1,0 Current State: 96:[24, 37], Operations: ['99-52=47', '84-47=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,96 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[47, 60], Operations: ['99-52=47', '84-24=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,96 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[47, 108], Operations: ['99-52=47', '84+24=108'] Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,96 unequal: No Solution Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,96 unequal: No Solution Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 40, 62, 26, 41 ]
28
[ "40*41=1640", "62*26=1612", "1640-1612=28" ]
Current State: 28:[40, 62, 26, 41], Operations: [] Exploring Operation: 40*41=1640, Resulting Numbers: [62, 26, 1640] Generated Node #2: [62, 26, 1640] from Operation: 40*41=1640 Current State: 28:[62, 26, 1640], Operations: ['40*41=1640'] Exploring Operation: 62*26=1612, Resulting Numbers: [1640, 1612] Generated Node #3: [1640, 1612] from Operation: 62*26=1612 Current State: 28:[1640, 1612], Operations: ['40*41=1640', '62*26=1612'] Exploring Operation: 1640-1612=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[40, 62, 26, 41], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [40, 26, 21] Generated Node #0,0: 28:[40, 26, 21] Operation: 62-41=21 Exploring Operation: 62-40=22, Resulting Numbers: [26, 41, 22] Generated Node #0,1: 28:[26, 41, 22] Operation: 62-40=22 Exploring Operation: 62-26=36, Resulting Numbers: [40, 41, 36] Generated Node #0,2: 28:[40, 41, 36] Operation: 62-26=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[40, 26, 21], Operations: ['62-41=21'] Exploring Operation: 40-21=19, Resulting Numbers: [26, 19] Generated Node #0,0,0: 28:[26, 19] Operation: 40-21=19 Exploring Operation: 40-26=14, Resulting Numbers: [21, 14] Generated Node #0,0,1: 28:[21, 14] Operation: 40-26=14 Exploring Operation: 26-21=5, Resulting Numbers: [40, 5] Generated Node #0,0,2: 28:[40, 5] Operation: 26-21=5 Moving to Node #0,0,0 Current State: 28:[26, 19], Operations: ['62-41=21', '40-21=19'] Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,28 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[21, 14], Operations: ['62-41=21', '40-26=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[40, 5], Operations: ['62-41=21', '26-21=5'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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:[26, 41, 22], Operations: ['62-40=22'] Exploring Operation: 41-26=15, Resulting Numbers: [22, 15] Generated Node #0,1,0: 28:[22, 15] Operation: 41-26=15 Exploring Operation: 41-22=19, Resulting Numbers: [26, 19] Generated Node #0,1,1: 28:[26, 19] Operation: 41-22=19 Exploring Operation: 26-22=4, Resulting Numbers: [41, 4] Generated Node #0,1,2: 28:[41, 4] Operation: 26-22=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[22, 15], Operations: ['62-40=22', '41-26=15'] Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,28 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,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:[26, 19], Operations: ['62-40=22', '41-22=19'] Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,28 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,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:[41, 4], Operations: ['62-40=22', '26-22=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,28 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,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:[40, 41, 36], Operations: ['62-26=36'] Exploring Operation: 41-36=5, Resulting Numbers: [40, 5] Generated Node #0,2,0: 28:[40, 5] Operation: 41-36=5 Exploring Operation: 41-40=1, Resulting Numbers: [36, 1] Generated Node #0,2,1: 28:[36, 1] Operation: 41-40=1 Exploring Operation: 40-36=4, Resulting Numbers: [41, 4] Generated Node #0,2,2: 28:[41, 4] Operation: 40-36=4 Moving to Node #0,2,1 Current State: 28:[36, 1], Operations: ['62-26=36', '41-40=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[40, 5], Operations: ['62-26=36', '41-36=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[41, 4], Operations: ['62-26=36', '40-36=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,28 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 4, 96, 28, 83 ]
45
[ "4+96=100", "83-28=55", "100-55=45" ]
Current State: 45:[4, 96, 28, 83], Operations: [] Exploring Operation: 4+96=100, Resulting Numbers: [28, 83, 100] Generated Node #2: [28, 83, 100] from Operation: 4+96=100 Current State: 45:[28, 83, 100], Operations: ['4+96=100'] Exploring Operation: 83-28=55, Resulting Numbers: [100, 55] Generated Node #3: [100, 55] from Operation: 83-28=55 Current State: 45:[100, 55], Operations: ['4+96=100', '83-28=55'] Exploring Operation: 100-55=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[4, 96, 28, 83], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [28, 83, 24] Generated Node #0,0: 45:[28, 83, 24] Operation: 96/4=24 Exploring Operation: 96-28=68, Resulting Numbers: [4, 83, 68] Generated Node #0,1: 45:[4, 83, 68] Operation: 96-28=68 Exploring Operation: 96-83=13, Resulting Numbers: [4, 28, 13] Generated Node #0,2: 45:[4, 28, 13] Operation: 96-83=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[4, 28, 13], Operations: ['96-83=13'] Exploring Operation: 28-13=15, Resulting Numbers: [4, 15] Generated Node #0,2,0: 45:[4, 15] Operation: 28-13=15 Exploring Operation: 28+13=41, Resulting Numbers: [4, 41] Generated Node #0,2,1: 45:[4, 41] Operation: 28+13=41 Exploring Operation: 28/4=7, Resulting Numbers: [13, 7] Generated Node #0,2,2: 45:[13, 7] Operation: 28/4=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[4, 15], Operations: ['96-83=13', '28-13=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,45 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[13, 7], Operations: ['96-83=13', '28/4=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[4, 41], Operations: ['96-83=13', '28+13=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,45 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[4, 96, 28, 83], Operations: [] Exploring Operation: 96-83=13, Resulting Numbers: [4, 28, 13] Generated Node #0,2: 45:[4, 28, 13] Operation: 96-83=13 Moving to Node #0,2 Current State: 45:[4, 28, 13], Operations: ['96-83=13'] Exploring Operation: 28+13=41, Resulting Numbers: [4, 41] Generated Node #0,2,1: 45:[4, 41] Operation: 28+13=41 Moving to Node #0,2,1 Current State: 45:[4, 41], Operations: ['96-83=13', '28+13=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 25, 74, 11, 76 ]
61
[ "76-74=2", "25*2=50", "11+50=61" ]
Current State: 61:[25, 74, 11, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [25, 11, 2] Generated Node #2: [25, 11, 2] from Operation: 76-74=2 Current State: 61:[25, 11, 2], Operations: ['76-74=2'] Exploring Operation: 25*2=50, Resulting Numbers: [11, 50] Generated Node #3: [11, 50] from Operation: 25*2=50 Current State: 61:[11, 50], Operations: ['76-74=2', '25*2=50'] Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[25, 74, 11, 76], Operations: [] Exploring Operation: 25+11=36, Resulting Numbers: [74, 76, 36] Generated Node #0,0: 61:[74, 76, 36] Operation: 25+11=36 Exploring Operation: 74-11=63, Resulting Numbers: [25, 76, 63] Generated Node #0,1: 61:[25, 76, 63] Operation: 74-11=63 Moving to Node #0,0 Current State: 61:[74, 76, 36], Operations: ['25+11=36'] Exploring Operation: 76-36=40, Resulting Numbers: [74, 40] Generated Node #0,0,0: 61:[74, 40] Operation: 76-36=40 Exploring Operation: 74-36=38, Resulting Numbers: [76, 38] Generated Node #0,0,1: 61:[76, 38] Operation: 74-36=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[74, 40], Operations: ['25+11=36', '76-36=40'] Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[76, 38], Operations: ['25+11=36', '74-36=38'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,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:[25, 76, 63], Operations: ['74-11=63'] Exploring Operation: 63-25=38, Resulting Numbers: [76, 38] Generated Node #0,1,0: 61:[76, 38] Operation: 63-25=38 Exploring Operation: 76-25=51, Resulting Numbers: [63, 51] Generated Node #0,1,1: 61:[63, 51] Operation: 76-25=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[63, 51], Operations: ['74-11=63', '76-25=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[76, 38], Operations: ['74-11=63', '63-25=38'] Exploring Operation: 76+38=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 27, 2, 16 ]
67
[ "5*16=80", "80/2=40", "27+40=67" ]
Current State: 67:[5, 27, 2, 16], Operations: [] Exploring Operation: 5*16=80, Resulting Numbers: [27, 2, 80] Generated Node #2: [27, 2, 80] from Operation: 5*16=80 Current State: 67:[27, 2, 80], Operations: ['5*16=80'] Exploring Operation: 80/2=40, Resulting Numbers: [27, 40] Generated Node #3: [27, 40] from Operation: 80/2=40 Current State: 67:[27, 40], Operations: ['5*16=80', '80/2=40'] Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[5, 27, 2, 16], Operations: [] Exploring Operation: 5*16=80, Resulting Numbers: [27, 2, 80] Generated Node #0,0: 67:[27, 2, 80] Operation: 5*16=80 Exploring Operation: 27*2=54, Resulting Numbers: [5, 16, 54] Generated Node #0,1: 67:[5, 16, 54] Operation: 27*2=54 Exploring Operation: 2*16=32, Resulting Numbers: [5, 27, 32] Generated Node #0,2: 67:[5, 27, 32] Operation: 2*16=32 Exploring Operation: 5*2=10, Resulting Numbers: [27, 16, 10] Generated Node #0,3: 67:[27, 16, 10] Operation: 5*2=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[27, 2, 80], Operations: ['5*16=80'] Exploring Operation: 27-2=25, Resulting Numbers: [80, 25] Generated Node #0,0,0: 67:[80, 25] Operation: 27-2=25 Exploring Operation: 27*2=54, Resulting Numbers: [80, 54] Generated Node #0,0,1: 67:[80, 54] Operation: 27*2=54 Exploring Operation: 27+2=29, Resulting Numbers: [80, 29] Generated Node #0,0,2: 67:[80, 29] Operation: 27+2=29 Exploring Operation: 80-2=78, Resulting Numbers: [27, 78] Generated Node #0,0,3: 67:[27, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[80, 54], Operations: ['5*16=80', '27*2=54'] Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,67 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,67 unequal: No Solution No 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: 67:[80, 29], Operations: ['5*16=80', '27+2=29'] Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,67 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,67 unequal: No Solution No 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: 67:[27, 78], Operations: ['5*16=80', '80-2=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,67 unequal: No Solution No 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: 67:[80, 25], Operations: ['5*16=80', '27-2=25'] Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,67 unequal: No Solution Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[5, 16, 54], Operations: ['27*2=54'] Exploring Operation: 5*16=80, Resulting Numbers: [54, 80] Generated Node #0,1,0: 67:[54, 80] Operation: 5*16=80 Exploring Operation: 5+16=21, Resulting Numbers: [54, 21] Generated Node #0,1,1: 67:[54, 21] Operation: 5+16=21 Exploring Operation: 5+54=59, Resulting Numbers: [16, 59] Generated Node #0,1,2: 67:[16, 59] Operation: 5+54=59 Exploring Operation: 16+54=70, Resulting Numbers: [5, 70] Generated Node #0,1,3: 67:[5, 70] Operation: 16+54=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[54, 80], Operations: ['27*2=54', '5*16=80'] Exploring Operation: 54+80=134, Resulting Numbers: [134] 134,67 unequal: No Solution Exploring Operation: 54*80=4320, Resulting Numbers: [4320] 4320,67 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,67 unequal: No Solution No 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: 67:[54, 21], Operations: ['27*2=54', '5+16=21'] Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,67 unequal: No Solution No 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: 67:[16, 59], Operations: ['27*2=54', '5+54=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,67 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,67 unequal: No Solution No 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: 67:[5, 70], Operations: ['27*2=54', '16+54=70'] Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[5, 27, 32], Operations: ['2*16=32'] Exploring Operation: 5+27=32, Resulting Numbers: [32, 32] Generated Node #0,2,0: 67:[32, 32] Operation: 5+27=32 Exploring Operation: 5+32=37, Resulting Numbers: [27, 37] Generated Node #0,2,1: 67:[27, 37] Operation: 5+32=37 Exploring Operation: 27-5=22, Resulting Numbers: [32, 22] Generated Node #0,2,2: 67:[32, 22] Operation: 27-5=22 Exploring Operation: 27+32=59, Resulting Numbers: [5, 59] Generated Node #0,2,3: 67:[5, 59] Operation: 27+32=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[32, 32], Operations: ['2*16=32', '5+27=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,67 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,67 unequal: No Solution No 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: 67:[27, 37], Operations: ['2*16=32', '5+32=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,67 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,67 unequal: No Solution No 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: 67:[5, 59], Operations: ['2*16=32', '27+32=59'] Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,67 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,67 unequal: No Solution No 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: 67:[32, 22], Operations: ['2*16=32', '27-5=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,67 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[27, 16, 10], Operations: ['5*2=10'] Exploring Operation: 27+16=43, Resulting Numbers: [10, 43] Generated Node #0,3,0: 67:[10, 43] Operation: 27+16=43 Exploring Operation: 27+10=37, Resulting Numbers: [16, 37] Generated Node #0,3,1: 67:[16, 37] Operation: 27+10=37 Exploring Operation: 27-10=17, Resulting Numbers: [16, 17] Generated Node #0,3,2: 67:[16, 17] Operation: 27-10=17 Exploring Operation: 16+10=26, Resulting Numbers: [27, 26] Generated Node #0,3,3: 67:[27, 26] Operation: 16+10=26 Moving to Node #0,3,0 Current State: 67:[10, 43], Operations: ['5*2=10', '27+16=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,67 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[27, 26], Operations: ['5*2=10', '16+10=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,67 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[16, 37], Operations: ['5*2=10', '27+10=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[16, 17], Operations: ['5*2=10', '27-10=17'] Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,67 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
[ 2, 55, 62, 61 ]
34
[ "62-55=7", "61+7=68", "68/2=34" ]
Current State: 34:[2, 55, 62, 61], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [2, 61, 7] Generated Node #2: [2, 61, 7] from Operation: 62-55=7 Current State: 34:[2, 61, 7], Operations: ['62-55=7'] Exploring Operation: 61+7=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 61+7=68 Current State: 34:[2, 68], Operations: ['62-55=7', '61+7=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 55, 62, 61], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [2, 55, 1] Generated Node #0,0: 34:[2, 55, 1] Operation: 62-61=1 Moving to Node #0,0 Current State: 34:[2, 55, 1], Operations: ['62-61=1'] Exploring Operation: 55-2=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 34:[1, 53] Operation: 55-2=53 Moving to Node #0,0,0 Current State: 34:[1, 53], Operations: ['62-61=1', '55-2=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 37, 7, 48 ]
83
[ "79-37=42", "48-7=41", "42+41=83" ]
Current State: 83:[79, 37, 7, 48], Operations: [] Exploring Operation: 79-37=42, Resulting Numbers: [7, 48, 42] Generated Node #2: [7, 48, 42] from Operation: 79-37=42 Current State: 83:[7, 48, 42], Operations: ['79-37=42'] Exploring Operation: 48-7=41, Resulting Numbers: [42, 41] Generated Node #3: [42, 41] from Operation: 48-7=41 Current State: 83:[42, 41], Operations: ['79-37=42', '48-7=41'] Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[79, 37, 7, 48], Operations: [] Exploring Operation: 37+7=44, Resulting Numbers: [79, 48, 44] Generated Node #0,0: 83:[79, 48, 44] Operation: 37+7=44 Exploring Operation: 37+48=85, Resulting Numbers: [79, 7, 85] Generated Node #0,1: 83:[79, 7, 85] Operation: 37+48=85 Exploring Operation: 7+48=55, Resulting Numbers: [79, 37, 55] Generated Node #0,2: 83:[79, 37, 55] Operation: 7+48=55 Moving to Node #0,0 Current State: 83:[79, 48, 44], Operations: ['37+7=44'] Exploring Operation: 79+48=127, Resulting Numbers: [44, 127] Generated Node #0,0,0: 83:[44, 127] Operation: 79+48=127 Exploring Operation: 48+44=92, Resulting Numbers: [79, 92] Generated Node #0,0,1: 83:[79, 92] Operation: 48+44=92 Exploring Operation: 79+44=123, Resulting Numbers: [48, 123] Generated Node #0,0,2: 83:[48, 123] Operation: 79+44=123 Moving to Node #0,2 Current State: 83:[79, 37, 55], Operations: ['7+48=55'] Exploring Operation: 79+37=116, Resulting Numbers: [55, 116] Generated Node #0,2,0: 83:[55, 116] Operation: 79+37=116 Exploring Operation: 79-37=42, Resulting Numbers: [55, 42] Generated Node #0,2,1: 83:[55, 42] Operation: 79-37=42 Exploring Operation: 37+55=92, Resulting Numbers: [79, 92] Generated Node #0,2,2: 83:[79, 92] Operation: 37+55=92 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[79, 92], Operations: ['7+48=55', '37+55=92'] Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,83 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,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:[55, 116], Operations: ['7+48=55', '79+37=116'] Exploring Operation: 116-55=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 55+116=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 55*116=6380, Resulting Numbers: [6380] 6380,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:[55, 42], Operations: ['7+48=55', '79-37=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,83 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,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:[79, 7, 85], Operations: ['37+48=85'] Exploring Operation: 79-7=72, Resulting Numbers: [85, 72] Generated Node #0,1,0: 83:[85, 72] Operation: 79-7=72 Exploring Operation: 85-7=78, Resulting Numbers: [79, 78] Generated Node #0,1,1: 83:[79, 78] Operation: 85-7=78 Exploring Operation: 79+7=86, Resulting Numbers: [85, 86] Generated Node #0,1,2: 83:[85, 86] Operation: 79+7=86 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[85, 86], Operations: ['37+48=85', '79+7=86'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,83 unequal: No Solution Exploring Operation: 85*86=7310, Resulting Numbers: [7310] 7310,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:[79, 78], Operations: ['37+48=85', '85-7=78'] Exploring Operation: 79*78=6162, Resulting Numbers: [6162] 6162,83 unequal: No Solution Exploring Operation: 79+78=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,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:[85, 72], Operations: ['37+48=85', '79-7=72'] Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,83 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,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:[79, 92], Operations: ['37+7=44', '48+44=92'] Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,83 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[48, 123], Operations: ['37+7=44', '79+44=123'] Exploring Operation: 123-48=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 48*123=5904, Resulting Numbers: [5904] 5904,83 unequal: No Solution Exploring Operation: 48+123=171, Resulting Numbers: [171] 171,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[44, 127], Operations: ['37+7=44', '79+48=127'] Exploring Operation: 127-44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[79, 37, 7, 48], Operations: [] Exploring Operation: 37+7=44, Resulting Numbers: [79, 48, 44] Generated Node #0,0: 83:[79, 48, 44] Operation: 37+7=44 Moving to Node #0,0 Current State: 83:[79, 48, 44], Operations: ['37+7=44'] Exploring Operation: 79+48=127, Resulting Numbers: [44, 127] Generated Node #0,0,0: 83:[44, 127] Operation: 79+48=127 Moving to Node #0,0,0 Current State: 83:[44, 127], Operations: ['37+7=44', '79+48=127'] Exploring Operation: 127-44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 27, 51, 98, 46 ]
28
[ "51-27=24", "98-46=52", "52-24=28" ]
Current State: 28:[27, 51, 98, 46], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [98, 46, 24] Generated Node #2: [98, 46, 24] from Operation: 51-27=24 Current State: 28:[98, 46, 24], Operations: ['51-27=24'] Exploring Operation: 98-46=52, Resulting Numbers: [24, 52] Generated Node #3: [24, 52] from Operation: 98-46=52 Current State: 28:[24, 52], Operations: ['51-27=24', '98-46=52'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[27, 51, 98, 46], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [27, 46, 47] Generated Node #0,0: 28:[27, 46, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[27, 46, 47], Operations: ['98-51=47'] Exploring Operation: 47-46=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 28:[27, 1] Operation: 47-46=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[27, 1], Operations: ['98-51=47', '47-46=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[27, 51, 98, 46], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [27, 46, 47] Generated Node #0,0: 28:[27, 46, 47] Operation: 98-51=47 Moving to Node #0,0 Current State: 28:[27, 46, 47], Operations: ['98-51=47'] Exploring Operation: 47-46=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 28:[27, 1] Operation: 47-46=1 Moving to Node #0,0,0 Current State: 28:[27, 1], Operations: ['98-51=47', '47-46=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 44, 63, 4, 60 ]
16
[ "63-44=19", "4*19=76", "76-60=16" ]
Current State: 16:[44, 63, 4, 60], Operations: [] Exploring Operation: 63-44=19, Resulting Numbers: [4, 60, 19] Generated Node #2: [4, 60, 19] from Operation: 63-44=19 Current State: 16:[4, 60, 19], Operations: ['63-44=19'] Exploring Operation: 4*19=76, Resulting Numbers: [60, 76] Generated Node #3: [60, 76] from Operation: 4*19=76 Current State: 16:[60, 76], Operations: ['63-44=19', '4*19=76'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[44, 63, 4, 60], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [63, 4, 16] Generated Node #0,0: 16:[63, 4, 16] Operation: 60-44=16 Exploring Operation: 63-44=19, Resulting Numbers: [4, 60, 19] Generated Node #0,1: 16:[4, 60, 19] Operation: 63-44=19 Exploring Operation: 63-60=3, Resulting Numbers: [44, 4, 3] Generated Node #0,2: 16:[44, 4, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[44, 4, 3], Operations: ['63-60=3'] Exploring Operation: 44-4=40, Resulting Numbers: [3, 40] Generated Node #0,2,0: 16:[3, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 16:[3, 11] Operation: 44/4=11 Exploring Operation: 44-3=41, Resulting Numbers: [4, 41] Generated Node #0,2,2: 16:[4, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[3, 11], Operations: ['63-60=3', '44/4=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[3, 40], Operations: ['63-60=3', '44-4=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,16 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[4, 41], Operations: ['63-60=3', '44-3=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,16 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[63, 4, 16], Operations: ['60-44=16'] Exploring Operation: 63-16=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 16:[4, 47] Operation: 63-16=47 Exploring Operation: 63-4=59, Resulting Numbers: [16, 59] Generated Node #0,0,1: 16:[16, 59] Operation: 63-4=59 Exploring Operation: 16/4=4, Resulting Numbers: [63, 4] Generated Node #0,0,2: 16:[63, 4] Operation: 16/4=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[4, 47], Operations: ['60-44=16', '63-16=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,16 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[16, 59], Operations: ['60-44=16', '63-4=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,16 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[63, 4], Operations: ['60-44=16', '16/4=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,16 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[4, 60, 19], Operations: ['63-44=19'] Exploring Operation: 60-19=41, Resulting Numbers: [4, 41] Generated Node #0,1,0: 16:[4, 41] Operation: 60-19=41 Exploring Operation: 60-4=56, Resulting Numbers: [19, 56] Generated Node #0,1,1: 16:[19, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [19, 15] Generated Node #0,1,2: 16:[19, 15] Operation: 60/4=15 Moving to Node #0,1,2 Current State: 16:[19, 15], Operations: ['63-44=19', '60/4=15'] Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,16 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[4, 41], Operations: ['63-44=19', '60-19=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,16 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[19, 56], Operations: ['63-44=19', '60-4=56'] Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 60, 74, 72, 34 ]
96
[ "60+74=134", "72-34=38", "134-38=96" ]
Current State: 96:[60, 74, 72, 34], Operations: [] Exploring Operation: 60+74=134, Resulting Numbers: [72, 34, 134] Generated Node #2: [72, 34, 134] from Operation: 60+74=134 Current State: 96:[72, 34, 134], Operations: ['60+74=134'] Exploring Operation: 72-34=38, Resulting Numbers: [134, 38] Generated Node #3: [134, 38] from Operation: 72-34=38 Current State: 96:[134, 38], Operations: ['60+74=134', '72-34=38'] Exploring Operation: 134-38=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[60, 74, 72, 34], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [74, 34, 12] Generated Node #0,0: 96:[74, 34, 12] Operation: 72-60=12 Exploring Operation: 74-72=2, Resulting Numbers: [60, 34, 2] Generated Node #0,1: 96:[60, 34, 2] Operation: 74-72=2 Exploring Operation: 74-60=14, Resulting Numbers: [72, 34, 14] Generated Node #0,2: 96:[72, 34, 14] Operation: 74-60=14 Exploring Operation: 72-34=38, Resulting Numbers: [60, 74, 38] Generated Node #0,3: 96:[60, 74, 38] Operation: 72-34=38 Exploring Operation: 74-34=40, Resulting Numbers: [60, 72, 40] Generated Node #0,4: 96:[60, 72, 40] Operation: 74-34=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[60, 34, 2], Operations: ['74-72=2'] Exploring Operation: 60-2=58, Resulting Numbers: [34, 58] Generated Node #0,1,0: 96:[34, 58] Operation: 60-2=58 Exploring Operation: 60-34=26, Resulting Numbers: [2, 26] Generated Node #0,1,1: 96:[2, 26] Operation: 60-34=26 Exploring Operation: 34-2=32, Resulting Numbers: [60, 32] Generated Node #0,1,2: 96:[60, 32] Operation: 34-2=32 Exploring Operation: 60/2=30, Resulting Numbers: [34, 30] Generated Node #0,1,3: 96:[34, 30] Operation: 60/2=30 Exploring Operation: 60+34=94, Resulting Numbers: [2, 94] Generated Node #0,1,4: 96:[2, 94] Operation: 60+34=94 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[2, 26], Operations: ['74-72=2', '60-34=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 96:[2, 94], Operations: ['74-72=2', '60+34=94'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 2*94=188, Resulting Numbers: [188] 188,96 unequal: No Solution Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[60, 74, 72, 34], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [60, 34, 2] Generated Node #0,1: 96:[60, 34, 2] Operation: 74-72=2 Moving to Node #0,1 Current State: 96:[60, 34, 2], Operations: ['74-72=2'] Exploring Operation: 60+34=94, Resulting Numbers: [2, 94] Generated Node #0,1,4: 96:[2, 94] Operation: 60+34=94 Moving to Node #0,1,4 Current State: 96:[2, 94], Operations: ['74-72=2', '60+34=94'] Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 31, 86, 6, 60 ]
51
[ "31+86=117", "6+60=66", "117-66=51" ]
Current State: 51:[31, 86, 6, 60], Operations: [] Exploring Operation: 31+86=117, Resulting Numbers: [6, 60, 117] Generated Node #2: [6, 60, 117] from Operation: 31+86=117 Current State: 51:[6, 60, 117], Operations: ['31+86=117'] Exploring Operation: 6+60=66, Resulting Numbers: [117, 66] Generated Node #3: [117, 66] from Operation: 6+60=66 Current State: 51:[117, 66], Operations: ['31+86=117', '6+60=66'] Exploring Operation: 117-66=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[31, 86, 6, 60], Operations: [] Exploring Operation: 86-31=55, Resulting Numbers: [6, 60, 55] Generated Node #0,0: 51:[6, 60, 55] Operation: 86-31=55 Exploring Operation: 31-6=25, Resulting Numbers: [86, 60, 25] Generated Node #0,1: 51:[86, 60, 25] Operation: 31-6=25 Exploring Operation: 60-31=29, Resulting Numbers: [86, 6, 29] Generated Node #0,2: 51:[86, 6, 29] Operation: 60-31=29 Exploring Operation: 86-60=26, Resulting Numbers: [31, 6, 26] Generated Node #0,3: 51:[31, 6, 26] Operation: 86-60=26 Moving to Node #0,0 Current State: 51:[6, 60, 55], Operations: ['86-31=55'] Exploring Operation: 55-6=49, Resulting Numbers: [60, 49] Generated Node #0,0,0: 51:[60, 49] Operation: 55-6=49 Exploring Operation: 60-55=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 51:[6, 5] Operation: 60-55=5 Exploring Operation: 60/6=10, Resulting Numbers: [55, 10] Generated Node #0,0,2: 51:[55, 10] Operation: 60/6=10 Exploring Operation: 60-6=54, Resulting Numbers: [55, 54] Generated Node #0,0,3: 51:[55, 54] Operation: 60-6=54 Moving to Node #0,3 Current State: 51:[31, 6, 26], Operations: ['86-60=26'] Exploring Operation: 26-6=20, Resulting Numbers: [31, 20] Generated Node #0,3,0: 51:[31, 20] Operation: 26-6=20 Exploring Operation: 31-6=25, Resulting Numbers: [26, 25] Generated Node #0,3,1: 51:[26, 25] Operation: 31-6=25 Exploring Operation: 31+26=57, Resulting Numbers: [6, 57] Generated Node #0,3,2: 51:[6, 57] Operation: 31+26=57 Exploring Operation: 31-26=5, Resulting Numbers: [6, 5] Generated Node #0,3,3: 51:[6, 5] Operation: 31-26=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[6, 5], Operations: ['86-60=26', '31-26=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[6, 57], Operations: ['86-60=26', '31+26=57'] Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,51 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[31, 86, 6, 60], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [31, 6, 26] Generated Node #0,3: 51:[31, 6, 26] Operation: 86-60=26 Moving to Node #0,3 Current State: 51:[31, 6, 26], Operations: ['86-60=26'] Exploring Operation: 31+26=57, Resulting Numbers: [6, 57] Generated Node #0,3,2: 51:[6, 57] Operation: 31+26=57 Moving to Node #0,3,2 Current State: 51:[6, 57], Operations: ['86-60=26', '31+26=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 7, 15, 25, 34 ]
81
[ "7+15=22", "25+34=59", "22+59=81" ]
Current State: 81:[7, 15, 25, 34], Operations: [] Exploring Operation: 7+15=22, Resulting Numbers: [25, 34, 22] Generated Node #2: [25, 34, 22] from Operation: 7+15=22 Current State: 81:[25, 34, 22], Operations: ['7+15=22'] Exploring Operation: 25+34=59, Resulting Numbers: [22, 59] Generated Node #3: [22, 59] from Operation: 25+34=59 Current State: 81:[22, 59], Operations: ['7+15=22', '25+34=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[7, 15, 25, 34], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [25, 34, 8] Generated Node #0,0: 81:[25, 34, 8] Operation: 15-7=8 Exploring Operation: 34-25=9, Resulting Numbers: [7, 15, 9] Generated Node #0,1: 81:[7, 15, 9] Operation: 34-25=9 Exploring Operation: 34-7=27, Resulting Numbers: [15, 25, 27] Generated Node #0,2: 81:[15, 25, 27] Operation: 34-7=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[7, 15, 9], Operations: ['34-25=9'] Exploring Operation: 15-7=8, Resulting Numbers: [9, 8] Generated Node #0,1,0: 81:[9, 8] Operation: 15-7=8 Exploring Operation: 7+15=22, Resulting Numbers: [9, 22] Generated Node #0,1,1: 81:[9, 22] Operation: 7+15=22 Exploring Operation: 15+9=24, Resulting Numbers: [7, 24] Generated Node #0,1,2: 81:[7, 24] Operation: 15+9=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[9, 8], Operations: ['34-25=9', '15-7=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,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,1,1 Current State: 81:[9, 22], Operations: ['34-25=9', '7+15=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,81 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,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,1,2 Current State: 81:[7, 24], Operations: ['34-25=9', '15+9=24'] Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[15, 25, 27], Operations: ['34-7=27'] Exploring Operation: 25-15=10, Resulting Numbers: [27, 10] Generated Node #0,2,0: 81:[27, 10] Operation: 25-15=10 Exploring Operation: 27-25=2, Resulting Numbers: [15, 2] Generated Node #0,2,1: 81:[15, 2] Operation: 27-25=2 Exploring Operation: 27-15=12, Resulting Numbers: [25, 12] Generated Node #0,2,2: 81:[25, 12] Operation: 27-15=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[27, 10], Operations: ['34-7=27', '25-15=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,81 unequal: No Solution Exploring Operation: 27-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,2 Current State: 81:[25, 12], Operations: ['34-7=27', '27-15=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,81 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,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,1 Current State: 81:[15, 2], Operations: ['34-7=27', '27-25=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[25, 34, 8], Operations: ['15-7=8'] Exploring Operation: 34-25=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 81:[8, 9] Operation: 34-25=9 Exploring Operation: 34-8=26, Resulting Numbers: [25, 26] Generated Node #0,0,1: 81:[25, 26] Operation: 34-8=26 Exploring Operation: 25+8=33, Resulting Numbers: [34, 33] Generated Node #0,0,2: 81:[34, 33] Operation: 25+8=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[8, 9], Operations: ['15-7=8', '34-25=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,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,0,1 Current State: 81:[25, 26], Operations: ['15-7=8', '34-8=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,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,0,2 Current State: 81:[34, 33], Operations: ['15-7=8', '25+8=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,81 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,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
[ 22, 31, 4, 36 ]
90
[ "22-4=18", "36-31=5", "18*5=90" ]
Current State: 90:[22, 31, 4, 36], Operations: [] Exploring Operation: 22-4=18, Resulting Numbers: [31, 36, 18] Generated Node #2: [31, 36, 18] from Operation: 22-4=18 Current State: 90:[31, 36, 18], Operations: ['22-4=18'] Exploring Operation: 36-31=5, Resulting Numbers: [18, 5] Generated Node #3: [18, 5] from Operation: 36-31=5 Current State: 90:[18, 5], Operations: ['22-4=18', '36-31=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[22, 31, 4, 36], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [4, 36, 9] Generated Node #0,0: 90:[4, 36, 9] Operation: 31-22=9 Exploring Operation: 36-22=14, Resulting Numbers: [31, 4, 14] Generated Node #0,1: 90:[31, 4, 14] Operation: 36-22=14 Exploring Operation: 36-31=5, Resulting Numbers: [22, 4, 5] Generated Node #0,2: 90:[22, 4, 5] Operation: 36-31=5 Exploring Operation: 36/4=9, Resulting Numbers: [22, 31, 9] Generated Node #0,3: 90:[22, 31, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[31, 4, 14], Operations: ['36-22=14'] Exploring Operation: 31-14=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 90:[4, 17] Operation: 31-14=17 Exploring Operation: 14-4=10, Resulting Numbers: [31, 10] Generated Node #0,1,1: 90:[31, 10] Operation: 14-4=10 Exploring Operation: 31+14=45, Resulting Numbers: [4, 45] Generated Node #0,1,2: 90:[4, 45] Operation: 31+14=45 Exploring Operation: 4+14=18, Resulting Numbers: [31, 18] Generated Node #0,1,3: 90:[31, 18] Operation: 4+14=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[31, 10], Operations: ['36-22=14', '14-4=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,90 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[4, 45], Operations: ['36-22=14', '31+14=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[31, 18], Operations: ['36-22=14', '4+14=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,90 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[4, 17], Operations: ['36-22=14', '31-14=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[22, 4, 5], Operations: ['36-31=5'] Exploring Operation: 22+4=26, Resulting Numbers: [5, 26] Generated Node #0,2,0: 90:[5, 26] Operation: 22+4=26 Exploring Operation: 22-4=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 90:[5, 18] Operation: 22-4=18 Exploring Operation: 22-5=17, Resulting Numbers: [4, 17] Generated Node #0,2,2: 90:[4, 17] Operation: 22-5=17 Exploring Operation: 22*4=88, Resulting Numbers: [5, 88] Generated Node #0,2,3: 90:[5, 88] Operation: 22*4=88 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[5, 18], Operations: ['36-31=5', '22-4=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[22, 31, 4, 36], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [22, 4, 5] Generated Node #0,2: 90:[22, 4, 5] Operation: 36-31=5 Moving to Node #0,2 Current State: 90:[22, 4, 5], Operations: ['36-31=5'] Exploring Operation: 22-4=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 90:[5, 18] Operation: 22-4=18 Moving to Node #0,2,1 Current State: 90:[5, 18], Operations: ['36-31=5', '22-4=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 12, 21, 52, 60 ]
84
[ "12+52=64", "64-60=4", "21*4=84" ]
Current State: 84:[12, 21, 52, 60], Operations: [] Exploring Operation: 12+52=64, Resulting Numbers: [21, 60, 64] Generated Node #2: [21, 60, 64] from Operation: 12+52=64 Current State: 84:[21, 60, 64], Operations: ['12+52=64'] Exploring Operation: 64-60=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 64-60=4 Current State: 84:[21, 4], Operations: ['12+52=64', '64-60=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 21, 52, 60], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [12, 52, 39] Generated Node #0,0: 84:[12, 52, 39] Operation: 60-21=39 Exploring Operation: 21+60=81, Resulting Numbers: [12, 52, 81] Generated Node #0,1: 84:[12, 52, 81] Operation: 21+60=81 Exploring Operation: 60/12=5, Resulting Numbers: [21, 52, 5] Generated Node #0,2: 84:[21, 52, 5] Operation: 60/12=5 Exploring Operation: 60-12=48, Resulting Numbers: [21, 52, 48] Generated Node #0,3: 84:[21, 52, 48] Operation: 60-12=48 Exploring Operation: 60-52=8, Resulting Numbers: [12, 21, 8] Generated Node #0,4: 84:[12, 21, 8] Operation: 60-52=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[12, 21, 8], Operations: ['60-52=8'] Exploring Operation: 12+8=20, Resulting Numbers: [21, 20] Generated Node #0,4,0: 84:[21, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [21, 4] Generated Node #0,4,1: 84:[21, 4] Operation: 12-8=4 Exploring Operation: 21+8=29, Resulting Numbers: [12, 29] Generated Node #0,4,2: 84:[12, 29] Operation: 21+8=29 Exploring Operation: 21-12=9, Resulting Numbers: [8, 9] Generated Node #0,4,3: 84:[8, 9] Operation: 21-12=9 Exploring Operation: 21-8=13, Resulting Numbers: [12, 13] Generated Node #0,4,4: 84:[12, 13] Operation: 21-8=13 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 84:[21, 4], Operations: ['60-52=8', '12-8=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[12, 21, 52, 60], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [12, 21, 8] Generated Node #0,4: 84:[12, 21, 8] Operation: 60-52=8 Moving to Node #0,4 Current State: 84:[12, 21, 8], Operations: ['60-52=8'] Exploring Operation: 12-8=4, Resulting Numbers: [21, 4] Generated Node #0,4,1: 84:[21, 4] Operation: 12-8=4 Moving to Node #0,4,1 Current State: 84:[21, 4], Operations: ['60-52=8', '12-8=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 20, 76, 15, 8 ]
65
[ "76*15=1140", "1140/20=57", "8+57=65" ]
Current State: 65:[20, 76, 15, 8], Operations: [] Exploring Operation: 76*15=1140, Resulting Numbers: [20, 8, 1140] Generated Node #2: [20, 8, 1140] from Operation: 76*15=1140 Current State: 65:[20, 8, 1140], Operations: ['76*15=1140'] Exploring Operation: 1140/20=57, Resulting Numbers: [8, 57] Generated Node #3: [8, 57] from Operation: 1140/20=57 Current State: 65:[8, 57], Operations: ['76*15=1140', '1140/20=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[20, 76, 15, 8], Operations: [] Exploring Operation: 76-15=61, Resulting Numbers: [20, 8, 61] Generated Node #0,0: 65:[20, 8, 61] Operation: 76-15=61 Exploring Operation: 76-8=68, Resulting Numbers: [20, 15, 68] Generated Node #0,1: 65:[20, 15, 68] Operation: 76-8=68 Exploring Operation: 76-20=56, Resulting Numbers: [15, 8, 56] Generated Node #0,2: 65:[15, 8, 56] Operation: 76-20=56 Exploring Operation: 20-15=5, Resulting Numbers: [76, 8, 5] Generated Node #0,3: 65:[76, 8, 5] Operation: 20-15=5 Exploring Operation: 20-8=12, Resulting Numbers: [76, 15, 12] Generated Node #0,4: 65:[76, 15, 12] Operation: 20-8=12 Moving to Node #0,1 Current State: 65:[20, 15, 68], Operations: ['76-8=68'] Exploring Operation: 68-15=53, Resulting Numbers: [20, 53] Generated Node #0,1,0: 65:[20, 53] Operation: 68-15=53 Exploring Operation: 20+68=88, Resulting Numbers: [15, 88] Generated Node #0,1,1: 65:[15, 88] Operation: 20+68=88 Exploring Operation: 68-20=48, Resulting Numbers: [15, 48] Generated Node #0,1,2: 65:[15, 48] Operation: 68-20=48 Exploring Operation: 20+15=35, Resulting Numbers: [68, 35] Generated Node #0,1,3: 65:[68, 35] Operation: 20+15=35 Exploring Operation: 20-15=5, Resulting Numbers: [68, 5] Generated Node #0,1,4: 65:[68, 5] Operation: 20-15=5 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 65:[68, 5], Operations: ['76-8=68', '20-15=5'] Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,65 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[20, 53], Operations: ['76-8=68', '68-15=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,65 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[15, 48], Operations: ['76-8=68', '68-20=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,65 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[15, 88], Operations: ['76-8=68', '20+68=88'] Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,65 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[68, 35], Operations: ['76-8=68', '20+15=35'] Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,65 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,65 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,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:[15, 8, 56], Operations: ['76-20=56'] Exploring Operation: 8+56=64, Resulting Numbers: [15, 64] Generated Node #0,2,0: 65:[15, 64] Operation: 8+56=64 Exploring Operation: 15+8=23, Resulting Numbers: [56, 23] Generated Node #0,2,1: 65:[56, 23] Operation: 15+8=23 Exploring Operation: 56/8=7, Resulting Numbers: [15, 7] Generated Node #0,2,2: 65:[15, 7] Operation: 56/8=7 Exploring Operation: 15+56=71, Resulting Numbers: [8, 71] Generated Node #0,2,3: 65:[8, 71] Operation: 15+56=71 Exploring Operation: 15-8=7, Resulting Numbers: [56, 7] Generated Node #0,2,4: 65:[56, 7] Operation: 15-8=7 Moving to Node #0,4 Current State: 65:[76, 15, 12], Operations: ['20-8=12'] Exploring Operation: 76-12=64, Resulting Numbers: [15, 64] Generated Node #0,4,0: 65:[15, 64] Operation: 76-12=64 Exploring Operation: 15-12=3, Resulting Numbers: [76, 3] Generated Node #0,4,1: 65:[76, 3] Operation: 15-12=3 Exploring Operation: 76-15=61, Resulting Numbers: [12, 61] Generated Node #0,4,2: 65:[12, 61] Operation: 76-15=61 Exploring Operation: 15+12=27, Resulting Numbers: [76, 27] Generated Node #0,4,3: 65:[76, 27] Operation: 15+12=27 Exploring Operation: 76+12=88, Resulting Numbers: [15, 88] Generated Node #0,4,4: 65:[15, 88] Operation: 76+12=88 Moving to Node #0,0 Current State: 65:[20, 8, 61], Operations: ['76-15=61'] Exploring Operation: 20+61=81, Resulting Numbers: [8, 81] Generated Node #0,0,0: 65:[8, 81] Operation: 20+61=81 Exploring Operation: 20+8=28, Resulting Numbers: [61, 28] Generated Node #0,0,1: 65:[61, 28] Operation: 20+8=28 Exploring Operation: 61-8=53, Resulting Numbers: [20, 53] Generated Node #0,0,2: 65:[20, 53] Operation: 61-8=53 Exploring Operation: 20-8=12, Resulting Numbers: [61, 12] Generated Node #0,0,3: 65:[61, 12] Operation: 20-8=12 Exploring Operation: 8+61=69, Resulting Numbers: [20, 69] Generated Node #0,0,4: 65:[20, 69] Operation: 8+61=69 Moving to Node #0,3 Current State: 65:[76, 8, 5], Operations: ['20-15=5'] Exploring Operation: 76-8=68, Resulting Numbers: [5, 68] Generated Node #0,3,0: 65:[5, 68] Operation: 76-8=68 Exploring Operation: 8-5=3, Resulting Numbers: [76, 3] Generated Node #0,3,1: 65:[76, 3] Operation: 8-5=3 Exploring Operation: 76+8=84, Resulting Numbers: [5, 84] Generated Node #0,3,2: 65:[5, 84] Operation: 76+8=84 Exploring Operation: 76-5=71, Resulting Numbers: [8, 71] Generated Node #0,3,3: 65:[8, 71] Operation: 76-5=71 Exploring Operation: 8+5=13, Resulting Numbers: [76, 13] Generated Node #0,3,4: 65:[76, 13] Operation: 8+5=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[5, 68], Operations: ['20-15=5', '76-8=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,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:[8, 71], Operations: ['20-15=5', '76-5=71'] Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,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,4 Current State: 65:[76, 13], Operations: ['20-15=5', '8+5=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,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:[76, 3], Operations: ['20-15=5', '8-5=3'] Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,65 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,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:[5, 84], Operations: ['20-15=5', '76+8=84'] Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,65 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 65:[15, 64], Operations: ['76-20=56', '8+56=64'] Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,65 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[15, 64], Operations: ['20-8=12', '76-12=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,65 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[15, 7], Operations: ['76-20=56', '56/8=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,65 unequal: No Solution Moving to Node #0,4,2 Current State: 65:[12, 61], Operations: ['20-8=12', '76-15=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[61, 12], Operations: ['76-15=61', '20-8=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,65 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[8, 71], Operations: ['76-20=56', '15+56=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,65 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[20, 69], Operations: ['76-15=61', '8+61=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,65 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[56, 7], Operations: ['76-20=56', '15-8=7'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,65 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[76, 3], Operations: ['20-8=12', '15-12=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,65 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[61, 28], Operations: ['76-15=61', '20+8=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[20, 53], Operations: ['76-15=61', '61-8=53'] Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,65 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[56, 23], Operations: ['76-20=56', '15+8=23'] Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,65 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[8, 81], Operations: ['76-15=61', '20+61=81'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[76, 27], Operations: ['20-8=12', '15+12=27'] Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,65 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[15, 88], Operations: ['20-8=12', '76+12=88'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 15*88=1320, Resulting Numbers: [1320] 1320,65 unequal: No Solution Exploring Operation: 15+88=103, Resulting Numbers: [103] 103,65 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 25, 3, 69, 89 ]
91
[ "25+89=114", "69/3=23", "114-23=91" ]
Current State: 91:[25, 3, 69, 89], Operations: [] Exploring Operation: 25+89=114, Resulting Numbers: [3, 69, 114] Generated Node #2: [3, 69, 114] from Operation: 25+89=114 Current State: 91:[3, 69, 114], Operations: ['25+89=114'] Exploring Operation: 69/3=23, Resulting Numbers: [114, 23] Generated Node #3: [114, 23] from Operation: 69/3=23 Current State: 91:[114, 23], Operations: ['25+89=114', '69/3=23'] Exploring Operation: 114-23=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[25, 3, 69, 89], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [25, 3, 20] Generated Node #0,0: 91:[25, 3, 20] Operation: 89-69=20 Exploring Operation: 69/3=23, Resulting Numbers: [25, 89, 23] Generated Node #0,1: 91:[25, 89, 23] Operation: 69/3=23 Exploring Operation: 25+69=94, Resulting Numbers: [3, 89, 94] Generated Node #0,2: 91:[3, 89, 94] Operation: 25+69=94 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[3, 89, 94], Operations: ['25+69=94'] Exploring Operation: 94-89=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 91:[3, 5] Operation: 94-89=5 Exploring Operation: 94-3=91, Resulting Numbers: [89, 91] Generated Node #0,2,1: 91:[89, 91] Operation: 94-3=91 Exploring Operation: 3+89=92, Resulting Numbers: [94, 92] Generated Node #0,2,2: 91:[94, 92] Operation: 3+89=92 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[89, 91], Operations: ['25+69=94', '94-3=91'] Exploring Operation: 89*91=8099, Resulting Numbers: [8099] 8099,91 unequal: No Solution Exploring Operation: 91-89=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 89+91=180, Resulting Numbers: [180] 180,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[94, 92], Operations: ['25+69=94', '3+89=92'] Exploring Operation: 94*92=8648, Resulting Numbers: [8648] 8648,91 unequal: No Solution Exploring Operation: 94+92=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[3, 5], Operations: ['25+69=94', '94-89=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[25, 3, 20], Operations: ['89-69=20'] Exploring Operation: 25-20=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 91:[3, 5] Operation: 25-20=5 Exploring Operation: 20-3=17, Resulting Numbers: [25, 17] Generated Node #0,0,1: 91:[25, 17] Operation: 20-3=17 Exploring Operation: 25-3=22, Resulting Numbers: [20, 22] Generated Node #0,0,2: 91:[20, 22] Operation: 25-3=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[3, 5], Operations: ['89-69=20', '25-20=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[25, 17], Operations: ['89-69=20', '20-3=17'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,91 unequal: No Solution Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[20, 22], Operations: ['89-69=20', '25-3=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,91 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[25, 89, 23], Operations: ['69/3=23'] Exploring Operation: 89+23=112, Resulting Numbers: [25, 112] Generated Node #0,1,0: 91:[25, 112] Operation: 89+23=112 Exploring Operation: 25-23=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 25-23=2 Exploring Operation: 25+89=114, Resulting Numbers: [23, 114] Generated Node #0,1,2: 91:[23, 114] Operation: 25+89=114 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['69/3=23', '25-23=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,91 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[25, 3, 69, 89], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [25, 89, 23] Generated Node #0,1: 91:[25, 89, 23] Operation: 69/3=23 Moving to Node #0,1 Current State: 91:[25, 89, 23], Operations: ['69/3=23'] Exploring Operation: 25-23=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 91:[89, 2] Operation: 25-23=2 Moving to Node #0,1,1 Current State: 91:[89, 2], Operations: ['69/3=23', '25-23=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic