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
[ 33, 51, 3, 16 ]
70
[ "51-33=18", "3*18=54", "16+54=70" ]
Current State: 70:[33, 51, 3, 16], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [3, 16, 18] Generated Node #2: [3, 16, 18] from Operation: 51-33=18 Current State: 70:[3, 16, 18], Operations: ['51-33=18'] Exploring Operation: 3*18=54, Resulting Numbers: [16, 54] Generated Node #3: [16, 54] from Operation: 3*18=54 Current State: 70:[16, 54], Operations: ['51-33=18', '3*18=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[33, 51, 3, 16], Operations: [] Exploring Operation: 51-16=35, Resulting Numbers: [33, 3, 35] Generated Node #0,0: 70:[33, 3, 35] Operation: 51-16=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[33, 3, 35], Operations: ['51-16=35'] Exploring Operation: 33+3=36, Resulting Numbers: [35, 36] Generated Node #0,0,0: 70:[35, 36] Operation: 33+3=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[35, 36], Operations: ['51-16=35', '33+3=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 13, 28, 42 ]
60
[ "33+13=46", "42-28=14", "46+14=60" ]
Current State: 60:[33, 13, 28, 42], Operations: [] Exploring Operation: 33+13=46, Resulting Numbers: [28, 42, 46] Generated Node #2: [28, 42, 46] from Operation: 33+13=46 Current State: 60:[28, 42, 46], Operations: ['33+13=46'] Exploring Operation: 42-28=14, Resulting Numbers: [46, 14] Generated Node #3: [46, 14] from Operation: 42-28=14 Current State: 60:[46, 14], Operations: ['33+13=46', '42-28=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[33, 13, 28, 42], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [13, 28, 9] Generated Node #0,0: 60:[13, 28, 9] Operation: 42-33=9 Moving to Node #0,0 Current State: 60:[13, 28, 9], Operations: ['42-33=9'] Exploring Operation: 28-13=15, Resulting Numbers: [9, 15] Generated Node #0,0,0: 60:[9, 15] Operation: 28-13=15 Moving to Node #0,0,0 Current State: 60:[9, 15], Operations: ['42-33=9', '28-13=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 65, 32, 81, 34 ]
73
[ "65+81=146", "34-32=2", "146/2=73" ]
Current State: 73:[65, 32, 81, 34], Operations: [] Exploring Operation: 65+81=146, Resulting Numbers: [32, 34, 146] Generated Node #2: [32, 34, 146] from Operation: 65+81=146 Current State: 73:[32, 34, 146], Operations: ['65+81=146'] Exploring Operation: 34-32=2, Resulting Numbers: [146, 2] Generated Node #3: [146, 2] from Operation: 34-32=2 Current State: 73:[146, 2], Operations: ['65+81=146', '34-32=2'] Exploring Operation: 146/2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[65, 32, 81, 34], Operations: [] Exploring Operation: 32+34=66, Resulting Numbers: [65, 81, 66] Generated Node #0,0: 73:[65, 81, 66] Operation: 32+34=66 Exploring Operation: 81-32=49, Resulting Numbers: [65, 34, 49] Generated Node #0,1: 73:[65, 34, 49] Operation: 81-32=49 Exploring Operation: 65+32=97, Resulting Numbers: [81, 34, 97] Generated Node #0,2: 73:[81, 34, 97] Operation: 65+32=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[65, 81, 66], Operations: ['32+34=66'] Exploring Operation: 81-66=15, Resulting Numbers: [65, 15] Generated Node #0,0,0: 73:[65, 15] Operation: 81-66=15 Exploring Operation: 81-65=16, Resulting Numbers: [66, 16] Generated Node #0,0,1: 73:[66, 16] Operation: 81-65=16 Exploring Operation: 65+66=131, Resulting Numbers: [81, 131] Generated Node #0,0,2: 73:[81, 131] Operation: 65+66=131 Moving to Node #0,0,1 Current State: 73:[66, 16], Operations: ['32+34=66', '81-65=16'] Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,73 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[65, 15], Operations: ['32+34=66', '81-66=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,73 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[81, 131], Operations: ['32+34=66', '65+66=131'] Exploring Operation: 81*131=10611, Resulting Numbers: [10611] 10611,73 unequal: No Solution Exploring Operation: 81+131=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[65, 34, 49], Operations: ['81-32=49'] Exploring Operation: 65-34=31, Resulting Numbers: [49, 31] Generated Node #0,1,0: 73:[49, 31] Operation: 65-34=31 Exploring Operation: 65+34=99, Resulting Numbers: [49, 99] Generated Node #0,1,1: 73:[49, 99] Operation: 65+34=99 Exploring Operation: 34+49=83, Resulting Numbers: [65, 83] Generated Node #0,1,2: 73:[65, 83] Operation: 34+49=83 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[65, 83], Operations: ['81-32=49', '34+49=83'] Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,73 unequal: No Solution Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[49, 99], Operations: ['81-32=49', '65+34=99'] Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 49*99=4851, Resulting Numbers: [4851] 4851,73 unequal: No Solution Exploring Operation: 49+99=148, Resulting Numbers: [148] 148,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[49, 31], Operations: ['81-32=49', '65-34=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,73 unequal: No Solution Exploring Operation: 49*31=1519, Resulting Numbers: [1519] 1519,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,2 Current State: 73:[81, 34, 97], Operations: ['65+32=97'] Exploring Operation: 81-34=47, Resulting Numbers: [97, 47] Generated Node #0,2,0: 73:[97, 47] Operation: 81-34=47 Exploring Operation: 97-34=63, Resulting Numbers: [81, 63] Generated Node #0,2,1: 73:[81, 63] Operation: 97-34=63 Exploring Operation: 81+34=115, Resulting Numbers: [97, 115] Generated Node #0,2,2: 73:[97, 115] Operation: 81+34=115 Moving to Node #0,2,1 Current State: 73:[81, 63], Operations: ['65+32=97', '97-34=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,73 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[97, 47], Operations: ['65+32=97', '81-34=47'] Exploring Operation: 97+47=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,73 unequal: No Solution Exploring Operation: 97*47=4559, Resulting Numbers: [4559] 4559,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[97, 115], Operations: ['65+32=97', '81+34=115'] Exploring Operation: 97*115=11155, Resulting Numbers: [11155] 11155,73 unequal: No Solution Exploring Operation: 97+115=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 115-97=18, Resulting Numbers: [18] 18,73 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
[ 6, 16, 5, 79 ]
94
[ "16-6=10", "5+79=84", "10+84=94" ]
Current State: 94:[6, 16, 5, 79], Operations: [] Exploring Operation: 16-6=10, Resulting Numbers: [5, 79, 10] Generated Node #2: [5, 79, 10] from Operation: 16-6=10 Current State: 94:[5, 79, 10], Operations: ['16-6=10'] Exploring Operation: 5+79=84, Resulting Numbers: [10, 84] Generated Node #3: [10, 84] from Operation: 5+79=84 Current State: 94:[10, 84], Operations: ['16-6=10', '5+79=84'] Exploring Operation: 10+84=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[6, 16, 5, 79], Operations: [] Exploring Operation: 16+79=95, Resulting Numbers: [6, 5, 95] Generated Node #0,0: 94:[6, 5, 95] Operation: 16+79=95 Moving to Node #0,0 Current State: 94:[6, 5, 95], Operations: ['16+79=95'] Exploring Operation: 6-5=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 94:[95, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 94:[95, 1], Operations: ['16+79=95', '6-5=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[6, 16, 5, 79], Operations: [] Exploring Operation: 16+79=95, Resulting Numbers: [6, 5, 95] Generated Node #0,0: 94:[6, 5, 95] Operation: 16+79=95 Moving to Node #0,0 Current State: 94:[6, 5, 95], Operations: ['16+79=95'] Exploring Operation: 6-5=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 94:[95, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 94:[95, 1], Operations: ['16+79=95', '6-5=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 77, 79, 21, 63 ]
84
[ "79-77=2", "63-21=42", "2*42=84" ]
Current State: 84:[77, 79, 21, 63], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [21, 63, 2] Generated Node #2: [21, 63, 2] from Operation: 79-77=2 Current State: 84:[21, 63, 2], Operations: ['79-77=2'] Exploring Operation: 63-21=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 63-21=42 Current State: 84:[2, 42], Operations: ['79-77=2', '63-21=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[77, 79, 21, 63], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [79, 21, 14] Generated Node #0,0: 84:[79, 21, 14] Operation: 77-63=14 Exploring Operation: 79-63=16, Resulting Numbers: [77, 21, 16] Generated Node #0,1: 84:[77, 21, 16] Operation: 79-63=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[79, 21, 14], Operations: ['77-63=14'] Exploring Operation: 79+14=93, Resulting Numbers: [21, 93] Generated Node #0,0,0: 84:[21, 93] Operation: 79+14=93 Exploring Operation: 21-14=7, Resulting Numbers: [79, 7] Generated Node #0,0,1: 84:[79, 7] Operation: 21-14=7 Moving to Node #0,0,1 Current State: 84:[79, 7], Operations: ['77-63=14', '21-14=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[21, 93], Operations: ['77-63=14', '79+14=93'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[77, 21, 16], Operations: ['79-63=16'] Exploring Operation: 21-16=5, Resulting Numbers: [77, 5] Generated Node #0,1,0: 84:[77, 5] Operation: 21-16=5 Exploring Operation: 77+16=93, Resulting Numbers: [21, 93] Generated Node #0,1,1: 84:[21, 93] Operation: 77+16=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[77, 5], Operations: ['79-63=16', '21-16=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,84 unequal: No Solution No 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: 84:[21, 93], Operations: ['79-63=16', '77+16=93'] Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,84 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 83, 68, 69 ]
94
[ "10+83=93", "69-68=1", "93+1=94" ]
Current State: 94:[10, 83, 68, 69], Operations: [] Exploring Operation: 10+83=93, Resulting Numbers: [68, 69, 93] Generated Node #2: [68, 69, 93] from Operation: 10+83=93 Current State: 94:[68, 69, 93], Operations: ['10+83=93'] Exploring Operation: 69-68=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 69-68=1 Current State: 94:[93, 1], Operations: ['10+83=93', '69-68=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[10, 83, 68, 69], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [10, 69, 15] Generated Node #0,0: 94:[10, 69, 15] Operation: 83-68=15 Exploring Operation: 10+83=93, Resulting Numbers: [68, 69, 93] Generated Node #0,1: 94:[68, 69, 93] Operation: 10+83=93 Exploring Operation: 69-68=1, Resulting Numbers: [10, 83, 1] Generated Node #0,2: 94:[10, 83, 1] Operation: 69-68=1 Exploring Operation: 83-69=14, Resulting Numbers: [10, 68, 14] Generated Node #0,3: 94:[10, 68, 14] Operation: 83-69=14 Moving to Node #0,2 Current State: 94:[10, 83, 1], Operations: ['69-68=1'] Exploring Operation: 83+1=84, Resulting Numbers: [10, 84] Generated Node #0,2,0: 94:[10, 84] Operation: 83+1=84 Exploring Operation: 10-1=9, Resulting Numbers: [83, 9] Generated Node #0,2,1: 94:[83, 9] Operation: 10-1=9 Exploring Operation: 10*1=10, Resulting Numbers: [83, 10] Generated Node #0,2,2: 94:[83, 10] Operation: 10*1=10 Exploring Operation: 10+83=93, Resulting Numbers: [1, 93] Generated Node #0,2,3: 94:[1, 93] Operation: 10+83=93 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[1, 93], Operations: ['69-68=1', '10+83=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[10, 83, 68, 69], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [10, 83, 1] Generated Node #0,2: 94:[10, 83, 1] Operation: 69-68=1 Moving to Node #0,2 Current State: 94:[10, 83, 1], Operations: ['69-68=1'] Exploring Operation: 10+83=93, Resulting Numbers: [1, 93] Generated Node #0,2,3: 94:[1, 93] Operation: 10+83=93 Moving to Node #0,2,3 Current State: 94:[1, 93], Operations: ['69-68=1', '10+83=93'] Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 23, 92, 64, 21 ]
72
[ "23+92=115", "64-21=43", "115-43=72" ]
Current State: 72:[23, 92, 64, 21], Operations: [] Exploring Operation: 23+92=115, Resulting Numbers: [64, 21, 115] Generated Node #2: [64, 21, 115] from Operation: 23+92=115 Current State: 72:[64, 21, 115], Operations: ['23+92=115'] Exploring Operation: 64-21=43, Resulting Numbers: [115, 43] Generated Node #3: [115, 43] from Operation: 64-21=43 Current State: 72:[115, 43], Operations: ['23+92=115', '64-21=43'] Exploring Operation: 115-43=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[23, 92, 64, 21], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [23, 64, 71] Generated Node #0,0: 72:[23, 64, 71] Operation: 92-21=71 Exploring Operation: 92-64=28, Resulting Numbers: [23, 21, 28] Generated Node #0,1: 72:[23, 21, 28] Operation: 92-64=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[23, 21, 28], Operations: ['92-64=28'] Exploring Operation: 28-21=7, Resulting Numbers: [23, 7] Generated Node #0,1,0: 72:[23, 7] Operation: 28-21=7 Exploring Operation: 23-21=2, Resulting Numbers: [28, 2] Generated Node #0,1,1: 72:[28, 2] Operation: 23-21=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[23, 7], Operations: ['92-64=28', '28-21=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[28, 2], Operations: ['92-64=28', '23-21=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[23, 64, 71], Operations: ['92-21=71'] Exploring Operation: 71-64=7, Resulting Numbers: [23, 7] Generated Node #0,0,0: 72:[23, 7] Operation: 71-64=7 Exploring Operation: 64-23=41, Resulting Numbers: [71, 41] Generated Node #0,0,1: 72:[71, 41] Operation: 64-23=41 Moving to Node #0,0,0 Current State: 72:[23, 7], Operations: ['92-21=71', '71-64=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[71, 41], Operations: ['92-21=71', '64-23=41'] Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,72 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 52, 18, 84 ]
56
[ "3+18=21", "84/21=4", "52+4=56" ]
Current State: 56:[3, 52, 18, 84], Operations: [] Exploring Operation: 3+18=21, Resulting Numbers: [52, 84, 21] Generated Node #2: [52, 84, 21] from Operation: 3+18=21 Current State: 56:[52, 84, 21], Operations: ['3+18=21'] Exploring Operation: 84/21=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 84/21=4 Current State: 56:[52, 4], Operations: ['3+18=21', '84/21=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 52, 18, 84], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [52, 18, 28] Generated Node #0,0: 56:[52, 18, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[52, 18, 28], Operations: ['84/3=28'] Exploring Operation: 52-18=34, Resulting Numbers: [28, 34] Generated Node #0,0,0: 56:[28, 34] Operation: 52-18=34 Moving to Node #0,0,0 Current State: 56:[28, 34], Operations: ['84/3=28', '52-18=34'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,56 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
[ 90, 86, 24, 5 ]
24
[ "90-86=4", "5-4=1", "24*1=24" ]
Current State: 24:[90, 86, 24, 5], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [24, 5, 4] Generated Node #2: [24, 5, 4] from Operation: 90-86=4 Current State: 24:[24, 5, 4], Operations: ['90-86=4'] Exploring Operation: 5-4=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 5-4=1 Current State: 24:[24, 1], Operations: ['90-86=4', '5-4=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 86, 24, 5], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [24, 5, 4] Generated Node #0,0: 24:[24, 5, 4] Operation: 90-86=4 Exploring Operation: 90-24=66, Resulting Numbers: [86, 5, 66] Generated Node #0,1: 24:[86, 5, 66] Operation: 90-24=66 Exploring Operation: 90/5=18, Resulting Numbers: [86, 24, 18] Generated Node #0,2: 24:[86, 24, 18] Operation: 90/5=18 Moving to Node #0,0 Current State: 24:[24, 5, 4], Operations: ['90-86=4'] Exploring Operation: 5+4=9, Resulting Numbers: [24, 9] Generated Node #0,0,0: 24:[24, 9] Operation: 5+4=9 Exploring Operation: 5-4=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 24:[24, 1] Operation: 5-4=1 Exploring Operation: 24/4=6, Resulting Numbers: [5, 6] Generated Node #0,0,2: 24:[5, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[24, 9], Operations: ['90-86=4', '5+4=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,24 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[24, 1], Operations: ['90-86=4', '5-4=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[90, 86, 24, 5], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [24, 5, 4] Generated Node #0,0: 24:[24, 5, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 24:[24, 5, 4], Operations: ['90-86=4'] Exploring Operation: 5-4=1, Resulting Numbers: [24, 1] Generated Node #0,0,1: 24:[24, 1] Operation: 5-4=1 Moving to Node #0,0,1 Current State: 24:[24, 1], Operations: ['90-86=4', '5-4=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 15, 17, 95, 19 ]
38
[ "17-15=2", "95-19=76", "76/2=38" ]
Current State: 38:[15, 17, 95, 19], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [95, 19, 2] Generated Node #2: [95, 19, 2] from Operation: 17-15=2 Current State: 38:[95, 19, 2], Operations: ['17-15=2'] Exploring Operation: 95-19=76, Resulting Numbers: [2, 76] Generated Node #3: [2, 76] from Operation: 95-19=76 Current State: 38:[2, 76], Operations: ['17-15=2', '95-19=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[15, 17, 95, 19], Operations: [] Exploring Operation: 95-19=76, Resulting Numbers: [15, 17, 76] Generated Node #0,0: 38:[15, 17, 76] Operation: 95-19=76 Exploring Operation: 95-17=78, Resulting Numbers: [15, 19, 78] Generated Node #0,1: 38:[15, 19, 78] Operation: 95-17=78 Exploring Operation: 95-15=80, Resulting Numbers: [17, 19, 80] Generated Node #0,2: 38:[17, 19, 80] Operation: 95-15=80 Exploring Operation: 95/19=5, Resulting Numbers: [15, 17, 5] Generated Node #0,3: 38:[15, 17, 5] Operation: 95/19=5 Moving to Node #0,3 Current State: 38:[15, 17, 5], Operations: ['95/19=5'] Exploring Operation: 17+5=22, Resulting Numbers: [15, 22] Generated Node #0,3,0: 38:[15, 22] Operation: 17+5=22 Exploring Operation: 17-15=2, Resulting Numbers: [5, 2] Generated Node #0,3,1: 38:[5, 2] Operation: 17-15=2 Exploring Operation: 15+5=20, Resulting Numbers: [17, 20] Generated Node #0,3,2: 38:[17, 20] Operation: 15+5=20 Exploring Operation: 15/5=3, Resulting Numbers: [17, 3] Generated Node #0,3,3: 38:[17, 3] Operation: 15/5=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[5, 2], Operations: ['95/19=5', '17-15=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[17, 20], Operations: ['95/19=5', '15+5=20'] Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[17, 3], Operations: ['95/19=5', '15/5=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[15, 22], Operations: ['95/19=5', '17+5=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,38 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,38 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: 38:[15, 19, 78], Operations: ['95-17=78'] Exploring Operation: 78-19=59, Resulting Numbers: [15, 59] Generated Node #0,1,0: 38:[15, 59] Operation: 78-19=59 Exploring Operation: 78-15=63, Resulting Numbers: [19, 63] Generated Node #0,1,1: 38:[19, 63] Operation: 78-15=63 Exploring Operation: 19-15=4, Resulting Numbers: [78, 4] Generated Node #0,1,2: 38:[78, 4] Operation: 19-15=4 Exploring Operation: 15+19=34, Resulting Numbers: [78, 34] Generated Node #0,1,3: 38:[78, 34] Operation: 15+19=34 Moving to Node #0,0 Current State: 38:[15, 17, 76], Operations: ['95-19=76'] Exploring Operation: 76-15=61, Resulting Numbers: [17, 61] Generated Node #0,0,0: 38:[17, 61] Operation: 76-15=61 Exploring Operation: 15+17=32, Resulting Numbers: [76, 32] Generated Node #0,0,1: 38:[76, 32] Operation: 15+17=32 Exploring Operation: 17-15=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 38:[76, 2] Operation: 17-15=2 Exploring Operation: 76-17=59, Resulting Numbers: [15, 59] Generated Node #0,0,3: 38:[15, 59] Operation: 76-17=59 Moving to Node #0,2 Current State: 38:[17, 19, 80], Operations: ['95-15=80'] Exploring Operation: 17+19=36, Resulting Numbers: [80, 36] Generated Node #0,2,0: 38:[80, 36] Operation: 17+19=36 Exploring Operation: 80-19=61, Resulting Numbers: [17, 61] Generated Node #0,2,1: 38:[17, 61] Operation: 80-19=61 Exploring Operation: 80-17=63, Resulting Numbers: [19, 63] Generated Node #0,2,2: 38:[19, 63] Operation: 80-17=63 Exploring Operation: 19-17=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 38:[80, 2] Operation: 19-17=2 Moving to Node #0,1,0 Current State: 38:[15, 59], Operations: ['95-17=78', '78-19=59'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,38 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[15, 59], Operations: ['95-19=76', '76-17=59'] Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,38 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[19, 63], Operations: ['95-17=78', '78-15=63'] Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,38 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[17, 61], Operations: ['95-19=76', '76-15=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,38 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[19, 63], Operations: ['95-15=80', '80-17=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,38 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[17, 61], Operations: ['95-15=80', '80-19=61'] Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,38 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[76, 2], Operations: ['95-19=76', '17-15=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[15, 17, 95, 19], Operations: [] Exploring Operation: 95-19=76, Resulting Numbers: [15, 17, 76] Generated Node #0,0: 38:[15, 17, 76] Operation: 95-19=76 Moving to Node #0,0 Current State: 38:[15, 17, 76], Operations: ['95-19=76'] Exploring Operation: 17-15=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 38:[76, 2] Operation: 17-15=2 Moving to Node #0,0,2 Current State: 38:[76, 2], Operations: ['95-19=76', '17-15=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.952257
hs_4
sum_heuristic
[ 21, 67, 31, 3 ]
45
[ "67-21=46", "46-31=15", "3*15=45" ]
Current State: 45:[21, 67, 31, 3], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [31, 3, 46] Generated Node #2: [31, 3, 46] from Operation: 67-21=46 Current State: 45:[31, 3, 46], Operations: ['67-21=46'] Exploring Operation: 46-31=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 46-31=15 Current State: 45:[3, 15], Operations: ['67-21=46', '46-31=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[21, 67, 31, 3], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [31, 3, 46] Generated Node #0,0: 45:[31, 3, 46] Operation: 67-21=46 Moving to Node #0,0 Current State: 45:[31, 3, 46], Operations: ['67-21=46'] Exploring Operation: 46-31=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 45:[3, 15] Operation: 46-31=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[3, 15], Operations: ['67-21=46', '46-31=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[21, 67, 31, 3], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [31, 3, 46] Generated Node #0,0: 45:[31, 3, 46] Operation: 67-21=46 Moving to Node #0,0 Current State: 45:[31, 3, 46], Operations: ['67-21=46'] Exploring Operation: 46-31=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 45:[3, 15] Operation: 46-31=15 Moving to Node #0,0,0 Current State: 45:[3, 15], Operations: ['67-21=46', '46-31=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 89, 62, 2, 59 ]
43
[ "89-62=27", "59+27=86", "86/2=43" ]
Current State: 43:[89, 62, 2, 59], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [2, 59, 27] Generated Node #2: [2, 59, 27] from Operation: 89-62=27 Current State: 43:[2, 59, 27], Operations: ['89-62=27'] Exploring Operation: 59+27=86, Resulting Numbers: [2, 86] Generated Node #3: [2, 86] from Operation: 59+27=86 Current State: 43:[2, 86], Operations: ['89-62=27', '59+27=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[89, 62, 2, 59], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [2, 59, 27] Generated Node #0,0: 43:[2, 59, 27] Operation: 89-62=27 Exploring Operation: 89-59=30, Resulting Numbers: [62, 2, 30] Generated Node #0,1: 43:[62, 2, 30] Operation: 89-59=30 Exploring Operation: 62/2=31, Resulting Numbers: [89, 59, 31] Generated Node #0,2: 43:[89, 59, 31] Operation: 62/2=31 Moving to Node #0,0 Current State: 43:[2, 59, 27], Operations: ['89-62=27'] Exploring Operation: 2*27=54, Resulting Numbers: [59, 54] Generated Node #0,0,0: 43:[59, 54] Operation: 2*27=54 Exploring Operation: 2+27=29, Resulting Numbers: [59, 29] Generated Node #0,0,1: 43:[59, 29] Operation: 2+27=29 Exploring Operation: 59-2=57, Resulting Numbers: [27, 57] Generated Node #0,0,2: 43:[27, 57] Operation: 59-2=57 Moving to Node #0,1 Current State: 43:[62, 2, 30], Operations: ['89-59=30'] Exploring Operation: 2+30=32, Resulting Numbers: [62, 32] Generated Node #0,1,0: 43:[62, 32] Operation: 2+30=32 Exploring Operation: 62/2=31, Resulting Numbers: [30, 31] Generated Node #0,1,1: 43:[30, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [30, 60] Generated Node #0,1,2: 43:[30, 60] Operation: 62-2=60 Moving to Node #0,2 Current State: 43:[89, 59, 31], Operations: ['62/2=31'] Exploring Operation: 89-59=30, Resulting Numbers: [31, 30] Generated Node #0,2,0: 43:[31, 30] Operation: 89-59=30 Exploring Operation: 59-31=28, Resulting Numbers: [89, 28] Generated Node #0,2,1: 43:[89, 28] Operation: 59-31=28 Exploring Operation: 89-31=58, Resulting Numbers: [59, 58] Generated Node #0,2,2: 43:[59, 58] Operation: 89-31=58 Moving to Node #0,1,1 Current State: 43:[30, 31], Operations: ['89-59=30', '62/2=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,43 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[31, 30], Operations: ['62/2=31', '89-59=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[59, 54], Operations: ['89-62=27', '2*27=54'] Exploring Operation: 59*54=3186, Resulting Numbers: [3186] 3186,43 unequal: No Solution Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[27, 57], Operations: ['89-62=27', '59-2=57'] Exploring Operation: 27*57=1539, Resulting Numbers: [1539] 1539,43 unequal: No Solution Exploring Operation: 27+57=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[30, 60], Operations: ['89-59=30', '62-2=60'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,43 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[62, 32], Operations: ['89-59=30', '2+30=32'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[59, 29], Operations: ['89-62=27', '2+27=29'] Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 59*29=1711, Resulting Numbers: [1711] 1711,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[59, 58], Operations: ['62/2=31', '89-31=58'] Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,43 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[89, 28], Operations: ['62/2=31', '59-31=28'] Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,43 unequal: No Solution Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 82, 54, 37, 41 ]
71
[ "82*54=4428", "4428/41=108", "108-37=71" ]
Current State: 71:[82, 54, 37, 41], Operations: [] Exploring Operation: 82*54=4428, Resulting Numbers: [37, 41, 4428] Generated Node #2: [37, 41, 4428] from Operation: 82*54=4428 Current State: 71:[37, 41, 4428], Operations: ['82*54=4428'] Exploring Operation: 4428/41=108, Resulting Numbers: [37, 108] Generated Node #3: [37, 108] from Operation: 4428/41=108 Current State: 71:[37, 108], Operations: ['82*54=4428', '4428/41=108'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[82, 54, 37, 41], Operations: [] Exploring Operation: 54+37=91, Resulting Numbers: [82, 41, 91] Generated Node #0,0: 71:[82, 41, 91] Operation: 54+37=91 Exploring Operation: 82-37=45, Resulting Numbers: [54, 41, 45] Generated Node #0,1: 71:[54, 41, 45] Operation: 82-37=45 Exploring Operation: 54+41=95, Resulting Numbers: [82, 37, 95] Generated Node #0,2: 71:[82, 37, 95] Operation: 54+41=95 Exploring Operation: 37+41=78, Resulting Numbers: [82, 54, 78] Generated Node #0,3: 71:[82, 54, 78] Operation: 37+41=78 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[82, 54, 78], Operations: ['37+41=78'] Exploring Operation: 82-54=28, Resulting Numbers: [78, 28] Generated Node #0,3,0: 71:[78, 28] Operation: 82-54=28 Exploring Operation: 78-54=24, Resulting Numbers: [82, 24] Generated Node #0,3,1: 71:[82, 24] Operation: 78-54=24 Exploring Operation: 82+54=136, Resulting Numbers: [78, 136] Generated Node #0,3,2: 71:[78, 136] Operation: 82+54=136 Exploring Operation: 54+78=132, Resulting Numbers: [82, 132] Generated Node #0,3,3: 71:[82, 132] Operation: 54+78=132 Moving to Node #0,3,0 Current State: 71:[78, 28], Operations: ['37+41=78', '82-54=28'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,71 unequal: No Solution Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[82, 24], Operations: ['37+41=78', '78-54=24'] Exploring Operation: 82*24=1968, Resulting Numbers: [1968] 1968,71 unequal: No Solution Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[82, 132], Operations: ['37+41=78', '54+78=132'] Exploring Operation: 132-82=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 82+132=214, Resulting Numbers: [214] 214,71 unequal: No Solution Exploring Operation: 82*132=10824, Resulting Numbers: [10824] 10824,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[78, 136], Operations: ['37+41=78', '82+54=136'] Exploring Operation: 78*136=10608, Resulting Numbers: [10608] 10608,71 unequal: No Solution Exploring Operation: 136-78=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 78+136=214, Resulting Numbers: [214] 214,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[82, 41, 91], Operations: ['54+37=91'] Exploring Operation: 91-41=50, Resulting Numbers: [82, 50] Generated Node #0,0,0: 71:[82, 50] Operation: 91-41=50 Exploring Operation: 82-41=41, Resulting Numbers: [91, 41] Generated Node #0,0,1: 71:[91, 41] Operation: 82-41=41 Exploring Operation: 82+41=123, Resulting Numbers: [91, 123] Generated Node #0,0,2: 71:[91, 123] Operation: 82+41=123 Exploring Operation: 41+91=132, Resulting Numbers: [82, 132] Generated Node #0,0,3: 71:[82, 132] Operation: 41+91=132 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[82, 50], Operations: ['54+37=91', '91-41=50'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[91, 41], Operations: ['54+37=91', '82-41=41'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 91*41=3731, Resulting Numbers: [3731] 3731,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[91, 123], Operations: ['54+37=91', '82+41=123'] Exploring Operation: 123-91=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 91*123=11193, Resulting Numbers: [11193] 11193,71 unequal: No Solution Exploring Operation: 91+123=214, Resulting Numbers: [214] 214,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[82, 132], Operations: ['54+37=91', '41+91=132'] Exploring Operation: 132-82=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 82*132=10824, Resulting Numbers: [10824] 10824,71 unequal: No Solution Exploring Operation: 82+132=214, Resulting Numbers: [214] 214,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[82, 37, 95], Operations: ['54+41=95'] Exploring Operation: 82+37=119, Resulting Numbers: [95, 119] Generated Node #0,2,0: 71:[95, 119] Operation: 82+37=119 Exploring Operation: 82-37=45, Resulting Numbers: [95, 45] Generated Node #0,2,1: 71:[95, 45] Operation: 82-37=45 Exploring Operation: 37+95=132, Resulting Numbers: [82, 132] Generated Node #0,2,2: 71:[82, 132] Operation: 37+95=132 Exploring Operation: 95-37=58, Resulting Numbers: [82, 58] Generated Node #0,2,3: 71:[82, 58] Operation: 95-37=58 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[82, 58], Operations: ['54+41=95', '95-37=58'] Exploring Operation: 82+58=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 82*58=4756, Resulting Numbers: [4756] 4756,71 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[95, 45], Operations: ['54+41=95', '82-37=45'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 95*45=4275, Resulting Numbers: [4275] 4275,71 unequal: No Solution Exploring Operation: 95+45=140, Resulting Numbers: [140] 140,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[95, 119], Operations: ['54+41=95', '82+37=119'] Exploring Operation: 119-95=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 95+119=214, Resulting Numbers: [214] 214,71 unequal: No Solution Exploring Operation: 95*119=11305, Resulting Numbers: [11305] 11305,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[82, 132], Operations: ['54+41=95', '37+95=132'] Exploring Operation: 82*132=10824, Resulting Numbers: [10824] 10824,71 unequal: No Solution Exploring Operation: 132-82=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 82+132=214, Resulting Numbers: [214] 214,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[54, 41, 45], Operations: ['82-37=45'] Exploring Operation: 41+45=86, Resulting Numbers: [54, 86] Generated Node #0,1,0: 71:[54, 86] Operation: 41+45=86 Exploring Operation: 54+45=99, Resulting Numbers: [41, 99] Generated Node #0,1,1: 71:[41, 99] Operation: 54+45=99 Exploring Operation: 54+41=95, Resulting Numbers: [45, 95] Generated Node #0,1,2: 71:[45, 95] Operation: 54+41=95 Exploring Operation: 54-41=13, Resulting Numbers: [45, 13] Generated Node #0,1,3: 71:[45, 13] Operation: 54-41=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[54, 86], Operations: ['82-37=45', '41+45=86'] Exploring Operation: 54+86=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 54*86=4644, Resulting Numbers: [4644] 4644,71 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[45, 95], Operations: ['82-37=45', '54+41=95'] Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,71 unequal: No Solution Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[41, 99], Operations: ['82-37=45', '54+45=99'] Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,71 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[45, 13], Operations: ['82-37=45', '54-41=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 69, 9, 53, 86 ]
93
[ "69-9=60", "86-53=33", "60+33=93" ]
Current State: 93:[69, 9, 53, 86], Operations: [] Exploring Operation: 69-9=60, Resulting Numbers: [53, 86, 60] Generated Node #2: [53, 86, 60] from Operation: 69-9=60 Current State: 93:[53, 86, 60], Operations: ['69-9=60'] Exploring Operation: 86-53=33, Resulting Numbers: [60, 33] Generated Node #3: [60, 33] from Operation: 86-53=33 Current State: 93:[60, 33], Operations: ['69-9=60', '86-53=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[69, 9, 53, 86], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [9, 86, 16] Generated Node #0,0: 93:[9, 86, 16] Operation: 69-53=16 Exploring Operation: 86-53=33, Resulting Numbers: [69, 9, 33] Generated Node #0,1: 93:[69, 9, 33] Operation: 86-53=33 Exploring Operation: 86-69=17, Resulting Numbers: [9, 53, 17] Generated Node #0,2: 93:[9, 53, 17] Operation: 86-69=17 Exploring Operation: 69+53=122, Resulting Numbers: [9, 86, 122] Generated Node #0,3: 93:[9, 86, 122] Operation: 69+53=122 Moving to Node #0,0 Current State: 93:[9, 86, 16], Operations: ['69-53=16'] Exploring Operation: 86+16=102, Resulting Numbers: [9, 102] Generated Node #0,0,0: 93:[9, 102] Operation: 86+16=102 Exploring Operation: 9+16=25, Resulting Numbers: [86, 25] Generated Node #0,0,1: 93:[86, 25] Operation: 9+16=25 Exploring Operation: 16-9=7, Resulting Numbers: [86, 7] Generated Node #0,0,2: 93:[86, 7] Operation: 16-9=7 Exploring Operation: 9+86=95, Resulting Numbers: [16, 95] Generated Node #0,0,3: 93:[16, 95] Operation: 9+86=95 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[86, 7], Operations: ['69-53=16', '16-9=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[69, 9, 53, 86], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [9, 86, 16] Generated Node #0,0: 93:[9, 86, 16] Operation: 69-53=16 Moving to Node #0,0 Current State: 93:[9, 86, 16], Operations: ['69-53=16'] Exploring Operation: 16-9=7, Resulting Numbers: [86, 7] Generated Node #0,0,2: 93:[86, 7] Operation: 16-9=7 Moving to Node #0,0,2 Current State: 93:[86, 7], Operations: ['69-53=16', '16-9=7'] Exploring Operation: 86+7=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 85, 18, 20, 36 ]
87
[ "85+18=103", "36-20=16", "103-16=87" ]
Current State: 87:[85, 18, 20, 36], Operations: [] Exploring Operation: 85+18=103, Resulting Numbers: [20, 36, 103] Generated Node #2: [20, 36, 103] from Operation: 85+18=103 Current State: 87:[20, 36, 103], Operations: ['85+18=103'] Exploring Operation: 36-20=16, Resulting Numbers: [103, 16] Generated Node #3: [103, 16] from Operation: 36-20=16 Current State: 87:[103, 16], Operations: ['85+18=103', '36-20=16'] Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[85, 18, 20, 36], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [85, 20, 2] Generated Node #0,0: 87:[85, 20, 2] Operation: 36/18=2 Exploring Operation: 20-18=2, Resulting Numbers: [85, 36, 2] Generated Node #0,1: 87:[85, 36, 2] Operation: 20-18=2 Exploring Operation: 36-18=18, Resulting Numbers: [85, 20, 18] Generated Node #0,2: 87:[85, 20, 18] Operation: 36-18=18 Exploring Operation: 18+20=38, Resulting Numbers: [85, 36, 38] Generated Node #0,3: 87:[85, 36, 38] Operation: 18+20=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[85, 36, 2], Operations: ['20-18=2'] Exploring Operation: 85+2=87, Resulting Numbers: [36, 87] Generated Node #0,1,0: 87:[36, 87] Operation: 85+2=87 Exploring Operation: 85-2=83, Resulting Numbers: [36, 83] Generated Node #0,1,1: 87:[36, 83] Operation: 85-2=83 Exploring Operation: 36-2=34, Resulting Numbers: [85, 34] Generated Node #0,1,2: 87:[85, 34] Operation: 36-2=34 Exploring Operation: 36+2=38, Resulting Numbers: [85, 38] Generated Node #0,1,3: 87:[85, 38] Operation: 36+2=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[36, 87], Operations: ['20-18=2', '85+2=87'] Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,87 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,87 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,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,1,2 Current State: 87:[85, 34], Operations: ['20-18=2', '36-2=34'] Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 85*34=2890, Resulting Numbers: [2890] 2890,87 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,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,1,1 Current State: 87:[36, 83], Operations: ['20-18=2', '85-2=83'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 36+83=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 36*83=2988, Resulting Numbers: [2988] 2988,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,1,3 Current State: 87:[85, 38], Operations: ['20-18=2', '36+2=38'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,87 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,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,0 Current State: 87:[85, 20, 2], Operations: ['36/18=2'] Exploring Operation: 85+2=87, Resulting Numbers: [20, 87] Generated Node #0,0,0: 87:[20, 87] Operation: 85+2=87 Exploring Operation: 20+2=22, Resulting Numbers: [85, 22] Generated Node #0,0,1: 87:[85, 22] Operation: 20+2=22 Exploring Operation: 85-2=83, Resulting Numbers: [20, 83] Generated Node #0,0,2: 87:[20, 83] Operation: 85-2=83 Exploring Operation: 20/2=10, Resulting Numbers: [85, 10] Generated Node #0,0,3: 87:[85, 10] Operation: 20/2=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[20, 87], Operations: ['36/18=2', '85+2=87'] Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,87 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,87 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,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:[85, 22], Operations: ['36/18=2', '20+2=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,87 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,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,3 Current State: 87:[85, 10], Operations: ['36/18=2', '20/2=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,87 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,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,2 Current State: 87:[20, 83], Operations: ['36/18=2', '85-2=83'] Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,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,3 Current State: 87:[85, 36, 38], Operations: ['18+20=38'] Exploring Operation: 85-36=49, Resulting Numbers: [38, 49] Generated Node #0,3,0: 87:[38, 49] Operation: 85-36=49 Exploring Operation: 85-38=47, Resulting Numbers: [36, 47] Generated Node #0,3,1: 87:[36, 47] Operation: 85-38=47 Exploring Operation: 38-36=2, Resulting Numbers: [85, 2] Generated Node #0,3,2: 87:[85, 2] Operation: 38-36=2 Exploring Operation: 36+38=74, Resulting Numbers: [85, 74] Generated Node #0,3,3: 87:[85, 74] Operation: 36+38=74 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 87:[85, 2], Operations: ['18+20=38', '38-36=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[85, 18, 20, 36], Operations: [] Exploring Operation: 18+20=38, Resulting Numbers: [85, 36, 38] Generated Node #0,3: 87:[85, 36, 38] Operation: 18+20=38 Moving to Node #0,3 Current State: 87:[85, 36, 38], Operations: ['18+20=38'] Exploring Operation: 38-36=2, Resulting Numbers: [85, 2] Generated Node #0,3,2: 87:[85, 2] Operation: 38-36=2 Moving to Node #0,3,2 Current State: 87:[85, 2], Operations: ['18+20=38', '38-36=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 93, 9, 68, 10 ]
17
[ "93+9=102", "68+102=170", "170/10=17" ]
Current State: 17:[93, 9, 68, 10], Operations: [] Exploring Operation: 93+9=102, Resulting Numbers: [68, 10, 102] Generated Node #2: [68, 10, 102] from Operation: 93+9=102 Current State: 17:[68, 10, 102], Operations: ['93+9=102'] Exploring Operation: 68+102=170, Resulting Numbers: [10, 170] Generated Node #3: [10, 170] from Operation: 68+102=170 Current State: 17:[10, 170], Operations: ['93+9=102', '68+102=170'] Exploring Operation: 170/10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[93, 9, 68, 10], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [68, 10, 84] Generated Node #0,0: 17:[68, 10, 84] Operation: 93-9=84 Exploring Operation: 93-68=25, Resulting Numbers: [9, 10, 25] Generated Node #0,1: 17:[9, 10, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[9, 10, 25], Operations: ['93-68=25'] Exploring Operation: 25-9=16, Resulting Numbers: [10, 16] Generated Node #0,1,0: 17:[10, 16] Operation: 25-9=16 Exploring Operation: 9+10=19, Resulting Numbers: [25, 19] Generated Node #0,1,1: 17:[25, 19] Operation: 9+10=19 Moving to Node #0,1,0 Current State: 17:[10, 16], Operations: ['93-68=25', '25-9=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[25, 19], Operations: ['93-68=25', '9+10=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[68, 10, 84], Operations: ['93-9=84'] Exploring Operation: 68-10=58, Resulting Numbers: [84, 58] Generated Node #0,0,0: 17:[84, 58] Operation: 68-10=58 Exploring Operation: 84-68=16, Resulting Numbers: [10, 16] Generated Node #0,0,1: 17:[10, 16] Operation: 84-68=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[10, 16], Operations: ['93-9=84', '84-68=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,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:[84, 58], Operations: ['93-9=84', '68-10=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,17 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,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_2
sum_heuristic
[ 21, 99, 60, 49 ]
31
[ "99-21=78", "60+49=109", "109-78=31" ]
Current State: 31:[21, 99, 60, 49], Operations: [] Exploring Operation: 99-21=78, Resulting Numbers: [60, 49, 78] Generated Node #2: [60, 49, 78] from Operation: 99-21=78 Current State: 31:[60, 49, 78], Operations: ['99-21=78'] Exploring Operation: 60+49=109, Resulting Numbers: [78, 109] Generated Node #3: [78, 109] from Operation: 60+49=109 Current State: 31:[78, 109], Operations: ['99-21=78', '60+49=109'] Exploring Operation: 109-78=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[21, 99, 60, 49], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [21, 60, 50] Generated Node #0,0: 31:[21, 60, 50] Operation: 99-49=50 Exploring Operation: 99-60=39, Resulting Numbers: [21, 49, 39] Generated Node #0,1: 31:[21, 49, 39] Operation: 99-60=39 Moving to Node #0,1 Current State: 31:[21, 49, 39], Operations: ['99-60=39'] Exploring Operation: 49-21=28, Resulting Numbers: [39, 28] Generated Node #0,1,0: 31:[39, 28] Operation: 49-21=28 Exploring Operation: 39-21=18, Resulting Numbers: [49, 18] Generated Node #0,1,1: 31:[49, 18] Operation: 39-21=18 Moving to Node #0,0 Current State: 31:[21, 60, 50], Operations: ['99-49=50'] Exploring Operation: 50-21=29, Resulting Numbers: [60, 29] Generated Node #0,0,0: 31:[60, 29] Operation: 50-21=29 Exploring Operation: 60-21=39, Resulting Numbers: [50, 39] Generated Node #0,0,1: 31:[50, 39] Operation: 60-21=39 Moving to Node #0,1,0 Current State: 31:[39, 28], Operations: ['99-60=39', '49-21=28'] Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[50, 39], Operations: ['99-49=50', '60-21=39'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[49, 18], Operations: ['99-60=39', '39-21=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[21, 99, 60, 49], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [21, 49, 39] Generated Node #0,1: 31:[21, 49, 39] Operation: 99-60=39 Moving to Node #0,1 Current State: 31:[21, 49, 39], Operations: ['99-60=39'] Exploring Operation: 39-21=18, Resulting Numbers: [49, 18] Generated Node #0,1,1: 31:[49, 18] Operation: 39-21=18 Moving to Node #0,1,1 Current State: 31:[49, 18], Operations: ['99-60=39', '39-21=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 47, 14, 21, 8 ]
44
[ "47+21=68", "14*8=112", "112-68=44" ]
Current State: 44:[47, 14, 21, 8], Operations: [] Exploring Operation: 47+21=68, Resulting Numbers: [14, 8, 68] Generated Node #2: [14, 8, 68] from Operation: 47+21=68 Current State: 44:[14, 8, 68], Operations: ['47+21=68'] Exploring Operation: 14*8=112, Resulting Numbers: [68, 112] Generated Node #3: [68, 112] from Operation: 14*8=112 Current State: 44:[68, 112], Operations: ['47+21=68', '14*8=112'] Exploring Operation: 112-68=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[47, 14, 21, 8], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [47, 21, 6] Generated Node #0,0: 44:[47, 21, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [47, 21, 22] Generated Node #0,1: 44:[47, 21, 22] Operation: 14+8=22 Exploring Operation: 21-8=13, Resulting Numbers: [47, 14, 13] Generated Node #0,2: 44:[47, 14, 13] Operation: 21-8=13 Moving to Node #0,1 Current State: 44:[47, 21, 22], Operations: ['14+8=22'] Exploring Operation: 47-21=26, Resulting Numbers: [22, 26] Generated Node #0,1,0: 44:[22, 26] Operation: 47-21=26 Exploring Operation: 47-22=25, Resulting Numbers: [21, 25] Generated Node #0,1,1: 44:[21, 25] Operation: 47-22=25 Exploring Operation: 21+22=43, Resulting Numbers: [47, 43] Generated Node #0,1,2: 44:[47, 43] Operation: 21+22=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[22, 26], Operations: ['14+8=22', '47-21=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[21, 25], Operations: ['14+8=22', '47-22=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[47, 43], Operations: ['14+8=22', '21+22=43'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 44:[47, 21, 6], Operations: ['14-8=6'] Exploring Operation: 21-6=15, Resulting Numbers: [47, 15] Generated Node #0,0,0: 44:[47, 15] Operation: 21-6=15 Exploring Operation: 47-6=41, Resulting Numbers: [21, 41] Generated Node #0,0,1: 44:[21, 41] Operation: 47-6=41 Exploring Operation: 47-21=26, Resulting Numbers: [6, 26] Generated Node #0,0,2: 44:[6, 26] Operation: 47-21=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[21, 41], Operations: ['14-8=6', '47-6=41'] Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,44 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[6, 26], Operations: ['14-8=6', '47-21=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[47, 15], Operations: ['14-8=6', '21-6=15'] Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 44:[47, 14, 13], Operations: ['21-8=13'] Exploring Operation: 47-14=33, Resulting Numbers: [13, 33] Generated Node #0,2,0: 44:[13, 33] Operation: 47-14=33 Exploring Operation: 14-13=1, Resulting Numbers: [47, 1] Generated Node #0,2,1: 44:[47, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [47, 27] Generated Node #0,2,2: 44:[47, 27] Operation: 14+13=27 Moving to Node #0,2,1 Current State: 44:[47, 1], Operations: ['21-8=13', '14-13=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[47, 27], Operations: ['21-8=13', '14+13=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,44 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[13, 33], Operations: ['21-8=13', '47-14=33'] Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,44 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,44 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 29, 59, 28, 99 ]
40
[ "29-28=1", "99-59=40", "1*40=40" ]
Current State: 40:[29, 59, 28, 99], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [59, 99, 1] Generated Node #2: [59, 99, 1] from Operation: 29-28=1 Current State: 40:[59, 99, 1], Operations: ['29-28=1'] Exploring Operation: 99-59=40, Resulting Numbers: [1, 40] Generated Node #3: [1, 40] from Operation: 99-59=40 Current State: 40:[1, 40], Operations: ['29-28=1', '99-59=40'] Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[29, 59, 28, 99], Operations: [] Exploring Operation: 59-29=30, Resulting Numbers: [28, 99, 30] Generated Node #0,0: 40:[28, 99, 30] Operation: 59-29=30 Exploring Operation: 99-28=71, Resulting Numbers: [29, 59, 71] Generated Node #0,1: 40:[29, 59, 71] Operation: 99-28=71 Exploring Operation: 99-59=40, Resulting Numbers: [29, 28, 40] Generated Node #0,2: 40:[29, 28, 40] Operation: 99-59=40 Exploring Operation: 59-28=31, Resulting Numbers: [29, 99, 31] Generated Node #0,3: 40:[29, 99, 31] Operation: 59-28=31 Exploring Operation: 99-29=70, Resulting Numbers: [59, 28, 70] Generated Node #0,4: 40:[59, 28, 70] Operation: 99-29=70 Moving to Node #0,2 Current State: 40:[29, 28, 40], Operations: ['99-59=40'] Exploring Operation: 40-28=12, Resulting Numbers: [29, 12] Generated Node #0,2,0: 40:[29, 12] Operation: 40-28=12 Exploring Operation: 29-28=1, Resulting Numbers: [40, 1] Generated Node #0,2,1: 40:[40, 1] Operation: 29-28=1 Exploring Operation: 29+40=69, Resulting Numbers: [28, 69] Generated Node #0,2,2: 40:[28, 69] Operation: 29+40=69 Exploring Operation: 29+28=57, Resulting Numbers: [40, 57] Generated Node #0,2,3: 40:[40, 57] Operation: 29+28=57 Exploring Operation: 40-29=11, Resulting Numbers: [28, 11] Generated Node #0,2,4: 40:[28, 11] Operation: 40-29=11 Moving to Node #0,4 Current State: 40:[59, 28, 70], Operations: ['99-29=70'] Exploring Operation: 70-28=42, Resulting Numbers: [59, 42] Generated Node #0,4,0: 40:[59, 42] Operation: 70-28=42 Exploring Operation: 59-28=31, Resulting Numbers: [70, 31] Generated Node #0,4,1: 40:[70, 31] Operation: 59-28=31 Exploring Operation: 28+70=98, Resulting Numbers: [59, 98] Generated Node #0,4,2: 40:[59, 98] Operation: 28+70=98 Exploring Operation: 59+28=87, Resulting Numbers: [70, 87] Generated Node #0,4,3: 40:[70, 87] Operation: 59+28=87 Exploring Operation: 70-59=11, Resulting Numbers: [28, 11] Generated Node #0,4,4: 40:[28, 11] Operation: 70-59=11 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[28, 11], Operations: ['99-29=70', '70-59=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,40 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 40:[59, 42], Operations: ['99-29=70', '70-28=42'] Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,40 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 40:[70, 31], Operations: ['99-29=70', '59-28=31'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,40 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 40:[59, 98], Operations: ['99-29=70', '28+70=98'] Exploring Operation: 59+98=157, Resulting Numbers: [157] 157,40 unequal: No Solution Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 59*98=5782, Resulting Numbers: [5782] 5782,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 40:[70, 87], Operations: ['99-29=70', '59+28=87'] Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,40 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 70*87=6090, Resulting Numbers: [6090] 6090,40 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: 40:[29, 59, 71], Operations: ['99-28=71'] Exploring Operation: 71-59=12, Resulting Numbers: [29, 12] Generated Node #0,1,0: 40:[29, 12] Operation: 71-59=12 Exploring Operation: 29+59=88, Resulting Numbers: [71, 88] Generated Node #0,1,1: 40:[71, 88] Operation: 29+59=88 Exploring Operation: 29+71=100, Resulting Numbers: [59, 100] Generated Node #0,1,2: 40:[59, 100] Operation: 29+71=100 Exploring Operation: 71-29=42, Resulting Numbers: [59, 42] Generated Node #0,1,3: 40:[59, 42] Operation: 71-29=42 Exploring Operation: 59-29=30, Resulting Numbers: [71, 30] Generated Node #0,1,4: 40:[71, 30] Operation: 59-29=30 Moving to Node #0,0 Current State: 40:[28, 99, 30], Operations: ['59-29=30'] Exploring Operation: 28+30=58, Resulting Numbers: [99, 58] Generated Node #0,0,0: 40:[99, 58] Operation: 28+30=58 Exploring Operation: 28+99=127, Resulting Numbers: [30, 127] Generated Node #0,0,1: 40:[30, 127] Operation: 28+99=127 Exploring Operation: 99-28=71, Resulting Numbers: [30, 71] Generated Node #0,0,2: 40:[30, 71] Operation: 99-28=71 Exploring Operation: 30-28=2, Resulting Numbers: [99, 2] Generated Node #0,0,3: 40:[99, 2] Operation: 30-28=2 Exploring Operation: 99-30=69, Resulting Numbers: [28, 69] Generated Node #0,0,4: 40:[28, 69] Operation: 99-30=69 Moving to Node #0,3 Current State: 40:[29, 99, 31], Operations: ['59-28=31'] Exploring Operation: 29+31=60, Resulting Numbers: [99, 60] Generated Node #0,3,0: 40:[99, 60] Operation: 29+31=60 Exploring Operation: 99-31=68, Resulting Numbers: [29, 68] Generated Node #0,3,1: 40:[29, 68] Operation: 99-31=68 Exploring Operation: 31-29=2, Resulting Numbers: [99, 2] Generated Node #0,3,2: 40:[99, 2] Operation: 31-29=2 Exploring Operation: 99-29=70, Resulting Numbers: [31, 70] Generated Node #0,3,3: 40:[31, 70] Operation: 99-29=70 Exploring Operation: 29+99=128, Resulting Numbers: [31, 128] Generated Node #0,3,4: 40:[31, 128] Operation: 29+99=128 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[29, 68], Operations: ['59-28=31', '99-31=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,40 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[31, 70], Operations: ['59-28=31', '99-29=70'] Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,40 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,40 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[99, 2], Operations: ['59-28=31', '31-29=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,40 unequal: No Solution Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,40 unequal: No Solution Exploring Operation: 99*2=198, Resulting Numbers: [198] 198,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[99, 60], Operations: ['59-28=31', '29+31=60'] Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 99*60=5940, Resulting Numbers: [5940] 5940,40 unequal: No Solution Exploring Operation: 99+60=159, Resulting Numbers: [159] 159,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[31, 128], Operations: ['59-28=31', '29+99=128'] Exploring Operation: 31*128=3968, Resulting Numbers: [3968] 3968,40 unequal: No Solution Exploring Operation: 31+128=159, Resulting Numbers: [159] 159,40 unequal: No Solution Exploring Operation: 128-31=97, Resulting Numbers: [97] 97,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 40:[40, 1], Operations: ['99-59=40', '29-28=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[29, 59, 28, 99], Operations: [] Exploring Operation: 99-59=40, Resulting Numbers: [29, 28, 40] Generated Node #0,2: 40:[29, 28, 40] Operation: 99-59=40 Moving to Node #0,2 Current State: 40:[29, 28, 40], Operations: ['99-59=40'] Exploring Operation: 29-28=1, Resulting Numbers: [40, 1] Generated Node #0,2,1: 40:[40, 1] Operation: 29-28=1 Moving to Node #0,2,1 Current State: 40:[40, 1], Operations: ['99-59=40', '29-28=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.942708
hs_5
sum_heuristic
[ 61, 27, 4, 67 ]
51
[ "67-61=6", "4*6=24", "27+24=51" ]
Current State: 51:[61, 27, 4, 67], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [27, 4, 6] Generated Node #2: [27, 4, 6] from Operation: 67-61=6 Current State: 51:[27, 4, 6], Operations: ['67-61=6'] Exploring Operation: 4*6=24, Resulting Numbers: [27, 24] Generated Node #3: [27, 24] from Operation: 4*6=24 Current State: 51:[27, 24], Operations: ['67-61=6', '4*6=24'] Exploring Operation: 27+24=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[61, 27, 4, 67], Operations: [] Exploring Operation: 67-61=6, Resulting Numbers: [27, 4, 6] Generated Node #0,0: 51:[27, 4, 6] Operation: 67-61=6 Moving to Node #0,0 Current State: 51:[27, 4, 6], Operations: ['67-61=6'] Exploring Operation: 27-6=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 51:[4, 21] Operation: 27-6=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[4, 21], Operations: ['67-61=6', '27-6=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,51 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
[ 6, 23, 90, 42 ]
77
[ "6+23=29", "90-42=48", "29+48=77" ]
Current State: 77:[6, 23, 90, 42], Operations: [] Exploring Operation: 6+23=29, Resulting Numbers: [90, 42, 29] Generated Node #2: [90, 42, 29] from Operation: 6+23=29 Current State: 77:[90, 42, 29], Operations: ['6+23=29'] Exploring Operation: 90-42=48, Resulting Numbers: [29, 48] Generated Node #3: [29, 48] from Operation: 90-42=48 Current State: 77:[29, 48], Operations: ['6+23=29', '90-42=48'] Exploring Operation: 29+48=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 23, 90, 42], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [6, 90, 19] Generated Node #0,0: 77:[6, 90, 19] Operation: 42-23=19 Moving to Node #0,0 Current State: 77:[6, 90, 19], Operations: ['42-23=19'] Exploring Operation: 90-19=71, Resulting Numbers: [6, 71] Generated Node #0,0,0: 77:[6, 71] Operation: 90-19=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[6, 71], Operations: ['42-23=19', '90-19=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[6, 23, 90, 42], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [6, 90, 19] Generated Node #0,0: 77:[6, 90, 19] Operation: 42-23=19 Moving to Node #0,0 Current State: 77:[6, 90, 19], Operations: ['42-23=19'] Exploring Operation: 90-19=71, Resulting Numbers: [6, 71] Generated Node #0,0,0: 77:[6, 71] Operation: 90-19=71 Moving to Node #0,0,0 Current State: 77:[6, 71], Operations: ['42-23=19', '90-19=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 52, 90, 34, 66 ]
70
[ "90-52=38", "66-34=32", "38+32=70" ]
Current State: 70:[52, 90, 34, 66], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [34, 66, 38] Generated Node #2: [34, 66, 38] from Operation: 90-52=38 Current State: 70:[34, 66, 38], Operations: ['90-52=38'] Exploring Operation: 66-34=32, Resulting Numbers: [38, 32] Generated Node #3: [38, 32] from Operation: 66-34=32 Current State: 70:[38, 32], Operations: ['90-52=38', '66-34=32'] Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[52, 90, 34, 66], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [90, 34, 14] Generated Node #0,0: 70:[90, 34, 14] Operation: 66-52=14 Exploring Operation: 90-52=38, Resulting Numbers: [34, 66, 38] Generated Node #0,1: 70:[34, 66, 38] Operation: 90-52=38 Moving to Node #0,1 Current State: 70:[34, 66, 38], Operations: ['90-52=38'] Exploring Operation: 38-34=4, Resulting Numbers: [66, 4] Generated Node #0,1,0: 70:[66, 4] Operation: 38-34=4 Exploring Operation: 66-34=32, Resulting Numbers: [38, 32] Generated Node #0,1,1: 70:[38, 32] Operation: 66-34=32 Moving to Node #0,0 Current State: 70:[90, 34, 14], Operations: ['66-52=14'] Exploring Operation: 90-34=56, Resulting Numbers: [14, 56] Generated Node #0,0,0: 70:[14, 56] Operation: 90-34=56 Exploring Operation: 90-14=76, Resulting Numbers: [34, 76] Generated Node #0,0,1: 70:[34, 76] Operation: 90-14=76 Moving to Node #0,1,0 Current State: 70:[66, 4], Operations: ['90-52=38', '38-34=4'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[52, 90, 34, 66], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [34, 66, 38] Generated Node #0,1: 70:[34, 66, 38] Operation: 90-52=38 Moving to Node #0,1 Current State: 70:[34, 66, 38], Operations: ['90-52=38'] Exploring Operation: 38-34=4, Resulting Numbers: [66, 4] Generated Node #0,1,0: 70:[66, 4] Operation: 38-34=4 Moving to Node #0,1,0 Current State: 70:[66, 4], Operations: ['90-52=38', '38-34=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 4, 91, 33, 12 ]
89
[ "33+12=45", "4*45=180", "180-91=89" ]
Current State: 89:[4, 91, 33, 12], Operations: [] Exploring Operation: 33+12=45, Resulting Numbers: [4, 91, 45] Generated Node #2: [4, 91, 45] from Operation: 33+12=45 Current State: 89:[4, 91, 45], Operations: ['33+12=45'] Exploring Operation: 4*45=180, Resulting Numbers: [91, 180] Generated Node #3: [91, 180] from Operation: 4*45=180 Current State: 89:[91, 180], Operations: ['33+12=45', '4*45=180'] Exploring Operation: 180-91=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 91, 33, 12], Operations: [] Exploring Operation: 4*33=132, Resulting Numbers: [91, 12, 132] Generated Node #0,0: 89:[91, 12, 132] Operation: 4*33=132 Exploring Operation: 4+33=37, Resulting Numbers: [91, 12, 37] Generated Node #0,1: 89:[91, 12, 37] Operation: 4+33=37 Exploring Operation: 4*12=48, Resulting Numbers: [91, 33, 48] Generated Node #0,2: 89:[91, 33, 48] Operation: 4*12=48 Exploring Operation: 4+12=16, Resulting Numbers: [91, 33, 16] Generated Node #0,3: 89:[91, 33, 16] Operation: 4+12=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[91, 33, 48], Operations: ['4*12=48'] Exploring Operation: 33+48=81, Resulting Numbers: [91, 81] Generated Node #0,2,0: 89:[91, 81] Operation: 33+48=81 Exploring Operation: 48-33=15, Resulting Numbers: [91, 15] Generated Node #0,2,1: 89:[91, 15] Operation: 48-33=15 Exploring Operation: 91-33=58, Resulting Numbers: [48, 58] Generated Node #0,2,2: 89:[48, 58] Operation: 91-33=58 Exploring Operation: 91+33=124, Resulting Numbers: [48, 124] Generated Node #0,2,3: 89:[48, 124] Operation: 91+33=124 Moving to Node #0,2,0 Current State: 89:[91, 81], Operations: ['4*12=48', '33+48=81'] Exploring Operation: 91*81=7371, Resulting Numbers: [7371] 7371,89 unequal: No Solution Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 91+81=172, Resulting Numbers: [172] 172,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[48, 58], Operations: ['4*12=48', '91-33=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,89 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,89 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[48, 124], Operations: ['4*12=48', '91+33=124'] Exploring Operation: 48*124=5952, Resulting Numbers: [5952] 5952,89 unequal: No Solution Exploring Operation: 124-48=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 48+124=172, Resulting Numbers: [172] 172,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[91, 15], Operations: ['4*12=48', '48-33=15'] Exploring Operation: 91*15=1365, Resulting Numbers: [1365] 1365,89 unequal: No Solution Exploring Operation: 91+15=106, Resulting Numbers: [106] 106,89 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,89 unequal: No Solution No 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: 89:[91, 12, 132], Operations: ['4*33=132'] Exploring Operation: 91-12=79, Resulting Numbers: [132, 79] Generated Node #0,0,0: 89:[132, 79] Operation: 91-12=79 Exploring Operation: 12+132=144, Resulting Numbers: [91, 144] Generated Node #0,0,1: 89:[91, 144] Operation: 12+132=144 Exploring Operation: 91+12=103, Resulting Numbers: [132, 103] Generated Node #0,0,2: 89:[132, 103] Operation: 91+12=103 Exploring Operation: 132-12=120, Resulting Numbers: [91, 120] Generated Node #0,0,3: 89:[91, 120] Operation: 132-12=120 Moving to Node #0,0,3 Current State: 89:[91, 120], Operations: ['4*33=132', '132-12=120'] Exploring Operation: 91*120=10920, Resulting Numbers: [10920] 10920,89 unequal: No Solution Exploring Operation: 91+120=211, Resulting Numbers: [211] 211,89 unequal: No Solution Exploring Operation: 120-91=29, Resulting Numbers: [29] 29,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[132, 79], Operations: ['4*33=132', '91-12=79'] Exploring Operation: 132*79=10428, Resulting Numbers: [10428] 10428,89 unequal: No Solution Exploring Operation: 132-79=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 132+79=211, Resulting Numbers: [211] 211,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[132, 103], Operations: ['4*33=132', '91+12=103'] Exploring Operation: 132-103=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 132+103=235, Resulting Numbers: [235] 235,89 unequal: No Solution Exploring Operation: 132*103=13596, Resulting Numbers: [13596] 13596,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[91, 144], Operations: ['4*33=132', '12+132=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 91*144=13104, Resulting Numbers: [13104] 13104,89 unequal: No Solution Exploring Operation: 91+144=235, Resulting Numbers: [235] 235,89 unequal: No Solution No solution 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: 89:[91, 12, 37], Operations: ['4+33=37'] Exploring Operation: 91+12=103, Resulting Numbers: [37, 103] Generated Node #0,1,0: 89:[37, 103] Operation: 91+12=103 Exploring Operation: 12+37=49, Resulting Numbers: [91, 49] Generated Node #0,1,1: 89:[91, 49] Operation: 12+37=49 Exploring Operation: 91-12=79, Resulting Numbers: [37, 79] Generated Node #0,1,2: 89:[37, 79] Operation: 91-12=79 Exploring Operation: 37-12=25, Resulting Numbers: [91, 25] Generated Node #0,1,3: 89:[91, 25] Operation: 37-12=25 Moving to Node #0,1,1 Current State: 89:[91, 49], Operations: ['4+33=37', '12+37=49'] Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,89 unequal: No Solution Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,89 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[37, 79], Operations: ['4+33=37', '91-12=79'] Exploring Operation: 37*79=2923, Resulting Numbers: [2923] 2923,89 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 37+79=116, Resulting Numbers: [116] 116,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[91, 25], Operations: ['4+33=37', '37-12=25'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,89 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,89 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[37, 103], Operations: ['4+33=37', '91+12=103'] Exploring Operation: 37*103=3811, Resulting Numbers: [3811] 3811,89 unequal: No Solution Exploring Operation: 37+103=140, Resulting Numbers: [140] 140,89 unequal: No Solution Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,89 unequal: No Solution No 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: 89:[91, 33, 16], Operations: ['4+12=16'] Exploring Operation: 33-16=17, Resulting Numbers: [91, 17] Generated Node #0,3,0: 89:[91, 17] Operation: 33-16=17 Exploring Operation: 91+16=107, Resulting Numbers: [33, 107] Generated Node #0,3,1: 89:[33, 107] Operation: 91+16=107 Exploring Operation: 33+16=49, Resulting Numbers: [91, 49] Generated Node #0,3,2: 89:[91, 49] Operation: 33+16=49 Exploring Operation: 91-16=75, Resulting Numbers: [33, 75] Generated Node #0,3,3: 89:[33, 75] Operation: 91-16=75 Moving to Node #0,3,2 Current State: 89:[91, 49], Operations: ['4+12=16', '33+16=49'] Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 91+49=140, Resulting Numbers: [140] 140,89 unequal: No Solution Exploring Operation: 91*49=4459, Resulting Numbers: [4459] 4459,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[33, 75], Operations: ['4+12=16', '91-16=75'] Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,89 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[33, 107], Operations: ['4+12=16', '91+16=107'] Exploring Operation: 33*107=3531, Resulting Numbers: [3531] 3531,89 unequal: No Solution Exploring Operation: 107-33=74, Resulting Numbers: [74] 74,89 unequal: No Solution Exploring Operation: 33+107=140, Resulting Numbers: [140] 140,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[91, 17], Operations: ['4+12=16', '33-16=17'] Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,89 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,89 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,89 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
[ 19, 28, 46, 48 ]
85
[ "28-19=9", "46+48=94", "94-9=85" ]
Current State: 85:[19, 28, 46, 48], Operations: [] Exploring Operation: 28-19=9, Resulting Numbers: [46, 48, 9] Generated Node #2: [46, 48, 9] from Operation: 28-19=9 Current State: 85:[46, 48, 9], Operations: ['28-19=9'] Exploring Operation: 46+48=94, Resulting Numbers: [9, 94] Generated Node #3: [9, 94] from Operation: 46+48=94 Current State: 85:[9, 94], Operations: ['28-19=9', '46+48=94'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[19, 28, 46, 48], Operations: [] Exploring Operation: 46+48=94, Resulting Numbers: [19, 28, 94] Generated Node #0,0: 85:[19, 28, 94] Operation: 46+48=94 Exploring Operation: 48-46=2, Resulting Numbers: [19, 28, 2] Generated Node #0,1: 85:[19, 28, 2] Operation: 48-46=2 Moving to Node #0,1 Current State: 85:[19, 28, 2], Operations: ['48-46=2'] Exploring Operation: 28/2=14, Resulting Numbers: [19, 14] Generated Node #0,1,0: 85:[19, 14] Operation: 28/2=14 Exploring Operation: 28-19=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 85:[2, 9] Operation: 28-19=9 Moving to Node #0,0 Current State: 85:[19, 28, 94], Operations: ['46+48=94'] Exploring Operation: 94-19=75, Resulting Numbers: [28, 75] Generated Node #0,0,0: 85:[28, 75] Operation: 94-19=75 Exploring Operation: 28-19=9, Resulting Numbers: [94, 9] Generated Node #0,0,1: 85:[94, 9] Operation: 28-19=9 Moving to Node #0,1,0 Current State: 85:[19, 14], Operations: ['48-46=2', '28/2=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,85 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[2, 9], Operations: ['48-46=2', '28-19=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[94, 9], Operations: ['46+48=94', '28-19=9'] Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,85 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[19, 28, 46, 48], Operations: [] Exploring Operation: 46+48=94, Resulting Numbers: [19, 28, 94] Generated Node #0,0: 85:[19, 28, 94] Operation: 46+48=94 Moving to Node #0,0 Current State: 85:[19, 28, 94], Operations: ['46+48=94'] Exploring Operation: 28-19=9, Resulting Numbers: [94, 9] Generated Node #0,0,1: 85:[94, 9] Operation: 28-19=9 Moving to Node #0,0,1 Current State: 85:[94, 9], Operations: ['46+48=94', '28-19=9'] Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 64, 1, 42, 94 ]
71
[ "64+1=65", "42+94=136", "136-65=71" ]
Current State: 71:[64, 1, 42, 94], Operations: [] Exploring Operation: 64+1=65, Resulting Numbers: [42, 94, 65] Generated Node #2: [42, 94, 65] from Operation: 64+1=65 Current State: 71:[42, 94, 65], Operations: ['64+1=65'] Exploring Operation: 42+94=136, Resulting Numbers: [65, 136] Generated Node #3: [65, 136] from Operation: 42+94=136 Current State: 71:[65, 136], Operations: ['64+1=65', '42+94=136'] Exploring Operation: 136-65=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[64, 1, 42, 94], Operations: [] Exploring Operation: 1+42=43, Resulting Numbers: [64, 94, 43] Generated Node #0,0: 71:[64, 94, 43] Operation: 1+42=43 Exploring Operation: 64/1=64, Resulting Numbers: [42, 94, 64] Generated Node #0,1: 71:[42, 94, 64] Operation: 64/1=64 Exploring Operation: 64*1=64, Resulting Numbers: [42, 94, 64] Generated Node #0,2: 71:[42, 94, 64] Operation: 64*1=64 Exploring Operation: 64+1=65, Resulting Numbers: [42, 94, 65] Generated Node #0,3: 71:[42, 94, 65] Operation: 64+1=65 Exploring Operation: 94-1=93, Resulting Numbers: [64, 42, 93] Generated Node #0,4: 71:[64, 42, 93] Operation: 94-1=93 Moving to Node #0,0 Current State: 71:[64, 94, 43], Operations: ['1+42=43'] Exploring Operation: 94+43=137, Resulting Numbers: [64, 137] Generated Node #0,0,0: 71:[64, 137] Operation: 94+43=137 Exploring Operation: 94-64=30, Resulting Numbers: [43, 30] Generated Node #0,0,1: 71:[43, 30] Operation: 94-64=30 Exploring Operation: 64-43=21, Resulting Numbers: [94, 21] Generated Node #0,0,2: 71:[94, 21] Operation: 64-43=21 Exploring Operation: 64+43=107, Resulting Numbers: [94, 107] Generated Node #0,0,3: 71:[94, 107] Operation: 64+43=107 Exploring Operation: 94-43=51, Resulting Numbers: [64, 51] Generated Node #0,0,4: 71:[64, 51] Operation: 94-43=51 Moving to Node #0,4 Current State: 71:[64, 42, 93], Operations: ['94-1=93'] Exploring Operation: 93-42=51, Resulting Numbers: [64, 51] Generated Node #0,4,0: 71:[64, 51] Operation: 93-42=51 Exploring Operation: 64-42=22, Resulting Numbers: [93, 22] Generated Node #0,4,1: 71:[93, 22] Operation: 64-42=22 Exploring Operation: 42+93=135, Resulting Numbers: [64, 135] Generated Node #0,4,2: 71:[64, 135] Operation: 42+93=135 Exploring Operation: 64+42=106, Resulting Numbers: [93, 106] Generated Node #0,4,3: 71:[93, 106] Operation: 64+42=106 Exploring Operation: 93-64=29, Resulting Numbers: [42, 29] Generated Node #0,4,4: 71:[42, 29] Operation: 93-64=29 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[64, 51], Operations: ['94-1=93', '93-42=51'] Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,71 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[93, 106], Operations: ['94-1=93', '64+42=106'] Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,71 unequal: No Solution Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[93, 22], Operations: ['94-1=93', '64-42=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[64, 1, 42, 94], Operations: [] Exploring Operation: 94-1=93, Resulting Numbers: [64, 42, 93] Generated Node #0,4: 71:[64, 42, 93] Operation: 94-1=93 Moving to Node #0,4 Current State: 71:[64, 42, 93], Operations: ['94-1=93'] Exploring Operation: 64-42=22, Resulting Numbers: [93, 22] Generated Node #0,4,1: 71:[93, 22] Operation: 64-42=22 Moving to Node #0,4,1 Current State: 71:[93, 22], Operations: ['94-1=93', '64-42=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 59, 96, 12, 40 ]
15
[ "96-59=37", "12+40=52", "52-37=15" ]
Current State: 15:[59, 96, 12, 40], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [12, 40, 37] Generated Node #2: [12, 40, 37] from Operation: 96-59=37 Current State: 15:[12, 40, 37], Operations: ['96-59=37'] Exploring Operation: 12+40=52, Resulting Numbers: [37, 52] Generated Node #3: [37, 52] from Operation: 12+40=52 Current State: 15:[37, 52], Operations: ['96-59=37', '12+40=52'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[59, 96, 12, 40], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [12, 40, 37] Generated Node #0,0: 15:[12, 40, 37] Operation: 96-59=37 Exploring Operation: 96/12=8, Resulting Numbers: [59, 40, 8] Generated Node #0,1: 15:[59, 40, 8] Operation: 96/12=8 Moving to Node #0,0 Current State: 15:[12, 40, 37], Operations: ['96-59=37'] Exploring Operation: 40-12=28, Resulting Numbers: [37, 28] Generated Node #0,0,0: 15:[37, 28] Operation: 40-12=28 Exploring Operation: 40-37=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 15:[12, 3] Operation: 40-37=3 Moving to Node #0,1 Current State: 15:[59, 40, 8], Operations: ['96/12=8'] Exploring Operation: 40/8=5, Resulting Numbers: [59, 5] Generated Node #0,1,0: 15:[59, 5] Operation: 40/8=5 Exploring Operation: 59-40=19, Resulting Numbers: [8, 19] Generated Node #0,1,1: 15:[8, 19] Operation: 59-40=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[8, 19], Operations: ['96/12=8', '59-40=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[59, 5], Operations: ['96/12=8', '40/8=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,15 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: 15:[12, 3], Operations: ['96-59=37', '40-37=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[59, 96, 12, 40], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [12, 40, 37] Generated Node #0,0: 15:[12, 40, 37] Operation: 96-59=37 Moving to Node #0,0 Current State: 15:[12, 40, 37], Operations: ['96-59=37'] Exploring Operation: 40-37=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 15:[12, 3] Operation: 40-37=3 Moving to Node #0,0,1 Current State: 15:[12, 3], Operations: ['96-59=37', '40-37=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 89, 9, 58, 3 ]
94
[ "89-9=80", "58*3=174", "174-80=94" ]
Current State: 94:[89, 9, 58, 3], Operations: [] Exploring Operation: 89-9=80, Resulting Numbers: [58, 3, 80] Generated Node #2: [58, 3, 80] from Operation: 89-9=80 Current State: 94:[58, 3, 80], Operations: ['89-9=80'] Exploring Operation: 58*3=174, Resulting Numbers: [80, 174] Generated Node #3: [80, 174] from Operation: 58*3=174 Current State: 94:[80, 174], Operations: ['89-9=80', '58*3=174'] Exploring Operation: 174-80=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[89, 9, 58, 3], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [89, 58, 3] Generated Node #0,0: 94:[89, 58, 3] Operation: 9/3=3 Exploring Operation: 89+9=98, Resulting Numbers: [58, 3, 98] Generated Node #0,1: 94:[58, 3, 98] Operation: 89+9=98 Exploring Operation: 58-9=49, Resulting Numbers: [89, 3, 49] Generated Node #0,2: 94:[89, 3, 49] Operation: 58-9=49 Moving to Node #0,2 Current State: 94:[89, 3, 49], Operations: ['58-9=49'] Exploring Operation: 89-49=40, Resulting Numbers: [3, 40] Generated Node #0,2,0: 94:[3, 40] Operation: 89-49=40 Exploring Operation: 89+3=92, Resulting Numbers: [49, 92] Generated Node #0,2,1: 94:[49, 92] Operation: 89+3=92 Exploring Operation: 49-3=46, Resulting Numbers: [89, 46] Generated Node #0,2,2: 94:[89, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[49, 92], Operations: ['58-9=49', '89+3=92'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,94 unequal: No Solution Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,94 unequal: No Solution No 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: 94:[89, 46], Operations: ['58-9=49', '49-3=46'] Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,94 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,94 unequal: No Solution No 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: 94:[3, 40], Operations: ['58-9=49', '89-49=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,94 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: 94:[58, 3, 98], Operations: ['89+9=98'] Exploring Operation: 98-3=95, Resulting Numbers: [58, 95] Generated Node #0,1,0: 94:[58, 95] Operation: 98-3=95 Exploring Operation: 58-3=55, Resulting Numbers: [98, 55] Generated Node #0,1,1: 94:[98, 55] Operation: 58-3=55 Exploring Operation: 98-58=40, Resulting Numbers: [3, 40] Generated Node #0,1,2: 94:[3, 40] Operation: 98-58=40 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[3, 40], Operations: ['89+9=98', '98-58=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,94 unequal: No Solution No solution 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: 94:[58, 95], Operations: ['89+9=98', '98-3=95'] Exploring Operation: 58+95=153, Resulting Numbers: [153] 153,94 unequal: No Solution Exploring Operation: 58*95=5510, Resulting Numbers: [5510] 5510,94 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,94 unequal: No Solution No solution 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: 94:[98, 55], Operations: ['89+9=98', '58-3=55'] Exploring Operation: 98*55=5390, Resulting Numbers: [5390] 5390,94 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 98+55=153, Resulting Numbers: [153] 153,94 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: 94:[89, 58, 3], Operations: ['9/3=3'] Exploring Operation: 89+3=92, Resulting Numbers: [58, 92] Generated Node #0,0,0: 94:[58, 92] Operation: 89+3=92 Exploring Operation: 89-58=31, Resulting Numbers: [3, 31] Generated Node #0,0,1: 94:[3, 31] Operation: 89-58=31 Exploring Operation: 58-3=55, Resulting Numbers: [89, 55] Generated Node #0,0,2: 94:[89, 55] Operation: 58-3=55 Moving to Node #0,0,0 Current State: 94:[58, 92], Operations: ['9/3=3', '89+3=92'] Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,94 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,94 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[89, 55], Operations: ['9/3=3', '58-3=55'] Exploring Operation: 89*55=4895, Resulting Numbers: [4895] 4895,94 unequal: No Solution Exploring Operation: 89+55=144, Resulting Numbers: [144] 144,94 unequal: No Solution Exploring Operation: 89-55=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[3, 31], Operations: ['9/3=3', '89-58=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 61, 97, 74, 51 ]
89
[ "97-61=36", "74+51=125", "125-36=89" ]
Current State: 89:[61, 97, 74, 51], Operations: [] Exploring Operation: 97-61=36, Resulting Numbers: [74, 51, 36] Generated Node #2: [74, 51, 36] from Operation: 97-61=36 Current State: 89:[74, 51, 36], Operations: ['97-61=36'] Exploring Operation: 74+51=125, Resulting Numbers: [36, 125] Generated Node #3: [36, 125] from Operation: 74+51=125 Current State: 89:[36, 125], Operations: ['97-61=36', '74+51=125'] Exploring Operation: 125-36=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[61, 97, 74, 51], Operations: [] Exploring Operation: 61+51=112, Resulting Numbers: [97, 74, 112] Generated Node #0,0: 89:[97, 74, 112] Operation: 61+51=112 Exploring Operation: 74+51=125, Resulting Numbers: [61, 97, 125] Generated Node #0,1: 89:[61, 97, 125] Operation: 74+51=125 Exploring Operation: 97-51=46, Resulting Numbers: [61, 74, 46] Generated Node #0,2: 89:[61, 74, 46] Operation: 97-51=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[97, 74, 112], Operations: ['61+51=112'] Exploring Operation: 112-97=15, Resulting Numbers: [74, 15] Generated Node #0,0,0: 89:[74, 15] Operation: 112-97=15 Exploring Operation: 112-74=38, Resulting Numbers: [97, 38] Generated Node #0,0,1: 89:[97, 38] Operation: 112-74=38 Exploring Operation: 97-74=23, Resulting Numbers: [112, 23] Generated Node #0,0,2: 89:[112, 23] Operation: 97-74=23 Moving to Node #0,0,1 Current State: 89:[97, 38], Operations: ['61+51=112', '112-74=38'] Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 97+38=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 97*38=3686, Resulting Numbers: [3686] 3686,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[74, 15], Operations: ['61+51=112', '112-97=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,89 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[61, 97, 74, 51], Operations: [] Exploring Operation: 61+51=112, Resulting Numbers: [97, 74, 112] Generated Node #0,0: 89:[97, 74, 112] Operation: 61+51=112 Moving to Node #0,0 Current State: 89:[97, 74, 112], Operations: ['61+51=112'] Exploring Operation: 112-97=15, Resulting Numbers: [74, 15] Generated Node #0,0,0: 89:[74, 15] Operation: 112-97=15 Moving to Node #0,0,0 Current State: 89:[74, 15], Operations: ['61+51=112', '112-97=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 81, 18, 85, 14 ]
38
[ "85-81=4", "14*4=56", "56-18=38" ]
Current State: 38:[81, 18, 85, 14], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [18, 14, 4] Generated Node #2: [18, 14, 4] from Operation: 85-81=4 Current State: 38:[18, 14, 4], Operations: ['85-81=4'] Exploring Operation: 14*4=56, Resulting Numbers: [18, 56] Generated Node #3: [18, 56] from Operation: 14*4=56 Current State: 38:[18, 56], Operations: ['85-81=4', '14*4=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[81, 18, 85, 14], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [85, 14, 63] Generated Node #0,0: 38:[85, 14, 63] Operation: 81-18=63 Exploring Operation: 85-81=4, Resulting Numbers: [18, 14, 4] Generated Node #0,1: 38:[18, 14, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[18, 14, 4], Operations: ['85-81=4'] Exploring Operation: 18-14=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 38:[4, 4] Operation: 18-14=4 Exploring Operation: 14+4=18, Resulting Numbers: [18, 18] Generated Node #0,1,1: 38:[18, 18] Operation: 14+4=18 Moving to Node #0,1,1 Current State: 38:[18, 18], Operations: ['85-81=4', '14+4=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[4, 4], Operations: ['85-81=4', '18-14=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[85, 14, 63], Operations: ['81-18=63'] Exploring Operation: 85-63=22, Resulting Numbers: [14, 22] Generated Node #0,0,0: 38:[14, 22] Operation: 85-63=22 Exploring Operation: 85-14=71, Resulting Numbers: [63, 71] Generated Node #0,0,1: 38:[63, 71] Operation: 85-14=71 Moving to Node #0,0,0 Current State: 38:[14, 22], Operations: ['81-18=63', '85-63=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[63, 71], Operations: ['81-18=63', '85-14=71'] Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,38 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,38 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
[ 2, 50, 70, 17 ]
74
[ "70-50=20", "17+20=37", "2*37=74" ]
Current State: 74:[2, 50, 70, 17], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [2, 17, 20] Generated Node #2: [2, 17, 20] from Operation: 70-50=20 Current State: 74:[2, 17, 20], Operations: ['70-50=20'] Exploring Operation: 17+20=37, Resulting Numbers: [2, 37] Generated Node #3: [2, 37] from Operation: 17+20=37 Current State: 74:[2, 37], Operations: ['70-50=20', '17+20=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[2, 50, 70, 17], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [2, 70, 33] Generated Node #0,0: 74:[2, 70, 33] Operation: 50-17=33 Exploring Operation: 50+17=67, Resulting Numbers: [2, 70, 67] Generated Node #0,1: 74:[2, 70, 67] Operation: 50+17=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[2, 70, 33], Operations: ['50-17=33'] Exploring Operation: 2+70=72, Resulting Numbers: [33, 72] Generated Node #0,0,0: 74:[33, 72] Operation: 2+70=72 Exploring Operation: 70-33=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 74:[2, 37] Operation: 70-33=37 Moving to Node #0,0,1 Current State: 74:[2, 37], Operations: ['50-17=33', '70-33=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[2, 50, 70, 17], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [2, 70, 33] Generated Node #0,0: 74:[2, 70, 33] Operation: 50-17=33 Moving to Node #0,0 Current State: 74:[2, 70, 33], Operations: ['50-17=33'] Exploring Operation: 70-33=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 74:[2, 37] Operation: 70-33=37 Moving to Node #0,0,1 Current State: 74:[2, 37], Operations: ['50-17=33', '70-33=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 15, 24, 29, 79 ]
59
[ "24-15=9", "79-29=50", "9+50=59" ]
Current State: 59:[15, 24, 29, 79], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [29, 79, 9] Generated Node #2: [29, 79, 9] from Operation: 24-15=9 Current State: 59:[29, 79, 9], Operations: ['24-15=9'] Exploring Operation: 79-29=50, Resulting Numbers: [9, 50] Generated Node #3: [9, 50] from Operation: 79-29=50 Current State: 59:[9, 50], Operations: ['24-15=9', '79-29=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[15, 24, 29, 79], Operations: [] Exploring Operation: 15+24=39, Resulting Numbers: [29, 79, 39] Generated Node #0,0: 59:[29, 79, 39] Operation: 15+24=39 Exploring Operation: 15+29=44, Resulting Numbers: [24, 79, 44] Generated Node #0,1: 59:[24, 79, 44] Operation: 15+29=44 Exploring Operation: 79-15=64, Resulting Numbers: [24, 29, 64] Generated Node #0,2: 59:[24, 29, 64] Operation: 79-15=64 Exploring Operation: 24+29=53, Resulting Numbers: [15, 79, 53] Generated Node #0,3: 59:[15, 79, 53] Operation: 24+29=53 Moving to Node #0,0 Current State: 59:[29, 79, 39], Operations: ['15+24=39'] Exploring Operation: 79-29=50, Resulting Numbers: [39, 50] Generated Node #0,0,0: 59:[39, 50] Operation: 79-29=50 Exploring Operation: 79-39=40, Resulting Numbers: [29, 40] Generated Node #0,0,1: 59:[29, 40] Operation: 79-39=40 Exploring Operation: 29+79=108, Resulting Numbers: [39, 108] Generated Node #0,0,2: 59:[39, 108] Operation: 29+79=108 Exploring Operation: 29+39=68, Resulting Numbers: [79, 68] Generated Node #0,0,3: 59:[79, 68] Operation: 29+39=68 Moving to Node #0,2 Current State: 59:[24, 29, 64], Operations: ['79-15=64'] Exploring Operation: 24+64=88, Resulting Numbers: [29, 88] Generated Node #0,2,0: 59:[29, 88] Operation: 24+64=88 Exploring Operation: 24+29=53, Resulting Numbers: [64, 53] Generated Node #0,2,1: 59:[64, 53] Operation: 24+29=53 Exploring Operation: 29-24=5, Resulting Numbers: [64, 5] Generated Node #0,2,2: 59:[64, 5] Operation: 29-24=5 Exploring Operation: 64-24=40, Resulting Numbers: [29, 40] Generated Node #0,2,3: 59:[29, 40] Operation: 64-24=40 Moving to Node #0,1 Current State: 59:[24, 79, 44], Operations: ['15+29=44'] Exploring Operation: 24+44=68, Resulting Numbers: [79, 68] Generated Node #0,1,0: 59:[79, 68] Operation: 24+44=68 Exploring Operation: 44-24=20, Resulting Numbers: [79, 20] Generated Node #0,1,1: 59:[79, 20] Operation: 44-24=20 Exploring Operation: 24+79=103, Resulting Numbers: [44, 103] Generated Node #0,1,2: 59:[44, 103] Operation: 24+79=103 Exploring Operation: 79-24=55, Resulting Numbers: [44, 55] Generated Node #0,1,3: 59:[44, 55] Operation: 79-24=55 Moving to Node #0,3 Current State: 59:[15, 79, 53], Operations: ['24+29=53'] Exploring Operation: 15+53=68, Resulting Numbers: [79, 68] Generated Node #0,3,0: 59:[79, 68] Operation: 15+53=68 Exploring Operation: 15+79=94, Resulting Numbers: [53, 94] Generated Node #0,3,1: 59:[53, 94] Operation: 15+79=94 Exploring Operation: 79-15=64, Resulting Numbers: [53, 64] Generated Node #0,3,2: 59:[53, 64] Operation: 79-15=64 Exploring Operation: 53-15=38, Resulting Numbers: [79, 38] Generated Node #0,3,3: 59:[79, 38] Operation: 53-15=38 Moving to Node #0,2,1 Current State: 59:[64, 53], Operations: ['79-15=64', '24+29=53'] Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,59 unequal: No Solution Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[53, 64], Operations: ['24+29=53', '79-15=64'] Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,59 unequal: No Solution Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[44, 55], Operations: ['15+29=44', '79-24=55'] Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[79, 68], Operations: ['24+29=53', '15+53=68'] Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,59 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[79, 68], Operations: ['15+24=39', '29+39=68'] Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,59 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[79, 68], Operations: ['15+29=44', '24+44=68'] Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,59 unequal: No Solution Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[39, 50], Operations: ['15+24=39', '79-29=50'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 39*50=1950, Resulting Numbers: [1950] 1950,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[53, 94], Operations: ['24+29=53', '15+79=94'] Exploring Operation: 53+94=147, Resulting Numbers: [147] 147,59 unequal: No Solution Exploring Operation: 53*94=4982, Resulting Numbers: [4982] 4982,59 unequal: No Solution Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[79, 38], Operations: ['24+29=53', '53-15=38'] Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[29, 40], Operations: ['15+24=39', '79-39=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,59 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[29, 40], Operations: ['79-15=64', '64-24=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[29, 88], Operations: ['79-15=64', '24+64=88'] Exploring Operation: 29*88=2552, Resulting Numbers: [2552] 2552,59 unequal: No Solution Exploring Operation: 29+88=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[15, 24, 29, 79], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [24, 29, 64] Generated Node #0,2: 59:[24, 29, 64] Operation: 79-15=64 Moving to Node #0,2 Current State: 59:[24, 29, 64], Operations: ['79-15=64'] Exploring Operation: 24+64=88, Resulting Numbers: [29, 88] Generated Node #0,2,0: 59:[29, 88] Operation: 24+64=88 Moving to Node #0,2,0 Current State: 59:[29, 88], Operations: ['79-15=64', '24+64=88'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.947917
hs_4
mult_heuristic
[ 76, 79, 51, 10 ]
89
[ "79+51=130", "130/10=13", "76+13=89" ]
Current State: 89:[76, 79, 51, 10], Operations: [] Exploring Operation: 79+51=130, Resulting Numbers: [76, 10, 130] Generated Node #2: [76, 10, 130] from Operation: 79+51=130 Current State: 89:[76, 10, 130], Operations: ['79+51=130'] Exploring Operation: 130/10=13, Resulting Numbers: [76, 13] Generated Node #3: [76, 13] from Operation: 130/10=13 Current State: 89:[76, 13], Operations: ['79+51=130', '130/10=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[76, 79, 51, 10], Operations: [] Exploring Operation: 76+10=86, Resulting Numbers: [79, 51, 86] Generated Node #0,0: 89:[79, 51, 86] Operation: 76+10=86 Moving to Node #0,0 Current State: 89:[79, 51, 86], Operations: ['76+10=86'] Exploring Operation: 79+51=130, Resulting Numbers: [86, 130] Generated Node #0,0,0: 89:[86, 130] Operation: 79+51=130 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[86, 130], Operations: ['76+10=86', '79+51=130'] Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 87, 10, 10, 15 ]
89
[ "15-10=5", "10/5=2", "87+2=89" ]
Current State: 89:[87, 10, 10, 15], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [87, 5] Generated Node #2: [87, 5] from Operation: 15-10=5 Current State: 89:[87, 5], Operations: ['15-10=5'] Exploring Operation: 10/5=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 10/5=2 Current State: 89:[87, 2], Operations: ['15-10=5', '10/5=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[87, 10, 10, 15], Operations: [] Exploring Operation: 10*15=150, Resulting Numbers: [87, 10, 150] Generated Node #0,0: 89:[87, 10, 150] Operation: 10*15=150 Exploring Operation: 10+10=20, Resulting Numbers: [87, 15, 20] Generated Node #0,1: 89:[87, 15, 20] Operation: 10+10=20 Exploring Operation: 10*10=100, Resulting Numbers: [87, 15, 100] Generated Node #0,2: 89:[87, 15, 100] Operation: 10*10=100 Exploring Operation: 10*15=150, Resulting Numbers: [87, 10, 150] Generated Node #0,3: 89:[87, 10, 150] Operation: 10*15=150 Moving to Node #0,2 Current State: 89:[87, 15, 100], Operations: ['10*10=100'] Exploring Operation: 100-15=85, Resulting Numbers: [87, 85] Generated Node #0,2,0: 89:[87, 85] Operation: 100-15=85 Exploring Operation: 87-15=72, Resulting Numbers: [100, 72] Generated Node #0,2,1: 89:[100, 72] Operation: 87-15=72 Exploring Operation: 87+15=102, Resulting Numbers: [100, 102] Generated Node #0,2,2: 89:[100, 102] Operation: 87+15=102 Exploring Operation: 15+100=115, Resulting Numbers: [87, 115] Generated Node #0,2,3: 89:[87, 115] Operation: 15+100=115 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[87, 85], Operations: ['10*10=100', '100-15=85'] Exploring Operation: 87*85=7395, Resulting Numbers: [7395] 7395,89 unequal: No Solution Exploring Operation: 87+85=172, Resulting Numbers: [172] 172,89 unequal: No Solution Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,89 unequal: No Solution No 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: 89:[100, 102], Operations: ['10*10=100', '87+15=102'] Exploring Operation: 100+102=202, Resulting Numbers: [202] 202,89 unequal: No Solution Exploring Operation: 100*102=10200, Resulting Numbers: [10200] 10200,89 unequal: No Solution Exploring Operation: 102-100=2, Resulting Numbers: [2] 2,89 unequal: No Solution No 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: 89:[100, 72], Operations: ['10*10=100', '87-15=72'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 100+72=172, Resulting Numbers: [172] 172,89 unequal: No Solution Exploring Operation: 100*72=7200, Resulting Numbers: [7200] 7200,89 unequal: No Solution No 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: 89:[87, 115], Operations: ['10*10=100', '15+100=115'] Exploring Operation: 87*115=10005, Resulting Numbers: [10005] 10005,89 unequal: No Solution Exploring Operation: 87+115=202, Resulting Numbers: [202] 202,89 unequal: No Solution Exploring Operation: 115-87=28, Resulting Numbers: [28] 28,89 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: 89:[87, 10, 150], Operations: ['10*15=150'] Exploring Operation: 87+10=97, Resulting Numbers: [150, 97] Generated Node #0,3,0: 89:[150, 97] Operation: 87+10=97 Exploring Operation: 10+150=160, Resulting Numbers: [87, 160] Generated Node #0,3,1: 89:[87, 160] Operation: 10+150=160 Exploring Operation: 87-10=77, Resulting Numbers: [150, 77] Generated Node #0,3,2: 89:[150, 77] Operation: 87-10=77 Exploring Operation: 150-10=140, Resulting Numbers: [87, 140] Generated Node #0,3,3: 89:[87, 140] Operation: 150-10=140 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[87, 140], Operations: ['10*15=150', '150-10=140'] Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,89 unequal: No Solution Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,89 unequal: No Solution No 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: 89:[150, 97], Operations: ['10*15=150', '87+10=97'] Exploring Operation: 150-97=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 150*97=14550, Resulting Numbers: [14550] 14550,89 unequal: No Solution Exploring Operation: 150+97=247, Resulting Numbers: [247] 247,89 unequal: No Solution No 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: 89:[87, 160], Operations: ['10*15=150', '10+150=160'] Exploring Operation: 87+160=247, Resulting Numbers: [247] 247,89 unequal: No Solution Exploring Operation: 87*160=13920, Resulting Numbers: [13920] 13920,89 unequal: No Solution Exploring Operation: 160-87=73, Resulting Numbers: [73] 73,89 unequal: No Solution No 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: 89:[150, 77], Operations: ['10*15=150', '87-10=77'] Exploring Operation: 150*77=11550, Resulting Numbers: [11550] 11550,89 unequal: No Solution Exploring Operation: 150+77=227, Resulting Numbers: [227] 227,89 unequal: No Solution Exploring Operation: 150-77=73, Resulting Numbers: [73] 73,89 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: 89:[87, 10, 150], Operations: ['10*15=150'] Exploring Operation: 10+150=160, Resulting Numbers: [87, 160] Generated Node #0,0,0: 89:[87, 160] Operation: 10+150=160 Exploring Operation: 87+10=97, Resulting Numbers: [150, 97] Generated Node #0,0,1: 89:[150, 97] Operation: 87+10=97 Exploring Operation: 150-10=140, Resulting Numbers: [87, 140] Generated Node #0,0,2: 89:[87, 140] Operation: 150-10=140 Exploring Operation: 87-10=77, Resulting Numbers: [150, 77] Generated Node #0,0,3: 89:[150, 77] Operation: 87-10=77 Moving to Node #0,1 Current State: 89:[87, 15, 20], Operations: ['10+10=20'] Exploring Operation: 87-15=72, Resulting Numbers: [20, 72] Generated Node #0,1,0: 89:[20, 72] Operation: 87-15=72 Exploring Operation: 20-15=5, Resulting Numbers: [87, 5] Generated Node #0,1,1: 89:[87, 5] Operation: 20-15=5 Exploring Operation: 15+20=35, Resulting Numbers: [87, 35] Generated Node #0,1,2: 89:[87, 35] Operation: 15+20=35 Exploring Operation: 87+15=102, Resulting Numbers: [20, 102] Generated Node #0,1,3: 89:[20, 102] Operation: 87+15=102 Moving to Node #0,0,2 Current State: 89:[87, 140], Operations: ['10*15=150', '150-10=140'] Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,89 unequal: No Solution Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[87, 35], Operations: ['10+10=20', '15+20=35'] Exploring Operation: 87*35=3045, Resulting Numbers: [3045] 3045,89 unequal: No Solution Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,89 unequal: No Solution Exploring Operation: 87+35=122, Resulting Numbers: [122] 122,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[150, 97], Operations: ['10*15=150', '87+10=97'] Exploring Operation: 150-97=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 150+97=247, Resulting Numbers: [247] 247,89 unequal: No Solution Exploring Operation: 150*97=14550, Resulting Numbers: [14550] 14550,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[87, 160], Operations: ['10*15=150', '10+150=160'] Exploring Operation: 160-87=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 87+160=247, Resulting Numbers: [247] 247,89 unequal: No Solution Exploring Operation: 87*160=13920, Resulting Numbers: [13920] 13920,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[150, 77], Operations: ['10*15=150', '87-10=77'] Exploring Operation: 150*77=11550, Resulting Numbers: [11550] 11550,89 unequal: No Solution Exploring Operation: 150-77=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 150+77=227, Resulting Numbers: [227] 227,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[20, 102], Operations: ['10+10=20', '87+15=102'] Exploring Operation: 102-20=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 20+102=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 20*102=2040, Resulting Numbers: [2040] 2040,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[20, 72], Operations: ['10+10=20', '87-15=72'] Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,89 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,89 unequal: No Solution Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[87, 5], Operations: ['10+10=20', '20-15=5'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,89 unequal: No Solution Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 3, 25, 33, 62 ]
51
[ "25-3=22", "62-33=29", "22+29=51" ]
Current State: 51:[3, 25, 33, 62], Operations: [] Exploring Operation: 25-3=22, Resulting Numbers: [33, 62, 22] Generated Node #2: [33, 62, 22] from Operation: 25-3=22 Current State: 51:[33, 62, 22], Operations: ['25-3=22'] Exploring Operation: 62-33=29, Resulting Numbers: [22, 29] Generated Node #3: [22, 29] from Operation: 62-33=29 Current State: 51:[22, 29], Operations: ['25-3=22', '62-33=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[3, 25, 33, 62], Operations: [] Exploring Operation: 25+33=58, Resulting Numbers: [3, 62, 58] Generated Node #0,0: 51:[3, 62, 58] Operation: 25+33=58 Exploring Operation: 33-25=8, Resulting Numbers: [3, 62, 8] Generated Node #0,1: 51:[3, 62, 8] Operation: 33-25=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[3, 62, 8], Operations: ['33-25=8'] Exploring Operation: 62-8=54, Resulting Numbers: [3, 54] Generated Node #0,1,0: 51:[3, 54] Operation: 62-8=54 Exploring Operation: 62-3=59, Resulting Numbers: [8, 59] Generated Node #0,1,1: 51:[8, 59] Operation: 62-3=59 Moving to Node #0,1,0 Current State: 51:[3, 54], Operations: ['33-25=8', '62-8=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[3, 25, 33, 62], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [3, 62, 8] Generated Node #0,1: 51:[3, 62, 8] Operation: 33-25=8 Moving to Node #0,1 Current State: 51:[3, 62, 8], Operations: ['33-25=8'] Exploring Operation: 62-8=54, Resulting Numbers: [3, 54] Generated Node #0,1,0: 51:[3, 54] Operation: 62-8=54 Moving to Node #0,1,0 Current State: 51:[3, 54], Operations: ['33-25=8', '62-8=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 24, 80, 46, 48 ]
63
[ "48/24=2", "80+46=126", "126/2=63" ]
Current State: 63:[24, 80, 46, 48], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [80, 46, 2] Generated Node #2: [80, 46, 2] from Operation: 48/24=2 Current State: 63:[80, 46, 2], Operations: ['48/24=2'] Exploring Operation: 80+46=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 80+46=126 Current State: 63:[2, 126], Operations: ['48/24=2', '80+46=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[24, 80, 46, 48], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [24, 80, 2] Generated Node #0,0: 63:[24, 80, 2] Operation: 48-46=2 Exploring Operation: 80-48=32, Resulting Numbers: [24, 46, 32] Generated Node #0,1: 63:[24, 46, 32] Operation: 80-48=32 Exploring Operation: 48/24=2, Resulting Numbers: [80, 46, 2] Generated Node #0,2: 63:[80, 46, 2] Operation: 48/24=2 Exploring Operation: 80-46=34, Resulting Numbers: [24, 48, 34] Generated Node #0,3: 63:[24, 48, 34] Operation: 80-46=34 Exploring Operation: 46-24=22, Resulting Numbers: [80, 48, 22] Generated Node #0,4: 63:[80, 48, 22] Operation: 46-24=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[24, 80, 2], Operations: ['48-46=2'] Exploring Operation: 80-2=78, Resulting Numbers: [24, 78] Generated Node #0,0,0: 63:[24, 78] Operation: 80-2=78 Exploring Operation: 24/2=12, Resulting Numbers: [80, 12] Generated Node #0,0,1: 63:[80, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [80, 22] Generated Node #0,0,2: 63:[80, 22] Operation: 24-2=22 Exploring Operation: 24+2=26, Resulting Numbers: [80, 26] Generated Node #0,0,3: 63:[80, 26] Operation: 24+2=26 Exploring Operation: 80-24=56, Resulting Numbers: [2, 56] Generated Node #0,0,4: 63:[2, 56] Operation: 80-24=56 Moving to Node #0,0,4 Current State: 63:[2, 56], Operations: ['48-46=2', '80-24=56'] Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[80, 22], Operations: ['48-46=2', '24-2=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,63 unequal: No Solution Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[24, 78], Operations: ['48-46=2', '80-2=78'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,63 unequal: No Solution Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[80, 12], Operations: ['48-46=2', '24/2=12'] Exploring Operation: 80*12=960, Resulting Numbers: [960] 960,63 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 80+12=92, Resulting Numbers: [92] 92,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[80, 26], Operations: ['48-46=2', '24+2=26'] Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,63 unequal: No Solution Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,63 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,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 Current State: 63:[24, 46, 32], Operations: ['80-48=32'] Exploring Operation: 46+32=78, Resulting Numbers: [24, 78] Generated Node #0,1,0: 63:[24, 78] Operation: 46+32=78 Exploring Operation: 24+46=70, Resulting Numbers: [32, 70] Generated Node #0,1,1: 63:[32, 70] Operation: 24+46=70 Exploring Operation: 32-24=8, Resulting Numbers: [46, 8] Generated Node #0,1,2: 63:[46, 8] Operation: 32-24=8 Exploring Operation: 46-32=14, Resulting Numbers: [24, 14] Generated Node #0,1,3: 63:[24, 14] Operation: 46-32=14 Exploring Operation: 46-24=22, Resulting Numbers: [32, 22] Generated Node #0,1,4: 63:[32, 22] Operation: 46-24=22 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[24, 14], Operations: ['80-48=32', '46-32=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,63 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,63 unequal: No Solution No 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: 63:[32, 22], Operations: ['80-48=32', '46-24=22'] Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,63 unequal: No Solution No 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: 63:[24, 78], Operations: ['80-48=32', '46+32=78'] Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,63 unequal: No Solution Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,63 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,63 unequal: No Solution No 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: 63:[32, 70], Operations: ['80-48=32', '24+46=70'] Exploring Operation: 32*70=2240, Resulting Numbers: [2240] 2240,63 unequal: No Solution Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 32+70=102, Resulting Numbers: [102] 102,63 unequal: No Solution No 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: 63:[46, 8], Operations: ['80-48=32', '32-24=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,63 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,63 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: 63:[24, 48, 34], Operations: ['80-46=34'] Exploring Operation: 48-34=14, Resulting Numbers: [24, 14] Generated Node #0,3,0: 63:[24, 14] Operation: 48-34=14 Exploring Operation: 48/24=2, Resulting Numbers: [34, 2] Generated Node #0,3,1: 63:[34, 2] Operation: 48/24=2 Exploring Operation: 34-24=10, Resulting Numbers: [48, 10] Generated Node #0,3,2: 63:[48, 10] Operation: 34-24=10 Exploring Operation: 24+34=58, Resulting Numbers: [48, 58] Generated Node #0,3,3: 63:[48, 58] Operation: 24+34=58 Exploring Operation: 48-24=24, Resulting Numbers: [34, 24] Generated Node #0,3,4: 63:[34, 24] Operation: 48-24=24 Moving to Node #0,3,0 Current State: 63:[24, 14], Operations: ['80-46=34', '48-34=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,63 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[34, 2], Operations: ['80-46=34', '48/24=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[48, 10], Operations: ['80-46=34', '34-24=10'] Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,63 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[34, 24], Operations: ['80-46=34', '48-24=24'] Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,63 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[48, 58], Operations: ['80-46=34', '24+34=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,63 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,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,4 Current State: 63:[80, 48, 22], Operations: ['46-24=22'] Exploring Operation: 80-48=32, Resulting Numbers: [22, 32] Generated Node #0,4,0: 63:[22, 32] Operation: 80-48=32 Exploring Operation: 48+22=70, Resulting Numbers: [80, 70] Generated Node #0,4,1: 63:[80, 70] Operation: 48+22=70 Exploring Operation: 80-22=58, Resulting Numbers: [48, 58] Generated Node #0,4,2: 63:[48, 58] Operation: 80-22=58 Exploring Operation: 48-22=26, Resulting Numbers: [80, 26] Generated Node #0,4,3: 63:[80, 26] Operation: 48-22=26 Exploring Operation: 80+22=102, Resulting Numbers: [48, 102] Generated Node #0,4,4: 63:[48, 102] Operation: 80+22=102 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 63:[22, 32], Operations: ['46-24=22', '80-48=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 63:[48, 58], Operations: ['46-24=22', '80-22=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,63 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,63 unequal: No Solution No 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: 63:[80, 26], Operations: ['46-24=22', '48-22=26'] Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,63 unequal: No Solution Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,63 unequal: No Solution No 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: 63:[80, 70], Operations: ['46-24=22', '48+22=70'] Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,63 unequal: No Solution No 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: 63:[48, 102], Operations: ['46-24=22', '80+22=102'] Exploring Operation: 48+102=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 48*102=4896, Resulting Numbers: [4896] 4896,63 unequal: No Solution Exploring Operation: 102-48=54, Resulting Numbers: [54] 54,63 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: 63:[80, 46, 2], Operations: ['48/24=2'] Exploring Operation: 80-2=78, Resulting Numbers: [46, 78] Generated Node #0,2,0: 63:[46, 78] Operation: 80-2=78 Exploring Operation: 46+2=48, Resulting Numbers: [80, 48] Generated Node #0,2,1: 63:[80, 48] Operation: 46+2=48 Exploring Operation: 80-46=34, Resulting Numbers: [2, 34] Generated Node #0,2,2: 63:[2, 34] Operation: 80-46=34 Exploring Operation: 46/2=23, Resulting Numbers: [80, 23] Generated Node #0,2,3: 63:[80, 23] Operation: 46/2=23 Exploring Operation: 80+2=82, Resulting Numbers: [46, 82] Generated Node #0,2,4: 63:[46, 82] Operation: 80+2=82 Moving to Node #0,2,2 Current State: 63:[2, 34], Operations: ['48/24=2', '80-46=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[80, 23], Operations: ['48/24=2', '46/2=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,63 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,63 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[46, 78], Operations: ['48/24=2', '80-2=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,63 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[80, 48], Operations: ['48/24=2', '46+2=48'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 80+48=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 80*48=3840, Resulting Numbers: [3840] 3840,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[46, 82], Operations: ['48/24=2', '80+2=82'] Exploring Operation: 82-46=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 46*82=3772, Resulting Numbers: [3772] 3772,63 unequal: No Solution Exploring Operation: 46+82=128, Resulting Numbers: [128] 128,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 97, 4, 77, 47 ]
23
[ "97+4=101", "77+47=124", "124-101=23" ]
Current State: 23:[97, 4, 77, 47], Operations: [] Exploring Operation: 97+4=101, Resulting Numbers: [77, 47, 101] Generated Node #2: [77, 47, 101] from Operation: 97+4=101 Current State: 23:[77, 47, 101], Operations: ['97+4=101'] Exploring Operation: 77+47=124, Resulting Numbers: [101, 124] Generated Node #3: [101, 124] from Operation: 77+47=124 Current State: 23:[101, 124], Operations: ['97+4=101', '77+47=124'] Exploring Operation: 124-101=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[97, 4, 77, 47], Operations: [] Exploring Operation: 97-4=93, Resulting Numbers: [77, 47, 93] Generated Node #0,0: 23:[77, 47, 93] Operation: 97-4=93 Exploring Operation: 77-47=30, Resulting Numbers: [97, 4, 30] Generated Node #0,1: 23:[97, 4, 30] Operation: 77-47=30 Exploring Operation: 77-4=73, Resulting Numbers: [97, 47, 73] Generated Node #0,2: 23:[97, 47, 73] Operation: 77-4=73 Exploring Operation: 97-77=20, Resulting Numbers: [4, 47, 20] Generated Node #0,3: 23:[4, 47, 20] Operation: 97-77=20 Exploring Operation: 97-47=50, Resulting Numbers: [4, 77, 50] Generated Node #0,4: 23:[4, 77, 50] Operation: 97-47=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[4, 47, 20], Operations: ['97-77=20'] Exploring Operation: 20-4=16, Resulting Numbers: [47, 16] Generated Node #0,3,0: 23:[47, 16] Operation: 20-4=16 Exploring Operation: 4+20=24, Resulting Numbers: [47, 24] Generated Node #0,3,1: 23:[47, 24] Operation: 4+20=24 Exploring Operation: 47-4=43, Resulting Numbers: [20, 43] Generated Node #0,3,2: 23:[20, 43] Operation: 47-4=43 Exploring Operation: 47-20=27, Resulting Numbers: [4, 27] Generated Node #0,3,3: 23:[4, 27] Operation: 47-20=27 Exploring Operation: 4+47=51, Resulting Numbers: [20, 51] Generated Node #0,3,4: 23:[20, 51] Operation: 4+47=51 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[20, 43], Operations: ['97-77=20', '47-4=43'] Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,23 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[97, 4, 77, 47], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [4, 47, 20] Generated Node #0,3: 23:[4, 47, 20] Operation: 97-77=20 Moving to Node #0,3 Current State: 23:[4, 47, 20], Operations: ['97-77=20'] Exploring Operation: 47-4=43, Resulting Numbers: [20, 43] Generated Node #0,3,2: 23:[20, 43] Operation: 47-4=43 Moving to Node #0,3,2 Current State: 23:[20, 43], Operations: ['97-77=20', '47-4=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 12, 23, 79, 31 ]
10
[ "23-12=11", "79+31=110", "110/11=10" ]
Current State: 10:[12, 23, 79, 31], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [79, 31, 11] Generated Node #2: [79, 31, 11] from Operation: 23-12=11 Current State: 10:[79, 31, 11], Operations: ['23-12=11'] Exploring Operation: 79+31=110, Resulting Numbers: [11, 110] Generated Node #3: [11, 110] from Operation: 79+31=110 Current State: 10:[11, 110], Operations: ['23-12=11', '79+31=110'] Exploring Operation: 110/11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[12, 23, 79, 31], Operations: [] Exploring Operation: 79-23=56, Resulting Numbers: [12, 31, 56] Generated Node #0,0: 10:[12, 31, 56] Operation: 79-23=56 Exploring Operation: 79-31=48, Resulting Numbers: [12, 23, 48] Generated Node #0,1: 10:[12, 23, 48] Operation: 79-31=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[12, 23, 48], Operations: ['79-31=48'] Exploring Operation: 48/12=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 10:[23, 4] Operation: 48/12=4 Exploring Operation: 48-23=25, Resulting Numbers: [12, 25] Generated Node #0,1,1: 10:[12, 25] Operation: 48-23=25 Moving to Node #0,1,0 Current State: 10:[23, 4], Operations: ['79-31=48', '48/12=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[12, 25], Operations: ['79-31=48', '48-23=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,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,0 Current State: 10:[12, 31, 56], Operations: ['79-23=56'] Exploring Operation: 31-12=19, Resulting Numbers: [56, 19] Generated Node #0,0,0: 10:[56, 19] Operation: 31-12=19 Exploring Operation: 56-31=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 10:[12, 25] Operation: 56-31=25 Moving to Node #0,0,1 Current State: 10:[12, 25], Operations: ['79-23=56', '56-31=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[56, 19], Operations: ['79-23=56', '31-12=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,10 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
[ 8, 67, 93, 93 ]
59
[ "67-8=59", "93-93=0", "59+0=59" ]
Current State: 59:[8, 67, 93, 93], Operations: [] Exploring Operation: 67-8=59, Resulting Numbers: [93, 93, 59] Generated Node #2: [93, 93, 59] from Operation: 67-8=59 Current State: 59:[93, 93, 59], Operations: ['67-8=59'] Exploring Operation: 93-93=0, Resulting Numbers: [59, 0] Generated Node #3: [59, 0] from Operation: 93-93=0 Current State: 59:[59, 0], Operations: ['67-8=59', '93-93=0'] Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[8, 67, 93, 93], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [67, 93, 85] Generated Node #0,0: 59:[67, 93, 85] Operation: 93-8=85 Exploring Operation: 93-8=85, Resulting Numbers: [67, 93, 85] Generated Node #0,1: 59:[67, 93, 85] Operation: 93-8=85 Exploring Operation: 67-8=59, Resulting Numbers: [93, 93, 59] Generated Node #0,2: 59:[93, 93, 59] Operation: 67-8=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[67, 93, 85], Operations: ['93-8=85'] Exploring Operation: 85-67=18, Resulting Numbers: [93, 18] Generated Node #0,0,0: 59:[93, 18] Operation: 85-67=18 Exploring Operation: 93-67=26, Resulting Numbers: [85, 26] Generated Node #0,0,1: 59:[85, 26] Operation: 93-67=26 Exploring Operation: 93-85=8, Resulting Numbers: [67, 8] Generated Node #0,0,2: 59:[67, 8] Operation: 93-85=8 Moving to Node #0,0,1 Current State: 59:[85, 26], Operations: ['93-8=85', '93-67=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[8, 67, 93, 93], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [67, 93, 85] Generated Node #0,0: 59:[67, 93, 85] Operation: 93-8=85 Moving to Node #0,0 Current State: 59:[67, 93, 85], Operations: ['93-8=85'] Exploring Operation: 93-67=26, Resulting Numbers: [85, 26] Generated Node #0,0,1: 59:[85, 26] Operation: 93-67=26 Moving to Node #0,0,1 Current State: 59:[85, 26], Operations: ['93-8=85', '93-67=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 18, 32, 85, 89 ]
46
[ "18+32=50", "89-85=4", "50-4=46" ]
Current State: 46:[18, 32, 85, 89], Operations: [] Exploring Operation: 18+32=50, Resulting Numbers: [85, 89, 50] Generated Node #2: [85, 89, 50] from Operation: 18+32=50 Current State: 46:[85, 89, 50], Operations: ['18+32=50'] Exploring Operation: 89-85=4, Resulting Numbers: [50, 4] Generated Node #3: [50, 4] from Operation: 89-85=4 Current State: 46:[50, 4], Operations: ['18+32=50', '89-85=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 32, 85, 89], Operations: [] Exploring Operation: 85-32=53, Resulting Numbers: [18, 89, 53] Generated Node #0,0: 46:[18, 89, 53] Operation: 85-32=53 Exploring Operation: 89-85=4, Resulting Numbers: [18, 32, 4] Generated Node #0,1: 46:[18, 32, 4] Operation: 89-85=4 Moving to Node #0,1 Current State: 46:[18, 32, 4], Operations: ['89-85=4'] Exploring Operation: 18+4=22, Resulting Numbers: [32, 22] Generated Node #0,1,0: 46:[32, 22] Operation: 18+4=22 Exploring Operation: 18+32=50, Resulting Numbers: [4, 50] Generated Node #0,1,1: 46:[4, 50] Operation: 18+32=50 Moving to Node #0,0 Current State: 46:[18, 89, 53], Operations: ['85-32=53'] Exploring Operation: 89-53=36, Resulting Numbers: [18, 36] Generated Node #0,0,0: 46:[18, 36] Operation: 89-53=36 Exploring Operation: 89-18=71, Resulting Numbers: [53, 71] Generated Node #0,0,1: 46:[53, 71] Operation: 89-18=71 Moving to Node #0,1,1 Current State: 46:[4, 50], Operations: ['89-85=4', '18+32=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[18, 32, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [18, 32, 4] Generated Node #0,1: 46:[18, 32, 4] Operation: 89-85=4 Moving to Node #0,1 Current State: 46:[18, 32, 4], Operations: ['89-85=4'] Exploring Operation: 18+32=50, Resulting Numbers: [4, 50] Generated Node #0,1,1: 46:[4, 50] Operation: 18+32=50 Moving to Node #0,1,1 Current State: 46:[4, 50], Operations: ['89-85=4', '18+32=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 75, 36, 20, 71 ]
64
[ "75*36=2700", "2700/20=135", "135-71=64" ]
Current State: 64:[75, 36, 20, 71], Operations: [] Exploring Operation: 75*36=2700, Resulting Numbers: [20, 71, 2700] Generated Node #2: [20, 71, 2700] from Operation: 75*36=2700 Current State: 64:[20, 71, 2700], Operations: ['75*36=2700'] Exploring Operation: 2700/20=135, Resulting Numbers: [71, 135] Generated Node #3: [71, 135] from Operation: 2700/20=135 Current State: 64:[71, 135], Operations: ['75*36=2700', '2700/20=135'] Exploring Operation: 135-71=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[75, 36, 20, 71], Operations: [] Exploring Operation: 36-20=16, Resulting Numbers: [75, 71, 16] Generated Node #0,0: 64:[75, 71, 16] Operation: 36-20=16 Exploring Operation: 75-71=4, Resulting Numbers: [36, 20, 4] Generated Node #0,1: 64:[36, 20, 4] Operation: 75-71=4 Exploring Operation: 75-36=39, Resulting Numbers: [20, 71, 39] Generated Node #0,2: 64:[20, 71, 39] Operation: 75-36=39 Exploring Operation: 71-36=35, Resulting Numbers: [75, 20, 35] Generated Node #0,3: 64:[75, 20, 35] Operation: 71-36=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[36, 20, 4], Operations: ['75-71=4'] Exploring Operation: 36-20=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 64:[4, 16] Operation: 36-20=16 Exploring Operation: 36/4=9, Resulting Numbers: [20, 9] Generated Node #0,1,1: 64:[20, 9] Operation: 36/4=9 Exploring Operation: 20-4=16, Resulting Numbers: [36, 16] Generated Node #0,1,2: 64:[36, 16] Operation: 20-4=16 Exploring Operation: 36-4=32, Resulting Numbers: [20, 32] Generated Node #0,1,3: 64:[20, 32] Operation: 36-4=32 Moving to Node #0,1,0 Current State: 64:[4, 16], Operations: ['75-71=4', '36-20=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[75, 36, 20, 71], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [36, 20, 4] Generated Node #0,1: 64:[36, 20, 4] Operation: 75-71=4 Moving to Node #0,1 Current State: 64:[36, 20, 4], Operations: ['75-71=4'] Exploring Operation: 36-20=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 64:[4, 16] Operation: 36-20=16 Moving to Node #0,1,0 Current State: 64:[4, 16], Operations: ['75-71=4', '36-20=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 43, 50, 61, 47 ]
79
[ "43+50=93", "61-47=14", "93-14=79" ]
Current State: 79:[43, 50, 61, 47], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [61, 47, 93] Generated Node #2: [61, 47, 93] from Operation: 43+50=93 Current State: 79:[61, 47, 93], Operations: ['43+50=93'] Exploring Operation: 61-47=14, Resulting Numbers: [93, 14] Generated Node #3: [93, 14] from Operation: 61-47=14 Current State: 79:[93, 14], Operations: ['43+50=93', '61-47=14'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[43, 50, 61, 47], Operations: [] Exploring Operation: 43+50=93, Resulting Numbers: [61, 47, 93] Generated Node #0,0: 79:[61, 47, 93] Operation: 43+50=93 Exploring Operation: 43+47=90, Resulting Numbers: [50, 61, 90] Generated Node #0,1: 79:[50, 61, 90] Operation: 43+47=90 Exploring Operation: 50+47=97, Resulting Numbers: [43, 61, 97] Generated Node #0,2: 79:[43, 61, 97] Operation: 50+47=97 Exploring Operation: 61+47=108, Resulting Numbers: [43, 50, 108] Generated Node #0,3: 79:[43, 50, 108] Operation: 61+47=108 Exploring Operation: 43+61=104, Resulting Numbers: [50, 47, 104] Generated Node #0,4: 79:[50, 47, 104] Operation: 43+61=104 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[50, 61, 90], Operations: ['43+47=90'] Exploring Operation: 50+61=111, Resulting Numbers: [90, 111] Generated Node #0,1,0: 79:[90, 111] Operation: 50+61=111 Exploring Operation: 61-50=11, Resulting Numbers: [90, 11] Generated Node #0,1,1: 79:[90, 11] Operation: 61-50=11 Exploring Operation: 90-61=29, Resulting Numbers: [50, 29] Generated Node #0,1,2: 79:[50, 29] Operation: 90-61=29 Exploring Operation: 50+90=140, Resulting Numbers: [61, 140] Generated Node #0,1,3: 79:[61, 140] Operation: 50+90=140 Exploring Operation: 90-50=40, Resulting Numbers: [61, 40] Generated Node #0,1,4: 79:[61, 40] Operation: 90-50=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[90, 111], Operations: ['43+47=90', '50+61=111'] Exploring Operation: 111-90=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 90*111=9990, Resulting Numbers: [9990] 9990,79 unequal: No Solution Exploring Operation: 90+111=201, Resulting Numbers: [201] 201,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 79:[61, 40], Operations: ['43+47=90', '90-50=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,79 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[90, 11], Operations: ['43+47=90', '61-50=11'] Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,79 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[43, 50, 61, 47], Operations: [] Exploring Operation: 43+47=90, Resulting Numbers: [50, 61, 90] Generated Node #0,1: 79:[50, 61, 90] Operation: 43+47=90 Moving to Node #0,1 Current State: 79:[50, 61, 90], Operations: ['43+47=90'] Exploring Operation: 61-50=11, Resulting Numbers: [90, 11] Generated Node #0,1,1: 79:[90, 11] Operation: 61-50=11 Moving to Node #0,1,1 Current State: 79:[90, 11], Operations: ['43+47=90', '61-50=11'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 76, 21, 13, 16 ]
100
[ "76+21=97", "16-13=3", "97+3=100" ]
Current State: 100:[76, 21, 13, 16], Operations: [] Exploring Operation: 76+21=97, Resulting Numbers: [13, 16, 97] Generated Node #2: [13, 16, 97] from Operation: 76+21=97 Current State: 100:[13, 16, 97], Operations: ['76+21=97'] Exploring Operation: 16-13=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 16-13=3 Current State: 100:[97, 3], Operations: ['76+21=97', '16-13=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[76, 21, 13, 16], Operations: [] Exploring Operation: 76-16=60, Resulting Numbers: [21, 13, 60] Generated Node #0,0: 100:[21, 13, 60] Operation: 76-16=60 Exploring Operation: 76+13=89, Resulting Numbers: [21, 16, 89] Generated Node #0,1: 100:[21, 16, 89] Operation: 76+13=89 Exploring Operation: 76+21=97, Resulting Numbers: [13, 16, 97] Generated Node #0,2: 100:[13, 16, 97] Operation: 76+21=97 Exploring Operation: 76-21=55, Resulting Numbers: [13, 16, 55] Generated Node #0,3: 100:[13, 16, 55] Operation: 76-21=55 Exploring Operation: 76+16=92, Resulting Numbers: [21, 13, 92] Generated Node #0,4: 100:[21, 13, 92] Operation: 76+16=92 Moving to Node #0,2 Current State: 100:[13, 16, 97], Operations: ['76+21=97'] Exploring Operation: 13+97=110, Resulting Numbers: [16, 110] Generated Node #0,2,0: 100:[16, 110] Operation: 13+97=110 Exploring Operation: 16+97=113, Resulting Numbers: [13, 113] Generated Node #0,2,1: 100:[13, 113] Operation: 16+97=113 Exploring Operation: 97-13=84, Resulting Numbers: [16, 84] Generated Node #0,2,2: 100:[16, 84] Operation: 97-13=84 Exploring Operation: 16-13=3, Resulting Numbers: [97, 3] Generated Node #0,2,3: 100:[97, 3] Operation: 16-13=3 Exploring Operation: 13+16=29, Resulting Numbers: [97, 29] Generated Node #0,2,4: 100:[97, 29] Operation: 13+16=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[97, 3], Operations: ['76+21=97', '16-13=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[76, 21, 13, 16], Operations: [] Exploring Operation: 76+21=97, Resulting Numbers: [13, 16, 97] Generated Node #0,2: 100:[13, 16, 97] Operation: 76+21=97 Moving to Node #0,2 Current State: 100:[13, 16, 97], Operations: ['76+21=97'] Exploring Operation: 16-13=3, Resulting Numbers: [97, 3] Generated Node #0,2,3: 100:[97, 3] Operation: 16-13=3 Moving to Node #0,2,3 Current State: 100:[97, 3], Operations: ['76+21=97', '16-13=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 13, 52, 62, 37 ]
31
[ "52-13=39", "39-37=2", "62/2=31" ]
Current State: 31:[13, 52, 62, 37], Operations: [] Exploring Operation: 52-13=39, Resulting Numbers: [62, 37, 39] Generated Node #2: [62, 37, 39] from Operation: 52-13=39 Current State: 31:[62, 37, 39], Operations: ['52-13=39'] Exploring Operation: 39-37=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 39-37=2 Current State: 31:[62, 2], Operations: ['52-13=39', '39-37=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[13, 52, 62, 37], Operations: [] Exploring Operation: 62-37=25, Resulting Numbers: [13, 52, 25] Generated Node #0,0: 31:[13, 52, 25] Operation: 62-37=25 Exploring Operation: 52-13=39, Resulting Numbers: [62, 37, 39] Generated Node #0,1: 31:[62, 37, 39] Operation: 52-13=39 Exploring Operation: 62-52=10, Resulting Numbers: [13, 37, 10] Generated Node #0,2: 31:[13, 37, 10] Operation: 62-52=10 Exploring Operation: 62-13=49, Resulting Numbers: [52, 37, 49] Generated Node #0,3: 31:[52, 37, 49] Operation: 62-13=49 Moving to Node #0,0 Current State: 31:[13, 52, 25], Operations: ['62-37=25'] Exploring Operation: 52-25=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 31:[13, 27] Operation: 52-25=27 Exploring Operation: 13+25=38, Resulting Numbers: [52, 38] Generated Node #0,0,1: 31:[52, 38] Operation: 13+25=38 Exploring Operation: 52/13=4, Resulting Numbers: [25, 4] Generated Node #0,0,2: 31:[25, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [25, 39] Generated Node #0,0,3: 31:[25, 39] Operation: 52-13=39 Moving to Node #0,2 Current State: 31:[13, 37, 10], Operations: ['62-52=10'] Exploring Operation: 37-13=24, Resulting Numbers: [10, 24] Generated Node #0,2,0: 31:[10, 24] Operation: 37-13=24 Exploring Operation: 37-10=27, Resulting Numbers: [13, 27] Generated Node #0,2,1: 31:[13, 27] Operation: 37-10=27 Exploring Operation: 13+10=23, Resulting Numbers: [37, 23] Generated Node #0,2,2: 31:[37, 23] Operation: 13+10=23 Exploring Operation: 13-10=3, Resulting Numbers: [37, 3] Generated Node #0,2,3: 31:[37, 3] Operation: 13-10=3 Moving to Node #0,1 Current State: 31:[62, 37, 39], Operations: ['52-13=39'] Exploring Operation: 39-37=2, Resulting Numbers: [62, 2] Generated Node #0,1,0: 31:[62, 2] Operation: 39-37=2 Exploring Operation: 62-37=25, Resulting Numbers: [39, 25] Generated Node #0,1,1: 31:[39, 25] Operation: 62-37=25 Exploring Operation: 62-39=23, Resulting Numbers: [37, 23] Generated Node #0,1,2: 31:[37, 23] Operation: 62-39=23 Exploring Operation: 62+37=99, Resulting Numbers: [39, 99] Generated Node #0,1,3: 31:[39, 99] Operation: 62+37=99 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[39, 25], Operations: ['52-13=39', '62-37=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[37, 23], Operations: ['52-13=39', '62-39=23'] Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,31 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[62, 2], Operations: ['52-13=39', '39-37=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[13, 52, 62, 37], Operations: [] Exploring Operation: 52-13=39, Resulting Numbers: [62, 37, 39] Generated Node #0,1: 31:[62, 37, 39] Operation: 52-13=39 Moving to Node #0,1 Current State: 31:[62, 37, 39], Operations: ['52-13=39'] Exploring Operation: 39-37=2, Resulting Numbers: [62, 2] Generated Node #0,1,0: 31:[62, 2] Operation: 39-37=2 Moving to Node #0,1,0 Current State: 31:[62, 2], Operations: ['52-13=39', '39-37=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 48, 51, 11, 12 ]
98
[ "48+51=99", "12-11=1", "99-1=98" ]
Current State: 98:[48, 51, 11, 12], Operations: [] Exploring Operation: 48+51=99, Resulting Numbers: [11, 12, 99] Generated Node #2: [11, 12, 99] from Operation: 48+51=99 Current State: 98:[11, 12, 99], Operations: ['48+51=99'] Exploring Operation: 12-11=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 12-11=1 Current State: 98:[99, 1], Operations: ['48+51=99', '12-11=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[48, 51, 11, 12], Operations: [] Exploring Operation: 48+51=99, Resulting Numbers: [11, 12, 99] Generated Node #0,0: 98:[11, 12, 99] Operation: 48+51=99 Exploring Operation: 51-48=3, Resulting Numbers: [11, 12, 3] Generated Node #0,1: 98:[11, 12, 3] Operation: 51-48=3 Exploring Operation: 48/12=4, Resulting Numbers: [51, 11, 4] Generated Node #0,2: 98:[51, 11, 4] Operation: 48/12=4 Exploring Operation: 12-11=1, Resulting Numbers: [48, 51, 1] Generated Node #0,3: 98:[48, 51, 1] Operation: 12-11=1 Moving to Node #0,3 Current State: 98:[48, 51, 1], Operations: ['12-11=1'] Exploring Operation: 51-48=3, Resulting Numbers: [1, 3] Generated Node #0,3,0: 98:[1, 3] Operation: 51-48=3 Exploring Operation: 51-1=50, Resulting Numbers: [48, 50] Generated Node #0,3,1: 98:[48, 50] Operation: 51-1=50 Exploring Operation: 48+51=99, Resulting Numbers: [1, 99] Generated Node #0,3,2: 98:[1, 99] Operation: 48+51=99 Exploring Operation: 48+1=49, Resulting Numbers: [51, 49] Generated Node #0,3,3: 98:[51, 49] Operation: 48+1=49 Moving to Node #0,1 Current State: 98:[11, 12, 3], Operations: ['51-48=3'] Exploring Operation: 12-11=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 98:[3, 1] Operation: 12-11=1 Exploring Operation: 11-3=8, Resulting Numbers: [12, 8] Generated Node #0,1,1: 98:[12, 8] Operation: 11-3=8 Exploring Operation: 12+3=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 98:[11, 15] Operation: 12+3=15 Exploring Operation: 11+3=14, Resulting Numbers: [12, 14] Generated Node #0,1,3: 98:[12, 14] Operation: 11+3=14 Moving to Node #0,0 Current State: 98:[11, 12, 99], Operations: ['48+51=99'] Exploring Operation: 11+12=23, Resulting Numbers: [99, 23] Generated Node #0,0,0: 98:[99, 23] Operation: 11+12=23 Exploring Operation: 12-11=1, Resulting Numbers: [99, 1] Generated Node #0,0,1: 98:[99, 1] Operation: 12-11=1 Exploring Operation: 99/11=9, Resulting Numbers: [12, 9] Generated Node #0,0,2: 98:[12, 9] Operation: 99/11=9 Exploring Operation: 99-11=88, Resulting Numbers: [12, 88] Generated Node #0,0,3: 98:[12, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[99, 1], Operations: ['48+51=99', '12-11=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[48, 51, 11, 12], Operations: [] Exploring Operation: 48+51=99, Resulting Numbers: [11, 12, 99] Generated Node #0,0: 98:[11, 12, 99] Operation: 48+51=99 Moving to Node #0,0 Current State: 98:[11, 12, 99], Operations: ['48+51=99'] Exploring Operation: 12-11=1, Resulting Numbers: [99, 1] Generated Node #0,0,1: 98:[99, 1] Operation: 12-11=1 Moving to Node #0,0,1 Current State: 98:[99, 1], Operations: ['48+51=99', '12-11=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 5, 3, 14, 37 ]
43
[ "5+3=8", "14+37=51", "51-8=43" ]
Current State: 43:[5, 3, 14, 37], Operations: [] Exploring Operation: 5+3=8, Resulting Numbers: [14, 37, 8] Generated Node #2: [14, 37, 8] from Operation: 5+3=8 Current State: 43:[14, 37, 8], Operations: ['5+3=8'] Exploring Operation: 14+37=51, Resulting Numbers: [8, 51] Generated Node #3: [8, 51] from Operation: 14+37=51 Current State: 43:[8, 51], Operations: ['5+3=8', '14+37=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[5, 3, 14, 37], Operations: [] Exploring Operation: 5+37=42, Resulting Numbers: [3, 14, 42] Generated Node #0,0: 43:[3, 14, 42] Operation: 5+37=42 Exploring Operation: 5*3=15, Resulting Numbers: [14, 37, 15] Generated Node #0,1: 43:[14, 37, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [14, 37, 8] Generated Node #0,2: 43:[14, 37, 8] Operation: 5+3=8 Exploring Operation: 5+14=19, Resulting Numbers: [3, 37, 19] Generated Node #0,3: 43:[3, 37, 19] Operation: 5+14=19 Exploring Operation: 3*14=42, Resulting Numbers: [5, 37, 42] Generated Node #0,4: 43:[5, 37, 42] Operation: 3*14=42 Start Sub Search at level 1: Moving to Node #0,4 Current State: 43:[5, 37, 42], Operations: ['3*14=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37, 37] Generated Node #0,4,0: 43:[37, 37] Operation: 42-5=37 Exploring Operation: 5+37=42, Resulting Numbers: [42, 42] Generated Node #0,4,1: 43:[42, 42] Operation: 5+37=42 Exploring Operation: 37+42=79, Resulting Numbers: [5, 79] Generated Node #0,4,2: 43:[5, 79] Operation: 37+42=79 Exploring Operation: 5+42=47, Resulting Numbers: [37, 47] Generated Node #0,4,3: 43:[37, 47] Operation: 5+42=47 Exploring Operation: 37-5=32, Resulting Numbers: [42, 32] Generated Node #0,4,4: 43:[42, 32] Operation: 37-5=32 Moving to Node #0,4,1 Current State: 43:[42, 42], Operations: ['3*14=42', '5+37=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,43 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[37, 47], Operations: ['3*14=42', '5+42=47'] Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[37, 37], Operations: ['3*14=42', '42-5=37'] Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,43 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[42, 32], Operations: ['3*14=42', '37-5=32'] Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,43 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[5, 79], Operations: ['3*14=42', '37+42=79'] Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,43 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[14, 37, 15], Operations: ['5*3=15'] Exploring Operation: 37+15=52, Resulting Numbers: [14, 52] Generated Node #0,1,0: 43:[14, 52] Operation: 37+15=52 Exploring Operation: 15-14=1, Resulting Numbers: [37, 1] Generated Node #0,1,1: 43:[37, 1] Operation: 15-14=1 Exploring Operation: 14+15=29, Resulting Numbers: [37, 29] Generated Node #0,1,2: 43:[37, 29] Operation: 14+15=29 Exploring Operation: 37-14=23, Resulting Numbers: [15, 23] Generated Node #0,1,3: 43:[15, 23] Operation: 37-14=23 Exploring Operation: 14+37=51, Resulting Numbers: [15, 51] Generated Node #0,1,4: 43:[15, 51] Operation: 14+37=51 Moving to Node #0,1,2 Current State: 43:[37, 29], Operations: ['5*3=15', '14+15=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[15, 51], Operations: ['5*3=15', '14+37=51'] Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,43 unequal: No Solution Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[14, 52], Operations: ['5*3=15', '37+15=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[37, 1], Operations: ['5*3=15', '15-14=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[15, 23], Operations: ['5*3=15', '37-14=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[3, 14, 42], Operations: ['5+37=42'] Exploring Operation: 3+14=17, Resulting Numbers: [42, 17] Generated Node #0,0,0: 43:[42, 17] Operation: 3+14=17 Exploring Operation: 3*14=42, Resulting Numbers: [42, 42] Generated Node #0,0,1: 43:[42, 42] Operation: 3*14=42 Exploring Operation: 3+42=45, Resulting Numbers: [14, 45] Generated Node #0,0,2: 43:[14, 45] Operation: 3+42=45 Exploring Operation: 14-3=11, Resulting Numbers: [42, 11] Generated Node #0,0,3: 43:[42, 11] Operation: 14-3=11 Exploring Operation: 42-3=39, Resulting Numbers: [14, 39] Generated Node #0,0,4: 43:[14, 39] Operation: 42-3=39 Moving to Node #0,0,1 Current State: 43:[42, 42], Operations: ['5+37=42', '3*14=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,43 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[42, 17], Operations: ['5+37=42', '3+14=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,43 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[14, 45], Operations: ['5+37=42', '3+42=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,43 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[42, 11], Operations: ['5+37=42', '14-3=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,43 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[14, 39], Operations: ['5+37=42', '42-3=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,43 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[14, 37, 8], Operations: ['5+3=8'] Exploring Operation: 14+8=22, Resulting Numbers: [37, 22] Generated Node #0,2,0: 43:[37, 22] Operation: 14+8=22 Exploring Operation: 14+37=51, Resulting Numbers: [8, 51] Generated Node #0,2,1: 43:[8, 51] Operation: 14+37=51 Exploring Operation: 37+8=45, Resulting Numbers: [14, 45] Generated Node #0,2,2: 43:[14, 45] Operation: 37+8=45 Exploring Operation: 37-8=29, Resulting Numbers: [14, 29] Generated Node #0,2,3: 43:[14, 29] Operation: 37-8=29 Exploring Operation: 14-8=6, Resulting Numbers: [37, 6] Generated Node #0,2,4: 43:[37, 6] Operation: 14-8=6 Moving to Node #0,2,0 Current State: 43:[37, 22], Operations: ['5+3=8', '14+8=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,43 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[14, 45], Operations: ['5+3=8', '37+8=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[8, 51], Operations: ['5+3=8', '14+37=51'] Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 8*51=408, Resulting Numbers: [408] 408,43 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[5, 3, 14, 37], Operations: [] Exploring Operation: 5+3=8, Resulting Numbers: [14, 37, 8] Generated Node #0,2: 43:[14, 37, 8] Operation: 5+3=8 Moving to Node #0,2 Current State: 43:[14, 37, 8], Operations: ['5+3=8'] Exploring Operation: 14+37=51, Resulting Numbers: [8, 51] Generated Node #0,2,1: 43:[8, 51] Operation: 14+37=51 Moving to Node #0,2,1 Current State: 43:[8, 51], Operations: ['5+3=8', '14+37=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.924479
hs_5
mult_heuristic
[ 77, 70, 68, 63 ]
57
[ "70-63=7", "77/7=11", "68-11=57" ]
Current State: 57:[77, 70, 68, 63], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [77, 68, 7] Generated Node #2: [77, 68, 7] from Operation: 70-63=7 Current State: 57:[77, 68, 7], Operations: ['70-63=7'] Exploring Operation: 77/7=11, Resulting Numbers: [68, 11] Generated Node #3: [68, 11] from Operation: 77/7=11 Current State: 57:[68, 11], Operations: ['70-63=7', '77/7=11'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[77, 70, 68, 63], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [68, 63, 7] Generated Node #0,0: 57:[68, 63, 7] Operation: 77-70=7 Exploring Operation: 77-68=9, Resulting Numbers: [70, 63, 9] Generated Node #0,1: 57:[70, 63, 9] Operation: 77-68=9 Moving to Node #0,0 Current State: 57:[68, 63, 7], Operations: ['77-70=7'] Exploring Operation: 68-7=61, Resulting Numbers: [63, 61] Generated Node #0,0,0: 57:[63, 61] Operation: 68-7=61 Exploring Operation: 68-63=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 57:[7, 5] Operation: 68-63=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[7, 5], Operations: ['77-70=7', '68-63=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[63, 61], Operations: ['77-70=7', '68-7=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,57 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: 57:[70, 63, 9], Operations: ['77-68=9'] Exploring Operation: 70-63=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 57:[9, 7] Operation: 70-63=7 Exploring Operation: 70-9=61, Resulting Numbers: [63, 61] Generated Node #0,1,1: 57:[63, 61] Operation: 70-9=61 Moving to Node #0,1,0 Current State: 57:[9, 7], Operations: ['77-68=9', '70-63=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[63, 61], Operations: ['77-68=9', '70-9=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 1, 15, 27 ]
49
[ "5*15=75", "27-1=26", "75-26=49" ]
Current State: 49:[5, 1, 15, 27], Operations: [] Exploring Operation: 5*15=75, Resulting Numbers: [1, 27, 75] Generated Node #2: [1, 27, 75] from Operation: 5*15=75 Current State: 49:[1, 27, 75], Operations: ['5*15=75'] Exploring Operation: 27-1=26, Resulting Numbers: [75, 26] Generated Node #3: [75, 26] from Operation: 27-1=26 Current State: 49:[75, 26], Operations: ['5*15=75', '27-1=26'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[5, 1, 15, 27], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [5, 1, 42] Generated Node #0,0: 49:[5, 1, 42] Operation: 15+27=42 Exploring Operation: 5+1=6, Resulting Numbers: [15, 27, 6] Generated Node #0,1: 49:[15, 27, 6] Operation: 5+1=6 Exploring Operation: 15-5=10, Resulting Numbers: [1, 27, 10] Generated Node #0,2: 49:[1, 27, 10] Operation: 15-5=10 Exploring Operation: 27-15=12, Resulting Numbers: [5, 1, 12] Generated Node #0,3: 49:[5, 1, 12] Operation: 27-15=12 Moving to Node #0,3 Current State: 49:[5, 1, 12], Operations: ['27-15=12'] Exploring Operation: 12-1=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 49:[5, 11] Operation: 12-1=11 Exploring Operation: 12-5=7, Resulting Numbers: [1, 7] Generated Node #0,3,1: 49:[1, 7] Operation: 12-5=7 Exploring Operation: 5+1=6, Resulting Numbers: [12, 6] Generated Node #0,3,2: 49:[12, 6] Operation: 5+1=6 Exploring Operation: 5*1=5, Resulting Numbers: [12, 5] Generated Node #0,3,3: 49:[12, 5] Operation: 5*1=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 49:[5, 11], Operations: ['27-15=12', '12-1=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 49:[1, 7], Operations: ['27-15=12', '12-5=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 49:[12, 6], Operations: ['27-15=12', '5+1=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[12, 5], Operations: ['27-15=12', '5*1=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[5, 1, 42], Operations: ['15+27=42'] Exploring Operation: 1+42=43, Resulting Numbers: [5, 43] Generated Node #0,0,0: 49:[5, 43] Operation: 1+42=43 Exploring Operation: 5*1=5, Resulting Numbers: [42, 5] Generated Node #0,0,1: 49:[42, 5] Operation: 5*1=5 Exploring Operation: 5+1=6, Resulting Numbers: [42, 6] Generated Node #0,0,2: 49:[42, 6] Operation: 5+1=6 Exploring Operation: 5+42=47, Resulting Numbers: [1, 47] Generated Node #0,0,3: 49:[1, 47] Operation: 5+42=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[5, 43], Operations: ['15+27=42', '1+42=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[42, 6], Operations: ['15+27=42', '5+1=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 49:[1, 47], Operations: ['15+27=42', '5+42=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[42, 5], Operations: ['15+27=42', '5*1=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,49 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: 49:[1, 27, 10], Operations: ['15-5=10'] Exploring Operation: 27-1=26, Resulting Numbers: [10, 26] Generated Node #0,2,0: 49:[10, 26] Operation: 27-1=26 Exploring Operation: 27-10=17, Resulting Numbers: [1, 17] Generated Node #0,2,1: 49:[1, 17] Operation: 27-10=17 Exploring Operation: 10-1=9, Resulting Numbers: [27, 9] Generated Node #0,2,2: 49:[27, 9] Operation: 10-1=9 Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,2,3: 49:[1, 37] Operation: 27+10=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[1, 17], Operations: ['15-5=10', '27-10=17'] Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[1, 37], Operations: ['15-5=10', '27+10=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[10, 26], Operations: ['15-5=10', '27-1=26'] Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,49 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[27, 9], Operations: ['15-5=10', '10-1=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,49 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,49 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: 49:[15, 27, 6], Operations: ['5+1=6'] Exploring Operation: 27-15=12, Resulting Numbers: [6, 12] Generated Node #0,1,0: 49:[6, 12] Operation: 27-15=12 Exploring Operation: 15-6=9, Resulting Numbers: [27, 9] Generated Node #0,1,1: 49:[27, 9] Operation: 15-6=9 Exploring Operation: 27-6=21, Resulting Numbers: [15, 21] Generated Node #0,1,2: 49:[15, 21] Operation: 27-6=21 Exploring Operation: 15+27=42, Resulting Numbers: [6, 42] Generated Node #0,1,3: 49:[6, 42] Operation: 15+27=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[6, 12], Operations: ['5+1=6', '27-15=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[6, 42], Operations: ['5+1=6', '15+27=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,49 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[27, 9], Operations: ['5+1=6', '15-6=9'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,49 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[15, 21], Operations: ['5+1=6', '27-6=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,49 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
[ 85, 8, 9, 27 ]
31
[ "85+8=93", "27/9=3", "93/3=31" ]
Current State: 31:[85, 8, 9, 27], Operations: [] Exploring Operation: 85+8=93, Resulting Numbers: [9, 27, 93] Generated Node #2: [9, 27, 93] from Operation: 85+8=93 Current State: 31:[9, 27, 93], Operations: ['85+8=93'] Exploring Operation: 27/9=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 27/9=3 Current State: 31:[93, 3], Operations: ['85+8=93', '27/9=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[85, 8, 9, 27], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [9, 27, 77] Generated Node #0,0: 31:[9, 27, 77] Operation: 85-8=77 Exploring Operation: 85-9=76, Resulting Numbers: [8, 27, 76] Generated Node #0,1: 31:[8, 27, 76] Operation: 85-9=76 Exploring Operation: 85-27=58, Resulting Numbers: [8, 9, 58] Generated Node #0,2: 31:[8, 9, 58] Operation: 85-27=58 Moving to Node #0,0 Current State: 31:[9, 27, 77], Operations: ['85-8=77'] Exploring Operation: 77-9=68, Resulting Numbers: [27, 68] Generated Node #0,0,0: 31:[27, 68] Operation: 77-9=68 Exploring Operation: 9+27=36, Resulting Numbers: [77, 36] Generated Node #0,0,1: 31:[77, 36] Operation: 9+27=36 Exploring Operation: 77-27=50, Resulting Numbers: [9, 50] Generated Node #0,0,2: 31:[9, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[27, 68], Operations: ['85-8=77', '77-9=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[9, 50], Operations: ['85-8=77', '77-27=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,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,1 Current State: 31:[77, 36], Operations: ['85-8=77', '9+27=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,31 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,31 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[8, 27, 76], Operations: ['85-9=76'] Exploring Operation: 8+27=35, Resulting Numbers: [76, 35] Generated Node #0,1,0: 31:[76, 35] Operation: 8+27=35 Exploring Operation: 76-27=49, Resulting Numbers: [8, 49] Generated Node #0,1,1: 31:[8, 49] Operation: 76-27=49 Exploring Operation: 76-8=68, Resulting Numbers: [27, 68] Generated Node #0,1,2: 31:[27, 68] Operation: 76-8=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[8, 49], Operations: ['85-9=76', '76-27=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,31 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[27, 68], Operations: ['85-9=76', '76-8=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[76, 35], Operations: ['85-9=76', '8+27=35'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,31 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 31:[8, 9, 58], Operations: ['85-27=58'] Exploring Operation: 8+9=17, Resulting Numbers: [58, 17] Generated Node #0,2,0: 31:[58, 17] Operation: 8+9=17 Exploring Operation: 58-8=50, Resulting Numbers: [9, 50] Generated Node #0,2,1: 31:[9, 50] Operation: 58-8=50 Exploring Operation: 58-9=49, Resulting Numbers: [8, 49] Generated Node #0,2,2: 31:[8, 49] Operation: 58-9=49 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[58, 17], Operations: ['85-27=58', '8+9=17'] Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[9, 50], Operations: ['85-27=58', '58-8=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[8, 49], Operations: ['85-27=58', '58-9=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,31 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,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
[ 55, 5, 4, 70 ]
79
[ "70-55=15", "5*15=75", "4+75=79" ]
Current State: 79:[55, 5, 4, 70], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [5, 4, 15] Generated Node #2: [5, 4, 15] from Operation: 70-55=15 Current State: 79:[5, 4, 15], Operations: ['70-55=15'] Exploring Operation: 5*15=75, Resulting Numbers: [4, 75] Generated Node #3: [4, 75] from Operation: 5*15=75 Current State: 79:[4, 75], Operations: ['70-55=15', '5*15=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[55, 5, 4, 70], Operations: [] Exploring Operation: 55+4=59, Resulting Numbers: [5, 70, 59] Generated Node #0,0: 79:[5, 70, 59] Operation: 55+4=59 Exploring Operation: 5*4=20, Resulting Numbers: [55, 70, 20] Generated Node #0,1: 79:[55, 70, 20] Operation: 5*4=20 Exploring Operation: 5+4=9, Resulting Numbers: [55, 70, 9] Generated Node #0,2: 79:[55, 70, 9] Operation: 5+4=9 Exploring Operation: 55+5=60, Resulting Numbers: [4, 70, 60] Generated Node #0,3: 79:[4, 70, 60] Operation: 55+5=60 Moving to Node #0,1 Current State: 79:[55, 70, 20], Operations: ['5*4=20'] Exploring Operation: 55-20=35, Resulting Numbers: [70, 35] Generated Node #0,1,0: 79:[70, 35] Operation: 55-20=35 Exploring Operation: 55+20=75, Resulting Numbers: [70, 75] Generated Node #0,1,1: 79:[70, 75] Operation: 55+20=75 Exploring Operation: 70+20=90, Resulting Numbers: [55, 90] Generated Node #0,1,2: 79:[55, 90] Operation: 70+20=90 Exploring Operation: 70-20=50, Resulting Numbers: [55, 50] Generated Node #0,1,3: 79:[55, 50] Operation: 70-20=50 Moving to Node #0,2 Current State: 79:[55, 70, 9], Operations: ['5+4=9'] Exploring Operation: 55+9=64, Resulting Numbers: [70, 64] Generated Node #0,2,0: 79:[70, 64] Operation: 55+9=64 Exploring Operation: 55-9=46, Resulting Numbers: [70, 46] Generated Node #0,2,1: 79:[70, 46] Operation: 55-9=46 Exploring Operation: 70-9=61, Resulting Numbers: [55, 61] Generated Node #0,2,2: 79:[55, 61] Operation: 70-9=61 Exploring Operation: 70+9=79, Resulting Numbers: [55, 79] Generated Node #0,2,3: 79:[55, 79] Operation: 70+9=79 Moving to Node #0,0 Current State: 79:[5, 70, 59], Operations: ['55+4=59'] Exploring Operation: 5+59=64, Resulting Numbers: [70, 64] Generated Node #0,0,0: 79:[70, 64] Operation: 5+59=64 Exploring Operation: 5+70=75, Resulting Numbers: [59, 75] Generated Node #0,0,1: 79:[59, 75] Operation: 5+70=75 Exploring Operation: 70-5=65, Resulting Numbers: [59, 65] Generated Node #0,0,2: 79:[59, 65] Operation: 70-5=65 Exploring Operation: 59-5=54, Resulting Numbers: [70, 54] Generated Node #0,0,3: 79:[70, 54] Operation: 59-5=54 Moving to Node #0,3 Current State: 79:[4, 70, 60], Operations: ['55+5=60'] Exploring Operation: 70-4=66, Resulting Numbers: [60, 66] Generated Node #0,3,0: 79:[60, 66] Operation: 70-4=66 Exploring Operation: 60-4=56, Resulting Numbers: [70, 56] Generated Node #0,3,1: 79:[70, 56] Operation: 60-4=56 Exploring Operation: 4+60=64, Resulting Numbers: [70, 64] Generated Node #0,3,2: 79:[70, 64] Operation: 4+60=64 Exploring Operation: 4+70=74, Resulting Numbers: [60, 74] Generated Node #0,3,3: 79:[60, 74] Operation: 4+70=74 Moving to Node #0,1,1 Current State: 79:[70, 75], Operations: ['5*4=20', '55+20=75'] Exploring Operation: 70*75=5250, Resulting Numbers: [5250] 5250,79 unequal: No Solution Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[55, 79], Operations: ['5+4=9', '70+9=79'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 55+79=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 55*79=4345, Resulting Numbers: [4345] 4345,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[60, 74], Operations: ['55+5=60', '4+70=74'] Exploring Operation: 60*74=4440, Resulting Numbers: [4440] 4440,79 unequal: No Solution Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 60+74=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[70, 64], Operations: ['55+5=60', '4+60=64'] Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,79 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[70, 64], Operations: ['5+4=9', '55+9=64'] Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,79 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[59, 75], Operations: ['55+4=59', '5+70=75'] Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,79 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[70, 64], Operations: ['55+4=59', '5+59=64'] Exploring Operation: 70+64=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 70*64=4480, Resulting Numbers: [4480] 4480,79 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[60, 66], Operations: ['55+5=60', '70-4=66'] Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[70, 56], Operations: ['55+5=60', '60-4=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,79 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[70, 54], Operations: ['55+4=59', '59-5=54'] Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[59, 65], Operations: ['55+4=59', '70-5=65'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[55, 90], Operations: ['5*4=20', '70+20=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,79 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[55, 61], Operations: ['5+4=9', '70-9=61'] Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 55+61=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 55*61=3355, Resulting Numbers: [3355] 3355,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[70, 46], Operations: ['5+4=9', '55-9=46'] Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,79 unequal: No Solution Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[55, 50], Operations: ['5*4=20', '70-20=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,79 unequal: No Solution Exploring Operation: 55*50=2750, Resulting Numbers: [2750] 2750,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[70, 35], Operations: ['5*4=20', '55-20=35'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,79 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 25, 50, 34, 33 ]
27
[ "50-33=17", "34/17=2", "25+2=27" ]
Current State: 27:[25, 50, 34, 33], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [25, 34, 17] Generated Node #2: [25, 34, 17] from Operation: 50-33=17 Current State: 27:[25, 34, 17], Operations: ['50-33=17'] Exploring Operation: 34/17=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 34/17=2 Current State: 27:[25, 2], Operations: ['50-33=17', '34/17=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[25, 50, 34, 33], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [34, 33, 25] Generated Node #0,0: 27:[34, 33, 25] Operation: 50-25=25 Exploring Operation: 50-34=16, Resulting Numbers: [25, 33, 16] Generated Node #0,1: 27:[25, 33, 16] Operation: 50-34=16 Exploring Operation: 50/25=2, Resulting Numbers: [34, 33, 2] Generated Node #0,2: 27:[34, 33, 2] Operation: 50/25=2 Exploring Operation: 50-33=17, Resulting Numbers: [25, 34, 17] Generated Node #0,3: 27:[25, 34, 17] Operation: 50-33=17 Exploring Operation: 34-33=1, Resulting Numbers: [25, 50, 1] Generated Node #0,4: 27:[25, 50, 1] Operation: 34-33=1 Moving to Node #0,2 Current State: 27:[34, 33, 2], Operations: ['50/25=2'] Exploring Operation: 33-2=31, Resulting Numbers: [34, 31] Generated Node #0,2,0: 27:[34, 31] Operation: 33-2=31 Exploring Operation: 34-33=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 27:[2, 1] Operation: 34-33=1 Exploring Operation: 34/2=17, Resulting Numbers: [33, 17] Generated Node #0,2,2: 27:[33, 17] Operation: 34/2=17 Exploring Operation: 34+2=36, Resulting Numbers: [33, 36] Generated Node #0,2,3: 27:[33, 36] Operation: 34+2=36 Exploring Operation: 34-2=32, Resulting Numbers: [33, 32] Generated Node #0,2,4: 27:[33, 32] Operation: 34-2=32 Moving to Node #0,1 Current State: 27:[25, 33, 16], Operations: ['50-34=16'] Exploring Operation: 33+16=49, Resulting Numbers: [25, 49] Generated Node #0,1,0: 27:[25, 49] Operation: 33+16=49 Exploring Operation: 33-16=17, Resulting Numbers: [25, 17] Generated Node #0,1,1: 27:[25, 17] Operation: 33-16=17 Exploring Operation: 33-25=8, Resulting Numbers: [16, 8] Generated Node #0,1,2: 27:[16, 8] Operation: 33-25=8 Exploring Operation: 25+16=41, Resulting Numbers: [33, 41] Generated Node #0,1,3: 27:[33, 41] Operation: 25+16=41 Exploring Operation: 25-16=9, Resulting Numbers: [33, 9] Generated Node #0,1,4: 27:[33, 9] Operation: 25-16=9 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 27:[33, 9], Operations: ['50-34=16', '25-16=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[16, 8], Operations: ['50-34=16', '33-25=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[25, 17], Operations: ['50-34=16', '33-16=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,27 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[33, 41], Operations: ['50-34=16', '25+16=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,27 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[25, 49], Operations: ['50-34=16', '33+16=49'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,27 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,27 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: 27:[34, 33, 25], Operations: ['50-25=25'] Exploring Operation: 33+25=58, Resulting Numbers: [34, 58] Generated Node #0,0,0: 27:[34, 58] Operation: 33+25=58 Exploring Operation: 34-33=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 27:[25, 1] Operation: 34-33=1 Exploring Operation: 33-25=8, Resulting Numbers: [34, 8] Generated Node #0,0,2: 27:[34, 8] Operation: 33-25=8 Exploring Operation: 34+25=59, Resulting Numbers: [33, 59] Generated Node #0,0,3: 27:[33, 59] Operation: 34+25=59 Exploring Operation: 34-25=9, Resulting Numbers: [33, 9] Generated Node #0,0,4: 27:[33, 9] Operation: 34-25=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[25, 1], Operations: ['50-25=25', '34-33=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,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,4 Current State: 27:[33, 9], Operations: ['50-25=25', '34-25=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,27 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,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,2 Current State: 27:[34, 8], Operations: ['50-25=25', '33-25=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,27 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[34, 58], Operations: ['50-25=25', '33+25=58'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,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,3 Current State: 27:[33, 59], Operations: ['50-25=25', '34+25=59'] Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,27 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 27:[25, 34, 17], Operations: ['50-33=17'] Exploring Operation: 34/17=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 27:[25, 2] Operation: 34/17=2 Exploring Operation: 25-17=8, Resulting Numbers: [34, 8] Generated Node #0,3,1: 27:[34, 8] Operation: 25-17=8 Exploring Operation: 34-17=17, Resulting Numbers: [25, 17] Generated Node #0,3,2: 27:[25, 17] Operation: 34-17=17 Exploring Operation: 25+17=42, Resulting Numbers: [34, 42] Generated Node #0,3,3: 27:[34, 42] Operation: 25+17=42 Exploring Operation: 34-25=9, Resulting Numbers: [17, 9] Generated Node #0,3,4: 27:[17, 9] Operation: 34-25=9 Moving to Node #0,4 Current State: 27:[25, 50, 1], Operations: ['34-33=1'] Exploring Operation: 50/25=2, Resulting Numbers: [1, 2] Generated Node #0,4,0: 27:[1, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [1, 25] Generated Node #0,4,1: 27:[1, 25] Operation: 50-25=25 Exploring Operation: 25+1=26, Resulting Numbers: [50, 26] Generated Node #0,4,2: 27:[50, 26] Operation: 25+1=26 Exploring Operation: 50-1=49, Resulting Numbers: [25, 49] Generated Node #0,4,3: 27:[25, 49] Operation: 50-1=49 Exploring Operation: 25*1=25, Resulting Numbers: [50, 25] Generated Node #0,4,4: 27:[50, 25] Operation: 25*1=25 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 27:[1, 2], Operations: ['34-33=1', '50/25=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 27:[1, 25], Operations: ['34-33=1', '50-25=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[50, 26], Operations: ['34-33=1', '25+1=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 27:[25, 49], Operations: ['34-33=1', '50-1=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,27 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 27:[50, 25], Operations: ['34-33=1', '25*1=25'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,27 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 27:[2, 1], Operations: ['50/25=2', '34-33=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[25, 2], Operations: ['50-33=17', '34/17=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[25, 50, 34, 33], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [25, 34, 17] Generated Node #0,3: 27:[25, 34, 17] Operation: 50-33=17 Moving to Node #0,3 Current State: 27:[25, 34, 17], Operations: ['50-33=17'] Exploring Operation: 34/17=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 27:[25, 2] Operation: 34/17=2 Moving to Node #0,3,0 Current State: 27:[25, 2], Operations: ['50-33=17', '34/17=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.922743
hs_5
sum_heuristic
[ 49, 44, 51, 1 ]
44
[ "51-49=2", "2-1=1", "44*1=44" ]
Current State: 44:[49, 44, 51, 1], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [44, 1, 2] Generated Node #2: [44, 1, 2] from Operation: 51-49=2 Current State: 44:[44, 1, 2], Operations: ['51-49=2'] Exploring Operation: 2-1=1, Resulting Numbers: [44, 1] Generated Node #3: [44, 1] from Operation: 2-1=1 Current State: 44:[44, 1], Operations: ['51-49=2', '2-1=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[49, 44, 51, 1], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [49, 1, 7] Generated Node #0,0: 44:[49, 1, 7] Operation: 51-44=7 Exploring Operation: 49-44=5, Resulting Numbers: [51, 1, 5] Generated Node #0,1: 44:[51, 1, 5] Operation: 49-44=5 Exploring Operation: 51-49=2, Resulting Numbers: [44, 1, 2] Generated Node #0,2: 44:[44, 1, 2] Operation: 51-49=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[44, 1, 2], Operations: ['51-49=2'] Exploring Operation: 44/1=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 44:[2, 44] Operation: 44/1=44 Exploring Operation: 1*2=2, Resulting Numbers: [44, 2] Generated Node #0,2,1: 44:[44, 2] Operation: 1*2=2 Exploring Operation: 44*1=44, Resulting Numbers: [2, 44] Generated Node #0,2,2: 44:[2, 44] Operation: 44*1=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[2, 44], Operations: ['51-49=2', '44/1=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,44 unequal: No Solution No 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: 44:[44, 2], Operations: ['51-49=2', '1*2=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,44 unequal: No Solution No 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: 44:[2, 44], Operations: ['51-49=2', '44*1=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,44 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: 44:[49, 1, 7], Operations: ['51-44=7'] Exploring Operation: 49/7=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 44:[1, 7] Operation: 49/7=7 Exploring Operation: 49-1=48, Resulting Numbers: [7, 48] Generated Node #0,0,1: 44:[7, 48] Operation: 49-1=48 Exploring Operation: 49-7=42, Resulting Numbers: [1, 42] Generated Node #0,0,2: 44:[1, 42] Operation: 49-7=42 Moving to Node #0,0,2 Current State: 44:[1, 42], Operations: ['51-44=7', '49-7=42'] Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[1, 7], Operations: ['51-44=7', '49/7=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[7, 48], Operations: ['51-44=7', '49-1=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,44 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[51, 1, 5], Operations: ['49-44=5'] Exploring Operation: 51-5=46, Resulting Numbers: [1, 46] Generated Node #0,1,0: 44:[1, 46] Operation: 51-5=46 Exploring Operation: 51-1=50, Resulting Numbers: [5, 50] Generated Node #0,1,1: 44:[5, 50] Operation: 51-1=50 Exploring Operation: 5-1=4, Resulting Numbers: [51, 4] Generated Node #0,1,2: 44:[51, 4] Operation: 5-1=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[1, 46], Operations: ['49-44=5', '51-5=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,44 unequal: No Solution No 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: 44:[5, 50], Operations: ['49-44=5', '51-1=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,44 unequal: No Solution No 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: 44:[51, 4], Operations: ['49-44=5', '5-1=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,44 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,44 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
[ 93, 76, 89, 10 ]
90
[ "93+76=169", "89-10=79", "169-79=90" ]
Current State: 90:[93, 76, 89, 10], Operations: [] Exploring Operation: 93+76=169, Resulting Numbers: [89, 10, 169] Generated Node #2: [89, 10, 169] from Operation: 93+76=169 Current State: 90:[89, 10, 169], Operations: ['93+76=169'] Exploring Operation: 89-10=79, Resulting Numbers: [169, 79] Generated Node #3: [169, 79] from Operation: 89-10=79 Current State: 90:[169, 79], Operations: ['93+76=169', '89-10=79'] Exploring Operation: 169-79=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[93, 76, 89, 10], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [93, 10, 13] Generated Node #0,0: 90:[93, 10, 13] Operation: 89-76=13 Exploring Operation: 93-76=17, Resulting Numbers: [89, 10, 17] Generated Node #0,1: 90:[89, 10, 17] Operation: 93-76=17 Exploring Operation: 76+10=86, Resulting Numbers: [93, 89, 86] Generated Node #0,2: 90:[93, 89, 86] Operation: 76+10=86 Moving to Node #0,1 Current State: 90:[89, 10, 17], Operations: ['93-76=17'] Exploring Operation: 89+10=99, Resulting Numbers: [17, 99] Generated Node #0,1,0: 90:[17, 99] Operation: 89+10=99 Exploring Operation: 17-10=7, Resulting Numbers: [89, 7] Generated Node #0,1,1: 90:[89, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [89, 27] Generated Node #0,1,2: 90:[89, 27] Operation: 10+17=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[89, 7], Operations: ['93-76=17', '17-10=7'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 89*7=623, Resulting Numbers: [623] 623,90 unequal: No Solution Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,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,1,2 Current State: 90:[89, 27], Operations: ['93-76=17', '10+17=27'] Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,90 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,90 unequal: No Solution Exploring Operation: 89-27=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,1,0 Current State: 90:[17, 99], Operations: ['93-76=17', '89+10=99'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,90 unequal: No Solution Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,90 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: 90:[93, 10, 13], Operations: ['89-76=13'] Exploring Operation: 93-10=83, Resulting Numbers: [13, 83] Generated Node #0,0,0: 90:[13, 83] Operation: 93-10=83 Exploring Operation: 13-10=3, Resulting Numbers: [93, 3] Generated Node #0,0,1: 90:[93, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [93, 23] Generated Node #0,0,2: 90:[93, 23] Operation: 10+13=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[93, 3], Operations: ['89-76=13', '13-10=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[93, 76, 89, 10], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [93, 10, 13] Generated Node #0,0: 90:[93, 10, 13] Operation: 89-76=13 Moving to Node #0,0 Current State: 90:[93, 10, 13], Operations: ['89-76=13'] Exploring Operation: 13-10=3, Resulting Numbers: [93, 3] Generated Node #0,0,1: 90:[93, 3] Operation: 13-10=3 Moving to Node #0,0,1 Current State: 90:[93, 3], Operations: ['89-76=13', '13-10=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 93, 94, 43, 28 ]
72
[ "94-93=1", "43+28=71", "1+71=72" ]
Current State: 72:[93, 94, 43, 28], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [43, 28, 1] Generated Node #2: [43, 28, 1] from Operation: 94-93=1 Current State: 72:[43, 28, 1], Operations: ['94-93=1'] Exploring Operation: 43+28=71, Resulting Numbers: [1, 71] Generated Node #3: [1, 71] from Operation: 43+28=71 Current State: 72:[1, 71], Operations: ['94-93=1', '43+28=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[93, 94, 43, 28], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [93, 43, 66] Generated Node #0,0: 72:[93, 43, 66] Operation: 94-28=66 Exploring Operation: 93-28=65, Resulting Numbers: [94, 43, 65] Generated Node #0,1: 72:[94, 43, 65] Operation: 93-28=65 Exploring Operation: 93-43=50, Resulting Numbers: [94, 28, 50] Generated Node #0,2: 72:[94, 28, 50] Operation: 93-43=50 Exploring Operation: 94-93=1, Resulting Numbers: [43, 28, 1] Generated Node #0,3: 72:[43, 28, 1] Operation: 94-93=1 Moving to Node #0,3 Current State: 72:[43, 28, 1], Operations: ['94-93=1'] Exploring Operation: 43-28=15, Resulting Numbers: [1, 15] Generated Node #0,3,0: 72:[1, 15] Operation: 43-28=15 Exploring Operation: 43+28=71, Resulting Numbers: [1, 71] Generated Node #0,3,1: 72:[1, 71] Operation: 43+28=71 Exploring Operation: 28-1=27, Resulting Numbers: [43, 27] Generated Node #0,3,2: 72:[43, 27] Operation: 28-1=27 Exploring Operation: 43-1=42, Resulting Numbers: [28, 42] Generated Node #0,3,3: 72:[28, 42] Operation: 43-1=42 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[1, 71], Operations: ['94-93=1', '43+28=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[93, 94, 43, 28], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [43, 28, 1] Generated Node #0,3: 72:[43, 28, 1] Operation: 94-93=1 Moving to Node #0,3 Current State: 72:[43, 28, 1], Operations: ['94-93=1'] Exploring Operation: 43+28=71, Resulting Numbers: [1, 71] Generated Node #0,3,1: 72:[1, 71] Operation: 43+28=71 Moving to Node #0,3,1 Current State: 72:[1, 71], Operations: ['94-93=1', '43+28=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 67, 32, 33, 95 ]
63
[ "33+95=128", "128/32=4", "67-4=63" ]
Current State: 63:[67, 32, 33, 95], Operations: [] Exploring Operation: 33+95=128, Resulting Numbers: [67, 32, 128] Generated Node #2: [67, 32, 128] from Operation: 33+95=128 Current State: 63:[67, 32, 128], Operations: ['33+95=128'] Exploring Operation: 128/32=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 128/32=4 Current State: 63:[67, 4], Operations: ['33+95=128', '128/32=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[67, 32, 33, 95], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [67, 95, 1] Generated Node #0,0: 63:[67, 95, 1] Operation: 33-32=1 Exploring Operation: 95-67=28, Resulting Numbers: [32, 33, 28] Generated Node #0,1: 63:[32, 33, 28] Operation: 95-67=28 Exploring Operation: 95-33=62, Resulting Numbers: [67, 32, 62] Generated Node #0,2: 63:[67, 32, 62] Operation: 95-33=62 Exploring Operation: 95-32=63, Resulting Numbers: [67, 33, 63] Generated Node #0,3: 63:[67, 33, 63] Operation: 95-32=63 Exploring Operation: 32+33=65, Resulting Numbers: [67, 95, 65] Generated Node #0,4: 63:[67, 95, 65] Operation: 32+33=65 Moving to Node #0,2 Current State: 63:[67, 32, 62], Operations: ['95-33=62'] Exploring Operation: 67+32=99, Resulting Numbers: [62, 99] Generated Node #0,2,0: 63:[62, 99] Operation: 67+32=99 Exploring Operation: 32+62=94, Resulting Numbers: [67, 94] Generated Node #0,2,1: 63:[67, 94] Operation: 32+62=94 Exploring Operation: 67-32=35, Resulting Numbers: [62, 35] Generated Node #0,2,2: 63:[62, 35] Operation: 67-32=35 Exploring Operation: 62-32=30, Resulting Numbers: [67, 30] Generated Node #0,2,3: 63:[67, 30] Operation: 62-32=30 Exploring Operation: 67-62=5, Resulting Numbers: [32, 5] Generated Node #0,2,4: 63:[32, 5] Operation: 67-62=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[67, 30], Operations: ['95-33=62', '62-32=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,63 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,63 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,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:[32, 5], Operations: ['95-33=62', '67-62=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,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,2 Current State: 63:[62, 35], Operations: ['95-33=62', '67-32=35'] Exploring Operation: 62*35=2170, Resulting Numbers: [2170] 2170,63 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 62+35=97, Resulting Numbers: [97] 97,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:[67, 94], Operations: ['95-33=62', '32+62=94'] Exploring Operation: 67+94=161, Resulting Numbers: [161] 161,63 unequal: No Solution Exploring Operation: 67*94=6298, Resulting Numbers: [6298] 6298,63 unequal: No Solution Exploring Operation: 94-67=27, Resulting Numbers: [27] 27,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:[62, 99], Operations: ['95-33=62', '67+32=99'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 62+99=161, Resulting Numbers: [161] 161,63 unequal: No Solution Exploring Operation: 62*99=6138, Resulting Numbers: [6138] 6138,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:[67, 33, 63], Operations: ['95-32=63'] Exploring Operation: 33+63=96, Resulting Numbers: [67, 96] Generated Node #0,3,0: 63:[67, 96] Operation: 33+63=96 Exploring Operation: 67-33=34, Resulting Numbers: [63, 34] Generated Node #0,3,1: 63:[63, 34] Operation: 67-33=34 Exploring Operation: 67-63=4, Resulting Numbers: [33, 4] Generated Node #0,3,2: 63:[33, 4] Operation: 67-63=4 Exploring Operation: 63-33=30, Resulting Numbers: [67, 30] Generated Node #0,3,3: 63:[67, 30] Operation: 63-33=30 Exploring Operation: 67+33=100, Resulting Numbers: [63, 100] Generated Node #0,3,4: 63:[63, 100] Operation: 67+33=100 Moving to Node #0,1 Current State: 63:[32, 33, 28], Operations: ['95-67=28'] Exploring Operation: 33-32=1, Resulting Numbers: [28, 1] Generated Node #0,1,0: 63:[28, 1] Operation: 33-32=1 Exploring Operation: 32+33=65, Resulting Numbers: [28, 65] Generated Node #0,1,1: 63:[28, 65] Operation: 32+33=65 Exploring Operation: 32-28=4, Resulting Numbers: [33, 4] Generated Node #0,1,2: 63:[33, 4] Operation: 32-28=4 Exploring Operation: 33+28=61, Resulting Numbers: [32, 61] Generated Node #0,1,3: 63:[32, 61] Operation: 33+28=61 Exploring Operation: 33-28=5, Resulting Numbers: [32, 5] Generated Node #0,1,4: 63:[32, 5] Operation: 33-28=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[28, 1], Operations: ['95-67=28', '33-32=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 28+1=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,1 Current State: 63:[28, 65], Operations: ['95-67=28', '32+33=65'] Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,63 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,63 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,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:[33, 4], Operations: ['95-67=28', '32-28=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,63 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 33-4=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,3 Current State: 63:[32, 61], Operations: ['95-67=28', '33+28=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 32*61=1952, Resulting Numbers: [1952] 1952,63 unequal: No Solution Exploring Operation: 32+61=93, Resulting Numbers: [93] 93,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:[32, 5], Operations: ['95-67=28', '33-28=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,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:[67, 95, 1], Operations: ['33-32=1'] Exploring Operation: 95-1=94, Resulting Numbers: [67, 94] Generated Node #0,0,0: 63:[67, 94] Operation: 95-1=94 Exploring Operation: 67-1=66, Resulting Numbers: [95, 66] Generated Node #0,0,1: 63:[95, 66] Operation: 67-1=66 Exploring Operation: 67/1=67, Resulting Numbers: [95, 67] Generated Node #0,0,2: 63:[95, 67] Operation: 67/1=67 Exploring Operation: 95-67=28, Resulting Numbers: [1, 28] Generated Node #0,0,3: 63:[1, 28] Operation: 95-67=28 Exploring Operation: 67*1=67, Resulting Numbers: [95, 67] Generated Node #0,0,4: 63:[95, 67] Operation: 67*1=67 Moving to Node #0,4 Current State: 63:[67, 95, 65], Operations: ['32+33=65'] Exploring Operation: 67+95=162, Resulting Numbers: [65, 162] Generated Node #0,4,0: 63:[65, 162] Operation: 67+95=162 Exploring Operation: 95-67=28, Resulting Numbers: [65, 28] Generated Node #0,4,1: 63:[65, 28] Operation: 95-67=28 Exploring Operation: 67+65=132, Resulting Numbers: [95, 132] Generated Node #0,4,2: 63:[95, 132] Operation: 67+65=132 Exploring Operation: 95-65=30, Resulting Numbers: [67, 30] Generated Node #0,4,3: 63:[67, 30] Operation: 95-65=30 Exploring Operation: 67-65=2, Resulting Numbers: [95, 2] Generated Node #0,4,4: 63:[95, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 63:[65, 28], Operations: ['32+33=65', '95-67=28'] Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,63 unequal: No Solution Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,63 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,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,4,3 Current State: 63:[67, 30], Operations: ['32+33=65', '95-65=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,63 unequal: No Solution Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,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,4,4 Current State: 63:[95, 2], Operations: ['32+33=65', '67-65=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,63 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,63 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,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,4,0 Current State: 63:[65, 162], Operations: ['32+33=65', '67+95=162'] Exploring Operation: 65*162=10530, Resulting Numbers: [10530] 10530,63 unequal: No Solution Exploring Operation: 65+162=227, Resulting Numbers: [227] 227,63 unequal: No Solution Exploring Operation: 162-65=97, Resulting Numbers: [97] 97,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,4,2 Current State: 63:[95, 132], Operations: ['32+33=65', '67+65=132'] Exploring Operation: 95+132=227, Resulting Numbers: [227] 227,63 unequal: No Solution Exploring Operation: 132-95=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 95*132=12540, Resulting Numbers: [12540] 12540,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 63:[1, 28], Operations: ['33-32=1', '95-67=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[63, 34], Operations: ['95-32=63', '67-33=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,63 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[67, 30], Operations: ['95-32=63', '63-33=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,63 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,63 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[33, 4], Operations: ['95-32=63', '67-63=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,63 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[67, 94], Operations: ['33-32=1', '95-1=94'] Exploring Operation: 67*94=6298, Resulting Numbers: [6298] 6298,63 unequal: No Solution Exploring Operation: 67+94=161, Resulting Numbers: [161] 161,63 unequal: No Solution Exploring Operation: 94-67=27, Resulting Numbers: [27] 27,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[95, 66], Operations: ['33-32=1', '67-1=66'] Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 95*66=6270, Resulting Numbers: [6270] 6270,63 unequal: No Solution Exploring Operation: 95+66=161, Resulting Numbers: [161] 161,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[95, 67], Operations: ['33-32=1', '67/1=67'] Exploring Operation: 95+67=162, Resulting Numbers: [162] 162,63 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 95*67=6365, Resulting Numbers: [6365] 6365,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[95, 67], Operations: ['33-32=1', '67*1=67'] Exploring Operation: 95*67=6365, Resulting Numbers: [6365] 6365,63 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 95+67=162, Resulting Numbers: [162] 162,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[67, 96], Operations: ['95-32=63', '33+63=96'] Exploring Operation: 67+96=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 67*96=6432, Resulting Numbers: [6432] 6432,63 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[63, 100], Operations: ['95-32=63', '67+33=100'] Exploring Operation: 63+100=163, Resulting Numbers: [163] 163,63 unequal: No Solution Exploring Operation: 63*100=6300, Resulting Numbers: [6300] 6300,63 unequal: No Solution Exploring Operation: 100-63=37, Resulting Numbers: [37] 37,63 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 9, 57, 19, 24 ]
30
[ "9+24=33", "57/19=3", "33-3=30" ]
Current State: 30:[9, 57, 19, 24], Operations: [] Exploring Operation: 9+24=33, Resulting Numbers: [57, 19, 33] Generated Node #2: [57, 19, 33] from Operation: 9+24=33 Current State: 30:[57, 19, 33], Operations: ['9+24=33'] Exploring Operation: 57/19=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 57/19=3 Current State: 30:[33, 3], Operations: ['9+24=33', '57/19=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[9, 57, 19, 24], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [9, 24, 3] Generated Node #0,0: 30:[9, 24, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 30:[9, 24, 3], Operations: ['57/19=3'] Exploring Operation: 24-9=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 30:[3, 15] Operation: 24-9=15 Moving to Node #0,0,0 Current State: 30:[3, 15], Operations: ['57/19=3', '24-9=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 43, 21, 17, 11 ]
34
[ "43-21=22", "17*22=374", "374/11=34" ]
Current State: 34:[43, 21, 17, 11], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [17, 11, 22] Generated Node #2: [17, 11, 22] from Operation: 43-21=22 Current State: 34:[17, 11, 22], Operations: ['43-21=22'] Exploring Operation: 17*22=374, Resulting Numbers: [11, 374] Generated Node #3: [11, 374] from Operation: 17*22=374 Current State: 34:[11, 374], Operations: ['43-21=22', '17*22=374'] Exploring Operation: 374/11=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[43, 21, 17, 11], Operations: [] Exploring Operation: 43-11=32, Resulting Numbers: [21, 17, 32] Generated Node #0,0: 34:[21, 17, 32] Operation: 43-11=32 Exploring Operation: 43-21=22, Resulting Numbers: [17, 11, 22] Generated Node #0,1: 34:[17, 11, 22] Operation: 43-21=22 Moving to Node #0,0 Current State: 34:[21, 17, 32], Operations: ['43-11=32'] Exploring Operation: 21-17=4, Resulting Numbers: [32, 4] Generated Node #0,0,0: 34:[32, 4] Operation: 21-17=4 Exploring Operation: 21+17=38, Resulting Numbers: [32, 38] Generated Node #0,0,1: 34:[32, 38] Operation: 21+17=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[32, 4], Operations: ['43-11=32', '21-17=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,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:[32, 38], Operations: ['43-11=32', '21+17=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,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:[17, 11, 22], Operations: ['43-21=22'] Exploring Operation: 22/11=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 34:[17, 2] Operation: 22/11=2 Exploring Operation: 11+22=33, Resulting Numbers: [17, 33] Generated Node #0,1,1: 34:[17, 33] Operation: 11+22=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[17, 2], Operations: ['43-21=22', '22/11=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[43, 21, 17, 11], Operations: [] Exploring Operation: 43-21=22, Resulting Numbers: [17, 11, 22] Generated Node #0,1: 34:[17, 11, 22] Operation: 43-21=22 Moving to Node #0,1 Current State: 34:[17, 11, 22], Operations: ['43-21=22'] Exploring Operation: 22/11=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 34:[17, 2] Operation: 22/11=2 Moving to Node #0,1,0 Current State: 34:[17, 2], Operations: ['43-21=22', '22/11=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 6, 68, 32, 34 ]
52
[ "32-6=26", "68/34=2", "26*2=52" ]
Current State: 52:[6, 68, 32, 34], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [68, 34, 26] Generated Node #2: [68, 34, 26] from Operation: 32-6=26 Current State: 52:[68, 34, 26], Operations: ['32-6=26'] Exploring Operation: 68/34=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 68/34=2 Current State: 52:[26, 2], Operations: ['32-6=26', '68/34=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[6, 68, 32, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [6, 32, 2] Generated Node #0,0: 52:[6, 32, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [6, 32, 34] Generated Node #0,1: 52:[6, 32, 34] Operation: 68-34=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[6, 32, 2], Operations: ['68/34=2'] Exploring Operation: 32/2=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 52:[6, 16] Operation: 32/2=16 Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 52:[2, 26] Operation: 32-6=26 Moving to Node #0,0,1 Current State: 52:[2, 26], Operations: ['68/34=2', '32-6=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[6, 68, 32, 34], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [6, 32, 2] Generated Node #0,0: 52:[6, 32, 2] Operation: 68/34=2 Moving to Node #0,0 Current State: 52:[6, 32, 2], Operations: ['68/34=2'] Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 52:[2, 26] Operation: 32-6=26 Moving to Node #0,0,1 Current State: 52:[2, 26], Operations: ['68/34=2', '32-6=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 84, 87, 46, 77 ]
41
[ "87-84=3", "46+77=123", "123/3=41" ]
Current State: 41:[84, 87, 46, 77], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [46, 77, 3] Generated Node #2: [46, 77, 3] from Operation: 87-84=3 Current State: 41:[46, 77, 3], Operations: ['87-84=3'] Exploring Operation: 46+77=123, Resulting Numbers: [3, 123] Generated Node #3: [3, 123] from Operation: 46+77=123 Current State: 41:[3, 123], Operations: ['87-84=3', '46+77=123'] Exploring Operation: 123/3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[84, 87, 46, 77], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [84, 46, 10] Generated Node #0,0: 41:[84, 46, 10] Operation: 87-77=10 Exploring Operation: 84-46=38, Resulting Numbers: [87, 77, 38] Generated Node #0,1: 41:[87, 77, 38] Operation: 84-46=38 Exploring Operation: 87-46=41, Resulting Numbers: [84, 77, 41] Generated Node #0,2: 41:[84, 77, 41] Operation: 87-46=41 Exploring Operation: 87-84=3, Resulting Numbers: [46, 77, 3] Generated Node #0,3: 41:[46, 77, 3] Operation: 87-84=3 Moving to Node #0,0 Current State: 41:[84, 46, 10], Operations: ['87-77=10'] Exploring Operation: 84-46=38, Resulting Numbers: [10, 38] Generated Node #0,0,0: 41:[10, 38] Operation: 84-46=38 Exploring Operation: 84+10=94, Resulting Numbers: [46, 94] Generated Node #0,0,1: 41:[46, 94] Operation: 84+10=94 Exploring Operation: 84-10=74, Resulting Numbers: [46, 74] Generated Node #0,0,2: 41:[46, 74] Operation: 84-10=74 Exploring Operation: 46-10=36, Resulting Numbers: [84, 36] Generated Node #0,0,3: 41:[84, 36] Operation: 46-10=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[10, 38], Operations: ['87-77=10', '84-46=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,41 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[46, 74], Operations: ['87-77=10', '84-10=74'] Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,41 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[84, 36], Operations: ['87-77=10', '46-10=36'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[46, 94], Operations: ['87-77=10', '84+10=94'] Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 46*94=4324, Resulting Numbers: [4324] 4324,41 unequal: No Solution Exploring Operation: 46+94=140, Resulting Numbers: [140] 140,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:[46, 77, 3], Operations: ['87-84=3'] Exploring Operation: 46+3=49, Resulting Numbers: [77, 49] Generated Node #0,3,0: 41:[77, 49] Operation: 46+3=49 Exploring Operation: 77+3=80, Resulting Numbers: [46, 80] Generated Node #0,3,1: 41:[46, 80] Operation: 77+3=80 Exploring Operation: 46-3=43, Resulting Numbers: [77, 43] Generated Node #0,3,2: 41:[77, 43] Operation: 46-3=43 Exploring Operation: 77-3=74, Resulting Numbers: [46, 74] Generated Node #0,3,3: 41:[46, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[77, 43], Operations: ['87-84=3', '46-3=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[46, 74], Operations: ['87-84=3', '77-3=74'] Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[77, 49], Operations: ['87-84=3', '46+3=49'] Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,41 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[46, 80], Operations: ['87-84=3', '77+3=80'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[84, 77, 41], Operations: ['87-46=41'] Exploring Operation: 84+77=161, Resulting Numbers: [41, 161] Generated Node #0,2,0: 41:[41, 161] Operation: 84+77=161 Exploring Operation: 84-77=7, Resulting Numbers: [41, 7] Generated Node #0,2,1: 41:[41, 7] Operation: 84-77=7 Exploring Operation: 84-41=43, Resulting Numbers: [77, 43] Generated Node #0,2,2: 41:[77, 43] Operation: 84-41=43 Exploring Operation: 77-41=36, Resulting Numbers: [84, 36] Generated Node #0,2,3: 41:[84, 36] Operation: 77-41=36 Moving to Node #0,1 Current State: 41:[87, 77, 38], Operations: ['84-46=38'] Exploring Operation: 87+38=125, Resulting Numbers: [77, 125] Generated Node #0,1,0: 41:[77, 125] Operation: 87+38=125 Exploring Operation: 87-77=10, Resulting Numbers: [38, 10] Generated Node #0,1,1: 41:[38, 10] Operation: 87-77=10 Exploring Operation: 87-38=49, Resulting Numbers: [77, 49] Generated Node #0,1,2: 41:[77, 49] Operation: 87-38=49 Exploring Operation: 77-38=39, Resulting Numbers: [87, 39] Generated Node #0,1,3: 41:[87, 39] Operation: 77-38=39 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[38, 10], Operations: ['84-46=38', '87-77=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,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:[77, 49], Operations: ['84-46=38', '87-38=49'] Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,41 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,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:[87, 39], Operations: ['84-46=38', '77-38=39'] Exploring Operation: 87+39=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 87*39=3393, Resulting Numbers: [3393] 3393,41 unequal: No Solution Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,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:[77, 125], Operations: ['84-46=38', '87+38=125'] Exploring Operation: 77+125=202, Resulting Numbers: [202] 202,41 unequal: No Solution Exploring Operation: 125-77=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 77*125=9625, Resulting Numbers: [9625] 9625,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 41:[41, 7], Operations: ['87-46=41', '84-77=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,41 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[77, 43], Operations: ['87-46=41', '84-41=43'] Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,41 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[84, 36], Operations: ['87-46=41', '77-41=36'] Exploring Operation: 84*36=3024, Resulting Numbers: [3024] 3024,41 unequal: No Solution Exploring Operation: 84+36=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[41, 161], Operations: ['87-46=41', '84+77=161'] Exploring Operation: 41*161=6601, Resulting Numbers: [6601] 6601,41 unequal: No Solution Exploring Operation: 161-41=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 41+161=202, Resulting Numbers: [202] 202,41 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 9, 3, 24 ]
70
[ "88+9=97", "3+24=27", "97-27=70" ]
Current State: 70:[88, 9, 3, 24], Operations: [] Exploring Operation: 88+9=97, Resulting Numbers: [3, 24, 97] Generated Node #2: [3, 24, 97] from Operation: 88+9=97 Current State: 70:[3, 24, 97], Operations: ['88+9=97'] Exploring Operation: 3+24=27, Resulting Numbers: [97, 27] Generated Node #3: [97, 27] from Operation: 3+24=27 Current State: 70:[97, 27], Operations: ['88+9=97', '3+24=27'] Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[88, 9, 3, 24], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [9, 3, 64] Generated Node #0,0: 70:[9, 3, 64] Operation: 88-24=64 Exploring Operation: 24-9=15, Resulting Numbers: [88, 3, 15] Generated Node #0,1: 70:[88, 3, 15] Operation: 24-9=15 Exploring Operation: 88-9=79, Resulting Numbers: [3, 24, 79] Generated Node #0,2: 70:[3, 24, 79] Operation: 88-9=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[9, 3, 64], Operations: ['88-24=64'] Exploring Operation: 9-3=6, Resulting Numbers: [64, 6] Generated Node #0,0,0: 70:[64, 6] Operation: 9-3=6 Exploring Operation: 3+64=67, Resulting Numbers: [9, 67] Generated Node #0,0,1: 70:[9, 67] Operation: 3+64=67 Exploring Operation: 9+64=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 70:[3, 73] Operation: 9+64=73 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[9, 67], Operations: ['88-24=64', '3+64=67'] Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,70 unequal: No Solution Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[3, 73], Operations: ['88-24=64', '9+64=73'] Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,70 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[88, 9, 3, 24], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [9, 3, 64] Generated Node #0,0: 70:[9, 3, 64] Operation: 88-24=64 Moving to Node #0,0 Current State: 70:[9, 3, 64], Operations: ['88-24=64'] Exploring Operation: 9+64=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 70:[3, 73] Operation: 9+64=73 Moving to Node #0,0,2 Current State: 70:[3, 73], Operations: ['88-24=64', '9+64=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 49, 20, 49, 57 ]
37
[ "49+20=69", "49+57=106", "106-69=37" ]
Current State: 37:[49, 20, 49, 57], Operations: [] Exploring Operation: 49+20=69, Resulting Numbers: [57, 69] Generated Node #2: [57, 69] from Operation: 49+20=69 Current State: 37:[57, 69], Operations: ['49+20=69'] Exploring Operation: 49+57=106, Resulting Numbers: [69, 106] Generated Node #3: [69, 106] from Operation: 49+57=106 Current State: 37:[69, 106], Operations: ['49+20=69', '49+57=106'] Exploring Operation: 106-69=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[49, 20, 49, 57], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [49, 20, 8] Generated Node #0,0: 37:[49, 20, 8] Operation: 57-49=8 Exploring Operation: 49-20=29, Resulting Numbers: [49, 57, 29] Generated Node #0,1: 37:[49, 57, 29] Operation: 49-20=29 Exploring Operation: 57-20=37, Resulting Numbers: [49, 49, 37] Generated Node #0,2: 37:[49, 49, 37] Operation: 57-20=37 Exploring Operation: 57-49=8, Resulting Numbers: [20, 49, 8] Generated Node #0,3: 37:[20, 49, 8] Operation: 57-49=8 Exploring Operation: 49-20=29, Resulting Numbers: [49, 57, 29] Generated Node #0,4: 37:[49, 57, 29] Operation: 49-20=29 Moving to Node #0,2 Current State: 37:[49, 49, 37], Operations: ['57-20=37'] Exploring Operation: 49+49=98, Resulting Numbers: [37, 98] Generated Node #0,2,0: 37:[37, 98] Operation: 49+49=98 Exploring Operation: 49-49=0, Resulting Numbers: [37, 0] Generated Node #0,2,1: 37:[37, 0] Operation: 49-49=0 Exploring Operation: 49-37=12, Resulting Numbers: [49, 12] Generated Node #0,2,2: 37:[49, 12] Operation: 49-37=12 Exploring Operation: 49-37=12, Resulting Numbers: [49, 12] Generated Node #0,2,3: 37:[49, 12] Operation: 49-37=12 Exploring Operation: 49/49=1, Resulting Numbers: [37, 1] Generated Node #0,2,4: 37:[37, 1] Operation: 49/49=1 Moving to Node #0,4 Current State: 37:[49, 57, 29], Operations: ['49-20=29'] Exploring Operation: 49-29=20, Resulting Numbers: [57, 20] Generated Node #0,4,0: 37:[57, 20] Operation: 49-29=20 Exploring Operation: 57-29=28, Resulting Numbers: [49, 28] Generated Node #0,4,1: 37:[49, 28] Operation: 57-29=28 Exploring Operation: 57+29=86, Resulting Numbers: [49, 86] Generated Node #0,4,2: 37:[49, 86] Operation: 57+29=86 Exploring Operation: 57-49=8, Resulting Numbers: [29, 8] Generated Node #0,4,3: 37:[29, 8] Operation: 57-49=8 Exploring Operation: 49+29=78, Resulting Numbers: [57, 78] Generated Node #0,4,4: 37:[57, 78] Operation: 49+29=78 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 37:[49, 28], Operations: ['49-20=29', '57-29=28'] Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 49*28=1372, Resulting Numbers: [1372] 1372,37 unequal: No Solution Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,37 unequal: No Solution No 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: 37:[57, 20], Operations: ['49-20=29', '49-29=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,37 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[49, 20, 49, 57], Operations: [] Exploring Operation: 49-20=29, Resulting Numbers: [49, 57, 29] Generated Node #0,4: 37:[49, 57, 29] Operation: 49-20=29 Moving to Node #0,4 Current State: 37:[49, 57, 29], Operations: ['49-20=29'] Exploring Operation: 49-29=20, Resulting Numbers: [57, 20] Generated Node #0,4,0: 37:[57, 20] Operation: 49-29=20 Moving to Node #0,4,0 Current State: 37:[57, 20], Operations: ['49-20=29', '49-29=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 9, 41, 53, 59 ]
51
[ "59-41=18", "18/9=2", "53-2=51" ]
Current State: 51:[9, 41, 53, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [9, 53, 18] Generated Node #2: [9, 53, 18] from Operation: 59-41=18 Current State: 51:[9, 53, 18], Operations: ['59-41=18'] Exploring Operation: 18/9=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 18/9=2 Current State: 51:[53, 2], Operations: ['59-41=18', '18/9=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[9, 41, 53, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [9, 53, 18] Generated Node #0,0: 51:[9, 53, 18] Operation: 59-41=18 Exploring Operation: 59-53=6, Resulting Numbers: [9, 41, 6] Generated Node #0,1: 51:[9, 41, 6] Operation: 59-53=6 Exploring Operation: 53-41=12, Resulting Numbers: [9, 59, 12] Generated Node #0,2: 51:[9, 59, 12] Operation: 53-41=12 Exploring Operation: 59-9=50, Resulting Numbers: [41, 53, 50] Generated Node #0,3: 51:[41, 53, 50] Operation: 59-9=50 Exploring Operation: 9+41=50, Resulting Numbers: [53, 59, 50] Generated Node #0,4: 51:[53, 59, 50] Operation: 9+41=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[9, 53, 18], Operations: ['59-41=18'] Exploring Operation: 18-9=9, Resulting Numbers: [53, 9] Generated Node #0,0,0: 51:[53, 9] Operation: 18-9=9 Exploring Operation: 9+53=62, Resulting Numbers: [18, 62] Generated Node #0,0,1: 51:[18, 62] Operation: 9+53=62 Exploring Operation: 9+18=27, Resulting Numbers: [53, 27] Generated Node #0,0,2: 51:[53, 27] Operation: 9+18=27 Exploring Operation: 18/9=2, Resulting Numbers: [53, 2] Generated Node #0,0,3: 51:[53, 2] Operation: 18/9=2 Exploring Operation: 53-9=44, Resulting Numbers: [18, 44] Generated Node #0,0,4: 51:[18, 44] Operation: 53-9=44 Moving to Node #0,0,3 Current State: 51:[53, 2], Operations: ['59-41=18', '18/9=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[9, 41, 53, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [9, 53, 18] Generated Node #0,0: 51:[9, 53, 18] Operation: 59-41=18 Moving to Node #0,0 Current State: 51:[9, 53, 18], Operations: ['59-41=18'] Exploring Operation: 18/9=2, Resulting Numbers: [53, 2] Generated Node #0,0,3: 51:[53, 2] Operation: 18/9=2 Moving to Node #0,0,3 Current State: 51:[53, 2], Operations: ['59-41=18', '18/9=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 37, 6, 2, 76 ]
50
[ "2+76=78", "78/6=13", "37+13=50" ]
Current State: 50:[37, 6, 2, 76], Operations: [] Exploring Operation: 2+76=78, Resulting Numbers: [37, 6, 78] Generated Node #2: [37, 6, 78] from Operation: 2+76=78 Current State: 50:[37, 6, 78], Operations: ['2+76=78'] Exploring Operation: 78/6=13, Resulting Numbers: [37, 13] Generated Node #3: [37, 13] from Operation: 78/6=13 Current State: 50:[37, 13], Operations: ['2+76=78', '78/6=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[37, 6, 2, 76], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [6, 2, 39] Generated Node #0,0: 50:[6, 2, 39] Operation: 76-37=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[6, 2, 39], Operations: ['76-37=39'] Exploring Operation: 6+39=45, Resulting Numbers: [2, 45] Generated Node #0,0,0: 50:[2, 45] Operation: 6+39=45 Moving to Node #0,0,0 Current State: 50:[2, 45], Operations: ['76-37=39', '6+39=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 35, 66, 19 ]
70
[ "9*19=171", "35+66=101", "171-101=70" ]
Current State: 70:[9, 35, 66, 19], Operations: [] Exploring Operation: 9*19=171, Resulting Numbers: [35, 66, 171] Generated Node #2: [35, 66, 171] from Operation: 9*19=171 Current State: 70:[35, 66, 171], Operations: ['9*19=171'] Exploring Operation: 35+66=101, Resulting Numbers: [171, 101] Generated Node #3: [171, 101] from Operation: 35+66=101 Current State: 70:[171, 101], Operations: ['9*19=171', '35+66=101'] Exploring Operation: 171-101=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[9, 35, 66, 19], Operations: [] Exploring Operation: 35-19=16, Resulting Numbers: [9, 66, 16] Generated Node #0,0: 70:[9, 66, 16] Operation: 35-19=16 Exploring Operation: 66-35=31, Resulting Numbers: [9, 19, 31] Generated Node #0,1: 70:[9, 19, 31] Operation: 66-35=31 Exploring Operation: 19-9=10, Resulting Numbers: [35, 66, 10] Generated Node #0,2: 70:[35, 66, 10] Operation: 19-9=10 Exploring Operation: 9+66=75, Resulting Numbers: [35, 19, 75] Generated Node #0,3: 70:[35, 19, 75] Operation: 9+66=75 Moving to Node #0,2 Current State: 70:[35, 66, 10], Operations: ['19-9=10'] Exploring Operation: 66-35=31, Resulting Numbers: [10, 31] Generated Node #0,2,0: 70:[10, 31] Operation: 66-35=31 Exploring Operation: 35+10=45, Resulting Numbers: [66, 45] Generated Node #0,2,1: 70:[66, 45] Operation: 35+10=45 Exploring Operation: 66+10=76, Resulting Numbers: [35, 76] Generated Node #0,2,2: 70:[35, 76] Operation: 66+10=76 Exploring Operation: 35-10=25, Resulting Numbers: [66, 25] Generated Node #0,2,3: 70:[66, 25] Operation: 35-10=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[10, 31], Operations: ['19-9=10', '66-35=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[35, 76], Operations: ['19-9=10', '66+10=76'] Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[66, 45], Operations: ['19-9=10', '35+10=45'] Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,70 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[66, 25], Operations: ['19-9=10', '35-10=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,70 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,70 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: 70:[9, 66, 16], Operations: ['35-19=16'] Exploring Operation: 9+66=75, Resulting Numbers: [16, 75] Generated Node #0,0,0: 70:[16, 75] Operation: 9+66=75 Exploring Operation: 9+16=25, Resulting Numbers: [66, 25] Generated Node #0,0,1: 70:[66, 25] Operation: 9+16=25 Exploring Operation: 66+16=82, Resulting Numbers: [9, 82] Generated Node #0,0,2: 70:[9, 82] Operation: 66+16=82 Exploring Operation: 16-9=7, Resulting Numbers: [66, 7] Generated Node #0,0,3: 70:[66, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[66, 7], Operations: ['35-19=16', '16-9=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,70 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[16, 75], Operations: ['35-19=16', '9+66=75'] Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,70 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[9, 82], Operations: ['35-19=16', '66+16=82'] Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,70 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[66, 25], Operations: ['35-19=16', '9+16=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,70 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: 70:[35, 19, 75], Operations: ['9+66=75'] Exploring Operation: 35-19=16, Resulting Numbers: [75, 16] Generated Node #0,3,0: 70:[75, 16] Operation: 35-19=16 Exploring Operation: 35+19=54, Resulting Numbers: [75, 54] Generated Node #0,3,1: 70:[75, 54] Operation: 35+19=54 Exploring Operation: 75-19=56, Resulting Numbers: [35, 56] Generated Node #0,3,2: 70:[35, 56] Operation: 75-19=56 Exploring Operation: 75-35=40, Resulting Numbers: [19, 40] Generated Node #0,3,3: 70:[19, 40] Operation: 75-35=40 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[75, 16], Operations: ['9+66=75', '35-19=16'] Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,70 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[19, 40], Operations: ['9+66=75', '75-35=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,70 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[35, 56], Operations: ['9+66=75', '75-19=56'] Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,70 unequal: No Solution Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[75, 54], Operations: ['9+66=75', '35+19=54'] Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,70 unequal: No Solution Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,70 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[9, 19, 31], Operations: ['66-35=31'] Exploring Operation: 9+19=28, Resulting Numbers: [31, 28] Generated Node #0,1,0: 70:[31, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [31, 10] Generated Node #0,1,1: 70:[31, 10] Operation: 19-9=10 Exploring Operation: 9+31=40, Resulting Numbers: [19, 40] Generated Node #0,1,2: 70:[19, 40] Operation: 9+31=40 Exploring Operation: 31-19=12, Resulting Numbers: [9, 12] Generated Node #0,1,3: 70:[9, 12] Operation: 31-19=12 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[9, 12], Operations: ['66-35=31', '31-19=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,70 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[31, 10], Operations: ['66-35=31', '19-9=10'] Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,70 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[19, 40], Operations: ['66-35=31', '9+31=40'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,70 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[31, 28], Operations: ['66-35=31', '9+19=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,70 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,70 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
[ 20, 83, 1, 82 ]
40
[ "83+1=84", "84-82=2", "20*2=40" ]
Current State: 40:[20, 83, 1, 82], Operations: [] Exploring Operation: 83+1=84, Resulting Numbers: [20, 82, 84] Generated Node #2: [20, 82, 84] from Operation: 83+1=84 Current State: 40:[20, 82, 84], Operations: ['83+1=84'] Exploring Operation: 84-82=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 84-82=2 Current State: 40:[20, 2], Operations: ['83+1=84', '84-82=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 83, 1, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [20, 1, 1] Generated Node #0,0: 40:[20, 1, 1] Operation: 83-82=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[20, 1, 1], Operations: ['83-82=1'] Exploring Operation: 1+1=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 40:[20, 2] Operation: 1+1=2 Moving to Node #0,0,0 Current State: 40:[20, 2], Operations: ['83-82=1', '1+1=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[20, 83, 1, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [20, 1, 1] Generated Node #0,0: 40:[20, 1, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 40:[20, 1, 1], Operations: ['83-82=1'] Exploring Operation: 1+1=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 40:[20, 2] Operation: 1+1=2 Moving to Node #0,0,0 Current State: 40:[20, 2], Operations: ['83-82=1', '1+1=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 42, 65, 38 ]
65
[ "4*42=168", "65+38=103", "168-103=65" ]
Current State: 65:[4, 42, 65, 38], Operations: [] Exploring Operation: 4*42=168, Resulting Numbers: [65, 38, 168] Generated Node #2: [65, 38, 168] from Operation: 4*42=168 Current State: 65:[65, 38, 168], Operations: ['4*42=168'] Exploring Operation: 65+38=103, Resulting Numbers: [168, 103] Generated Node #3: [168, 103] from Operation: 65+38=103 Current State: 65:[168, 103], Operations: ['4*42=168', '65+38=103'] Exploring Operation: 168-103=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 42, 65, 38], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [4, 65, 4] Generated Node #0,0: 65:[4, 65, 4] Operation: 42-38=4 Exploring Operation: 65-42=23, Resulting Numbers: [4, 38, 23] Generated Node #0,1: 65:[4, 38, 23] Operation: 65-42=23 Exploring Operation: 42+38=80, Resulting Numbers: [4, 65, 80] Generated Node #0,2: 65:[4, 65, 80] Operation: 42+38=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 65, 4], Operations: ['42-38=4'] Exploring Operation: 4*4=16, Resulting Numbers: [65, 16] Generated Node #0,0,0: 65:[65, 16] Operation: 4*4=16 Exploring Operation: 4+4=8, Resulting Numbers: [65, 8] Generated Node #0,0,1: 65:[65, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [65, 1] Generated Node #0,0,2: 65:[65, 1] Operation: 4/4=1 Moving to Node #0,0,0 Current State: 65:[65, 16], Operations: ['42-38=4', '4*4=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,65 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[65, 8], Operations: ['42-38=4', '4+4=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,65 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[65, 1], Operations: ['42-38=4', '4/4=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[4, 42, 65, 38], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [4, 65, 4] Generated Node #0,0: 65:[4, 65, 4] Operation: 42-38=4 Moving to Node #0,0 Current State: 65:[4, 65, 4], Operations: ['42-38=4'] Exploring Operation: 4/4=1, Resulting Numbers: [65, 1] Generated Node #0,0,2: 65:[65, 1] Operation: 4/4=1 Moving to Node #0,0,2 Current State: 65:[65, 1], Operations: ['42-38=4', '4/4=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 61, 80, 75, 79 ]
76
[ "80-61=19", "79-75=4", "19*4=76" ]
Current State: 76:[61, 80, 75, 79], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [75, 79, 19] Generated Node #2: [75, 79, 19] from Operation: 80-61=19 Current State: 76:[75, 79, 19], Operations: ['80-61=19'] Exploring Operation: 79-75=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 79-75=4 Current State: 76:[19, 4], Operations: ['80-61=19', '79-75=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[61, 80, 75, 79], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [61, 75, 1] Generated Node #0,0: 76:[61, 75, 1] Operation: 80-79=1 Exploring Operation: 79-61=18, Resulting Numbers: [80, 75, 18] Generated Node #0,1: 76:[80, 75, 18] Operation: 79-61=18 Exploring Operation: 80-61=19, Resulting Numbers: [75, 79, 19] Generated Node #0,2: 76:[75, 79, 19] Operation: 80-61=19 Exploring Operation: 75-61=14, Resulting Numbers: [80, 79, 14] Generated Node #0,3: 76:[80, 79, 14] Operation: 75-61=14 Moving to Node #0,2 Current State: 76:[75, 79, 19], Operations: ['80-61=19'] Exploring Operation: 79-75=4, Resulting Numbers: [19, 4] Generated Node #0,2,0: 76:[19, 4] Operation: 79-75=4 Exploring Operation: 75-19=56, Resulting Numbers: [79, 56] Generated Node #0,2,1: 76:[79, 56] Operation: 75-19=56 Exploring Operation: 75+19=94, Resulting Numbers: [79, 94] Generated Node #0,2,2: 76:[79, 94] Operation: 75+19=94 Exploring Operation: 79-19=60, Resulting Numbers: [75, 60] Generated Node #0,2,3: 76:[75, 60] Operation: 79-19=60 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[19, 4], Operations: ['80-61=19', '79-75=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[61, 80, 75, 79], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [75, 79, 19] Generated Node #0,2: 76:[75, 79, 19] Operation: 80-61=19 Moving to Node #0,2 Current State: 76:[75, 79, 19], Operations: ['80-61=19'] Exploring Operation: 79-75=4, Resulting Numbers: [19, 4] Generated Node #0,2,0: 76:[19, 4] Operation: 79-75=4 Moving to Node #0,2,0 Current State: 76:[19, 4], Operations: ['80-61=19', '79-75=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 4, 36, 64, 8 ]
38
[ "64/4=16", "16/8=2", "36+2=38" ]
Current State: 38:[4, 36, 64, 8], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [36, 8, 16] Generated Node #2: [36, 8, 16] from Operation: 64/4=16 Current State: 38:[36, 8, 16], Operations: ['64/4=16'] Exploring Operation: 16/8=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 16/8=2 Current State: 38:[36, 2], Operations: ['64/4=16', '16/8=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[4, 36, 64, 8], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [4, 36, 8] Generated Node #0,0: 38:[4, 36, 8] Operation: 64/8=8 Exploring Operation: 64/4=16, Resulting Numbers: [36, 8, 16] Generated Node #0,1: 38:[36, 8, 16] Operation: 64/4=16 Exploring Operation: 64-36=28, Resulting Numbers: [4, 8, 28] Generated Node #0,2: 38:[4, 8, 28] Operation: 64-36=28 Exploring Operation: 64-8=56, Resulting Numbers: [4, 36, 56] Generated Node #0,3: 38:[4, 36, 56] Operation: 64-8=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[4, 36, 8], Operations: ['64/8=8'] Exploring Operation: 8-4=4, Resulting Numbers: [36, 4] Generated Node #0,0,0: 38:[36, 4] Operation: 8-4=4 Exploring Operation: 4+36=40, Resulting Numbers: [8, 40] Generated Node #0,0,1: 38:[8, 40] Operation: 4+36=40 Exploring Operation: 4*8=32, Resulting Numbers: [36, 32] Generated Node #0,0,2: 38:[36, 32] Operation: 4*8=32 Exploring Operation: 8/4=2, Resulting Numbers: [36, 2] Generated Node #0,0,3: 38:[36, 2] Operation: 8/4=2 Moving to Node #0,0,3 Current State: 38:[36, 2], Operations: ['64/8=8', '8/4=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,38 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[4, 36, 64, 8], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [4, 36, 8] Generated Node #0,0: 38:[4, 36, 8] Operation: 64/8=8 Moving to Node #0,0 Current State: 38:[4, 36, 8], Operations: ['64/8=8'] Exploring Operation: 8/4=2, Resulting Numbers: [36, 2] Generated Node #0,0,3: 38:[36, 2] Operation: 8/4=2 Moving to Node #0,0,3 Current State: 38:[36, 2], Operations: ['64/8=8', '8/4=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 11, 88, 22, 41 ]
45
[ "22/11=2", "88-41=47", "47-2=45" ]
Current State: 45:[11, 88, 22, 41], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [88, 41, 2] Generated Node #2: [88, 41, 2] from Operation: 22/11=2 Current State: 45:[88, 41, 2], Operations: ['22/11=2'] Exploring Operation: 88-41=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 88-41=47 Current State: 45:[2, 47], Operations: ['22/11=2', '88-41=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[11, 88, 22, 41], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [11, 41, 66] Generated Node #0,0: 45:[11, 41, 66] Operation: 88-22=66 Exploring Operation: 88/11=8, Resulting Numbers: [22, 41, 8] Generated Node #0,1: 45:[22, 41, 8] Operation: 88/11=8 Exploring Operation: 88/22=4, Resulting Numbers: [11, 41, 4] Generated Node #0,2: 45:[11, 41, 4] Operation: 88/22=4 Exploring Operation: 88-41=47, Resulting Numbers: [11, 22, 47] Generated Node #0,3: 45:[11, 22, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[11, 41, 4], Operations: ['88/22=4'] Exploring Operation: 11-4=7, Resulting Numbers: [41, 7] Generated Node #0,2,0: 45:[41, 7] Operation: 11-4=7 Exploring Operation: 41+4=45, Resulting Numbers: [11, 45] Generated Node #0,2,1: 45:[11, 45] Operation: 41+4=45 Exploring Operation: 11+4=15, Resulting Numbers: [41, 15] Generated Node #0,2,2: 45:[41, 15] Operation: 11+4=15 Exploring Operation: 11*4=44, Resulting Numbers: [41, 44] Generated Node #0,2,3: 45:[41, 44] Operation: 11*4=44 Moving to Node #0,2,1 Current State: 45:[11, 45], Operations: ['88/22=4', '41+4=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[41, 15], Operations: ['88/22=4', '11+4=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[41, 44], Operations: ['88/22=4', '11*4=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,45 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[41, 7], Operations: ['88/22=4', '11-4=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,45 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,45 unequal: No Solution No 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: 45:[11, 22, 47], Operations: ['88-41=47'] Exploring Operation: 47-22=25, Resulting Numbers: [11, 25] Generated Node #0,3,0: 45:[11, 25] Operation: 47-22=25 Exploring Operation: 22-11=11, Resulting Numbers: [47, 11] Generated Node #0,3,1: 45:[47, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 45:[47, 2] Operation: 22/11=2 Exploring Operation: 11+22=33, Resulting Numbers: [47, 33] Generated Node #0,3,3: 45:[47, 33] Operation: 11+22=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 45:[47, 2], Operations: ['88-41=47', '22/11=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[11, 88, 22, 41], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [11, 22, 47] Generated Node #0,3: 45:[11, 22, 47] Operation: 88-41=47 Moving to Node #0,3 Current State: 45:[11, 22, 47], Operations: ['88-41=47'] Exploring Operation: 22/11=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 45:[47, 2] Operation: 22/11=2 Moving to Node #0,3,2 Current State: 45:[47, 2], Operations: ['88-41=47', '22/11=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 27, 26, 9, 59 ]
67
[ "27-26=1", "9+59=68", "68-1=67" ]
Current State: 67:[27, 26, 9, 59], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [9, 59, 1] Generated Node #2: [9, 59, 1] from Operation: 27-26=1 Current State: 67:[9, 59, 1], Operations: ['27-26=1'] Exploring Operation: 9+59=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 9+59=68 Current State: 67:[1, 68], Operations: ['27-26=1', '9+59=68'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[27, 26, 9, 59], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [26, 59, 36] Generated Node #0,0: 67:[26, 59, 36] Operation: 27+9=36 Exploring Operation: 9+59=68, Resulting Numbers: [27, 26, 68] Generated Node #0,1: 67:[27, 26, 68] Operation: 9+59=68 Exploring Operation: 26+9=35, Resulting Numbers: [27, 59, 35] Generated Node #0,2: 67:[27, 59, 35] Operation: 26+9=35 Exploring Operation: 27+26=53, Resulting Numbers: [9, 59, 53] Generated Node #0,3: 67:[9, 59, 53] Operation: 27+26=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[26, 59, 36], Operations: ['27+9=36'] Exploring Operation: 26+36=62, Resulting Numbers: [59, 62] Generated Node #0,0,0: 67:[59, 62] Operation: 26+36=62 Exploring Operation: 36-26=10, Resulting Numbers: [59, 10] Generated Node #0,0,1: 67:[59, 10] Operation: 36-26=10 Exploring Operation: 59-26=33, Resulting Numbers: [36, 33] Generated Node #0,0,2: 67:[36, 33] Operation: 59-26=33 Exploring Operation: 26+59=85, Resulting Numbers: [36, 85] Generated Node #0,0,3: 67:[36, 85] Operation: 26+59=85 Moving to Node #0,0,0 Current State: 67:[59, 62], Operations: ['27+9=36', '26+36=62'] Exploring Operation: 59+62=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 59*62=3658, Resulting Numbers: [3658] 3658,67 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[36, 85], Operations: ['27+9=36', '26+59=85'] Exploring Operation: 36+85=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 36*85=3060, Resulting Numbers: [3060] 3060,67 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[36, 33], Operations: ['27+9=36', '59-26=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,67 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[59, 10], Operations: ['27+9=36', '36-26=10'] Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,67 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,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,2 Current State: 67:[27, 59, 35], Operations: ['26+9=35'] Exploring Operation: 35-27=8, Resulting Numbers: [59, 8] Generated Node #0,2,0: 67:[59, 8] Operation: 35-27=8 Exploring Operation: 59-27=32, Resulting Numbers: [35, 32] Generated Node #0,2,1: 67:[35, 32] Operation: 59-27=32 Exploring Operation: 27+35=62, Resulting Numbers: [59, 62] Generated Node #0,2,2: 67:[59, 62] Operation: 27+35=62 Exploring Operation: 27+59=86, Resulting Numbers: [35, 86] Generated Node #0,2,3: 67:[35, 86] Operation: 27+59=86 Moving to Node #0,2,2 Current State: 67:[59, 62], Operations: ['26+9=35', '27+35=62'] Exploring Operation: 59+62=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 59*62=3658, Resulting Numbers: [3658] 3658,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[35, 86], Operations: ['26+9=35', '27+59=86'] Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 35*86=3010, Resulting Numbers: [3010] 3010,67 unequal: No Solution Exploring Operation: 35+86=121, Resulting Numbers: [121] 121,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[35, 32], Operations: ['26+9=35', '59-27=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,67 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[27, 26, 9, 59], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [27, 59, 35] Generated Node #0,2: 67:[27, 59, 35] Operation: 26+9=35 Moving to Node #0,2 Current State: 67:[27, 59, 35], Operations: ['26+9=35'] Exploring Operation: 59-27=32, Resulting Numbers: [35, 32] Generated Node #0,2,1: 67:[35, 32] Operation: 59-27=32 Moving to Node #0,2,1 Current State: 67:[35, 32], Operations: ['26+9=35', '59-27=32'] Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 50, 6, 41, 53 ]
59
[ "53-50=3", "6*3=18", "41+18=59" ]
Current State: 59:[50, 6, 41, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [6, 41, 3] Generated Node #2: [6, 41, 3] from Operation: 53-50=3 Current State: 59:[6, 41, 3], Operations: ['53-50=3'] Exploring Operation: 6*3=18, Resulting Numbers: [41, 18] Generated Node #3: [41, 18] from Operation: 6*3=18 Current State: 59:[41, 18], Operations: ['53-50=3', '6*3=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[50, 6, 41, 53], Operations: [] Exploring Operation: 50+6=56, Resulting Numbers: [41, 53, 56] Generated Node #0,0: 59:[41, 53, 56] Operation: 50+6=56 Exploring Operation: 6+53=59, Resulting Numbers: [50, 41, 59] Generated Node #0,1: 59:[50, 41, 59] Operation: 6+53=59 Exploring Operation: 50-6=44, Resulting Numbers: [41, 53, 44] Generated Node #0,2: 59:[41, 53, 44] Operation: 50-6=44 Exploring Operation: 6+41=47, Resulting Numbers: [50, 53, 47] Generated Node #0,3: 59:[50, 53, 47] Operation: 6+41=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[41, 53, 56], Operations: ['50+6=56'] Exploring Operation: 56-41=15, Resulting Numbers: [53, 15] Generated Node #0,0,0: 59:[53, 15] Operation: 56-41=15 Exploring Operation: 41+53=94, Resulting Numbers: [56, 94] Generated Node #0,0,1: 59:[56, 94] Operation: 41+53=94 Exploring Operation: 53-41=12, Resulting Numbers: [56, 12] Generated Node #0,0,2: 59:[56, 12] Operation: 53-41=12 Exploring Operation: 41+56=97, Resulting Numbers: [53, 97] Generated Node #0,0,3: 59:[53, 97] Operation: 41+56=97 Moving to Node #0,0,1 Current State: 59:[56, 94], Operations: ['50+6=56', '41+53=94'] Exploring Operation: 56*94=5264, Resulting Numbers: [5264] 5264,59 unequal: No Solution Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 56+94=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[53, 97], Operations: ['50+6=56', '41+56=97'] Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,59 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[56, 12], Operations: ['50+6=56', '53-41=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,59 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[53, 15], Operations: ['50+6=56', '56-41=15'] Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,59 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[50, 41, 59], Operations: ['6+53=59'] Exploring Operation: 50-41=9, Resulting Numbers: [59, 9] Generated Node #0,1,0: 59:[59, 9] Operation: 50-41=9 Exploring Operation: 41+59=100, Resulting Numbers: [50, 100] Generated Node #0,1,1: 59:[50, 100] Operation: 41+59=100 Exploring Operation: 50+41=91, Resulting Numbers: [59, 91] Generated Node #0,1,2: 59:[59, 91] Operation: 50+41=91 Exploring Operation: 59-41=18, Resulting Numbers: [50, 18] Generated Node #0,1,3: 59:[50, 18] Operation: 59-41=18 Moving to Node #0,1,2 Current State: 59:[59, 91], Operations: ['6+53=59', '50+41=91'] Exploring Operation: 59+91=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 59*91=5369, Resulting Numbers: [5369] 5369,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[50, 100], Operations: ['6+53=59', '41+59=100'] Exploring Operation: 50*100=5000, Resulting Numbers: [5000] 5000,59 unequal: No Solution Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 50+100=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[59, 9], Operations: ['6+53=59', '50-41=9'] Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,59 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[50, 18], Operations: ['6+53=59', '59-41=18'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,59 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[50, 53, 47], Operations: ['6+41=47'] Exploring Operation: 50+53=103, Resulting Numbers: [47, 103] Generated Node #0,3,0: 59:[47, 103] Operation: 50+53=103 Exploring Operation: 50-47=3, Resulting Numbers: [53, 3] Generated Node #0,3,1: 59:[53, 3] Operation: 50-47=3 Exploring Operation: 50+47=97, Resulting Numbers: [53, 97] Generated Node #0,3,2: 59:[53, 97] Operation: 50+47=97 Exploring Operation: 53+47=100, Resulting Numbers: [50, 100] Generated Node #0,3,3: 59:[50, 100] Operation: 53+47=100 Moving to Node #0,3,2 Current State: 59:[53, 97], Operations: ['6+41=47', '50+47=97'] Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,59 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[50, 100], Operations: ['6+41=47', '53+47=100'] Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 50+100=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 50*100=5000, Resulting Numbers: [5000] 5000,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[47, 103], Operations: ['6+41=47', '50+53=103'] Exploring Operation: 47*103=4841, Resulting Numbers: [4841] 4841,59 unequal: No Solution Exploring Operation: 103-47=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 47+103=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[53, 3], Operations: ['6+41=47', '50-47=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,59 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[41, 53, 44], Operations: ['50-6=44'] Exploring Operation: 53+44=97, Resulting Numbers: [41, 97] Generated Node #0,2,0: 59:[41, 97] Operation: 53+44=97 Exploring Operation: 41+44=85, Resulting Numbers: [53, 85] Generated Node #0,2,1: 59:[53, 85] Operation: 41+44=85 Exploring Operation: 41+53=94, Resulting Numbers: [44, 94] Generated Node #0,2,2: 59:[44, 94] Operation: 41+53=94 Exploring Operation: 53-41=12, Resulting Numbers: [44, 12] Generated Node #0,2,3: 59:[44, 12] Operation: 53-41=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[53, 85], Operations: ['50-6=44', '41+44=85'] Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 53+85=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 53*85=4505, Resulting Numbers: [4505] 4505,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[44, 94], Operations: ['50-6=44', '41+53=94'] Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 44+94=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 44*94=4136, Resulting Numbers: [4136] 4136,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[41, 97], Operations: ['50-6=44', '53+44=97'] Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 41*97=3977, Resulting Numbers: [3977] 3977,59 unequal: No Solution Exploring Operation: 41+97=138, Resulting Numbers: [138] 138,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[44, 12], Operations: ['50-6=44', '53-41=12'] Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,59 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 45, 29, 43, 62 ]
93
[ "45+29=74", "62-43=19", "74+19=93" ]
Current State: 93:[45, 29, 43, 62], Operations: [] Exploring Operation: 45+29=74, Resulting Numbers: [43, 62, 74] Generated Node #2: [43, 62, 74] from Operation: 45+29=74 Current State: 93:[43, 62, 74], Operations: ['45+29=74'] Exploring Operation: 62-43=19, Resulting Numbers: [74, 19] Generated Node #3: [74, 19] from Operation: 62-43=19 Current State: 93:[74, 19], Operations: ['45+29=74', '62-43=19'] Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[45, 29, 43, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [29, 43, 17] Generated Node #0,0: 93:[29, 43, 17] Operation: 62-45=17 Exploring Operation: 29+62=91, Resulting Numbers: [45, 43, 91] Generated Node #0,1: 93:[45, 43, 91] Operation: 29+62=91 Exploring Operation: 62-29=33, Resulting Numbers: [45, 43, 33] Generated Node #0,2: 93:[45, 43, 33] Operation: 62-29=33 Exploring Operation: 43+62=105, Resulting Numbers: [45, 29, 105] Generated Node #0,3: 93:[45, 29, 105] Operation: 43+62=105 Exploring Operation: 45+62=107, Resulting Numbers: [29, 43, 107] Generated Node #0,4: 93:[29, 43, 107] Operation: 45+62=107 Moving to Node #0,0 Current State: 93:[29, 43, 17], Operations: ['62-45=17'] Exploring Operation: 29-17=12, Resulting Numbers: [43, 12] Generated Node #0,0,0: 93:[43, 12] Operation: 29-17=12 Exploring Operation: 43+17=60, Resulting Numbers: [29, 60] Generated Node #0,0,1: 93:[29, 60] Operation: 43+17=60 Exploring Operation: 43-29=14, Resulting Numbers: [17, 14] Generated Node #0,0,2: 93:[17, 14] Operation: 43-29=14 Exploring Operation: 29+17=46, Resulting Numbers: [43, 46] Generated Node #0,0,3: 93:[43, 46] Operation: 29+17=46 Exploring Operation: 43-17=26, Resulting Numbers: [29, 26] Generated Node #0,0,4: 93:[29, 26] Operation: 43-17=26 Moving to Node #0,2 Current State: 93:[45, 43, 33], Operations: ['62-29=33'] Exploring Operation: 45+33=78, Resulting Numbers: [43, 78] Generated Node #0,2,0: 93:[43, 78] Operation: 45+33=78 Exploring Operation: 43-33=10, Resulting Numbers: [45, 10] Generated Node #0,2,1: 93:[45, 10] Operation: 43-33=10 Exploring Operation: 45+43=88, Resulting Numbers: [33, 88] Generated Node #0,2,2: 93:[33, 88] Operation: 45+43=88 Exploring Operation: 45-33=12, Resulting Numbers: [43, 12] Generated Node #0,2,3: 93:[43, 12] Operation: 45-33=12 Exploring Operation: 45-43=2, Resulting Numbers: [33, 2] Generated Node #0,2,4: 93:[33, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 93:[33, 2], Operations: ['62-29=33', '45-43=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,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:[33, 88], Operations: ['62-29=33', '45+43=88'] Exploring Operation: 33*88=2904, Resulting Numbers: [2904] 2904,93 unequal: No Solution Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,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:[45, 10], Operations: ['62-29=33', '43-33=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,93 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[43, 12], Operations: ['62-29=33', '45-33=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,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:[43, 78], Operations: ['62-29=33', '45+33=78'] Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,93 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,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:[29, 43, 107], Operations: ['45+62=107'] Exploring Operation: 29+43=72, Resulting Numbers: [107, 72] Generated Node #0,4,0: 93:[107, 72] Operation: 29+43=72 Exploring Operation: 107-43=64, Resulting Numbers: [29, 64] Generated Node #0,4,1: 93:[29, 64] Operation: 107-43=64 Exploring Operation: 107-29=78, Resulting Numbers: [43, 78] Generated Node #0,4,2: 93:[43, 78] Operation: 107-29=78 Exploring Operation: 43-29=14, Resulting Numbers: [107, 14] Generated Node #0,4,3: 93:[107, 14] Operation: 43-29=14 Exploring Operation: 29+107=136, Resulting Numbers: [43, 136] Generated Node #0,4,4: 93:[43, 136] Operation: 29+107=136 Moving to Node #0,1 Current State: 93:[45, 43, 91], Operations: ['29+62=91'] Exploring Operation: 91-43=48, Resulting Numbers: [45, 48] Generated Node #0,1,0: 93:[45, 48] Operation: 91-43=48 Exploring Operation: 45-43=2, Resulting Numbers: [91, 2] Generated Node #0,1,1: 93:[91, 2] Operation: 45-43=2 Exploring Operation: 45+91=136, Resulting Numbers: [43, 136] Generated Node #0,1,2: 93:[43, 136] Operation: 45+91=136 Exploring Operation: 45+43=88, Resulting Numbers: [91, 88] Generated Node #0,1,3: 93:[91, 88] Operation: 45+43=88 Exploring Operation: 91-45=46, Resulting Numbers: [43, 46] Generated Node #0,1,4: 93:[43, 46] Operation: 91-45=46 Moving to Node #0,3 Current State: 93:[45, 29, 105], Operations: ['43+62=105'] Exploring Operation: 45+29=74, Resulting Numbers: [105, 74] Generated Node #0,3,0: 93:[105, 74] Operation: 45+29=74 Exploring Operation: 105-45=60, Resulting Numbers: [29, 60] Generated Node #0,3,1: 93:[29, 60] Operation: 105-45=60 Exploring Operation: 29+105=134, Resulting Numbers: [45, 134] Generated Node #0,3,2: 93:[45, 134] Operation: 29+105=134 Exploring Operation: 105-29=76, Resulting Numbers: [45, 76] Generated Node #0,3,3: 93:[45, 76] Operation: 105-29=76 Exploring Operation: 45-29=16, Resulting Numbers: [105, 16] Generated Node #0,3,4: 93:[105, 16] Operation: 45-29=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[105, 16], Operations: ['43+62=105', '45-29=16'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 105*16=1680, Resulting Numbers: [1680] 1680,93 unequal: No Solution Exploring Operation: 105+16=121, Resulting Numbers: [121] 121,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:[105, 74], Operations: ['43+62=105', '45+29=74'] Exploring Operation: 105*74=7770, Resulting Numbers: [7770] 7770,93 unequal: No Solution Exploring Operation: 105+74=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,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:[29, 60], Operations: ['43+62=105', '105-45=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,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:[45, 76], Operations: ['43+62=105', '105-29=76'] Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[45, 134], Operations: ['43+62=105', '29+105=134'] Exploring Operation: 45+134=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 45*134=6030, Resulting Numbers: [6030] 6030,93 unequal: No Solution Exploring Operation: 134-45=89, Resulting Numbers: [89] 89,93 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: 93:[91, 2], Operations: ['29+62=91', '45-43=2'] Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,93 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[45, 29, 43, 62], Operations: [] Exploring Operation: 29+62=91, Resulting Numbers: [45, 43, 91] Generated Node #0,1: 93:[45, 43, 91] Operation: 29+62=91 Moving to Node #0,1 Current State: 93:[45, 43, 91], Operations: ['29+62=91'] Exploring Operation: 45-43=2, Resulting Numbers: [91, 2] Generated Node #0,1,1: 93:[91, 2] Operation: 45-43=2 Moving to Node #0,1,1 Current State: 93:[91, 2], Operations: ['29+62=91', '45-43=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 14, 85, 14, 39 ]
46
[ "14+85=99", "14+39=53", "99-53=46" ]
Current State: 46:[14, 85, 14, 39], Operations: [] Exploring Operation: 14+85=99, Resulting Numbers: [39, 99] Generated Node #2: [39, 99] from Operation: 14+85=99 Current State: 46:[39, 99], Operations: ['14+85=99'] Exploring Operation: 14+39=53, Resulting Numbers: [99, 53] Generated Node #3: [99, 53] from Operation: 14+39=53 Current State: 46:[99, 53], Operations: ['14+85=99', '14+39=53'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[14, 85, 14, 39], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [14, 14, 46] Generated Node #0,0: 46:[14, 14, 46] Operation: 85-39=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[14, 14, 46], Operations: ['85-39=46'] Exploring Operation: 14/14=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 46:[46, 1] Operation: 14/14=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[46, 1], Operations: ['85-39=46', '14/14=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[14, 85, 14, 39], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [14, 14, 46] Generated Node #0,0: 46:[14, 14, 46] Operation: 85-39=46 Moving to Node #0,0 Current State: 46:[14, 14, 46], Operations: ['85-39=46'] Exploring Operation: 14/14=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 46:[46, 1] Operation: 14/14=1 Moving to Node #0,0,0 Current State: 46:[46, 1], Operations: ['85-39=46', '14/14=1'] Exploring Operation: 46*1=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
[ 91, 35, 17, 52 ]
37
[ "35*52=1820", "1820/91=20", "17+20=37" ]
Current State: 37:[91, 35, 17, 52], Operations: [] Exploring Operation: 35*52=1820, Resulting Numbers: [91, 17, 1820] Generated Node #2: [91, 17, 1820] from Operation: 35*52=1820 Current State: 37:[91, 17, 1820], Operations: ['35*52=1820'] Exploring Operation: 1820/91=20, Resulting Numbers: [17, 20] Generated Node #3: [17, 20] from Operation: 1820/91=20 Current State: 37:[17, 20], Operations: ['35*52=1820', '1820/91=20'] Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[91, 35, 17, 52], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [35, 17, 39] Generated Node #0,0: 37:[35, 17, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[35, 17, 39], Operations: ['91-52=39'] Exploring Operation: 35+17=52, Resulting Numbers: [39, 52] Generated Node #0,0,0: 37:[39, 52] Operation: 35+17=52 Moving to Node #0,0,0 Current State: 37:[39, 52], Operations: ['91-52=39', '35+17=52'] Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,37 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
[ 13, 71, 3, 92 ]
24
[ "13+71=84", "92-84=8", "3*8=24" ]
Current State: 24:[13, 71, 3, 92], Operations: [] Exploring Operation: 13+71=84, Resulting Numbers: [3, 92, 84] Generated Node #2: [3, 92, 84] from Operation: 13+71=84 Current State: 24:[3, 92, 84], Operations: ['13+71=84'] Exploring Operation: 92-84=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 92-84=8 Current State: 24:[3, 8], Operations: ['13+71=84', '92-84=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[13, 71, 3, 92], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [71, 3, 79] Generated Node #0,0: 24:[71, 3, 79] Operation: 92-13=79 Exploring Operation: 71-13=58, Resulting Numbers: [3, 92, 58] Generated Node #0,1: 24:[3, 92, 58] Operation: 71-13=58 Exploring Operation: 92-71=21, Resulting Numbers: [13, 3, 21] Generated Node #0,2: 24:[13, 3, 21] Operation: 92-71=21 Exploring Operation: 71-3=68, Resulting Numbers: [13, 92, 68] Generated Node #0,3: 24:[13, 92, 68] Operation: 71-3=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[13, 3, 21], Operations: ['92-71=21'] Exploring Operation: 21/3=7, Resulting Numbers: [13, 7] Generated Node #0,2,0: 24:[13, 7] Operation: 21/3=7 Exploring Operation: 13-3=10, Resulting Numbers: [21, 10] Generated Node #0,2,1: 24:[21, 10] Operation: 13-3=10 Exploring Operation: 21-13=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 24:[3, 8] Operation: 21-13=8 Exploring Operation: 3+21=24, Resulting Numbers: [13, 24] Generated Node #0,2,3: 24:[13, 24] Operation: 3+21=24 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[3, 8], Operations: ['92-71=21', '21-13=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[13, 71, 3, 92], Operations: [] Exploring Operation: 92-71=21, Resulting Numbers: [13, 3, 21] Generated Node #0,2: 24:[13, 3, 21] Operation: 92-71=21 Moving to Node #0,2 Current State: 24:[13, 3, 21], Operations: ['92-71=21'] Exploring Operation: 21-13=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 24:[3, 8] Operation: 21-13=8 Moving to Node #0,2,2 Current State: 24:[3, 8], Operations: ['92-71=21', '21-13=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 69, 4, 28, 6 ]
31
[ "69-4=65", "28+6=34", "65-34=31" ]
Current State: 31:[69, 4, 28, 6], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [28, 6, 65] Generated Node #2: [28, 6, 65] from Operation: 69-4=65 Current State: 31:[28, 6, 65], Operations: ['69-4=65'] Exploring Operation: 28+6=34, Resulting Numbers: [65, 34] Generated Node #3: [65, 34] from Operation: 28+6=34 Current State: 31:[65, 34], Operations: ['69-4=65', '28+6=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 4, 28, 6], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [28, 6, 65] Generated Node #0,0: 31:[28, 6, 65] Operation: 69-4=65 Exploring Operation: 69-28=41, Resulting Numbers: [4, 6, 41] Generated Node #0,1: 31:[4, 6, 41] Operation: 69-28=41 Exploring Operation: 4*6=24, Resulting Numbers: [69, 28, 24] Generated Node #0,2: 31:[69, 28, 24] Operation: 4*6=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[69, 28, 24], Operations: ['4*6=24'] Exploring Operation: 69-28=41, Resulting Numbers: [24, 41] Generated Node #0,2,0: 31:[24, 41] Operation: 69-28=41 Exploring Operation: 28+24=52, Resulting Numbers: [69, 52] Generated Node #0,2,1: 31:[69, 52] Operation: 28+24=52 Exploring Operation: 69-24=45, Resulting Numbers: [28, 45] Generated Node #0,2,2: 31:[28, 45] Operation: 69-24=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[24, 41], Operations: ['4*6=24', '69-28=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,31 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,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,2 Current State: 31:[28, 45], Operations: ['4*6=24', '69-24=45'] Exploring Operation: 28*45=1260, Resulting Numbers: [1260] 1260,31 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 28+45=73, Resulting Numbers: [73] 73,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:[69, 52], Operations: ['4*6=24', '28+24=52'] Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,31 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,31 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,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,0 Current State: 31:[28, 6, 65], Operations: ['69-4=65'] Exploring Operation: 28+6=34, Resulting Numbers: [65, 34] Generated Node #0,0,0: 31:[65, 34] Operation: 28+6=34 Exploring Operation: 65-6=59, Resulting Numbers: [28, 59] Generated Node #0,0,1: 31:[28, 59] Operation: 65-6=59 Exploring Operation: 65-28=37, Resulting Numbers: [6, 37] Generated Node #0,0,2: 31:[6, 37] Operation: 65-28=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[28, 59], Operations: ['69-4=65', '65-6=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[69, 4, 28, 6], Operations: [] Exploring Operation: 69-4=65, Resulting Numbers: [28, 6, 65] Generated Node #0,0: 31:[28, 6, 65] Operation: 69-4=65 Moving to Node #0,0 Current State: 31:[28, 6, 65], Operations: ['69-4=65'] Exploring Operation: 65-6=59, Resulting Numbers: [28, 59] Generated Node #0,0,1: 31:[28, 59] Operation: 65-6=59 Moving to Node #0,0,1 Current State: 31:[28, 59], Operations: ['69-4=65', '65-6=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 2, 74, 42, 22 ]
73
[ "42/2=21", "74-22=52", "21+52=73" ]
Current State: 73:[2, 74, 42, 22], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [74, 22, 21] Generated Node #2: [74, 22, 21] from Operation: 42/2=21 Current State: 73:[74, 22, 21], Operations: ['42/2=21'] Exploring Operation: 74-22=52, Resulting Numbers: [21, 52] Generated Node #3: [21, 52] from Operation: 74-22=52 Current State: 73:[21, 52], Operations: ['42/2=21', '74-22=52'] Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[2, 74, 42, 22], Operations: [] Exploring Operation: 2*22=44, Resulting Numbers: [74, 42, 44] Generated Node #0,0: 73:[74, 42, 44] Operation: 2*22=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[74, 42, 44], Operations: ['2*22=44'] Exploring Operation: 42+44=86, Resulting Numbers: [74, 86] Generated Node #0,0,0: 73:[74, 86] Operation: 42+44=86 Moving to Node #0,0,0 Current State: 73:[74, 86], Operations: ['2*22=44', '42+44=86'] Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 24, 32, 64 ]
33
[ "24-23=1", "64-32=32", "1+32=33" ]
Current State: 33:[23, 24, 32, 64], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [32, 64, 1] Generated Node #2: [32, 64, 1] from Operation: 24-23=1 Current State: 33:[32, 64, 1], Operations: ['24-23=1'] Exploring Operation: 64-32=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 64-32=32 Current State: 33:[1, 32], Operations: ['24-23=1', '64-32=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[23, 24, 32, 64], Operations: [] Exploring Operation: 64-24=40, Resulting Numbers: [23, 32, 40] Generated Node #0,0: 33:[23, 32, 40] Operation: 64-24=40 Exploring Operation: 64-23=41, Resulting Numbers: [24, 32, 41] Generated Node #0,1: 33:[24, 32, 41] Operation: 64-23=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[23, 32, 40], Operations: ['64-24=40'] Exploring Operation: 32-23=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 33:[40, 9] Operation: 32-23=9 Exploring Operation: 40-23=17, Resulting Numbers: [32, 17] Generated Node #0,0,1: 33:[32, 17] Operation: 40-23=17 Moving to Node #0,0,1 Current State: 33:[32, 17], Operations: ['64-24=40', '40-23=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[40, 9], Operations: ['64-24=40', '32-23=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,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 Current State: 33:[24, 32, 41], Operations: ['64-23=41'] Exploring Operation: 41-24=17, Resulting Numbers: [32, 17] Generated Node #0,1,0: 33:[32, 17] Operation: 41-24=17 Exploring Operation: 32-24=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 33:[41, 8] Operation: 32-24=8 Moving to Node #0,1,0 Current State: 33:[32, 17], Operations: ['64-23=41', '41-24=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[41, 8], Operations: ['64-23=41', '32-24=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[23, 24, 32, 64], Operations: [] Exploring Operation: 64-23=41, Resulting Numbers: [24, 32, 41] Generated Node #0,1: 33:[24, 32, 41] Operation: 64-23=41 Moving to Node #0,1 Current State: 33:[24, 32, 41], Operations: ['64-23=41'] Exploring Operation: 32-24=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 33:[41, 8] Operation: 32-24=8 Moving to Node #0,1,1 Current State: 33:[41, 8], Operations: ['64-23=41', '32-24=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 14, 36, 10, 69 ]
57
[ "36-14=22", "10+69=79", "79-22=57" ]
Current State: 57:[14, 36, 10, 69], Operations: [] Exploring Operation: 36-14=22, Resulting Numbers: [10, 69, 22] Generated Node #2: [10, 69, 22] from Operation: 36-14=22 Current State: 57:[10, 69, 22], Operations: ['36-14=22'] Exploring Operation: 10+69=79, Resulting Numbers: [22, 79] Generated Node #3: [22, 79] from Operation: 10+69=79 Current State: 57:[22, 79], Operations: ['36-14=22', '10+69=79'] Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[14, 36, 10, 69], Operations: [] Exploring Operation: 36-10=26, Resulting Numbers: [14, 69, 26] Generated Node #0,0: 57:[14, 69, 26] Operation: 36-10=26 Exploring Operation: 14+36=50, Resulting Numbers: [10, 69, 50] Generated Node #0,1: 57:[10, 69, 50] Operation: 14+36=50 Exploring Operation: 69-14=55, Resulting Numbers: [36, 10, 55] Generated Node #0,2: 57:[36, 10, 55] Operation: 69-14=55 Exploring Operation: 36-14=22, Resulting Numbers: [10, 69, 22] Generated Node #0,3: 57:[10, 69, 22] Operation: 36-14=22 Exploring Operation: 69-10=59, Resulting Numbers: [14, 36, 59] Generated Node #0,4: 57:[14, 36, 59] Operation: 69-10=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[10, 69, 22], Operations: ['36-14=22'] Exploring Operation: 69-10=59, Resulting Numbers: [22, 59] Generated Node #0,3,0: 57:[22, 59] Operation: 69-10=59 Exploring Operation: 22-10=12, Resulting Numbers: [69, 12] Generated Node #0,3,1: 57:[69, 12] Operation: 22-10=12 Exploring Operation: 10+69=79, Resulting Numbers: [22, 79] Generated Node #0,3,2: 57:[22, 79] Operation: 10+69=79 Exploring Operation: 10+22=32, Resulting Numbers: [69, 32] Generated Node #0,3,3: 57:[69, 32] Operation: 10+22=32 Exploring Operation: 69-22=47, Resulting Numbers: [10, 47] Generated Node #0,3,4: 57:[10, 47] Operation: 69-22=47 Moving to Node #0,3,0 Current State: 57:[22, 59], Operations: ['36-14=22', '69-10=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,57 unequal: No Solution Moving to Node #0,3,4 Current State: 57:[10, 47], Operations: ['36-14=22', '69-22=47'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,57 unequal: No Solution Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[14, 36, 10, 69], Operations: [] Exploring Operation: 36-14=22, Resulting Numbers: [10, 69, 22] Generated Node #0,3: 57:[10, 69, 22] Operation: 36-14=22 Moving to Node #0,3 Current State: 57:[10, 69, 22], Operations: ['36-14=22'] Exploring Operation: 69-22=47, Resulting Numbers: [10, 47] Generated Node #0,3,4: 57:[10, 47] Operation: 69-22=47 Moving to Node #0,3,4 Current State: 57:[10, 47], Operations: ['36-14=22', '69-22=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 94, 57, 61, 5 ]
95
[ "94+57=151", "61-5=56", "151-56=95" ]
Current State: 95:[94, 57, 61, 5], Operations: [] Exploring Operation: 94+57=151, Resulting Numbers: [61, 5, 151] Generated Node #2: [61, 5, 151] from Operation: 94+57=151 Current State: 95:[61, 5, 151], Operations: ['94+57=151'] Exploring Operation: 61-5=56, Resulting Numbers: [151, 56] Generated Node #3: [151, 56] from Operation: 61-5=56 Current State: 95:[151, 56], Operations: ['94+57=151', '61-5=56'] Exploring Operation: 151-56=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[94, 57, 61, 5], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [94, 5, 4] Generated Node #0,0: 95:[94, 5, 4] Operation: 61-57=4 Moving to Node #0,0 Current State: 95:[94, 5, 4], Operations: ['61-57=4'] Exploring Operation: 5*4=20, Resulting Numbers: [94, 20] Generated Node #0,0,0: 95:[94, 20] Operation: 5*4=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[94, 20], Operations: ['61-57=4', '5*4=20'] Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,95 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
[ 97, 56, 52, 91 ]
52
[ "97*52=5044", "56*91=5096", "5096-5044=52" ]
Current State: 52:[97, 56, 52, 91], Operations: [] Exploring Operation: 97*52=5044, Resulting Numbers: [56, 91, 5044] Generated Node #2: [56, 91, 5044] from Operation: 97*52=5044 Current State: 52:[56, 91, 5044], Operations: ['97*52=5044'] Exploring Operation: 56*91=5096, Resulting Numbers: [5044, 5096] Generated Node #3: [5044, 5096] from Operation: 56*91=5096 Current State: 52:[5044, 5096], Operations: ['97*52=5044', '56*91=5096'] Exploring Operation: 5096-5044=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[97, 56, 52, 91], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [56, 52, 6] Generated Node #0,0: 52:[56, 52, 6] Operation: 97-91=6 Exploring Operation: 97-56=41, Resulting Numbers: [52, 91, 41] Generated Node #0,1: 52:[52, 91, 41] Operation: 97-56=41 Exploring Operation: 97-52=45, Resulting Numbers: [56, 91, 45] Generated Node #0,2: 52:[56, 91, 45] Operation: 97-52=45 Moving to Node #0,0 Current State: 52:[56, 52, 6], Operations: ['97-91=6'] Exploring Operation: 56-52=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 52:[6, 4] Operation: 56-52=4 Exploring Operation: 56+6=62, Resulting Numbers: [52, 62] Generated Node #0,0,1: 52:[52, 62] Operation: 56+6=62 Exploring Operation: 56-6=50, Resulting Numbers: [52, 50] Generated Node #0,0,2: 52:[52, 50] Operation: 56-6=50 Moving to Node #0,1 Current State: 52:[52, 91, 41], Operations: ['97-56=41'] Exploring Operation: 91-41=50, Resulting Numbers: [52, 50] Generated Node #0,1,0: 52:[52, 50] Operation: 91-41=50 Exploring Operation: 52-41=11, Resulting Numbers: [91, 11] Generated Node #0,1,1: 52:[91, 11] Operation: 52-41=11 Exploring Operation: 91-52=39, Resulting Numbers: [41, 39] Generated Node #0,1,2: 52:[41, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[52, 50], Operations: ['97-56=41', '91-41=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[41, 39], Operations: ['97-56=41', '91-52=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,52 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[91, 11], Operations: ['97-56=41', '52-41=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,52 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,52 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: 52:[56, 91, 45], Operations: ['97-52=45'] Exploring Operation: 56-45=11, Resulting Numbers: [91, 11] Generated Node #0,2,0: 52:[91, 11] Operation: 56-45=11 Exploring Operation: 91-45=46, Resulting Numbers: [56, 46] Generated Node #0,2,1: 52:[56, 46] Operation: 91-45=46 Exploring Operation: 91-56=35, Resulting Numbers: [45, 35] Generated Node #0,2,2: 52:[45, 35] Operation: 91-56=35 Moving to Node #0,0,0 Current State: 52:[6, 4], Operations: ['97-91=6', '56-52=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[52, 50], Operations: ['97-91=6', '56-6=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,52 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[52, 62], Operations: ['97-91=6', '56+6=62'] Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,52 unequal: No Solution Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,52 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[56, 46], Operations: ['97-52=45', '91-45=46'] Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,52 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[45, 35], Operations: ['97-52=45', '91-56=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[91, 11], Operations: ['97-52=45', '56-45=11'] Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,52 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,52 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 74, 47, 29, 86 ]
43
[ "74-47=27", "29-27=2", "86/2=43" ]
Current State: 43:[74, 47, 29, 86], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [29, 86, 27] Generated Node #2: [29, 86, 27] from Operation: 74-47=27 Current State: 43:[29, 86, 27], Operations: ['74-47=27'] Exploring Operation: 29-27=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 29-27=2 Current State: 43:[86, 2], Operations: ['74-47=27', '29-27=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[74, 47, 29, 86], Operations: [] Exploring Operation: 74-29=45, Resulting Numbers: [47, 86, 45] Generated Node #0,0: 43:[47, 86, 45] Operation: 74-29=45 Moving to Node #0,0 Current State: 43:[47, 86, 45], Operations: ['74-29=45'] Exploring Operation: 86-47=39, Resulting Numbers: [45, 39] Generated Node #0,0,0: 43:[45, 39] Operation: 86-47=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[45, 39], Operations: ['74-29=45', '86-47=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 4, 20, 31 ]
28
[ "4+20=24", "72/24=3", "31-3=28" ]
Current State: 28:[72, 4, 20, 31], Operations: [] Exploring Operation: 4+20=24, Resulting Numbers: [72, 31, 24] Generated Node #2: [72, 31, 24] from Operation: 4+20=24 Current State: 28:[72, 31, 24], Operations: ['4+20=24'] Exploring Operation: 72/24=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 72/24=3 Current State: 28:[31, 3], Operations: ['4+20=24', '72/24=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[72, 4, 20, 31], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [72, 4, 11] Generated Node #0,0: 28:[72, 4, 11] Operation: 31-20=11 Exploring Operation: 72-31=41, Resulting Numbers: [4, 20, 41] Generated Node #0,1: 28:[4, 20, 41] Operation: 72-31=41 Exploring Operation: 72-20=52, Resulting Numbers: [4, 31, 52] Generated Node #0,2: 28:[4, 31, 52] Operation: 72-20=52 Exploring Operation: 72/4=18, Resulting Numbers: [20, 31, 18] Generated Node #0,3: 28:[20, 31, 18] Operation: 72/4=18 Moving to Node #0,3 Current State: 28:[20, 31, 18], Operations: ['72/4=18'] Exploring Operation: 31-18=13, Resulting Numbers: [20, 13] Generated Node #0,3,0: 28:[20, 13] Operation: 31-18=13 Exploring Operation: 31-20=11, Resulting Numbers: [18, 11] Generated Node #0,3,1: 28:[18, 11] Operation: 31-20=11 Exploring Operation: 20+18=38, Resulting Numbers: [31, 38] Generated Node #0,3,2: 28:[31, 38] Operation: 20+18=38 Exploring Operation: 20-18=2, Resulting Numbers: [31, 2] Generated Node #0,3,3: 28:[31, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[31, 2], Operations: ['72/4=18', '20-18=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,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,3,0 Current State: 28:[20, 13], Operations: ['72/4=18', '31-18=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,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,3,1 Current State: 28:[18, 11], Operations: ['72/4=18', '31-20=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,28 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,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,3,2 Current State: 28:[31, 38], Operations: ['72/4=18', '20+18=38'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,28 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: 28:[4, 20, 41], Operations: ['72-31=41'] Exploring Operation: 41-20=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 28:[4, 21] Operation: 41-20=21 Exploring Operation: 20-4=16, Resulting Numbers: [41, 16] Generated Node #0,1,1: 28:[41, 16] Operation: 20-4=16 Exploring Operation: 41-4=37, Resulting Numbers: [20, 37] Generated Node #0,1,2: 28:[20, 37] Operation: 41-4=37 Exploring Operation: 20/4=5, Resulting Numbers: [41, 5] Generated Node #0,1,3: 28:[41, 5] Operation: 20/4=5 Moving to Node #0,2 Current State: 28:[4, 31, 52], Operations: ['72-20=52'] Exploring Operation: 52/4=13, Resulting Numbers: [31, 13] Generated Node #0,2,0: 28:[31, 13] Operation: 52/4=13 Exploring Operation: 52-31=21, Resulting Numbers: [4, 21] Generated Node #0,2,1: 28:[4, 21] Operation: 52-31=21 Exploring Operation: 31-4=27, Resulting Numbers: [52, 27] Generated Node #0,2,2: 28:[52, 27] Operation: 31-4=27 Exploring Operation: 52-4=48, Resulting Numbers: [31, 48] Generated Node #0,2,3: 28:[31, 48] Operation: 52-4=48 Moving to Node #0,0 Current State: 28:[72, 4, 11], Operations: ['31-20=11'] Exploring Operation: 72-11=61, Resulting Numbers: [4, 61] Generated Node #0,0,0: 28:[4, 61] Operation: 72-11=61 Exploring Operation: 72-4=68, Resulting Numbers: [11, 68] Generated Node #0,0,1: 28:[11, 68] Operation: 72-4=68 Exploring Operation: 11-4=7, Resulting Numbers: [72, 7] Generated Node #0,0,2: 28:[72, 7] Operation: 11-4=7 Exploring Operation: 72/4=18, Resulting Numbers: [11, 18] Generated Node #0,0,3: 28:[11, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[11, 18], Operations: ['31-20=11', '72/4=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,28 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,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,0,0 Current State: 28:[4, 61], Operations: ['31-20=11', '72-11=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,28 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,28 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,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,0,1 Current State: 28:[11, 68], Operations: ['31-20=11', '72-4=68'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,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,0,2 Current State: 28:[72, 7], Operations: ['31-20=11', '11-4=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,28 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,28 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: 28:[31, 13], Operations: ['72-20=52', '52/4=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[4, 21], Operations: ['72-20=52', '52-31=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[4, 21], Operations: ['72-31=41', '41-20=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,28 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[41, 5], Operations: ['72-31=41', '20/4=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[41, 16], Operations: ['72-31=41', '20-4=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,28 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[20, 37], Operations: ['72-31=41', '41-4=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[31, 48], Operations: ['72-20=52', '52-4=48'] Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,28 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[52, 27], Operations: ['72-20=52', '31-4=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,28 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,28 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 30, 65, 72 ]
92
[ "30*72=2160", "2160/80=27", "65+27=92" ]
Current State: 92:[80, 30, 65, 72], Operations: [] Exploring Operation: 30*72=2160, Resulting Numbers: [80, 65, 2160] Generated Node #2: [80, 65, 2160] from Operation: 30*72=2160 Current State: 92:[80, 65, 2160], Operations: ['30*72=2160'] Exploring Operation: 2160/80=27, Resulting Numbers: [65, 27] Generated Node #3: [65, 27] from Operation: 2160/80=27 Current State: 92:[65, 27], Operations: ['30*72=2160', '2160/80=27'] Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[80, 30, 65, 72], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [80, 30, 7] Generated Node #0,0: 92:[80, 30, 7] Operation: 72-65=7 Exploring Operation: 80-72=8, Resulting Numbers: [30, 65, 8] Generated Node #0,1: 92:[30, 65, 8] Operation: 80-72=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[80, 30, 7], Operations: ['72-65=7'] Exploring Operation: 80+7=87, Resulting Numbers: [30, 87] Generated Node #0,0,0: 92:[30, 87] Operation: 80+7=87 Exploring Operation: 80-30=50, Resulting Numbers: [7, 50] Generated Node #0,0,1: 92:[7, 50] Operation: 80-30=50 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[7, 50], Operations: ['72-65=7', '80-30=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[30, 87], Operations: ['72-65=7', '80+7=87'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[30, 65, 8], Operations: ['80-72=8'] Exploring Operation: 65-30=35, Resulting Numbers: [8, 35] Generated Node #0,1,0: 92:[8, 35] Operation: 65-30=35 Exploring Operation: 30+65=95, Resulting Numbers: [8, 95] Generated Node #0,1,1: 92:[8, 95] Operation: 30+65=95 Moving to Node #0,1,1 Current State: 92:[8, 95], Operations: ['80-72=8', '30+65=95'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,92 unequal: No Solution Exploring Operation: 8+95=103, Resulting Numbers: [103] 103,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[8, 35], Operations: ['80-72=8', '65-30=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,92 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
[ 45, 32, 64, 52 ]
68
[ "45-32=13", "52/13=4", "64+4=68" ]
Current State: 68:[45, 32, 64, 52], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [64, 52, 13] Generated Node #2: [64, 52, 13] from Operation: 45-32=13 Current State: 68:[64, 52, 13], Operations: ['45-32=13'] Exploring Operation: 52/13=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 52/13=4 Current State: 68:[64, 4], Operations: ['45-32=13', '52/13=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[45, 32, 64, 52], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [32, 52, 19] Generated Node #0,0: 68:[32, 52, 19] Operation: 64-45=19 Exploring Operation: 45-32=13, Resulting Numbers: [64, 52, 13] Generated Node #0,1: 68:[64, 52, 13] Operation: 45-32=13 Exploring Operation: 52-45=7, Resulting Numbers: [32, 64, 7] Generated Node #0,2: 68:[32, 64, 7] Operation: 52-45=7 Exploring Operation: 64-52=12, Resulting Numbers: [45, 32, 12] Generated Node #0,3: 68:[45, 32, 12] Operation: 64-52=12 Exploring Operation: 52-32=20, Resulting Numbers: [45, 64, 20] Generated Node #0,4: 68:[45, 64, 20] Operation: 52-32=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[32, 64, 7], Operations: ['52-45=7'] Exploring Operation: 64+7=71, Resulting Numbers: [32, 71] Generated Node #0,2,0: 68:[32, 71] Operation: 64+7=71 Exploring Operation: 32-7=25, Resulting Numbers: [64, 25] Generated Node #0,2,1: 68:[64, 25] Operation: 32-7=25 Exploring Operation: 32+7=39, Resulting Numbers: [64, 39] Generated Node #0,2,2: 68:[64, 39] Operation: 32+7=39 Exploring Operation: 64-32=32, Resulting Numbers: [7, 32] Generated Node #0,2,3: 68:[7, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [7, 2] Generated Node #0,2,4: 68:[7, 2] Operation: 64/32=2 Moving to Node #0,2,4 Current State: 68:[7, 2], Operations: ['52-45=7', '64/32=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[7, 32], Operations: ['52-45=7', '64-32=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,68 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[32, 71], Operations: ['52-45=7', '64+7=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,68 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[64, 39], Operations: ['52-45=7', '32+7=39'] Exploring Operation: 64+39=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 64*39=2496, Resulting Numbers: [2496] 2496,68 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[64, 25], Operations: ['52-45=7', '32-7=25'] Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,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,3 Current State: 68:[45, 32, 12], Operations: ['64-52=12'] Exploring Operation: 45+32=77, Resulting Numbers: [12, 77] Generated Node #0,3,0: 68:[12, 77] Operation: 45+32=77 Exploring Operation: 32-12=20, Resulting Numbers: [45, 20] Generated Node #0,3,1: 68:[45, 20] Operation: 32-12=20 Exploring Operation: 45+12=57, Resulting Numbers: [32, 57] Generated Node #0,3,2: 68:[32, 57] Operation: 45+12=57 Exploring Operation: 45-32=13, Resulting Numbers: [12, 13] Generated Node #0,3,3: 68:[12, 13] Operation: 45-32=13 Exploring Operation: 45-12=33, Resulting Numbers: [32, 33] Generated Node #0,3,4: 68:[32, 33] Operation: 45-12=33 Moving to Node #0,3,4 Current State: 68:[32, 33], Operations: ['64-52=12', '45-12=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,68 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[12, 13], Operations: ['64-52=12', '45-32=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[32, 57], Operations: ['64-52=12', '45+12=57'] Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[12, 77], Operations: ['64-52=12', '45+32=77'] Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,68 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,68 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[45, 20], Operations: ['64-52=12', '32-12=20'] Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,68 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,68 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,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,4 Current State: 68:[45, 64, 20], Operations: ['52-32=20'] Exploring Operation: 64-20=44, Resulting Numbers: [45, 44] Generated Node #0,4,0: 68:[45, 44] Operation: 64-20=44 Exploring Operation: 64-45=19, Resulting Numbers: [20, 19] Generated Node #0,4,1: 68:[20, 19] Operation: 64-45=19 Exploring Operation: 64+20=84, Resulting Numbers: [45, 84] Generated Node #0,4,2: 68:[45, 84] Operation: 64+20=84 Exploring Operation: 45-20=25, Resulting Numbers: [64, 25] Generated Node #0,4,3: 68:[64, 25] Operation: 45-20=25 Exploring Operation: 45+20=65, Resulting Numbers: [64, 65] Generated Node #0,4,4: 68:[64, 65] Operation: 45+20=65 Moving to Node #0,4,1 Current State: 68:[20, 19], Operations: ['52-32=20', '64-45=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,68 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,4,4 Current State: 68:[64, 65], Operations: ['52-32=20', '45+20=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,68 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[64, 25], Operations: ['52-32=20', '45-20=25'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,68 unequal: No Solution Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,68 unequal: No Solution Moving to Node #0,4,0 Current State: 68:[45, 44], Operations: ['52-32=20', '64-20=44'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,68 unequal: No Solution Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[45, 84], Operations: ['52-32=20', '64+20=84'] Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,68 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,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 Current State: 68:[32, 52, 19], Operations: ['64-45=19'] Exploring Operation: 52-19=33, Resulting Numbers: [32, 33] Generated Node #0,0,0: 68:[32, 33] Operation: 52-19=33 Exploring Operation: 52-32=20, Resulting Numbers: [19, 20] Generated Node #0,0,1: 68:[19, 20] Operation: 52-32=20 Exploring Operation: 32-19=13, Resulting Numbers: [52, 13] Generated Node #0,0,2: 68:[52, 13] Operation: 32-19=13 Exploring Operation: 32+52=84, Resulting Numbers: [19, 84] Generated Node #0,0,3: 68:[19, 84] Operation: 32+52=84 Exploring Operation: 52+19=71, Resulting Numbers: [32, 71] Generated Node #0,0,4: 68:[32, 71] Operation: 52+19=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[32, 33], Operations: ['64-45=19', '52-19=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,68 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,68 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,68 unequal: No Solution No 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: 68:[19, 20], Operations: ['64-45=19', '52-32=20'] Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,68 unequal: No Solution Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 68:[32, 71], Operations: ['64-45=19', '52+19=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,68 unequal: No Solution No 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: 68:[19, 84], Operations: ['64-45=19', '32+52=84'] Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,68 unequal: No Solution Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,68 unequal: No Solution No 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: 68:[52, 13], Operations: ['64-45=19', '32-19=13'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 52*13=676, Resulting Numbers: [676] 676,68 unequal: No Solution Exploring Operation: 52+13=65, Resulting Numbers: [65] 65,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[64, 52, 13], Operations: ['45-32=13'] Exploring Operation: 52-13=39, Resulting Numbers: [64, 39] Generated Node #0,1,0: 68:[64, 39] Operation: 52-13=39 Exploring Operation: 52+13=65, Resulting Numbers: [64, 65] Generated Node #0,1,1: 68:[64, 65] Operation: 52+13=65 Exploring Operation: 52/13=4, Resulting Numbers: [64, 4] Generated Node #0,1,2: 68:[64, 4] Operation: 52/13=4 Exploring Operation: 64+13=77, Resulting Numbers: [52, 77] Generated Node #0,1,3: 68:[52, 77] Operation: 64+13=77 Exploring Operation: 64-52=12, Resulting Numbers: [13, 12] Generated Node #0,1,4: 68:[13, 12] Operation: 64-52=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[64, 4], Operations: ['45-32=13', '52/13=4'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,68 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[45, 32, 64, 52], Operations: [] Exploring Operation: 45-32=13, Resulting Numbers: [64, 52, 13] Generated Node #0,1: 68:[64, 52, 13] Operation: 45-32=13 Moving to Node #0,1 Current State: 68:[64, 52, 13], Operations: ['45-32=13'] Exploring Operation: 52/13=4, Resulting Numbers: [64, 4] Generated Node #0,1,2: 68:[64, 4] Operation: 52/13=4 Moving to Node #0,1,2 Current State: 68:[64, 4], Operations: ['45-32=13', '52/13=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914931
hs_5
sum_heuristic
[ 5, 41, 13, 11 ]
27
[ "5*11=55", "41-13=28", "55-28=27" ]
Current State: 27:[5, 41, 13, 11], Operations: [] Exploring Operation: 5*11=55, Resulting Numbers: [41, 13, 55] Generated Node #2: [41, 13, 55] from Operation: 5*11=55 Current State: 27:[41, 13, 55], Operations: ['5*11=55'] Exploring Operation: 41-13=28, Resulting Numbers: [55, 28] Generated Node #3: [55, 28] from Operation: 41-13=28 Current State: 27:[55, 28], Operations: ['5*11=55', '41-13=28'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[5, 41, 13, 11], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [5, 11, 28] Generated Node #0,0: 27:[5, 11, 28] Operation: 41-13=28 Exploring Operation: 13-5=8, Resulting Numbers: [41, 11, 8] Generated Node #0,1: 27:[41, 11, 8] Operation: 13-5=8 Exploring Operation: 41-11=30, Resulting Numbers: [5, 13, 30] Generated Node #0,2: 27:[5, 13, 30] Operation: 41-11=30 Exploring Operation: 41-5=36, Resulting Numbers: [13, 11, 36] Generated Node #0,3: 27:[13, 11, 36] Operation: 41-5=36 Moving to Node #0,0 Current State: 27:[5, 11, 28], Operations: ['41-13=28'] Exploring Operation: 28-5=23, Resulting Numbers: [11, 23] Generated Node #0,0,0: 27:[11, 23] Operation: 28-5=23 Exploring Operation: 5+11=16, Resulting Numbers: [28, 16] Generated Node #0,0,1: 27:[28, 16] Operation: 5+11=16 Exploring Operation: 5+28=33, Resulting Numbers: [11, 33] Generated Node #0,0,2: 27:[11, 33] Operation: 5+28=33 Exploring Operation: 11-5=6, Resulting Numbers: [28, 6] Generated Node #0,0,3: 27:[28, 6] Operation: 11-5=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[28, 6], Operations: ['41-13=28', '11-5=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,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,0 Current State: 27:[11, 23], Operations: ['41-13=28', '28-5=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,27 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[28, 16], Operations: ['41-13=28', '5+11=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,27 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[11, 33], Operations: ['41-13=28', '5+28=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 27:[5, 13, 30], Operations: ['41-11=30'] Exploring Operation: 30-5=25, Resulting Numbers: [13, 25] Generated Node #0,2,0: 27:[13, 25] Operation: 30-5=25 Exploring Operation: 30-13=17, Resulting Numbers: [5, 17] Generated Node #0,2,1: 27:[5, 17] Operation: 30-13=17 Exploring Operation: 13-5=8, Resulting Numbers: [30, 8] Generated Node #0,2,2: 27:[30, 8] Operation: 13-5=8 Exploring Operation: 30/5=6, Resulting Numbers: [13, 6] Generated Node #0,2,3: 27:[13, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[30, 8], Operations: ['41-11=30', '13-5=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,27 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[13, 25], Operations: ['41-11=30', '30-5=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[13, 6], Operations: ['41-11=30', '30/5=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[5, 17], Operations: ['41-11=30', '30-13=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 27:[13, 11, 36], Operations: ['41-5=36'] Exploring Operation: 36-13=23, Resulting Numbers: [11, 23] Generated Node #0,3,0: 27:[11, 23] Operation: 36-13=23 Exploring Operation: 36-11=25, Resulting Numbers: [13, 25] Generated Node #0,3,1: 27:[13, 25] Operation: 36-11=25 Exploring Operation: 13-11=2, Resulting Numbers: [36, 2] Generated Node #0,3,2: 27:[36, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [36, 24] Generated Node #0,3,3: 27:[36, 24] Operation: 13+11=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[11, 23], Operations: ['41-5=36', '36-13=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,27 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[13, 25], Operations: ['41-5=36', '36-11=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,27 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[36, 2], Operations: ['41-5=36', '13-11=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[36, 24], Operations: ['41-5=36', '13+11=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,27 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[41, 11, 8], Operations: ['13-5=8'] Exploring Operation: 11-8=3, Resulting Numbers: [41, 3] Generated Node #0,1,0: 27:[41, 3] Operation: 11-8=3 Exploring Operation: 41-8=33, Resulting Numbers: [11, 33] Generated Node #0,1,1: 27:[11, 33] Operation: 41-8=33 Exploring Operation: 41-11=30, Resulting Numbers: [8, 30] Generated Node #0,1,2: 27:[8, 30] Operation: 41-11=30 Exploring Operation: 11+8=19, Resulting Numbers: [41, 19] Generated Node #0,1,3: 27:[41, 19] Operation: 11+8=19 Moving to Node #0,1,2 Current State: 27:[8, 30], Operations: ['13-5=8', '41-11=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,27 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[11, 33], Operations: ['13-5=8', '41-8=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,27 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[41, 3], Operations: ['13-5=8', '11-8=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[41, 19], Operations: ['13-5=8', '11+8=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,27 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,27 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 32, 2, 10, 57 ]
37
[ "32-2=30", "10+57=67", "67-30=37" ]
Current State: 37:[32, 2, 10, 57], Operations: [] Exploring Operation: 32-2=30, Resulting Numbers: [10, 57, 30] Generated Node #2: [10, 57, 30] from Operation: 32-2=30 Current State: 37:[10, 57, 30], Operations: ['32-2=30'] Exploring Operation: 10+57=67, Resulting Numbers: [30, 67] Generated Node #3: [30, 67] from Operation: 10+57=67 Current State: 37:[30, 67], Operations: ['32-2=30', '10+57=67'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[32, 2, 10, 57], Operations: [] Exploring Operation: 57-2=55, Resulting Numbers: [32, 10, 55] Generated Node #0,0: 37:[32, 10, 55] Operation: 57-2=55 Exploring Operation: 2+10=12, Resulting Numbers: [32, 57, 12] Generated Node #0,1: 37:[32, 57, 12] Operation: 2+10=12 Exploring Operation: 2*10=20, Resulting Numbers: [32, 57, 20] Generated Node #0,2: 37:[32, 57, 20] Operation: 2*10=20 Exploring Operation: 32+2=34, Resulting Numbers: [10, 57, 34] Generated Node #0,3: 37:[10, 57, 34] Operation: 32+2=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[32, 57, 20], Operations: ['2*10=20'] Exploring Operation: 32-20=12, Resulting Numbers: [57, 12] Generated Node #0,2,0: 37:[57, 12] Operation: 32-20=12 Exploring Operation: 57-20=37, Resulting Numbers: [32, 37] Generated Node #0,2,1: 37:[32, 37] Operation: 57-20=37 Exploring Operation: 57-32=25, Resulting Numbers: [20, 25] Generated Node #0,2,2: 37:[20, 25] Operation: 57-32=25 Exploring Operation: 32+20=52, Resulting Numbers: [57, 52] Generated Node #0,2,3: 37:[57, 52] Operation: 32+20=52 Moving to Node #0,2,1 Current State: 37:[32, 37], Operations: ['2*10=20', '57-20=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,37 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[20, 25], Operations: ['2*10=20', '57-32=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[57, 52], Operations: ['2*10=20', '32+20=52'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,37 unequal: No Solution Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[57, 12], Operations: ['2*10=20', '32-20=12'] Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,37 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[32, 10, 55], Operations: ['57-2=55'] Exploring Operation: 32+10=42, Resulting Numbers: [55, 42] Generated Node #0,0,0: 37:[55, 42] Operation: 32+10=42 Exploring Operation: 10+55=65, Resulting Numbers: [32, 65] Generated Node #0,0,1: 37:[32, 65] Operation: 10+55=65 Exploring Operation: 55-10=45, Resulting Numbers: [32, 45] Generated Node #0,0,2: 37:[32, 45] Operation: 55-10=45 Exploring Operation: 32-10=22, Resulting Numbers: [55, 22] Generated Node #0,0,3: 37:[55, 22] Operation: 32-10=22 Moving to Node #0,0,2 Current State: 37:[32, 45], Operations: ['57-2=55', '55-10=45'] Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,37 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[55, 42], Operations: ['57-2=55', '32+10=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[55, 22], Operations: ['57-2=55', '32-10=22'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,37 unequal: No Solution Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[32, 65], Operations: ['57-2=55', '10+55=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,37 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[32, 57, 12], Operations: ['2+10=12'] Exploring Operation: 57-12=45, Resulting Numbers: [32, 45] Generated Node #0,1,0: 37:[32, 45] Operation: 57-12=45 Exploring Operation: 32+12=44, Resulting Numbers: [57, 44] Generated Node #0,1,1: 37:[57, 44] Operation: 32+12=44 Exploring Operation: 57-32=25, Resulting Numbers: [12, 25] Generated Node #0,1,2: 37:[12, 25] Operation: 57-32=25 Exploring Operation: 32-12=20, Resulting Numbers: [57, 20] Generated Node #0,1,3: 37:[57, 20] Operation: 32-12=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[32, 45], Operations: ['2+10=12', '57-12=45'] Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,37 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[57, 44], Operations: ['2+10=12', '32+12=44'] Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,37 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[12, 25], Operations: ['2+10=12', '57-32=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,37 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[32, 2, 10, 57], Operations: [] Exploring Operation: 2+10=12, Resulting Numbers: [32, 57, 12] Generated Node #0,1: 37:[32, 57, 12] Operation: 2+10=12 Moving to Node #0,1 Current State: 37:[32, 57, 12], Operations: ['2+10=12'] Exploring Operation: 57-32=25, Resulting Numbers: [12, 25] Generated Node #0,1,2: 37:[12, 25] Operation: 57-32=25 Moving to Node #0,1,2 Current State: 37:[12, 25], Operations: ['2+10=12', '57-32=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 67, 42, 39, 51 ]
97
[ "67+42=109", "51-39=12", "109-12=97" ]
Current State: 97:[67, 42, 39, 51], Operations: [] Exploring Operation: 67+42=109, Resulting Numbers: [39, 51, 109] Generated Node #2: [39, 51, 109] from Operation: 67+42=109 Current State: 97:[39, 51, 109], Operations: ['67+42=109'] Exploring Operation: 51-39=12, Resulting Numbers: [109, 12] Generated Node #3: [109, 12] from Operation: 51-39=12 Current State: 97:[109, 12], Operations: ['67+42=109', '51-39=12'] Exploring Operation: 109-12=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[67, 42, 39, 51], Operations: [] Exploring Operation: 42+39=81, Resulting Numbers: [67, 51, 81] Generated Node #0,0: 97:[67, 51, 81] Operation: 42+39=81 Exploring Operation: 39+51=90, Resulting Numbers: [67, 42, 90] Generated Node #0,1: 97:[67, 42, 90] Operation: 39+51=90 Exploring Operation: 42+51=93, Resulting Numbers: [67, 39, 93] Generated Node #0,2: 97:[67, 39, 93] Operation: 42+51=93 Moving to Node #0,0 Current State: 97:[67, 51, 81], Operations: ['42+39=81'] Exploring Operation: 67-51=16, Resulting Numbers: [81, 16] Generated Node #0,0,0: 97:[81, 16] Operation: 67-51=16 Exploring Operation: 51+81=132, Resulting Numbers: [67, 132] Generated Node #0,0,1: 97:[67, 132] Operation: 51+81=132 Exploring Operation: 67+51=118, Resulting Numbers: [81, 118] Generated Node #0,0,2: 97:[81, 118] Operation: 67+51=118 Moving to Node #0,1 Current State: 97:[67, 42, 90], Operations: ['39+51=90'] Exploring Operation: 42+90=132, Resulting Numbers: [67, 132] Generated Node #0,1,0: 97:[67, 132] Operation: 42+90=132 Exploring Operation: 67-42=25, Resulting Numbers: [90, 25] Generated Node #0,1,1: 97:[90, 25] Operation: 67-42=25 Exploring Operation: 67+42=109, Resulting Numbers: [90, 109] Generated Node #0,1,2: 97:[90, 109] Operation: 67+42=109 Moving to Node #0,2 Current State: 97:[67, 39, 93], Operations: ['42+51=93'] Exploring Operation: 67+39=106, Resulting Numbers: [93, 106] Generated Node #0,2,0: 97:[93, 106] Operation: 67+39=106 Exploring Operation: 39+93=132, Resulting Numbers: [67, 132] Generated Node #0,2,1: 97:[67, 132] Operation: 39+93=132 Exploring Operation: 67-39=28, Resulting Numbers: [93, 28] Generated Node #0,2,2: 97:[93, 28] Operation: 67-39=28 Moving to Node #0,2,0 Current State: 97:[93, 106], Operations: ['42+51=93', '67+39=106'] Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,97 unequal: No Solution Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[90, 109], Operations: ['39+51=90', '67+42=109'] Exploring Operation: 109-90=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 90*109=9810, Resulting Numbers: [9810] 9810,97 unequal: No Solution Exploring Operation: 90+109=199, Resulting Numbers: [199] 199,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[81, 118], Operations: ['42+39=81', '67+51=118'] Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 81+118=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 81*118=9558, Resulting Numbers: [9558] 9558,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[67, 132], Operations: ['39+51=90', '42+90=132'] Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,97 unequal: No Solution Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[67, 132], Operations: ['42+51=93', '39+93=132'] Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[67, 132], Operations: ['42+39=81', '51+81=132'] Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,97 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[93, 28], Operations: ['42+51=93', '67-39=28'] Exploring Operation: 93*28=2604, Resulting Numbers: [2604] 2604,97 unequal: No Solution Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 93+28=121, Resulting Numbers: [121] 121,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[90, 25], Operations: ['39+51=90', '67-42=25'] Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,97 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[81, 16], Operations: ['42+39=81', '67-51=16'] Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,97 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[67, 42, 39, 51], Operations: [] Exploring Operation: 42+39=81, Resulting Numbers: [67, 51, 81] Generated Node #0,0: 97:[67, 51, 81] Operation: 42+39=81 Moving to Node #0,0 Current State: 97:[67, 51, 81], Operations: ['42+39=81'] Exploring Operation: 67-51=16, Resulting Numbers: [81, 16] Generated Node #0,0,0: 97:[81, 16] Operation: 67-51=16 Moving to Node #0,0,0 Current State: 97:[81, 16], Operations: ['42+39=81', '67-51=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.963542
hs_3
mult_heuristic
[ 8, 92, 77, 28 ]
69
[ "92-28=64", "64/8=8", "77-8=69" ]
Current State: 69:[8, 92, 77, 28], Operations: [] Exploring Operation: 92-28=64, Resulting Numbers: [8, 77, 64] Generated Node #2: [8, 77, 64] from Operation: 92-28=64 Current State: 69:[8, 77, 64], Operations: ['92-28=64'] Exploring Operation: 64/8=8, Resulting Numbers: [77, 8] Generated Node #3: [77, 8] from Operation: 64/8=8 Current State: 69:[77, 8], Operations: ['92-28=64', '64/8=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[8, 92, 77, 28], Operations: [] Exploring Operation: 92-77=15, Resulting Numbers: [8, 28, 15] Generated Node #0,0: 69:[8, 28, 15] Operation: 92-77=15 Exploring Operation: 92-28=64, Resulting Numbers: [8, 77, 64] Generated Node #0,1: 69:[8, 77, 64] Operation: 92-28=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[8, 28, 15], Operations: ['92-77=15'] Exploring Operation: 15-8=7, Resulting Numbers: [28, 7] Generated Node #0,0,0: 69:[28, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [28, 23] Generated Node #0,0,1: 69:[28, 23] Operation: 8+15=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[28, 23], Operations: ['92-77=15', '8+15=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[28, 7], Operations: ['92-77=15', '15-8=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[8, 77, 64], Operations: ['92-28=64'] Exploring Operation: 77-8=69, Resulting Numbers: [64, 69] Generated Node #0,1,0: 69:[64, 69] Operation: 77-8=69 Exploring Operation: 8+64=72, Resulting Numbers: [77, 72] Generated Node #0,1,1: 69:[77, 72] Operation: 8+64=72 Moving to Node #0,1,0 Current State: 69:[64, 69], Operations: ['92-28=64', '77-8=69'] Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[77, 72], Operations: ['92-28=64', '8+64=72'] Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,69 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,69 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
[ 5, 72, 30, 31 ]
67
[ "72-5=67", "31-30=1", "67*1=67" ]
Current State: 67:[5, 72, 30, 31], Operations: [] Exploring Operation: 72-5=67, Resulting Numbers: [30, 31, 67] Generated Node #2: [30, 31, 67] from Operation: 72-5=67 Current State: 67:[30, 31, 67], Operations: ['72-5=67'] Exploring Operation: 31-30=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 31-30=1 Current State: 67:[67, 1], Operations: ['72-5=67', '31-30=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[5, 72, 30, 31], Operations: [] Exploring Operation: 5+31=36, Resulting Numbers: [72, 30, 36] Generated Node #0,0: 67:[72, 30, 36] Operation: 5+31=36 Exploring Operation: 72-5=67, Resulting Numbers: [30, 31, 67] Generated Node #0,1: 67:[30, 31, 67] Operation: 72-5=67 Exploring Operation: 5+30=35, Resulting Numbers: [72, 31, 35] Generated Node #0,2: 67:[72, 31, 35] Operation: 5+30=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[72, 30, 36], Operations: ['5+31=36'] Exploring Operation: 30+36=66, Resulting Numbers: [72, 66] Generated Node #0,0,0: 67:[72, 66] Operation: 30+36=66 Exploring Operation: 72+30=102, Resulting Numbers: [36, 102] Generated Node #0,0,1: 67:[36, 102] Operation: 72+30=102 Exploring Operation: 72-30=42, Resulting Numbers: [36, 42] Generated Node #0,0,2: 67:[36, 42] Operation: 72-30=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[72, 66], Operations: ['5+31=36', '30+36=66'] Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,67 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,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:[36, 42], Operations: ['5+31=36', '72-30=42'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,67 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,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,1 Current State: 67:[36, 102], Operations: ['5+31=36', '72+30=102'] Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 36*102=3672, Resulting Numbers: [3672] 3672,67 unequal: No Solution Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,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:[30, 31, 67], Operations: ['72-5=67'] Exploring Operation: 31-30=1, Resulting Numbers: [67, 1] Generated Node #0,1,0: 67:[67, 1] Operation: 31-30=1 Exploring Operation: 30+31=61, Resulting Numbers: [67, 61] Generated Node #0,1,1: 67:[67, 61] Operation: 30+31=61 Exploring Operation: 30+67=97, Resulting Numbers: [31, 97] Generated Node #0,1,2: 67:[31, 97] Operation: 30+67=97 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[67, 61], Operations: ['72-5=67', '30+31=61'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,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,0 Current State: 67:[67, 1], Operations: ['72-5=67', '31-30=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[5, 72, 30, 31], Operations: [] Exploring Operation: 72-5=67, Resulting Numbers: [30, 31, 67] Generated Node #0,1: 67:[30, 31, 67] Operation: 72-5=67 Moving to Node #0,1 Current State: 67:[30, 31, 67], Operations: ['72-5=67'] Exploring Operation: 31-30=1, Resulting Numbers: [67, 1] Generated Node #0,1,0: 67:[67, 1] Operation: 31-30=1 Moving to Node #0,1,0 Current State: 67:[67, 1], Operations: ['72-5=67', '31-30=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 23, 85, 27, 14 ]
15
[ "85+27=112", "112/14=8", "23-8=15" ]
Current State: 15:[23, 85, 27, 14], Operations: [] Exploring Operation: 85+27=112, Resulting Numbers: [23, 14, 112] Generated Node #2: [23, 14, 112] from Operation: 85+27=112 Current State: 15:[23, 14, 112], Operations: ['85+27=112'] Exploring Operation: 112/14=8, Resulting Numbers: [23, 8] Generated Node #3: [23, 8] from Operation: 112/14=8 Current State: 15:[23, 8], Operations: ['85+27=112', '112/14=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[23, 85, 27, 14], Operations: [] Exploring Operation: 27-14=13, Resulting Numbers: [23, 85, 13] Generated Node #0,0: 15:[23, 85, 13] Operation: 27-14=13 Exploring Operation: 85-23=62, Resulting Numbers: [27, 14, 62] Generated Node #0,1: 15:[27, 14, 62] Operation: 85-23=62 Exploring Operation: 85-14=71, Resulting Numbers: [23, 27, 71] Generated Node #0,2: 15:[23, 27, 71] Operation: 85-14=71 Exploring Operation: 27-23=4, Resulting Numbers: [85, 14, 4] Generated Node #0,3: 15:[85, 14, 4] Operation: 27-23=4 Exploring Operation: 85-27=58, Resulting Numbers: [23, 14, 58] Generated Node #0,4: 15:[23, 14, 58] Operation: 85-27=58 Moving to Node #0,4 Current State: 15:[23, 14, 58], Operations: ['85-27=58'] Exploring Operation: 58-23=35, Resulting Numbers: [14, 35] Generated Node #0,4,0: 15:[14, 35] Operation: 58-23=35 Exploring Operation: 58-14=44, Resulting Numbers: [23, 44] Generated Node #0,4,1: 15:[23, 44] Operation: 58-14=44 Exploring Operation: 23-14=9, Resulting Numbers: [58, 9] Generated Node #0,4,2: 15:[58, 9] Operation: 23-14=9 Exploring Operation: 23+14=37, Resulting Numbers: [58, 37] Generated Node #0,4,3: 15:[58, 37] Operation: 23+14=37 Exploring Operation: 14+58=72, Resulting Numbers: [23, 72] Generated Node #0,4,4: 15:[23, 72] Operation: 14+58=72 Moving to Node #0,1 Current State: 15:[27, 14, 62], Operations: ['85-23=62'] Exploring Operation: 14+62=76, Resulting Numbers: [27, 76] Generated Node #0,1,0: 15:[27, 76] Operation: 14+62=76 Exploring Operation: 27-14=13, Resulting Numbers: [62, 13] Generated Node #0,1,1: 15:[62, 13] Operation: 27-14=13 Exploring Operation: 27+14=41, Resulting Numbers: [62, 41] Generated Node #0,1,2: 15:[62, 41] Operation: 27+14=41 Exploring Operation: 62-27=35, Resulting Numbers: [14, 35] Generated Node #0,1,3: 15:[14, 35] Operation: 62-27=35 Exploring Operation: 62-14=48, Resulting Numbers: [27, 48] Generated Node #0,1,4: 15:[27, 48] Operation: 62-14=48 Moving to Node #0,3 Current State: 15:[85, 14, 4], Operations: ['27-23=4'] Exploring Operation: 85-4=81, Resulting Numbers: [14, 81] Generated Node #0,3,0: 15:[14, 81] Operation: 85-4=81 Exploring Operation: 14+4=18, Resulting Numbers: [85, 18] Generated Node #0,3,1: 15:[85, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [85, 10] Generated Node #0,3,2: 15:[85, 10] Operation: 14-4=10 Exploring Operation: 85+4=89, Resulting Numbers: [14, 89] Generated Node #0,3,3: 15:[14, 89] Operation: 85+4=89 Exploring Operation: 85-14=71, Resulting Numbers: [4, 71] Generated Node #0,3,4: 15:[4, 71] Operation: 85-14=71 Moving to Node #0,2 Current State: 15:[23, 27, 71], Operations: ['85-14=71'] Exploring Operation: 23+27=50, Resulting Numbers: [71, 50] Generated Node #0,2,0: 15:[71, 50] Operation: 23+27=50 Exploring Operation: 71-27=44, Resulting Numbers: [23, 44] Generated Node #0,2,1: 15:[23, 44] Operation: 71-27=44 Exploring Operation: 27-23=4, Resulting Numbers: [71, 4] Generated Node #0,2,2: 15:[71, 4] Operation: 27-23=4 Exploring Operation: 71-23=48, Resulting Numbers: [27, 48] Generated Node #0,2,3: 15:[27, 48] Operation: 71-23=48 Exploring Operation: 23+71=94, Resulting Numbers: [27, 94] Generated Node #0,2,4: 15:[27, 94] Operation: 23+71=94 Moving to Node #0,0 Current State: 15:[23, 85, 13], Operations: ['27-14=13'] Exploring Operation: 23+13=36, Resulting Numbers: [85, 36] Generated Node #0,0,0: 15:[85, 36] Operation: 23+13=36 Exploring Operation: 85+13=98, Resulting Numbers: [23, 98] Generated Node #0,0,1: 15:[23, 98] Operation: 85+13=98 Exploring Operation: 85-13=72, Resulting Numbers: [23, 72] Generated Node #0,0,2: 15:[23, 72] Operation: 85-13=72 Exploring Operation: 23-13=10, Resulting Numbers: [85, 10] Generated Node #0,0,3: 15:[85, 10] Operation: 23-13=10 Exploring Operation: 85-23=62, Resulting Numbers: [13, 62] Generated Node #0,0,4: 15:[13, 62] Operation: 85-23=62 Moving to Node #0,4,0 Current State: 15:[14, 35], Operations: ['85-27=58', '58-23=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,15 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[14, 35], Operations: ['85-23=62', '62-27=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,15 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,15 unequal: No Solution Moving to Node #0,4,1 Current State: 15:[23, 44], Operations: ['85-27=58', '58-14=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,15 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[23, 44], Operations: ['85-14=71', '71-27=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,15 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[27, 48], Operations: ['85-23=62', '62-14=48'] Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,15 unequal: No Solution Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[27, 48], Operations: ['85-14=71', '71-23=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,15 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[58, 9], Operations: ['85-27=58', '23-14=9'] Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[13, 62], Operations: ['27-14=13', '85-23=62'] Exploring Operation: 13*62=806, Resulting Numbers: [806] 806,15 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 13+62=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[62, 13], Operations: ['85-23=62', '27-14=13'] Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,15 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[4, 71], Operations: ['27-23=4', '85-14=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[71, 4], Operations: ['85-14=71', '27-23=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,15 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[23, 72], Operations: ['27-14=13', '85-13=72'] Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,15 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,15 unequal: No Solution Moving to Node #0,4,4 Current State: 15:[23, 72], Operations: ['85-27=58', '14+58=72'] Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,15 unequal: No Solution Moving to Node #0,4,3 Current State: 15:[58, 37], Operations: ['85-27=58', '23+14=37'] Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,15 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[14, 81], Operations: ['27-23=4', '85-4=81'] Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,15 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[85, 18], Operations: ['27-23=4', '14+4=18'] Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,15 unequal: No Solution Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,15 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[62, 41], Operations: ['85-23=62', '27+14=41'] Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,15 unequal: No Solution Exploring Operation: 62*41=2542, Resulting Numbers: [2542] 2542,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[27, 76], Operations: ['85-23=62', '14+62=76'] Exploring Operation: 27*76=2052, Resulting Numbers: [2052] 2052,15 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 27+76=103, Resulting Numbers: [103] 103,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[14, 89], Operations: ['27-23=4', '85+4=89'] Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,15 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[85, 10], Operations: ['27-23=4', '14-4=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,15 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[85, 10], Operations: ['27-14=13', '23-13=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,15 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[23, 98], Operations: ['27-14=13', '85+13=98'] Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 23+98=121, Resulting Numbers: [121] 121,15 unequal: No Solution Exploring Operation: 23*98=2254, Resulting Numbers: [2254] 2254,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[27, 94], Operations: ['85-14=71', '23+71=94'] Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,15 unequal: No Solution Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[71, 50], Operations: ['85-14=71', '23+27=50'] Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,15 unequal: No Solution Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[85, 36], Operations: ['27-14=13', '23+13=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,15 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 54, 18, 65 ]
40
[ "65-54=11", "2*11=22", "18+22=40" ]
Current State: 40:[2, 54, 18, 65], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [2, 18, 11] Generated Node #2: [2, 18, 11] from Operation: 65-54=11 Current State: 40:[2, 18, 11], Operations: ['65-54=11'] Exploring Operation: 2*11=22, Resulting Numbers: [18, 22] Generated Node #3: [18, 22] from Operation: 2*11=22 Current State: 40:[18, 22], Operations: ['65-54=11', '2*11=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 54, 18, 65], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [2, 18, 11] Generated Node #0,0: 40:[2, 18, 11] Operation: 65-54=11 Exploring Operation: 65-18=47, Resulting Numbers: [2, 54, 47] Generated Node #0,1: 40:[2, 54, 47] Operation: 65-18=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[2, 18, 11], Operations: ['65-54=11'] Exploring Operation: 2+18=20, Resulting Numbers: [11, 20] Generated Node #0,0,0: 40:[11, 20] Operation: 2+18=20 Exploring Operation: 18-11=7, Resulting Numbers: [2, 7] Generated Node #0,0,1: 40:[2, 7] Operation: 18-11=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[11, 20], Operations: ['65-54=11', '2+18=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[2, 7], Operations: ['65-54=11', '18-11=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[2, 54, 47], Operations: ['65-18=47'] Exploring Operation: 54/2=27, Resulting Numbers: [47, 27] Generated Node #0,1,0: 40:[47, 27] Operation: 54/2=27 Exploring Operation: 54-47=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 40:[2, 7] Operation: 54-47=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[2, 7], Operations: ['65-18=47', '54-47=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[47, 27], Operations: ['65-18=47', '54/2=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 30, 19, 43 ]
42
[ "50-30=20", "19+43=62", "62-20=42" ]
Current State: 42:[50, 30, 19, 43], Operations: [] Exploring Operation: 50-30=20, Resulting Numbers: [19, 43, 20] Generated Node #2: [19, 43, 20] from Operation: 50-30=20 Current State: 42:[19, 43, 20], Operations: ['50-30=20'] Exploring Operation: 19+43=62, Resulting Numbers: [20, 62] Generated Node #3: [20, 62] from Operation: 19+43=62 Current State: 42:[20, 62], Operations: ['50-30=20', '19+43=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[50, 30, 19, 43], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [30, 19, 7] Generated Node #0,0: 42:[30, 19, 7] Operation: 50-43=7 Exploring Operation: 50-30=20, Resulting Numbers: [19, 43, 20] Generated Node #0,1: 42:[19, 43, 20] Operation: 50-30=20 Moving to Node #0,1 Current State: 42:[19, 43, 20], Operations: ['50-30=20'] Exploring Operation: 43-19=24, Resulting Numbers: [20, 24] Generated Node #0,1,0: 42:[20, 24] Operation: 43-19=24 Exploring Operation: 20-19=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 42:[43, 1] Operation: 20-19=1 Moving to Node #0,0 Current State: 42:[30, 19, 7], Operations: ['50-43=7'] Exploring Operation: 30-7=23, Resulting Numbers: [19, 23] Generated Node #0,0,0: 42:[19, 23] Operation: 30-7=23 Exploring Operation: 30-19=11, Resulting Numbers: [7, 11] Generated Node #0,0,1: 42:[7, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[7, 11], Operations: ['50-43=7', '30-19=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[19, 23], Operations: ['50-43=7', '30-7=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[50, 30, 19, 43], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [30, 19, 7] Generated Node #0,0: 42:[30, 19, 7] Operation: 50-43=7 Moving to Node #0,0 Current State: 42:[30, 19, 7], Operations: ['50-43=7'] Exploring Operation: 30-7=23, Resulting Numbers: [19, 23] Generated Node #0,0,0: 42:[19, 23] Operation: 30-7=23 Moving to Node #0,0,0 Current State: 42:[19, 23], Operations: ['50-43=7', '30-7=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 88, 35, 45, 46 ]
38
[ "88-35=53", "45+46=91", "91-53=38" ]
Current State: 38:[88, 35, 45, 46], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [45, 46, 53] Generated Node #2: [45, 46, 53] from Operation: 88-35=53 Current State: 38:[45, 46, 53], Operations: ['88-35=53'] Exploring Operation: 45+46=91, Resulting Numbers: [53, 91] Generated Node #3: [53, 91] from Operation: 45+46=91 Current State: 38:[53, 91], Operations: ['88-35=53', '45+46=91'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[88, 35, 45, 46], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [35, 45, 42] Generated Node #0,0: 38:[35, 45, 42] Operation: 88-46=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[35, 45, 42], Operations: ['88-46=42'] Exploring Operation: 45-42=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 38:[35, 3] Operation: 45-42=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[35, 3], Operations: ['88-46=42', '45-42=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[88, 35, 45, 46], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [35, 45, 42] Generated Node #0,0: 38:[35, 45, 42] Operation: 88-46=42 Moving to Node #0,0 Current State: 38:[35, 45, 42], Operations: ['88-46=42'] Exploring Operation: 45-42=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 38:[35, 3] Operation: 45-42=3 Moving to Node #0,0,0 Current State: 38:[35, 3], Operations: ['88-46=42', '45-42=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 65, 30, 60, 90 ]
60
[ "65-60=5", "30*5=150", "150-90=60" ]
Current State: 60:[65, 30, 60, 90], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [30, 90, 5] Generated Node #2: [30, 90, 5] from Operation: 65-60=5 Current State: 60:[30, 90, 5], Operations: ['65-60=5'] Exploring Operation: 30*5=150, Resulting Numbers: [90, 150] Generated Node #3: [90, 150] from Operation: 30*5=150 Current State: 60:[90, 150], Operations: ['65-60=5', '30*5=150'] Exploring Operation: 150-90=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[65, 30, 60, 90], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [30, 60, 25] Generated Node #0,0: 60:[30, 60, 25] Operation: 90-65=25 Exploring Operation: 90-30=60, Resulting Numbers: [65, 60, 60] Generated Node #0,1: 60:[65, 60, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [65, 60, 3] Generated Node #0,2: 60:[65, 60, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 60:[30, 60, 25], Operations: ['90-65=25'] Exploring Operation: 60/30=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 60:[25, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [25, 30] Generated Node #0,0,1: 60:[25, 30] Operation: 60-30=30 Exploring Operation: 30-25=5, Resulting Numbers: [60, 5] Generated Node #0,0,2: 60:[60, 5] Operation: 30-25=5 Moving to Node #0,1 Current State: 60:[65, 60, 60], Operations: ['90-30=60'] Exploring Operation: 65-60=5, Resulting Numbers: [60, 5] Generated Node #0,1,0: 60:[60, 5] Operation: 65-60=5 Exploring Operation: 60/60=1, Resulting Numbers: [65, 1] Generated Node #0,1,1: 60:[65, 1] Operation: 60/60=1 Exploring Operation: 65-60=5, Resulting Numbers: [60, 5] Generated Node #0,1,2: 60:[60, 5] Operation: 65-60=5 Moving to Node #0,2 Current State: 60:[65, 60, 3], Operations: ['90/30=3'] Exploring Operation: 60/3=20, Resulting Numbers: [65, 20] Generated Node #0,2,0: 60:[65, 20] Operation: 60/3=20 Exploring Operation: 65-3=62, Resulting Numbers: [60, 62] Generated Node #0,2,1: 60:[60, 62] Operation: 65-3=62 Exploring Operation: 65-60=5, Resulting Numbers: [3, 5] Generated Node #0,2,2: 60:[3, 5] Operation: 65-60=5 Moving to Node #0,0,2 Current State: 60:[60, 5], Operations: ['90-65=25', '30-25=5'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[3, 5], Operations: ['90/30=3', '65-60=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[60, 5], Operations: ['90-30=60', '65-60=5'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[60, 5], Operations: ['90-30=60', '65-60=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,60 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[60, 62], Operations: ['90/30=3', '65-3=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,60 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,60 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[25, 30], Operations: ['90-65=25', '60-30=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,60 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[25, 2], Operations: ['90-65=25', '60/30=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,60 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[65, 20], Operations: ['90/30=3', '60/3=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[65, 1], Operations: ['90-30=60', '60/60=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,60 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 55, 80, 48, 46 ]
69
[ "80-55=25", "48+46=94", "94-25=69" ]
Current State: 69:[55, 80, 48, 46], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [48, 46, 25] Generated Node #2: [48, 46, 25] from Operation: 80-55=25 Current State: 69:[48, 46, 25], Operations: ['80-55=25'] Exploring Operation: 48+46=94, Resulting Numbers: [25, 94] Generated Node #3: [25, 94] from Operation: 48+46=94 Current State: 69:[25, 94], Operations: ['80-55=25', '48+46=94'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[55, 80, 48, 46], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [80, 48, 9] Generated Node #0,0: 69:[80, 48, 9] Operation: 55-46=9 Exploring Operation: 55-48=7, Resulting Numbers: [80, 46, 7] Generated Node #0,1: 69:[80, 46, 7] Operation: 55-48=7 Exploring Operation: 80-48=32, Resulting Numbers: [55, 46, 32] Generated Node #0,2: 69:[55, 46, 32] Operation: 80-48=32 Exploring Operation: 48-46=2, Resulting Numbers: [55, 80, 2] Generated Node #0,3: 69:[55, 80, 2] Operation: 48-46=2 Exploring Operation: 80-55=25, Resulting Numbers: [48, 46, 25] Generated Node #0,4: 69:[48, 46, 25] Operation: 80-55=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[55, 80, 2], Operations: ['48-46=2'] Exploring Operation: 55+2=57, Resulting Numbers: [80, 57] Generated Node #0,3,0: 69:[80, 57] Operation: 55+2=57 Exploring Operation: 55-2=53, Resulting Numbers: [80, 53] Generated Node #0,3,1: 69:[80, 53] Operation: 55-2=53 Exploring Operation: 80-2=78, Resulting Numbers: [55, 78] Generated Node #0,3,2: 69:[55, 78] Operation: 80-2=78 Exploring Operation: 80-55=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 69:[2, 25] Operation: 80-55=25 Exploring Operation: 80+2=82, Resulting Numbers: [55, 82] Generated Node #0,3,4: 69:[55, 82] Operation: 80+2=82 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 69:[2, 25], Operations: ['48-46=2', '80-55=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[80, 57], Operations: ['48-46=2', '55+2=57'] Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,69 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 69:[55, 78], Operations: ['48-46=2', '80-2=78'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 69:[80, 53], Operations: ['48-46=2', '55-2=53'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,69 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 69:[55, 82], Operations: ['48-46=2', '80+2=82'] Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,69 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[80, 48, 9], Operations: ['55-46=9'] Exploring Operation: 80-9=71, Resulting Numbers: [48, 71] Generated Node #0,0,0: 69:[48, 71] Operation: 80-9=71 Exploring Operation: 48+9=57, Resulting Numbers: [80, 57] Generated Node #0,0,1: 69:[80, 57] Operation: 48+9=57 Exploring Operation: 48-9=39, Resulting Numbers: [80, 39] Generated Node #0,0,2: 69:[80, 39] Operation: 48-9=39 Exploring Operation: 80+9=89, Resulting Numbers: [48, 89] Generated Node #0,0,3: 69:[48, 89] Operation: 80+9=89 Exploring Operation: 80-48=32, Resulting Numbers: [9, 32] Generated Node #0,0,4: 69:[9, 32] Operation: 80-48=32 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 69:[9, 32], Operations: ['55-46=9', '80-48=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,69 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[48, 71], Operations: ['55-46=9', '80-9=71'] Exploring Operation: 48*71=3408, Resulting Numbers: [3408] 3408,69 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 48+71=119, Resulting Numbers: [119] 119,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[80, 57], Operations: ['55-46=9', '48+9=57'] Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,69 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[80, 39], Operations: ['55-46=9', '48-9=39'] Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,69 unequal: No Solution Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[48, 89], Operations: ['55-46=9', '80+9=89'] Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 48+89=137, Resulting Numbers: [137] 137,69 unequal: No Solution Exploring Operation: 48*89=4272, Resulting Numbers: [4272] 4272,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[80, 46, 7], Operations: ['55-48=7'] Exploring Operation: 46-7=39, Resulting Numbers: [80, 39] Generated Node #0,1,0: 69:[80, 39] Operation: 46-7=39 Exploring Operation: 80-46=34, Resulting Numbers: [7, 34] Generated Node #0,1,1: 69:[7, 34] Operation: 80-46=34 Exploring Operation: 46+7=53, Resulting Numbers: [80, 53] Generated Node #0,1,2: 69:[80, 53] Operation: 46+7=53 Exploring Operation: 80-7=73, Resulting Numbers: [46, 73] Generated Node #0,1,3: 69:[46, 73] Operation: 80-7=73 Exploring Operation: 80+7=87, Resulting Numbers: [46, 87] Generated Node #0,1,4: 69:[46, 87] Operation: 80+7=87 Moving to Node #0,1,1 Current State: 69:[7, 34], Operations: ['55-48=7', '80-46=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,69 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[80, 53], Operations: ['55-48=7', '46+7=53'] Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,69 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[80, 39], Operations: ['55-48=7', '46-7=39'] Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,69 unequal: No Solution Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,69 unequal: No Solution Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[46, 73], Operations: ['55-48=7', '80-7=73'] Exploring Operation: 46+73=119, Resulting Numbers: [119] 119,69 unequal: No Solution Exploring Operation: 46*73=3358, Resulting Numbers: [3358] 3358,69 unequal: No Solution Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[46, 87], Operations: ['55-48=7', '80+7=87'] Exploring Operation: 46*87=4002, Resulting Numbers: [4002] 4002,69 unequal: No Solution Exploring Operation: 46+87=133, Resulting Numbers: [133] 133,69 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[55, 46, 32], Operations: ['80-48=32'] Exploring Operation: 55+46=101, Resulting Numbers: [32, 101] Generated Node #0,2,0: 69:[32, 101] Operation: 55+46=101 Exploring Operation: 46-32=14, Resulting Numbers: [55, 14] Generated Node #0,2,1: 69:[55, 14] Operation: 46-32=14 Exploring Operation: 46+32=78, Resulting Numbers: [55, 78] Generated Node #0,2,2: 69:[55, 78] Operation: 46+32=78 Exploring Operation: 55-46=9, Resulting Numbers: [32, 9] Generated Node #0,2,3: 69:[32, 9] Operation: 55-46=9 Exploring Operation: 55-32=23, Resulting Numbers: [46, 23] Generated Node #0,2,4: 69:[46, 23] Operation: 55-32=23 Moving to Node #0,2,3 Current State: 69:[32, 9], Operations: ['80-48=32', '55-46=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[55, 78], Operations: ['80-48=32', '46+32=78'] Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,69 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[55, 14], Operations: ['80-48=32', '46-32=14'] Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,69 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[55, 80, 48, 46], Operations: [] Exploring Operation: 80-48=32, Resulting Numbers: [55, 46, 32] Generated Node #0,2: 69:[55, 46, 32] Operation: 80-48=32 Moving to Node #0,2 Current State: 69:[55, 46, 32], Operations: ['80-48=32'] Exploring Operation: 46-32=14, Resulting Numbers: [55, 14] Generated Node #0,2,1: 69:[55, 14] Operation: 46-32=14 Moving to Node #0,2,1 Current State: 69:[55, 14], Operations: ['80-48=32', '46-32=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
mult_heuristic
[ 46, 48, 36, 32 ]
98
[ "46+48=94", "36-32=4", "94+4=98" ]
Current State: 98:[46, 48, 36, 32], Operations: [] Exploring Operation: 46+48=94, Resulting Numbers: [36, 32, 94] Generated Node #2: [36, 32, 94] from Operation: 46+48=94 Current State: 98:[36, 32, 94], Operations: ['46+48=94'] Exploring Operation: 36-32=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 36-32=4 Current State: 98:[94, 4], Operations: ['46+48=94', '36-32=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[46, 48, 36, 32], Operations: [] Exploring Operation: 46-32=14, Resulting Numbers: [48, 36, 14] Generated Node #0,0: 98:[48, 36, 14] Operation: 46-32=14 Exploring Operation: 48-36=12, Resulting Numbers: [46, 32, 12] Generated Node #0,1: 98:[46, 32, 12] Operation: 48-36=12 Exploring Operation: 46-36=10, Resulting Numbers: [48, 32, 10] Generated Node #0,2: 98:[48, 32, 10] Operation: 46-36=10 Exploring Operation: 48-32=16, Resulting Numbers: [46, 36, 16] Generated Node #0,3: 98:[46, 36, 16] Operation: 48-32=16 Exploring Operation: 36-32=4, Resulting Numbers: [46, 48, 4] Generated Node #0,4: 98:[46, 48, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[46, 48, 4], Operations: ['36-32=4'] Exploring Operation: 48+4=52, Resulting Numbers: [46, 52] Generated Node #0,4,0: 98:[46, 52] Operation: 48+4=52 Exploring Operation: 46+4=50, Resulting Numbers: [48, 50] Generated Node #0,4,1: 98:[48, 50] Operation: 46+4=50 Exploring Operation: 48/4=12, Resulting Numbers: [46, 12] Generated Node #0,4,2: 98:[46, 12] Operation: 48/4=12 Exploring Operation: 48-46=2, Resulting Numbers: [4, 2] Generated Node #0,4,3: 98:[4, 2] Operation: 48-46=2 Exploring Operation: 46+48=94, Resulting Numbers: [4, 94] Generated Node #0,4,4: 98:[4, 94] Operation: 46+48=94 Moving to Node #0,4,1 Current State: 98:[48, 50], Operations: ['36-32=4', '46+4=50'] Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[46, 48, 36, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [46, 48, 4] Generated Node #0,4: 98:[46, 48, 4] Operation: 36-32=4 Moving to Node #0,4 Current State: 98:[46, 48, 4], Operations: ['36-32=4'] Exploring Operation: 46+4=50, Resulting Numbers: [48, 50] Generated Node #0,4,1: 98:[48, 50] Operation: 46+4=50 Moving to Node #0,4,1 Current State: 98:[48, 50], Operations: ['36-32=4', '46+4=50'] Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 5, 98, 9, 38 ]
46
[ "98-5=93", "9+38=47", "93-47=46" ]
Current State: 46:[5, 98, 9, 38], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [9, 38, 93] Generated Node #2: [9, 38, 93] from Operation: 98-5=93 Current State: 46:[9, 38, 93], Operations: ['98-5=93'] Exploring Operation: 9+38=47, Resulting Numbers: [93, 47] Generated Node #3: [93, 47] from Operation: 9+38=47 Current State: 46:[93, 47], Operations: ['98-5=93', '9+38=47'] Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[5, 98, 9, 38], Operations: [] Exploring Operation: 98-38=60, Resulting Numbers: [5, 9, 60] Generated Node #0,0: 46:[5, 9, 60] Operation: 98-38=60 Moving to Node #0,0 Current State: 46:[5, 9, 60], Operations: ['98-38=60'] Exploring Operation: 60-9=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 46:[5, 51] Operation: 60-9=51 Moving to Node #0,0,0 Current State: 46:[5, 51], Operations: ['98-38=60', '60-9=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[5, 98, 9, 38], Operations: [] Exploring Operation: 98-38=60, Resulting Numbers: [5, 9, 60] Generated Node #0,0: 46:[5, 9, 60] Operation: 98-38=60 Moving to Node #0,0 Current State: 46:[5, 9, 60], Operations: ['98-38=60'] Exploring Operation: 60-9=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 46:[5, 51] Operation: 60-9=51 Moving to Node #0,0,0 Current State: 46:[5, 51], Operations: ['98-38=60', '60-9=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 30, 7, 5, 28 ]
29
[ "30-5=25", "28/7=4", "25+4=29" ]
Current State: 29:[30, 7, 5, 28], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [7, 28, 25] Generated Node #2: [7, 28, 25] from Operation: 30-5=25 Current State: 29:[7, 28, 25], Operations: ['30-5=25'] Exploring Operation: 28/7=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 28/7=4 Current State: 29:[25, 4], Operations: ['30-5=25', '28/7=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[30, 7, 5, 28], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [30, 28, 35] Generated Node #0,0: 29:[30, 28, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[30, 28, 35], Operations: ['7*5=35'] Exploring Operation: 35-28=7, Resulting Numbers: [30, 7] Generated Node #0,0,0: 29:[30, 7] Operation: 35-28=7 Moving to Node #0,0,0 Current State: 29:[30, 7], Operations: ['7*5=35', '35-28=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 51, 90, 92 ]
86
[ "33+51=84", "92-90=2", "84+2=86" ]
Current State: 86:[33, 51, 90, 92], Operations: [] Exploring Operation: 33+51=84, Resulting Numbers: [90, 92, 84] Generated Node #2: [90, 92, 84] from Operation: 33+51=84 Current State: 86:[90, 92, 84], Operations: ['33+51=84'] Exploring Operation: 92-90=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 92-90=2 Current State: 86:[84, 2], Operations: ['33+51=84', '92-90=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[33, 51, 90, 92], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [33, 90, 41] Generated Node #0,0: 86:[33, 90, 41] Operation: 92-51=41 Exploring Operation: 33+51=84, Resulting Numbers: [90, 92, 84] Generated Node #0,1: 86:[90, 92, 84] Operation: 33+51=84 Moving to Node #0,1 Current State: 86:[90, 92, 84], Operations: ['33+51=84'] Exploring Operation: 90-84=6, Resulting Numbers: [92, 6] Generated Node #0,1,0: 86:[92, 6] Operation: 90-84=6 Exploring Operation: 92-90=2, Resulting Numbers: [84, 2] Generated Node #0,1,1: 86:[84, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 86:[33, 90, 41], Operations: ['92-51=41'] Exploring Operation: 90-33=57, Resulting Numbers: [41, 57] Generated Node #0,0,0: 86:[41, 57] Operation: 90-33=57 Exploring Operation: 41-33=8, Resulting Numbers: [90, 8] Generated Node #0,0,1: 86:[90, 8] Operation: 41-33=8 Moving to Node #0,1,1 Current State: 86:[84, 2], Operations: ['33+51=84', '92-90=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[33, 51, 90, 92], Operations: [] Exploring Operation: 33+51=84, Resulting Numbers: [90, 92, 84] Generated Node #0,1: 86:[90, 92, 84] Operation: 33+51=84 Moving to Node #0,1 Current State: 86:[90, 92, 84], Operations: ['33+51=84'] Exploring Operation: 92-90=2, Resulting Numbers: [84, 2] Generated Node #0,1,1: 86:[84, 2] Operation: 92-90=2 Moving to Node #0,1,1 Current State: 86:[84, 2], Operations: ['33+51=84', '92-90=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 57, 8, 46, 13 ]
82
[ "57-8=49", "46-13=33", "49+33=82" ]
Current State: 82:[57, 8, 46, 13], Operations: [] Exploring Operation: 57-8=49, Resulting Numbers: [46, 13, 49] Generated Node #2: [46, 13, 49] from Operation: 57-8=49 Current State: 82:[46, 13, 49], Operations: ['57-8=49'] Exploring Operation: 46-13=33, Resulting Numbers: [49, 33] Generated Node #3: [49, 33] from Operation: 46-13=33 Current State: 82:[49, 33], Operations: ['57-8=49', '46-13=33'] Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 8, 46, 13], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [8, 46, 44] Generated Node #0,0: 82:[8, 46, 44] Operation: 57-13=44 Exploring Operation: 57+13=70, Resulting Numbers: [8, 46, 70] Generated Node #0,1: 82:[8, 46, 70] Operation: 57+13=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[8, 46, 44], Operations: ['57-13=44'] Exploring Operation: 46-8=38, Resulting Numbers: [44, 38] Generated Node #0,0,0: 82:[44, 38] Operation: 46-8=38 Exploring Operation: 46-44=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 82:[8, 2] Operation: 46-44=2 Moving to Node #0,0,0 Current State: 82:[44, 38], Operations: ['57-13=44', '46-8=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[57, 8, 46, 13], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [8, 46, 44] Generated Node #0,0: 82:[8, 46, 44] Operation: 57-13=44 Moving to Node #0,0 Current State: 82:[8, 46, 44], Operations: ['57-13=44'] Exploring Operation: 46-8=38, Resulting Numbers: [44, 38] Generated Node #0,0,0: 82:[44, 38] Operation: 46-8=38 Moving to Node #0,0,0 Current State: 82:[44, 38], Operations: ['57-13=44', '46-8=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic